Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] various ebuild problems
Date: Wed, 24 Oct 2001 22:37:02
Message-Id: 1003984608.28265.54.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] various ebuild problems by Jon Nelson
1 On Thu, 2001-10-25 at 05:01, Jon Nelson wrote:
2 > On Wed, 24 Oct 2001 06:22:14 +0200
3 > Martin Schlemmer <azarah@g.o> wrote:
4 >
5 >
6 > > Now, please note that Galeon is a _GNOME_ browser. As stated in the
7 > > docs, it was intended as this, and will stay a gnome browser. So you
8 > > need Gnome for it to work.
9 >
10 > However, galeon can be compile with somewhat less GNOME support
11 > without the --with-gnome. (Not sure about the
12 > --enable-gnome-file-selector)
13 >
14 > Specifically, as of 9:45 PM (CST), the galeon-0.12.5-r1.ebuild does not
15 > build
16 > on my machine. It gives no portage-related errors.
17 >
18 > If I apply the following patch, disabling *some* of the gnome support,
19 > it works and compiles and builds just fine.
20 >
21 > Let me ask this: If the purpose of the USE variable is to define what we
22 > do and don't want (gnome, gtk, kde, etc...) and a program can be
23 > compile with or without explicit support for something, shouldn't
24 > the ebuild for that package honor the USE variable?
25 >
26 > Incidentally, I think the reason it wasn't working for me is that bonobo
27 > has
28 > not been merged. I'm building it now (and will emerge when done) to
29 > see if this makes a difference (with 'gnome' in my USE variables, too).
30 >
31 > goblin galeon # diff -u galeon-0.12.5-r1.ebuild galeon-0.12.5-jon.ebuild
32 > --- galeon-0.12.5-r1.ebuild Wed Oct 24 14:17:09 2001
33 > +++ galeon-0.12.5-jon.ebuild Thu Oct 25 21:43:23 2001
34 > @@ -25,6 +25,9 @@
35 > if [ -z "`use nls`" ] ; then
36 > myconf="--disable-nls"
37 > fi
38 > + if [ ! -z "`use gnome`" ] ; then
39 > + myconf="$myconf --with-gnome --enable-gnome-file-selector"
40 > + fi
41 >
42 > ./configure --host=${CHOST} \
43 > --prefix=/usr \
44 > @@ -32,10 +35,8 @@
45 > --localstatedir=/var/lib \
46 > --with-mozilla-libs=${MOZILLA_FIVE_HOME} \
47 > --with-mozilla-includes=${MOZILLA_FIVE_HOME}/include \
48 > - --with-gnome \
49 > --without-debug \
50 > --disable-applet \
51 > - --enable-gnome-file-selector \
52 > $myconf || die
53 >
54 > emake || die
55 > goblin galeon #
56 >
57 > --
58 > Pound for pound, the amoeba is the most vicious animal on earth.
59 >
60 > Jon Nelson
61 > jnelson@×××××××.net
62
63 Hi
64
65 Thanks.
66
67 Side note: I guess it will learn us gnomies not to assume that only
68 people who use gnome, will use gnome apps.
69
70
71
72 --
73
74 Martin Schlemmer
75 Gentoo Linux Developer, Desktop Team Developer
76 Cape Town, South Africa