[EMAIL PROTECTED] wrote:
> I've just started to use layman tools and wondered if setting such
> things as /etc/portage/package.use would still be done in that same
> place and same way?

I think yes.

> 
> I want to install an overlay of emacs-cvs but with different use flags

I would say there is no problem, because in /etc/portage/package.use you
can decide what version with what flags.

> 
> I'm following along with the instruction at:
> http://www.enigmacurry.com/2007/05/24/multi-tty-emacs-on-gentoo-and-ubuntu/
> 
> On my laptop I run Gentoo Linux. Getting the latest version of Emacs on 
> Gentoo was a breeze! :
> 
>     * Setup Layman
>     * Add the emacs overlay: sudo layman -a emacs
>     * Add the following USE flags for app-editors/emacs-cvs: sudo
>       flagedit app-editors/emacs-cvs X Xaw3d alsa gif gzip-el jpeg
>       lesstif png sound spell tiff toolkit-scroll-bars xpm -gtk
>       -hesiod -motif -source.
>     * GTK support is explicitly turned off as it causes problems with
>       multi-TTY. This is no biggie for me as I always have
>       (menu-bar-mode -1) and (tool-bar-mode -1) set.
>     * Emerge: sudo emerge emacs-cvs -va
>     * Tell the system to use the new emacs: sudo eselect emacs set 
> emacs-23-multi-tty
> 
> 
> To get emacs-multitty set up.  It isn't really clear what role layman
> plays in those instructions since the final command is
>   emerge emacs-cvs

That's, so far I that understand, the advantage for
using overlays.

> 
> Or will that automatically use the layman overlays.

Yes. Because emacs-cvs is in the portage-tree but masked.

> 
> Or maybe the author assumes I don't already have emacs installed from
> /usr/portage.

If you want to install emacs-cvs from the portage tree, you have to
unmask this package:

$ emerge -atv emacs-cvs

These are the packages that would be merged, in reverse order:

Calculating dependencies /
!!! All ebuilds that could satisfy "app-editors/emacs-cvs" have been masked.
!!! One of the following masked packages is required to complete your
request:
- app-editors/emacs-cvs-23.0.9999 (masked by: ~x86 keyword)
- app-editors/emacs-cvs-23.0.50_pre20080201 (masked by: ~x86 keyword)
- app-editors/emacs-cvs-22.2.9999 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

> 
> I realize this is a little offhanded since its asking advice about 2nd
> party instructions.  But I have no experience whatever with layman or
> using overlays at all.  So thought maybe better to ask here than
> directly to the author of those instructions.
> 

That's the way I see it.

W. Canis

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to