Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 35873
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Spaeth <Sebastian@SSpaeth.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35873 depends on: 45263 Show dependency tree
Bug 35873 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-15 06:52 0000
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 "-X" USE flag should disable the building of the GTK client and remove the "X" 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.

------- Comment #1 From Sebastian Spaeth 2003-12-15 07:34:29 0000 -------
Turned out to be quite easy (portage seems really nice). I haven't tried it out
to actually compile it. Will report here if anything breaks. I need help with
the checkin (never did it, don't know the procedure).

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

diff gnunet-0.6.0a.ebuild gnunet-0.6.0b.ebuild
21c21
<       =x11-libs/gtk+-1.2*
---
>       gtk? (=x11-libs/gtk+-1.2*)
26c26
<       econf `use_enable ipv6` || die
---
>       econf `use_with gtk` `use_enable ipv6` || die

------- Comment #2 From Sebastian Spaeth 2003-12-15 07:45:07 0000 -------
adapt bug title to reflect reality. We need IUSE="gtk" not "X" here

------- Comment #3 From Sebastian Spaeth 2003-12-15 08:38:03 0000 -------
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 "gtk? ( =x11-libs/gtk+-1.2* )" AND NOT 
   "gtk? (=x11-libs/gtk+-1.2*)" (as indicated in my diff)
3) I kept the gtk+ dependency as it was. I don't know whether it would work with gtk+2 as well. Probably it should be changed to ">=" ? (or leave it for now as is).

Thanks for considering my (first and probably clumsy) patch :)

------- Comment #4 From Nick Hadaway 2004-01-29 22:20:50 0000 -------
I don't use this package... (yet!)  mholzer, as you were the last one to commit
on gnunet... I bequeath this bug to you :)

------- Comment #5 From Jeremy Huddleston (RETIRED) 2004-03-22 23:03:01 0000 -------
gtk, mysql, and crypt USE flags added...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug