<?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>35873</bug_id>
          
          <creation_ts>2003-12-15 06:52 0000</creation_ts>
          <short_desc>GNUnet should allow &quot;-gtk&quot; USE flag</short_desc>
          <delta_ts>2004-03-22 23:03:01 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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>45263</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Sebastian@SSpaeth.de</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>net-p2p@gentoo.org</cc>
    
    <cc>nick@capital-internet.net</cc>

      

      
          <long_desc isprivate="0">
            <who>Sebastian@SSpaeth.de</who>
            <bug_when>2003-12-15 06:52:16 0000</bug_when>
            <thetext>Currently the gnunet package depends on X,gtk, etc...
This is because of the GTK client. However, it is an optional client and can be disabled in ./configure. Therefore a &quot;-X&quot; USE flag should disable the building of the GTK client and remove the &quot;X&quot; dependency.
I am new to Gentoo and it will take a while to figure the (rather trivial) solution out. If somebody is faster than me... you are welcome to contribute this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sebastian@SSpaeth.de</who>
            <bug_when>2003-12-15 07:34:29 0000</bug_when>
            <thetext>Turned out to be quite easy (portage seems really nice). I haven&apos;t tried it out to actually compile it. Will report here if anything breaks. I need help with the checkin (never did it, don&apos;t know the procedure).

One open issue (how do I determine the *default* state of a USE flag. I suppose &apos;gtk&apos; should be turned on by default.

diff gnunet-0.6.0a.ebuild gnunet-0.6.0b.ebuild
21c21
&lt;       =x11-libs/gtk+-1.2*
---
&gt;       gtk? (=x11-libs/gtk+-1.2*)
26c26
&lt;       econf `use_enable ipv6` || die
---
&gt;       econf `use_with gtk` `use_enable ipv6` || die
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sebastian@SSpaeth.de</who>
            <bug_when>2003-12-15 07:45:07 0000</bug_when>
            <thetext>adapt bug title to reflect reality. We need IUSE=&quot;gtk&quot; not &quot;X&quot; here</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sebastian@SSpaeth.de</who>
            <bug_when>2003-12-15 08:38:03 0000</bug_when>
            <thetext>Last post for now (sorry for the number of postings):
1) I compiled with and without gtk installed and everything went fine. So it works
2) Of course one should use &quot;gtk? ( =x11-libs/gtk+-1.2* )&quot; AND NOT 
   &quot;gtk? (=x11-libs/gtk+-1.2*)&quot; (as indicated in my diff)
3) I kept the gtk+ dependency as it was. I don&apos;t know whether it would work with gtk+2 as well. Probably it should be changed to &quot;&gt;=&quot; ? (or leave it for now as is).

Thanks for considering my (first and probably clumsy) patch :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nick@capital-internet.net</who>
            <bug_when>2004-01-29 22:20:50 0000</bug_when>
            <thetext>I don&apos;t use this package... (yet!)  mholzer, as you were the last one to commit on gnunet... I bequeath this bug to you :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-03-22 23:03:01 0000</bug_when>
            <thetext>gtk, mysql, and crypt USE flags added...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>