* [gentoo-dev] per package settings (proposal?)
@ 2003-08-04 23:56 Denys Duchier
2003-08-05 0:10 ` Mike Frysinger
0 siblings, 1 reply; 3+ messages in thread
From: Denys Duchier @ 2003-08-04 23:56 UTC (permalink / raw
To: gentoo-dev
Hi devs,
Correct me if I am mistaken, but, as far as I know, there is no
convenient way to accept ~arch on a per package basis. I have seen
this issue frequently raised, and I certainly encounter the problem
regularly on my own Gentoo installation, but I have not seen a
proposal to address it. ACCEPT_KEYWORDS=~arch unfortunately also
affects recursive dependencies. Personally, I find the situation very
painful.
A related issue are per package USE flags, or more generally per
package settings.
Here is an idea (perhaps it has already been suggested, in which case
please point me to right place):
Just like we now have /etc/portage/package.unmask, lets also have:
/etc/portage/package.env
It would consist of "hunks". Each hunk start with a package selection
condition and the following lines consist of variable assignments. To
reliably identify the start of a hunk let's say that there must be an
asterisk in column 0. So a hunk might look for example like:
* >=category/package-version
var1=val1
var2=val2
...
varn=valn
for simplicity, I suggest either of the following semantics:
1. either, only the first matching hunk applies to a particular ebuild
2. or, all matching hunks apply (last setting for a variable wins)
I prefer option 1.
A particularly useful application would be:
* >=category/package-version
ACCEPT_KEYWORDS="~x86"
USE="..."
Obviously, the idea would be that the variables settings would only
apply for (have scope over) the specific ebuild, not over its
dependencies.
Is this foolish? already done? in the works? worth doing?
Cheers,
--
Dr. Denys Duchier
Équipe Calligramme
LORIA, Nancy, FRANCE
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] per package settings (proposal?)
2003-08-04 23:56 [gentoo-dev] per package settings (proposal?) Denys Duchier
@ 2003-08-05 0:10 ` Mike Frysinger
2003-08-05 0:20 ` [gentoo-dev] " Denys Duchier
0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2003-08-05 0:10 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 155 bytes --]
please review http://bugs.gentoo.org/show_bug.cgi?id=13616 and then post again
(and/or take your thoughts to the bug ... that would be prefered)
-mike
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: per package settings (proposal?)
2003-08-05 0:10 ` Mike Frysinger
@ 2003-08-05 0:20 ` Denys Duchier
0 siblings, 0 replies; 3+ messages in thread
From: Denys Duchier @ 2003-08-05 0:20 UTC (permalink / raw
To: gentoo-dev
Mike Frysinger <vapier@gentoo.org> writes:
> please review http://bugs.gentoo.org/show_bug.cgi?id=13616 and then post again
> (and/or take your thoughts to the bug ... that would be prefered)
thanks! I did search the bugs db, but I missed this particular entry.
Cheers,
--
Dr. Denys Duchier
Équipe Calligramme
LORIA, Nancy, FRANCE
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-05 0:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-04 23:56 [gentoo-dev] per package settings (proposal?) Denys Duchier
2003-08-05 0:10 ` Mike Frysinger
2003-08-05 0:20 ` [gentoo-dev] " Denys Duchier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox