From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-14146-arch-gentoo-dev=gentoo.org@lists.gentoo.org>
Received: (qmail 3376 invoked from network); 18 Jul 2004 07:11:59 +0000
Received: from smtp.gentoo.org (156.56.111.197)
  by lists.gentoo.org with AES256-SHA encrypted SMTP; 18 Jul 2004 07:11:59 +0000
Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org)
	by smtp.gentoo.org with esmtp (Exim 4.34)
	id 1Bm5q2-00038j-LX
	for arch-gentoo-dev@lists.gentoo.org; Sun, 18 Jul 2004 07:11:58 +0000
Received: (qmail 4580 invoked by uid 89); 18 Jul 2004 07:11:58 +0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 8873 invoked from network); 18 Jul 2004 07:11:57 +0000
From: Andrew Ross <aross@westnet.com.au>
To: gentoo-dev@lists.gentoo.org
In-Reply-To: <20040718022325.A2570@netdirect.ca>
References: <20040718022325.A2570@netdirect.ca>
Content-Type: text/plain
Message-Id: <1090134854.7875.43.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 18 Jul 2004 17:14:14 +1000
Content-Transfer-Encoding: 7bit
Subject: Re: [gentoo-dev] Using stow inside portage
X-Archives-Salt: f8ce0ce0-8990-4432-9474-f3b7f9f8e786
X-Archives-Hash: 70281494ec927651a60893c607e43d25

On Sun, 2004-07-18 at 16:23, Chris Frey wrote:
> I looked briefly at the emerge build scripts, and it seems to me that it
> would be fairly easy to incorporate the usage of stow inside the
> portage system.

Are you talking about this (http://www.gnu.org/software/stow/stow.html)?

> econf() would need to be changed to read the --prefix directory from
> a portage-stow configuration file, and tack on the name of the package
> with version.
> 
> install and uninstall would need to be changed to call stow and stow -D
> if stow was in the USE flags.

I agree with vapier that an eclass would be the best way to implement
stow support. However, optional eclass inheritence makes DEPEND and IUSE
dynamic, which, IIRC, is currently a big no-no.

> This would allow people to maintain different versions of the same
> application on their systems at the same time.  Just stow/unstow at will
> to switch.

Isn't that the purpose of SLOTs?

Cheers

Andrew



--
gentoo-dev@gentoo.org mailing list