Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10392 - Abiword ebuild insists on Gnome - but Abiword can be built without it
Summary: Abiword ebuild insists on Gnome - but Abiword can be built without it
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-07 13:39 UTC by Whit Blauvelt
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.