From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88335138350 for ; Mon, 10 Feb 2020 07:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 067F5E08D1; Mon, 10 Feb 2020 07:20:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 976CAE0897 for ; Mon, 10 Feb 2020 07:20:21 +0000 (UTC) Received: from pomiot (c142-245.icpnet.pl [85.221.142.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id BBCB434E986; Mon, 10 Feb 2020 07:20:01 +0000 (UTC) Message-ID: <2aada49cfb3fb19cb4cb4acdd01f3b2db7c92e1b.camel@gentoo.org> Subject: Re: [gentoo-dev] Inconsistent use of || preferences for www-client/elinks, links, lynx, w3m, and w3mmee From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: dotnet@gentoo.org, Fabian Groffen , nicolasbock@gentoo.org, swegener@gentoo.org, monsieurp@gentoo.org, zlogene@gentoo.org, x11@gentoo.org Date: Mon, 10 Feb 2020 08:19:57 +0100 In-Reply-To: References: <8bd7f75c-3fc4-d243-b7b5-352a5c8da979@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nIMmxI4sUMtTkmAHwun4" User-Agent: Evolution 3.32.5 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: ce2afba3-915f-405a-a50b-5da91784d93a X-Archives-Hash: 3319ff65a3667e75d6c50402d1a2c572 --=-nIMmxI4sUMtTkmAHwun4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2020-02-09 at 22:51 -0800, Zac Medico wrote: > On 2/9/20 10:44 PM, Micha=C5=82 G=C3=B3rny wrote: > > On Sun, 2020-02-09 at 22:30 -0800, Zac Medico wrote: > > > Hi all (especially package owners in CC), > > >=20 > > > In various packages we have inconsistent use of || preferences for > > > www-client/elinks, links, lynx, w3m, and w3mmee. This means that the > > > default preference depends on the combination of packages that one ha= s > > > installed and the order that one has installed them, leading to > > > unpredictable results. > > >=20 > > > Here is a list of relevant packages and their dependencies: > > >=20 > > > app-text/docbook-sgml-utils: || ( www-client/lynx www-client/links > > > www-client/elinks virtual/w3m ) > > > app-text/sgmltools-lite: || ( www-client/w3m www-client/lynx ) > > > app-text/xmlto: || ( virtual/w3m www-client/lynx www-client/elinks ) > > > dev-lang/mono: || ( www-client/links www-client/lynx ) > > > mail-client/mutt: || ( www-client/lynx www-client/w3m www-client/elin= ks ) > > > mail-client/neomutt: || ( www-client/lynx www-client/w3m www-client/e= links ) > > > net-irc/irssi: || ( www-client/lynx www-client/elinks ) > > > sys-fs/gt5: || ( www-client/links www-client/elinks www-client/lynx ) > > > x11-base/xorg-server: || ( www-client/links www-client/lynx www-clien= t/w3m ) > > >=20 > > > How about if we create some more virtuals to cover all of the relevan= t > > > cases? > >=20 > > I don't think that's a valid case for a virtual since those tools do no= t > > provide a consistent API for other packages. It just happens that some > > packages explicitly support multiple choices, and this is exactly what > > > > indicates. > >=20 > > The virtuals would really be arbitrary here. Developers would > > repeatedly fail to use them because they wouldn't naturally expect > > the virtual to exist. >=20 > In that case, I suppose we'll have to apply consistency manually? Can we > all agree on a global order of preference for the relevant packages? That would be my idea, yes. I'd suggest going for the 'lightest' package first. Would you be able to figure out some kind of measure on how heavy each of those packages is? I suppose we need to account for build time and dependencies. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-nIMmxI4sUMtTkmAHwun4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl5BBB1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA6HzAf+IbD4JxDApWX59aEI8XCzESYRoioZrB909R4a7zvKq1ExjNBWQaiJbuyG eVfVuEOyetxJnJ002HIHaMK5q2qxtbKHpnauMIhdIRdCIBL/VuLh5sebrIC28unu 8uDSWlSFnKUYvNenjPh7TZgmIQW3FPDMl9I8V0W7MQunPTWBXNBK9c4Tkpeory0x sOA++ZiLO+tmYIrhMoAxigbB+DUY1yqeDEdpRs4vJuQ3alI9Y4Tn3ZqhYxe+tEwT 1yi6Iwr8cvUMwPtqbBp63tBJoBLQV8P+BsKrsUUj6gr4zzPYYP7vK00KZ7yVemLf E5AiFZMXNKntLkykQD703n2MPh0TdQ== =Eln4 -----END PGP SIGNATURE----- --=-nIMmxI4sUMtTkmAHwun4--