Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which USEflags should I use for my portage binhost?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Fri Nov 09, 2007 9:24 am    Post subject: Which USEflags should I use for my portage binhost? Reply with quote

Which USEflags should I use for my portage binhost? I use the desktop profile and I was thinking of adding the 'bluetooth', 'wifi', 'ipod' USEflags. What other flags should be added in order to provide the enduser with binaries that contains all USEflags necessary for desktop usage?



    Almost final list


    Code:
    7zip
    Xaw3d
    a52
    aac
    acpi
    addbookmarks
    additions
    administrator
    aim
    alias
    amr
    apache2
    arj
    asm
    atm
    avahi
    autoreplace
    bash-completion
    bindist
    bluetooth
    bonusscripts
    branding
    caps
    cdda
    cddb
    cdparanoia
    connectionstatus
    contactnotes
    cpudetection
    crypt
    css
    dga
    dhcp
    dialup
    divx
    djvu
    doc
    dv
    exif
    fat
    ffmpeg
    flac
    foomaticdb
    freeimage
    gadu
    gimp
    gimpprint
    gmedia
    gphoto2
    gs
    gtk2
    hfs
    history
    hou
    httpd
    icon
    ieee1394
    imagemagick
    imap
    imlib
    ipod
    irc
    jabber
    java
    jikes
    jingle
    joystick
    jpeg2k
    kqemu
    lha
    libnotify
    live
    logitech-mouse
    madwifi
    maildir
    maps
    matroska
    mdnsresponder-compat
    mmx
    mmxex
    modkit
    mono
    mp4
    mpeg2
    mplayer
    msn
    musepack
    music
    musicbrainz
    mysql
    net
    netmeeting
    nfs
    nocd
    nowin
    nowlistening
    nsplugin
    ntfs
    nvidia
    offensive
    ofx
    openal
    opensslcrypt
    openexr
    pcmcia
    pda
    php
    plugins
    postgres
    profile
    query-browser
    quotes
    rar
    rdesktop
    real
    realmedia
    roe
    rogue
    rt2400pci
    rt2500pci
    rt2500usb
    rt61pci
    rt73usb
    rtc
    samba
    sametime
    scanner
    server
    slang
    slp
    smp
    sms
    sou
    sound
    sounds
    speex
    sqlite
    statistics
    stream
    subtitles
    svga
    texteffect
    themes
    theora
    threadsafe
    thumbnail
    tk
    transcode
    translator
    trayicon
    usb
    utempter
    vcd
    videos
    visualization
    v4l
    v4l2
    wavpack
    webpresence
    wifi
    winpopup
    wma
    wmf
    wmp
    workbench
    wxwindows
    x264
    xatrix
    xface
    xfs
    xine
    xine
    xinerama
    xprint
    xvid
    yahoo
    zip


Pending USEflags
    Code:
    -esd
    hbci
    moviepack
    moviesounds
    applet
    gsf
    glitz
    ftp

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered


Last edited by Kasumi_Ninja on Thu Dec 20, 2007 6:55 pm; edited 34 times in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Fri Nov 09, 2007 7:00 pm    Post subject: Reply with quote

I would add
Code:
profile
to the USE flags, too.

Last edited by Keruskerfuerst on Sat Nov 10, 2007 8:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Fri Nov 09, 2007 9:20 pm    Post subject: Reply with quote

Keruskerfuerst wrote:
I would add profile to the USE flags, too.

What does this USEflag exactly do? I have looked up it's description but it wasn't very helpful :roll:
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sat Nov 10, 2007 8:32 am    Post subject: Reply with quote

Profile enables profiling for some packages.

Profiling causes a resorting of the command queue during compiling (causes a further optimization).

Enabled for GCC and Glibc.
Back to top
View user's profile Send private message
voxiac
n00b
n00b


Joined: 06 Nov 2007
Posts: 9
Location: Denmark

PostPosted: Sat Nov 10, 2007 4:41 pm    Post subject: Reply with quote

Here are some to consider:
Codecs/Containers:
Code:
a52
aac
flac
matroska
musepack
speex
theora
wavpack
xvid

(AFAIK there shouldn't be any redistribution problems with those, but correct me if I'm wrong...)
Maybe also nuke 'arts'?
IM protocols:
Code:
msn

(There're a lot of them but since I've never used anything besides msn, I can't really tell which ones would be good to have. Perhaps 'yahoo' and 'aim' will be appreciated by some.)
General:
Code:
usb
samba
java
nsplugin
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sat Nov 10, 2007 5:14 pm    Post subject: Reply with quote

voxiac wrote:
Here are some to consider:
Codecs/Containers:
Code:
a52
aac
flac
matroska
musepack
speex
theora
wavpack
xvid

(AFAIK there shouldn't be any redistribution problems with those, but correct me if I'm wrong...)
Maybe also nuke 'arts'?
IM protocols:
Code:
msn

(There're a lot of them but since I've never used anything besides msn, I can't really tell which ones would be good to have. Perhaps 'yahoo' and 'aim' will be appreciated by some.)
General:
Code:
usb
samba
java
nsplugin


Thanks! These are useful additions. What do you mean with "Maybe also nuke 'arts'?".
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Nov 10, 2007 6:14 pm    Post subject: Reply with quote

Aniruddha wrote:
What do you mean with "Maybe also nuke 'arts'?".

He probably meant to use -arts.

Personally I would like -arts, too.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sat Nov 10, 2007 6:24 pm    Post subject: Reply with quote

zxy wrote:
Aniruddha wrote:
What do you mean with "Maybe also nuke 'arts'?".

He probably meant to use -arts.

Personally I would like -arts, too.


Why is that?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Sat Nov 10, 2007 7:11 pm    Post subject: Reply with quote

Because arts is at best not very useful (it doesn't do anything without a kernel sound driver like alsa or oss and everything it can do alsa and oss can do by themselves) and at worst it doesn't work very well anyway.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sat Nov 10, 2007 7:17 pm    Post subject: Reply with quote

slycordinator wrote:
Because arts is at best not very useful (it doesn't do anything without a kernel sound driver like alsa or oss and everything it can do alsa and oss can do by themselves) and at worst it doesn't work very well anyway.


That is good to know. Added -arts.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
voxiac
n00b
n00b


Joined: 06 Nov 2007
Posts: 9
Location: Denmark

PostPosted: Sun Nov 11, 2007 11:28 am    Post subject: Reply with quote

Also make sure to set 'bindist' as mark_alec pointed out in the other thread.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Nov 11, 2007 6:57 pm    Post subject: Reply with quote

voxiac wrote:
Also make sure to set 'bindist' as mark_alec pointed out in the other thread.


I missed that reply 8O. Thanks!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Nov 13, 2007 2:28 pm    Post subject: Reply with quote

Added the crypt USEflag.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Nov 13, 2007 6:21 pm    Post subject: Reply with quote

Added the following USEflags:

Code:
7zip
additions
a52
bash-completion
branding
cdda
cddb
doc
dialup
divx
djvu
fat
ffmpeg
gphoto2
hfs
irc
joystick
jabber
logitech-mouse
mp4
madwifi
mpeg2
mplayer
music
musicbrainz
nfs
ntfs
rar
real
realmedia
rt2400pci
rt2500pci
rt2500usb
rt61pci
rt73usb
scanner
sound
sounds
svga
vcd
videos
wifi
wma
wmf
xine
xinerama
xfs
zip

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Tue Nov 13, 2007 7:08 pm    Post subject: Reply with quote

Something unimportant btw. Apart from system-wide USE flags in make.conf, are you also going to use a /etc/portage/package.use for dealing with specific packages? As a matter of fact, I was forced to create a package.use file at some point of time because of three reasons. First, I needed certain USE flags for certain packages, while the same USE flags created problems for other. (Example, ldap I guess is useful USE flag, but openssh doesn't require and accept that flag anymore.) Secondly, I sometimes ran into circular dependencies. And third reason is that there are some USE flags that are specific to just one or two packages (out of a system of about 1000 packages say) and felt its not worth adding it to make.conf and make it clumsy and cluttered ;).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Tue Nov 13, 2007 7:12 pm    Post subject: Reply with quote

Forgot to mention, as an example here is my (gorilla?) package.use :p - http://hirakendu.mooo.com/gentoo/neon-src/config/package.use
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Nov 13, 2007 7:23 pm    Post subject: Reply with quote

Thanks hirakendu for your suggestions. I have always used /etc/portage/package.use in order to keep make.conf as tidy as possible. However now is my goal an entire other one. I would like to build a binhost with binary packages that contain most common USEflags. To inform people which setting I used I want provide them with the make.conf I used for the creation of the binary packages. therefor I choose to keep the USEflags in make.conf only.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Wed Nov 14, 2007 10:03 pm    Post subject: Reply with quote

Some more observations:
  • I personally don't know what esd use flag should be good for. Esound quite outdated, and you can mix together various sound sources with arts or gstreamer as well.
  • I am really not sure if it's a good idea to mix gnome and kde together. As far as I remember from the Gentoo Handbook, it's recommended to either the one or the other.
  • I'd suggest to add the gimp and scanner flags if you expect people to do graphics work on your machines. If you add gimp, you may also add smp if they will work on DualCore (or Dual PIII ;-) ) machines
  • If there's firewire hardware on the machines to use, you should add ieee1394, and probably also dv and x264
  • Finally, some desktop users like to strech their display over two monitors, so maybe the xinerama flag should also be added

But you're really doing a difficult job. So much depends on what users you have and on what hardware they have (nvidia, e.g.), and on what they will want to do.
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sat Nov 17, 2007 12:28 pm    Post subject: Reply with quote

cjubon wrote:
Some more observations:
  • I personally don't know what esd use flag should be good for. Esound quite outdated, and you can mix together various sound sources with arts or gstreamer as well.

Good point! I'll add the -esd to make.conf unless someone knows a good reason why it should be included.

Quote:
  • I am really not sure if it's a good idea to mix gnome and kde together. As far as I remember from the Gentoo Handbook, it's recommended to either the one or the other.

  • I don't remember such a recommendation moreover the Dekstop profile comes with bot the gnome and the kde USEflags, therefor I don't think it's an big issue.

    Quote:
  • I'd suggest to add the gimp and scanner flags if you expect people to do graphics work on your machines. If you add gimp, you may also add smp if they will work on DualCore (or Dual PIII ;-) ) machines

  • Added gimp and scanner :). If the smp USEflag doesn't give backward compatibility problems I will add it too.

    Quote:
  • If there's firewire hardware on the machines to use, you should add ieee1394, and probably also dv and x264

  • Ah fireware... never thought of that. Thanks again/

    Quote:
  • Finally, some desktop users like to strech their display over two monitors, so maybe the xinerama flag should also be added

  • Xinerame is already included

    Quote:
    But you're really doing a difficult job. So much depends on what users you have and on what hardware they have (nvidia, e.g.), and on what they will want to do.

    Fortunately a recompile with the USEflags you prefer is only one command away, try that in other (binary) distro's.... :wink:
    _________________
    Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
    Back to top
    View user's profile Send private message
    voonte
    n00b
    n00b


    Joined: 04 Sep 2007
    Posts: 13

    PostPosted: Sat Nov 17, 2007 12:51 pm    Post subject: Reply with quote

    Aniruddha wrote:
    Fortunately a recompile with the USEflags you prefer is only one command away, try that in other (binary) distro's.... :wink:

    I think this is worth remembering. Having a set of common binaries is really appreciated, and if you need to customize it, Gentoo has powerful options to do so..

    How does KDE (3.x) work without arts?
    Back to top
    View user's profile Send private message
    Kasumi_Ninja
    Veteran
    Veteran


    Joined: 18 Feb 2006
    Posts: 1825
    Location: The Netherlands

    PostPosted: Sat Nov 17, 2007 12:59 pm    Post subject: Reply with quote

    voonte wrote:
    Aniruddha wrote:
    Fortunately a recompile with the USEflags you prefer is only one command away, try that in other (binary) distro's.... :wink:

    I think this is worth remembering. Having a set of common binaries is really appreciated, and if you need to customize it, Gentoo has powerful options to do so..

    And the set of common binaries is exactly I try to determine with the help of the community in this thread :). You can also take a look at my stage4 project .

    voonte wrote:
    How does KDE (3.x) work without arts?

    I haven't tested it yet, but I learned it shouldn't be necessary:

    slycordinator wrote:
    Because arts is at best not very useful (it doesn't do anything without a kernel sound driver like alsa or oss and everything it can do alsa and oss can do by themselves) and at worst it doesn't work very well anyway.


    Update
    This is strange. Alsa is working properly but KDE soundeffects aren working :?. Can this be due to the missing arts flag? Anyhow I remove the the -arts flag.
    _________________
    Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
    Back to top
    View user's profile Send private message
    slycordinator
    Advocate
    Advocate


    Joined: 31 Jan 2004
    Posts: 3065
    Location: Korea

    PostPosted: Sat Nov 17, 2007 5:31 pm    Post subject: Reply with quote

    Aniruddha wrote:
    slycordinator wrote:
    Because arts is at best not very useful (it doesn't do anything without a kernel sound driver like alsa or oss and everything it can do alsa and oss can do by themselves) and at worst it doesn't work very well anyway.


    Update
    This is strange. Alsa is working properly but KDE soundeffects aren working :?. Can this be due to the missing arts flag? Anyhow I remove the the -arts flag.


    Did you rebuild kde after the USE flag change? Because if you built it with USE=arts it'll be built to use arts and not use alsa directly. Or perhaps make sure you have USE=alsa. I'm not sure; personally, I had no trouble without using arts when I was using kde about a month ago and I sure don't remember doing anything fancy.
    Back to top
    View user's profile Send private message
    voonte
    n00b
    n00b


    Joined: 04 Sep 2007
    Posts: 13

    PostPosted: Sat Nov 17, 2007 10:00 pm    Post subject: Reply with quote

    Aniruddha wrote:
    This is strange. Alsa is working properly but KDE soundeffects aren working :?. Can this be due to the missing arts flag? Anyhow I remove the the -arts flag.

    I haven't built KDE without the arts flag, so I'm not sure. But, did you change the configuration in KControl, in sound systems, to use something else than arts?
    Back to top
    View user's profile Send private message
    voxiac
    n00b
    n00b


    Joined: 06 Nov 2007
    Posts: 9
    Location: Denmark

    PostPosted: Sun Nov 18, 2007 11:27 am    Post subject: Reply with quote

    Aniruddha wrote:
    Update
    This is strange. Alsa is working properly but KDE soundeffects aren working :?. Can this be due to the missing arts flag? Anyhow I remove the the -arts flag.

    Yeah it looks like KDE System Notifications uses arts only (they call it 'KDE Sound System' in the KControl i suppose) and can't use alsa instead. I've not noticed it because I turn off all system sounds anyway... The only workaround I found is to use external player to play those sounds (yay for KDE's configurability) in KControl --> Sound & Multimedia --> System Notifications --> Player Settings (like ogg123 or mplayer). But this is of course sub-optimal...
    Back to top
    View user's profile Send private message
    slycordinator
    Advocate
    Advocate


    Joined: 31 Jan 2004
    Posts: 3065
    Location: Korea

    PostPosted: Sun Nov 18, 2007 8:49 pm    Post subject: Reply with quote

    Here's a workaround for it

    http://codeforfun.wordpress.com/2006/12/22/use-alsa-for-kde-sounds/

    Essentially, you make a script that'll call aplay for you. And if you like mpg123 instead of mpg321 just edit the script. Then change the system command that is called to be that script.
    Back to top
    View user's profile Send private message
    Display posts from previous:   
    Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
    Goto page 1, 2  Next
    Page 1 of 2

     
    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