From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SNTuc-0000dR-6t for garchives@archives.gentoo.org; Thu, 26 Apr 2012 18:59:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7CF7E0856; Thu, 26 Apr 2012 18:59:11 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 82058E0829 for ; Thu, 26 Apr 2012 18:58:15 +0000 (UTC) Received: by werm13 with SMTP id m13so1142786wer.40 for ; Thu, 26 Apr 2012 11:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=oLiRxkUwzKZi6KU0WaKK7dfrxFWJSw2CZtaZB/o+LrI=; b=tEPbA1C7ZTDeXDEWqGG9lQYHtGyLBCz0hLtWYcWNbHgZX3Fb+OyvCBmWNkK+W+ODms r0xw1JtNKb2CRS6O4bHxB8lpDg/Lb3HU8IAb8rUR7NHWjcSulY++I5/en+N1zIOyk0FX CE0AE7uF8KOoBC4LcyHtmwxREYv42oxvAAhWCdCwo3R82qfrbA8hMfS5Db6tixqPkKAz GDyQcQjQnWuh9XFuP4CUEeeusGmL2Df9i1Dei9FNWnSX2hfv1TSVzOHMTwb0+L0J/0KX fbVuw6/t2PTKVYVjX1xVPynRt1JBEP1+t74AhpVa4LfK5BreKmnxwdc12HxEzlsTpRQ/ fTIQ== Received: by 10.180.24.66 with SMTP id s2mr571640wif.7.1335466694723; Thu, 26 Apr 2012 11:58:14 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id l5sm46587554wia.11.2012.04.26.11.58.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 11:58:14 -0700 (PDT) Date: Thu, 26 Apr 2012 19:55:52 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Making user patches globally available Message-ID: <20120426195552.52cdd1fa@googlemail.com> In-Reply-To: <20120426205002.50f327e3@pomiocik.lan> References: <20120415021641.1858ffde@gentoo.org> <4F8A885C.3050508@gentoo.org> <20120418185913.3d2fa68f@epia.jer-c2.orkz.net> <201204181340.00474.vapier@gentoo.org> <20120418184138.50153e57@googlemail.com> <4F8F05E9.5070103@gentoo.org> <4F8F0929.2010109@googlemail.com> <4F8F18EC.3000707@gentoo.org> <4F8F3513.2060202@googlemail.com> <20120425224433.2fa0f2de@gentoo.org> <20120426202759.2cf7295e@pomiocik.lan> <4F999759.9020805@gentoo.org> <20120426205002.50f327e3@pomiocik.lan> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/97HcCzYhoy4Jrz/cg7Ofl=6"; protocol="application/pgp-signature" X-Archives-Salt: b7066f83-232b-4eba-b817-5eef9fc36d21 X-Archives-Hash: 9e7357adacd55096400f3c4d26c45826 --Sig_/97HcCzYhoy4Jrz/cg7Ofl=6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 26 Apr 2012 20:50:02 +0200 Micha=C5=82 G=C3=B3rny wrote: > > So the package manager is supposed to interact with an eclass > > function? That's pretty ugly. Why not just roll out a quick EAPI 5 > > that adds support for the "apply_user_patches_here" approach [1]? > >=20 > > http://archives.gentoo.org/gentoo-dev/msg_c228be85e0c4e577ad194e6004d59= 062.xml >=20 > 1) Because it's ugly hack, Awww. You say that about everything with my name on it. > 2) it will have to interact with epatch_user anyway (at least to avoid > applying patches twice), > 3) it will work only for new/modified ebuilds so won't differ at all > from using epatch_user(). Not if we kill epatch_user... Not like it works properly anyway, and it's better to have a "works properly or not at all" feature than one that breaks randomly. The package mangler could even make it fatal (at pretend time, no less) if someone wants to apply user patches to an ebuild whose EAPI doesn't support it. --=20 Ciaran McCreesh --Sig_/97HcCzYhoy4Jrz/cg7Ofl=6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk+ZmjwACgkQ96zL6DUtXhFllwCdFUnO0Hc46srPslGCx6fmQ6Rb f6sAn164Z7girIDXoV8qJY+emjihK5F0 =26ur -----END PGP SIGNATURE----- --Sig_/97HcCzYhoy4Jrz/cg7Ofl=6--