Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] various ebuild problems Daniel Robbins <drobbins@g.o>
Re: [gentoo-dev] various ebuild problems Martin Schlemmer <azarah@g.o>