Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] virtual/emacs-24
Date: Thu, 18 Dec 2014 21:28:29
Message-Id: 20141218212817.43690efc@digimed.co.uk
In Reply to: [gentoo-user] virtual/emacs-24 by Harry Putnam
1 On Thu, 18 Dec 2014 19:06:32 -0500, Harry Putnam wrote:
2
3 > I didn't want to have the confusion of another version of emacs
4 > installed so resorted to use of:
5 >
6 > /etc/portage/profile/package.provided: like so:
7 > app-editors/emacs-24
8 >
9 > To tell portage about my home rolled emacs
10 >
11 > Well, that knocks down most of the unwanted pkgs but still as you see:
12 >
13 > emerge -vp emacs-w3m
14 >
15 > [ebuild N ] virtual/emacs-24 0 KiB
16 > [ebuild N ] virtual/w3m-0 0 KiB
17 > [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213
18 >
19 > `virtual/emacs-24' still hanging in there
20 >
21 > I didn't learn enough googling to understand what having that
22 > virtual/emacs-24 installed would mean.
23
24 Nothing really.
25
26 > Would it be possible headaches with emacs-25 installed outside
27 > portage.
28
29 Unlikely
30
31 > Can anyone say what that package actually does?
32
33 A virtual is a way for portage to have one of several option satisfy a
34 dependency. It doesn't install anything but depends on one of a number of
35 packages, in this case emacs and emacs-vcs. It means ebuild writers can
36 depend on emacs but leave you the choice of which brand of emacs to use.
37
38 Look at the ebuild, or look at the ebuild of virtual/editor to see what
39 a mess ebuilds would be without virtuals.
40
41
42 --
43 Neil Bothwick
44
45 WinErr 018: Unrecoverable error - System has been destroyed. Buy a new
46 one. Old Windows licence is not valid anymore.