Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450028 - xfconf.eclass pulls in gtk-doc and dependencies
Summary: xfconf.eclass pulls in gtk-doc and dependencies
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 17:09 UTC by Derk W te Bokkel
Modified: 2013-01-04 12:46 UTC (History)
0 users

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


Attachments
xfce4-notes-plugin-9999.ebuild (xfce4-notes-plugin-9999.ebuild,873 bytes, text/plain)
2013-01-03 17:09 UTC, Derk W te Bokkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derk W te Bokkel 2013-01-03 17:09:13 UTC
Created attachment 334212 [details]
xfce4-notes-plugin-9999.ebuild

using git-2 eclass in attached ebuild pulls in gtk-doc plus it's dependencies

ebuild was developed for personal use but I noticed
changing ebuild to not use git-2 resulted in these files being able to be removed
by emerge --depclean:


>>> Unmerging (1 of 6) dev-util/gtk-doc-1.18-r1...
>>> Unmerging (2 of 6) app-text/docbook-sgml-dtd-3.0-r3...
>>> Unmerging (3 of 6) app-text/docbook-dsssl-stylesheets-1.79...
>>> Unmerging (4 of 6) app-text/docbook-xml-dtd-4.3-r1...
>>> Unmerging (5 of 6) app-text/scrollkeeper-9999-r1...
>>> Unmerging (6 of 6) app-text/openjade-1.3.2-r5...
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-03 17:15:56 UTC
xfconf.eclass pulls in gtk-doc because it's required for building Xfce from git. all of this is on purpose.

(and you don't need to put git-2 into inherit at all with ebuilds using xfconf.eclass, since the xfconf.eclass does it for you)

ssuominen@null ~/gentoo-x86/eclass $ grep gtk-doc xfconf.eclass 
[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}"
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-01-03 17:17:54 UTC
as in, all you have to do to convert xfce4-sample-plugin-0.1.ebuild to xfce4-sample-plugins-9999.ebuild is to remove SRC_URI line and replace it with an EGIT_REPO_URI line
no "development" involved there, check out how the Xfce overlay works
Comment 3 Derk W te Bokkel 2013-01-03 18:11:59 UTC
sorry I've looked at overlays.gentoo.org and it looks like xfce overlay has been dead for 4 years .. all on SVN .. not git as per git.xfce.org
so where to I find the most recent info is there a browseable version anywhere?
Comment 4 Derk W te Bokkel 2013-01-03 18:21:00 UTC
also xfconf is in the normal ebuild why does it not pull in gtk-doc there? .. just asking I don't know yet how all this works .. I'm just scratching my own itch .. :^)
Comment 5 Derk W te Bokkel 2013-01-03 18:43:05 UTC
okay I did find it .. the overlay .. after reinstalling layman .. and finding , adding and syncing xfce-dev
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-01-04 07:45:28 UTC
the gtk-doc's are prebuilt in the tarballs, but when building from git, the autogen.sh stuff requires gtk-doc to be present
so it shouldn't be a big annoyance for the marginal people installing the git version, as in, it's not something we want to invest time on, it would be really ugly hack to avoid the gtk-doc dep, involving sedding configure.*...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-01-04 07:46:11 UTC
the xfconf.eclass turns the ebuild automatically into git ebuild when you version it with 9999, and change SRC_URI to EGIT_REPO_URI
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-01-04 07:47:05 UTC
(In reply to comment #7)
> the xfconf.eclass turns the ebuild automatically into git ebuild when you
> version it with 9999, and change SRC_URI to EGIT_REPO_URI

and based on the same logic, the eclass adds required deps for building from git: xfce4-dev-tools, gtk-doc, inherits git-2 which pulls in git itself, etc
Comment 9 Derk W te Bokkel 2013-01-04 12:46:34 UTC
ssuominen,

thank you for the answers .. I did read the eclass as well and I kind of understand it now .. I'm still working out the logic on some of it i.e. how it works ..