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 156C5139694 for ; Tue, 18 Apr 2017 21:02:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B6BBE0E63; Tue, 18 Apr 2017 21:02:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2397E0E50 for ; Tue, 18 Apr 2017 21:02:09 +0000 (UTC) Received: from symphony.aura-online.co.uk (154.189.187.81.in-addr.arpa [81.187.189.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chewi) by smtp.gentoo.org (Postfix) with ESMTPSA id 28A1F340AC7 for ; Tue, 18 Apr 2017 21:02:07 +0000 (UTC) Date: Tue, 18 Apr 2017 22:01:50 +0100 From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] cdrom.eclass: Near rewrite Message-ID: <20170418220150.4d452888@symphony.aura-online.co.uk> In-Reply-To: <22773.43390.576387.371630@a1i15.kph.uni-mainz.de> References: <20170417215359.30641-1-chewi@gentoo.org> <22773.43390.576387.371630@a1i15.kph.uni-mainz.de> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; 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-sha512; boundary="Sig_/MLE4Lk4QLx_v9jARVhs9kWf"; protocol="application/pgp-signature" X-Archives-Salt: e838c7f1-7591-440e-aa5d-9f505bac2c15 X-Archives-Hash: 5c0e8e2f32c53dc1502470d1b4dfd7f7 --Sig_/MLE4Lk4QLx_v9jARVhs9kWf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 18 Apr 2017 07:51:58 +0200 Ulrich Mueller wrote: > >>>>> On Mon, 17 Apr 2017, James Le Cuirot wrote: =20 >=20 > > If you've been wondering why I've been quiet of late (you have, > > right?!) then this is partly why. I'm not sure why I spent so long > > on an eclass that hardly anyone uses but it's utilised by many of my > > old favourite games. =20 >=20 > Wouldn't this be a good time to rethink the whole concept? By all our > standards, ebuilds shouldn't be interactive. AFAICS, cdrom.eclass is > the last remnant in the tree using PROPERTIES=3D"interactive". mgorny makes good points, it is indeed not quite that simple. I didn't actually notice the --accept-properties=3D-interactive feature until just now, that's pretty cool. Although I agree it should be avoided, there may be other uses for it in future. I'd still like to go ahead with my lgogdownloader plan (probably via a new src_fetch) and that may need it for entering credentials on rare occasions though there are other possibilities. > Maybe the eclass could be replaced by a utility that extracts the ISO > image and places it into DISTDIR, so that ebuilds could use regular > non-interactive unpacking? The additional disk space used shouldn't be > an argument any more with today's large disks. Don't assume everyone has such huge disks. ;) My main system isn't bad but that doesn't mean I want to waste the space on something like this. Many have written optical media off but I still have two big flight cases full of discs of various kinds nearby. No one is forced to use this stuff and it is possible to use it in a non-interactive manner similar to how you suggest. You can copy the files from the disc(s) and point CD_ROOT to this location in a per-package env file. --=20 James Le Cuirot (chewi) Gentoo Linux Developer --Sig_/MLE4Lk4QLx_v9jARVhs9kWf Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEEUo3mvYaRpDkf2i7UIcYyEpxtfeQFAlj2fr9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDUy OERFNkJEODY5MUE0MzkxRkRBMkVENDIxQzYzMjEyOUM2RDdERTQACgkQIcYyEpxt feRV1A//didUlLqwEf6RMwcUgjic10vbDx/zwP09h9hQBdltQS0HD20V8TZERLWW ICH2tBs2iV6dkdIU3L3SnC6+bwjsox9zP/+h5CM84rsllWWlKRunxAbzsxgfynPV 0pENbAgpLMsca0aoz86WekxvFohslWrdhX9st0D0SMuXy5fy5i8gpBf5k2VrJVH0 TYPmERkYn9yvRBBrx3quoS8cNXFi7QT/VJDLv5G7vIAnLohKyxSCqr2Tndxqmg8i eeVQtuD6OpD2CWS5f5viCBaVI9vlEOBboRfYnvCNViCoFEMdMnt+ZeHYiQGtr3B4 oYaN0/zM2Nd0vW8N73u9YSapyqFx7PxCHpLxrLSp/2s2FlQhxRtx8VXbiau7+tZ6 L4IBze4JK4mZg04EkM1OF7ZPK0XoYN8AxOodJ8rgF2qvtN3u1YhtPDlVMsI0Ulcx PmkxBEZEc96FJTIvZkaaWOSdy4aId+7dQFLWOUdsCmP3311CcRfdjZtiO7dYBuSH 5vdHfwcMfAAeKZG3kIgnhiFHIsRqF4RpELoFa+XyynJP/rrZnbkowhE+mescWcoR cSHUSAGx0WO6Nb01qxCt9A30ne/JN3N1/2qiO7w6McZEfULaqj1eJiIJkUyDTBxP i1BFYG6u9Wsn0CmSzS1yicD8JhIQVNcIBpJ8eiHVdR2kbT3FraM= =ppzI -----END PGP SIGNATURE----- --Sig_/MLE4Lk4QLx_v9jARVhs9kWf--