* [gentoo-dev] Package-specific USE-flags?
@ 2003-07-15 20:18 Patrick Börjesson
2003-07-15 21:18 ` John Mylchreest
0 siblings, 1 reply; 9+ messages in thread
From: Patrick Börjesson @ 2003-07-15 20:18 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]
Is there some way to set package-specific USE-flags in some config-file
somewhere so I don't have to give it manually on the command-line each
and every time I want to reemerge or upgrade the package?
If not, then that functionality would make my life (and probably many
others too) alot easier. I just did an "update world" and after it
finished I realised that I had to reemerge a couple of packages since my
global USE-flags didn't comply with those I wanted for those specific
packages. For example: I don't want QT-support built-in for most of the
software on my machine so I have "-qt" in my USE-flag in make.conf, but
since I want the qt-gui for licq I have to reemerge licq with USE="qt"
after every single time licq is a part of an "update world". And just
recently I had to lower the aggressiveness on my CFLAGS to be able to
emerge mozilla-firebird. I don't want those slack CFLAGS for most of the
packages in my system so I have to give the CFLAGS manually when
emerging that package.
A suggestion on how to realise it would be package-specific USE-flags in
make.conf or some other config-file under /etc. For example: If I
would want qt-support in licq then I'd add LICQ_USE="qt" in make.conf or
whatever where LICQ_USE is the package-name in uppercase followed by
_USE. Since there are support for converting strings to uppercase in
python I don't see a problem in implementing this feature.
Has there been no request for this feature earlier? Or is there another
obstacle in the way of implementing it?
Eagerly awaiting your response,
Patrick Börjesson
P.S. Sorry for the long post. D.S.
--
Public key id: 4C5AB0BF
Public key available at search.keyserver.net[:11371]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 20:18 Patrick Börjesson
@ 2003-07-15 21:18 ` John Mylchreest
2003-07-15 22:07 ` Max Kalika
0 siblings, 1 reply; 9+ messages in thread
From: John Mylchreest @ 2003-07-15 21:18 UTC (permalink / raw
To: Patrick Börjesson; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]
On Tue, 2003-07-15 at 21:18, Patrick Börjesson wrote:
> Is there some way to set package-specific USE-flags in some config-file
> somewhere so I don't have to give it manually on the command-line each
> and every time I want to reemerge or upgrade the package?
> If not, then that functionality would make my life (and probably many
> others too) alot easier. I just did an "update world" and after it
> finished I realised that I had to reemerge a couple of packages since my
> global USE-flags didn't comply with those I wanted for those specific
> packages. For example: I don't want QT-support built-in for most of the
> software on my machine so I have "-qt" in my USE-flag in make.conf, but
> since I want the qt-gui for licq I have to reemerge licq with USE="qt"
> after every single time licq is a part of an "update world". And just
> recently I had to lower the aggressiveness on my CFLAGS to be able to
> emerge mozilla-firebird. I don't want those slack CFLAGS for most of the
> packages in my system so I have to give the CFLAGS manually when
> emerging that package.
> A suggestion on how to realise it would be package-specific USE-flags in
> make.conf or some other config-file under /etc. For example: If I
> would want qt-support in licq then I'd add LICQ_USE="qt" in make.conf or
> whatever where LICQ_USE is the package-name in uppercase followed by
> _USE. Since there are support for converting strings to uppercase in
> python I don't see a problem in implementing this feature.
> Has there been no request for this feature earlier? Or is there another
> obstacle in the way of implementing it?
>
> Eagerly awaiting your response,
> Patrick Börjesson
>
> P.S. Sorry for the long post. D.S.
this has been done by a friend of mine.
if you try searching the bug database for "package specific use flags"
perhaps, or his email (contains alkern) this might find something.
he wrote a portage patch.
Unfortunately i havent got a working browser right now, but it shouldnt
be hard to find. please post back if you couldnt find it.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 21:18 ` John Mylchreest
@ 2003-07-15 22:07 ` Max Kalika
2003-07-15 23:22 ` Patrick Börjesson
0 siblings, 1 reply; 9+ messages in thread
From: Max Kalika @ 2003-07-15 22:07 UTC (permalink / raw
To: gentoo-dev
Quoting John Mylchreest <johnm@gentoo.org>:
> On Tue, 2003-07-15 at 21:18, Patrick B=F6rjesson wrote:
>> Is there some way to set package-specific USE-flags in some config-file
>> somewhere so I don't have to give it manually on the command-line each
>> and every time I want to reemerge or upgrade the package?=20
The patch is available at:
http://bugs.gentoo.org/show_bug.cgi?id=3D13616
Any feedback you may have is greatly appreciated.
> this has been done by a friend of mine.
Thanks for the kind words, John!
---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
@ 2003-07-15 22:10 Max Kalika
0 siblings, 0 replies; 9+ messages in thread
From: Max Kalika @ 2003-07-15 22:10 UTC (permalink / raw
To: gentoo-dev
Quoting Max Kalika <max+lists.gentoo.dev@lsit.ucsb.edu>:
> http://bugs.gentoo.org/show_bug.cgi?id=3D13616
Whoops! don't know what happened there...it needs to be:
http://bugs.gentoo.org/show_bug.cgi?id=13616
Sorry for the noise.
---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 22:07 ` Max Kalika
@ 2003-07-15 23:22 ` Patrick Börjesson
2003-07-15 23:32 ` Max Kalika
2003-07-15 23:38 ` Patrick Börjesson
0 siblings, 2 replies; 9+ messages in thread
From: Patrick Börjesson @ 2003-07-15 23:22 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 1135 bytes --]
> >> Is there some way to set package-specific USE-flags in some
> >config-file> somewhere so I don't have to give it manually on the
> >command-line each> and every time I want to reemerge or upgrade the
> >package?=20
>
> The patch is available at:
>
> http://bugs.gentoo.org/show_bug.cgi?id=3D13616
>
> Any feedback you may have is greatly appreciated.
>
I must be missing something. I went and downloaded the patch, patched
/usr/lib/python2.2/site-packages/portage.py, created and edited
/etc/portage/package.use to my preference (according to the syntax given
in the bug-page) but emerge --info won't give me the output I want. Is
there something else I should do in order for it to work?
/etc/portage/package.use is attached to see if you can find something
wrong with it. I began with a _very_ simple config =)
By the way, why isn't this feature being incorporated in the official
portage-release? You've apparently gotten some response from official
gentoo-developers.
Thanks in advance,
Patrick Börjesson
--
Public key id: 4C5AB0BF
Public key available at search.keyserver.net[:11371]
[-- Attachment #1.2: package.use --]
[-- Type: application/octet-stream, Size: 16 bytes --]
net-im/licq qt
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 23:22 ` Patrick Börjesson
@ 2003-07-15 23:32 ` Max Kalika
2003-07-15 23:42 ` Patrick Börjesson
2003-07-15 23:38 ` Patrick Börjesson
1 sibling, 1 reply; 9+ messages in thread
From: Max Kalika @ 2003-07-15 23:32 UTC (permalink / raw
To: Patrick Börjesson, gentoo-dev
Quoting Patrick Börjesson <psycho@rift.ath.cx>:
> I must be missing something. I went and downloaded the patch, patched
> /usr/lib/python2.2/site-packages/portage.py, created and edited
> /etc/portage/package.use to my preference (according to the syntax given
> in the bug-page) but emerge --info won't give me the output I want. Is
> there something else I should do in order for it to work?
Did you get the emerge patch as well? Both portage.py and emerge need to
be patched. After this, emerge --info should have a PKGUSE= entry.
> /etc/portage/package.use is attached to see if you can find something
> wrong with it. I began with a _very_ simple config =)
Seems ok.
> By the way, why isn't this feature being incorporated in the official
> portage-release? You've apparently gotten some response from official
> gentoo-developers.
Time, or rather lack thereof, I imagine.
---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 23:22 ` Patrick Börjesson
2003-07-15 23:32 ` Max Kalika
@ 2003-07-15 23:38 ` Patrick Börjesson
2003-07-15 23:44 ` Patrick Börjesson
1 sibling, 1 reply; 9+ messages in thread
From: Patrick Börjesson @ 2003-07-15 23:38 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
> I must be missing something. I went and downloaded the patch, patched
> /usr/lib/python2.2/site-packages/portage.py, created and edited
> /etc/portage/package.use to my preference (according to the syntax
> given in the bug-page) but emerge --info won't give me the output I
> want. Is there something else I should do in order for it to work?
> /etc/portage/package.use is attached to see if you can find something
> wrong with it. I began with a _very_ simple config =)
Hmm... I had to do a "emerge --info -v" for the information to show.
Still doesn't show in verbose-mode when listing packages to emerge:
$ emerge licq -vp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-im/licq-1.2.7 +ssl -socks5 -qt -kde +ncurses
It should show "qt" instead of "-qt" given my config, shouldn't it?
Thanks again,
Patrick Börjesson
--
Public key id: 4C5AB0BF
Public key available at search.keyserver.net[:11371]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 23:32 ` Max Kalika
@ 2003-07-15 23:42 ` Patrick Börjesson
0 siblings, 0 replies; 9+ messages in thread
From: Patrick Börjesson @ 2003-07-15 23:42 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
> Did you get the emerge patch as well? Both portage.py and emerge need
> to be patched. After this, emerge --info should have a PKGUSE= entry.
Aaaaah =) Missed that one... Now it works perfectly!
Huge thanks for this feature!,
Patrick Börjesson
--
Public key id: 4C5AB0BF
Public key available at search.keyserver.net[:11371]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Package-specific USE-flags?
2003-07-15 23:38 ` Patrick Börjesson
@ 2003-07-15 23:44 ` Patrick Börjesson
0 siblings, 0 replies; 9+ messages in thread
From: Patrick Börjesson @ 2003-07-15 23:44 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
Ignore parent post, see post 4 minutes later instead =)
Patrick Börjesson
--
Public key id: 4C5AB0BF
Public key available at search.keyserver.net[:11371]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-07-15 23:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 22:10 [gentoo-dev] Package-specific USE-flags? Max Kalika
-- strict thread matches above, loose matches on Subject: below --
2003-07-15 20:18 Patrick Börjesson
2003-07-15 21:18 ` John Mylchreest
2003-07-15 22:07 ` Max Kalika
2003-07-15 23:22 ` Patrick Börjesson
2003-07-15 23:32 ` Max Kalika
2003-07-15 23:42 ` Patrick Börjesson
2003-07-15 23:38 ` Patrick Börjesson
2003-07-15 23:44 ` Patrick Börjesson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox