GNOME Bugzilla – Bug 751616
Filter ignored for .tcl file
Last modified: 2015-07-27 18:29:13 UTC
Created attachment 306250 [details] This tarball includes test data, my filter, and test runs under Ubuntu 12.04 For some reason, the FILTER_PATTERNS option is being (partially) ignored in Doxygen 1.7.6.1. I have this directive in my Doxyfile: FILTER_PATTERNS = "*.tcl=./tcl2dox.tcl" "*.src=./tcl2dox.tcl" The *.src files are being properly filtered, but the *.tcl files are NOT being filtered. Why is this? What should I be doing to force Doxygen to process Tcl files through my filter? This is with Ubuntu 12.04.1 and doxygen_1.7.6.1-2ubuntu1. A set of test runs with test files are available for download at this URL: http://www.deepsoft.com/wp-content/uploads/2013/04/doxygen-test.tar.gz The problem also occurs with 1.8.1.2 under Raspbian.
Why is that a "blocker"?
It means that it is not possible to use the current versions of doxygen that ship with Ubuntu or Raspbian to build my package. One has to downgrade the version of doxygen in order to properly build my package. Most people (and certainly any distro maintainers) are NOT going to want to downgrade software. This means that my package is effectively blocked from these distros (and probably others).
I just tested 1.8.10 -- it is *also* broken, in exactly the same way as 1.7.6 and 1.8.1.2. I am changing the version on this bug report to 1.8.10.
Since your filter expects a doxygen version without any built-in tcl support and back in those days doxygen would parse any unknown file as a C file, you need to tell doxygen to treat files with the .tcl (and .src) extension as C files using EXTENSION_MAPPING = tcl=C src=C Let me know if that solves the problem.
Ah, That fixes it. It is not in the clear docs that I needed to set EXTENSION_MAPPING, if I am using a filter.