Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flags and Keywords
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Debug_This
n00b
n00b


Joined: 22 Feb 2006
Posts: 15
Location: Connecticut, United States

PostPosted: Fri Feb 24, 2006 2:00 am    Post subject: USE flags and Keywords Reply with quote

Right now I am writing my /etc/make.conf file, and I have a question on the ACCEPT_KEYWORDS option. I read the little paragraph in the example make.conf about unstable/testing packages and am wondering how you all generally feel about them. I by no means need the absolute bleeding edge, but I wouldn't mind using the latest available version if it doesn't break too often :lol: .

I guess what I'm really asking is about the strictness of testing a package undergoes to be marked stable; I've read a lot about the FreeBSD ports system (which I later found out Gentoo's portage system is based off of), but FreeBSD devs at least highly recommend using the stable branch as oppossed to the current branch unless you are specifically looking to bugtest. How "dangerous" is the Gentoo unstable branch?

EDIT: And regardless of what my username may imply, I don't look forward to debugging on a regular basis ;)


Last edited by Debug_This on Fri Feb 24, 2006 2:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Fri Feb 24, 2006 2:23 am    Post subject: Reply with quote

Using the 'unstable' branch doesnt normally cause too many problems (writing this on an ~x86 xorg7 + kde 3.5.1 system built with gcc 4.1) but you should be aware that breakages *can* occur, however the few ive hit upon have been fixed within a few hours, normally its just broken ebuilds rather than broken packages, truely unstable packages are usually package.mask'ed.
Back to top
View user's profile Send private message
Debug_This
n00b
n00b


Joined: 22 Feb 2006
Posts: 15
Location: Connecticut, United States

PostPosted: Fri Feb 24, 2006 2:45 am    Post subject: Reply with quote

I'm not really sure I understand the difference between a broken ebuild and a broken package, could you possibly explain that a little more.

Also, because I feel it's a little obnoxious to start yet another thread, I am changing the title of this one to suit my next question: The USE flags example in the handbook is as follows:

Quote:
As an example we show a USE setting for a KDE-based system with DVD, ALSA, and CD Recording support:
Code:
USE="-gtk -gnome qt kde dvd alsa cdr"

This is exactly the type of system I am looking to build, one that uses KDE and has support for DVD, ALSA (which I found out is sound), and CD recording. However, don't some applications use the GTK library that don't require GNOME. If I want to use KDE as my only desktop enviroment but possibly run GTK applications, would the following USE flags let me do that:

Code:
USE="-gnome gtk qt kde dvd alsa cdr"

Thanks for all the help guys, I really appreciate it.
Back to top
View user's profile Send private message
Debug_This
n00b
n00b


Joined: 22 Feb 2006
Posts: 15
Location: Connecticut, United States

PostPosted: Fri Feb 24, 2006 4:18 am    Post subject: Reply with quote

I'm going to go to bed and finish the install tomorrow *yawn*. If anyone has any ideas on the GTK and GNOME question above, please let me know what you think -- I really can't proceed with the installation until I figure out what I should have as USE flags. Worst case, if nobody knows I will try using the above USE flags and eventually see if any GTK apps will work under KDE.

Thanks!
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Fri Feb 24, 2006 6:19 am    Post subject: Reply with quote

Broken packages either need to be patched or updated (ie new stuff downloaded) which tends to take a while, broken ebuilds tend to just be a typo and are fixed pretty fast, which are then fixed the next time you do an emerge --sync.

With regards to use flags, its perfectly ok to do as you suggested, although you may find yourself compiling gtk/gtk2 before its needed by an app. An alternative would be to leave it -gtk -gtk2 globally (in /etc/make.conf) but when you want a program that uses gtk add <category>/<program name> gtk gtk2 to /etc/portage/package.use just so that when you go to compile apps that support both gtk and qt qt is given preference (as your running KDE), but where you need gtk (ie. if its the only frontend supported) you select it at a package level, which, imo is the cleaner option.

Hope thats helped you some more :)
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Feb 24, 2006 11:06 am    Post subject: Reply with quote

If a app really needs gtk it will use it anyway. Only if it is optional the use flag will make a difference.
Back to top
View user's profile Send private message
gen2fox
Guru
Guru


Joined: 25 May 2004
Posts: 544

PostPosted: Fri Feb 24, 2006 2:09 pm    Post subject: Reply with quote

I highly suggest you do not go full ~x86 given that you are a new Gentoo user, you don't want more error messages to fix, later on you can selectively install unstable packages.

As for your other question on USE flags, and as other fellow members pointed out, "qt -gtk" will only affect apps that have both GTK and Qt frontends, and in that case only the Qt frontend will be compiled, you will still be able to emerge GTK-only apps.
_________________
python>>> q="'";s='q="%c";s=%c%s%c;print s%%(q,q,s,q)';print s%(q,q,s,q)
blog
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Feb 24, 2006 5:50 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
moved in favour of https://forums.gentoo.org/viewtopic-t-186638.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum