From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1GxQD3-0006b8-5O for garchives@archives.gentoo.org; Thu, 21 Dec 2006 15:51:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBLFovXG014212; Thu, 21 Dec 2006 15:50:57 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBLFlivY012307 for ; Thu, 21 Dec 2006 15:47:44 GMT Received: from [192.168.0.68] (unknown [217.221.237.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E7C7F64B3A for ; Thu, 21 Dec 2006 14:58:32 +0000 (UTC) Message-ID: <458AA10F.3050302@gentoo.org> Date: Thu, 21 Dec 2006 15:58:23 +0100 From: Timothy Redaelli User-Agent: Thunderbird 1.5.0.7 (X11/20060909) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] portage idea - auto embed user patches References: <458A9B09.7070804@area-b.msu.ru> In-Reply-To: <458A9B09.7070804@area-b.msu.ru> X-Enigmail-Version: 0.94.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9419885270D686580B98B787" X-Archives-Salt: f1f0c37f-6b7b-4a6e-a40a-1b4b8a541471 X-Archives-Hash: a39c89b85701b22056640fcfa4ca80dc This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9419885270D686580B98B787 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Alexander Zubkov wrote: > Hi! > I have some idea on extending portage building system (ebuild?). > Sometimes I'm (for example) want to apply custom patch to some package.= > This patch can do something unusual, that can not be accepted by > maintainers and I know this. But I like features in my patch and want i= t > to apply automatically when updating the package. Not to do it like thi= s: > $ ebuild /usr/portage/pkg-categoty/some-package/some-package-1.0 unpack= > $ cd /var/tmp/portage/pkg-categoty/some-package/work/... > $ patch -p1 < ~/my-patch-for-some-package > $ cd > $ ebuild /usr/portage/pkg-categoty/some-package/some-package-1.0 merge >=20 > It is lot of manual work. The idea is having an file, for example > /etc/portage/package.patch with contents like this: > =3Dpkg-category/some-package-1* /path/to/my-patch-for-some-package= >=20 > Of course, patches could fail in newer versions. But when I'll use that= > feature - I'll understand why it can be and it'll be more convenient to= > maintain it. You can use a bashrc script http://forums.gentoo.org/viewtopic-t-339019.h= tml --=20 Timothy `Drizzt` Redaelli - http://drizzt.bsdnet.eu/blog/ FreeSBIE Developer, Gentoo Developer, GUFI Staff There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson --------------enig9419885270D686580B98B787 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiqEU9LNSOuuNMUURAjRZAKCEynMluPessTjdTZVcJv4n6m2TXwCfTk0p RYO3wqYlmJFj7CPlSNH4Q2M= =Iyrg -----END PGP SIGNATURE----- --------------enig9419885270D686580B98B787-- -- gentoo-dev@gentoo.org mailing list