GNOME Bugzilla – Bug 628611
gtk-doc >= 1.13 creates automagic dependencies on syntax highlighters
Last modified: 2010-10-04 09:14:33 UTC
This was originally reported downstream at: http://bugs.gentoo.org/show_bug.cgi?id=334489 configure checks for presence of "source-highlight", "highlight" and "vim", and in case one of them is found its path is embedded in /usr/bin/gtkdoc-fixxref. From build.log: checking for source-highlight... no checking for highlight... no checking for vim... /usr/bin/vim Then, if vim was present when building gtk-doc and, later, I remove it, gtk-doc will fail. Would be nice to be able to choose between highlighters with a configure switch like: "--with-highlight=(none|vim|source-highlight|highlight|auto)" Thanks a lot
https://bugzilla.gnome.org/show_bug.cgi?id=612028 is a related bug about this.
Sounds like a good idea. Anyone care to make a patch? Still in similar ways removing a library will cause all apps to fail that where linking against it.
Created attachment 171133 [details] [review] /0001-Allow-selection-of-a-specific-syntax-highlighter-bug.patch Here is a tentative patch. It allows selection of a particular highlighter, desactivation of the feature or automatic selection.
commit 8506e3b61dca2861b594c3cea2dc4e0470aad4fc Author: Gilles Dartiguelongue <eva@gentoo.org> Date: Sun Sep 26 18:48:04 2010 +0200 Allow selection of a specific syntax highlighter, bug #628611.
Comment on attachment 171133 [details] [review] /0001-Allow-selection-of-a-specific-syntax-highlighter-bug.patch Thanks for the patch!