public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: [RFC] PROPERTIES=virtual for meta-packages (clarification of definition)
Date: Tue, 26 Aug 2008 14:20:07 +0000 (UTC)	[thread overview]
Message-ID: <pan.2008.08.26.14.20.07@cox.net> (raw)
In-Reply-To: 20080826142044.28367055@googlemail.com

Ciaran McCreesh <ciaran.mccreesh@googlemail.com> posted
20080826142044.28367055@googlemail.com, excerpted below, on  Tue, 26 Aug
2008 14:20:44 +0100:

> On Tue, 26 Aug 2008 06:39:38 +0000 (UTC) Duncan <1i5t5.duncan@cox.net>
> wrote:
>> But I think virtual works just fine for kde-base/kde, too, if one
>> simply reads it literally -- it's a virtual package in that it doesn't
>> install anything itself, even if it's a meta-package [...]
> 
> So what does 'virtual' actually mean then, and how is it related to the
> defined behaviour of this property?

I'm unsure of whether that was intended to be a rhetorical question or 
not, so taking it literally...

According to kdict/WordNet:

        2: being such in essence or effect though not in actual fact

Extending that to the technical/computing realm, again kdict, this time 
FOLDOC and Jargon file:

        <jargon, architecture> (Via the technical term virtual
        memory, probably from the term "virtual image" in optics)

        1. Common alternative to logical; often used to refer to the
        artificial objects (like addressable virtual memory larger
        than physical memory) created by a computer system to help the
        system control access to shared resources.
     
        2. Simulated; performing the functions of something that isn't
        really there.  An imaginative child's doll may be a virtual
        playmate.
     
        Opposite of real or physical.
     

So a virtual package would have the essence and effects of a real one 
(dependencies and the like) but not be "real" in some way (here, zero-
install-cost, or more correctly, only the install cost of the 
dependencies).

More directly, a package that doesn't actually install anything itself, 
only having dependencies that ensure other packages are installed.

In original Gentoo usage, virtual packages didn't have ebuilds at all, 
but referred to dependencies that several different packages could 
provide, with the the profile generally specifying a default.  Now many 
of them have ebuilds, but the general idea of not installing anything 
directly themselves, only thru dependencies, remains.  This is equally 
true of the original no-ebuild virtuals, those ebuilds in the virtual/ 
categories, and various meta-packages such as kde and kde-meta.  Thus, 
they fit the broader defintion of "virtual" in a literal sense, 
regardless of where they are located in the category tree.

However, I like the idea someone else proposed as well.  Move all these 
packages into the virtual category.  That could of course be expanded to 
include java-virtuals if desired, since virtual is still part of the 
category name.  Either as a single category or as anything with "virtual" 
in the category, this would make things easier for both the package 
manager (making the property unnecessary) and the user, who would then 
know on sight (in the tab-completion and in --pretend/ask as well as 
various $PM messages) which packages were virtual.  

Putting all virtual packages in the virtual category/ies would certainly 
simplify the task of explaining to confused users why removing say kde-
base/games wanted to remove virtual/kde (instead of kde-base/kde), but 
wouldn't directly remove kdebase (tho emerge --depclean would then want 
to do so, until the user did an emerge --no-replace kdebase, at least), 
to use an example I saw in a different context recently.

I therefore believe I like just moving them all to a *virtual*/ category 
better, thus obviating the need for that particular property in the first 
place.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




  reply	other threads:[~2008-08-26 14:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24 21:01 [gentoo-dev] [RFC] PROPERTIES=virtual for meta-packages (clarification of definition) Zac Medico
2008-08-25 17:51 ` Michal Kurgan
2008-08-25 18:01   ` Zac Medico
2008-08-25 18:37     ` Michal Kurgan
2008-08-25 18:40 ` Ciaran McCreesh
2008-08-25 19:06   ` Zac Medico
2008-08-25 19:12     ` Ciaran McCreesh
2008-08-25 19:36       ` Zac Medico
2008-08-25 19:58         ` Joe Peterson
2008-08-25 20:03         ` David Leverton
2008-08-26  6:39           ` [gentoo-dev] " Duncan
2008-08-26 13:20             ` Ciaran McCreesh
2008-08-26 14:20               ` Duncan [this message]
2008-08-26 17:44                 ` Zac Medico
2008-08-27  0:08                   ` Duncan
2008-08-27  1:49                     ` Zac Medico
2008-08-27  2:23                       ` Michal Kurgan
2008-08-27  3:16                         ` Zac Medico
2008-08-27  4:18                           ` Zac Medico
2008-08-27  3:51                     ` Jorge Manuel B. S. Vicetto
2008-08-30  9:59                 ` Steve Long
2008-08-30 12:23                   ` Ciaran McCreesh
2008-08-31  2:29                     ` [gentoo-dev] " Steve Long
2008-08-31 12:30                       ` Ciaran McCreesh
2008-08-31 19:10                     ` [gentoo-dev] " Joe Peterson
2008-08-31 21:54                       ` Duncan
2008-09-05 13:50                 ` Marius Mauch
2008-09-05 13:44 ` [gentoo-dev] " Marius Mauch
2008-09-05 15:38   ` Joe Peterson
2008-09-05 15:46     ` Ciaran McCreesh
2008-09-05 15:50       ` Joe Peterson
2008-09-08 21:40         ` [gentoo-dev] " Steve Long
2008-09-08 22:07           ` Ciaran McCreesh
2008-09-10  1:30             ` [gentoo-dev] " Steve Long

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2008.08.26.14.20.07@cox.net \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox