Re: [gentoo-user] Question on my USE choiche

2006-05-21 Thread Jonathan Chocron
Le Samedi 20 Mai 2006 12:47, Neil Bothwick a écrit :
 On Sat, 20 May 2006 10:52:30 +0200, Jonathan Chocron wrote:
  I mean that kdelibs should have the arts useflag set. Otherwise uou
  can't have any system sound (either through alsa or oss).

 KDE has an option to use an external player for system sounds, so you can
 still have them without aRts.

No, I tried that. Kde will only use the external player if kdelibs has been 
compiled against arts. It took me a while to figure that out, since I too am 
using an external player for sounds.

If you don't want to use arts, you just have to compile kdelibs against arts, 
and not the rest of kde.

Regards,

-- Jonathan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-20 Thread Anthony E. Caudel


However, 
you'll need kdelibs to be compiled against it if you want to hear sounds in 
kde (and I mean sounds generated by kde, not sounds from amarok...)


 

Not sure what you mean by this.  Should arts be installed before 
emerging kdelibs?


Or something like this:  USE=arts emerge kdelibs (which of course 
pulls in arts)?


Tony
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-20 Thread Steven Susbauer


On Sat, 20 May 2006, Anthony E. Caudel wrote:


 However, you'll need kdelibs to be compiled against it if you want to hear
 sounds in kde (and I mean sounds generated by kde, not sounds from amarok...)
 
 
 
 Not sure what you mean by this.  Should arts be installed before emerging
 kdelibs?

 Or something like this:  USE=arts emerge kdelibs (which of course pulls in
 arts)?

 Tony


If you have arts enabled in your use flags, portage will install arts
automatically when kdelibs, or other things that care about the use flag,
is going to be built (or just add it to package.use). It is never a good
idea to use the 'USE=blah emerge foo' syntax, as it doesn't stick. If
you were to do a kdelibs upgrade, it would ignore arts.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-20 Thread Anthony E. Caudel

Steven Susbauer wrote:


On Sat, 20 May 2006, Anthony E. Caudel wrote:

 


However, you'll need kdelibs to be compiled against it if you want to hear
sounds in kde (and I mean sounds generated by kde, not sounds from amarok...)



 


Not sure what you mean by this.  Should arts be installed before emerging
kdelibs?

Or something like this:  USE=arts emerge kdelibs (which of course pulls in
arts)?

Tony

   



If you have arts enabled in your use flags, portage will install arts
automatically when kdelibs, or other things that care about the use flag,
is going to be built (or just add it to package.use). It is never a good
idea to use the 'USE=blah emerge foo' syntax, as it doesn't stick. If
you were to do a kdelibs upgrade, it would ignore arts.
 


I know.  But it's good for testing what _would_ happen if I used that flag.

Tony
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-20 Thread Jonathan Chocron
Le Samedi 20 Mai 2006 08:18, Anthony E. Caudel a écrit :
  However,
 you'll need kdelibs to be compiled against it if you want to hear sounds
  in kde (and I mean sounds generated by kde, not sounds from amarok...)

 Not sure what you mean by this.  Should arts be installed before
 emerging kdelibs?

 Or something like this:  USE=arts emerge kdelibs (which of course
 pulls in arts)?

 Tony

I mean that kdelibs should have the arts useflag set. Otherwise uou can't have 
any system sound (either through alsa or oss). But it should be the only one. 
The rest of the Kde system does not have to be compiled against arts so 
should remain with the arts useflag unset. Moreover, in the control center, 
one should definitely tell kde to use alsa and not arts.

Yes, I know, this amounts to installing a program in the specific view of not 
using it, but it's the only way that I know of to enable system sounds in 
Kde.

-- Jonathan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-20 Thread Neil Bothwick
On Sat, 20 May 2006 10:52:30 +0200, Jonathan Chocron wrote:

 I mean that kdelibs should have the arts useflag set. Otherwise uou
 can't have any system sound (either through alsa or oss).

KDE has an option to use an external player for system sounds, so you can
still have them without aRts.


-- 
Neil Bothwick

Bang on the LEFT side of your computer to restart Windows


signature.asc
Description: PGP signature


[gentoo-user] Question on my USE choiche

2006-05-19 Thread Leonardo
Hi all,
my first post to Gentoo lists!
I already installed Gentoo some time ago, and want to restart
now from zero, to see how much I've learnt in the meantime.
My biggest doubt has always been which USE flags to use.
I do a lot of home work with multimedia stuff (audio, video...)
and need also a lot of scientific and programming stuff.
Tiny spare time is used to study networking and such.
So I put together a list of flags, that at first sight looks
huge; here it is:

USE= cups eds emboss  foomaticdb gdbm  gnome gpm gstreamer
imlib  libg++ libwww mad  mpeg -nptl  pdflib  spell 
truetype-fonts type1-fonts  X xml aac aalibaccessibility acpi
alsa arts avi bitmap-fonts bidi bluetooth bonobo bzip2
cdparanoia cdr crypt cups dbus dga dio directfb dv dvb dvd dvdr
dvdread emacs emboss encode esd examples ffmpeg fftw flash
fortran ftp gb gcj gif ginac gphoto2 gps gstreamer gtk gtk2
guile hal hardened icq idn iee1394 imagemagick imap inifile
jabber jack java javascript joistick jpeg jpeg2k kde
kdeenablefinal kdexdeltas libcaca lirc lm_sensors matroska
mikmod mime ming mng mmx motif mozilla mp3 msn mysql mysqli nas
ncurses offensive ogg openal opengl osc oss pcmcia pdf perl php
png prelude python qt quicktime readline ruby samba scanner sdl
slang sockets socks5 sox speex spell sse sse2 ssl svg tcltk tiff
usb truetype unicode v4l vcd vorbis wifi win32codecs wmf
wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xv xvid
yahoo zlib

First question: is it a good starting point or is it
excessive/unneccessary?

If I avoid putting things in does it mean that if I add them in
a second moment probably some of the installed stuff needs to be
recompiled?

Thanks, Leo

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-19 Thread Jonathan Chocron
Le Vendredi 19 Mai 2006 09:56, Leonardo a écrit :
 Hi all,
 my first post to Gentoo lists!
 I already installed Gentoo some time ago, and want to restart
 now from zero, to see how much I've learnt in the meantime.
 My biggest doubt has always been which USE flags to use.
 I do a lot of home work with multimedia stuff (audio, video...)
 and need also a lot of scientific and programming stuff.
 Tiny spare time is used to study networking and such.
 So I put together a list of flags, that at first sight looks
 huge; here it is:

 USE= cups eds emboss  foomaticdb gdbm  gnome gpm gstreamer
 imlib  libg++ libwww mad  mpeg -nptl  pdflib  spell
 truetype-fonts type1-fonts  X xml aac aalibaccessibility acpi
 alsa arts avi bitmap-fonts bidi bluetooth bonobo bzip2
 cdparanoia cdr crypt cups dbus dga dio directfb dv dvb dvd dvdr
 dvdread emacs emboss encode esd examples ffmpeg fftw flash
 fortran ftp gb gcj gif ginac gphoto2 gps gstreamer gtk gtk2
 guile hal hardened icq idn iee1394 imagemagick imap inifile
 jabber jack java javascript joistick jpeg jpeg2k kde
 kdeenablefinal kdexdeltas libcaca lirc lm_sensors matroska
 mikmod mime ming mng mmx motif mozilla mp3 msn mysql mysqli nas
 ncurses offensive ogg openal opengl osc oss pcmcia pdf perl php
 png prelude python qt quicktime readline ruby samba scanner sdl
 slang sockets socks5 sox speex spell sse sse2 ssl svg tcltk tiff
 usb truetype unicode v4l vcd vorbis wifi win32codecs wmf
 wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xv xvid
 yahoo zlib


 First question: is it a good starting point or is it
 excessive/unneccessary?

That's a little excessive. For example, you have cups twice.

The thing is, useflags are now cascading, and you don't seem to use that 
feature very much. For example, truetype-fonts, type1-fonts are included in 
your make.default. Hence, they are already present opn your system, there is 
no need to specify them twice.

Moreover, some of the usflags you specify are definitely local useflags. For 
example, libg++ affects only postgresql. It should not be in your make.conf, 
since it makes it very hard to read. (Moreover, libg++ is enabled by default 
in the make.defaults).

You have a typo : aalibaccessibility .

You might want to avoid putting arts in your useflags, since arts is 
definitely the worst thing that can happen to your sound system (No flamewar 
intended, even the kde devs have decided to take it out of KDE4). However, 
you'll need kdelibs to be compiled against it if you want to hear sounds in 
kde (and I mean sounds generated by kde, not sounds from amarok...)

So, to sum up, what I would do is :
1) Put USE= and do an emerge --info to see which useflags are enabled by 
default.
2) Ask myself the question : Do I really want *any* application running on my 
computer to have feature foo.  If the answer is no, the useflag should be 
in /et/portage/package.use
3) Organise the useflags in make.conf by theme : For example

## System
USE=alsa mmx sse sse2
## Desktop environment :
USE=${USE} gnome kde kdeenablefinal
...

I find this more readable than a long USE=... list.

 If I avoid putting things in does it mean that if I add them in
 a second moment probably some of the installed stuff needs to be
 recompiled?

If you add a useflag, there should not be any problem. However, the app will 
make use of the new feature only if it has been recompiled.

If you remove a useflag, from a library for example, the apps linked to that 
library can break. You'll need to recompile the apps.

Anyway, if you change your useflag one way or the other, you should :
1) emerge --newuse --ask --verbose world
2) revdep-rebuild

 Thanks, Leo

Beware of automatic useflags :
- Portage  2.1 (stable)
Beware that those versions of portage have automatic useflags enabled. For 
example, if you emerge mysql, the mysql uselfag will be turned on globally. 
If you unmerge it, the useflag will be turned off (except if it is mentionned 
in any of the config files).

- Portage  2.1 (unstable, but really, works very well) does not have that 
kind of behaviour.

I hope this was clear enough,

-- Jonathan

P.S : You seem to have forgotten nsplugins ;)
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-19 Thread Leonardo
Merci Jonathan,
much more clear now.
Leo

--- Jonathan Chocron [EMAIL PROTECTED] wrote:

 That's a little excessive. For example, you have cups twice.
 
 The thing is, useflags are now cascading, and you don't seem
...

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question on my USE choiche

2006-05-19 Thread Bo Ørsted Andresen
On Friday 19 May 2006 09:56, Leonardo wrote:
 I already installed Gentoo some time ago, and want to restart
 now from zero, to see how much I've learnt in the meantime.

If by restart from zero mean reinstall then that would be pretty pointless. 
There are easier ways to get to the same result.

 My biggest doubt has always been which USE flags to use.
 I do a lot of home work with multimedia stuff (audio, video...)
 and need also a lot of scientific and programming stuff.
 Tiny spare time is used to study networking and such.
 So I put together a list of flags, that at first sight looks
 huge; here it is:

First of all it should be noted that use flags are for optional stuff only. If 
you put -X in your use flags apps that depend on X will still depend on X. 
Only apps that have optional dependency on X will stop depending on X (e.g. 
links).

Further it should be noted that use flags really are your choice. Noone else 
can really you what you need. Still a (few) comments:

 USE= 
[...]
 imlib  libg++ libwww mad  mpeg -nptl  pdflib  spell

pdflib has been removed in favor of pdf.

 truetype-fonts type1-fonts  X xml aac aalibaccessibility acpi

s/libacc/lib acc/

 guile hal hardened icq idn iee1394 imagemagick imap inifile

s/iee1394/ieee1394/

 jabber jack java javascript joistick jpeg jpeg2k kde

s/joistick/joystick/

 wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xv xvid

xml2 is deprecated in favor of xml.

[...]
 First question: is it a good starting point or is it
 excessive/unneccessary?
A bit excessive, yes. :)

You have both alsa and oss in your use flags. OSS is deprecated in favor of 
ALSA and hence if you have alsa enabled in your kernel you really shouldn't 
need optional oss.
Also you have both arts and esd in your use flags both of which serve the same 
purpose (arts is for kde/esd is for gnome). They are sound daemons that allow 
several apps to use the sound device even if the sound driver allows only one 
app at the same time. Yet modern alsa drivers do allow multiple apps to use 
the sound device at the same time. So IMHO sound daemons are an unnecessary 
overhead. Therefore I would recommend alsa -arts -esd -oss.

Is there a reason why you have -nptl in your use flags?? If not and if you 
do use a 2.6 kernel I recommend you enable it. It is the replacement of 
linuxthreads and it does perform better.. I actually have nptl nptlonly in 
mine..

Other than this I don't intend to comment any further on this. You really are 
the only one who can say what you need. You do have a lot of use flags 
enabled and some would say that it makes your system bloated.. But it really 
is up to you.

 If I avoid putting things in does it mean that if I add them in
 a second moment probably some of the installed stuff needs to be
 recompiled?

Yes. Run 'emerge --newuse --deep --verbose --pretend' to see what use flags 
changed. It the changed flags with a * and a different color if they changed.

-- 
Bo Andresen


pgpQ2ClhhXi0B.pgp
Description: PGP signature