Re: [gentoo-user] USE-flags description?

2015-02-07 Thread Frank Steinmetzger
On Sun, Feb 01, 2015 at 06:36:29PM +0100, Jarry wrote:
 Hi Gentoo-users,
 
 where can I find description of *all* USE flags? I checked
 /usr/portage/profiles/use.desc and use.local.desc but still
 I can not find some...
 […]
 But I'd like to know what they means, but I could not find
 any description for aes and popcnt...

A bit late, but still valid: I use ufed (use flag editor) for anything that
useflaggy that requires more than a simple lookup.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

The number you have dialled is imaginary.
Please rotate your phone by 90 degrees and try again.


signature.asc
Description: Digital signature


Re: [gentoo-user] USE-flags description?

2015-02-01 Thread Jarry

On 01-Feb-15 18:53, Markos Chandras wrote:


where can I find description of *all* USE flags? I checked
/usr/portage/profiles/use.desc and use.local.desc but still I can
not find some...


try /usr/portage/desc/cpu_flags_x86.desc


You probably mean /usr/portage/profiles/desc/cpu_flags_x86.desc
Thanks, I did not know about that desc sub-dir at all...

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] USE-flags description?

2015-02-01 Thread Markos Chandras
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 02/01/2015 05:36 PM, Jarry wrote:
 Hi Gentoo-users,
 
 where can I find description of *all* USE flags? I checked 
 /usr/portage/profiles/use.desc and use.local.desc but still I can
 not find some...
 
 cpuinfo2cpuflags-x86 suggested my CPU_FLAGS_X86 should be: aes avx
 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3
 
 But I'd like to know what they means, but I could not find any
 description for aes and popcnt...
 
 Jarry
 

try /usr/portage/desc/cpu_flags_x86.desc

- -- 
Regards,
Markos Chandras
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQF8BAEBCgBmBQJUzmglXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRDlGMzA4MUI2MzBDODQ4RDBGOEYxMjQx
RjEwRUQ0QjgxREVCRjE5AAoJEB8Q7UuB3r8ZBcUH/RtFmb2/HEx8tnaI68RQdiaw
arIHkUFmdiB0aIBm4bXFhVDEmuXXxuC+nK8jbRXPwbb9sBVKX44yRhmuZMqf5rMy
i3kJbV2BciXvkpjEts5akzoJ4dYqoogu0ez4X4kdekZcMgT727OEb8fMXPaKj23i
hRYZv90QrXeCKjGukRDdgxQx7Z4rEoHz+8F4BWIGv6SzqXDNYewNZys/CoyK35Tm
bxOUxAXnX+RHPXl6obcNopR/0x3YwCg4yHvsRe0Wsa6hKuih+DasS2CosS+1UW1A
oPO6h6Llacl7GyduI4a1so20Je9YN+G//OSvOtnV2Yrz8YCFLWO1K2p7fXzpqGU=
=8lWs
-END PGP SIGNATURE-



[gentoo-user] USE-flags description?

2015-02-01 Thread Jarry

Hi Gentoo-users,

where can I find description of *all* USE flags? I checked
/usr/portage/profiles/use.desc and use.local.desc but still
I can not find some...

cpuinfo2cpuflags-x86 suggested my CPU_FLAGS_X86 should be:
aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3

But I'd like to know what they means, but I could not find
any description for aes and popcnt...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] USE-flags description?

2015-02-01 Thread Alexander Kapshuk
On Sun, Feb 1, 2015 at 7:36 PM, Jarry mr.ja...@gmail.com wrote:

 Hi Gentoo-users,

 where can I find description of *all* USE flags? I checked
 /usr/portage/profiles/use.desc and use.local.desc but still
 I can not find some...

 cpuinfo2cpuflags-x86 suggested my CPU_FLAGS_X86 should be:
 aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3

 But I'd like to know what they means, but I could not find
 any description for aes and popcnt...

 Jarry

 --
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.


quse -D aes popcnt
 local:aes:app-crypt/shishi: Enable AES encryption/checksum types.
 local:popcnt:dev-libs/marisa: Enable popcnt instruction support
 cpu_flags_x86.desc:aes: Enable support for Intel's AES instruction set
(AES-NI)
 cpu_flags_x86.desc:popcnt: Enable popcnt instruction support ([abm] or
[popcnt] in cpuinfo)


Re: [gentoo-user] USE flags handling

2014-08-17 Thread thegeezer
On 29/07/14 18:04, behrouz khosravi wrote:
 Hello everyone.
 I just concurred my fear and jumped to installing gentoo!
 So far so good!
 Before installing on my laptop and desktop, I am trying on virtual box
 and the system is running Fluxbox very good.(default profile)
 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?
 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.

late to the conversation but no one else has mentioned, you might want
to take advantage of the newer way of doing use flags.
i.e. do not put them all in /etc/portage/make.conf
take advantage of the /etc/portage/package.use/  (you might need to
mkdir this)
in there you can put a single file per package requirements.

i.e. you try to emerge etherape, and it tells you that libgnomecanvas
requires use of glade
so cat the requirement into a file named by what requires it

$ cat /etc/portage/package.use/etherape
=gnome-base/libgnomecanvas-2.30.3 glade

this also works for package.keywords etc

this means that you can more easily keep track of which use flags are
for which programs:
$ ls /etc/portage/package.use/
chromium   efl  freemindteamviewer   transmission
compiz etherape gvfsterminator   vinagre
darktable  filemangler  networkmanager  thunar   virtualbox
dvdrip firefox  stellarium  thunderbird  wpa_supplicant


hth



Re: [gentoo-user] USE flags handling

2014-08-17 Thread behrouz khosravi
On Mon, Aug 18, 2014 at 1:51 AM, thegeezer thegee...@thegeezer.net wrote:
 late to the conversation but no one else has mentioned, ...

Sounds neat, Thanks for the advise.



Re: [gentoo-user] USE flags handling

2014-08-04 Thread Neil Bothwick
On Mon, 4 Aug 2014 04:39:45 +0100, Stroller wrote:

 I have to confess, I don't follow desktop development to know myself
 what Phonon means.
 
 The page linked to in the package description for media-libs/phonon is,
 unsurprisingly, uninformative:
 https://projects.kde.org/projects/kdesupport/phonon

http://en.wikipedia.org/wiki/Phonon_(software)


-- 
Neil Bothwick

A bit of tolerance is worth a megabyte of flaming. -- Henry Spencer


signature.asc
Description: PGP signature


Re: [gentoo-user] USE flags handling

2014-08-04 Thread Neil Bothwick
On Mon, 4 Aug 2014 08:26:59 +0100, Neil Bothwick wrote:

  I have to confess, I don't follow desktop development to know myself
  what Phonon means.
  
  The page linked to in the package description for media-libs/phonon
  is, unsurprisingly, uninformative:
  https://projects.kde.org/projects/kdesupport/phonon  
 
 http://en.wikipedia.org/wiki/Phonon_(software)

Or follow the links in the kde.org page and after four or so clicks you
end up with the information you expected to find in the first place

https://userbase.kde.org/Phonon


-- 
Neil Bothwick

IBM - Incredibly Bastardized Multitasking...


signature.asc
Description: PGP signature


Re: [gentoo-user] USE flags handling

2014-08-03 Thread Joost Roeleveld
On Saturday 02 August 2014 16:13:19 Stroller wrote:
 On Sat, 2 August 2014, at 2:35 pm, J. Roeleveld jo...@antarean.org wrote:
  ...
  Do you still have the bug numbers for this?
  I have a few machines without any sound support. If I can remove the
  entire sound system from it, it would save time during the updates.
 Please, Joost, I beg you, stop posting in HTML.
 
 Also your email is broken, I already asked you this yesterday off-list -
 since you neither complied then, nor told me to naff off, I assume that
 you're dropping messages.

Actually, I wasn't ignoring you. It just took some time to find the actual 
cause.
In the settings for KMail, I had the tick-boxes mentioning HTML off already. 
Took me till this morning to notice that in the edit-window, Rich Text was 
selected. (It acts like a button that is pushed in)

If anyone can tell me how to configure that to *always* default to *off*, 
instead of remembering the last setting, that would help.

--
Joost



Re: [gentoo-user] USE flags handling

2014-08-03 Thread Philip Webb
140803 Joost Roeleveld wrote:
 In the settings for KMail, I had the tick-boxes mentioning HTML off already. 
 Took me till this morning to notice that in the edit-window,
 Rich Text was selected. (It acts like a button that is pushed in)
 If anyone can tell me how to configure that to *always* default to *off*, 
 instead of remembering the last setting, that would help.

Have you tried Mutt (smile) ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] USE flags handling

2014-08-03 Thread Stroller

On Sun, 3 August 2014, at 7:49 am, Joost Roeleveld jo...@antarean.org wrote:
 ...
 Actually, I wasn't ignoring you. It just took some time to find the actual 
 cause.

My apologies, Joost. It was driving me crazy.

Stroller.




Re: [gentoo-user] USE flags handling

2014-08-03 Thread wraeth
On Sun, 2014-08-03 at 08:49 +0200, Joost Roeleveld wrote:
 If anyone can tell me how to configure that to *always* default to *off*, 
 instead of remembering the last setting, that would help.

It's been a while since I used kmail (i always had issues and ended up
reverting to thunderbird) but i'm pretty certain that the composer
options allow you to disable rich-text for messages (or, conversely,
enable plain-text-only).

it's there somewhere, just dig ;)

-- 
wraeth wra...@wraeth.id.au




Re: [gentoo-user] USE flags handling

2014-08-03 Thread Stroller

On Sun, 3 August 2014, at 9:17 am, Walter Dnes waltd...@waltdnes.org wrote:
 … KDE actually specifies how to build without any multimedia (audio and 
 video) 
 support:
 
 https://techbase.kde.org/Development/Tutorials/CMake#Command_Line_Variables
 
 cmake command line variable:
 KDE4_DISABLE_MULTIMEDIA=ON: Build KDE without any multimedia (audio and 
 video) 
  The big question... what is multimedia?  Would it be possible to
 build kde with image support (gif/png/jpeg/tiff/pdf/etc) without
 building in audio and video?  I.e. how integrated is kde's graphics
 and multimedia?

From a quick google for KDE4_DISABLE_MULTIMEDIA it looks like that just 
enables / disables Phonon:

• http://mail.kde.org/pipermail/kde-buildsystem/2010-March/006806.html
• 
http://www.filewatcher.com/p/kdebase-runtime-4.1.3.tar.bz2.52251161/kdebase-runtime-4.1.3/phonon/CMakeLists.txt.html

I have to confess, I don't follow desktop development to know myself what 
Phonon means.

The page linked to in the package description for media-libs/phonon is, 
unsurprisingly, uninformative: 
https://projects.kde.org/projects/kdesupport/phonon

Stroller.


Re: [gentoo-user] USE flags handling

2014-08-03 Thread Dale
wraeth wrote:
 On Sun, 2014-08-03 at 08:49 +0200, Joost Roeleveld wrote:
 If anyone can tell me how to configure that to *always* default to *off*, 
 instead of remembering the last setting, that would help.
 It's been a while since I used kmail (i always had issues and ended up
 reverting to thunderbird) but i'm pretty certain that the composer
 options allow you to disable rich-text for messages (or, conversely,
 enable plain-text-only).

 it's there somewhere, just dig ;)


I used to use Kmail but switched to Seamonkey.  Don't start.  I might
bite.  :-)  I did some googling and found where some others were
complaining about this setting not sticking.  It seems this is not a new
issue.  One bug dated all the way back to KDE3 stuff.  I found another
that was KDE4 which claims it was fixed, heard that before.  lol 

So, maybe some bug got thrown back in?  If after the next update it does
the same, I throw up a can of Raid. Uh, over at KDE tho.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] USE flags handling

2014-08-02 Thread Stroller

On Sat, 2 August 2014, at 2:35 pm, J. Roeleveld jo...@antarean.org wrote:
 ...
 Do you still have the bug numbers for this?
 I have a few machines without any sound support. If I can remove the entire 
 sound system from it, it would save time during the updates.

Please, Joost, I beg you, stop posting in HTML. 

Also your email is broken, I already asked you this yesterday off-list - since 
you neither complied then, nor told me to naff off, I assume that you're 
dropping messages.

Stroller.




Re: [gentoo-user] USE flags handling

2014-07-31 Thread Frank Steinmetzger
On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote:
 Hello everyone.
 […]
 Now I am thinking about managing USE flags.
 […]
 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.

In such cases I tend to suggest installing ufed. 'tis a UI for setting use
flags. Not only does it show you the description of every flag and whether
it's local (used by only one or a few programs). It also shows you if it is
enabled (+ sign), disabled (- sign) or not touched (empty) and whether that
setting comes from the profile (parens) or your own setup (brackets).
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“If my wife doesn’t hear it, am I still wrong?” – Philosoraptor


signature.asc
Description: Digital signature


Re: [gentoo-user] USE flags handling

2014-07-31 Thread behrouz khosravi
On Thu, Jul 31, 2014 at 5:35 PM, Frank Steinmetzger war...@gmx.de wrote:
 In such cases I tend to suggest installing ufed...

Seems really handy. Thanks.



Re: [gentoo-user] USE flags handling

2014-07-31 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

 In such cases I tend to suggest installing ufed.

equery from gentoolkit works for me

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJT2mBoAAoJEK64IL1uI2haqwwIAJUucquRR3yCyfY7V6eKb6ns
5dIoIjqrFzvnIjWEdmXBo43rmIyRp0287dbfVETMk3anSameYR3zyn+FB9pmFlhV
RFdJNlHqqWI9mcq64s9SaxpHv8qvX0Ex6ExpZB7HWAwT4Akb/RpIdb0Av6RVVfXn
K/XCfkK7Dzl8FojaAvMiUnOPOAx1RhN44xQt7V/Um6IFtNlCxTUBhacrE5V5cBlm
29ezpzJmVK2oPaG0eZUpRrJAQr1lheEo+VeT6W87VFAEWwKo3K1vQl30bgqwbISh
nLt5JCZyas3AljbV9TN4OrTPQDuK1HoeP0/ODMO8NynTg3PbbPE8tAzjSDswl1Y=
=oHfo
-END PGP SIGNATURE-



Re: [gentoo-user] USE flags handling

2014-07-30 Thread Dale
Philip Webb wrote:
 140730 behrouz khosravi wrote:

 Now it is obvious English is not my mother tongue!
 I suspect that may be true of a majority of Gentooers :
 we're all used to interpreting others' words
  trying to be careful to be clear when we do know English well.



English is the only language I know and even I mess it up at times.  So,
we all have to read between the lines at times.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] USE flags handling

2014-07-30 Thread Peter Humphrey
On Wednesday 30 July 2014 05:37:08 Dale wrote:

 English is the only language I know and even I mess it up at times.

Yes, but then you are American  ;)

-- 
Regards
Peter




Re: [gentoo-user] USE flags handling

2014-07-30 Thread Dale
Peter Humphrey wrote:
 On Wednesday 30 July 2014 05:37:08 Dale wrote:

 English is the only language I know and even I mess it up at times.
 Yes, but then you are American  ;)


True but sometimes, I suck at it.  For the record, I am bad to leave the
word not or n't out.  Talk about a monumental change in meaning. 
ROFL   Imagine talking about the command rm and leaving that out.  o_O 

Still, I think we do our best when someone posts and English is not
their first language.  I know it is hard sometimes for people to post
and get it right but still, we all try. 

Dale

:-)  :-) 



Re: [gentoo-user] USE flags handling

2014-07-30 Thread Volker Armin Hemmann
Am 29.07.2014 19:04, schrieb behrouz khosravi:
 Hello everyone.
 I just concurred my fear and jumped to installing gentoo!
 So far so good!
 Before installing on my laptop and desktop, I am trying on virtual box
 and the system is running Fluxbox very good.(default profile)
 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?
you will break you system.

 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.

then don't do stupid things like USE=-*



Re: [gentoo-user] USE flags handling

2014-07-30 Thread the

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/29/14 21:04, behrouz khosravi wrote:
| Hello everyone. I just concurred my fear and jumped to installing
| gentoo! So far so good! Before installing on my laptop and
| desktop, I am trying on virtual box and the system is running
| Fluxbox very good.(default profile) Now I am thinking about
| managing USE flags. What if I  disable everything in the make.conf
| ( I mean USE=-* ) and gradually add the needed flags to
| package.use? I am not trying to have severe control, I just want to
| expand my knowledge! thanks.

Smokey: Start emacs, Dude, I'm marking it -* .

Walter Sobchak: [pulls out a gun] Smokey, my friend, you are entering
a world of pain.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJT2TpTAAoJEK64IL1uI2hasZ8H/3w5EA6ymBpmdu0aWK+zB2Ol
7l5iKHwrwyssRLawxnW9PgvOxXivYIpHErs1NUR4HKMG4Jo+o1k/eVSULkvOGF1L
eORmcQKpgJa0Nynq9/BeDQ6WT4rH8nKjnMDvQ8/XAf5VMB5qwH+iT0VocmA5RaXX
JdFWYYOKOfmtYjT+Dp8ABueolcibZ0VQik/4rVZ2r4FBsZCUe70bTkteMYKhItSk
DWkpkImLbTNoDNizaOAHvaBuBn/LJjpvrSei/wB1cbfQPqg7PRAChof6XCyOm4bC
ZfEN5mKiY2cuZYHKu0lOXhCfJ4wiyAGm4/WUiImFmH9rWzdrbcga7IuWT08qtto=
=aky0
-END PGP SIGNATURE-



Re: [gentoo-user] USE flags handling

2014-07-30 Thread Alan McKinnon
On 30/07/2014 19:57, Volker Armin Hemmann wrote:
 Am 29.07.2014 19:04, schrieb behrouz khosravi:
 Hello everyone.
 I just concurred my fear and jumped to installing gentoo!
 So far so good!
 Before installing on my laptop and desktop, I am trying on virtual box
 and the system is running Fluxbox very good.(default profile)
 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?
 you will break you system.

Volker is correct.

The reason you will break your system is that you do not have enough
knowledge to know what to put back, and you don't know how to read the
error messages and know what they mean.

Here's what portage does NOT do:

Tell you that flag x is missing and this will cause issues a, b and c,
then give you exact instructions how to make it better.


Here's what portage DOES do:

Give you some weird error message with the word backtrack in it, or
messages like no parents that could not be satisfied by other packages
in slot or something about blockers in flashing red blink text, or it
might even just say nothing giving the impression everything succeeded.
And then your computer explodes.


Still wanna try USE=-* ?





 
 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.

 then don't do stupid things like USE=-*
 
 
 


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
Hello everyone.
I just concurred my fear and jumped to installing gentoo!
So far so good!
Before installing on my laptop and desktop, I am trying on virtual box
and the system is running Fluxbox very good.(default profile)
Now I am thinking about managing USE flags.
What if I  disable everything in the make.conf ( I mean USE=-* ) and
gradually add the needed flags to package.use?
I am not trying to have severe control, I just want to expand my knowledge!
thanks.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread Philip Webb
140729 behrouz khosravi wrote:
 I just concurred my fear and jumped to installing gentoo!
 ^ 'conquered' (smile) : 'concur' = 'agree'.
 So far so good!

Yes, it's not difficult, but it's a sort of initiation test.

 Before installing on my laptop and desktop,
 I am trying on virtual box and the system is running Fluxbox very good.

Yes, Fluxbox is less well-known than it should be : it's excellent.

 Now I am thinking about managing USE flags.
 What if I disable everything in the make.conf ( I mean USE=-* )
 and gradually add the needed flags to package.use?

That's what I've done for years, but others will react in horror (smile).
It's ok, provided you check the use flags for applications,
whenever you emerge new versions : occasionally otherwise, it can hurt.

 I just want to expand my knowledge!

This is a very polite  friendly list with good advice available.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] USE flags handling

2014-07-29 Thread Neil Bothwick
On Tue, 29 Jul 2014 21:34:04 +0430, behrouz khosravi wrote:

 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?

You may well break your system, but you get to keep the pieces as a
lesson.

Portage profiles set some default USE flags, then some ebuilds also set
defaults. Using USE=-* disables all of these. You can see the defaults
by looking at the output from emerge --info with no USE defined in
make.conf.

 I am not trying to have severe control, I just want to expand my
 knowledge!

You will do that, but not in the way you hoped. Pick a profile that most
closely matches your usage and then find tune from that by adding or
removing USE flags. That's a lot easier than deliberately breaking things
and then trying to work out how to fix them.

Also, when setting up a new system, make USE flag changes gradually.
Unless you are sure of what you are doing, only change a few at a time.


-- 
Neil Bothwick

System halted - Press all keys at once to continue.


signature.asc
Description: PGP signature


Re: [gentoo-user] USE flags handling

2014-07-29 Thread Alec Ten Harmsel
 Also, when setting up a new system, make USE flag changes gradually.
 Unless you are sure of what you are doing, only change a few at a time.

Haha, just got frustrated with how much junk is on my machine and 
globally disabled perl, python, ruby, and a bunch of other stuff. Bad 
times ensued ;).

But really, as long as you're fine with looking at failed builds to see 
what went wrong, you should be fine. You can set PORT_LOGDIR in 
make.conf to send all build logs into a location (mine is 
/var/log/portage) so that all logs get saved automatically, which I 
find helpful.

Alec



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
On Tue, Jul 29, 2014 at 9:48 PM, Philip Webb purs...@ca.inter.net wrote:
 140729 behrouz khosravi wrote:
  ^ 'conquered' (smile) : 'concur' = 'agree'.
Sorry. Now it is obvious English is not my mother tongue!

regards.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread Walter Dnes
On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote
 Hello everyone.
 I just concurred my fear and jumped to installing gentoo!
 So far so good!
 Before installing on my laptop and desktop, I am trying on virtual box
 and the system is running Fluxbox very good.(default profile)
 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?
 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.

  Here is a compromise.  I started with USE=-* and then gradually
added stuff that was needed by most items.  My rule-of-thumb is...
If adding a flag to USE reduces the number of entries in package.use,
then I add it.  I.e. if...
* not having flag foobar in USE requires 6 entries in package.use, and
* having flag foobar in USE requires only 2 - entries in package.use

...then I move flag foobar into USE and put a few - entries in
package.use.  I do want stuff like ncurses nptl nptlonly posix readline
threads for every app which can use it.  Similarly, cpu-specific flags
should be in your USE.  This effectively gives you a very customized
profile.  By the way, you can make your own variables in make.conf, and
concatenate them, like in bash.  In my make.conf I have...

USE_BASE=-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin 
offensive openssl posix readline ssl threads vim-syntax zlib
USE_CPU=mmx mmxext sse sse2 sse3 ssse3
USE_VIDEO=X dga dri exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg 
opengl png rtmp theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid 
xvmc
USE=${USE_BASE} ${USE_CPU} ${USE_VIDEO}

  I can mostly copy this to another machine.  ***WARNING*** the flags in
USE_CPU are specific to, and have to be customized for, each machine.
My Dell Dimension 530 dates back to June 2008.  Newer Intel machines
will have additional cpu-specific flags, and AMD cpus will have their
own unique additional flags.  Your set of flags may be different,
depending on what applications you use, and what you want to do with the
machine.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
 Portage profiles set some default USE flags, then some ebuilds also set
 defaults. Using USE=-* disables all of these. You can see the defaults
I have noticed that some packages have flags that I have not set, but
I though that they were the default flags for that package. You mean
those flags will become persistence? Will be them written to a
specific file?

 You will do that, but not in the way you hoped. Pick a profile that most
 closely matches your usage and then find tune from that by adding or
 removing USE flags. That's a lot easier than deliberately breaking things
 and then trying to work out how to fix them.

I guess your way is better. I think it will be a good idea to stick to
the base profile, and define the required flags as locale flags.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread Andreas K. Huettel
Am Dienstag, 29. Juli 2014, 19:04:04 schrieb behrouz khosravi:

 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?

The default profile is what you need.

Please don't do USE=-*. It breaks things. 

* Long ago, setting a useflag always meant adding things to the default. For 
some years now, we have use-defaults, which means an ebuild can set whether a 
use flag set not by profile and not by user is on or off. If you add -* to 
your use flags, you turn all default-on useflags off too (which means you may 
switch away from upstream defaults a lot). 
An example where this may lead to trouble: you end up with sys-devel/gcc[-
cxx], i.e. a compiler that cannot translate C++.

* The dependencies on specific Python or Ruby versions are controlled via 
useflags. Basically, if Python package X needs Python package Y, both have to 
be installed for the same Python variant for things to work. If you disable 
all useflags via -*, you basically disable support for all variants. Bang.

* Similar for multilib installations. 



-- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USE flags handling

2014-07-29 Thread Alan McKinnon
On 29/07/2014 22:16, Walter Dnes wrote:
 On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote
 Hello everyone.
 I just concurred my fear and jumped to installing gentoo!
 So far so good!
 Before installing on my laptop and desktop, I am trying on virtual box
 and the system is running Fluxbox very good.(default profile)
 Now I am thinking about managing USE flags.
 What if I  disable everything in the make.conf ( I mean USE=-* ) and
 gradually add the needed flags to package.use?
 I am not trying to have severe control, I just want to expand my knowledge!
 thanks.
 
   Here is a compromise.  I started with USE=-* 


Here's very good advice for the OP:

Do not do this. Walter does it, and he finds it works for him. He's been
doing it for years and nothing will persuade him to do it any other way.

You should not do with USE what Walter does. Trust me, it will lead you
down a path of immense pain that you do not have the tools to get out
of, and when you ask here for help you will be told to take that -* out
of USE.

No offense Walter, but this is really bad advice to give someone brand
new to Gentoo. He really is ill-equipped to deal with it, and USE=-*
is best left to those who fully understand exactly what they are getting
themselves into.


-- 


Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] USE flags handling

2014-07-29 Thread Philip Webb
140730 behrouz khosravi wrote:
 On Tue, Jul 29, 2014 at 9:48 PM, Philip Webb purs...@ca.inter.net wrote:
 140729 behrouz khosravi wrote:
  ^ 'conquered' (smile) : 'concur' = 'agree'.
 Sorry.

No need at all ! -- You said you wanted to learn (at the end) !

 Now it is obvious English is not my mother tongue!

I suspect that may be true of a majority of Gentooers :
we're all used to interpreting others' words
 trying to be careful to be clear when we do know English well.

From the discussion so far today, you sound like a born Gentoo user.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
On Wed, Jul 30, 2014 at 12:46 AM, Walter Dnes waltd...@waltdnes.org wrote:
  In my make.conf I have...
 USE_BASE=-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin 
 offensive openssl posix readline ssl threads vim-syntax zlib
 USE_CPU=mmx mmxext sse sse2 sse3 ssse3
 USE_VIDEO=X dga dri exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg 
 opengl png rtmp theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid 
 xvmc
 USE=${USE_BASE} ${USE_CPU} ${USE_VIDEO}

The way that you have managed the USE flag is neat, and I will do the same.
Thanks for your help.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
On Wed, Jul 30, 2014 at 2:34 AM, Philip Webb purs...@ca.inter.net wrote:

 I suspect that may be true of a majority of Gentooers :
 we're all used to interpreting others' words
  trying to be careful to be clear when we do know English well.

I will be very happy to be a part of this great community.

 From the discussion so far today, you sound like a born Gentoo user.

Thank you very much. You just made my day!
Have a great time.



Re: [gentoo-user] USE flags handling

2014-07-29 Thread behrouz khosravi
Thank you all.

I have concluded that I should stay with the base profile. Although I
need a desktop, but this decision will be closest to what I want in a
harmless way! (at least less harm!)
Then I will add CPU specific and very frequent flags to make.conf and
gradually extend the package.use file.



Re: [gentoo-user] Use Flags and Updating

2014-06-06 Thread Rich Freeman
On Thu, May 22, 2014 at 3:54 AM, Marc Joliet mar...@gmx.de wrote:
 I think nowadays one would prefer --keep-going, which automatically resumes on
 failure (and recomputes the dependency tree!), and prints a list of failed
 packages when it's finished. However its output is more verbose than just ok
 and failed (it'll print the build.log if it's only one package, IIRC).

Hmm, after using this script for some time I found a problem with this
approach.  If you use --buildpkgonly and ---keep-going then emerge
won't build a single thing if anything in the list is missing a
build-time dependency.  The script I posted will try to emerge
everything individually so at least some of the packages will be
compiled.

That seems like a bug in --buildpkgonly.  If you use it with
--keep-going it should at least compile the packages that aren't
missing build-time options.  I'll file that as a bug if it isn't
already there...

Rich



Re: [gentoo-user] Use Flags and Updating

2014-06-06 Thread Alan McKinnon
On 06/06/2014 12:44, Rich Freeman wrote:
 On Thu, May 22, 2014 at 3:54 AM, Marc Joliet mar...@gmx.de wrote:
 I think nowadays one would prefer --keep-going, which automatically resumes 
 on
 failure (and recomputes the dependency tree!), and prints a list of failed
 packages when it's finished. However its output is more verbose than just 
 ok
 and failed (it'll print the build.log if it's only one package, IIRC).
 
 Hmm, after using this script for some time I found a problem with this
 approach.  If you use --buildpkgonly and ---keep-going then emerge
 won't build a single thing if anything in the list is missing a
 build-time dependency.  The script I posted will try to emerge
 everything individually so at least some of the packages will be
 compiled.
 
 That seems like a bug in --buildpkgonly.  If you use it with
 --keep-going it should at least compile the packages that aren't
 missing build-time options.  I'll file that as a bug if it isn't
 already there...



I don't think it's a bug, it's more like a difference in interpretation.
From the man page:


   --buildpkgonly (-B)
  Creates binary packages for all ebuilds processed  without
  actually merging the packages.  This comes with the caveat
  that all build-time dependencies must already  be  emerged
  on the system.
   --keep-going [ y | n ]
  Continue as much as possible after an error. When an error
  occurs,  dependencies are recalculated for remaining pack‐
  ages and any with unsatisfied dependencies  are  automati‐
  cally dropped. Also see the related --skipfirst option.


So, decisions about --buildpkgonly are made at the start of an emerge
and --keep-going kicks in only when an error occurs at the end, and the
former must have higher precedence than the latter.

It doesn't make sense to expect portage to change it's behaviour about
it's initial decisions just because you also have an entirely unrelated
option set that is only a convenience in the event of a build failure.
That seems to me too much of an unexpected side effect


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Use Flags and Updating

2014-05-23 Thread Rich Freeman
On Thu, May 22, 2014 at 3:54 AM, Marc Joliet mar...@gmx.de wrote:
 I think nowadays one would prefer --keep-going, which automatically resumes on
 failure (and recomputes the dependency tree!), and prints a list of failed
 packages when it's finished. However its output is more verbose than just ok
 and failed (it'll print the build.log if it's only one package, IIRC).

Yup.  Upon reflection the whole script can be replaced by:
emerge -uvD --changed-use --color=n --with-bdeps=y --quiet-build
--buildpkgonly  --keep-going world | col -bx | mutt -s world update
y...@example.com

That will give you a decent report of what is new, build binary
packages, do it in parallel, and not recompute dependencies for every
package.

Rich



Re: [gentoo-user] Use Flags and Updating

2014-05-22 Thread Marc Joliet
Am Wed, 21 May 2014 23:11:02 -0400
schrieb Rich Freeman ri...@gentoo.org:

 On Wed, May 21, 2014 at 10:10 PM,  ny6...@gmail.com wrote:
  I run a script that syncs portage, updates @world, depcleans, revdep-rebuild
  and finally runs dispatch-conf -- about once weekly. Keeps my system in fine
  trim. :)
 
 This one is a gem - I forget where I saw it (likely planet, but maybe
 it was on a list).  Stick it in your crontab.  I will warn you that
 sometimes it chokes on its own output and obviously it can't build
 binpkgs for anything more than one step down the dependency tree.
 However, when my weekly chromium build runs at 2AM and I can just
 install it (with -k) the next morning it is a nice thing indeed.  You
 still get full control over USE flags/etc, but most of the convenience
 of a binary distro.
 
 #!/bin/sh
 
 LIST=$(mktemp);
 
 emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y
 world | awk '{print $2}'  ${LIST};
 
 for PACKAGE in $(cat ${LIST});
 do
   printf Building binary package for ${PACKAGE}... 
   emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE};
   if [[ $? -eq 0 ]];
   then
 echo ok;
   else
 echo failed;
   fi
 done

I think nowadays one would prefer --keep-going, which automatically resumes on
failure (and recomputes the dependency tree!), and prints a list of failed
packages when it's finished. However its output is more verbose than just ok
and failed (it'll print the build.log if it's only one package, IIRC).

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] Use Flags and Updating

2014-05-22 Thread Neil Bothwick
On Wed, 21 May 2014 23:11:02 -0400, Rich Freeman wrote:

 This one is a gem - I forget where I saw it (likely planet, but maybe
 it was on a list).  Stick it in your crontab.  I will warn you that
 sometimes it chokes on its own output and obviously it can't build
 binpkgs for anything more than one step down the dependency tree.
 However, when my weekly chromium build runs at 2AM and I can just
 install it (with -k) the next morning it is a nice thing indeed.  You
 still get full control over USE flags/etc, but most of the convenience
 of a binary distro.
 
 #!/bin/sh
 
 LIST=$(mktemp);
 
 emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y
 world | awk '{print $2}'  ${LIST};

One slight problem, it ignores slotted packages. I realise this is not a
big issue as you are simply trying to get the big packages built in
advance, If you drop the --columns and replace the awk call with

sed 's/.*\] \(\S*\).*/=\1/'

you will get properly versioned atoms.

Or you could try --keep-going as suggested by Marc - I've no idea whether
that will play nicely with --buildpkgonly.

Either way, it's an excellent idea and one for the GMN tips thread.


-- 
Neil Bothwick

Top Oxymorons Number 14: Temporary tax increase


signature.asc
Description: PGP signature


Re: [gentoo-user] Use Flags and Updating

2014-05-22 Thread J. Roeleveld
On Wednesday, May 21, 2014 11:11:02 PM Rich Freeman wrote:
 On Wed, May 21, 2014 at 10:10 PM,  ny6...@gmail.com wrote:
  I run a script that syncs portage, updates @world, depcleans,
  revdep-rebuild and finally runs dispatch-conf -- about once weekly. Keeps
  my system in fine trim. :)
 
 This one is a gem - I forget where I saw it (likely planet, but maybe
 it was on a list).  Stick it in your crontab.  I will warn you that
 sometimes it chokes on its own output and obviously it can't build
 binpkgs for anything more than one step down the dependency tree.
 However, when my weekly chromium build runs at 2AM and I can just
 install it (with -k) the next morning it is a nice thing indeed.  You
 still get full control over USE flags/etc, but most of the convenience
 of a binary distro.
 
 #!/bin/sh
 
 LIST=$(mktemp);
 
 emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y
 world | awk '{print $2}'  ${LIST};
 
 for PACKAGE in $(cat ${LIST});
 do
   printf Building binary package for ${PACKAGE}... 
   emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE};
   if [[ $? -eq 0 ]];
   then
 echo ok;
   else
 echo failed;
   fi
 done

Alternatively, set up a chroot to build the binpackages.
I do that for all my machines at home. That runs weekly.

--
Joost



Re: [gentoo-user] Use Flags and Updating

2014-05-21 Thread Alexander Kapshuk
On 05/20/2014 10:13 PM, Matti Nykyri wrote:
 On May 20, 2014, at 14:49, Alexander Kapshuk
 alexander.kaps...@gmail.com mailto:alexander.kaps...@gmail.com wrote:

 On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:

  

  

 *From:*Alexander Kapshuk [mailto:alexander.kaps...@gmail.com]
 *Sent:* Tuesday, May 20, 2014 7:44 AM
 *To:* gentoo-user@lists.gentoo.org
 *Subject:* Re: [gentoo-user] Use Flags and Updating

  

 On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:

 Hi all. How do I get Portage to update all software to use my
 new USE flags? I made some modifications to the variable, and I
 want to make sure that all packages can use the flags.

 emerge(1)
 -N -- --newuse

 Thank you.

 No worries.

 Here's what I usually run when updating the world.
 Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
 With '--with-bdeps=y' set in the file shown below:
 grep bdeps /etc/portage/make.conf
 EMERGE_DEFAULT_OPTS=--with-bdeps=y

 Short version: emerge -avuND @world
 -a [--ask]
 -v [--verbose]
 -u [--update]
 -N [--newuse]
 -D [--deep]

 And how to remember this... Make it a name:

 emerge -DuvaN @world

 Human mind is a complex organ ;)

 -- 
 -Matti

I just put this into a shell function.

sed -n '/chkupd/,/}/p' .bash_profile
chkupd(){
emerge --sync  emerge -avuND @world
}



Re: [gentoo-user] Use Flags and Updating

2014-05-21 Thread Alexander Kapshuk
On 05/20/2014 11:56 PM, yac wrote:
 On Tue, 20 May 2014 14:49:17 +0300
 Alexander Kapshuk alexander.kaps...@gmail.com wrote:

 Here's what I usually run when updating the world.
 Long version: emerge --ask --update --deep --with-bdeps=y --newuse
 @world With '--with-bdeps=y' set in the file shown below:
 grep bdeps /etc/portage/make.conf
 EMERGE_DEFAULT_OPTS=--with-bdeps=y

 Short version: emerge -avuND @world
 -a [--ask]
 -v [--verbose]
 -u [--update]
 -N [--newuse]
 -D [--deep]


 It's also good to use -t --unordered-display to see what pulls what and
 resolve potential issues.

 Then --keep-going so the whole thing doesn't fail just because one
 package fails.

 Then -k to use already built binary packages where applicable
 (Actually, I'm not sure why this sometimes gets activated but I see it
 from time to time)

 Why do you run the the --width-bdeps=y ?

 ---
 Jan Mate(jka| Developer
 https://gentoo.org | Gentoo Linux
 GPG: A33E F5BC A9F6 DAFD 2021  6FB6 3EBF D45B EEB6 CA8B

After reading about the flag in the handbook, I thought I'd use it as well.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1

Code Listing 3.11: Updating your system with dependencies

# emerge --update --deep @world

Still, this doesn't mean all packages: some packages on your system are
needed during the compile and build process of packages, but once that
package is installed, these dependencies are no longer required. Portage
calls those build dependencies. To include those in an update cycle, add
--with-bdeps=y:

Code Listing 3.12: Updating your entire system

# emerge --update --deep --with-bdeps=y @world

Since security updates also happen in packages you have not explicitly
installed on your system (but that are pulled in as dependencies of
other programs), it is recommended to run this command once in a while.


What would you recommend? Thanks.



Re: [gentoo-user] Use Flags and Updating

2014-05-21 Thread Francesco Turco
 What would you recommend? Thanks.

I always use emerge -uDNav @world --with-bdeps=y --keep-going=y, as I
want to update *all* packages on my system. What's the point in keeping
on the system some packages that are deliberately not updated?



Re: [gentoo-user] Use Flags and Updating

2014-05-21 Thread ny6p01
On Wed, May 21, 2014 at 04:49:57PM +0300, Alexander Kapshuk wrote:
 On 05/20/2014 10:13 PM, Matti Nykyri wrote:
  On May 20, 2014, at 14:49, Alexander Kapshuk
  alexander.kaps...@gmail.com mailto:alexander.kaps...@gmail.com wrote:
 
  On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:
 
   
 
   
 
  *From:*Alexander Kapshuk [mailto:alexander.kaps...@gmail.com]
  *Sent:* Tuesday, May 20, 2014 7:44 AM
  *To:* gentoo-user@lists.gentoo.org
  *Subject:* Re: [gentoo-user] Use Flags and Updating
 
   
 
  On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:
 
  Hi all. How do I get Portage to update all software to use my
  new USE flags? I made some modifications to the variable, and I
  want to make sure that all packages can use the flags.
 
  emerge(1)
  -N -- --newuse
 
  Thank you.
 
  No worries.
 
  Here's what I usually run when updating the world.
  Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
  With '--with-bdeps=y' set in the file shown below:
  grep bdeps /etc/portage/make.conf
  EMERGE_DEFAULT_OPTS=--with-bdeps=y
 
  Short version: emerge -avuND @world
  -a [--ask]
  -v [--verbose]
  -u [--update]
  -N [--newuse]
  -D [--deep]
 
  And how to remember this... Make it a name:
 
  emerge -DuvaN @world
 
  Human mind is a complex organ ;)
 
  -- 
  -Matti
 
 I just put this into a shell function.
 
 sed -n '/chkupd/,/}/p' .bash_profile
 chkupd(){
 emerge --sync  emerge -avuND @world
 }
 

I run a script that syncs portage, updates @world, depcleans, revdep-rebuild
and finally runs dispatch-conf -- about once weekly. Keeps my system in fine
trim. :)



signature.asc
Description: Digital signature


Re: [gentoo-user] Use Flags and Updating

2014-05-21 Thread Rich Freeman
On Wed, May 21, 2014 at 10:10 PM,  ny6...@gmail.com wrote:
 I run a script that syncs portage, updates @world, depcleans, revdep-rebuild
 and finally runs dispatch-conf -- about once weekly. Keeps my system in fine
 trim. :)

This one is a gem - I forget where I saw it (likely planet, but maybe
it was on a list).  Stick it in your crontab.  I will warn you that
sometimes it chokes on its own output and obviously it can't build
binpkgs for anything more than one step down the dependency tree.
However, when my weekly chromium build runs at 2AM and I can just
install it (with -k) the next morning it is a nice thing indeed.  You
still get full control over USE flags/etc, but most of the convenience
of a binary distro.

#!/bin/sh

LIST=$(mktemp);

emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y
world | awk '{print $2}'  ${LIST};

for PACKAGE in $(cat ${LIST});
do
  printf Building binary package for ${PACKAGE}... 
  emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE};
  if [[ $? -eq 0 ]];
  then
echo ok;
  else
echo failed;
  fi
done



[gentoo-user] Use Flags and Updating

2014-05-20 Thread Hunter Jozwiak
Hi all. How do I get Portage to update all software to use my new USE flags?
I made some modifications to the variable, and I want to make sure that all
packages can use the flags.



Re: [gentoo-user] Use Flags and Updating

2014-05-20 Thread Alexander Kapshuk
On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:

 Hi all. How do I get Portage to update all software to use my new USE
 flags? I made some modifications to the variable, and I want to make
 sure that all packages can use the flags.

emerge(1)
-N -- --newuse



RE: [gentoo-user] Use Flags and Updating

2014-05-20 Thread Hunter Jozwiak
 

 

From: Alexander Kapshuk [mailto:alexander.kaps...@gmail.com] 
Sent: Tuesday, May 20, 2014 7:44 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Use Flags and Updating

 

On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:

Hi all. How do I get Portage to update all software to use my new USE flags?
I made some modifications to the variable, and I want to make sure that all
packages can use the flags.

emerge(1)
-N -- --newuse

Thank you.



Re: [gentoo-user] Use Flags and Updating

2014-05-20 Thread Alexander Kapshuk
On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:

  

  

 *From:*Alexander Kapshuk [mailto:alexander.kaps...@gmail.com]
 *Sent:* Tuesday, May 20, 2014 7:44 AM
 *To:* gentoo-user@lists.gentoo.org
 *Subject:* Re: [gentoo-user] Use Flags and Updating

  

 On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:

 Hi all. How do I get Portage to update all software to use my new
 USE flags? I made some modifications to the variable, and I want
 to make sure that all packages can use the flags.

 emerge(1)
 -N -- --newuse

 Thank you.

No worries.

Here's what I usually run when updating the world.
Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
With '--with-bdeps=y' set in the file shown below:
grep bdeps /etc/portage/make.conf
EMERGE_DEFAULT_OPTS=--with-bdeps=y

Short version: emerge -avuND @world
-a [--ask]
-v [--verbose]
-u [--update]
-N [--newuse]
-D [--deep]




Re: [gentoo-user] Use Flags and Updating

2014-05-20 Thread Stephan Müller
Am 20.05.2014 13:37, schrieb Hunter Jozwiak:
 Hi all. How do I get Portage to update all software to use my new USE
 flags? I made some modifications to the variable, and I want to make
 sure that all packages can use the flags.
 


Hi,

you can use the --newuse option of emerge, like this:

# emerge --newuse world

you should also take a look at --changed-use. This ignores irrelevant
changes since installation.

 ~frukto



Re: [gentoo-user] Use Flags and Updating

2014-05-20 Thread Matti Nykyri
On May 20, 2014, at 14:49, Alexander Kapshuk alexander.kaps...@gmail.com 
wrote:

 On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:
  
  
 From: Alexander Kapshuk [mailto:alexander.kaps...@gmail.com] 
 Sent: Tuesday, May 20, 2014 7:44 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Use Flags and Updating
  
 On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:
 Hi all. How do I get Portage to update all software to use my new USE flags? 
 I made some modifications to the variable, and I want to make sure that all 
 packages can use the flags.
 emerge(1)
 -N -- --newuse
 
 Thank you.
 
 No worries.
 
 Here's what I usually run when updating the world.
 Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
 With '--with-bdeps=y' set in the file shown below:
 grep bdeps /etc/portage/make.conf
 EMERGE_DEFAULT_OPTS=--with-bdeps=y
 
 Short version: emerge -avuND @world
 -a [--ask]
 -v [--verbose]
 -u [--update]
 -N [--newuse]
 -D [--deep]

And how to remember this... Make it a name:

emerge -DuvaN @world

Human mind is a complex organ ;)

-- 
-Matti

Re: [gentoo-user] Use Flags and Updating

2014-05-20 Thread yac
On Tue, 20 May 2014 14:49:17 +0300
Alexander Kapshuk alexander.kaps...@gmail.com wrote:

 Here's what I usually run when updating the world.
 Long version: emerge --ask --update --deep --with-bdeps=y --newuse
 @world With '--with-bdeps=y' set in the file shown below:
 grep bdeps /etc/portage/make.conf
 EMERGE_DEFAULT_OPTS=--with-bdeps=y
 
 Short version: emerge -avuND @world
 -a [--ask]
 -v [--verbose]
 -u [--update]
 -N [--newuse]
 -D [--deep]
 
 

It's also good to use -t --unordered-display to see what pulls what and
resolve potential issues.

Then --keep-going so the whole thing doesn't fail just because one
package fails.

Then -k to use already built binary packages where applicable
(Actually, I'm not sure why this sometimes gets activated but I see it
from time to time)

Why do you run the the --width-bdeps=y ?

---
Jan Matějka| Developer
https://gentoo.org | Gentoo Linux
GPG: A33E F5BC A9F6 DAFD 2021  6FB6 3EBF D45B EEB6 CA8B


signature.asc
Description: PGP signature


Re: [gentoo-user] Use Flags

2012-07-26 Thread Alan McKinnon
On Wed, 25 Jul 2012 18:55:58 +0200
Silvio Siefke siefke_lis...@web.de wrote:

 Hello,
 
 after longer time want update my Gentoo PC. But ever come error msg
 with the USE Flags. I not know what say me Gentoo with the message.
 
 gentoo-desk ~ # emerge -uDN world
 Calculating dependencies... done!
 
 !!! The ebuild selected to satisfy media-libs/sdl-mixer[mikmod] has
 unmet requirements.
 - media-libs/sdl-mixer-1.2.12-r1::gentoo USE=mikmod wav -flac
 -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg
 -static-libs -timidity -vorbis
 
   The following REQUIRED_USE flag constraints are unsatisfied:
 mikmod? ( mod )
 
   The above constraints are a subset of the following complete
 expression: midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi
 ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 )
 mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod )
 modplug? ( mod )
 
 (dependency required by games-kids/tuxmath-1.7.2 [installed])
 (dependency required by @selected [set])
 (dependency required by @world [argument])
 
 
 gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
 media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod
 -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis
 
 I understand not what want me say the system?
 
 
 Thanks for help.
 
 Regards
 Silvio
 

Your USE for media-libs/sdl-mixer has this: mikmod -mod

The system wants mod if mikmod is set, or both to be off.

Add this to /etc/portage/package.mask:


media-libs/sdl-mixer mod


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Use Flags

2012-07-26 Thread Allan Gottlieb
On Thu, Jul 26 2012, Alan McKinnon wrote:

 On Wed, 25 Jul 2012 18:55:58 +0200
 Silvio Siefke siefke_lis...@web.de wrote:

 Hello,
 
 after longer time want update my Gentoo PC. But ever come error msg
 with the USE Flags. I not know what say me Gentoo with the message.
 
 gentoo-desk ~ # emerge -uDN world
 Calculating dependencies... done!
 
 !!! The ebuild selected to satisfy media-libs/sdl-mixer[mikmod] has
 unmet requirements.
 - media-libs/sdl-mixer-1.2.12-r1::gentoo USE=mikmod wav -flac
 -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg
 -static-libs -timidity -vorbis
 
   The following REQUIRED_USE flag constraints are unsatisfied:
 mikmod? ( mod )
 
   The above constraints are a subset of the following complete
 expression: midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi
 ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 )
 mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod )
 modplug? ( mod )
 
 (dependency required by games-kids/tuxmath-1.7.2 [installed])
 (dependency required by @selected [set])
 (dependency required by @world [argument])
 
 
 gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
 media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod
 -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis
 
 I understand not what want me say the system?
 
 
 Thanks for help.
 
 Regards
 Silvio
 

 Your USE for media-libs/sdl-mixer has this: mikmod -mod

 The system wants mod if mikmod is set, or both to be off.

 Add this to /etc/portage/package.mask:


 media-libs/sdl-mixer mod

Don't you mean /etc/portage/package.use   not .mask ?

allan




Re: [gentoo-user] Use Flags

2012-07-26 Thread Alan McKinnon
On Thu, 26 Jul 2012 09:22:25 -0400
Allan Gottlieb gottl...@nyu.edu wrote:



  Your USE for media-libs/sdl-mixer has this: mikmod -mod
 
  The system wants mod if mikmod is set, or both to be off.
 
  Add this to /etc/portage/package.mask:
 
 
  media-libs/sdl-mixer mod
 
 Don't you mean /etc/portage/package.use   not .mask ?


Yes indeed, that's what I meant. Good catch :-)


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Use Flags

2012-07-25 Thread Silvio Siefke
Hello,

after longer time want update my Gentoo PC. But ever come error msg with 
the USE Flags. I not know what say me Gentoo with the message.

gentoo-desk ~ # emerge -uDN world
Calculating dependencies... done!

!!! The ebuild selected to satisfy media-libs/sdl-mixer[mikmod] has unmet 
requirements.
- media-libs/sdl-mixer-1.2.12-r1::gentoo USE=mikmod wav -flac -fluidsynth -mad 
-midi -mod -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis

  The following REQUIRED_USE flag constraints are unsatisfied:
mikmod? ( mod )

  The above constraints are a subset of the following complete expression:
midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( 
midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 ) mad? ( mp3 ) mod? ( any-of 
( mikmod modplug ) ) mikmod? ( mod ) modplug? ( mod )

(dependency required by games-kids/tuxmath-1.7.2 [installed])
(dependency required by @selected [set])
(dependency required by @world [argument])


gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod -modplug -mp3 
-playtools -smpeg -static-libs -timidity -vorbis

I understand not what want me say the system?


Thanks for help.

Regards
Silvio



Re: [gentoo-user] Use Flags

2012-07-25 Thread Yohan Pereira
On 07/25/12 at 06:55pm, Silvio Siefke wrote:

   The following REQUIRED_USE flag constraints are unsatisfied:
 mikmod? ( mod )

Hi,
  The above messages is telling you that, if the 'mikmod' useflag is set
the 'mod' use flag neeeds to be set too.

 gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
 media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod -modplug 
 -mp3 -playtools -smpeg -static-libs -timidity -vorbis

You need to add the 'mod' useflag like this.

media-libs/sdl-mixer mikmod wav mod -flac -fluidsynth -mad -midi -modplug -mp3 
-playtools -smpeg -static-libs -timidity -vorbis

-- 

- Yohan Pereira



Re: [gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-15 Thread Michael Hampicke

 Does anyone know what are the USE-flags and CFLAGS used for the current 
 stage3?
 
Unpack your stage3 and then

cat /var/db/pkg/sys-devel/gcc-4.4.5/{USE,CFLAGS}

amd64 elibc_glibc kernel_linux mudflap nls nptl openmp userland_GNU
-mtune=i686 -O2 -pipe

Regards



Re: [gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-15 Thread Pandu Poluan
On Mon, Aug 15, 2011 at 16:53, Michael Hampicke gentoo-u...@hadt.biz wrote:

 Does anyone know what are the USE-flags and CFLAGS used for the current 
 stage3?

 Unpack your stage3 and then

 cat /var/db/pkg/sys-devel/gcc-4.4.5/{USE,CFLAGS}

 amd64 elibc_glibc kernel_linux mudflap nls nptl openmp userland_GNU
 -mtune=i686 -O2 -pipe


Thanks!

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



[gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-14 Thread Pandu Poluan
Does anyone know what are the USE-flags and CFLAGS used for the current stage3?

The reason I'm asking is that I keep finding myself having to upgrade
glibc and gcc when I install a new Gentoo system, so I want to save
some time by doing a 'pre-upgrade' of glibc, gcc, and libtool. Then
I'm going to tarball the result in a custom stage3 ('stage3.1', if you
wish), and use this as the starting point for future Gentoo boxen.

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



[gentoo-user] USE flags confusing on emerge gimp

2009-09-04 Thread Harry Putnam
After some resent discussion here of USE in thread:
   Subject: How to play quicktime (*.mov) videos with firefox

I'm a little confused by what I see when investigating the emerge of
gimp (wrapped for mail).

  Calculating dependencies... done!
  [ebuild  N] media-libs/babl-0.0.22  USE=-mmx -sse 388 kB

  [ebuild  N] media-libs/gegl-0.0.22  USE=svg -cairo -debug -doc
   -ffmpeg -jpeg -mmx -openexr -png
   -raw -sdl -sse -v4l 1,226 kB

  [ebuild N ] media-gfx/gimp-2.6.6 USE=alsa python svg -aalib
   (-altivec) -curl -dbus -debug -doc -exif -gnome -hal -jpeg -lcms -mmx
   -mng -pdf -png -smp -sse -tiff -webkit -wmf 15,700 kB

Would anyone want things like -jpeg, -pdf, -png, -tiff, -exif - turned
off in an image (or photo) processing program?

What does it mean that those flags are turned off?
Should I turn them on before emerging?




Re: [gentoo-user] USE flags confusing on emerge gimp

2009-09-04 Thread Volker Armin Hemmann
On Freitag 04 September 2009, Harry Putnam wrote:
 After some resent discussion here of USE in thread:
Subject: How to play quicktime (*.mov) videos with firefox
 
 I'm a little confused by what I see when investigating the emerge of
 gimp (wrapped for mail).
 
   Calculating dependencies... done!
   [ebuild  N] media-libs/babl-0.0.22  USE=-mmx -sse 388 kB
 
   [ebuild  N] media-libs/gegl-0.0.22  USE=svg -cairo -debug -doc
-ffmpeg -jpeg -mmx -openexr -png
-raw -sdl -sse -v4l 1,226 kB
 
   [ebuild N ] media-gfx/gimp-2.6.6 USE=alsa python svg -aalib
(-altivec) -curl -dbus -debug -doc -exif -gnome -hal -jpeg -lcms -mmx
-mng -pdf -png -smp -sse -tiff -webkit -wmf 15,700 kB
 
 Would anyone want things like -jpeg, -pdf, -png, -tiff, -exif - turned
 off in an image (or photo) processing program?
 
 What does it mean that those flags are turned off?
 Should I turn them on before emerging?
 

yes. and mmx. and probably sse too.

seriously, are you using some very old server profile or something like that?



Re: [gentoo-user] USE flags confusing on emerge gimp

2009-09-04 Thread Jesús Guerrero
On Fri, 04 Sep 2009 09:25:59 -0500, Harry Putnam rea...@newsguy.com
wrote:
 After some resent discussion here of USE in thread:
Subject: How to play quicktime (*.mov) videos with firefox
 
 I'm a little confused by what I see when investigating the emerge of
 gimp (wrapped for mail).
 
   Calculating dependencies... done!
   [ebuild  N] media-libs/babl-0.0.22  USE=-mmx -sse 388 kB
 
   [ebuild  N] media-libs/gegl-0.0.22  USE=svg -cairo -debug -doc
-ffmpeg -jpeg -mmx -openexr -png
-raw -sdl -sse -v4l 1,226 kB
 
   [ebuild N ] media-gfx/gimp-2.6.6 USE=alsa python svg -aalib
(-altivec) -curl -dbus -debug -doc -exif -gnome -hal -jpeg -lcms -mmx
-mng -pdf -png -smp -sse -tiff -webkit -wmf 15,700 kB
 
 Would anyone want things like -jpeg, -pdf, -png, -tiff, -exif - turned
 off in an image (or photo) processing program?

Yes, definitely. If you only want gimp to process the photos from your
digital camera you only need support for one format.

 What does it mean that those flags are turned off?

That you are using a minimal profile when you really want to use a more
generic one, like desktop, as others pointed out.

 Should I turn them on before emerging?

If you want support for those formats: yes.


-- 
Jesús Guerrero



Re: [gentoo-user] USE flags confusing on emerge gimp

2009-09-04 Thread Paul Hartman
On Fri, Sep 4, 2009 at 9:25 AM, Harry Putnamrea...@newsguy.com wrote:
 After some resent discussion here of USE in thread:
   Subject: How to play quicktime (*.mov) videos with firefox

 I'm a little confused by what I see when investigating the emerge of
 gimp (wrapped for mail).

  Calculating dependencies... done!
  [ebuild  N] media-libs/babl-0.0.22  USE=-mmx -sse 388 kB

  [ebuild  N] media-libs/gegl-0.0.22  USE=svg -cairo -debug -doc
   -ffmpeg -jpeg -mmx -openexr -png
   -raw -sdl -sse -v4l 1,226 kB

  [ebuild N ] media-gfx/gimp-2.6.6 USE=alsa python svg -aalib
   (-altivec) -curl -dbus -debug -doc -exif -gnome -hal -jpeg -lcms -mmx
   -mng -pdf -png -smp -sse -tiff -webkit -wmf 15,700 kB

 Would anyone want things like -jpeg, -pdf, -png, -tiff, -exif - turned
 off in an image (or photo) processing program?

 What does it mean that those flags are turned off?
 Should I turn them on before emerging?

I agree with Volker, you must be using some profile which has disabled
them. Please post the output of eselect profile show



[gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Andrew Gaydenko
Are there USE flags (except for tif/tiff) I must add to make.conf/USE=... 
string which 
influence to tif/tiff rendering? I have noticed, I can not open some tif files 
which
were created by scanning-related software on win32 machines. I have tried GIMP, 
GQview
and few KDE-related apps without success.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 10:49 +0300, Andrew Gaydenko wrote:
 Are there USE flags (except for tif/tiff) I must add to make.conf/USE=... 
 string which 
 influence to tif/tiff rendering? I have noticed, I can not open some tif 
 files which
 were created by scanning-related software on win32 machines. I have tried 
 GIMP, GQview
 and few KDE-related apps without success.

When you say can not open is there some kind of error message
associated with it?

I've not had any issues with TIFF files (though admittedly I rarely need
to open any), but I would guess if it's only some files then it may be
that the program that generated them uses a non-standard/incompatible
format.  It's hard to say without an actual error message. I've found
ImageMagick's identify(1) command to be very helpful with determining if
a file is indeed the format the creator claims it to be.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Andrew Gaydenko
Hi!
=== On Wednesday 14 March 2007, you wrote: ===
...
 When you say can not open is there some kind of error message
 associated with it?
 
 I've not had any issues with TIFF files (though admittedly I rarely need
 to open any), but I would guess if it's only some files then it may be
 that the program that generated them uses a non-standard/incompatible
 format.  It's hard to say without an actual error message. I've found
 ImageMagick's identify(1) command to be very helpful with determining if
 a file is indeed the format the creator claims it to be.
 
 --
 Albert W. Hopkins
 


All programs says about bad format. You are right, only some rare TIFF files
can not be opened. I use IrfanView (as it is at least free) under wine to see
such files. 

'identify' for last problem file output is (and GIMP says approximately the 
same):

identify rodnik.tif
identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. 
`TIFFReadDirectory'.
identify: Invalid YCbCr subsampling. `rodnik.tif'.
identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.

IrfanView shows the file without problems.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 17:29 +0300, Andrew Gaydenko wrote:

 
 All programs says about bad format. You are right, only some rare TIFF files
 can not be opened. I use IrfanView (as it is at least free) under wine to see
 such files. 
 
 'identify' for last problem file output is (and GIMP says approximately the 
 same):
 
 identify rodnik.tif
 identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. 
 `TIFFReadDirectory'.
 identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. 
 `TIFFReadDirectory'.
 identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. 
 `TIFFReadDirectory'.
 identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. 
 `TIFFReadDirectory'.
 identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. 
 `TIFFReadDirectory'.
 identify: Invalid YCbCr subsampling. `rodnik.tif'.
 identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.
 
 IrfanView shows the file without problems.
 

Error messages and Google: my favorite combo.  To summarize:

The TIFF file format permits programs to include information
which only that program understands. TIFF files produced by
programs that do this are not always readable by other programs.

and

End result: if you get your hands on one of these old style
jpeg in tiff files, you're pretty much out of luck. You'll have
to negotiate with the file supplier to provide it in a different
format.

Hope this helps.
--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Bo Ørsted Andresen
On Sunday 14 January 2007 20:10, Iván Pérez Domínguez wrote:
 I understand why this happend, and I know how to solve it.

 My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
 so that this kind of problems can be detected before emerging?

https://bugs.gentoo.org/show_bug.cgi?id=2272

USE deps have been discussed many times on the gentoo-dev@ mailing list so 
search the archives if you want to know more about it. The syntax has been 
agreed on (cate-gory/pkg:use) but it still hasn't been implemented in 
portage. AFAIK zmedico plans to implement it in portage-2.1.3 when 2.1.2 has 
been stabilized.

Even after it has been implemented it won't be possible to use it in the tree 
without an EAPI bump. This is to avoid people who haven't yet upgraded 
portage from getting weird problems because it doesn't understand the 
syntax... Before the EAPI can be bumped to a newer version, the current 
version needs to be defined. spb is working on that now but it still needs to 
be agreed on...

-- 
Bo Andresen


pgpbXN4PfndLx.pgp
Description: PGP signature


Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Bo Ørsted Andresen
On Monday 15 January 2007 13:12, Bo Ørsted Andresen wrote:
 The syntax has been
 agreed on (cate-gory/pkg:use)

Bugger! That's for slot deps (cate-gory/pkg:slot). I meant 
cate-gory/pkg[use]... At least I think they agreed...

-- 
Bo Andresen


pgpi2uStOgtlb.pgp
Description: PGP signature


Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Avaricen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Iván Pérez Domínguez wrote:
 Hi there.
 
  I just happend to emerge evince and, after half an hour got the
 following error:
 
 
 18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2'
 saved [1212271/1212271]
 
  * checking ebuild checksums ;-) ...
   [ ok ]
  * checking auxfile checksums ;-) ...
   [ ok ]
  * checking miscfile checksums ;-) ...
   [ ok ]
  * checking evince-0.6.1.tar.bz2 ;-) ...
   [ ok ]
  * Please re-emerge app-text/poppler-bindings with the gtk USE flag set
 
 !!! ERROR: app-text/evince-0.6.1 failed.
 Call stack:
   ebuild.sh, line 1626:   Called dyn_setup
   ebuild.sh, line 701:   Called qa_call 'pkg_setup'
   ebuild.sh, line 38:   Called pkg_setup
   evince-0.6.1.ebuild, line 67:   Called die
 
 !!! poppler-bindings needs gtk flag set
 !!! If you need support, post the topmost build error, and the call
 stack if relevant.
 
 
 I understand why this happend, and I know how to solve it.
 
 My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
 so that this kind of problems can be detected before emerging?
 
 Here's an example. Imagine program A depends on B, and if A is built
 with use flag dvi, then it depends on C to be built with use flag
 dvi2. The following could be A's DEPEND:
 
 DEPEND=dvi? ([dvi2 C])
 B
 
 This is just an example, and I'm sure there's a different syntax that
 could be more appropriate.
 
 What do you this of it?
 
 Is there any ongoing implementation to solve it in a different way?
 
 Cheers,
 
 Ivan.
Ivan, from my personal experience I find your advice to be highly
important. It would be beneficial to everyone if we knew the
dependencies before emerging from portage.I highly suggest sending a
message on gentoo-dev@gentoo.org (confirm this). I really do support this.

Best regards.

Avaricen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFq9oFQHQy/61tbpYRAiKGAJ4n+wmarim7SjQpG3PWEZaQXkUwAgCfZLz6
8Iig49rBTs/aCnbJpMGYXJ8=
=zOBE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE flags and configure-time problems

2007-01-14 Thread Iván Pérez Domínguez
Hi there.

 I just happend to emerge evince and, after half an hour got the
following error:


18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2'
saved [1212271/1212271]

 * checking ebuild checksums ;-) ...
  [ ok ]
 * checking auxfile checksums ;-) ...
  [ ok ]
 * checking miscfile checksums ;-) ...
  [ ok ]
 * checking evince-0.6.1.tar.bz2 ;-) ...
  [ ok ]
 * Please re-emerge app-text/poppler-bindings with the gtk USE flag set

!!! ERROR: app-text/evince-0.6.1 failed.
Call stack:
  ebuild.sh, line 1626:   Called dyn_setup
  ebuild.sh, line 701:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  evince-0.6.1.ebuild, line 67:   Called die

!!! poppler-bindings needs gtk flag set
!!! If you need support, post the topmost build error, and the call
stack if relevant.


I understand why this happend, and I know how to solve it.

My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
so that this kind of problems can be detected before emerging?

Here's an example. Imagine program A depends on B, and if A is built
with use flag dvi, then it depends on C to be built with use flag
dvi2. The following could be A's DEPEND:

DEPEND=dvi? ([dvi2 C])
B

This is just an example, and I'm sure there's a different syntax that
could be more appropriate.

What do you this of it?

Is there any ongoing implementation to solve it in a different way?

Cheers,

Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] USE flags information resource

2007-01-02 Thread Alan E. Davis

Thank you for the insight, Alan.  I am just getting to the point of
understanding this.  As a non -developer/programmer I have been at a loss to
understand these basic points about USE flags.  Over time, they begin to
make sense.  Your pointer about the ebuilds is extremely valuable.

Maybe it's just me, in my cluelessness?  Some flags have not been obvious to
me; others have been ambiguous, at least to me.  Maybe digging for all this
is what makes Gentoo such an excellent experience.  On the other hand, a
little more clarity would not hurt, IMHO.  Beggars can't be choicy, but is
it really not possible to provide a slightly clearer explanation of what a
USE flag does?  I'd better shut up.

Alan


On 1/2/07, Alan McKinnon [EMAIL PROTECTED] wrote:


On Monday 01 January 2007 05:52, Alan E. Davis wrote:
 On 12/31/06, Aniruddha [EMAIL PROTECTED] wrote:
   I think this is an excellent idea! For starters you can use euse:
 
  # euse -i useflagname

 I already use euse.  It is really helpful.   The short descriptions
 of the USE flags are often helpful.  Just as often, they are not
 informative enough to enable me, at least, to make an informed
 decision.  A little more information would often have helped.

 Do you have any ideas about a next step?

 Alan

AFAIK the only references to what the flags mean
is /usr/portage/profiles/use.desc. To find out more, read the ebuild to
see/divine what the developer has in mind with that flag. For instance,
kdebase-3.5.5-r3 has amongst others the following:

DEPEND=arts? ( ~kde-base/arts-${PV} )
=media-libs/freetype-2
media-libs/fontconfig
pam? ( kde-base/kdebase-pam )
=dev-libs/cyrus-sasl-2
ldap? ( =net-nds/openldap-2 )
cups? ( net-print/cups )
...

So you would have to look into those various optional packages, find out
what they are, then look into kdebase a bit deeper and find what it
does with those optional packages. For example, the 'ldap' flag causes
kdebase to be built against net-nds/openldap.

The point is that it's simply not possible to give detailed info about
USE flags most of the time, and some intense RTFCing and research is
involved

alan

--
gentoo-user@gentoo.org mailing list





--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I must
share it with other people who like it.  Richard
Stallman

Every great advance in natural knowledge has involved the absolute rejection
of authority.  - Thomas H. Huxley


Re: [gentoo-user] USE flags information resource

2007-01-02 Thread Alan McKinnon
On Tuesday 02 January 2007 15:35, Alan E. Davis wrote:
 Thank you for the insight, Alan.  I am just getting to the point of
 understanding this.  As a non -developer/programmer I have been at a
 loss to understand these basic points about USE flags.  Over time,
 they begin to make sense.  Your pointer about the ebuilds is
 extremely valuable.

You're welcome

 Maybe it's just me, in my cluelessness?  Some flags have not been
 obvious to me; others have been ambiguous, at least to me.  Maybe
 digging for all this is what makes Gentoo such an excellent
 experience.  On the other hand, a little more clarity would not hurt,
 IMHO.  Beggars can't be choicy, but is it really not possible to
 provide a slightly clearer explanation of what a USE flag does?  I'd
 better shut up.

They are just another one of those things that are the way they are 
because someone made them that way, and the existing descriptions of 
USE flags are meant to be meaningful in one sentence. Returning to the 
kdebase example:

[snip]

  DEPEND=arts? ( ~kde-base/arts-${PV} )
 
  =media-libs/freetype-2
 
  media-libs/fontconfig
  pam? ( kde-base/kdebase-pam )
 
  =dev-libs/cyrus-sasl-2
 
  ldap? ( =net-nds/openldap-2 )
  cups? ( net-print/cups )

There are 3 flags there: pam, ldap and cups and the only thing anyone 
can tell you about them is that they respectively enable pam, ldap and 
cups support inside kdebase. As to what that means, you will have to 
look at the kdebase documentation to find out what that package does 
with pam.

xscreensavers also has a pam USE flag, and the way it uses pam might be 
essentially the same as what kdebase does with it. Or it might not. It 
all depends on how xscreensavers was written, and this is outside 
gentoo's control.

I understand you would like more clarity and I get the kind of list you 
would like to have. I want you to grasp though that this is not really 
possible in any thorough way. A detailed explanation of what the USE 
flags means inside each ebuild that uses it is something you might 
suggest, but I'll bet money that you will be shot down in flames for 
suggesting it. It will be a lot of extra work on top of a lot of 
existing work, for precious little benefit as the info is usually 
documented elsewhere in the package itself. And we are supposed to all 
know how to RTFM right?

Welcome to the wonderful world of computing where nothing is as it first 
seems :-)



alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags information resource

2007-01-01 Thread Alan McKinnon
On Monday 01 January 2007 05:52, Alan E. Davis wrote:
 On 12/31/06, Aniruddha [EMAIL PROTECTED] wrote:
   I think this is an excellent idea! For starters you can use euse:
 
  # euse -i useflagname

 I already use euse.  It is really helpful.   The short descriptions
 of the USE flags are often helpful.  Just as often, they are not
 informative enough to enable me, at least, to make an informed
 decision.  A little more information would often have helped.

 Do you have any ideas about a next step?

 Alan

AFAIK the only references to what the flags mean 
is /usr/portage/profiles/use.desc. To find out more, read the ebuild to 
see/divine what the developer has in mind with that flag. For instance, 
kdebase-3.5.5-r3 has amongst others the following:

DEPEND=arts? ( ~kde-base/arts-${PV} )
=media-libs/freetype-2
media-libs/fontconfig
pam? ( kde-base/kdebase-pam )
=dev-libs/cyrus-sasl-2
ldap? ( =net-nds/openldap-2 )
cups? ( net-print/cups )
...

So you would have to look into those various optional packages, find out 
what they are, then look into kdebase a bit deeper and find what it 
does with those optional packages. For example, the 'ldap' flag causes 
kdebase to be built against net-nds/openldap.

The point is that it's simply not possible to give detailed info about 
USE flags most of the time, and some intense RTFCing and research is 
involved

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags information resource

2006-12-31 Thread Alan E. Davis

On 12/31/06, Aniruddha [EMAIL PROTECTED] wrote:


 I think this is an excellent idea! For starters you can use euse:

# euse -i useflagname



I already use euse.  It is really helpful.   The short descriptions of the
USE flags are often helpful.  Just as often, they are not informative enough
to enable me, at least, to make an informed decision.  A little more
information would often have helped.

Do you have any ideas about a next step?

Alan

--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I must
share it with other people who like it.  Richard
Stallman

Every great advance in natural knowledge has involved the absolute rejection
of authority.  - Thomas H. Huxley


[gentoo-user] USE flags information resource

2006-12-26 Thread Alan E. Davis

After about a year of using Gentoo, I am very pleased.  Not being a
programmer, I do tend to spend alot of time on that learning curve.  It has
become more and more apparent in the past couple of months that USE flags
really *are* as fantastic as they are cracked up to be, in at least one
way---they enable the tuning of each package within whatever parameters are
available for that package.  Nothing even close to that is available on
other distros I have used (well, slackware had at least emacs-nox, I
guess).

Like my 4 year old son, I learn about the system by pounding on keys.  I
have always tended to tank up on caffeine before an install session, and
install everything I can get my hands on.   Some of them wouldn't work, but
that was just, as I understood, the law of probability in action.  I have
been getting wiser and wiser at fixing broken merges, and often it has
required to take some time, read the output, and reinstall some dependency
with a USE flag enabled or disabled.  I have been learning to take it slow
in installing packages, check out the situation before doing the actual
merge itself.  This is just as important as the docs said, despite my hurly
burly approach.

I have had it in mind to post about this, but now I think I have a
suggestion that may be useful:

I wiki about USE flags would be extremely useful.  Am I the only one, or are
newbies the only ones who encounter USE flags with cryptic significance?
The descriptions from euse, profuse, etc., are a bit of a help alot of the
time; however, some use flags would bear some serious explanation!   Is
something now available that would provide this functionality?  I am not
wise to the world of wikis (my sole attempt to edit wikipedia was a dismal
failture, even though I am pretty literate in LaTeX); however I would be
willing to put something simple together with some help.

Alan

--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I must
share it with other people who like it.
 Richard Stallman


Re: [gentoo-user] USE flags information resource

2006-12-26 Thread Thomas Tuttle
On December 26 at 20:38 EST, Alan E. Davis hastily scribbled:
 I wiki about USE flags would be extremely useful.  Am I the only one, or are
 newbies the only ones who encounter USE flags with cryptic significance?
 The descriptions from euse, profuse, etc., are a bit of a help alot of the
 time; however, some use flags would bear some serious explanation!   Is
 something now available that would provide this functionality?

http://www.gentoo-wiki.com/ has some good articles (not a specific index 
of USE flags, but good tutorials and stuff) and might be a good place to 
put the article(s) you'd like to write.

 I am not wise to the world of wikis (my sole attempt to edit wikipedia was
 a dismal failture, even though I am pretty literate in LaTeX); however
 I would be willing to put something simple together with some help.

Er, Wikipedia doesn't use LaTeX except in math articles.

This sounds like a good idea.  You should start an article on 
Gentoo-Wiki.com if nobody else has.

--Thomas Tuttle


pgp8NrsGOvBGJ.pgp
Description: PGP signature


Re: [gentoo-user] USE flags question

2006-06-02 Thread Enrico Weigelt
* Teresa and Dale [EMAIL PROTECTED] wrote:

snip

 Learn something every day.  So if I remove the doc USE flag that will
 not remove the man page?  That would be cool.  I wonder how much space
 that takes up?

hmm, is there also an man useflag or some other option to kick
of manpages (I personally don't need them on every system) ?


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-06-02 Thread Teresa and Dale
Enrico Weigelt wrote:

* Teresa and Dale [EMAIL PROTECTED] wrote:

snip

  

Learn something every day.  So if I remove the doc USE flag that will
not remove the man page?  That would be cool.  I wonder how much space
that takes up?



hmm, is there also an man useflag or some other option to kick
of manpages (I personally don't need them on every system) ?


cu
  


That would be nice if you have more than one system.  After all, you
only need one set of man pages.  I didn't see anything in
/usr/portage/profile/use.desc.  Good question though.  /usr/share/man
takes up almost 30MBs on my system.

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-06-02 Thread Michael Schreckenbauer
Am Freitag, 2. Juni 2006 12:41 schrieb Teresa and Dale:
 Enrico Weigelt wrote:
 * Teresa and Dale [EMAIL PROTECTED] wrote:
 
 snip
 
 Learn something every day.  So if I remove the doc USE flag that will
 not remove the man page?  That would be cool.  I wonder how much space
 that takes up?
 
 hmm, is there also an man useflag or some other option to kick
 of manpages (I personally don't need them on every system) ?
 
 
 cu

 That would be nice if you have more than one system.  After all, you
 only need one set of man pages.  I didn't see anything in
 /usr/portage/profile/use.desc.  Good question though.  /usr/share/man
 takes up almost 30MBs on my system.

There is the FEATURE=noman.

From man make.conf:

noman  Do not install manpages.

Seems to be what you are looking for :)

 Dale

Hand,
Michael


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-06-02 Thread Teresa and Dale
Michael Schreckenbauer wrote:

Am Freitag, 2. Juni 2006 12:41 schrieb Teresa and Dale:
  

Enrico Weigelt wrote:


* Teresa and Dale [EMAIL PROTECTED] wrote:

snip

  

Learn something every day.  So if I remove the doc USE flag that will
not remove the man page?  That would be cool.  I wonder how much space
that takes up?


hmm, is there also an man useflag or some other option to kick
of manpages (I personally don't need them on every system) ?


cu
  

That would be nice if you have more than one system.  After all, you
only need one set of man pages.  I didn't see anything in
/usr/portage/profile/use.desc.  Good question though.  /usr/share/man
takes up almost 30MBs on my system.



There is the FEATURE=noman.

From man make.conf:

noman  Do not install manpages.

Seems to be what you are looking for :)

  

Dale



Hand,
Michael


  


Oh, I was looking in the USE options.  I need to remember that when
I get my servers set up again.  One of them only has a 2.5GB drive and
it gets full sometimes.

Thanks

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE flags question

2006-05-31 Thread Anthony E. Caudel
Am I correct in thinking that USE flags in 
/etc/portage/profiles/use.desc are global flags and should be placed in 
/etc/make.conf whereas those in use.local.desc are only local flags and 
should only be placed in /etc/portage/package.use with the appropriate 
package?


Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-05-31 Thread Ryan Tandy

Anthony E. Caudel wrote:
Am I correct in thinking that USE flags in 
/etc/portage/profiles/use.desc are global flags and should be placed in 
/etc/make.conf whereas those in use.local.desc are only local flags and 
should only be placed in /etc/portage/package.use with the appropriate 
package?


It doesn't really matter.  Where you should put them depends on how you 
want them to take effect.  A flag that only affects one package will 
affect that one package regardless of whether it's in make.conf or 
package.use, so I prefer to put it in make.conf for clarity, especially 
in the --info context.  On the other hand, flags that many people 
consider to be global (apache2, mysql, php, etc) I only enable for one 
or two specific packages, as needed.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-05-31 Thread Calvin Walton

On 5/31/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:

Am I correct in thinking that USE flags in
/etc/portage/profiles/use.desc are global flags and should be placed in
/etc/make.conf whereas those in use.local.desc are only local flags and
should only be placed in /etc/portage/package.use with the appropriate
package?

Tony


To tell the truth, you can put either kind of use flag in either file.
The difference is what you want to apply the flag to.

If you want only a single package to have a global use flag set
differently from the rest of the system, you put it in package.use. If
you see a local flag that might later be used by other packages, or
is used by multiple packages, you might want to put it in make.conf.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-05-31 Thread Teresa and Dale
Calvin Walton wrote:


 To tell the truth, you can put either kind of use flag in either file.
 The difference is what you want to apply the flag to.

 If you want only a single package to have a global use flag set
 differently from the rest of the system, you put it in package.use. If
 you see a local flag that might later be used by other packages, or
 is used by multiple packages, you might want to put it in make.conf.


This is something I ran into a while back.  For some reason the doc
would not compile for hal.  I wanted the docs for everything else though
so putting -doc in the USE line in make.conf would remove the docs for
everything, not just hal.  I put this in /etc/portage/package.use: 
sys-apps/hal-doc  That way it would not enable the doc part for hal
but would leave it for everything else.  You could reverse that function
if you wanted to.  You could disable doc for everything in make.conf
then make a exception in package.use for hal, if you can get it to
compile with no errors.

Did that help any?  Sometimes actual experience is better than theory.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags question

2006-05-31 Thread Neil Bothwick
On Wed, 31 May 2006 15:15:31 -0500, Teresa and Dale wrote:

 This is something I ran into a while back.  For some reason the doc
 would not compile for hal.  I wanted the docs for everything else though
 so putting -doc in the USE line in make.conf would remove the docs for
 everything, not just hal. 

The doc USE flag shouldn't affect standard documentation, such as man and
info pages. According to use.desc it 'Adds extra documentation (API,
Javadoc, etc)'.


-- 
Neil Bothwick

Stupidity is NOT a handicap. You'll have to park elsewhere.


signature.asc
Description: PGP signature


Re: [gentoo-user] USE flags question

2006-05-31 Thread Neil Bothwick
On Wed, 31 May 2006 12:15:10 -0700, Ryan Tandy wrote:

 It doesn't really matter.  Where you should put them depends on how you 
 want them to take effect.  A flag that only affects one package will 
 affect that one package regardless of whether it's in make.conf or 
 package.use, so I prefer to put it in make.conf for clarity, especially 
 in the --info context. 

Local flags may be defined for more than one packages, with different
meanings, whereas global flags tend to be more consistent. So it may be
safer to put local flags in package.use to avoid the situation where the
same flag with a different meaning is added to another package you use.


-- 
Neil Bothwick

TROI : What am I sensing?? I'm sensing INCOMPETENCE, you pretentious
bald pseudo-French dickweed!


signature.asc
Description: PGP signature


Re: [gentoo-user] USE flags question

2006-05-31 Thread Teresa and Dale
Neil Bothwick wrote:

On Wed, 31 May 2006 15:15:31 -0500, Teresa and Dale wrote:

  

This is something I ran into a while back.  For some reason the doc
would not compile for hal.  I wanted the docs for everything else though
so putting -doc in the USE line in make.conf would remove the docs for
everything, not just hal. 



The doc USE flag shouldn't affect standard documentation, such as man and
info pages. According to use.desc it 'Adds extra documentation (API,
Javadoc, etc)'.


  


Learn something every day.  So if I remove the doc USE flag that will
not remove the man page?  That would be cool.  I wonder how much space
that takes up?

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE flags for amd64 (running in 32 bit)

2006-05-16 Thread Harry Putnam
I'm running 32bit gentoo on an amd athlon64 would the architeture USE
flag still be ~x86? or something else?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for amd64 (running in 32 bit)

2006-05-16 Thread John Jolet

Harry Putnam wrote:


I'm running 32bit gentoo on an amd athlon64 would the architeture USE
flag still be ~x86? or something else?

 


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



[gentoo-user] USE flags

2006-04-05 Thread Leonid Podolny
Hi,
Is there a way to know which USE flag caused the specific package to be
installed?
-- 





 Leonid Podolny   |   /\
  |   \ / ASCII Ribbon Campaign
 leonidp(at)gmail.com |x  Against HTML Mail
 +972-54-5696948  |   / \

PGP fingerprint:  51B2 F1DB 485E 2C48 2E17  94D1 7EC4 E524 B156 B9F0
PGP key:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xB156B9F0

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] use flags, mplayer, lame

2006-03-22 Thread hawat . thufir
If down the road I realize that I've left out use flag for mplayer would I 
have to recompile mplayer?



localhost ~ #
localhost ~ # emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] media-sound/lame-3.96.1  -debug +gtk 1,226 kB
[ebuild  N] media-sound/xmms-1.2.10-r15  -3dnow +alsa +arts -directfb 
+esd -flac -jack -lirc +mad +mikmod -mmx +mp3 +nls +oss -sndfile +vorbis 
3,006 kB
[ebuild  N] media-video/mplayer-1.0.20060217  -3dfx -3dnow -3dnowext 
+X -aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia 
-cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvd 
-dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack 
-joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad -matroska -matrox 
-mmx -mmxext -musepack -nas +nls -nvidia +opengl +oss +png -real -rtc 
+samba +sdl -sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis 
-win32codecs -xanim -xinerama +xmms +xv -xvid -xvmc 7,431 kB
[ebuild  N] media-plugins/xmms-mpg123-1.2.10-r1  -3dnow +ipv6 -mmx 
+ssl 528 kB

[ebuild  N] media-libs/libmikmod-3.1.11-r1  +alsa +esd +oss 597 kB
[ebuild  N] media-plugins/xmms-mikmod-1.2.10  0 kB
[ebuild  N] media-plugins/xmms-vorbis-1.2.10-r1  +ipv6 +ssl 0 kB
[ebuild  N] media-plugins/xmms-arts-0.7.1-r1  231 kB
[ebuild  N] media-plugins/xmms-mad-0.8  307 kB
[ebuild  N] media-plugins/xmms-esd-1.2.10-r1  +oss 0 kB
[ebuild  N] media-plugins/xmms-oss-1.2.10  0 kB
[ebuild  N] media-plugins/xmms-alsa-1.2.10-r2  532 kB

Total size of downloads: 13,861 kB
localhost ~ # date
Wed Mar 22 20:15:51 GMT 2006
localhost ~ #

I could make /etc/packages/portage.use something like:

'media-sound/lame-3.96.1'

along with the other flags, and then mplayer would have lame et. al. as 
plug-in's, yes?


Or, do I have that wrong?  Automagically mplayer will see 
'media-sound/lame-3.96.1' and incorporate lame into mplayer?  Or, is lame 
installed seperately?





'Default USE flags

The current default USE flags for an x86 Linux system:
File: /usr/portage/profiles/default-linux/x86/2005.1/make.defaults
...

USE=alsa apm arts avi bitmap-fonts cups eds emboss encode fortran
foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++
libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png
qt quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X
xml2 xmms xv'

http://gentoo-wiki.com/FAQ_USE_Flags

But, I don't seem to have xmms installed, while I do have totem, so, I'm 
not totally understanding the significance of the above list.









As I think about this more, it seems that, for example, I might just 
install lame directly with portage.  In that case, it'd be up to mplayer 
to recognize lame's presence, yes?  However, with the use flags, mplayer 
is compiled with lame?


However, if another application is *also* installed with lame as a use 
flag, that'd be redundant.  Or, not?  They would both recursively install 
lame, with lame known to both mplayer and the second app?




thanks,

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



Re: [gentoo-user] use flags, mplayer, lame

2006-03-22 Thread Alexander Skwar
[EMAIL PROTECTED] wrote:
 If down the road I realize that I've left out use flag for mplayer would I 
 have to recompile mplayer?

Yes, of course.


 I could make /etc/packages/portage.use something like:
 
 'media-sound/lame-3.96.1'
 
 along with the other flags, and then mplayer would have lame et. al. as 
 plug-in's, yes?

No.

In portage.use, you'd write (for example):

media-video/mplayer musepack

And then mplayer will be compiled with musepack support. If
the necessary libraries/files for musepack are not yet present,
they'll be installed automatically. emerge -vpt mplayer will
clearly show that.

 Or, do I have that wrong?  Automagically mplayer will see 
 'media-sound/lame-3.96.1' and incorporate lame into mplayer?

If a package requires a different package, that different
package is automatically pulled.

  Or, is lame 
 installed seperately?

Maybe. I don't know.


 But, I don't seem to have xmms installed, while I do have totem, so, I'm 
 not totally understanding the significance of the above list.

Hm? I don't understand that. USE flags set options. So, if a
package has support for xmms, USE=xmms will make the package
use xmms; ie. it'll be compiled with appropriate flags.

Alexander Skwar
-- 
You can never do just one thing.
-- Hardin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] use flags, mplayer, lame

2006-03-22 Thread Mickey Mullin
On 22/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 As I think about this more, it seems that, for example, I might just
 install lame directly with portage.  In that case, it'd be up to mplayer
 to recognize lame's presence, yes?  However, with the use flags, mplayer
 is compiled with lame?

 However, if another application is *also* installed with lame as a use
 flag, that'd be redundant.  Or, not?  They would both recursively install
 lame, with lame known to both mplayer and the second app?

Lame would only be emerged one time.

Use flags determine one or both of two things:
1) which packages and of what versions should be present on the system
to support the desired new/updated package, and
2) what options (make config, I think) should be used when compiling
those packages.

You are concentrating on number one, above.

For example, emerging PHP with the cgi use flag creates the PHP CGI
binary, while the apache2 flag will create the (forget the correct
name) in-process library for Apache2.  Similarly, if MySQL is aleady
installed, but the -mysql flag is used, the PHP libraries for
communicating with MySQL will not be created.

Having done that, subsequently emerging phpmysql will not re-emerge
Apache OR PHP, even though they are both requirements.  However, I
don't know what would actually happen, since the scenario above would
have you with PHP on your system but without its being able to access
MySQL...

Best,
Mickey Mullin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] use flags, mplayer, lame

2006-03-22 Thread Alexander Skwar
Mickey Mullin wrote:

 Having done that, subsequently emerging phpmysql will not re-emerge
 Apache OR PHP, even though they are both requirements.  However, I
 don't know what would actually happen, since the scenario above would
 have you with PHP on your system but without its being able to access
 MySQL...

phpmysql checks if php is compiled with approporiate
flags - ie. it requires that PHP is compiled with USE=mysql
or USE=mysqli or both.

Alexander Skwar
-- 
Economies of scale:
The notion that bigger is better.  In particular, that if you want
a certain amount of computer power, it is much better to buy one
biggie than a bunch of smallies.  Accepted as an article of faith
by people who love big machines and all that complexity.  Rejected
as an article of faith by those who love small machines and all
those limitations.
-- 
gentoo-user@gentoo.org mailing list



  1   2   >