<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>7587</bug_id>
          
          <creation_ts>2002-09-06 17:39 0000</creation_ts>
          <short_desc>glame ebuild-- fix compilation error and handling use flags</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>thompson@pobox.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>thompson@pobox.com</who>
            <bug_when>2002-09-06 17:39:11 0000</bug_when>
            <thetext>If built without &apos;nls&apos; in the USE variable, glame failed to compile on
my system. Using sed to remove an #include &lt;libintl.h&gt; from one file
fixes it. It also has no effect upon compiling that file if using &apos;nls&apos;.

The 0.6.3 ebuild also uses the &apos;gnome&apos; 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 &apos;X&apos; USE flag instead.

Tested with combinations of &apos;X&apos; and &apos;nls&apos; of f and on.

Paul</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thompson@pobox.com</who>
            <bug_when>2002-09-06 17:40:59 0000</bug_when>
            <thetext>Created an attachment (id=3707)
glame-0.6.3-r1.ebuild ;  fix and change
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-09-07 04:23:01 0000</bug_when>
            <thetext>no, I&apos;m with you on the NLS thing, but definitely NOT the gnome thing.  People
without &quot;gnome&quot; in USE do NOT want any gnome* stuff on their system.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thompson@pobox.com</who>
            <bug_when>2002-09-07 20:07:13 0000</bug_when>
            <thetext>Hi Seemant;

The idea that if I have &apos;-gnome&apos;, 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 &apos;choice&apos; 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 &apos;softer&apos; 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 &apos;cripples&apos;
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

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-10-25 09:51:09 0000</bug_when>
            <thetext>i&apos;m with seemant, -gnome is what it should be. but this pack isn&apos;t building at
all for me ? Some configure problem with CHOST. Is this local or can someone
else reproduce it ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vaino.jarvela@pp.inet.fi</who>
            <bug_when>2002-10-28 08:34:04 0000</bug_when>
            <thetext>glame won&apos;t compile at all on my computer. Says this:
&quot;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 &apos;./configure&apos; failed for libltdl&quot;

So i replaced &apos;econf&apos; with &apos;./configure&apos; and it compiled fine. But now it fails
when i try to start glame.

So i replaced &apos;emake&apos; with &apos;make&apos; and everything works fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-18 10:40:07 0000</bug_when>
            <thetext>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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thompson@pobox.com</who>
            <bug_when>2002-11-18 19:55:58 0000</bug_when>
            <thetext>Hi;
Still bombs for me due to the inclusion of libintl.h in swapfilegui.c
when &apos;nls&apos; is not in my USE. Perhaps someone else could try
USE=&quot;gnome -nls&quot; emerge glame
to try and reproduce.

Paul</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-22 20:20:47 0000</bug_when>
            <thetext>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) :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3707</attachid>
            <date>2002-09-06 17:40 0000</date>
            <desc>glame-0.6.3-r1.ebuild ;  fix and change</desc>
            <filename>glame-0.6.3-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAyIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L21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