View previous topic :: View next topic |
Author |
Message |
fernandoc1 n00b
Joined: 03 Jan 2010 Posts: 69
|
Posted: Sat Jan 23, 2010 3:07 am Post subject: Installing software at the moment they are released |
|
|
Every two week, we have a new version of wine to be tested. I wanna know if there is a way to force portage to install the wine version that I provide from my disk.
I know that doesn't take too much time to portage get it to its database, but I want to get the latest wine as fast as I can.
I even have the option to compile wine by my self, but I rely more on Portage to do this task. |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sat Jan 23, 2010 3:31 am Post subject: |
|
|
When you say "the latest wine", is it important to you that it has actually been released as stable? Cause you could always just unmask the cvs-ebuild (wine-9999). It will always fetch the latest sources, but they may not always be in a buildable state. Sometimes you may have to wait a day before trying again.
If you need to build from particular tarballs, you could create a custom ebuild with a dummy version number, stick it in your local portage overlay and unmask it. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
fernandoc1 n00b
Joined: 03 Jan 2010 Posts: 69
|
Posted: Sat Jan 23, 2010 11:51 am Post subject: |
|
|
Can you describe the steps to do this?
I'm new at Gentoo and I don't even understand what is mask a package. |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sun Jan 24, 2010 10:53 pm Post subject: |
|
|
Ok. If you look at what versions are available, you will see several are marked with a ~, meaning that it has not been marked as stable yet. Check out a web-based portage list, or emerge gentoolkit and run equery l wine.
One of the masked versions is 9999. This is the CVS version. Create a file /etc/portage/package.keywords and put this in it to unmask:
Code: | =app-emulation/wine-9999 ~amd64 |
Replace amd64 with the architecture you are using. This will unmask the listed version. Next time you emerge wine (or run emerge -uDav world), you will get this version instead of the latest marked as stable. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sun Jan 24, 2010 10:55 pm Post subject: |
|
|
Oops, sorry. Just noticed wine-9999 is masked with missing keyword, not ~. In this case, use ** instead of ~amd64 in the keywords list.
Addendum: The point of that is to make sure you understand that it won't always build, and that if it doesn't, you are on your own. Gentoo can not make sure the 9999 is always in a buildable state on a gentoo system. If it doesn't build, you can either use one of the ~ versions, or wait a day or two and try again. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Jan 25, 2010 4:29 am Post subject: |
|
|
Just for the record, the line in /etc/portage/package.keywords should be :
Code: | app-emulation/wine ** |
And the command to emerge it :
Code: | emerge -av =app-emulation/wine-9999 |
|
|
Back to top |
|
|
|