Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216813 - gnome-extra/avant-window-navigator-0.2.6-r1 (and extras) - ebuild needs updating to remove gconf dependency
Summary: gnome-extra/avant-window-navigator-0.2.6-r1 (and extras) - ebuild needs updat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 03:39 UTC by Rich
Modified: 2008-12-04 21:22 UTC (History)
2 users (show)

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


Attachments
Updated ebuild for AWN to disallow gconf dependencies (avant-window-navigator-0.2.6-r1.ebuild,1.89 KB, text/plain)
2008-04-08 03:42 UTC, Rich
Details
Updated ebuild for AWN-extras to disallow gconf dependencies (avant-window-navigator-extras-0.2.6-r1.ebuild,2.67 KB, text/plain)
2008-04-08 03:42 UTC, Rich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rich 2008-04-08 03:39:33 UTC
The ebuilds for gnome-extra/avant-window-navigator-0.2.6-r1 and gnome-extra/avant-window-navigator-extras-0.2.6-r1 need to be updated to allow the ability to build both applications without gconf dependencies (to use GKeyFile to store settings). Here is what my use flags section for avant-window-navigator-0.2.6.r1.ebuild look like (and I can compile with no gconf dependency):

IUSE="doc gnome xfce gconf"

And the src_compile() section:
src_compile() {
        local myconf

        if use gnome; then myconf="--with-desktop=gnome"
        elif use xfce; then myconf="--with-desktop=xfce4"
        else myconf="--with-desktop=agnostic"
        fi

        econf $(use_enable gnome gconf ) \
                $(use_enable doc gtk-doc) \
                $(use_with gconf) \
                --disable-vala \
                ${myconf} \
                || die "econf failed"

#               $(use_enable vala) \

        emake || die "emake failed"
}


For avant-window-navigator-0.2.6.r1.ebuild, this is what my use flags section looks like:

IUSE="gnome gconf"

and src_compile():

src_compile() {
        # Not disabling pymod-checks results in a sandbox access violation.
        econf --disable-pymod-checks \
                        $(use_with gnome) \
                        $(use_with gnome gconf) \
                        || die "econf failed"

        emake || die "emake failed"
}


Just add '-gconf' to /etc/portage/package.use for avant* to build without gconf support. 



Reproducible: Always

Steps to Reproduce:
Well, modifying the ebuild was the only way I could get it to build without gconf.
Actual Results:  
After performing the changes to the ebuilds, the gconf-less configuration doesn't work very well (only three of the extras have .ini schemas and are usable, and AWN crashes often when changing some settings using awn-manager), but if you plan to just run X, compiz*, and avant with no desktop environment, the light-weightness is worth the headache.

Expected Results:  
I got exactly what I was expecting. No more launching of /usr/libexec/gconf-2 and /usr/libexec/gnome-vfs-daemon. Computer goes from POST to usable AWN/Compiz desktop-environmentless X in about 28 seconds. Woo!
Comment 1 Rich 2008-04-08 03:42:05 UTC
Created attachment 149068 [details]
Updated ebuild for AWN to disallow gconf dependencies
Comment 2 Rich 2008-04-08 03:42:36 UTC
Created attachment 149069 [details]
Updated ebuild for AWN-extras to disallow gconf dependencies
Comment 3 Rich 2008-04-08 03:49:16 UTC
And I know there is some ambiguity in the AWN ebuild - I'm pretty sure that the (use_enable gnome gconf ) is superfluous; however, gconf is an optional package (not feature), so needs to be passed with use_with. I didn't want to mess it up as I got it to compile the way it was below, and this is the first ebuild I submitted to the bugzilla, so excuse the lack of polish as I was just excited to get it working :)
Comment 4 Rich 2008-04-12 05:25:21 UTC
The problem with the 'src_compile' statements is also in the desktop-effects overlay, though I don't know who to complain to there. 
Comment 5 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-21 02:13:48 UTC
Ok first off please do not attach full ebuilds, that suggest improvements to ebuilds already in tree. Please provide and attach to the bug a diff ( -Naur ) of the changes you would like to see made to the ebuild.

Otherwise I have to wade through things. I have no problem with re-introducing the gconf use flag. However it's something that would be turned on with gnome use flag. Since last I checked, gnome pulls in gconf, etc. Thus we dropped gconf flag, and activated it when gnome use flag was set.
Comment 6 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:25:57 UTC
Reassigning to herd since wltjr has left Gentoo, bug #135927.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-04 21:22:29 UTC
gconf is already behind gnome use flag. there is no point in moving it out of the gnome umbrella if it adds instability to awn. Please reopen if I didn't understand what was intended.