| View previous topic :: View next topic |
| Author |
Message |
mahdi1234 Guru

Joined: 19 Feb 2005 Posts: 471 Location: far from new world orderia
|
Posted: Sun Apr 17, 2011 2:01 pm Post subject: Recently many new virtual packages |
|
|
I've noticed in the last couple of weeks there's been introduced many new virtual packages to the stable, from those I'm pretty sure
| Code: | | e.g virtual/ssh-0 virtual/os-headers-0 virtual/man-0 virtual/dev-manager-0 or virtual/ffmpeg |
- is there some of the devs who could answer whether this is gonna be the way for the future? Is there gonna be for each of those eselect option as well? Isn't this going to add up too many packages? The thing is, I don't understand much the need to introduce such things as headers or man now, what is need/benefit for this when it worked for ages without it?
thanks & cheers ... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2383 Location: Richmond, BC, Canada
|
Posted: Sun Apr 17, 2011 2:25 pm Post subject: |
|
|
virtuals are mainly for handling multiple package choices that are able to supply a program or lib.
take virtual/man-0. It's dependencies are: | Quote: | any of:
sys-apps/man,
sys-apps/man-db, a man replacement that utilizes berkdb instead of flat files
|
and for virtual/os-headers-0 | Quote: | any of:
sys-kernel/linux-headers:0
sys-freebsd/freebsd-lib |
In this case it so that gentoo can handle being installed on a freebsd system.
...
Gentoo offers the most choices for most things available in the linux world. Virtuals are a way to make those choices easier to keep track of in the dependencies for the pkg ebuilds you are installing. It is far easier to change 1 virtual, than it is to change 2000+ ebuilds that depend on sys-apps/man or equivalent if a third option was to become available. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 619 Location: Under the moon and all the stars in the sky.
|
Posted: Sun Apr 17, 2011 11:10 pm Post subject: |
|
|
Brilliant isn't it?  _________________ Now, with penguins, (cuddly such), "contented" means it has either just gotten laid, or it's stuffed on herring. Take it from me, I'm an expert on penguins, those are really the only two options.
--Linus Torvalds |
|
| Back to top |
|
 |
ulm Developer

Joined: 04 Oct 2004 Posts: 63 Location: Mainz, Germany
|
Posted: Mon Apr 18, 2011 7:27 am Post subject: |
|
|
These virtuals that have appeared in your list of packages are not really new, but have been migrated from "old style" to "new style". An explanation of both concepts can be found in the devmanual: http://devmanual.gentoo.org/general-concepts/virtuals/
Old-style virtuals were deprecated long time ago with GLEP 37. As of today, there are 4 old-style virtuals left (cron, libc, linux-sources, modutils) and I hope that they can be migrated to new-style within the next month. So there won't be many more additional packages showing up.
Some statistics (see bug 350792 for details):
- 48 old-style virtuals in January 2011
- 26 have been removed entirely
- 18 have been migrated to new-style
- 4 left
Last edited by ulm on Mon Apr 18, 2011 7:20 pm; edited 1 time in total |
|
| Back to top |
|
 |
mahdi1234 Guru

Joined: 19 Feb 2005 Posts: 471 Location: far from new world orderia
|
Posted: Mon Apr 18, 2011 1:04 pm Post subject: |
|
|
| ok, thanks for all the info |
|
| Back to top |
|
 |
rh1 Guru


Joined: 10 Apr 2010 Posts: 495
|
Posted: Mon Apr 18, 2011 4:45 pm Post subject: |
|
|
| New style virtuals are nice. Some are even versioned so they can depend of different versions of packages. Makes it nice and flexible. Definately an improvement |
|
| Back to top |
|
 |
wswartzendruber Veteran


Joined: 23 Mar 2004 Posts: 1205 Location: Jefferson, USA
|
Posted: Wed Apr 27, 2011 3:06 am Post subject: |
|
|
| FFMPEG |
|
| Back to top |
|
 |
yoshi314 l33t


Joined: 30 Dec 2004 Posts: 799 Location: PL
|
Posted: Thu May 05, 2011 10:29 am Post subject: |
|
|
too bad that virtual/linux-sources (or was it kernel-sources ? ) it not widely respected yet.
it really sucked that many packages would insist on gentoo-sources. _________________ ~amd64, ~x86
shrink your /usr/portage with squashfs+aufs |
|
| Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1634
|
Posted: Sat May 07, 2011 5:51 pm Post subject: |
|
|
I've been using vanilla-sources for years without problem...
| Code: | $ equery d --all-packages gentoo-sources
* These packages depend on gentoo-sources:
virtual/linux-sources-2.6 (=sys-kernel/gentoo-sources-2.6*) |
_________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
| Back to top |
|
 |
Kollin Veteran


Joined: 25 Feb 2006 Posts: 1035 Location: Sofia/Bulgaria
|
Posted: Sun May 29, 2011 4:48 pm Post subject: |
|
|
And from today:
 _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
| Back to top |
|
 |
|