public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild question
@ 2002-04-17  5:21 Richard Jackson
  2002-04-17  5:02 ` Jared H. Hudson
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Jackson @ 2002-04-17  5:21 UTC (permalink / raw
  To: gentoo-dev

I have a ebuild script question. I'm working on adding Qt 3 to nethack. I 
think I saw a post at one point that someone else was doing this as well. 
Either way I'm going to do this as an educational experance. When I have it 
clean I will track down the other person working on it and see if they want 
what I have done. If not I will just calk it up to experance. I picked this 
one becase it has some uniqe issues and I thought if I could get this one 
right then the experance will help latter on.

Now to the question. 

Nethack is uniqe in that it can be compiled many differant ways 
1) Console - This is currently the only option
2) Qt 3 or 2 - I have this one pretty much done using Qt 3.
3) X11 
4) KDE
5) Gnome

The problem with this is that what it looks to be doing is compiling in 
support for Console and one widget set into one executable. And I can't seem 
to beable to get all 5 options to work at one time witch I kinda figured it 
wouldn't. So lets say the user has this in his/her USE statment:
USE="qt x11 kde gnome"

How would I go about handling the compile? 

Should I compile all 4 of them? Yes doing this would take some bash magic but 
not too much. If I should do all four of them what naming convention should I 
use for the differant executables? Some thing like nethackQt nethackGnome?

Should I just pick one of them and compile that one? What if I pick the one 
the user doesn't want?

Should I force some user interaction with the build process? Other words ask 
them which one they want? I don't really like this option myself.

And now even more questions. 
On instalation of the above should I create menu items in KDE and GNOME if the 
user has them? And a side question to that is it seems that KDE does not 
automaticly include the GNOME apps but GNOME does automaticly include he KDE 
apps so if I'm doing a KDE build should I add it to the GNOME menu if they 
have it. And the reverse if I'm doing a GNOME build should I add that to the 
KDE menus?

Any thoughts on the above would be helpfull.
Thanks
Richard Jackson


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-04-17 15:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17  5:21 [gentoo-dev] ebuild question Richard Jackson
2002-04-17  5:02 ` Jared H. Hudson
2002-04-17  6:05   ` Richard Jackson
2002-04-17  5:21     ` Jared H. Hudson
2002-04-17 11:04       ` Good ebuild examples to learn from - Was " Pichai Asokan
2002-04-17  5:50         ` Sandy McArthur
2002-04-17 11:38           ` Pichai Asokan
2002-04-17 12:08             ` Todd Wright
2002-04-17 15:03             ` Aadi Deshpande
2002-04-17 20:56               ` Pichai Asokan

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