gal-2.1.14 with doc flag does not build Making all in docs make[2]: Entering directory `/var/tmp/portage/gal-2.1.14/work/gal-2 make sgml make[3]: Entering directory `/var/tmp/portage/gal-2.1.14/work/gal-2 cd . \ && gtkdoc-mkdb --module=gal-2.2 --source-dir=../gal Can't open ./gal-2.2-decl.txt at /usr/bin/gtkdoc-mkdb line 2408. make[3]: *** [sgml] Error 2 make[3]: Leaving directory `/var/tmp/portage/gal-2.1.14/work/gal-2.
This is mentioned at the end of bug 35456 along with the cause of the error.
I see this on my system too.
patch would be appreciated.
Created attachment 38217 [details] gal-2.1.14.ebuild.diff ebuild diff
Created attachment 38218 [details] gal-2.1.14-docfix.patch ok here is the patch and diff for the gal ebuild. I'll explain what is going on with both since it seems confusing at first. Inside the doc makefiles, the DOC_MODULE var is set to the api version which =gal-2.2. Some of the doc files are refered to as $(DOC_MODULE)-foo-bar.whatever. All of the files in the docs dir however only have a prefix of gal- and not gal-2.2. The last line in src_unpack will rename all of the files and make sure they have a prefix of gal-2.2. Other places in the makefile do not use the $(DOC_MODULE) var, and just refer to the full file name(which has a prefix of only gal) The patch will alter the makeifles and make sure that they always use the DOC_MODULE prefix, since all of the files have been changed to contain that prefix. The old gal doc patch has also been commented out because it patched the same files the new patch does, so I incorporated into the new patch.
Created attachment 38219 [details] gal-2.1.14-docfix.patch would help if I attached the right patch :(
Upstream bug here: http://bugs.ximian.com/show_bug.cgi?id=64101
Added to the latest gal ebuild.