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 1Sfy9h-0005Qb-6W for garchives@archives.gentoo.org; Sat, 16 Jun 2012 18:55:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC296E06BE; Sat, 16 Jun 2012 18:55:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 71E24E062B for ; Sat, 16 Jun 2012 18:54:22 +0000 (UTC) Received: from [192.168.1.33] (94.Red-2-137-224.dynamicIP.rima-tde.net [2.137.224.94]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 20FC01B4010 for ; Sat, 16 Jun 2012 18:54:20 +0000 (UTC) Subject: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual From: Pacho Ramos To: gentoo-dev@lists.gentoo.org In-Reply-To: <4FDCC878.90907@gentoo.org> References: <1339862347.7815.37.camel@belkin4> <4FDCC878.90907@gentoo.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Rkq+39XksjiQZRhUkBvI" Date: Sat, 16 Jun 2012 20:54:17 +0200 Message-ID: <1339872857.7815.67.camel@belkin4> 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 X-Mailer: Evolution 2.32.3 X-Archives-Salt: 0c686787-9a6e-4438-b195-cded1f6e3fd8 X-Archives-Hash: 212ba2605a41aa7154c28e496374ae2d --=-Rkq+39XksjiQZRhUkBvI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El s=C3=A1b, 16-06-2012 a las 20:55 +0300, Samuli Suominen escribi=C3=B3: > On 06/16/2012 06:59 PM, Pacho Ramos wrote: > > This was noticed recently when getting: > > https://bugs.gentoo.org/show_bug.cgi?id=3D420569 > > > > Also hit this problem today while trying to bump bluez and noticed we > > are using elog messages to tell people to manually install > > net-dialup/ppp if they want ppp working with bluez. > > > > I am unsure about the disadvantages of simply using, for example, "ppp" > > USE flag to do that. One important disadvantage of current "elog messag= e > > way" is that: > > 1. We rely in people reading the message to get package working ok. > > 2. If user emerges ppp, it will be recorded in world file and, then, if > > in the future he removes bluez, emerge --depclean want clean no longer > > needed ppp and then, people end up with a lot of packages they needed t= o > > manually emerge some year but that they problem no longer need at all. > > > > Thanks for your thoughts > > >=20 > why not get this finally entirely out of the way: >=20 > suggested/recommended dependencies support, like SDEPEND,=20 > http://bugs.gentoo.org/327701 >=20 > as in, threat them as RDEPEND if user has the option to pull them in=20 > enabled, otherwise print an uniformed postinst message >=20 > as a bonus, this solution would also allow USE dependencies to work and= =20 > would replace some cases of 'has_version foo/bar[use]' >=20 > - Samuli >=20 >=20 Looks fine to me, this must be the previous solution referred by mgorny, but fail to see any comment there about that disadvantages that this solution could have :/ --=-Rkq+39XksjiQZRhUkBvI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk/c1lkACgkQCaWpQKGI+9TeKACfbfVd1eWkJxsDQZ8FQ6yIXxQO NIUAn3FL4ZYehaYDt8VupeDVgjfQi6hs =dHni -----END PGP SIGNATURE----- --=-Rkq+39XksjiQZRhUkBvI--