Summary: | xfconf.eclass pulls in gtk-doc and dependencies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Derk W te Bokkel <derk.tebokkel> |
Component: | Eclasses | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | xfce4-notes-plugin-9999.ebuild |
Description
Derk W te Bokkel
2013-01-03 17:09:13 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}" 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 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? 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 .. :^) okay I did find it .. the overlay .. after reinstalling layman .. and finding , adding and syncing xfce-dev 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.*... the xfconf.eclass turns the ebuild automatically into git ebuild when you version it with 9999, and change SRC_URI to EGIT_REPO_URI (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 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 .. |