From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JCJK0-0005ja-Rf for garchives@archives.gentoo.org; Tue, 08 Jan 2008 18:37:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6735E0C01; Tue, 8 Jan 2008 18:36:38 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by pigeon.gentoo.org (Postfix) with ESMTP id EA1B8E0A87 for ; Tue, 8 Jan 2008 18:36:37 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id 18so16109226fkq.2 for ; Tue, 08 Jan 2008 10:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=eJY/+w9UhQJMZ4USHOr4w3N4ZCoME2mfbGI8LcQXgH8=; b=pv091CD4nUF8PZpiSUSzVvorInl9CAvUv6ljNIE8CaVOlESXTkr7tBoFfMvgFE8KM5LjPAsWPykeYzLnG7Doq5CIzPZcutLKvT/U8vGvnWvkxrgFmwdlddiMNVXitanOKia4WqmCPQtOauHzO2O4IcYnRDsVG1boTj0jJnJoqos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=LQ7A0MfpEKad3hn1n4b63AWiPIQq7n1jFgU7Jdwl7EYvYyaZaS94uzzwdJwlp+aEru8mwpoRPSh0WUta17x1PXUeckEXSvVk2dB7UTBJMAGfs6hJA9/bFlCpZyeuOcrqAuBhSwkrx5xWS27UWqTHOoLxdELRGO+xWX5Y2qdOa64= Received: by 10.78.139.14 with SMTP id m14mr25269349hud.25.1199817397063; Tue, 08 Jan 2008 10:36:37 -0800 (PST) Received: from ?10.0.0.3? ( [41.243.198.252]) by mx.google.com with ESMTPS id h1sm30491522nfh.20.2008.01.08.10.36.34 (version=SSLv3 cipher=OTHER); Tue, 08 Jan 2008 10:36:36 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] package.provided Date: Tue, 8 Jan 2008 20:23:58 +0200 User-Agent: KMail/1.9.7 References: <20080108143527.176caf14@ilievnet.com> <200801081511.09859.alan.mckinnon@gmail.com> <20080108171815.456f6eca@ilievnet.com> In-Reply-To: <20080108171815.456f6eca@ilievnet.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801082023.58779.alan.mckinnon@gmail.com> X-Archives-Salt: bfa82e20-37ad-494b-b595-76aebcabebb3 X-Archives-Hash: c803649b2c5ef8250c9f066761ece855 On Tuesday 08 January 2008, Daniel Iliev wrote: > On Tue, 8 Jan 2008 15:11:09 +0200 > > Alan McKinnon wrote: > > A much better way would be to modify the ebuild to do what you > > want, then copy it to a local overlay. Portage will use your > > overlay in preference to the portage tree. You just have to then > > watch out for newer versions to hit the tree which will supercede > > your custom ebuild, and modify those new versions similarly. > > Yes, may be it's time for me to learn how to write an ebuild. My > problem is that it seems to me too much work just to maintain a > few occasional packages locally. ;-) It is a reasonable amount of work to read the man pages and so on, but I found it was well worth the trouble. Now when I read an ebuild I understand what I'm seeing, before it was just meaningless stuff. Am I correct in saying you plan to emerge mplayer with a few extra params and not much else customizing? In that case the mods you will make are simple and need to be done just once. Then paste the same changes into a new ebuild each time you want to upgrade > > There's an environment variable EXTRA_ECONF intended for *users* to > > add extra configure options when emerging, but I have heard bad > > things about using this. Don't know the details, perhaps someone > > else who does will post in response. > > Yes, I'm aware of EXTRA_ECONF and I use it via /etc/portage/bashrc. > ( explained w/ example by Mr. Bo Andresen: http://tinyurl.com/39c74x > ) It never caused problems here. Interesting. I must find out more :-) > I want to change the "./configure --params" for sure but perhaps I'd > need to alter several source files. I'm not sure if > /etc/portage/bashrc could do the work in the latter case but it's an > idea that never occurred to me before and I'm going to explore. > > > Finally, you could just mask out mplayer entirely and build it from > > source using the default DESTDIR of /usr/local. It's not a complete > > unistall solution, but at least it doesn't collide with portage's > > installs in /usr/ > > Why mask? Just a safety net really, in case you one day forget and run 'emerge mplayer'. Not necessary for operation :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list