From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9910F1385B3 for ; Sat, 22 Aug 2015 14:32:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE35E14212; Sat, 22 Aug 2015 14:32:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E071141A1 for ; Sat, 22 Aug 2015 14:32:24 +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 71F2B34096F for ; Sat, 22 Aug 2015 14:32:23 +0000 (UTC) Date: Sat, 22 Aug 2015 15:32:12 +0100 From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] games.eclass Message-ID: <20150822153212.56561540@symphony.aura-online.co.uk> In-Reply-To: <55D858BE.90902@gentoo.org> References: <20150820194244.622b8f86.mgorny@gentoo.org> <55D6524C.7020201@gentoo.org> <21974.51794.830903.356097@a1i15.kph.uni-mainz.de> <55D73F52.9030402@gentoo.org> <55D77F0F.3070601@gentoo.org> <20150821220924.7b642295@symphony.aura-online.co.uk> <55D825C1.2080507@gentoo.org> <55D858BE.90902@gentoo.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; 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_/lHQg5JSAg4S6vjSzw4zAozO"; protocol="application/pgp-signature" X-Archives-Salt: 0f432695-f7b7-40a0-acf7-ed727fd5f6c3 X-Archives-Hash: da7e224aed42d0fc15f36c4bdbd2f029 --Sig_/lHQg5JSAg4S6vjSzw4zAozO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 22 Aug 2015 13:10:54 +0200 hasufell wrote: Great response, thanks! > Because of that, I provide a 'bundled-libs' USE flag for almost all > proprietary games I package (e.g. those from GOG). So in case > something breaks, the user can still opt-out of all this. I like unbundling but I also like this compromise. I wrote a wrapper for launching Minecraft that allows the libraries to be unbundled but because Minecraft updates are automatically downloaded by the official launcher, I had to make it resilient to new dependencies suddenly appearing and I also had to make it easy to disable entirely in the event of problems. As things stand, it is woefully out of date due to my other Java duties but I'll get there. > Data ebuilds with cdinstall and optional gog sources are already > available, see > https://gitweb.gentoo.org/repo/gentoo.git/tree/games-fps/duke3d-data/duke= 3d-data-1.0-r2.ebuild > https://gitweb.gentoo.org/repo/gentoo.git/tree/games-rpg/arx-fatalis-data= /arx-fatalis-data-1.21-r2.ebuild REQUIRED_USE=3D"^^ ( cdinstall gog )" That is great use of REQUIRED_USE. Last time I looked at this, REQUIRED_USE didn't exist so I hadn't seen any examples but this is exactly what I would have done. > About data ebuilds... they make sense when at least some of these > points are true: > * data is very very big (you don't want extract 8GB just because you > changed an engine USE flag) > * upstream provides the engine and the data separately anyway > * upstream sometimes bumps the data without bumping the engine or > vice versa > * we have a lot of data-specific USE flags (you don't want to > recompile the whole engine just because you are trying different > music-packs) > * the data portion uses the cdinstall USE flag (you definitely want to > decrease the number of times users have to look for their CD...) >=20 > In some cases, we are forced to make data ebuilds anyway, e.g. when > you have opensource engines for proprietary games. >=20 > But there's no reason to split off -data ebuilds for every possible > package. It's done if it makes sense and doesn't overcomplicate ebuild > development and user-side configuration/installation. I'm pleased to say I was thinking along the same lines. This gives me confidence that I could contribute games without upsetting anybody, be it alone or part of a team. --=20 James Le Cuirot (chewi) Gentoo Linux Developer --Sig_/lHQg5JSAg4S6vjSzw4zAozO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1 iQJ8BAEBCgBmBQJV2IfsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kH/YP/0d2QFw+tN18N/eQDj8cSW9z pZQuTVe6oPo2eFU438i/ci9jHU8lnD8xRTu+ZUhFEWKHO/j1pggMxq9qz2Sc5iaw xsFNAYXUWm2AqOeDyWlE2/25/QVpmTTvKTtUHresnPSuu6laqrMCLwbavnEBArVC 0ilO3Z3ZgmmGW53KKu5u6CE7pbLVFWar8GkN4vcY9lwuPWleW3+7FryAUifdgKuO xuvwhOzrt6xdsUj2pAbkjprrJYOCpeglNEle430jPaARiJeKhOzocR+BoMrLWskG 0TrGlXMyntYFdqD6ifqUlv6nj81aj2buXCgjKyNZj7mbltLrjaVa178RzX2wiD9I NC/Ri+yRmeLoMEqsvEVjQGNawnYkgKUS2HF5x40goK5nfNfy4pYB42MOXhuktlHA D6gA3K7bKup+j99ljz6H1vUAlyw4n75eYrgG5aovA5VCJ94D11lohIXh2ixNXqQJ pY6WjURFx8os1Sa4ALfVhXxbwh3mJuXr0Z8lgHQE5rjIg/1uFGFTtO0FNQ1rDg8B iemr/0JAMLQU97R3DpiD5s5+oiwQQQ/xqt1ywaoQp42VBhLkgHjybEdWb4YD3+Q8 7Iic8zwvsDDCy3NpcUdnzLeaEBh3JKNcKIwrU9vQ9ZRTdw2//faWDXrBoW76CKvk ifqqh4BR5sMmtk9zv5UR =+CCU -----END PGP SIGNATURE----- --Sig_/lHQg5JSAg4S6vjSzw4zAozO--