Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recently many new virtual packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 471
Location: far from new world orderia

PostPosted: Sun Apr 17, 2011 2:01 pm    Post subject: Recently many new virtual packages Reply with quote

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
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2383
Location: Richmond, BC, Canada

PostPosted: Sun Apr 17, 2011 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 619
Location: Under the moon and all the stars in the sky.

PostPosted: Sun Apr 17, 2011 11:10 pm    Post subject: Reply with quote

Brilliant isn't it? :P
_________________
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
View user's profile Send private message
ulm
Developer
Developer


Joined: 04 Oct 2004
Posts: 63
Location: Mainz, Germany

PostPosted: Mon Apr 18, 2011 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 471
Location: far from new world orderia

PostPosted: Mon Apr 18, 2011 1:04 pm    Post subject: Reply with quote

ok, thanks for all the info
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 495

PostPosted: Mon Apr 18, 2011 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1205
Location: Jefferson, USA

PostPosted: Wed Apr 27, 2011 3:06 am    Post subject: Reply with quote

FFMPEG
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 799
Location: PL

PostPosted: Thu May 05, 2011 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1634

PostPosted: Sat May 07, 2011 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1035
Location: Sofia/Bulgaria

PostPosted: Sun May 29, 2011 4:48 pm    Post subject: Reply with quote

And from today:

Code:
virtual/fortran-0


:D
_________________
"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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum