View previous topic :: View next topic |
Author |
Message |
garyd9 n00b
Joined: 07 Apr 2004 Posts: 28
|
Posted: Wed Apr 21, 2004 4:39 pm Post subject: /etc/portage/package.keywords and wildcards |
|
|
I'm trying to find a simple way to tell emerge to accept the ~x86 keyword for all kde packages.. but without having to spell out each individual package thats in kde-base/
I've tried the following strings in package.keywords, but neither of them work:
kde-base/* ~x86
kde-base/kde ~x86
Is there any way to do this without specifying each individual kde-base/* package?
Thanks
Gary |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Apr 21, 2004 6:52 pm Post subject: |
|
|
Not at the moment.
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
garyd9 n00b
Joined: 07 Apr 2004 Posts: 28
|
Posted: Wed Apr 21, 2004 8:30 pm Post subject: |
|
|
WELL THAT COMPLETELY SUCKS! GENTOO SUCKS! I WANT MY MONEY BACK.
Well, damn.. thats the FIRST thing I've seen that I can't do with gentoo. I'm actually a bit shocked.
Okay, I know there's an answer to this question somewhere, but for some reason I can't find it. Not sure if I can't find the right search keywords, or the daughter screaming in the background is distracting me...
I like doing "emerge kde". However, I neither need, nor want, anything in the "kdeedu" package. I also would prefer not having to re-edit files after every time I do an 'emerge sync'. I seem to remember that there's a way to mask kdeedu out of the 'kde' set of packages, but can't remember.. Any help?
Thanks
Gary |
|
Back to top |
|
|
LinuxRocks Guru
Joined: 27 Nov 2003 Posts: 397 Location: New Mexico
|
Posted: Wed Apr 21, 2004 9:14 pm Post subject: |
|
|
Well, I'm sort of a noob, but when I emrged 3.2.2, I just did an ACCEPT_KEYWORDS="~x86" emerge --pretend kde and it showed me what it was going to install. You can also substiture --pretend for search and it will show you all the versions, regular and masked. Then you can select. If you like the ACCEPT_KEYWORDS thing, then you can add it to the make.conf file and it will do it by default so you dont have to type it out all the time...
Thought I would through that in for ya
Joe |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Wed Apr 21, 2004 9:16 pm Post subject: |
|
|
You don't mask it... you inject it (emerge inject category/package).
As for doing a keyword on an entire category... well, thinking about it, it makes perfect sense for kde or gnome, but what about the sys-apps category? That wouldn't work... I think the whole way gnome and kde appear in portage should be redone (subcategories! ), but such a change would be overkill for this particular problem... _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
LinuxRocks Guru
Joined: 27 Nov 2003 Posts: 397 Location: New Mexico
|
Posted: Wed Apr 21, 2004 9:56 pm Post subject: |
|
|
What would the inject do?
Thanks!!!
Joe |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Apr 21, 2004 10:36 pm Post subject: |
|
|
garyd9 wrote: | Well, damn.. thats the FIRST thing I've seen that I can't do with gentoo. I'm actually a bit shocked. |
This feature is already requested.
edit: To your question: Either you create your own kde meta ebuild in your local portage overlay directory or just don't use it and emerge kdelibs, kdebase, etc. one after another. Just be sure that you emerge kdeaddons at last, if you want to install it.
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9535 Location: beyond the rim
|
|
Back to top |
|
|
Gil-galad55 Tux's lil' helper
Joined: 02 Feb 2004 Posts: 101
|
Posted: Tue May 04, 2004 6:56 pm Post subject: |
|
|
Why was it decided that this feature was no good? Unless there's a shortcut around it, it makes mixing stable/unstable a true pain, and that makes testing a pain. Any thoughts on a workaround? I see a package.keywords that's laden with all the dependencies a fairly inelegant solution. The script below is fine for building said file, but it just seems klunky. _________________ a^2 + b^2 = c^2
"To strive, to seek, to find, and not to yield." Tennyson |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9535 Location: beyond the rim
|
Posted: Tue May 04, 2004 8:16 pm Post subject: |
|
|
Main reason is to keep the syntax clean. There is no way that we support general regular expressions in the package.{keywords,use,unmask,mask} files (large performance impact, docs have to be rewritten, support becomes a nightmare, portage would have even more inconsistent syntax). Also for example the * operator has already a meaning for portage, so it would become ambigous with regexp support, same for other characters.
The only thing I would have supported is whole-category matching, but even that was shot down.
Last edited by Genone on Tue May 04, 2004 9:43 pm; edited 1 time in total |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Tue May 04, 2004 9:28 pm Post subject: |
|
|
How about a special option to automatically arch-unmask all ebuilds that a certain ebuild RDEPENDS on? (Why do the kde and gnome ebuilds use RDEPEND anyway?) _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
Gil-galad55 Tux's lil' helper
Joined: 02 Feb 2004 Posts: 101
|
Posted: Tue May 04, 2004 11:43 pm Post subject: |
|
|
Genone wrote: | Main reason is to keep the syntax clean. There is no way that we support general regular expressions in the package.{keywords,use,unmask,mask} files (large performance impact, docs have to be rewritten, support becomes a nightmare, portage would have even more inconsistent syntax). Also for example the * operator has already a meaning for portage, so it would become ambigous with regexp support, same for other characters.
The only thing I would have supported is whole-category matching, but even that was shot down. |
Ah, now that makes sense. Thanks for the explanation Still, if anyone comes up with a hack, lemme know! _________________ a^2 + b^2 = c^2
"To strive, to seek, to find, and not to yield." Tennyson |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed May 05, 2004 8:39 am Post subject: |
|
|
Gil-galad55 wrote: | Any thoughts on a workaround? |
Write a script, that accepts the expressions you want and deals with package.* files for you. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
Gil-galad55 Tux's lil' helper
Joined: 02 Feb 2004 Posts: 101
|
Posted: Wed May 05, 2004 1:36 pm Post subject: |
|
|
Ah, true, a middle man script. That would work nicely. _________________ a^2 + b^2 = c^2
"To strive, to seek, to find, and not to yield." Tennyson |
|
Back to top |
|
|
|