Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10392

Summary: Abiword ebuild insists on Gnome - but Abiword can be built without it
Product: Gentoo Linux Reporter: Whit Blauvelt <whit>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Whit Blauvelt 2002-11-07 13:39:12 UTC
By removing "gnome" from IUSE in abiword-1.0.2-r1.ebuild, plus removing the
gnome lines at:

        gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1
                >=gnome-extra/gal-0.13-r1
                >=gnome-base/bonobo-1.0.9-r1 )
- keeping the quote mark from the end of the third line -

and:

        use gnome \
                && myconf="${myconf} --with-gnome --enable-gnome" \
                && export ABI_OPT_BONOBO=1

and:
        use gnome && ( \
                insinto /usr/share/pixmaps
                newins ${WORKDIR}/${P}/abidistfiles/icons/abiword_48.png AbiWord.png
                insinto /usr/share/gnome/apps/Applications
                doins ${FILESDIR}/AbiWord.desktop
        )

- a totally functional Abiword is built without bringing in all sorts of Gnome
dependencies, which don't do anything for a KDE-based desktop anyhow - although
it looks like perhaps I shouldn't have removed the installation of the .png icon
files in that last gnome section. Actually, it looks like there would be no
reason not to let that whole third section stay in place.

Should the Abiword ebuild only bring in the Gnome dependencies if "gnome" is
include in the system's USE settings? It runs nicely in KDE.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-07 13:41:19 UTC
I'm confused by this.  Why don't you USE="-gnome" emerge abiword?
Comment 2 Whit Blauvelt 2002-11-07 13:55:27 UTC
Good point. I'm new to Gentoo. It looks like that would do the trick. Perhaps
the Desktop Configuration Guide should include a note that whichever desktop you
install, if you don't want dependencies from the other, you need to put
-theother in USE. The USE Variable HOWTO is good on this - but I hadn't studied
it closely enough.