Bug 7587 - glame ebuild-- fix compilation error and handling use flags
|
Bug#:
7587
|
Product: Gentoo Linux
|
Version: 1.2
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: thompson@pobox.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: glame ebuild-- fix compilation error and handling use flags
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2002-09-06 17:39 0000
|
If built without 'nls' in the USE variable, glame failed to compile on
my system. Using sed to remove an #include <libintl.h> from one file
fixes it. It also has no effect upon compiling that file if using 'nls'.
The 0.6.3 ebuild also uses the 'gnome' use flag to determine if the
app should be built with a gui rather than just a cli. The app does depend on
various
gnome libs if you want the gui, but it isnt _optional_ if you want the
gui, and if you run X, you probably want the gui, even if you dont run
gnome.
I rewrote it to use the 'X' USE flag instead.
Tested with combinations of 'X' and 'nls' of f and on.
Paul
no, I'm with you on the NLS thing, but definitely NOT the gnome thing. People
without "gnome" in USE do NOT want any gnome* stuff on their system.
Hi Seemant;
The idea that if I have '-gnome', that I dont get _any_ gnomeish stuff in an ebuild
is nice in theory, but it doesnt seem to work that way. I mean, with glame, you
have a sort of 'choice' in that you can actually build a cli instead, but with
things
like galeon, or gnucash you are either getting gnome crud, or nothing. And that
fits with the explainatino of USE settings, that they only turn on or off _optional_
stuff, but I really think in this case it violates the principle of least suprise.
(at least for me, otherwise I wouldnt have mentioned it:)
Having emerged many things like galeon, and gnucash (and my use settings turn off
gnome, kde, X, qt, gtk, esd, nls) and getting all those things anyway, I have sort
of formed a much 'softer' expectation thus far...
Perhaps in this case... I dont know... maybe two ebuilds could be made, cli-glame,
and gui-glame. But then, the gnome setting becomes irrelevant... which it almost
seems like it is anyway; if you are a weirdo who turns it off, you will probably
emerge something that sucks in half of gnome regardless, and just 'cripples'
other ebuilds:) :)
I could write a post-install message for the ebuild that simply informs a merger
if gnome is not in USE, that it is required for the gui, and only a cli will be
installed...
Paul
i'm with seemant, -gnome is what it should be. but this pack isn't building at
all for me ? Some configure problem with CHOST. Is this local or can someone
else reproduce it ?
glame won't compile at all on my computer. Says this:
"configure: warning: CFLAGS=-march=i686 -O3 -pipe -mmmx -m3dnow: invalid host type
configure: warning: host_alias=i686-pc-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for libltdl"
So i replaced 'econf' with './configure' and it compiled fine. But now it fails
when i try to start glame.
So i replaced 'emake' with 'make' and everything works fine.
Well, i fixed a possible configure problem. The mentioned nls problem i couldnt
reproduce, so i havent done anything about it. Furthermore the gnome USE is as
it was before.
Please give it a try.(rsync and re-emerge 0.6.3)
Hi;
Still bombs for me due to the inclusion of libintl.h in swapfilegui.c
when 'nls' is not in my USE. Perhaps someone else could try
USE="gnome -nls" emerge glame
to try and reproduce.
Paul
HMm i could reproduce i guess, been looking with my eyes closed. Ok, a fix is
in
now which should get the include out. Please try one more time (0.6.3) :)