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 1NoVfr-0001WY-BC for garchives@archives.gentoo.org; Mon, 08 Mar 2010 05:38:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C599DE0968; Mon, 8 Mar 2010 05:38:31 +0000 (UTC) Received: from petteriraty.eu (host.petteriraty.eu [188.40.80.83]) by pigeon.gentoo.org (Postfix) with ESMTP id 7B113E0956 for ; Mon, 8 Mar 2010 05:38:12 +0000 (UTC) Received: from [82.130.46.229] (qob5.kyla.fi [82.130.46.229]) by petteriraty.eu (Postfix) with ESMTPSA id D9DE62629C for ; Mon, 8 Mar 2010 05:38:11 +0000 (UTC) Message-ID: <4B948D02.7010806@gentoo.org> Date: Mon, 08 Mar 2010 07:37:06 +0200 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.8.1.23) Gecko/20090916 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible References: <201003051359.58724.vapier@gentoo.org> <201003071336.39657.vapier@gentoo.org> <4B93F9AD.9020907@gentoo.org> <201003071644.37504.vapier@gentoo.org> In-Reply-To: <201003071644.37504.vapier@gentoo.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=B8E4ECF0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3D8E1EBE5B14F9B36BC09378" X-Archives-Salt: 9b4c4bb4-6b32-49dc-bf64-6eac127cc031 X-Archives-Hash: fd37f8ef4a85d6f5a33b0975b7d85370 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3D8E1EBE5B14F9B36BC09378 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/07/2010 11:44 PM, Mike Frysinger wrote: > On Sunday 07 March 2010 14:08:29 Petteri R=C3=A4ty wrote: >> On 03/07/2010 08:36 PM, Mike Frysinger wrote: >>> On Sunday 07 March 2010 13:31:56 Petteri R=C3=A4ty wrote: >>>> On 03/07/2010 07:42 PM, Mike Frysinger wrote: >>>>> On Saturday 06 March 2010 02:11:15 Petteri R=C3=A4ty wrote: >>>>>> On 03/05/2010 08:59 PM, Mike Frysinger wrote: >>>>>>> sometimes i have optional patches (ignoring the "patches should >>>>>>> always be applied") where autotools should be run. always >>>>>>> inheriting autotools is currently annoying because it always adds= >>>>>>> the related dependencies. USE based inherits are obviously out. >>>>>>> >>>>>>> so unless there's some burgeoning standard i'm not aware of, belo= w is >>>>>>> what i have in mind. packages set AUTOTOOLS_AUTO_DEPEND to "no" >>>>>>> before inheriting autotools.eclass and that allows them to put >>>>>>> ${AUTOTOOLS_DEPEND} behind a USE flag in their own DEPEND string.= >>>>>> >>>>>> What we use in Java is JAVA_PKG_OPT_USE to declare what use flag t= he >>>>>> DEPENDs should be under. This approach doesn't allow the ebuild >>>>>> maintainer to forget adding the depends. >>>>> >>>>> i'm more inclined towards Jonathan's opinion, so ive kept the propo= sed >>>>> behavior (plus a fix from Torsten). >>>> >>>> And what about my latest response to him? >>> >>> considering your proposal saves ${FOO} in DEPEND, it hasnt changed my= >>> opinion >> >> Why would it be better to require ebuild writers to have do it >> themselves instead of the eclass automatically taking care of it? >=20 > as Jonathan mentioned, it gives explicit control via multiple USE flags= which=20 > your way does not > -mike I already said both can be implemented. Regards, Petteri --------------enig3D8E1EBE5B14F9B36BC09378 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJLlI0HAAoJEPeUsk245OzwctcP/1rUEwBRqWnL6i+CeufnXf0c g0VyTMvYBzXdpEiJu/R7Prc27zkQIT61eJ5o/1kEV59BOlztTuADsbLaq7nNNPgS lu2PNfIWGU2KtvEedz7s5Ln40FcYEVSAlbbn0gqxv739HzuN/mUrh8LitC5r+Xn/ klIQ/N+dnpF2reyamhPCvFB5TN7ckupB7jx6G9Kug+TIoVr1qb7kQZ0fLrQNhD/e naUuTd8So0Wl88A2rSMX6lLfSxdHEY7xykn7gPac6z4koQLIn/3RMsGx631sHr5d cspfsVOO0X5Jbyn3qOSdFIHC7RzCame782cXV91tcKAmMXAXEwyQWYfIg82WUXcI 1dT6b1KFoFq0XXSLlrWk2U6q8DyXCMBGzmoIAdbxIgiNxe6raWfcZ36gDrm1oAxJ LAo2VyCP4trcql6ASlm9izLBbpHlJAXhRbmpMpF9LZ4y4McTNo+bYd+THVUqz9G3 +9BFqeWT8BB+tI6352YzorJHDpCvqrc+v2+811Gsm1ZykLtZwCZRCRREa7V2LLhR DwFwR4JeVEKfePSOO1ajCaxyFOGWUVwZlhmqwIdBMLWYIXh7tTewMwvzsQajwClV BqwvU5ODnXCEj1hP2H4mENDiTNuN1PTzfjYfwFYZPTn7Uml4WOOw7A5KUkyvkHYg zEgVo4tyOV5+njuLDwiF =CXrb -----END PGP SIGNATURE----- --------------enig3D8E1EBE5B14F9B36BC09378--