Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61591 - gal-2.1.14 with doc flag does not build
Summary: gal-2.1.14 with doc flag does not build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: Lowest minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 19:12 UTC by Olivier Crete (RETIRED)
Modified: 2004-09-13 15:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gal-2.1.14.ebuild.diff (gal-ebuild.diff,452 bytes, text/plain)
2004-08-25 18:21 UTC, Joe McCann (RETIRED)
Details
gal-2.1.14-docfix.patch (gal-2.1.14-docfix.patch,682 bytes, text/plain)
2004-08-25 18:22 UTC, Joe McCann (RETIRED)
Details
gal-2.1.14-docfix.patch (galdoc.patch,2.51 KB, text/plain)
2004-08-25 18:23 UTC, Joe McCann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Crete (RETIRED) gentoo-dev 2004-08-24 19:12:16 UTC
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.
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-08-24 19:21:22 UTC
This is mentioned at the end of bug 35456 along with the cause of the error.
Comment 2 Ernst Sjöstrand 2004-08-25 01:37:21 UTC
I see this on my system too.
Comment 3 foser (RETIRED) gentoo-dev 2004-08-25 03:12:12 UTC
patch would be appreciated.
Comment 4 Joe McCann (RETIRED) gentoo-dev 2004-08-25 18:21:33 UTC
Created attachment 38217 [details]
gal-2.1.14.ebuild.diff

ebuild diff
Comment 5 Joe McCann (RETIRED) gentoo-dev 2004-08-25 18:22:04 UTC
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.
Comment 6 Joe McCann (RETIRED) gentoo-dev 2004-08-25 18:23:56 UTC
Created attachment 38219 [details]
gal-2.1.14-docfix.patch

would help if I attached the right patch :(
Comment 7 Joe McCann (RETIRED) gentoo-dev 2004-08-26 01:38:23 UTC
Upstream bug here: http://bugs.ximian.com/show_bug.cgi?id=64101
Comment 8 Brandon Hale (RETIRED) gentoo-dev 2004-09-13 15:00:12 UTC
Added to the latest gal ebuild.