Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61344 - dev-util/anjuta installs duplicate documents
Summary: dev-util/anjuta installs duplicate documents
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 02:25 UTC by Aaron Walker (RETIRED)
Modified: 2006-02-20 11:45 UTC (History)
1 user (show)

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


Attachments
anjuta-1.2.2-r1.ebuild.diff (anjuta-1.2.2-r1.ebuild.diff,1.11 KB, patch)
2004-08-23 02:25 UTC, Aaron Walker (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2004-08-23 02:25:06 UTC
Because the anjuta ebuild sets the DOCS variable, documents get installed via
dodoc AND make install.  This results in compressed docs in /usr/share/doc/${PF}
and uncompressed docs in /usr/share/doc/${PN}.

Unfortunately, there is no elegantly simple fix.  IMO, the easiest way is to
add a src_install and sed ${S}/Makefile and ${S}/doc/Makefile before calling
gnome2_src_install; then call prepalldocs (preferrably prepalldocs.new so that
the html doesn't get compressed as well).

This may or may not be worth the trouble; if this is your opinion, maybe just
remove the DOCS declaration and settle for uncompressed docs in /usr/share/doc/${PN}?

A diff against anjuta-1.2.2-r1.ebuild is attached.

PS. on an unrelated subject, is there any reason USE_DESTDIR isn't set to 1
since it's use is preferred over einstall?  Works here.

Cheers
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2004-08-23 02:25:35 UTC
Created attachment 38010 [details, diff]
anjuta-1.2.2-r1.ebuild.diff
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 20:28:37 UTC
Re-assign to maintainer.
Comment 3 Philip Walls (RETIRED) gentoo-dev 2006-02-20 11:45:39 UTC
Fix commited to anjuta-1.2.4-r1 which is pending stablization on all arches. Thanks.