Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-18 Thread Neil Bothwick
On Sun, 18 May 2008 09:01:12 -0500, William Hubbs wrote:

> There is no way to set use flags separately for packages in overlays.

That's not always true. If the overlay provides a version that is not in
portage, like a cat/pkg- for a CVS/SVN ebuild, then a
version-specific entry in package.use will only affect the overlay
version.

However, /etc/portage/package.use is the correct place to set
package-specific USE variables fro all packages, no matter whether they
come from an overlay or the portage tree. 


-- 
Neil Bothwick

HTTP: Helps Transfer The Porn


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-18 Thread Alan McKinnon
On Sunday 18 May 2008, Alexander Meinke wrote:

> So I think you wont be able to set USE-Flags specially for layman
> packages.

That appears to be correct, as there is no mention of overlay-specific 
USE settings anywhere in the layman docs.

So, it seems that one still has only the same two options that portage 
offers:

- global, in make.conf
- per package/version in package.use

and the presence of layman does not change this rule in any way. 
Actually this makes sense - all layman does for portage is provide a 
whole new bunch of ebuilds to select from. Portage is not aware of 
layman and so can't change the way it deals with USE flags because of 
layman

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-18 Thread William Hubbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, May 18, 2008 at 08:32:40AM -0500, [EMAIL PROTECTED] wrote:
> Stroller <[EMAIL PROTECTED]> writes:
> 
> > On 17 May 2008, at 16:00, Alexander Meinke wrote:
> >
>  So again, if one wanted to set some use flags differently for layman
>  packages ... where and how would that be done?
> >>> I think that you should use package.use.
> >>
> >> Yes. According to Strollers post this is done by an package.use file
> >> in /usr/portage/layman I think.
> >
> > Yes, package.use, but not anywhere special - just the regular one in /
> > etc/portage/, /etc/portage/package.use. This sets use flags for all
> > packages, both in the main tree AND in layman.
> >
> 
> I'm a little confused .. the question (that you quoted in your
> reply) asks how to set use flags separately for layman overlay.
> 
> So your answer doesn't appear to make sense... but maybe I'm missing
> something here.

There is no way to set use flags separately for packages in overlays.

If you have a package foo which uses use flag bar and you want to have
that use flag turned on, just put this line in /etc/portage/package.use.

foo bar

That will turn on the bar use flag for package foo, regardless of
whether foo is from the main tree or an overlay.

- -- 
William Hubbs
gentoo accessibility team lead
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgwNqgACgkQblQW9DDEZThN8wCfbUn2iBi9tpxVy68si4LB9xPT
PwwAmwW6OaR/MmSkC7ytWYmp5q8iMx/j
=M5JR
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-18 Thread Alexander Meinke

[EMAIL PROTECTED] wrote:

I'm a little confused .. the question (that you quoted in your
reply) asks how to set use flags separately for layman overlay.

So your answer doesn't appear to make sense... but maybe I'm missing
something here.



Hi,

the subject is "How to set package.use for layman overlays". USE-Flags are set 
by package.use. How I mentioned before that is not handled by 
/usr/portage/layman where the make.conf is, but by /etc/portage/package.use.

Sorry for that mistake.
So I think you wont be able to set USE-Flags specially for layman packages.


Regards,

acm.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-18 Thread Stroller


On 17 May 2008, at 16:00, Alexander Meinke wrote:


So again, if one wanted to set some use flags differently for layman
packages ... where and how would that be done?

I think that you should use package.use.


Yes. According to Strollers post this is done by an package.use  
file in /usr/portage/layman I think.


Yes, package.use, but not anywhere special - just the regular one in / 
etc/portage/, /etc/portage/package.use. This sets use flags for all  
packages, both in the main tree AND in layman.


Stroller.


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



Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-17 Thread Alexander Meinke

So again, if one wanted to set some use flags differently for layman
packages ... where and how would that be done?


I think that you should use package.use.


Yes. According to Strollers post this is done by an package.use file in 
/usr/portage/layman I think.



Regards,

acm.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: How to set package.use for layman overlays

2008-05-17 Thread Stroller


On 17 May 2008, at 14:43, [EMAIL PROTECTED] wrote:

...
It would also seem that /etc/portage/package.use would be global and
include layman... is that right?


Yes.


So again, if one wanted to set some use flags differently for layman
packages ... where and how would that be done?


I think that you should use package.use.

Stroller.
--
gentoo-user@lists.gentoo.org mailing list