public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] various ebuild problems
  @ 2001-10-24 20:50 99%   ` Jon Nelson
  0 siblings, 0 replies; 1+ results
From: Jon Nelson @ 2001-10-24 20:50 UTC (permalink / raw
  To: gentoo-dev

On Wed, 24 Oct 2001 06:22:14 +0200
Martin Schlemmer <azarah@gentoo.org> wrote:


> Now, please note that Galeon is a _GNOME_ browser.  As stated in the
> docs, it was intended as this, and will stay a gnome browser.  So you
> need Gnome for it to work.

However, galeon can be compile with somewhat less GNOME support
without the --with-gnome.  (Not sure about the
--enable-gnome-file-selector)

Specifically, as of 9:45 PM (CST), the galeon-0.12.5-r1.ebuild does not
build
on my machine. It gives no portage-related errors.

If I apply the following patch, disabling *some* of the gnome support,
it works and compiles and builds just fine.

Let me ask this: If the purpose of the USE variable is to define what we
do and don't want (gnome, gtk, kde, etc...) and a program can be
compile with or without explicit support for something, shouldn't
the ebuild for that package honor the USE variable?

Incidentally, I think the reason it wasn't working for me is that bonobo
has
not been merged.  I'm building it now (and will emerge when done) to
see if this makes a difference (with 'gnome' in my USE variables, too).

goblin galeon # diff -u galeon-0.12.5-r1.ebuild galeon-0.12.5-jon.ebuild 
--- galeon-0.12.5-r1.ebuild     Wed Oct 24 14:17:09 2001
+++ galeon-0.12.5-jon.ebuild     Thu Oct 25 21:43:23 2001
@@ -25,6 +25,9 @@
        if [ -z "`use nls`" ] ; then
                myconf="--disable-nls"
        fi
+       if [ ! -z "`use gnome`" ] ; then
+               myconf="$myconf --with-gnome --enable-gnome-file-selector"
+       fi
 
        ./configure --host=${CHOST}                                      \
                    --prefix=/usr                                        \
@@ -32,10 +35,8 @@
                    --localstatedir=/var/lib                             \
                    --with-mozilla-libs=${MOZILLA_FIVE_HOME}             \
                    --with-mozilla-includes=${MOZILLA_FIVE_HOME}/include \
-                   --with-gnome                                         \
                    --without-debug                                      \
                    --disable-applet                                     \
-                   --enable-gnome-file-selector                         \
                    $myconf || die
 
        emake || die
goblin galeon # 

-- 
Pound for pound, the amoeba is the most vicious animal on earth.

Jon Nelson
jnelson@jamponi.net



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2001-10-23 19:34     [gentoo-dev] various ebuild problems Jon Nelson
2001-10-23 22:22     ` Martin Schlemmer
2001-10-24 20:50 99%   ` Jon Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox