Re: [gentoo-user] virtual/emacs-24
On Thu, Dec 18, 2014 at 07:06:32PM -0500, Harry Putnam wrote: Well, that knocks down most of the unwanted pkgs but still as you see: emerge -vp emacs-w3m [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 `virtual/emacs-24' still hanging in there I didn't learn enough googling to understand what having that virtual/emacs-24 installed would mean. Would it be possible headaches with emacs-25 installed outside portage. Can anyone say what that package actually does? It doesn't really do a thing - it only serves as a placeholder for functionality that can be provided by a number of different packages ... or in other words: There are multiple packages that could, in theory, provide virtual/emacs-24. app-editors/emacs-24.4-r1 would be one of them. You have told your system by means of package.provided that you have installed app-editors/emacs-24, so the system is validly assuming that you have something on your system satisfying virtual/emacs-24, and thus it shouldn't hurt to let portage install that virtual. portage(5) has this to say: Virtual packages (virtual/*) should not be specified in package.provided, since virtual packages themselves do not provide any files, and package.provided is intended to represent packages that do provide files. Depending on the type of virtual, it may be necessary to add an entry to the virtuals file and/or add a package that satisfies a virtual to package.provided. Greetings, Nils
Re: [gentoo-user] virtual/emacs-24
On Thu, 18 Dec 2014 19:06:32 -0500, Harry Putnam wrote: I didn't want to have the confusion of another version of emacs installed so resorted to use of: /etc/portage/profile/package.provided: like so: app-editors/emacs-24 To tell portage about my home rolled emacs Well, that knocks down most of the unwanted pkgs but still as you see: emerge -vp emacs-w3m [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 `virtual/emacs-24' still hanging in there I didn't learn enough googling to understand what having that virtual/emacs-24 installed would mean. Nothing really. Would it be possible headaches with emacs-25 installed outside portage. Unlikely Can anyone say what that package actually does? A virtual is a way for portage to have one of several option satisfy a dependency. It doesn't install anything but depends on one of a number of packages, in this case emacs and emacs-vcs. It means ebuild writers can depend on emacs but leave you the choice of which brand of emacs to use. Look at the ebuild, or look at the ebuild of virtual/editor to see what a mess ebuilds would be without virtuals. -- Neil Bothwick WinErr 018: Unrecoverable error - System has been destroyed. Buy a new one. Old Windows licence is not valid anymore. pgprJGVhJWXI0.pgp Description: OpenPGP digital signature
Re: [gentoo-user] virtual/emacs-24
On 12/18/2014 07:06 PM, Harry Putnam wrote: After reading a few google hits of gentoo documetation about virtual pkgs. I still didn't get it. In my case I'm trying to avoid problems with a self built emacs (25) not done thru portage. What are you trying to do, just get emacs-25 installed somehow? If that's your goal, we have an ebuild in the emacs overlay already: $ git clone git://git.overlays.gentoo.org/proj/emacs.git $ PORTDIR_OVERLAY=$(pwd)/emacs ACCEPT_KEYWORDS=** \ emerge -pv1 emacs-vcs
Re: [gentoo-user] virtual/emacs-24
On Dec 19, 2014, at 2:06, Harry Putnam rea...@newsguy.com wrote: Can anyone say what that package actually does? virtual/emacs-24 installs a directory emacs-24 under /var/db/virtual/ and it takes around 10sec. This dir is only used by portage to figure out what you have in your system. Run: equery g --depth=2 emacs-w3m And you'll probably understand better what virtuals do. -- -Matti