From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add warzone2100. Date: Sat, 18 Jun 2016 11:17:40 -0400 Message-ID: <87lh2234rv.fsf@openmailbox.org> References: <87wplpewtj.fsf@openmailbox.org> <20160617181226.GA10354@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEI0j-0007VL-Ck for guix-devel@gnu.org; Sat, 18 Jun 2016 11:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEI0e-00055C-1E for guix-devel@gnu.org; Sat, 18 Jun 2016 11:18:12 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:53985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEI0d-000531-IR for guix-devel@gnu.org; Sat, 18 Jun 2016 11:18:07 -0400 In-Reply-To: <20160617181226.GA10354@jasmine> (Leo Famulari's message of "Fri, 17 Jun 2016 14:12:26 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Leo Famulari writes: > On Wed, Jun 15, 2016 at 09:39:36PM -0400, Kei Kebreau wrote: >> * gnu/packages/games.scm (warzone2100): New variable. > > Cool, it's nice to see games like this continuing to be developed! > Indeed it is! Especially since it started out on proprietary consoles and such. >> + (inputs `(("fontconfig" ,fontconfig) > > Can you double-check that all these inputs are needed at run-time with > `guix gc --references`? > The binary links to all of the libraries, but doesn't seem to require the DejaVu fonts. I've also moved the unzip and zip binaries to native-inputs. >> + ("font-dejavu" ,font-dejavu) >> + ("freetype" ,freetype) >> + ("fribidi" ,fribidi) >> + ("glew" ,glew) >> + ("libtheora" ,libtheora) >> + ("libvorbis" ,libvorbis) >> + ("libxrandr" ,libxrandr) >> + ("openal" ,openal) >> + ("physfs" ,physfs) >> + ("qt", qt-4) > > Can it run with qt-5? My understanding is that qt-4 is no longer > supported by upstream and is thus risky from a security perspective. We > are slowly working to eliminate dependencies on qt-4 in Guix. > > If it can't use qt-5, I guess it's okay, with a friendly bug report to > upstream :) > > If it can use qt-5, then it can take advantage of the modularization > that Efraim has been working on. It can't use qt-5 at the moment. Debian is still using the Qt4 script library and Arch Linux uses a Qt5 compatibility layer of some sort. An updated patch is attached for review. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-gnu-Add-warzone2100.patch Content-Transfer-Encoding: quoted-printable Content-Description: updated patch From=207e24cc9f998cb13330bbc1d38a3da638cc6135b6 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Sat, 18 Jun 2016 11:07:37 -0400 Subject: [PATCH] gnu: Add warzone2100. * gnu/packages/games.scm (warzone2100): New variable. =2D-- gnu/packages/games.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index b0bf4e3..4141d5e 100644 =2D-- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2396,3 +2396,54 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.") your way through an underground cave system in search of the Grue. Can you capture it and get out alive?") (license license:agpl3+))) + +(define-public warzone2100 + (package + (name "warzone2100") + (version "3.1.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/" name + "/releases/" version "/" name "-" version + ".tar.xz")) + (sha256 + (base32 + "0hm49i2knvvg3wlnryv7h4m84s3qa7jfyym5yy6365sx8wzcrai1")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'set-paths 'set-sdl-paths + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CPATH" + (string-append (assoc-ref inputs "sdl-union") + "/include/SDL")) + #t))))) + (native-inputs `(("pkg-config" ,pkg-config) + ("unzip" ,unzip) + ("zip" ,zip))) + (inputs `(("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("fribidi" ,fribidi) + ("glew" ,glew) + ("libtheora" ,libtheora) + ("libvorbis" ,libvorbis) + ("libxrandr" ,libxrandr) + ("openal" ,openal) + ("physfs" ,physfs) + ("qt", qt-4) + ("quesoglc" ,quesoglc) + ("sdl-union" ,(sdl-union)))) + (home-page "http://wz2100.net") + (synopsis "3D Real-time strategy and real-time tactics game") + (description + "Warzone 2100 offers campaign, multi-player, and single-player skirmi= sh +modes. An extensive tech tree with over 400 different technologies, combin= ed +with the unit design system, allows for a wide variety of possible units a= nd +tactics.") + ; Everything is GPLv2+ unless otherwise specified in COPYING.NONGPL + (license (list license:bsd-3 + license:cc0 + license:cc-by-sa3.0 + license:expat + license:gpl2+ + license:lgpl2.1+)))) =2D-=20 2.8.3 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Kei (GPG Key: 4096R/E6A5EE3C19467A0D) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXZWYVAAoJEOal7jwZRnoNQaoP/jjnUOZa9fdk6EmL4xXDLHNl f6+b2tWizJfLGIs2MEseV/UN9GF2WVLjmVX1HkHKof+SKnxrzdhnEts17c81OXil wbwQPQVP18eS/WW3uvcUWiAXBqOluIHj7v2Cv3SXIQoufmsh+zSJCi9UrHmpvEp1 2oaHgqmYs8VMG6kumX98DxmoN84TfYXnc8JeUhDK25RXTnjDaiVx4UEmFovCOUfT YvN2MMzoU7+Z1H8o/rUUM81rjqzrHAzRi/4jp6C+YzIoqMCToY3d1v38CK+xzuUi XTNHPelgrSywny+8St5BtaGbnfXDiws+reMQ644iVlof6NKDz8lxn1pCLLgWfRi8 /t7cw/jiSNaN6/Pr5s32FD5ejNH+E++F9QG9yAEYrJpOlEviuUlGi+JoWZZGXxgM 0Af693X0ls0hCWMlq8qnzNXbjEwiRsjiNkjIuLvwhJc9fc3nSQFskI+Tw2oAWmkv S7hdg433Ou/jnYou5/FpbNOQ4de610T+SjCsBAnIcTTfRhXu4ezmemJWDAOVNbh8 DEWilesN4tnioICF9/X+UHP/3z02QdF2q5r4Z8UrSGBbf+UJZMvZ58PNGkx8gv9d Gy4wj/7DEWhLq6cK0+YyCoxyikDxac7UWFO9euBLkhhqw2yF/Z9wsy5Qu1K8fgvq a9CaGItmwSKX9UebDWKd =Cfzh -----END PGP SIGNATURE----- --==-=-=--