2014-12-15 05:50:18 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2014 Tomáš Čech <sleep_walker@suse.cz>
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 12:23:27 -05:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2021-07-16 10:50:56 -04:00
|
|
|
|
;;; Copyright © 2015, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
|
2018-07-05 14:47:24 -04:00
|
|
|
|
;;; Copyright © 2015, 2018 Alex Kost <alezost@gmail.com>
|
2017-03-26 20:00:42 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
|
2023-07-09 03:20:02 -04:00
|
|
|
|
;;; Copyright © 2016-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2020-09-09 20:12:53 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020 Kei Kebreau <kkebreau@posteo.net>
|
2019-04-14 08:45:06 -04:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2018-07-05 11:06:02 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Julian Graham <joolean@gmail.com>
|
2021-01-01 11:08:37 -05:00
|
|
|
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-08-11 12:56:28 -04:00
|
|
|
|
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2017-09-07 07:59:47 -04:00
|
|
|
|
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
2017-09-13 12:36:12 -04:00
|
|
|
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
2019-04-01 03:42:04 -04:00
|
|
|
|
;;; Copyright © 2017, 2019 Rutger Helling <rhelling@mykolab.com>
|
2022-08-09 15:23:22 -04:00
|
|
|
|
;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org>
|
2019-03-24 08:56:16 -04:00
|
|
|
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
2021-09-25 03:27:02 -04:00
|
|
|
|
;;; Copyright © 2019, 2020, 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
|
2019-12-11 09:33:44 -05:00
|
|
|
|
;;; Copyright © 2019 Jethro Cao <jethrocao@gmail.com>
|
2023-01-08 05:38:18 -05:00
|
|
|
|
;;; Copyright © 2020-2023 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2020-01-28 13:25:38 -05:00
|
|
|
|
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
|
2020-02-16 16:42:42 -05:00
|
|
|
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
2021-03-28 05:56:53 -04:00
|
|
|
|
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
2021-08-04 08:29:12 -04:00
|
|
|
|
;;; Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz>
|
2022-10-16 18:49:21 -04:00
|
|
|
|
;;; Copyright © 2020-2022 James Smith <jsubuntuxp@disroot.org>
|
2021-11-18 10:24:01 -05:00
|
|
|
|
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
|
2021-12-01 00:18:09 -05:00
|
|
|
|
;;; Copyright © 2021 Andy Tai <atai@atai.org>
|
2022-01-03 14:38:26 -05:00
|
|
|
|
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
|
2022-02-13 19:08:15 -05:00
|
|
|
|
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
2022-12-12 18:59:11 -05:00
|
|
|
|
;;; Copyright © 2022 dan <i@dan.games>
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
|
2014-12-15 05:50:18 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages game-development)
|
2021-09-18 13:47:12 -04:00
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip))
|
2020-05-02 11:51:21 -04:00
|
|
|
|
#:use-module (ice-9 match)
|
2015-01-19 15:12:52 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2014-12-15 05:50:18 -05:00
|
|
|
|
#:use-module (guix packages)
|
2022-06-17 10:01:32 -04:00
|
|
|
|
#:use-module (guix gexp)
|
2014-12-15 05:50:18 -05:00
|
|
|
|
#:use-module (guix download)
|
2016-01-29 16:17:45 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2019-03-24 08:56:16 -04:00
|
|
|
|
#:use-module (guix svn-download)
|
2017-06-05 18:47:16 -04:00
|
|
|
|
#:use-module (guix utils)
|
2014-12-15 05:50:18 -05:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-01-19 15:12:52 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-07-30 14:32:49 -04:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-11-17 04:17:46 -05:00
|
|
|
|
#:use-module (guix build-system scons)
|
2015-01-19 15:12:52 -05:00
|
|
|
|
#:use-module (gnu packages)
|
2023-05-09 10:06:34 -04:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages audio)
|
2017-08-05 11:56:29 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2019-05-23 12:54:27 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2021-09-18 13:47:12 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2017-06-18 13:45:17 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2022-08-13 08:28:50 -04:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2021-03-28 05:56:53 -04:00
|
|
|
|
#:use-module (gnu packages check)
|
2016-01-29 16:17:45 -05:00
|
|
|
|
#:use-module (gnu packages curl)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-12 20:18:15 -04:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2018-01-15 17:21:20 -05:00
|
|
|
|
#:use-module (gnu packages fltk)
|
2017-08-11 12:56:28 -04:00
|
|
|
|
#:use-module (gnu packages fonts)
|
2016-06-19 18:56:56 -04:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2017-06-05 15:22:01 -04:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2016-06-19 18:56:56 -04:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 08:48:47 -05:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2022-10-04 17:51:00 -04:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2021-06-10 05:59:51 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages gl)
|
2015-09-28 23:08:30 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2015-09-28 23:08:30 -04:00
|
|
|
|
#:use-module (gnu packages gnunet)
|
2017-08-11 12:56:28 -04:00
|
|
|
|
#:use-module (gnu packages graphics)
|
|
|
|
|
#:use-module (gnu packages graphviz)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2015-09-28 23:08:30 -04:00
|
|
|
|
#:use-module (gnu packages guile)
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages image)
|
|
|
|
|
#:use-module (gnu packages linux)
|
2022-10-04 17:51:00 -04:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages lua)
|
2017-08-05 11:56:29 -04:00
|
|
|
|
#:use-module (gnu packages m4)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2015-09-28 23:08:30 -04:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2016-07-30 14:32:49 -04:00
|
|
|
|
#:use-module (gnu packages music)
|
2015-09-28 23:08:30 -04:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
#:use-module (gnu packages networking)
|
2020-01-28 13:25:39 -05:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2016-07-30 14:32:49 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
2023-05-19 05:55:40 -04:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
2022-06-17 04:27:59 -04:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2021-10-09 05:17:37 -04:00
|
|
|
|
#:use-module (gnu packages readline)
|
2015-01-19 15:12:52 -05:00
|
|
|
|
#:use-module (gnu packages qt)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages sdl)
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
#:use-module (gnu packages speech)
|
2020-01-04 20:09:33 -05:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2018-07-14 09:19:07 -04:00
|
|
|
|
#:use-module (gnu packages stb)
|
2018-06-19 20:59:23 -04:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2020-02-16 16:42:42 -05:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages tls)
|
2016-07-30 14:32:49 -04:00
|
|
|
|
#:use-module (gnu packages video)
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2020-02-01 08:00:38 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2021-09-18 13:47:12 -04:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2016-01-29 16:17:45 -05:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2015-11-14 14:00:20 -05:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2017-09-07 07:59:47 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2018-01-16 15:49:22 -05:00
|
|
|
|
#:use-module (gnu packages xorg))
|
2014-12-15 05:50:18 -05:00
|
|
|
|
|
|
|
|
|
(define-public bullet
|
|
|
|
|
(package
|
|
|
|
|
(name "bullet")
|
2021-12-01 00:18:09 -05:00
|
|
|
|
(version "3.17")
|
2014-12-15 05:50:18 -05:00
|
|
|
|
(source (origin
|
2019-01-03 08:44:11 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bulletphysics/bullet3/")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-12-15 05:50:18 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-12-01 00:18:09 -05:00
|
|
|
|
"0x1ghxbkvqr910sp01sjf4hlfy4sdgn2jx2qf0dsi697bzq1f3mr"))
|
2019-01-03 08:44:11 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (find-files "build3" "premake*"))
|
|
|
|
|
(with-directory-excursion "examples/ThirdPartyLibs"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("Gwen" "clsocket" "enet" "glad" "imgui"
|
|
|
|
|
"lua-5.2.3" "midi" "minizip" "openvr"
|
|
|
|
|
"optionalX11" "serial" "zlib")))
|
2021-12-01 00:18:09 -05:00
|
|
|
|
|
2020-01-01 19:08:45 -05:00
|
|
|
|
;; Tests fail on linking, cannot find -lBussIK.
|
2019-01-03 08:44:11 -05:00
|
|
|
|
(substitute* "test/CMakeLists.txt"
|
|
|
|
|
((" InverseDynamics")
|
|
|
|
|
"../examples/ThirdPartyLibs/BussIK InverseDynamics"))
|
|
|
|
|
; (("SharedMemory") ""))
|
|
|
|
|
#t))))
|
2014-12-15 05:50:18 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2016-11-06 01:44:21 -05:00
|
|
|
|
(arguments
|
2019-01-03 08:44:11 -05:00
|
|
|
|
'(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DBUILD_CPU_DEMOS=OFF"
|
|
|
|
|
"-DBUILD_OPENGL3_DEMOS=OFF"
|
|
|
|
|
"-DBUILD_BULLET2_DEMOS=OFF"
|
2022-01-03 14:38:25 -05:00
|
|
|
|
;; openmw 0.47.0 requires bullet to be built with
|
|
|
|
|
;; double precision.
|
|
|
|
|
;; See <https://issues.guix.gnu.org/52953> for
|
|
|
|
|
;; more information.
|
|
|
|
|
"-DUSE_DOUBLE_PRECISION=ON"
|
2021-12-01 00:18:09 -05:00
|
|
|
|
;; Extras/BulletRoboticsGUI needs files from
|
|
|
|
|
;; ThirdPartyLibs
|
|
|
|
|
"-DBUILD_BULLET_ROBOTICS_GUI_EXTRA=OFF"
|
|
|
|
|
;; Extras/BulletRobotics needs files from
|
|
|
|
|
;; ThirdPartyLibs
|
|
|
|
|
"-DBUILD_BULLET_ROBOTICS_EXTRA=OFF"
|
2019-01-03 08:44:11 -05:00
|
|
|
|
(string-append "-DCMAKE_CXX_FLAGS=-fPIC "
|
|
|
|
|
(or (getenv "CXXFLAGS") "")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-failing-tests
|
2020-01-01 19:08:45 -05:00
|
|
|
|
;; These tests fail specifically after removing 3rd party code.
|
2019-01-03 08:44:11 -05:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/SharedMemory/CMakeLists.txt"
|
|
|
|
|
(("ADD_TEST") "# ADD_TEST"))
|
|
|
|
|
(substitute* "test/InverseDynamics/CMakeLists.txt"
|
|
|
|
|
(("ADD_TEST\\(Test_BulletInverseForward")
|
|
|
|
|
"# ADD_TEST(Test_BulletInverseForward"))
|
|
|
|
|
#t)))))
|
2016-11-06 01:44:21 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list glu libx11 mesa))
|
2018-01-16 16:08:48 -05:00
|
|
|
|
(home-page "https://pybullet.org/wordpress/")
|
2014-12-15 05:50:18 -05:00
|
|
|
|
(synopsis "3D physics engine library")
|
|
|
|
|
(description
|
|
|
|
|
"Bullet is a physics engine library usable for collision detection. It
|
|
|
|
|
is used in some video games and movies.")
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2022-10-04 17:51:00 -04:00
|
|
|
|
(define-public dds
|
|
|
|
|
(package
|
|
|
|
|
(name "dds")
|
|
|
|
|
(version "2.9.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dds-bridge/dds")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1iv09qic43nvla02lm8zgnkqpjgnc95p8zh3wyifmnmlh1rz02yj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src")))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; Configuration is done by copying the appropriate
|
|
|
|
|
;; make file in the working directory. There is no
|
|
|
|
|
;; configure script.
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-file "Makefiles/Makefile_linux_shared"
|
|
|
|
|
"Makefile")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; There is no "check" traget. We must compile
|
|
|
|
|
;; a "dtest" program and apply it on a data set.
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(install-file "libdds.so" "../test")
|
|
|
|
|
(with-directory-excursion "../test"
|
|
|
|
|
(copy-file "Makefiles/Makefile_linux"
|
|
|
|
|
"Makefile")
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
(invoke "make")
|
|
|
|
|
(invoke "./dtest" "-f" "../hands/list100.txt")))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; "install" target merely moves ".so" file around
|
|
|
|
|
;; the source directory. We install it in the store,
|
|
|
|
|
;; along with all shipped documentation (which cannot
|
|
|
|
|
;; be built from source unfortunately).
|
|
|
|
|
(lambda _
|
|
|
|
|
(install-file "libdds.so"
|
|
|
|
|
(string-append #$output "/lib"))
|
|
|
|
|
(let ((doc (string-append #$output
|
|
|
|
|
"/share/doc/"
|
|
|
|
|
#$name "-" #$version)))
|
|
|
|
|
(install-file "../LICENSE" doc)
|
|
|
|
|
(copy-recursively "../doc" doc)))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list gawk procps))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://privat.bahnhof.se/wb758135/")
|
2022-10-04 17:51:00 -04:00
|
|
|
|
(synopsis "Double dummy solver for the bridge card game")
|
|
|
|
|
(description "DDS is a double-dummy solver of bridge hands. It supports
|
|
|
|
|
single-threading and multi-threading for improved performance. DDS
|
|
|
|
|
offers a wide range of functions, including par-score calculations.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-03-18 16:21:31 -04:00
|
|
|
|
(define-public deutex
|
|
|
|
|
(package
|
|
|
|
|
(name "deutex")
|
2021-01-01 11:08:37 -05:00
|
|
|
|
(version "5.2.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/Doom-Utils/deutex"
|
|
|
|
|
"/releases/download/v" version "/"
|
|
|
|
|
"deutex-" version ".tar.zst"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0psb2za6ldrlak7s8pjvli98ij5yiwjx8j1ms2v7rj9yadx0xv8h"))))
|
2017-03-18 16:21:31 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-07-01 19:07:56 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng))
|
2020-07-01 19:07:56 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list asciidoc pkg-config zstd))
|
2017-03-18 16:21:31 -04:00
|
|
|
|
(home-page "https://github.com/Doom-Utils/deutex")
|
|
|
|
|
(synopsis "WAD file composer for Doom and related games")
|
|
|
|
|
(description
|
|
|
|
|
"DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can be
|
|
|
|
|
used to extract the lumps of a wad and save them as individual files.
|
|
|
|
|
Conversely, it can also build a wad from separate files. When extracting a
|
|
|
|
|
lump to a file, it does not just copy the raw data, it converts it to an
|
|
|
|
|
appropriate format (such as PPM for graphics, Sun audio for samples, etc.).
|
|
|
|
|
Conversely, when it reads files for inclusion in pwads, it does the necessary
|
|
|
|
|
conversions (for example, from PPM to Doom picture format). In addition,
|
|
|
|
|
DeuTex has functions such as merging wads, etc.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-06-18 13:45:17 -04:00
|
|
|
|
(define-public grfcodec
|
2023-04-17 16:34:22 -04:00
|
|
|
|
;; Latest release 6.0.6 requires an older boost and does not build with our
|
|
|
|
|
;; newer GCC.
|
|
|
|
|
(let ((commit "7ded8ebd1447bd2e7c0f4b587be0c0510397bdd0")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "grfcodec")
|
|
|
|
|
(version (git-version "6.0.6" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenTTD/grfcodec")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "12bf5y7d83plrlssdlcj83w4yxmg5jp1w2p8570l92hy9mkcfmb9"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
`(begin
|
|
|
|
|
;; The sources are not a git repository
|
|
|
|
|
(substitute* "generate_version.cmake"
|
|
|
|
|
(("\\$\\{GIT.*describe.*") (string-append "echo \"" ,version "\"\n"))
|
|
|
|
|
(("\\$\\{GIT.*show.*") "echo \"Not shown for reproducibility.\"\n"))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("find_package\\(Git REQUIRED\\)") ""))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install ;no install target
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
2020-06-10 11:33:58 -04:00
|
|
|
|
(for-each (lambda (file)
|
2023-04-17 16:34:22 -04:00
|
|
|
|
(install-file file bin))
|
|
|
|
|
'("grfcodec" "grfid" "grfstrip" "nforenum"))
|
|
|
|
|
(with-directory-excursion "../source"
|
|
|
|
|
(install-file "COPYING" doc)
|
|
|
|
|
(with-directory-excursion "docs"
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file (string-append file ".txt") doc))
|
|
|
|
|
'("auto_correct" "commands" "grf" "grfcodec" "grftut"
|
|
|
|
|
"readme" "readme.rpn"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file man))
|
|
|
|
|
(find-files "." "\\.1"))))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost libpng zlib))
|
|
|
|
|
(synopsis "GRF development tools")
|
|
|
|
|
(description
|
|
|
|
|
"The @dfn{Graphics Resource File} (GRF) development tools are a set of
|
2017-06-18 13:45:17 -04:00
|
|
|
|
tools for developing (New)GRFs. It includes a number of smaller programs, each
|
|
|
|
|
with a specific task:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @code{grfcodec} decodes and encodes GRF files for OpenTTD.
|
|
|
|
|
@item @code{grfid} extracts the so-called \"GRF ID\" from a GRF.
|
|
|
|
|
@item @code{grfstrip} strips all sprites from a GRF.
|
|
|
|
|
@item @code{nforenum} checks NFO code for errors, making corrections when
|
|
|
|
|
necessary.
|
|
|
|
|
@end enumerate")
|
2023-04-17 16:34:22 -04:00
|
|
|
|
(home-page "https://dev.openttdcoop.org/projects/grfcodec")
|
|
|
|
|
;; GRFCodec, GRFID, and GRFStrip are exclusively under the GPL2.
|
|
|
|
|
;; NFORenum is under the GPL2+.
|
|
|
|
|
;; The MD5 implementation contained in GRFID is under the zlib license.
|
|
|
|
|
(license (list license:gpl2 license:gpl2+ license:zlib)))))
|
2017-06-18 13:45:17 -04:00
|
|
|
|
|
2017-09-13 12:36:12 -04:00
|
|
|
|
(define-public catcodec
|
|
|
|
|
(package
|
|
|
|
|
(name "catcodec")
|
|
|
|
|
(version "1.0.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://binaries.openttd.org/extra/catcodec/"
|
|
|
|
|
version "/catcodec-" version "-source.tar.xz"))
|
|
|
|
|
(sha256
|
2020-05-26 19:47:31 -04:00
|
|
|
|
(base32 "1qg0c2i4p29sxj0q6qp2jynlrzm5pphz2xhcjqlxa69ycrnlxzs7"))))
|
2017-09-13 12:36:12 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags (list (string-append "prefix=" %output))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2020-05-26 19:47:31 -04:00
|
|
|
|
(home-page "https://dev.openttdcoop.org/projects/catcodec")
|
2017-09-13 12:36:12 -04:00
|
|
|
|
(synopsis "Encode/decode OpenTTD sounds")
|
|
|
|
|
(description "catcodec encodes and decodes sounds for OpenTTD. These
|
|
|
|
|
sounds are not much more than some metadata (description and filename) and raw
|
|
|
|
|
PCM data.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2015-09-28 23:08:30 -04:00
|
|
|
|
(define-public gzochi
|
|
|
|
|
(package
|
|
|
|
|
(name "gzochi")
|
2020-12-30 13:44:18 -05:00
|
|
|
|
(version "0.13")
|
2015-09-28 23:08:30 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/gzochi/gzochi-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-30 13:44:18 -05:00
|
|
|
|
"1vcvf04qqzs3q8kaild2x7qvkwc6bwzfsisb78147b8z747j7hj0"))))
|
2015-09-28 23:08:30 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2018-04-30 13:12:34 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'no-Werror
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't abort builds due to things like GLib
|
|
|
|
|
;; deprecation warnings.
|
|
|
|
|
(substitute* (find-files "." "^Makefile\\.in$")
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t)))))
|
2022-11-20 08:01:21 -05:00
|
|
|
|
(native-inputs (list pkg-config))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list bdb
|
|
|
|
|
glib
|
2022-11-20 08:01:21 -05:00
|
|
|
|
gmp
|
2021-12-13 11:18:24 -05:00
|
|
|
|
guile-3.0
|
|
|
|
|
libmicrohttpd
|
|
|
|
|
ncurses
|
|
|
|
|
sdl
|
|
|
|
|
zlib))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/gzochi/")
|
2015-09-28 23:08:30 -04:00
|
|
|
|
(synopsis "Scalable middleware for multiplayer games")
|
|
|
|
|
(description
|
|
|
|
|
"gzochi is a framework for developing massively multiplayer online games.
|
|
|
|
|
A server container provides services to deployed games, which are written in
|
|
|
|
|
Guile Scheme, that abstract and simplify some of the most challenging and
|
|
|
|
|
error-prone aspects of online game development: Concurrency, data persistence,
|
|
|
|
|
and network communications. A very thin client library can be embedded to
|
|
|
|
|
provide connectivity for client applications written in any language.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(define-public nml
|
|
|
|
|
(package
|
|
|
|
|
(name "nml")
|
2023-04-17 16:36:15 -04:00
|
|
|
|
(version "0.7.2")
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-23 10:12:54 -04:00
|
|
|
|
(uri (pypi-uri "nml" version))
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(sha256
|
2023-04-17 16:36:15 -04:00
|
|
|
|
(base32 "1kgzkv8pc0blck8c6iqq1idx1nrxyjw2vbnrdisnxizi6zds5l73"))))
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(build-system python-build-system)
|
2020-06-23 10:12:54 -04:00
|
|
|
|
;; TODO: Fix test that fails with
|
|
|
|
|
;; "AttributeError: partially initialized module 'nml.nmlop' has no
|
|
|
|
|
;; attribute 'ADD' (most likely due to a circular import)"
|
2019-09-07 14:09:25 -04:00
|
|
|
|
(arguments
|
2020-06-23 10:12:54 -04:00
|
|
|
|
'(#:tests? #f))
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pillow python-ply))
|
2020-06-23 10:12:54 -04:00
|
|
|
|
(home-page "https://github.com/OpenTTD/nml")
|
2017-06-18 13:44:43 -04:00
|
|
|
|
(synopsis "NML compiler")
|
|
|
|
|
(description
|
2017-06-22 12:32:22 -04:00
|
|
|
|
"@dfn{NewGRF Meta Language} (NML) is a python-based compiler, capable of
|
2017-06-18 13:44:43 -04:00
|
|
|
|
compiling NML files (along with their associated language, sound and graphic
|
|
|
|
|
files) into @file{.grf} and/or @file{.nfo} files.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-09-09 20:12:53 -04:00
|
|
|
|
(define-public python-sge
|
2017-05-10 12:27:42 -04:00
|
|
|
|
(package
|
2020-09-09 20:12:53 -04:00
|
|
|
|
(name "python-sge")
|
2021-05-09 18:49:18 -04:00
|
|
|
|
(version "2.0.post0")
|
2017-05-10 12:27:42 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-09-09 20:12:53 -04:00
|
|
|
|
(uri (pypi-uri "sge" version))
|
2017-05-10 12:27:42 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-09 18:49:18 -04:00
|
|
|
|
"0s5d5qzlzfmqb10iyrqi62n36ll94d99xjaznp5ca6dz1b91qkvr"))))
|
2017-05-10 12:27:42 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pygame python-uniseg))
|
2020-09-09 20:12:53 -04:00
|
|
|
|
(home-page "https://python-sge.github.io/")
|
2017-05-10 12:27:42 -04:00
|
|
|
|
(synopsis "2D game engine for Python")
|
|
|
|
|
(description
|
|
|
|
|
"The SGE Game Engine (\"SGE\", pronounced like \"Sage\") is a
|
2018-04-14 12:35:35 -04:00
|
|
|
|
general-purpose 2D game engine. It takes care of several details for you so
|
2017-05-10 12:27:42 -04:00
|
|
|
|
you can focus on the game itself. This makes more rapid game development
|
|
|
|
|
possible, and it also makes the SGE easy to learn.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2017-05-10 13:18:11 -04:00
|
|
|
|
(define-public python-tmx
|
|
|
|
|
(package
|
|
|
|
|
(name "python-tmx")
|
2017-08-31 10:14:12 -04:00
|
|
|
|
(version "1.10")
|
2017-05-10 13:18:11 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-06-05 18:47:16 -04:00
|
|
|
|
(uri (string-append "mirror://savannah/python-tmx/"
|
|
|
|
|
(version-major+minor version) "/tmx-"
|
2017-05-10 13:18:11 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-31 10:14:12 -04:00
|
|
|
|
"073q0prg1nzlkga2b45vhscz374206qh4x68ccg00mxxwagn64z0"))))
|
2017-05-10 13:18:11 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-six))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://python-tmx.nongnu.org")
|
2017-05-10 13:18:11 -04:00
|
|
|
|
(synopsis "Python library for the @code{Tiled} TMX format")
|
|
|
|
|
(description
|
|
|
|
|
"Python TMX reads and writes the @code{Tiled} TMX format in a simple way.
|
|
|
|
|
This is useful for map editors or generic level editors, and it's also useful
|
|
|
|
|
for using a map editor or generic level editor like Tiled to edit your game's
|
|
|
|
|
levels.")
|
|
|
|
|
(license (list license:asl2.0
|
|
|
|
|
;; Documentation (only available in the source tarball) is
|
|
|
|
|
;; under the CC0 license.
|
|
|
|
|
license:cc0))))
|
|
|
|
|
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(define-public python-xsge
|
|
|
|
|
(package
|
|
|
|
|
(name "python-xsge")
|
2020-09-09 20:40:40 -04:00
|
|
|
|
(version "2020.09.07")
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-09-09 20:40:40 -04:00
|
|
|
|
(uri (string-append "https://github.com/python-sge/xsge"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/xsge-" version ".zip"))
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-09 20:40:40 -04:00
|
|
|
|
"136xgy3f9vw636wxpqbha022avk0wyxw63mm3a2dvwhh90s716f9"))))
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; xSGE's setup.py script does not support one of the Python build
|
|
|
|
|
;; system's default flags, "--single-version-externally-managed".
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-07-26 23:30:14 -04:00
|
|
|
|
(invoke "python" "setup.py" "install"
|
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--root=/"))))
|
2017-05-31 17:56:33 -04:00
|
|
|
|
#:tests? #f)) ; no check target
|
2020-09-09 20:40:40 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list unzip))
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-sge))
|
2020-09-09 20:40:40 -04:00
|
|
|
|
(home-page "https://python-sge.github.io/")
|
2017-05-31 17:56:33 -04:00
|
|
|
|
(synopsis "Extensions for the SGE Game Engine")
|
|
|
|
|
(description
|
|
|
|
|
"xSGE is a collection of modules that make doing certain tasks with the SGE
|
|
|
|
|
Game Engine easier. In addition to SGE's conveniences, the user has access to a
|
|
|
|
|
GUI toolkit, lighting and physics frameworks and @code{Tiled} TMX format
|
|
|
|
|
support.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(define-public slade
|
|
|
|
|
(package
|
|
|
|
|
(name "slade")
|
2022-10-16 18:49:21 -04:00
|
|
|
|
(version "3.2.1")
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sirjuddington/SLADE")
|
|
|
|
|
(commit version)))
|
2022-10-16 18:49:21 -04:00
|
|
|
|
(sha256 (base32 "11ab38nv190lpvkdba5r2gckdrk4h15pri0zzslz7zy8qzg5fm18"))
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-10-16 18:49:21 -04:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list "-DWX_GTK3=ON" "-DNO_WEBVIEW=ON"
|
|
|
|
|
(string-append "-DWITH_WXPATH="
|
|
|
|
|
#$(this-package-input "wxwidgets") "/bin")
|
|
|
|
|
(string-append "-DwxWidgets_LIBRARIES="
|
|
|
|
|
#$(this-package-input "wxwidgets") "/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-with-x11-gdk-backend
|
|
|
|
|
;; Set GDK_BACKEND to x11 to prevent crash on Wayland.
|
|
|
|
|
;; See https://github.com/sirjuddington/SLADE/issues/1097 for
|
|
|
|
|
;; details.
|
|
|
|
|
(lambda _
|
|
|
|
|
(wrap-program (string-append #$output "/bin/slade")
|
|
|
|
|
'("GDK_BACKEND" = ("x11"))))))
|
|
|
|
|
#:tests? #f)) ;; No test suite.
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(inputs
|
2022-10-16 18:49:21 -04:00
|
|
|
|
(list bash-minimal
|
|
|
|
|
curl
|
|
|
|
|
fluidsynth
|
|
|
|
|
freeimage
|
|
|
|
|
ftgl
|
|
|
|
|
glew
|
|
|
|
|
gtk+
|
|
|
|
|
lua
|
|
|
|
|
mpg123
|
|
|
|
|
sfml
|
|
|
|
|
wxwidgets))
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config which zip))
|
2021-09-18 13:47:12 -04:00
|
|
|
|
(home-page "https://slade.mancubus.net")
|
|
|
|
|
(synopsis "Doom game data editor")
|
|
|
|
|
(description "SLADE3 is a modern editor for Doom-engine based games and
|
|
|
|
|
source ports. It has the ability to view, modify, and write many different game-
|
|
|
|
|
specific formats, and even convert between some of them, or from/to other generic
|
|
|
|
|
formats such as PNG.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(define-public tiled
|
|
|
|
|
(package
|
|
|
|
|
(name "tiled")
|
2022-09-01 09:18:58 -04:00
|
|
|
|
(version "1.8.6")
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(source (origin
|
2018-11-11 07:18:27 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2022-09-01 09:18:58 -04:00
|
|
|
|
(url "https://github.com/mapeditor/tiled")
|
2018-11-11 07:18:27 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-09-01 09:18:58 -04:00
|
|
|
|
"0iimfj4kbhmjk94586fqz11bk4i7v0zsxby8agx7450cqlh2y3zi"))))
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2017-05-25 04:00:04 -04:00
|
|
|
|
(inputs
|
2022-07-17 21:03:18 -04:00
|
|
|
|
(list qtbase-5 qtdeclarative-5 qtsvg-5 zlib))
|
2017-05-25 04:00:04 -04:00
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
|
(list qttools-5))
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
2016-03-01 06:34:12 -05:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
2017-05-25 04:00:04 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "translations/translations.pro"
|
|
|
|
|
(("LRELEASE =.*")
|
|
|
|
|
(string-append "LRELEASE = "
|
2022-08-07 22:15:13 -04:00
|
|
|
|
(search-input-file inputs "/bin/lrelease")
|
|
|
|
|
"\n")))
|
2016-03-01 06:34:12 -05:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2018-07-27 00:16:31 -04:00
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "PREFIX=" out))))))))
|
2019-06-06 00:04:33 -04:00
|
|
|
|
(home-page "https://www.mapeditor.org/")
|
2015-01-19 15:12:52 -05:00
|
|
|
|
(synopsis "Tile map editor")
|
|
|
|
|
(description
|
|
|
|
|
"Tiled is a general purpose tile map editor. It is meant to be used for
|
|
|
|
|
editing maps of any tile-based game, be it an RPG, a platformer or a Breakout
|
|
|
|
|
clone.")
|
|
|
|
|
|
|
|
|
|
;; As noted in 'COPYING', part of it is under GPLv2+, while the rest is
|
|
|
|
|
;; under BSD-2.
|
|
|
|
|
(license license:gpl2+)))
|
2015-04-26 16:38:43 -04:00
|
|
|
|
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(define-public tsukundere
|
|
|
|
|
(package
|
|
|
|
|
(name "tsukundere")
|
2022-10-23 09:07:56 -04:00
|
|
|
|
(version "0.4.3")
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-10-10 09:59:32 -04:00
|
|
|
|
(url "https://gitlab.com/lilyp/tsukundere")
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-10-23 09:07:56 -04:00
|
|
|
|
"1lq2rs33s6l6y0hwwkv8pppgq2ki0q5kzj11s90yivi8g8g201af"))))
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2021-01-28 07:17:06 -05:00
|
|
|
|
(arguments
|
2021-04-16 06:50:57 -04:00
|
|
|
|
`(#:modules ((ice-9 match)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
((guix build guile-build-system)
|
2021-01-28 07:17:06 -05:00
|
|
|
|
#:select (target-guile-effective-version))
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:imported-modules ((guix build guile-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-command
|
2021-04-16 06:50:57 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((scm (lambda (in)
|
|
|
|
|
(string-append in "/share/guile/site/"
|
|
|
|
|
(target-guile-effective-version))))
|
|
|
|
|
(ccache (lambda (in)
|
|
|
|
|
(string-append in "/lib/guile/"
|
|
|
|
|
(target-guile-effective-version)
|
|
|
|
|
"/site-ccache")))
|
|
|
|
|
(pkgs
|
|
|
|
|
(cons
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
(filter-map
|
|
|
|
|
(match-lambda
|
|
|
|
|
(("guile" . pkg) pkg)
|
|
|
|
|
((label . pkg)
|
|
|
|
|
(and (string-prefix? "guile-" label) pkg)))
|
|
|
|
|
inputs))))
|
2021-10-10 11:20:27 -04:00
|
|
|
|
(substitute* "tsukundere.scm"
|
2021-04-16 06:50:57 -04:00
|
|
|
|
(("exec guile (.*)" _ args)
|
2021-01-28 07:17:06 -05:00
|
|
|
|
(string-append
|
2021-10-10 11:26:21 -04:00
|
|
|
|
;; XXX: Prevent Guile-SDL2 from blowing up by not knowing
|
|
|
|
|
;; where the SDL2 libaries are.
|
|
|
|
|
"unset LD_LIBRARY_PATH\n"
|
2021-04-16 06:50:57 -04:00
|
|
|
|
(format #f "export GUILE_LOAD_PATH=\"~@?\"~%"
|
|
|
|
|
"~{~a~^:~}" (map scm pkgs))
|
|
|
|
|
(format #f "export GUILE_LOAD_COMPILED_PATH=\"~@?\"~%"
|
|
|
|
|
"~{~a~^:~}" (map ccache pkgs))
|
|
|
|
|
"exec "
|
|
|
|
|
(assoc-ref inputs "guile")
|
|
|
|
|
"/bin/guile " args)))
|
2021-01-28 07:17:06 -05:00
|
|
|
|
#t))))))
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(native-inputs
|
2021-02-22 10:43:10 -05:00
|
|
|
|
`(("autoconf" ,autoconf)
|
2020-10-15 06:20:41 -04:00
|
|
|
|
("automake" ,automake)
|
2021-06-10 05:59:51 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2020-10-15 06:20:41 -04:00
|
|
|
|
("guile" ,guile-3.0)
|
2021-10-10 11:20:27 -04:00
|
|
|
|
("libtool" ,libtool)
|
2021-01-28 07:17:06 -05:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2021-04-16 06:50:57 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile-sdl2" ,guile3.0-sdl2)
|
2021-10-10 11:20:27 -04:00
|
|
|
|
("guile" ,guile-3.0)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("sdl2" ,sdl2)))
|
2021-10-10 09:59:32 -04:00
|
|
|
|
(home-page "https://gitlab.com/lilyp/tsukundere")
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(synopsis "Visual novel engine")
|
|
|
|
|
(description "Tsukundere is a game engine geared heavily towards the
|
|
|
|
|
development of visual novels, written on top of Guile-SDL2. It is still
|
2021-01-28 07:17:06 -05:00
|
|
|
|
experimental.")
|
2020-10-15 06:20:41 -04:00
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(define-public sfml
|
|
|
|
|
(package
|
|
|
|
|
(name "sfml")
|
2018-10-24 22:23:31 -04:00
|
|
|
|
(version "2.5.1")
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(source (origin
|
2018-10-24 22:20:27 -04:00
|
|
|
|
(method git-fetch)
|
2015-09-20 04:07:00 -04:00
|
|
|
|
;; Do not fetch the archives from
|
|
|
|
|
;; http://mirror0.sfml-dev.org/files/ because files there seem
|
|
|
|
|
;; to be changed in place.
|
2018-10-24 22:20:27 -04:00
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/SFML/SFML")
|
2018-10-24 22:20:27 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-24 22:23:31 -04:00
|
|
|
|
"0abr8ri2ssfy9ylpgjrr43m6rhrjy03wbj9bn509zqymifvq5pay"))
|
2018-07-14 09:19:07 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Ensure system libraries are used.
|
|
|
|
|
(delete-file-recursively "extlibs")
|
|
|
|
|
#t))))
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2016-10-16 14:07:09 -04:00
|
|
|
|
'(#:configure-flags
|
2018-07-14 09:08:12 -04:00
|
|
|
|
(list "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE"
|
|
|
|
|
"-DSFML_OS_PKGCONFIG_DIR=lib/pkgconfig")
|
2016-10-16 14:07:09 -04:00
|
|
|
|
#:tests? #f)) ; no tests
|
2018-07-14 09:08:12 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libx11" ,libx11)
|
2015-07-31 11:55:29 -04:00
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
2015-04-26 16:38:43 -04:00
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("eudev" ,eudev)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-07-14 09:19:07 -04:00
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("stb-image" ,stb-image)
|
|
|
|
|
("stb-image-write" ,stb-image-write)))
|
2018-07-14 09:08:12 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; In Requires.private of pkg-config files.
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list flac freetype libvorbis openal))
|
2017-04-15 19:53:14 -04:00
|
|
|
|
(home-page "https://www.sfml-dev.org")
|
2015-04-26 16:38:43 -04:00
|
|
|
|
(synopsis "Simple and Fast Multimedia Library")
|
|
|
|
|
(description
|
|
|
|
|
"SFML provides a simple interface to the various computer components,
|
|
|
|
|
to ease the development of games and multimedia applications. It is composed
|
|
|
|
|
of five modules: system, window, graphics, audio and network.")
|
|
|
|
|
(license license:zlib)))
|
2015-05-18 19:14:01 -04:00
|
|
|
|
|
2022-11-16 11:35:01 -05:00
|
|
|
|
(define-public csfml
|
|
|
|
|
(package
|
|
|
|
|
(name "csfml")
|
|
|
|
|
(version "2.5.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/SFML/CSFML")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wj1p798myyavld2xdhvvflb5h4nf1vgxxzs6nh5qad44vj9b3kb"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags #~(list "-DCSFML_BUILD_DOC=TRUE")
|
|
|
|
|
#:tests? #f)) ;no tests
|
|
|
|
|
(native-inputs (list doxygen))
|
|
|
|
|
(inputs (list sfml))
|
|
|
|
|
(synopsis "C bindings for the SFML multimedia library")
|
|
|
|
|
(description
|
|
|
|
|
"CSFML is the official C binding to the SFML libraries. SFML provides a
|
|
|
|
|
simple interface to the various computer components, to ease the development of
|
|
|
|
|
games and multimedia applications. It is composed of five modules: system,
|
|
|
|
|
window, graphics, audio and network.")
|
|
|
|
|
(home-page "https://www.sfml-dev.org/download/csfml/")
|
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2015-05-18 19:14:01 -04:00
|
|
|
|
(define-public sfxr
|
|
|
|
|
(package
|
|
|
|
|
(name "sfxr")
|
|
|
|
|
(version "1.2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.drpetter.se/files/sfxr-sdl-1.2.1.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'build 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(DESTDIR\\)/usr") out))
|
|
|
|
|
(substitute* "main.cpp"
|
|
|
|
|
(("/usr/share")
|
|
|
|
|
(string-append out "/share")))
|
|
|
|
|
#t))))
|
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config desktop-file-utils))
|
2015-05-18 19:14:01 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list sdl gtk+))
|
2015-05-18 19:14:01 -04:00
|
|
|
|
(synopsis "Simple sound effect generator")
|
|
|
|
|
(description "Sfxr is a tool for quickly generating simple sound effects.
|
|
|
|
|
Originally created for use in video game prototypes, it can generate random
|
|
|
|
|
sounds from presets such as \"explosion\" or \"powerup\".")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://www.drpetter.se/project_sfxr.html")
|
2015-05-18 19:14:01 -04:00
|
|
|
|
(license license:expat)))
|
2015-10-04 12:49:24 -04:00
|
|
|
|
|
2020-02-17 08:11:26 -05:00
|
|
|
|
(define-public surgescript
|
|
|
|
|
(package
|
|
|
|
|
(name "surgescript")
|
2022-11-05 08:18:59 -04:00
|
|
|
|
(version "0.5.6.1")
|
2020-02-17 08:11:26 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/alemart/surgescript")
|
2020-02-17 08:11:26 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-11-05 08:18:59 -04:00
|
|
|
|
(base32 "1p1pxb4iixzq7z14bpy32dx3dhfaaf6mcz4y3g3g09bkdmm1ys6j"))))
|
2020-02-17 08:11:26 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-11-05 08:18:59 -04:00
|
|
|
|
(list #:tests? #f)) ; there are no tests
|
2020-02-17 08:11:26 -05:00
|
|
|
|
(home-page "https://docs.opensurge2d.org")
|
|
|
|
|
(synopsis "Scripting language for games")
|
|
|
|
|
(description "@code{SurgeScript} is a dynamically typed object-oriented
|
|
|
|
|
scripting language designed for games. Each object is a state machine that
|
|
|
|
|
can be customized by attaching other objects. The language supports automatic
|
|
|
|
|
garbage collection and can be extended with plugins.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(define-public physfs
|
|
|
|
|
(package
|
|
|
|
|
(name "physfs")
|
2019-03-24 08:52:43 -04:00
|
|
|
|
(version "3.0.2")
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-04-15 19:53:14 -04:00
|
|
|
|
"https://icculus.org/physfs/downloads/physfs-"
|
2015-10-04 12:49:24 -04:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-24 08:52:43 -04:00
|
|
|
|
"0qzqz4r88gvd8m7sh2z5hvqcr0jfr4wb2f77c19xycyn0rigfk9h"))))
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-07-14 06:47:32 -04:00
|
|
|
|
'(#:tests? #f ; no check target
|
2020-05-27 08:18:52 -04:00
|
|
|
|
#:configure-flags '("-DPHYSFS_BUILD_STATIC=OFF")
|
2018-07-14 06:47:32 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-CMakeLists.txt
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; XXX: For some reason CMakeLists.txt disables
|
|
|
|
|
;; RUNPATH manipulation when the compiler is GCC.
|
|
|
|
|
(("CMAKE_COMPILER_IS_GNUCC") "FALSE"))
|
|
|
|
|
#t)))))
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list zlib))
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list doxygen))
|
2017-04-15 19:53:14 -04:00
|
|
|
|
(home-page "https://icculus.org/physfs")
|
2015-10-04 12:49:24 -04:00
|
|
|
|
(synopsis "File system abstraction library")
|
|
|
|
|
(description
|
|
|
|
|
"PhysicsFS is a library to provide abstract access to various archives.
|
|
|
|
|
It is intended for use in video games. For security, no file writing done
|
|
|
|
|
through the PhysicsFS API can leave a defined @emph{write directory}. For
|
|
|
|
|
file reading, a @emph{search path} with archives and directories is defined,
|
|
|
|
|
and it becomes a single, transparent hierarchical file system. So archive
|
|
|
|
|
files can be accessed in the same way as you access files directly on a disk,
|
|
|
|
|
and it makes it easy to ship a new archive that will override a previous
|
|
|
|
|
archive on a per-file basis.")
|
|
|
|
|
(license license:zlib)))
|
2015-11-14 14:00:20 -05:00
|
|
|
|
|
|
|
|
|
(define-public love
|
|
|
|
|
(package
|
|
|
|
|
(name "love")
|
2022-01-06 19:17:10 -05:00
|
|
|
|
(version "11.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/love2d/love/releases/download/"
|
|
|
|
|
version "/love-" version "-linux-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0sak3zjpzfs3ys315m8qvszi946fz76jcpsb58j11wplyp5fwbz3"))))
|
2015-11-14 14:00:20 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2015-11-14 14:00:20 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list devil
|
|
|
|
|
freetype
|
|
|
|
|
libmodplug
|
|
|
|
|
libtheora
|
|
|
|
|
libvorbis
|
|
|
|
|
luajit
|
|
|
|
|
mesa
|
|
|
|
|
mpg123
|
|
|
|
|
openal
|
|
|
|
|
sdl2
|
|
|
|
|
zlib))
|
2015-11-14 14:00:20 -05:00
|
|
|
|
(synopsis "2D game framework for Lua")
|
|
|
|
|
(description "LÖVE is a framework for making 2D games in the Lua
|
|
|
|
|
programming language.")
|
|
|
|
|
(home-page "https://love2d.org/")
|
|
|
|
|
(license license:zlib)))
|
2016-01-29 16:08:12 -05:00
|
|
|
|
|
2019-12-11 09:33:44 -05:00
|
|
|
|
(define-public love-nuklear
|
2021-09-25 05:14:33 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "love-nuklear")
|
|
|
|
|
(version "2.6.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/keharriso/love-nuklear/")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
;; NOTE: the HEAD of the Nuklear git-submodule is at commit
|
|
|
|
|
;; "adc52d710fe3c87194b99f540c53e82eb75c2521" of Oct 1 2019
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"090xp5c975155hd1pa7bdssdlawvygs5s6icdkwbyc8il5kg5kgv"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:build-type "Release"
|
2021-09-25 05:14:52 -04:00
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-cmake
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("DESTINATION .") "DESTINATION lib/love")))))))
|
2021-09-25 05:14:33 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list luajit))
|
2021-09-25 05:14:33 -04:00
|
|
|
|
(synopsis "Lightweight immediate mode GUI for LÖVE games")
|
|
|
|
|
(description "LÖVE is a Lua framework for making 2D games. Nuklear
|
2019-12-11 09:33:44 -05:00
|
|
|
|
is a minimal state immediate mode graphical user interface toolkit. This
|
|
|
|
|
package is the Nuklear bindings for LÖVE created by Kevin Harrison.")
|
2021-09-25 05:14:33 -04:00
|
|
|
|
(home-page "https://github.com/keharriso/love-nuklear/")
|
|
|
|
|
(license license:expat)))
|
2019-12-11 09:33:44 -05:00
|
|
|
|
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(define-public allegro-4
|
|
|
|
|
(package
|
|
|
|
|
(name "allegro")
|
2021-10-19 18:35:19 -04:00
|
|
|
|
(version "4.4.3.1")
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-06-03 16:33:27 -04:00
|
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/"
|
|
|
|
|
"releases/download/" version "/allegro-"
|
|
|
|
|
version ".tar.gz"))
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-19 18:35:19 -04:00
|
|
|
|
"1m6lz35nk07dli26kkwz3wa50jsrxs1kb6w1nj14a911l34xn6gc"))))
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-build-system
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Build addons as shared libraries. Trying to set ADDON_LINKAGE
|
|
|
|
|
;; via a command line option doesn't work because it is
|
|
|
|
|
;; unconditionally clobbered in the build script.
|
|
|
|
|
(substitute* '("CMakeLists.txt")
|
|
|
|
|
(("ADDON_LINKAGE STATIC")
|
2021-10-19 18:35:19 -04:00
|
|
|
|
"ADDON_LINKAGE SHARED")))))))
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list glu libpng libvorbis mesa zlib))
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(synopsis "Game programming library")
|
|
|
|
|
(description "Allegro is a library mainly aimed at video game and
|
|
|
|
|
multimedia programming. It handles common, low-level tasks such as creating
|
|
|
|
|
windows, accepting user input, loading data, drawing images, playing sounds,
|
|
|
|
|
etc.")
|
2020-01-17 16:18:29 -05:00
|
|
|
|
(home-page "https://liballeg.org")
|
2016-01-29 16:08:12 -05:00
|
|
|
|
(license license:giftware)))
|
2016-01-29 16:17:45 -05:00
|
|
|
|
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(define-public allegro
|
|
|
|
|
(package
|
|
|
|
|
(name "allegro")
|
2021-09-04 05:29:34 -04:00
|
|
|
|
(version "5.2.7.0")
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-06-03 16:33:27 -04:00
|
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/releases"
|
|
|
|
|
"/download/" version "/allegro-"
|
2018-07-27 14:23:43 -04:00
|
|
|
|
version ".tar.gz"))
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-09-04 05:29:34 -04:00
|
|
|
|
"034pmbmbq6jagpp4lhnyjqmf8gcz5fx74d9rknrm7d4wv4cv7qy1"))))
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2019-06-07 19:25:16 -04:00
|
|
|
|
(arguments `(#:tests? #f)) ; there are no tests
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(inputs
|
|
|
|
|
;; FIXME: Add the following optional inputs: xinput2, opensl, dumb
|
|
|
|
|
`(("flac" ,flac)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
2021-09-04 05:29:34 -04:00
|
|
|
|
("gtk" ,gtk+)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-07-18 16:14:09 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(synopsis "Game programming library")
|
|
|
|
|
(description "Allegro is a library mainly aimed at video game and
|
|
|
|
|
multimedia programming. It handles common, low-level tasks such as creating
|
|
|
|
|
windows, accepting user input, loading data, drawing images, playing sounds,
|
|
|
|
|
etc.")
|
2020-01-17 16:18:29 -05:00
|
|
|
|
(home-page "https://liballeg.org")
|
2016-07-18 16:14:09 -04:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2016-07-18 16:14:37 -04:00
|
|
|
|
(define-public allegro-5.0
|
|
|
|
|
(package (inherit allegro)
|
|
|
|
|
(name "allegro")
|
|
|
|
|
(version "5.0.11")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-06-03 16:33:27 -04:00
|
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/releases"
|
|
|
|
|
"/download/" version "/allegro-"
|
|
|
|
|
(if (equal? "0" (string-take-right version 1))
|
|
|
|
|
(string-drop-right version 2)
|
|
|
|
|
version)
|
|
|
|
|
".tar.gz"))
|
2019-01-01 03:22:34 -05:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"allegro-mesa-18.2.5-and-later.patch"))
|
2016-07-18 16:14:37 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9"))))))
|
|
|
|
|
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(define-public aseprite
|
|
|
|
|
(package
|
|
|
|
|
(name "aseprite")
|
2017-03-26 02:50:08 -04:00
|
|
|
|
(version "1.1.7") ; After 1.1.7 the source is no longer distributed under the GPL.
|
2017-03-26 01:08:27 -04:00
|
|
|
|
;; TODO: Unbundle third party software.
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(source (origin
|
2017-03-26 01:08:27 -04:00
|
|
|
|
(method url-fetch/zipbomb)
|
|
|
|
|
(uri (string-append "https://github.com/aseprite/aseprite"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/Aseprite-v" version "-Source.zip"))
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-26 02:50:08 -04:00
|
|
|
|
"1plss4i1lfxcznv9p0pip1bkhj7ipw7jlhsh5avd6dzw079l4nvv"))))
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
;; Use shared libraries instead of building bundled source.
|
|
|
|
|
(list "-DWITH_WEBP_SUPPORT=1"
|
|
|
|
|
"-DUSE_SHARED_CURL=1"
|
|
|
|
|
"-DUSE_SHARED_GIFLIB=1"
|
|
|
|
|
"-DUSE_SHARED_JPEGLIB=1"
|
|
|
|
|
"-DUSE_SHARED_ZLIB=1"
|
|
|
|
|
"-DUSE_SHARED_LIBPNG=1"
|
|
|
|
|
"-DUSE_SHARED_LIBLOADPNG=1"
|
|
|
|
|
"-DUSE_SHARED_LIBWEBP=1"
|
|
|
|
|
"-DUSE_SHARED_TINYXML=1"
|
|
|
|
|
"-DUSE_SHARED_PIXMAN=1"
|
|
|
|
|
"-DUSE_SHARED_FREETYPE=1"
|
|
|
|
|
"-DUSE_SHARED_ALLEGRO4=1"
|
|
|
|
|
"-DENABLE_UPDATER=0" ; no auto-updates
|
|
|
|
|
(string-append "-DFREETYPE_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "freetype")
|
2016-05-11 21:28:14 -04:00
|
|
|
|
"/include/freetype2"))))
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2016-01-29 16:17:45 -05:00
|
|
|
|
;; TODO: Use a patched Allegro 4 that supports window resizing. This
|
|
|
|
|
;; patched version is bundled with Aseprite, but the patches should be
|
|
|
|
|
;; extracted and applied on top of a standalone Allegro 4 package.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("allegro" ,allegro-4)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("giflib" ,giflib)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-01-29 16:17:45 -05:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
|
("pixman" ,pixman)
|
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Animated sprite editor and pixel art tool")
|
|
|
|
|
(description "Aseprite is a tool for creating 2D pixel art for video
|
|
|
|
|
games. In addition to basic pixel editing features, Aseprite can assist in
|
|
|
|
|
the creation of animations, tiled graphics, texture atlases, and more.")
|
2017-04-15 19:53:14 -04:00
|
|
|
|
(home-page "https://www.aseprite.org/")
|
2016-01-29 16:17:45 -05:00
|
|
|
|
(license license:gpl2+)))
|
2016-04-12 12:47:26 -04:00
|
|
|
|
|
2021-11-18 10:24:01 -05:00
|
|
|
|
(define-public libresprite
|
|
|
|
|
(package
|
|
|
|
|
(name "libresprite")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
;; TODO: Unbundle third party software.
|
|
|
|
|
;; - duktape is bundled inside the project but it's hard to unbundle:
|
|
|
|
|
;; there are many differences from a version to the next and it is not
|
|
|
|
|
;; really designed to work as a shared lib.
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/LibreSprite/LibreSprite")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0djbjjh21ahlxzh0b0jp4mpfycam8h9157i4wbxkd618fraadhbp"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
2022-10-21 08:22:53 -04:00
|
|
|
|
(list "-DWITH_WEBP_SUPPORT=1"
|
|
|
|
|
"-DWITH_DESKTOP_INTEGRATION=1")
|
2021-11-18 10:24:01 -05:00
|
|
|
|
;; Tests are unmaintained
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs
|
2021-12-16 17:55:05 -05:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2021-11-18 10:24:01 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("giflib" ,giflib)
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxxf86dga" ,libxxf86dga)
|
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
|
("lua" ,lua) ; Optional
|
|
|
|
|
("pixman" ,pixman)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Animated sprite editor and pixel art tool")
|
|
|
|
|
(description "LibreSprite is a tool for creating 2D pixel art for video
|
|
|
|
|
games. In addition to basic pixel editing features, it can assist in the
|
|
|
|
|
creation of animations, tiled graphics, texture atlases, and more.
|
|
|
|
|
LibreSprite is a fork of the latest GPLv2 commit of Aseprite.")
|
|
|
|
|
(home-page "https://libresprite.github.io/")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-04-12 12:47:26 -04:00
|
|
|
|
(define-public qqwing
|
|
|
|
|
(package
|
|
|
|
|
(name "qqwing")
|
|
|
|
|
(version "1.3.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://qqwing.com/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bw0papyqjg22z6irf36gs54y8236wa37b6gyn2h1spy65n76lqp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2016-04-12 12:47:26 -04:00
|
|
|
|
(home-page "https://qqwing.com/")
|
|
|
|
|
(synopsis "Sudoku puzzle solver and generator")
|
|
|
|
|
(description
|
|
|
|
|
"QQWing is a Sudoku puzzle generator and solver.
|
|
|
|
|
It offers the following features:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Can solve 1000 puzzles in 1 second and generate 1000 puzzles in 25 seconds.
|
|
|
|
|
@item Uses logic. Uses as many solve techniques as possible when solving
|
|
|
|
|
puzzles rather than guessing.
|
|
|
|
|
@item Rates puzzles. Most generators don't give an indication of the difficulty
|
|
|
|
|
of a Sudoku puzzle. QQwing does.
|
|
|
|
|
@item Can print solve instructions for any puzzle.
|
|
|
|
|
@item Customizable output style, including a CSV style that is easy to
|
|
|
|
|
import into a database.
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2+)))
|
2016-06-19 18:56:56 -04:00
|
|
|
|
|
|
|
|
|
(define-public quesoglc
|
|
|
|
|
(package
|
|
|
|
|
(name "quesoglc")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" version "/"
|
|
|
|
|
name "-" version "-free.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08ddhywdy2qg17m592ng3yr0p1ih96irg8wg729g75hsxxq9ipks"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list pkg-config))
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(inputs (list fontconfig freeglut fribidi glew))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://quesoglc.sourceforge.net")
|
2016-06-19 18:56:56 -04:00
|
|
|
|
(synopsis "Implementation of the OpenGL Character Renderer (GLC)")
|
|
|
|
|
(description
|
|
|
|
|
"The OpenGL Character Renderer (GLC) is a state machine that provides
|
|
|
|
|
OpenGL programs with character rendering services via an application programming
|
|
|
|
|
interface (API).")
|
|
|
|
|
(license (list license:expat license:lgpl2.1+))))
|
2016-07-30 14:32:49 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-pygame
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pygame")
|
2022-12-18 10:51:04 -05:00
|
|
|
|
(version "2.1.2")
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-02-21 12:53:19 -05:00
|
|
|
|
(uri (pypi-uri "pygame" version))
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-18 10:51:04 -05:00
|
|
|
|
"0g6j79naab7583kymf1bgxc5l5c9h5laq887rmvh8vw8iyifrl6n"))))
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-12-18 10:54:22 -05:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; tests require pygame to be installed first
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build-config
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "buildconfig/config_unix.py"
|
|
|
|
|
(("origincdirs = \\[.*\\]")
|
|
|
|
|
"origincdirs = os.environ['C_INCLUDE_PATH'].split(\":\")")
|
|
|
|
|
(("ORIGLIBDIRS") "LIBRARY_PATH")
|
|
|
|
|
(("incdirs = \\[\\]") "incdirs = origincdirs")
|
|
|
|
|
(("libdirs = \\[\\]") "libdirs = origlibdirs"))))
|
|
|
|
|
(add-after 'unpack 'fix-sdl2-headers
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "buildconfig/config_unix.py"
|
|
|
|
|
(("SDL_ttf.h") "SDL2/SDL_ttf.h")
|
|
|
|
|
(("SDL_image.h") "SDL2/SDL_image.h")
|
|
|
|
|
(("SDL_mixer.h") "SDL2/SDL_mixer.h"))
|
|
|
|
|
(substitute* "src_c/imageext.c"
|
|
|
|
|
(("SDL_image.h") "SDL2/SDL_image.h"))
|
|
|
|
|
(substitute* "src_c/font.h"
|
|
|
|
|
(("SDL_ttf.h") "SDL2/SDL_ttf.h"))
|
|
|
|
|
(substitute* "src_c/mixer.h"
|
|
|
|
|
(("SDL_mixer.h") "SDL2/SDL_mixer.h"))
|
|
|
|
|
(substitute* "src_c/_sdl2/mixer.c"
|
|
|
|
|
(("SDL_mixer.h") "SDL2/SDL_mixer.h")))))))
|
2022-12-18 10:51:04 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(inputs
|
2022-12-18 10:54:22 -05:00
|
|
|
|
(list freetype
|
|
|
|
|
sdl2
|
|
|
|
|
sdl2-image
|
|
|
|
|
sdl2-mixer
|
|
|
|
|
sdl2-ttf
|
|
|
|
|
sdl2-gfx
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libx11
|
|
|
|
|
libsmpeg
|
|
|
|
|
portmidi
|
|
|
|
|
v4l-utils))
|
2017-04-15 19:53:14 -04:00
|
|
|
|
(home-page "https://www.pygame.org")
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(synopsis "SDL wrapper for Python")
|
|
|
|
|
(description "Pygame is a set of Python modules designed for writing games.
|
2022-12-22 15:45:24 -05:00
|
|
|
|
It adds functionality on top of the SDL library, allowing you to create games
|
|
|
|
|
and multimedia programs in the Python language.")
|
2016-07-30 14:32:49 -04:00
|
|
|
|
(license (list license:bsd-2
|
|
|
|
|
;; python numeric license as listed by Debian looks like
|
|
|
|
|
;; an Expat-style license with a warranty disclaimer for
|
|
|
|
|
;; the U.S. government and the University of California.
|
|
|
|
|
license:expat
|
|
|
|
|
license:lgpl2.0+
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:psfl
|
|
|
|
|
license:public-domain
|
|
|
|
|
license:lgpl2.1+))))
|
2017-02-21 12:53:19 -05:00
|
|
|
|
|
2021-07-03 05:24:19 -04:00
|
|
|
|
(define-public python-pygame-sdl2
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(let ((real-version "2.1.0")
|
2023-05-19 05:01:06 -04:00
|
|
|
|
(renpy-version "8.1.0"))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(package
|
2021-07-03 05:24:19 -04:00
|
|
|
|
(inherit python-pygame)
|
|
|
|
|
(name "python-pygame-sdl2")
|
2022-07-03 10:57:31 -04:00
|
|
|
|
(version (string-append real-version "-for-renpy-" renpy-version))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-07-03 10:57:31 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.renpy.org/dl/" renpy-version
|
|
|
|
|
"/pygame_sdl2-" version ".tar.gz"))
|
2023-05-19 05:01:06 -04:00
|
|
|
|
(sha256 (base32 "1qj39jqnv334p4wnxc2v5qxyahp7nkqf9hpdd2sgqcmgaqwnqqmj"))
|
2022-07-03 10:57:31 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; drop generated sources
|
|
|
|
|
(delete-file-recursively "gen")
|
|
|
|
|
(delete-file-recursively "gen3")
|
|
|
|
|
(delete-file-recursively "gen-static")))))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2023-05-19 06:13:40 -04:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; tests require pygame to be installed first
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl-vars
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "PYGAME_SDL2_CFLAGS"
|
|
|
|
|
(string-append "-I"
|
|
|
|
|
(assoc-ref inputs "sdl-union")
|
|
|
|
|
"/include/SDL2 -D_REENTRANT"))
|
|
|
|
|
(setenv "PYGAME_SDL2_LDFLAGS"
|
|
|
|
|
(string-append "-L"
|
|
|
|
|
(assoc-ref inputs "sdl-union")
|
|
|
|
|
"/lib -Wl,-rpath,"
|
|
|
|
|
(assoc-ref inputs "sdl-union")
|
|
|
|
|
"/lib -Wl,--enable-new-dtags -lSDL2")))))))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-cython))
|
2021-02-28 05:32:55 -05:00
|
|
|
|
(home-page "https://www.renpy.org/")
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(synopsis "Reimplementation of the Pygame API using SDL2")
|
|
|
|
|
(description "Pygame_SDL2 reimplements the Pygame API using SDL2,
|
|
|
|
|
staying close to the original, but also adding some SDL2-specific features.
|
|
|
|
|
While it aims to be used as a drop-in replacement, it appears to be
|
|
|
|
|
developed mainly for Ren'py.")
|
|
|
|
|
(license (list license:lgpl2.1 license:zlib)))))
|
|
|
|
|
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(define-public python-renpy
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(package
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(name "python-renpy")
|
2023-05-19 05:55:40 -04:00
|
|
|
|
(version "8.1.0")
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-07-03 10:59:59 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.renpy.org/dl/" version
|
|
|
|
|
"/renpy-" version "-source.tar.bz2"))
|
2023-05-19 05:55:40 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08l7z2vwqxkskj3rs2a0w9ahah28ixq8hy48h30k2dm9g19h450h"))
|
2020-12-10 14:03:12 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2023-05-19 05:55:40 -04:00
|
|
|
|
#~(begin
|
|
|
|
|
;; Build without sync service.
|
|
|
|
|
;; Encryption is only used for enabling this service and requires
|
|
|
|
|
;; libhydrogen, which doesn't have a public release, so drop it
|
|
|
|
|
;; as well
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
'("renpy/encryption.pyx"
|
|
|
|
|
"renpy/common/00sync.rpy"))
|
|
|
|
|
(substitute* "module/setup.py"
|
|
|
|
|
(("cython\\(\"renpy\\.encryption\"\\)") ""))
|
|
|
|
|
(substitute* "renpy/__init__.py"
|
|
|
|
|
(("import renpy\\.encryption") ""))
|
|
|
|
|
;; Trust vc_version.py when it comes to detecting whether a
|
|
|
|
|
;; version is official.
|
|
|
|
|
(substitute* "renpy/__init__.py"
|
|
|
|
|
(("official = official and .*") ""))))))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2023-05-19 06:14:28 -04:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; Ren'py doesn't seem to package tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-commands
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "renpy/editor.py"
|
|
|
|
|
(("xdg-open")
|
|
|
|
|
(string-append (assoc-ref inputs "xdg-utils")
|
|
|
|
|
"/bin/xdg-open")))))
|
|
|
|
|
(add-after 'set-paths 'set-build-vars
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(setenv "RENPY_CYTHON"
|
|
|
|
|
(search-input-file (or native-inputs inputs)
|
|
|
|
|
"/bin/cython"))
|
|
|
|
|
(setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
|
|
|
|
|
;; The "module" subdirectory contains a python (really cython)
|
|
|
|
|
;; project, which is built using a script, that is thankfully
|
|
|
|
|
;; named "setup.py".
|
|
|
|
|
(with-directory-excursion "module"
|
|
|
|
|
(apply (assoc-ref %standard-phases 'build) args))
|
|
|
|
|
;; The above only builds the cython modules, but nothing else,
|
|
|
|
|
;; so we do that here.
|
|
|
|
|
(invoke "python" "-m" "compileall" "renpy")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
|
|
|
|
|
;; Again, we have to wrap the module installation.
|
|
|
|
|
;; Additionally, we want to install the python code
|
|
|
|
|
;; (both source and compiled) in the same directory.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(site (string-append "/lib/python"
|
|
|
|
|
(python-version
|
|
|
|
|
(assoc-ref inputs "python"))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(with-directory-excursion "module"
|
|
|
|
|
(apply (assoc-ref %standard-phases 'install) args))
|
|
|
|
|
(copy-recursively "renpy"
|
|
|
|
|
(string-append out site "/renpy"))
|
|
|
|
|
(delete-file-recursively (string-append out site
|
|
|
|
|
"/renpy/common"))))))))
|
2022-04-29 17:34:16 -04:00
|
|
|
|
(native-inputs (list python-cython))
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ffmpeg
|
|
|
|
|
freetype
|
|
|
|
|
fribidi
|
|
|
|
|
glew
|
|
|
|
|
libpng
|
|
|
|
|
(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
|
|
|
|
|
xdg-utils))
|
2023-05-19 05:55:40 -04:00
|
|
|
|
(propagated-inputs (list python-ecdsa python-future python-pygame-sdl2))
|
2020-05-25 14:24:05 -04:00
|
|
|
|
(home-page "https://www.renpy.org/")
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(synopsis "Ren'py python module")
|
2021-07-02 08:21:14 -04:00
|
|
|
|
(description "This package contains the shared libraries and Python modules
|
|
|
|
|
of Ren'py. While functional, they are not meaningful on their own without
|
|
|
|
|
the launcher and common Ren'py code provided by the @code{renpy} package and
|
|
|
|
|
are only used to bootstrap it.")
|
2019-10-19 11:40:27 -04:00
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(define-public renpy
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-renpy)
|
|
|
|
|
(name "renpy")
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; see python-renpy
|
|
|
|
|
#:modules '((srfi srfi-1)
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(guix build python-build-system)
|
|
|
|
|
(guix build utils))
|
2022-06-17 10:01:32 -04:00
|
|
|
|
#:imported-modules `((srfi srfi-1) ,@%python-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-commands
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "launcher/game/choose_directory.rpy"
|
|
|
|
|
(("/usr/bin/python")
|
|
|
|
|
(search-input-file inputs "/bin/python3")))
|
|
|
|
|
(substitute* "launcher/game/front_page.rpy"
|
|
|
|
|
(("xdg-open")
|
|
|
|
|
(search-input-file inputs "/bin/xdg-open")))
|
|
|
|
|
(substitute* "launcher/game/project.rpy"
|
|
|
|
|
(("cmd = \\[ executable, \"-EO\", sys.argv\\[0\\] \\]")
|
|
|
|
|
(string-append "cmd = [ \"" (assoc-ref outputs "out")
|
|
|
|
|
"/bin/renpy\" ]"))
|
|
|
|
|
;; Projects are still created in the usual style, so we need
|
|
|
|
|
;; to adjust the path.
|
|
|
|
|
(("cmd.append\\(self.path\\)")
|
|
|
|
|
"cmd.append(self.path + \"/game\")"))))
|
|
|
|
|
(add-after 'unpack 'drop-game-from-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (list "launcher/game/gui7.rpy"
|
|
|
|
|
"launcher/game/gui7/images.py")
|
2023-07-29 09:37:06 -04:00
|
|
|
|
((", \"game\", \"gui7\",") ", \"gui7\","))
|
2022-06-17 10:01:32 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'start-xserver
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(let ((Xvfb (search-input-file (or native-inputs inputs)
|
|
|
|
|
"/bin/Xvfb")))
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(system (format #f "~a :1 &" Xvfb))
|
|
|
|
|
(setenv "DISPLAY" ":1"))))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python" "renpy.py" "launcher" "quit")
|
|
|
|
|
(invoke "python" "renpy.py" "the_question" "quit")
|
|
|
|
|
(invoke "python" "renpy.py" "tutorial" "quit")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Here we install our custom renpy program.
|
|
|
|
|
;; After finishing this step, "out" will have the following:
|
|
|
|
|
;; |-- bin/renpy
|
|
|
|
|
;; `-- share/renpy ; i.e. path_to_renpy_base()
|
|
|
|
|
;; |-- common
|
|
|
|
|
;; `-- gui
|
|
|
|
|
;;
|
|
|
|
|
;; Note that common shares the source files that would be installed
|
|
|
|
|
;; by python2-renpy (which are instead deleted from that package),
|
|
|
|
|
;; but also contains their byte-compiled versions.
|
|
|
|
|
;; On other systems, renpy_base would point to site-packages or
|
|
|
|
|
;; even somewhere in /opt.
|
|
|
|
|
;; The former approach is not as straightforward as it seems
|
|
|
|
|
;; -- it causes renpy to load files twice for some weird reason --
|
|
|
|
|
;; and the latter is impossible on Guix. Hence the detour through
|
|
|
|
|
;; share/renpy and the custom renpy program.
|
|
|
|
|
;;
|
|
|
|
|
;; As a convention, other games should be installed as
|
|
|
|
|
;; subdirectories of share/renpy in their respective outputs as
|
|
|
|
|
;; well. This differs from the traditional layout, which is
|
|
|
|
|
;; roughly the following:
|
|
|
|
|
;; `-- Super Awesome Game
|
|
|
|
|
;; |-- game ; <- the folder we actually want
|
|
|
|
|
;; |-- lib ; compiled renpy module and dependencies
|
|
|
|
|
;; |-- renpy ; yet another copy of Ren'py's code
|
|
|
|
|
;; | |-- common ; the common folder from above
|
|
|
|
|
;; | `-- ... ; Python code (source + compiled)
|
|
|
|
|
;; |-- Super Awesome Game.py
|
|
|
|
|
;; `-- Super Awesome Game.sh
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin/renpy (string-append out "/bin/renpy")))
|
|
|
|
|
(copy-recursively "renpy/common"
|
|
|
|
|
(string-append out "/share/renpy/common"))
|
|
|
|
|
(copy-recursively "gui"
|
|
|
|
|
(string-append out "/share/renpy/gui"))
|
2022-07-03 11:05:03 -04:00
|
|
|
|
(copy-recursively "sdk-fonts"
|
|
|
|
|
(string-append out "/share/renpy/sdk-fonts"))
|
2022-06-17 02:49:05 -04:00
|
|
|
|
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(copy-file #$(local-file (search-auxiliary-file "renpy/renpy.in"))
|
|
|
|
|
bin/renpy)
|
|
|
|
|
(substitute* bin/renpy
|
|
|
|
|
(("@PYTHON@") (search-input-file inputs "bin/python3"))
|
|
|
|
|
(("@RENPY_BASE@") (string-append out "/share/renpy")))
|
|
|
|
|
(chmod bin/renpy #o755))))
|
2022-06-17 02:49:05 -04:00
|
|
|
|
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(add-after 'install 'install-games
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(define renpy (assoc-ref outputs "out"))
|
|
|
|
|
;; TODO: We should offer a renpy-build-system to make the
|
|
|
|
|
;; installation of Ren'py games easier.
|
|
|
|
|
(define* (install-renpy-game #:key output game name (renpy renpy)
|
|
|
|
|
#:allow-other-keys)
|
|
|
|
|
(let* ((name (or name (basename game)))
|
|
|
|
|
(launcher (string-append output "/bin/renpy-" name))
|
|
|
|
|
(share (string-append output "/share/renpy/" name)))
|
|
|
|
|
(copy-recursively (string-append game "/game") share)
|
|
|
|
|
(mkdir-p (string-append output "/bin"))
|
|
|
|
|
(with-output-to-file launcher
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t
|
|
|
|
|
"#!~a~%~a ~a \"$@\""
|
|
|
|
|
(search-input-file inputs "/bin/bash")
|
|
|
|
|
(string-append renpy "/bin/renpy")
|
|
|
|
|
share)))
|
|
|
|
|
(chmod launcher #o755)))
|
2022-06-17 02:49:05 -04:00
|
|
|
|
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(install-renpy-game #:output (assoc-ref outputs "out")
|
|
|
|
|
#:game "launcher")
|
2022-06-17 02:49:05 -04:00
|
|
|
|
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(install-renpy-game #:output (assoc-ref outputs "the-question")
|
|
|
|
|
#:game "the_question"
|
|
|
|
|
#:name "the-question")
|
2022-06-17 02:49:05 -04:00
|
|
|
|
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(install-renpy-game #:output (assoc-ref outputs "tutorial")
|
|
|
|
|
#:game "tutorial")))
|
|
|
|
|
(replace 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(site (string-append "/lib/python"
|
|
|
|
|
(python-version
|
|
|
|
|
(assoc-ref inputs "python"))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(wrap-program (string-append out "/bin/renpy")
|
|
|
|
|
`("GUIX_PYTHONPATH" =
|
|
|
|
|
(,@(delete-duplicates
|
|
|
|
|
(map
|
|
|
|
|
(lambda (store-path)
|
|
|
|
|
(string-append store-path site))
|
|
|
|
|
(cons (assoc-ref outputs "out")
|
|
|
|
|
(map cdr
|
|
|
|
|
(filter
|
|
|
|
|
(lambda (input)
|
|
|
|
|
(string-prefix? "python" (car input)))
|
|
|
|
|
inputs))))))))))))))
|
|
|
|
|
(inputs (list bash-minimal
|
|
|
|
|
python
|
|
|
|
|
python-pefile
|
|
|
|
|
python-requests
|
|
|
|
|
python-renpy
|
|
|
|
|
python-six
|
|
|
|
|
`(,python "tk")
|
|
|
|
|
xdg-utils))
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(propagated-inputs '())
|
2022-06-17 10:01:32 -04:00
|
|
|
|
(native-inputs (list xorg-server-for-tests))
|
|
|
|
|
(outputs (list "out" "tutorial" "the-question"))
|
2022-06-17 02:49:05 -04:00
|
|
|
|
(home-page "https://www.renpy.org/")
|
|
|
|
|
(synopsis "Visual Novel Engine")
|
|
|
|
|
(description "Ren'Py is a visual novel engine that helps you use words,
|
|
|
|
|
images, and sounds to tell interactive stories that run on computers and
|
|
|
|
|
mobile devices. These can be both visual novels and life simulation games.
|
|
|
|
|
The easy to learn script language allows anyone to efficiently write large
|
|
|
|
|
visual novels, while its Python scripting is enough for complex simulation
|
|
|
|
|
games.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-08-30 11:27:25 -04:00
|
|
|
|
(define-public python-pyxel
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyxel")
|
|
|
|
|
(version "1.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/kitao/pyxel")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bwsgb5yq5s479cnf046v379zsn5ybp5195kbfvzr9l11qbaicm9"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "pyxel/core/bin")))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; "Tests" are actually example programs that never halt.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-build-files
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("\"pyxel\\.core\\.bin\\.(.*)\"," all arch)
|
|
|
|
|
(if (string=? arch "linux")
|
|
|
|
|
all
|
|
|
|
|
"")))
|
|
|
|
|
(substitute* "pyxel/core/Makefile"
|
|
|
|
|
(("`sdl2-config")
|
|
|
|
|
(string-append "`sdl2-config --prefix="
|
|
|
|
|
(assoc-ref inputs "sdl2"))))))
|
|
|
|
|
(add-before 'build 'prebuild
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "pyxel/core"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gifsicle" ,gifsicle)
|
|
|
|
|
("sdl2" ,(sdl-union (list sdl2 sdl2-image)))))
|
|
|
|
|
(home-page "https://github.com/kitao/pyxel")
|
|
|
|
|
(synopsis "Retro game engine for Python")
|
|
|
|
|
(description "Pyxel is a game engine inspired by retro gaming consoles.
|
|
|
|
|
It has a fixed 16-color palette, can hold up to 3 image banks and 8 tilemaps
|
|
|
|
|
(256x256 pixels each) and 4 sound channels with 64 definable sounds. It
|
|
|
|
|
also comes with a built-in image and sound editor.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-03-26 20:00:42 -04:00
|
|
|
|
(define-public grafx2
|
|
|
|
|
(package
|
|
|
|
|
(name "grafx2")
|
|
|
|
|
(version "2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; XXX: There is no URL that contains the version. :(
|
|
|
|
|
(uri "http://pulkomandy.tk/projects/GrafX2/downloads/21")
|
2021-11-20 16:23:26 -05:00
|
|
|
|
(file-name (string-append "grafx2-" version ".tgz"))
|
2017-03-26 20:00:42 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'build 'change-to-src-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src")
|
|
|
|
|
#t)))
|
|
|
|
|
#:make-flags
|
|
|
|
|
;; SDL header files are referenced without the preceeding "SDL/".
|
|
|
|
|
(list (string-append "CFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-union")
|
2021-11-20 16:25:04 -05:00
|
|
|
|
"/include/SDL"
|
|
|
|
|
" -fcommon")
|
2017-03-26 20:00:42 -04:00
|
|
|
|
(string-append "prefix="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2017-03-26 20:00:42 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng lua-5.1
|
|
|
|
|
(sdl-union (list sdl sdl-image sdl-ttf))))
|
2017-03-26 20:00:42 -04:00
|
|
|
|
(synopsis "Bitmap paint program")
|
|
|
|
|
(description "GrafX2 is a bitmap paint program inspired by the Amiga
|
2017-03-27 19:15:37 -04:00
|
|
|
|
programs Deluxe Paint and Brilliance. Specializing in 256-color drawing, it
|
2017-03-26 20:00:42 -04:00
|
|
|
|
includes a very large number of tools and effects that make it particularly
|
|
|
|
|
suitable for pixel art, game graphics, and generally any detailed graphics
|
|
|
|
|
painted with a mouse.")
|
|
|
|
|
(home-page "http://pulkomandy.tk/projects/GrafX2")
|
|
|
|
|
(license license:gpl2))) ; GPLv2 only
|
2017-08-05 11:56:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public ois
|
|
|
|
|
(package
|
|
|
|
|
(name "ois")
|
2021-05-23 09:06:00 -04:00
|
|
|
|
(version "1.5.1")
|
2017-08-05 11:56:29 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/wgois/OIS")
|
2019-02-21 18:49:38 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-05 11:56:29 -04:00
|
|
|
|
(sha256
|
2021-05-23 09:06:00 -04:00
|
|
|
|
(base32 "0nkh0zrsbyv47c0i0vhdna3jsnvs69pb1svg75avxw6z7kwskgla"))))
|
2019-02-21 18:49:38 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; no test suite
|
2017-08-05 11:56:29 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libx11))
|
2017-08-05 11:56:29 -04:00
|
|
|
|
(synopsis "Object Oriented Input System")
|
|
|
|
|
(description
|
|
|
|
|
"Cross Platform Object Oriented Input Lib System is a cross platform,
|
|
|
|
|
simple solution for using all kinds of Input Devices (Keyboards, Mice,
|
|
|
|
|
Joysticks, etc) and feedback devices (e.g. force feedback). Meant to be very
|
|
|
|
|
robust and compatible with many systems and operating systems.")
|
|
|
|
|
(home-page "https://github.com/wgois/OIS")
|
|
|
|
|
(license license:zlib)))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
|
|
|
|
|
(define-public mygui
|
|
|
|
|
(package
|
|
|
|
|
(name "mygui")
|
2023-07-15 20:00:02 -04:00
|
|
|
|
(version "3.4.2")
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-05-20 10:55:06 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/MyGUI/mygui")
|
|
|
|
|
(commit (string-append "MyGUI" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(sha256
|
2023-07-15 20:00:02 -04:00
|
|
|
|
(base32 "0gkfahz118gpqa2906cjb3d4w8g13rv8v3ma7s0ml9l5cci785f8"))))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; No test target
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DMYGUI_INSTALL_DOCS=TRUE"
|
|
|
|
|
(string-append "-DOGRE_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "ogre")
|
2019-05-20 10:55:06 -04:00
|
|
|
|
"/include/OGRE")
|
|
|
|
|
;; Demos and tools are Windows-specific:
|
|
|
|
|
;; https://github.com/MyGUI/mygui/issues/24.
|
|
|
|
|
"-DMYGUI_BUILD_DEMOS=FALSE"
|
|
|
|
|
"-DMYGUI_BUILD_TOOLS=FALSE")))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost doxygen pkg-config))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list font-dejavu
|
|
|
|
|
freetype
|
|
|
|
|
graphviz
|
|
|
|
|
libx11
|
|
|
|
|
ogre
|
|
|
|
|
ois))
|
2017-08-11 12:56:28 -04:00
|
|
|
|
(synopsis "Fast, flexible and simple GUI")
|
|
|
|
|
(description
|
|
|
|
|
"MyGUI is a library for creating Graphical User Interfaces (GUIs) for games
|
|
|
|
|
and 3D applications. The main goals of mygui are: speed, flexibility and ease
|
|
|
|
|
of use.")
|
|
|
|
|
(home-page "http://mygui.info/")
|
|
|
|
|
(license license:expat)))
|
2017-08-12 10:19:41 -04:00
|
|
|
|
|
2019-05-20 11:00:45 -04:00
|
|
|
|
(define-public mygui-gl
|
|
|
|
|
;; Closure size is reduced by some 800 MiB.
|
2022-11-26 15:56:19 -05:00
|
|
|
|
(package/inherit mygui
|
2019-05-20 11:00:45 -04:00
|
|
|
|
(name "mygui-gl")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments mygui)
|
|
|
|
|
((#:configure-flags _)
|
|
|
|
|
`(cons* "-DMYGUI_RENDERSYSTEM=4" ; 3 is Ogre, 4 is OpenGL.
|
|
|
|
|
;; We can't reuse the flags because of the mention to Ogre.
|
|
|
|
|
(list "-DMYGUI_INSTALL_DOCS=TRUE"
|
|
|
|
|
;; Demos and tools are Windows-specific:
|
|
|
|
|
;; https://github.com/MyGUI/mygui/issues/24.
|
|
|
|
|
"-DMYGUI_BUILD_DEMOS=FALSE"
|
|
|
|
|
"-DMYGUI_BUILD_TOOLS=FALSE")))))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(modify-inputs (package-inputs mygui)
|
|
|
|
|
(delete "ogre")
|
2023-07-15 20:00:02 -04:00
|
|
|
|
(prepend glu
|
|
|
|
|
libglvnd ; for find_package(… GLX)
|
|
|
|
|
mesa ; for find_package(… OpenGL …)
|
|
|
|
|
(sdl-union (list sdl2 sdl2-image)))))
|
2019-05-20 11:00:45 -04:00
|
|
|
|
(synopsis "Fast, flexible and simple GUI (OpenGL backend)")))
|
|
|
|
|
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(define-public openmw
|
|
|
|
|
(package
|
|
|
|
|
(name "openmw")
|
2022-01-03 14:38:26 -05:00
|
|
|
|
(version "0.47.0")
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-23 12:16:22 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenMW/openmw")
|
|
|
|
|
(commit (string-append "openmw-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-27 13:38:46 -04:00
|
|
|
|
"19mcbnjl4279qalb97msf965bjax48mx1r1qczyvwhn28h6n3bsy"))
|
|
|
|
|
(patches (search-patches "openmw-assume-nonconst-SIGSTKSZ.patch"))))
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test target
|
|
|
|
|
#:configure-flags
|
2022-01-03 14:38:26 -05:00
|
|
|
|
(list "-DDESIRED_QT_VERSION=5"
|
|
|
|
|
"-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON")))
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost doxygen pkg-config))
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(inputs
|
2022-01-03 14:38:26 -05:00
|
|
|
|
(list bullet
|
2022-12-25 17:22:59 -05:00
|
|
|
|
ffmpeg-4 ; https://gitlab.com/OpenMW/openmw/-/issues/6631
|
2022-01-03 14:38:26 -05:00
|
|
|
|
libxt
|
|
|
|
|
lz4
|
|
|
|
|
mygui-gl ; OpenMW does not need Ogre.
|
|
|
|
|
openal
|
|
|
|
|
openmw-openscenegraph
|
|
|
|
|
qtbase-5
|
|
|
|
|
recastnavigation
|
|
|
|
|
sdl2
|
|
|
|
|
unshield))
|
2017-11-08 09:41:41 -05:00
|
|
|
|
(synopsis "Re-implementation of the RPG Morrowind engine")
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(description
|
2017-11-08 09:41:41 -05:00
|
|
|
|
"OpenMW is a game engine which reimplements and extends the one that runs
|
|
|
|
|
the 2002 open-world RPG Morrowind. The engine comes with its own editor,
|
|
|
|
|
called OpenMW-CS which allows the user to edit or create their own original
|
|
|
|
|
games.")
|
2017-08-12 10:19:41 -04:00
|
|
|
|
(home-page "https://openmw.org")
|
2018-08-27 11:30:01 -04:00
|
|
|
|
(license license:gpl3)))
|
2017-09-07 07:59:47 -04:00
|
|
|
|
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
(define-public godot-lts
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "godot")
|
2022-01-05 23:29:22 -05:00
|
|
|
|
(version "3.4.2")
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(source (origin
|
2018-07-01 17:51:21 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/godotengine/godot")
|
|
|
|
|
(commit (string-append version "-stable"))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(sha256
|
2018-01-29 19:21:21 -05:00
|
|
|
|
(base32
|
2022-01-05 23:29:22 -05:00
|
|
|
|
"1bm9yl995chvx6jwkdia12yjrgwcpzb1r9bmj606q8z264aw2ma5"))
|
2020-01-28 13:25:40 -05:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)))
|
2018-03-15 06:38:48 -04:00
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2020-01-28 13:25:40 -05:00
|
|
|
|
;; Keep only those bundled files we have not (yet) replaced
|
|
|
|
|
;; with Guix versions. Note that some of these may be
|
|
|
|
|
;; modified; see "thirdparty/README.md".
|
2018-03-15 06:38:48 -04:00
|
|
|
|
(with-directory-excursion "thirdparty"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
(let* ((preserved-files
|
|
|
|
|
'("README.md"
|
2020-02-01 08:00:38 -05:00
|
|
|
|
"assimp"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"certs"
|
|
|
|
|
"cvtt"
|
2021-12-06 02:19:31 -05:00
|
|
|
|
"embree"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"enet"
|
|
|
|
|
"etc2comp"
|
|
|
|
|
"fonts"
|
|
|
|
|
"glad"
|
|
|
|
|
"jpeg-compressor"
|
|
|
|
|
"libsimplewebm"
|
2021-12-06 02:19:31 -05:00
|
|
|
|
"minimp3"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"miniupnpc"
|
|
|
|
|
"minizip"
|
|
|
|
|
"misc"
|
|
|
|
|
"nanosvg"
|
2021-12-06 02:19:31 -05:00
|
|
|
|
"oidn"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"pvrtccompressor"
|
|
|
|
|
"recastnavigation"
|
|
|
|
|
"squish"
|
2021-12-06 02:19:31 -05:00
|
|
|
|
"stb_rect_pack"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"tinyexr"
|
2020-02-01 08:00:38 -05:00
|
|
|
|
"vhacd"
|
2020-01-28 13:25:40 -05:00
|
|
|
|
"xatlas")))
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(lset-difference string=?
|
|
|
|
|
(scandir ".")
|
2022-01-05 23:29:22 -05:00
|
|
|
|
(cons* "." ".." preserved-files)))))))))
|
2017-11-17 04:17:46 -05:00
|
|
|
|
(build-system scons-build-system)
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(arguments
|
2017-11-17 04:17:46 -05:00
|
|
|
|
`(#:scons ,scons-python2
|
2020-05-17 11:55:16 -04:00
|
|
|
|
#:scons-flags (list "platform=x11" "target=release_debug"
|
2017-11-17 04:17:46 -05:00
|
|
|
|
;; Avoid using many of the bundled libs.
|
|
|
|
|
;; Note: These options can be found in the SConstruct file.
|
2020-01-28 13:25:39 -05:00
|
|
|
|
"builtin_bullet=no"
|
2017-11-17 04:17:46 -05:00
|
|
|
|
"builtin_freetype=no"
|
|
|
|
|
"builtin_glew=no"
|
|
|
|
|
"builtin_libmpdec=no"
|
|
|
|
|
"builtin_libogg=no"
|
|
|
|
|
"builtin_libpng=no"
|
|
|
|
|
"builtin_libtheora=no"
|
|
|
|
|
"builtin_libvorbis=no"
|
2018-03-15 06:38:48 -04:00
|
|
|
|
"builtin_libvpx=no"
|
2017-11-17 04:17:46 -05:00
|
|
|
|
"builtin_libwebp=no"
|
2020-01-28 13:25:39 -05:00
|
|
|
|
"builtin_mbedtls=no"
|
2017-11-17 04:17:46 -05:00
|
|
|
|
"builtin_opus=no"
|
2020-01-28 13:25:39 -05:00
|
|
|
|
"builtin_pcre2=no"
|
2020-02-01 08:00:38 -05:00
|
|
|
|
"builtin_wslay=no"
|
2020-01-28 13:25:39 -05:00
|
|
|
|
"builtin_zlib=no"
|
|
|
|
|
"builtin_zstd=no")
|
2020-05-17 11:55:18 -04:00
|
|
|
|
#:tests? #f ; There are no tests
|
2017-09-07 07:59:47 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'scons-use-env
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Scons does not use the environment variables by default,
|
|
|
|
|
;; but this substitution makes it do so.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("env_base = Environment\\(tools=custom_tools\\)")
|
|
|
|
|
(string-append
|
|
|
|
|
"env_base = Environment(tools=custom_tools)\n"
|
2022-01-05 23:29:22 -05:00
|
|
|
|
"env_base = Environment(ENV=os.environ)")))))
|
2020-05-17 11:55:18 -04:00
|
|
|
|
;; Build headless tools, used for packaging games without depending on X.
|
|
|
|
|
(add-after 'build 'build-headless
|
|
|
|
|
(lambda* (#:key scons-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "scons"
|
|
|
|
|
`(,(string-append "-j" (number->string (parallel-job-count)))
|
|
|
|
|
"platform=server" ,@(delete "platform=x11" scons-flags)))))
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(replace 'install
|
2020-05-17 11:55:18 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-05-17 11:55:18 -04:00
|
|
|
|
(headless (assoc-ref outputs "headless"))
|
|
|
|
|
(zenity (assoc-ref inputs "zenity")))
|
|
|
|
|
;; Strip build info from filenames.
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(with-directory-excursion "bin"
|
2020-05-17 11:55:18 -04:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(let ((dest (car (string-split (basename file) #\.))))
|
|
|
|
|
(rename-file file dest)))
|
|
|
|
|
(find-files "." "godot.*\\.x11\\.opt\\.tools.*"))
|
|
|
|
|
(install-file "godot" (string-append out "/bin"))
|
|
|
|
|
(install-file "godot_server" (string-append headless "/bin")))
|
|
|
|
|
;; Tell the editor where to find zenity for OS.alert().
|
|
|
|
|
(wrap-program (string-append out "/bin/godot")
|
2022-01-05 23:29:22 -05:00
|
|
|
|
`("PATH" ":" prefix (,(string-append zenity "/bin")))))))
|
2021-12-06 02:19:31 -05:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; FIXME: Mesa tries to dlopen libudev.so.0 and fails. Pending a
|
|
|
|
|
;; fix of the mesa package we wrap the pcb executable such that
|
|
|
|
|
;; Mesa can find libudev.so.0 through LD_LIBRARY_PATH.
|
|
|
|
|
;; also append ld path for pulseaudio and alsa-lib
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2022-01-05 23:46:25 -05:00
|
|
|
|
(udev_path (string-append (assoc-ref inputs "eudev") "/lib"))
|
2021-12-06 02:19:31 -05:00
|
|
|
|
(pulseaudio_path (string-append (assoc-ref inputs "pulseaudio") "/lib"))
|
|
|
|
|
(alas_lib_path (string-append (assoc-ref inputs "alsa-lib") "/lib")))
|
|
|
|
|
(wrap-program (string-append out "/bin/godot")
|
2022-01-05 23:29:22 -05:00
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix (,udev_path ,pulseaudio_path ,alas_lib_path))))))
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(add-after 'install 'install-godot-desktop
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-05-17 11:55:19 -04:00
|
|
|
|
(applications (string-append out "/share/applications"))
|
|
|
|
|
(icons (string-append out "/share/icons/hicolor")))
|
|
|
|
|
(mkdir-p applications)
|
|
|
|
|
(copy-file "misc/dist/linux/org.godotengine.Godot.desktop"
|
|
|
|
|
(string-append applications "/godot.desktop"))
|
|
|
|
|
(for-each (lambda (icon dest)
|
|
|
|
|
(mkdir-p (dirname dest))
|
|
|
|
|
(copy-file icon dest))
|
|
|
|
|
'("icon.png" "icon.svg")
|
|
|
|
|
`(,(string-append icons "/256x256/apps/godot.png")
|
2022-01-05 23:29:22 -05:00
|
|
|
|
,(string-append icons "/scalable/apps/godot.svg")))))))))
|
2020-05-17 11:55:18 -04:00
|
|
|
|
(outputs '("out" "headless"))
|
2022-01-05 23:46:25 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
|
|
|
|
(inputs
|
|
|
|
|
(list alsa-lib
|
|
|
|
|
bullet
|
|
|
|
|
freetype
|
|
|
|
|
glew
|
|
|
|
|
glu
|
|
|
|
|
libtheora
|
|
|
|
|
libvorbis
|
|
|
|
|
libvpx
|
|
|
|
|
libwebp
|
|
|
|
|
libx11
|
|
|
|
|
libxcursor
|
|
|
|
|
libxi
|
|
|
|
|
libxinerama
|
|
|
|
|
libxrandr
|
|
|
|
|
mbedtls-apache
|
|
|
|
|
mesa
|
|
|
|
|
opusfile
|
|
|
|
|
pcre2
|
|
|
|
|
pulseaudio
|
|
|
|
|
eudev ; FIXME: required by mesa
|
|
|
|
|
wslay
|
|
|
|
|
zenity
|
|
|
|
|
`(,zstd "lib")))
|
2017-09-07 07:59:47 -04:00
|
|
|
|
(home-page "https://godotengine.org/")
|
|
|
|
|
(synopsis "Advanced 2D and 3D game engine")
|
|
|
|
|
(description
|
|
|
|
|
"Godot is an advanced multi-platform game engine written in C++. If
|
|
|
|
|
features design tools such as a visual editor, can import 3D models and
|
|
|
|
|
provide high-quality 3D rendering, it contains an animation editor, and can be
|
|
|
|
|
scripted in a Python-like language.")
|
|
|
|
|
(license license:expat)))
|
2018-01-15 17:21:20 -05:00
|
|
|
|
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
(define-public godot
|
|
|
|
|
(package
|
|
|
|
|
(name "godot")
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(version "4.1.1")
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/godotengine/godot")
|
|
|
|
|
(commit (string-append version "-stable"))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-15 20:00:01 -04:00
|
|
|
|
"1byy4zdsj8nq54rhmij7kl0mdh4zv3c056y6c7rjy17bqjq2n8fh"))
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Keep only those bundled files we have not (yet) replaced
|
|
|
|
|
;; with Guix versions. Note that some of these may be
|
|
|
|
|
;; modified; see "thirdparty/README.md".
|
|
|
|
|
(with-directory-excursion "thirdparty"
|
|
|
|
|
(let* ((preserved-files
|
|
|
|
|
'("README.md"
|
|
|
|
|
"amd-fsr"
|
|
|
|
|
"assimp"
|
|
|
|
|
"astcenc"
|
|
|
|
|
"basis_universal"
|
|
|
|
|
;; Godot needs ca-certificates.crt, but that is
|
|
|
|
|
;; not available in build environment
|
|
|
|
|
"certs"
|
|
|
|
|
"cvtt"
|
|
|
|
|
"linuxbsd_headers"
|
|
|
|
|
"etc2comp"
|
|
|
|
|
"etcpak"
|
|
|
|
|
"fonts"
|
|
|
|
|
"glad"
|
|
|
|
|
"jpeg-compressor"
|
|
|
|
|
"libsimplewebm"
|
|
|
|
|
"meshoptimizer"
|
|
|
|
|
"minimp3"
|
|
|
|
|
"miniupnpc"
|
|
|
|
|
"minizip"
|
|
|
|
|
"misc"
|
|
|
|
|
"msdfgen"
|
|
|
|
|
"nanosvg"
|
|
|
|
|
"noise"
|
|
|
|
|
"oidn"
|
|
|
|
|
"openxr"
|
|
|
|
|
"pvrtccompressor"
|
|
|
|
|
"recastnavigation"
|
|
|
|
|
"rvo2"
|
|
|
|
|
"spirv-reflect"
|
|
|
|
|
"squish"
|
|
|
|
|
"stb_rect_pack"
|
|
|
|
|
"thorvg"
|
|
|
|
|
"tinyexr"
|
|
|
|
|
"vhacd"
|
|
|
|
|
"volk"
|
|
|
|
|
"vulkan"
|
|
|
|
|
"xatlas")))
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(lset-difference string=?
|
|
|
|
|
(scandir ".")
|
|
|
|
|
(cons* "." ".." preserved-files)))))))))
|
|
|
|
|
(build-system scons-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:scons-flags #~`("platform=linuxbsd" "target=editor" "production=yes"
|
|
|
|
|
;; XXX: There may be advantages to enabling volk,
|
|
|
|
|
;; requiring unbundling and patching to use our input.
|
|
|
|
|
"use_volk=no"
|
|
|
|
|
;; Avoid using many of the bundled libs.
|
|
|
|
|
;; Note: These options can be found in the SConstruct file.
|
2023-07-28 00:26:37 -04:00
|
|
|
|
"builtin_brotli=no"
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
"builtin_embree=no"
|
|
|
|
|
"builtin_enet=no"
|
|
|
|
|
"builtin_freetype=no"
|
|
|
|
|
"builtin_glslang=no"
|
|
|
|
|
"builtin_graphite=no"
|
|
|
|
|
"builtin_harfbuzz=no"
|
|
|
|
|
"builtin_icu4c=no"
|
|
|
|
|
"builtin_libogg=no"
|
|
|
|
|
"builtin_libpng=no"
|
|
|
|
|
"builtin_libtheora=no"
|
|
|
|
|
"builtin_libvorbis=no"
|
|
|
|
|
"builtin_libwebp=no"
|
|
|
|
|
"builtin_mbedtls=no"
|
|
|
|
|
"builtin_pcre2=no"
|
|
|
|
|
"builtin_pcre2_with_jit=no"
|
|
|
|
|
"builtin_wslay=no"
|
|
|
|
|
"builtin_zlib=no"
|
|
|
|
|
"builtin_zstd=no")
|
|
|
|
|
#:tests? #f ; There are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'scons-use-env
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Scons does not use the environment variables by default,
|
|
|
|
|
;; but this substitution makes it do so.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("env_base = Environment\\(tools=custom_tools\\)")
|
|
|
|
|
(string-append
|
|
|
|
|
"env_base = Environment(tools=custom_tools)\n"
|
|
|
|
|
"env_base = Environment(ENV=os.environ)")))))
|
|
|
|
|
(add-after 'scons-use-env 'fix-dlopen-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((files '("drivers/alsa/asound-so_wrap.c"
|
|
|
|
|
"drivers/pulseaudio/pulse-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/dbus-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/fontconfig-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/libudev-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/speechd-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/display_server_x11.cpp"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xcursor-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xext-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xinerama-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xinput2-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xlib-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xrandr-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.c"
|
|
|
|
|
"platform/linuxbsd/xkbcommon-so_wrap.c"
|
|
|
|
|
"thirdparty/volk/volk.c"
|
|
|
|
|
"thirdparty/volk/volk.c"))
|
|
|
|
|
(libs '("libasound.so.2"
|
|
|
|
|
"libpulse.so.0"
|
|
|
|
|
"libdbus-1.so.3"
|
|
|
|
|
"libfontconfig.so.1"
|
|
|
|
|
"libudev.so.1"
|
|
|
|
|
"libspeechd.so.2"
|
|
|
|
|
"libXrandr.so.2"
|
|
|
|
|
"libXcursor.so.1"
|
|
|
|
|
"libXext.so.6"
|
|
|
|
|
"libXinerama.so.1"
|
|
|
|
|
"libXi.so.6"
|
|
|
|
|
"libX11.so.6"
|
|
|
|
|
"libXrandr.so.2"
|
|
|
|
|
"libXrender.so.1"
|
|
|
|
|
"libxkbcommon.so.0"
|
|
|
|
|
"libvulkan.so.1"
|
|
|
|
|
"libvulkan.so")))
|
|
|
|
|
(for-each (lambda (file lib)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(((string-append "dlopen\\(\"" lib "\""))
|
|
|
|
|
(string-append "dlopen(\""
|
|
|
|
|
(search-input-file
|
|
|
|
|
inputs (string-append "lib/" lib))
|
|
|
|
|
"\""))))
|
|
|
|
|
files libs))
|
|
|
|
|
(substitute* "thirdparty/glad/gl.c"
|
|
|
|
|
(("libGL.so") ; for both .so and .so.1
|
|
|
|
|
(string-append (search-input-file inputs "lib/libGL.so"))))
|
|
|
|
|
(substitute* "thirdparty/glad/glx.c"
|
|
|
|
|
(("libGL.so") ; for both .so and .so.1
|
|
|
|
|
(string-append (search-input-file inputs "lib/libGL.so"))))))
|
|
|
|
|
(add-after 'fix-dlopen-paths 'unbundle-xkbcommon
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "platform/linuxbsd/xkbcommon-so_wrap.c"
|
|
|
|
|
(("./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon.h")
|
|
|
|
|
(string-append
|
|
|
|
|
(search-input-file inputs "include/xkbcommon/xkbcommon.h")))
|
|
|
|
|
(("./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-compose.h")
|
|
|
|
|
(string-append
|
|
|
|
|
(search-input-file inputs "include/xkbcommon/xkbcommon-compose.h")))
|
|
|
|
|
(("./thirdparty/linuxbsd_headers/xkbcommon/xkbcommon-keysyms.h")
|
|
|
|
|
(string-append
|
|
|
|
|
(search-input-file inputs "include/xkbcommon/xkbcommon-keysyms.h"))))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((zenity (search-input-file inputs "bin/zenity")))
|
|
|
|
|
;; Strip build info from filenames.
|
|
|
|
|
(with-directory-excursion "bin"
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(let ((dest (car (string-split (basename file) #\.))))
|
|
|
|
|
(rename-file file dest)))
|
|
|
|
|
(find-files "." "godot.*\\.linuxbsd\\.editor.*"))
|
|
|
|
|
(install-file "godot" (string-append #$output "/bin")))
|
|
|
|
|
;; Tell the editor where to find zenity for OS.alert().
|
|
|
|
|
;; TODO: This could be changed in
|
|
|
|
|
;; platform/linuxbsd/os_linuxbsd.cpp directly, along with the
|
|
|
|
|
;; other alert programs.
|
|
|
|
|
(wrap-program (string-append #$output "/bin/godot")
|
|
|
|
|
`("PATH" ":" prefix (,(string-append zenity "/bin")))))))
|
|
|
|
|
(add-after 'install 'install-godot-desktop
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((applications (string-append #$output "/share/applications"))
|
|
|
|
|
(icons (string-append #$output "/share/icons/hicolor")))
|
|
|
|
|
(mkdir-p applications)
|
|
|
|
|
(copy-file "misc/dist/linux/org.godotengine.Godot.desktop"
|
|
|
|
|
(string-append applications "/godot.desktop"))
|
|
|
|
|
(for-each (lambda (icon dest)
|
|
|
|
|
(mkdir-p (dirname dest))
|
|
|
|
|
(copy-file icon dest))
|
|
|
|
|
'("icon.png" "icon.svg")
|
|
|
|
|
`(,(string-append icons "/256x256/apps/godot.png")
|
|
|
|
|
,(string-append icons "/scalable/apps/godot.svg")))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
|
|
|
|
(inputs
|
|
|
|
|
(list alsa-lib
|
2023-07-28 00:26:37 -04:00
|
|
|
|
brotli
|
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons. Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build). Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases. In 'install
phase, remove headless output. Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib. Remove
bullet. Rename freetype to freetype-with-brotli.
(godot-lts): New variable. godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
|
|
|
|
dbus
|
|
|
|
|
embree
|
|
|
|
|
enet
|
|
|
|
|
eudev
|
|
|
|
|
fontconfig
|
|
|
|
|
freetype-with-brotli
|
|
|
|
|
glew
|
|
|
|
|
glslang
|
|
|
|
|
glu
|
|
|
|
|
libpng
|
|
|
|
|
harfbuzz
|
|
|
|
|
icu4c
|
|
|
|
|
libtheora
|
|
|
|
|
libvorbis
|
|
|
|
|
libvpx
|
|
|
|
|
libwebp
|
|
|
|
|
libx11
|
|
|
|
|
libxcursor
|
|
|
|
|
libxi
|
|
|
|
|
libxinerama
|
|
|
|
|
libxkbcommon
|
|
|
|
|
libxrandr
|
|
|
|
|
mbedtls-apache
|
|
|
|
|
mesa
|
|
|
|
|
openxr
|
|
|
|
|
opusfile
|
|
|
|
|
pcre2
|
|
|
|
|
pulseaudio
|
|
|
|
|
speech-dispatcher
|
|
|
|
|
vulkan-loader
|
|
|
|
|
wslay
|
|
|
|
|
zenity
|
|
|
|
|
zlib
|
|
|
|
|
`(,zstd "lib")))
|
|
|
|
|
(home-page "https://godotengine.org/")
|
|
|
|
|
(synopsis "Advanced 2D and 3D game engine")
|
|
|
|
|
(description
|
|
|
|
|
"Godot is an advanced multi-platform game engine written in C++. If
|
|
|
|
|
features design tools such as a visual editor, can import 3D models and
|
|
|
|
|
provide high-quality 3D rendering, it contains an animation editor, and can be
|
|
|
|
|
scripted in a Python-like language.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-03-28 05:56:53 -04:00
|
|
|
|
(define-public entt
|
|
|
|
|
(package
|
|
|
|
|
(name "entt")
|
2021-04-19 06:41:13 -04:00
|
|
|
|
(version "3.7.1")
|
2021-03-28 05:56:53 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/skypjack/entt")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-19 06:41:13 -04:00
|
|
|
|
"151jg3m262xwaywl2rqnc90yr6p48rhmgi5mxyv6bwqvmfli2m5p"))))
|
2021-03-28 05:56:53 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "-DENTT_BUILD_TESTING=ON"
|
|
|
|
|
"-DENTT_FIND_GTEST_PACKAGE=ON"
|
|
|
|
|
"-DENTT_BUILD_DOCS=ON")
|
|
|
|
|
;; Only tests are compiled, and they need assertions to work correctly.
|
|
|
|
|
#:build-type "Debug"))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ;; for testing
|
|
|
|
|
googletest
|
|
|
|
|
;; for documentation
|
|
|
|
|
doxygen graphviz))
|
2021-03-28 05:56:53 -04:00
|
|
|
|
(synopsis "Entity component system")
|
|
|
|
|
(description "EnTT is a header-only library, containing (among other things)
|
|
|
|
|
@itemize
|
|
|
|
|
@item an entity component system based on sparse sets,
|
|
|
|
|
@item a configuration system using the monostate pattern,
|
|
|
|
|
@item a static reflection system,
|
|
|
|
|
@item and a cooperative scheduler.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://github.com/skypjack/entt")
|
|
|
|
|
(license (list license:expat ; code
|
|
|
|
|
license:cc-by4.0)))) ; documentation
|
|
|
|
|
|
2018-01-15 17:21:20 -05:00
|
|
|
|
(define-public eureka
|
|
|
|
|
(package
|
|
|
|
|
(name "eureka")
|
2019-03-15 15:40:39 -04:00
|
|
|
|
(version "1.24")
|
2018-01-15 17:21:20 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/eureka-editor/Eureka/"
|
|
|
|
|
version "/eureka-"
|
|
|
|
|
;; version without dots e.g 1.21 => 121
|
|
|
|
|
(string-join (string-split version #\.) "")
|
|
|
|
|
"-source.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-15 15:40:39 -04:00
|
|
|
|
"1x4idjniz9sma3j9ss6ni7fafmz22zs2jnpsqw4my9rsnmra5d9v"))))
|
2018-01-15 17:21:20 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'prepare-install-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(mkdir-p (string-append out "/share"))
|
|
|
|
|
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
|
(substitute* "./src/main.cc"
|
|
|
|
|
(("/usr/local") out)))
|
|
|
|
|
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-o root") ""))))))))
|
|
|
|
|
(inputs `(("mesa" ,mesa)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libfontconfig" ,fontconfig)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-01-15 17:21:20 -05:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("fltk" ,fltk)
|
|
|
|
|
("zlib" ,zlib)))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list pkg-config xdg-utils))
|
2018-01-15 17:21:20 -05:00
|
|
|
|
(synopsis "Doom map editor")
|
|
|
|
|
(description "Eureka is a map editor for the classic DOOM games, and a few
|
|
|
|
|
related games such as Heretic and Hexen. It comes with a 3d preview mode and
|
|
|
|
|
a 2D editor view.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://eureka-editor.sourceforge.net/")
|
2018-01-15 17:21:20 -05:00
|
|
|
|
(license license:gpl2+)))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
|
|
|
|
|
(define-public guile-chickadee
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-chickadee")
|
2023-05-24 11:53:03 -04:00
|
|
|
|
(version "0.10.0")
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.dthompson.us/chickadee/"
|
|
|
|
|
"chickadee-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-05-24 11:53:03 -04:00
|
|
|
|
"0x8g0bsvir2z3876ynslfgnmfr5p92ic4666v73526lswnv56bqk"))))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-06-16 16:05:43 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(propagated-inputs
|
2020-11-23 15:47:55 -05:00
|
|
|
|
`(("guile-opengl" ,guile3.0-opengl)
|
2021-10-09 05:17:37 -04:00
|
|
|
|
("guile-sdl2" ,guile-sdl2)))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list freetype
|
|
|
|
|
guile-3.0-latest
|
2022-10-25 09:36:14 -04:00
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
2021-12-13 11:18:24 -05:00
|
|
|
|
libvorbis
|
|
|
|
|
mpg123
|
|
|
|
|
openal
|
|
|
|
|
readline))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list guile-3.0-latest pkg-config texinfo))
|
2018-06-19 20:59:23 -04:00
|
|
|
|
(home-page "https://dthompson.us/projects/chickadee.html")
|
|
|
|
|
(synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL")
|
|
|
|
|
(description "Chickadee is a game development toolkit for Guile Scheme
|
|
|
|
|
built on top of SDL2 and OpenGL. Chickadee aims to provide all the features
|
|
|
|
|
that parenthetically inclined game developers need to make 2D (and eventually
|
|
|
|
|
3D) games in Scheme, such as:
|
|
|
|
|
|
2020-03-14 12:30:33 -04:00
|
|
|
|
@enumerate
|
|
|
|
|
@item extensible, fixed-timestep game loop
|
|
|
|
|
@item OpenGL-based rendering engine
|
|
|
|
|
@item keyboard, mouse, controller input
|
|
|
|
|
@item REPL-driven development model
|
|
|
|
|
@end enumerate\n")
|
2023-07-07 16:34:58 -04:00
|
|
|
|
(license license:asl2.0)))
|
2020-03-14 12:30:33 -04:00
|
|
|
|
|
2019-03-24 08:56:16 -04:00
|
|
|
|
(define-public bennu-game-development
|
|
|
|
|
(package
|
|
|
|
|
(name "bennu-game-development")
|
2020-11-18 08:13:47 -05:00
|
|
|
|
(version "353")
|
2019-03-24 08:56:16 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "http://svn.code.sf.net/p/bennugd/code")
|
|
|
|
|
(revision (string->number version))))
|
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-18 08:13:47 -05:00
|
|
|
|
"1iri58ryk9lbqn585cbccnvrfkj8qxlbcsk8rpih40jhvs1j101l"))
|
2019-03-24 10:05:56 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "3rdparty") #t))))
|
2019-03-24 08:56:16 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-24 10:07:07 -04:00
|
|
|
|
(add-after 'unpack 'patch-configure-to-use-openssl
|
2019-03-24 08:56:16 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(chdir "core")
|
|
|
|
|
(delete-file "configure")
|
|
|
|
|
(substitute* "configure.in"
|
|
|
|
|
(("i\\*86\\)")
|
2019-03-24 10:07:07 -04:00
|
|
|
|
"*)
|
2019-03-24 08:56:16 -04:00
|
|
|
|
COMMON_CFLAGS=\"$COMMON_CFLAGS -DUSE_OPENSSL\"
|
|
|
|
|
COMMON_LDFLAGS=\"$COMMON_LDFLAGS\"
|
|
|
|
|
LIBSSL=\"crypto\"
|
|
|
|
|
USE_OPENSSL=yes
|
|
|
|
|
;;
|
|
|
|
|
|
2019-03-24 10:07:07 -04:00
|
|
|
|
i*86)"))
|
|
|
|
|
#t)))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list openssl zlib))
|
|
|
|
|
(native-inputs (list pkg-config autoconf automake libtool))
|
2019-03-24 08:56:16 -04:00
|
|
|
|
(synopsis "Programming language to create games")
|
|
|
|
|
(description "Bennu Game Development, also known as bennudg, is a
|
|
|
|
|
programming language tailored at game development. It is the successor of
|
|
|
|
|
Fenix.")
|
|
|
|
|
(home-page "https://sourceforge.net/projects/bennugd/")
|
|
|
|
|
(license license:zlib)))
|
2019-03-24 09:00:32 -04:00
|
|
|
|
|
|
|
|
|
(define-public bennu-game-development-modules
|
|
|
|
|
(package
|
|
|
|
|
(inherit bennu-game-development)
|
|
|
|
|
(name "bennu-game-development-modules")
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-conflicting-definitions
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
|
(substitute* "core/include/fmath.h"
|
|
|
|
|
(("extern fixed fmul\\( int x, int y \\);") "")
|
|
|
|
|
(("extern fixed fdiv\\( int x, int y \\);") "")))
|
|
|
|
|
(chdir "modules"))))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list zlib libpng openssl sdl-mixer bennu-game-development))
|
2019-04-16 17:16:31 -04:00
|
|
|
|
(synopsis "Modules for the Bennu Game Development programming language")
|
2019-03-24 09:00:32 -04:00
|
|
|
|
(description "This package contains a collection of modules for the Bennu
|
2019-04-16 17:16:31 -04:00
|
|
|
|
Game Development programming language, from CD handling through SDL to
|
2019-03-24 09:00:32 -04:00
|
|
|
|
joystick support.")))
|
2019-04-14 08:45:06 -04:00
|
|
|
|
|
|
|
|
|
(define-public plib
|
|
|
|
|
(package
|
|
|
|
|
(name "plib")
|
|
|
|
|
(version "1.8.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://plib.sourceforge.net/dist/"
|
|
|
|
|
"plib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-10 04:58:47 -04:00
|
|
|
|
"0cha71mflpa10vh2l7ipyqk67dq2y0k5xbafwdks03fwdyzj4ns8"))
|
|
|
|
|
(patches (search-patches "plib-CVE-2011-4620.patch"
|
|
|
|
|
"plib-CVE-2012-4552.patch"))))
|
2019-04-14 08:45:06 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list mesa libxi libxmu))
|
2019-04-14 08:45:06 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://plib.sourceforge.net/")
|
2019-04-14 08:45:06 -04:00
|
|
|
|
(synopsis "Suite of portable game libraries")
|
|
|
|
|
(description "PLIB is a set of libraries that will permit programmers to
|
|
|
|
|
write games and other realtime interactive applications that are 100% portable
|
|
|
|
|
across a wide range of hardware and operating systems. PLIB includes sound
|
|
|
|
|
effects, music, a complete 3D engine, font rendering, a simple Windowing
|
|
|
|
|
library, a game scripting language, a GUI, networking, 3D math library and a
|
|
|
|
|
collection of handy utility functions. All are 100% portable across nearly
|
|
|
|
|
all modern computing platforms. Each library component is fairly independent
|
|
|
|
|
of the others")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public ioquake3
|
|
|
|
|
;; We follow master since it seems that there won't be releases after 1.3.6.
|
2022-08-13 20:00:01 -04:00
|
|
|
|
(let ((revision "2")
|
|
|
|
|
(commit "29b0cc3a4d037046eb3247fc04f4b703f6a33452"))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "ioquake3")
|
2022-08-13 20:00:01 -04:00
|
|
|
|
(version (git-version "1.3.6" revision commit))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ioquake/ioq3")
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-08-13 20:00:01 -04:00
|
|
|
|
(base32 "0fqq2qpnrgpgf3gs71wvxlkcihxcrvhvllh88ii4ip134c1qbs9q"))))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2022-08-13 20:00:00 -04:00
|
|
|
|
(list curl
|
|
|
|
|
freetype
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libogg
|
|
|
|
|
libvorbis
|
|
|
|
|
openal
|
|
|
|
|
opus
|
|
|
|
|
opusfile
|
|
|
|
|
sdl2))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(native-inputs
|
2022-08-13 20:00:01 -04:00
|
|
|
|
(list which ; else SDL_version.h won't be found.
|
2021-12-13 11:18:24 -05:00
|
|
|
|
pkg-config))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(arguments
|
2022-08-13 20:00:01 -04:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
2022-08-13 20:00:01 -04:00
|
|
|
|
#~(list (string-append "CC=" #$(cc-for-target))
|
2022-08-13 20:00:01 -04:00
|
|
|
|
"USE_INTERNAL_LIBS=0"
|
|
|
|
|
"USE_FREETYPE=1"
|
|
|
|
|
"USE_RENDERER_DLOPEN=0"
|
|
|
|
|
"USE_OPENAL_DLOPEN=0"
|
|
|
|
|
"USE_CURL_DLOPEN=0")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure-script
|
|
|
|
|
(replace 'install
|
2022-08-13 20:00:00 -04:00
|
|
|
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "copyfiles"
|
|
|
|
|
(string-append "COPYDIR="
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/bin")
|
|
|
|
|
make-flags))))))
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(home-page "https://ioquake3.org/")
|
|
|
|
|
(synopsis "FPS game engine based on Quake 3")
|
|
|
|
|
(description "ioquake3 is a free software first person shooter engine
|
|
|
|
|
based on the Quake 3: Arena and Quake 3: Team Arena source code. Compared to
|
|
|
|
|
the original, ioquake3 has been cleaned up, bugs have been fixed and features
|
2022-08-13 20:00:00 -04:00
|
|
|
|
added. The permanent goal is to create a Quake 3 distribution upon which
|
|
|
|
|
people base their games, ports to new platforms, and other projects.")
|
2019-05-23 12:54:27 -04:00
|
|
|
|
(license license:gpl2))))
|
2019-06-22 06:57:56 -04:00
|
|
|
|
|
2021-08-04 08:29:12 -04:00
|
|
|
|
(define-public instead
|
|
|
|
|
(package
|
|
|
|
|
(name "instead")
|
|
|
|
|
(version "3.3.5")
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/instead-hub/instead")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02j8cw623j51qmr4991i5hsbrzmnp0qfzds8m6nwwr15sjv3hv1g"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches
|
|
|
|
|
"instead-use-games-path.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "src/zlib")))))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append
|
|
|
|
|
"-DLUA_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "luajit") "/include/luajit-2.1/")
|
|
|
|
|
"-DWITH_LUAJIT=1"
|
|
|
|
|
"-DWITH_GTK3=1")
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+",gtk+)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("luajit" ,luajit)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("sdl2-images" ,sdl2-image)
|
|
|
|
|
("sdl2-ttf" ,sdl2-ttf)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://instead3.syscall.ru/")
|
|
|
|
|
(synopsis "Text adventure interpreter")
|
|
|
|
|
(description "The STEAD (Simple TExt ADventures) interpreter provides
|
|
|
|
|
functionality to play games that mix elements of visual novels, interactive
|
|
|
|
|
fiction and classic point-and-click adventures.")
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "INSTEAD_GAMES_PATH")
|
|
|
|
|
(separator #f) ;single entry
|
|
|
|
|
(files '("share/instead/games")))))
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-06-22 06:57:56 -04:00
|
|
|
|
(define-public openvr
|
|
|
|
|
(package
|
|
|
|
|
(name "openvr")
|
2019-11-12 11:24:12 -05:00
|
|
|
|
(version "1.8.19")
|
2019-06-22 06:57:56 -04:00
|
|
|
|
(home-page "https://github.com/ValveSoftware/openvr/")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-11-12 11:24:12 -05:00
|
|
|
|
(base32 "1b8cppvw6ib0kvx0vjq7jsk3plg1vh171w8xr230vjn05381wp52"))))
|
2019-06-22 06:57:56 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; No tests.
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:configure-flags (list "-DBUILD_SHARED=1")))
|
|
|
|
|
(synopsis "Virtual reality software development kit")
|
|
|
|
|
(description "OpenVR is an API and runtime that allows access to VR
|
|
|
|
|
hardware from multiple vendors without requiring that applications have
|
|
|
|
|
specific knowledge of the hardware they are targeting.")
|
|
|
|
|
(license license:bsd-3)))
|
2019-12-15 09:58:34 -05:00
|
|
|
|
|
2020-06-15 15:55:33 -04:00
|
|
|
|
(define-public flatzebra
|
|
|
|
|
(package
|
|
|
|
|
(name "flatzebra")
|
|
|
|
|
(version "0.1.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://perso.b2b2c.ca/~sarrazip/dev/"
|
|
|
|
|
"flatzebra-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1x2dy41c8vrq62bn03b82fpmk7x4rzd7qqiwvq0mgcl5rmasc2c8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-sdl-config
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; XXX: sdl-config in sdl-union is a link to sdl-config from
|
|
|
|
|
;; plain sdl package. As a consequence, the prefix is wrong.
|
|
|
|
|
;; Force correct one with "--prefix" argument.
|
|
|
|
|
(let ((sdl-union (assoc-ref inputs "sdl")))
|
|
|
|
|
(setenv "SDL_CONFIG"
|
|
|
|
|
(string-append sdl-union
|
|
|
|
|
"/bin/sdl-config --prefix="
|
|
|
|
|
sdl-union)))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2020-06-15 15:55:33 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,(sdl-union (list sdl sdl-image sdl-mixer)))))
|
|
|
|
|
(home-page "http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html")
|
|
|
|
|
(synopsis "Generic game engine for 2D double-buffering animation")
|
|
|
|
|
(description
|
|
|
|
|
"Flatzebra is a simple, generic C++ game engine library supporting 2D
|
|
|
|
|
double-buffering.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-01-04 20:09:33 -05:00
|
|
|
|
(define-public libccd
|
|
|
|
|
(package
|
|
|
|
|
(name "libccd")
|
|
|
|
|
(version "2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/danfis/libccd")
|
2020-01-04 20:09:33 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0sfmn5pd7k5kyhbxnd689xmsa5v843r7sska96dlysqpljd691jc"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_DOCUMENTATION=ON"
|
|
|
|
|
"-DBUILD_TESTING=ON"
|
|
|
|
|
"-DENABLE_DOUBLE_PRECISION=ON")))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-sphinx))
|
2020-01-04 20:09:33 -05:00
|
|
|
|
(home-page "https://github.com/danfis/libccd")
|
|
|
|
|
(synopsis "Library for collision detection between two convex shapes")
|
|
|
|
|
(description "@code{libccd} is library for a collision detection
|
|
|
|
|
between two convex shapes. @code{libccd} implements variation on
|
|
|
|
|
Gilbert–Johnson–Keerthi algorithm plus Expand Polytope Algorithm (EPA)
|
|
|
|
|
and also implements algorithm Minkowski Portal Refinement (MPR,
|
|
|
|
|
a.k.a. XenoCollide) as described in Game Programming Gems 7.")
|
|
|
|
|
(license license:expat)))
|
2020-01-04 20:11:26 -05:00
|
|
|
|
|
|
|
|
|
(define-public ode
|
|
|
|
|
(package
|
|
|
|
|
(name "ode")
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(version "0.16.4")
|
2020-01-04 20:11:26 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/odedevs/ode/downloads/"
|
|
|
|
|
"ode-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(base32 "0rrl4pn4h3g0ay0i3n61pr6bwyk9vgar17vjal56pj66h617n0vi"))
|
2020-01-04 20:11:26 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2023-01-08 05:38:47 -05:00
|
|
|
|
(delete-file-recursively "libccd")))))
|
2020-01-04 20:11:26 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-01-08 05:38:47 -05:00
|
|
|
|
(list
|
2023-01-08 07:08:53 -05:00
|
|
|
|
;; XXX: The sole test is failing on i686 due to a rounding error.
|
2023-07-09 03:20:02 -04:00
|
|
|
|
#:tests? (not (or (target-x86-32?)
|
|
|
|
|
(%current-target-system)))
|
2023-01-08 05:38:47 -05:00
|
|
|
|
#:configure-flags #~(list "-DODE_WITH_LIBCCD_SYSTEM=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unbundle-libccd
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("configure_file\\(libccd/.*") "")))))))
|
2020-01-04 20:11:26 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list glu libccd mesa))
|
2020-01-18 17:12:46 -05:00
|
|
|
|
(home-page "https://www.ode.org/")
|
2020-01-04 20:11:26 -05:00
|
|
|
|
(synopsis "High performance library for simulating rigid body dynamics")
|
|
|
|
|
(description "ODE is a high performance library for simulating
|
|
|
|
|
rigid body dynamics. It is fully featured, stable, mature and
|
|
|
|
|
platform independent with an easy to use C/C++ API. It has advanced
|
|
|
|
|
joint types and integrated collision detection with friction. ODE is
|
|
|
|
|
useful for simulating vehicles, objects in virtual reality
|
|
|
|
|
environments and virtual creatures. It is currently used in many
|
|
|
|
|
computer games, 3D authoring tools and simulation tools.")
|
|
|
|
|
;; Software is dual-licensed.
|
|
|
|
|
(license (list license:lgpl2.1+ license:expat))))
|
2020-01-05 12:52:49 -05:00
|
|
|
|
|
|
|
|
|
(define-public chipmunk
|
|
|
|
|
(package
|
|
|
|
|
(name "chipmunk")
|
|
|
|
|
(version "7.0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/slembcke/Chipmunk2D")
|
2020-01-05 12:52:49 -05:00
|
|
|
|
(commit (string-append "Chipmunk-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-11-19 20:25:31 -05:00
|
|
|
|
(base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin
|
|
|
|
|
;; This is fixed in the upstream repository but the fix
|
|
|
|
|
;; has not been released.
|
|
|
|
|
(substitute* "src/cpHastySpace.c"
|
|
|
|
|
(("#include <sys/sysctl.h>") ""))))))
|
2020-01-05 12:52:49 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-11-19 20:28:38 -05:00
|
|
|
|
(list #:tests? #f ;no test
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DBUILD_STATIC=OFF"
|
|
|
|
|
"-DBUILD_DEMOS=OFF")))
|
2020-01-05 12:52:49 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list freeglut libxmu libxrandr))
|
2020-01-17 15:26:42 -05:00
|
|
|
|
(home-page "https://chipmunk-physics.net/")
|
2020-01-05 12:52:49 -05:00
|
|
|
|
(synopsis "Fast and lightweight 2D game physics library")
|
|
|
|
|
(description "Chipmunk is a simple, lightweight, fast and portable 2D
|
|
|
|
|
rigid body physics library written in C.")
|
|
|
|
|
(license license:expat)))
|
2020-02-16 16:42:42 -05:00
|
|
|
|
|
2021-06-22 02:26:55 -04:00
|
|
|
|
(define-public box2d
|
|
|
|
|
(package
|
|
|
|
|
(name "box2d")
|
|
|
|
|
(version "2.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/erincatto/box2d")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1ja9cahf3z9zzrdaqcw44lpjmqf2ir2g4chwz0iwqwlkckwhpgvh"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2022-08-09 15:23:22 -04:00
|
|
|
|
;; Remove bundled code only used for the testbed.
|
|
|
|
|
(delete-file-recursively "extern")
|
|
|
|
|
;; Remove bundled copy of doctest, and adjust tests accordingly.
|
|
|
|
|
(delete-file "unit-test/doctest.h")
|
|
|
|
|
(substitute* "unit-test/CMakeLists.txt"
|
|
|
|
|
(("doctest\\.h")
|
|
|
|
|
""))
|
|
|
|
|
(substitute* (find-files "unit-test" "\\.cpp$")
|
|
|
|
|
(("include \"doctest\\.h\"")
|
|
|
|
|
"include <doctest/doctest.h>"))))))
|
2021-06-22 02:26:55 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "unit_test"
|
|
|
|
|
#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DBOX2D_BUILD_TESTBED=OFF")))
|
2022-08-09 15:23:22 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list doctest)) ;for tests
|
2021-06-22 02:26:55 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libx11))
|
2021-06-22 02:26:55 -04:00
|
|
|
|
(home-page "https://box2d.org/")
|
|
|
|
|
(synopsis "2D physics engine for games")
|
|
|
|
|
(description "Box2D is a 2D rigid body simulation library for games.
|
|
|
|
|
Programmers can use it in their games to make objects move in realistic ways and
|
|
|
|
|
make the game world more interactive. From the game engine's point of view, a
|
|
|
|
|
physics engine is just a system for procedural animation.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-02-16 16:42:42 -05:00
|
|
|
|
(define-public libtcod
|
|
|
|
|
(package
|
|
|
|
|
(name "libtcod")
|
|
|
|
|
(version "1.15.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/libtcod/libtcod")
|
2020-02-16 16:42:42 -05:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pzr8ajmbqvh43ldjajx962xirj3rf8ayh344p6mqlrmb8gxrfr5"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
(delete-file-recursively "src/vendor/utf8proc")
|
|
|
|
|
(delete-file-recursively "src/vendor/zlib")
|
|
|
|
|
(delete-file "src/vendor/stb_truetype.h")
|
|
|
|
|
(delete-file "src/vendor/stb_sprintf.h")
|
|
|
|
|
(delete-file "src/vendor/lodepng.cpp")
|
|
|
|
|
(delete-file "src/vendor/lodepng.h")
|
|
|
|
|
|
|
|
|
|
(substitute* "buildsys/autotools/sources.am"
|
|
|
|
|
(("\\.\\./\\.\\./src/vendor/lodepng\\.cpp \\\\\n") "")
|
|
|
|
|
(("\\.\\./\\.\\./src/vendor/stb\\.c \\\\")
|
|
|
|
|
"../../src/vendor/stb.c")
|
|
|
|
|
(("\\.\\./\\.\\./src/vendor/utf8proc/utf8proc\\.c") ""))
|
|
|
|
|
|
|
|
|
|
(substitute* "src/libtcod/sys_sdl_img_png.cpp"
|
|
|
|
|
(("\\.\\./vendor/") ""))
|
|
|
|
|
|
|
|
|
|
(substitute* '("src/libtcod/color/canvas.cpp"
|
|
|
|
|
"src/libtcod/sys_sdl_img_png.cpp"
|
|
|
|
|
"src/libtcod/tileset/truetype.cpp"
|
|
|
|
|
"src/libtcod/tileset/tilesheet.cpp")
|
|
|
|
|
(("\\.\\./\\.\\./vendor/") ""))
|
|
|
|
|
|
|
|
|
|
(substitute* "src/libtcod/console/printing.cpp"
|
|
|
|
|
(("\\.\\./\\.\\./vendor/utf8proc/") ""))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-gnu-ld"
|
|
|
|
|
"LIBS=-lutf8proc -llodepng")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'change-to-build-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "buildsys/autotools")
|
2022-04-10 14:47:54 -04:00
|
|
|
|
(patch-shebang "get_version.py"))))))
|
2020-02-16 16:42:42 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
python
|
|
|
|
|
pkg-config
|
|
|
|
|
stb-sprintf
|
|
|
|
|
stb-truetype))
|
2020-02-16 16:42:42 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list lodepng sdl2 utf8proc zlib))
|
2020-02-16 16:42:42 -05:00
|
|
|
|
(home-page "https://github.com/libtcod/libtcod")
|
|
|
|
|
(synopsis "Library specifically designed for writing roguelikes")
|
|
|
|
|
(description
|
|
|
|
|
"libtcod is a fast, portable and uncomplicated API for roguelike
|
|
|
|
|
developers providing an advanced true color console, input, and lots of other
|
|
|
|
|
utilities frequently used in roguelikes.")
|
|
|
|
|
(license license:bsd-3)))
|
2020-05-02 11:51:21 -04:00
|
|
|
|
|
|
|
|
|
(define-public warsow-qfusion
|
|
|
|
|
;; As of 2020-04-09, the latest stable version 2.1.0 is deprecated.
|
|
|
|
|
;; The 2.5 beta as published on the homepage is commit
|
|
|
|
|
;; c4de15df559410aff0ca6643724e24cddb0ecbbd
|
|
|
|
|
(let ((commit "c4de15df559410aff0ca6643724e24cddb0ecbbd"))
|
|
|
|
|
(package
|
|
|
|
|
(name "warsow-qfusion")
|
|
|
|
|
(version (git-version "2.5" "1" commit)) ; 2.5-beta
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Warsow/qfusion/")
|
|
|
|
|
(commit commit)
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xv2yycr43p3xmq7lm6j6zb3cpcr6w00x7qg918faq0mw9j7v48g"))
|
|
|
|
|
;; Issue reported here: https://github.com/Warsow/qfusion/issues/46
|
2020-05-07 03:58:56 -04:00
|
|
|
|
(patches (search-patches "warsow-qfusion-fix-bool-return-type.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
(delete-file-recursively "platforms")
|
|
|
|
|
(delete-file-recursively "debian")
|
|
|
|
|
(delete-file-recursively "libsrcs")
|
|
|
|
|
#t))))
|
2020-05-02 11:51:21 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
|
|
|
|
#:configure-flags '("-DQFUSION_GAME=Warsow")
|
|
|
|
|
#:modules
|
|
|
|
|
((guix build utils)
|
|
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
(ice-9 match))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'change-to-build-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "source")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'really-install
|
|
|
|
|
(lambda* (#:key outputs system #:allow-other-keys)
|
|
|
|
|
(let ((arch (match system
|
|
|
|
|
("x86_64-linux" "x86_64")
|
|
|
|
|
("i686-linux" "i386")))
|
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file (string-append "../source/build/basewsw/libgame_"
|
|
|
|
|
arch ".so")
|
|
|
|
|
(string-append out "/lib/"))
|
|
|
|
|
(install-file (string-append "../source/build/libui_" arch ".so")
|
|
|
|
|
(string-append out "/lib/"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(install-file file (string-append out "/bin/")))
|
|
|
|
|
(append (find-files "../source/build" "warsow")
|
|
|
|
|
(find-files "../source/build" "wsw_server."))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("freetype" ,freetype)
|
gnu: ffmpeg: Promote version 5 to the default.
* gnu/packages/video.scm (ffmpeg): Alias to FFMPEG-5.
(mlt-6)[inpust]: Replace "ffmpeg" with FFMPEG-4.
(transcode, libquicktime, ffmpegthumbnailer, mplayer, obs,
simplescreenrecorder, handbrake, ffms2, libopenshot, wlstream)[inputs]: Change
from FFMPEG to FFMPEG-4.
* gnu/packages/arcan.scm (arcan)[inputs]: Likewise.
* gnu/packages/astronomy.scm (stackistry, libskry)[inputs]: Likewise.
* gnu/packages/audio.scm (aubio, bs1770gain)[inputs]: Likewise.
* gnu/packages/education.scm (openboard)[inputs]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu, retroarch, pcsxr, ppsspp)[inputs]:
Likewise.
* gnu/packages/game-development.scm (warsow-qfusion)[inputs]: Likewise.
* gnu/packages/games.scm (oshu, hedgewars)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/graphics.scm (openscenegraph)[inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv, paraview-5.9)[inputs]: Likewise.
* gnu/packages/julia-jll.scm (julia-ffmpeg-jll)[inputs]: Likewise.
* gnu/packages/kde-multimedia.scm (kid3)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/linphone.scm (mediastreamer2)[inputs]: Likewise.
* gnu/packages/linux.scm (pipewire)[inputs]: Likewise.
(pipewire-0.3)[inputs]: Replace "ffmpeg" with FFMPEG.
* gnu/packages/mp3.scm (chromaprint)[inputs]: Change from FFMPEG to FFMPEG-4.
* gnu/packages/music.scm (musikcube)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/qt.scm (qtwebengine-5)[inputs]: Likewise.
2022-12-12 08:27:05 -05:00
|
|
|
|
("ffmpeg" ,ffmpeg-4)
|
2020-05-06 17:37:40 -04:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2020-05-02 11:51:21 -04:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2021-04-09 21:53:32 -04:00
|
|
|
|
("qtbase" ,qtbase-5)
|
2022-07-17 21:03:18 -04:00
|
|
|
|
("qtdeclarative-5" ,qtdeclarative-5)
|
2020-05-02 11:51:21 -04:00
|
|
|
|
("sdl2" ,sdl2)
|
2020-05-06 17:37:40 -04:00
|
|
|
|
("uuid.h" ,util-linux "lib")
|
2020-05-02 11:51:21 -04:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2020-05-02 11:51:21 -04:00
|
|
|
|
(home-page "https://github.com/Warsow/qfusion")
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
|
|
|
|
(synopsis "Warsow's fork of qfusion, the id Tech 2 derived game engine")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the game engine of Warsow, a first-person
|
|
|
|
|
shooter video game. The engine is based on qfusion, the id Tech 2 derived
|
|
|
|
|
game engine. id Tech 2 is the engine originally behind Quake 2.")
|
|
|
|
|
(license license:gpl2+))))
|
2020-06-27 10:35:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public dhewm3
|
|
|
|
|
(package
|
|
|
|
|
(name "dhewm3")
|
2022-08-13 20:00:02 -04:00
|
|
|
|
(version "1.5.2")
|
2020-06-27 10:35:29 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/dhewm/dhewm3/releases/download/"
|
|
|
|
|
version "/dhewm3-" version "-src.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-08-13 20:00:02 -04:00
|
|
|
|
"10p0w1x5wx9b7d8mzvb6yqjia9prhkjwz04vbvphy8p383r33am6"))))
|
2020-06-27 10:35:29 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'change-to-build-dir
|
|
|
|
|
(lambda _
|
2022-08-13 20:00:02 -04:00
|
|
|
|
(chdir "neo"))))))
|
2020-06-27 10:35:29 -04:00
|
|
|
|
(inputs
|
2022-08-13 20:00:00 -04:00
|
|
|
|
(list curl
|
|
|
|
|
libx11
|
|
|
|
|
openal
|
|
|
|
|
sdl2
|
|
|
|
|
zlib))
|
2020-06-27 10:35:29 -04:00
|
|
|
|
(home-page "https://dhewm3.org/")
|
|
|
|
|
(synopsis "Port of the original Doom 3 engine")
|
|
|
|
|
(description
|
|
|
|
|
"@command{dhewm3} is a source port of the original Doom 3 engine (not
|
|
|
|
|
Doom 3: BFG Edition), also known as id Tech 4. Compared to the original
|
|
|
|
|
version of the Doom 3 engine, dhewm3 has many bugfixes, supports EAX-like
|
|
|
|
|
sound effects on all operating systems and hardware (via OpenAL Softs EFX
|
|
|
|
|
support), has much better support for widescreen resolutions and has 64bit
|
|
|
|
|
support.")
|
|
|
|
|
(license license:gpl3)))
|
2020-06-20 13:26:48 -04:00
|
|
|
|
|
|
|
|
|
(define-public tesseract-engine
|
|
|
|
|
(let ((svn-revision 2411))
|
|
|
|
|
(package
|
|
|
|
|
(name "tesseract-engine")
|
|
|
|
|
(version (string-append "20200615-" (number->string svn-revision)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "svn://svn.tuxfamily.org/svnroot/tesseract/main")
|
|
|
|
|
(revision svn-revision)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1av9jhl2ivbl7wfszyhyna84llvh1z2d8khkmadm8d105addj10q"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("bin" "bin64"
|
|
|
|
|
;; Remove "media" since some files such as
|
|
|
|
|
;; media/sound/game/soundsnap/info.txt refer to a
|
|
|
|
|
;; non-commercial license.
|
|
|
|
|
"media"
|
|
|
|
|
"server.bat"
|
|
|
|
|
"tesseract.bat"
|
|
|
|
|
"src/lib"
|
|
|
|
|
"src/lib64"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc")
|
|
|
|
|
#:tests? #f ; No tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'cd-src
|
|
|
|
|
(lambda _ (chdir "src") #t))
|
|
|
|
|
(add-before 'build 'fix-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
2021-07-16 09:39:51 -04:00
|
|
|
|
(string-append
|
|
|
|
|
(search-input-directory inputs "include/SDL2")
|
|
|
|
|
":" (or (getenv "CPATH") "")))))
|
2020-06-20 13:26:48 -04:00
|
|
|
|
(add-after 'install 'really-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share/tesseract"))
|
|
|
|
|
(bin (string-append out "/bin/tesseract"))
|
|
|
|
|
(client (string-append out "/bin/tesseract-client")))
|
|
|
|
|
(chdir "..") ; Back to root.
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(mkdir-p (string-append share "/" dir))
|
|
|
|
|
(copy-recursively dir (string-append share "/" dir)))
|
|
|
|
|
'("config"))
|
|
|
|
|
(mkdir-p (string-append out "/bin/"))
|
|
|
|
|
(copy-file "bin_unix/native_client" client)
|
|
|
|
|
(copy-file "bin_unix/native_server"
|
|
|
|
|
(string-append out "/bin/tesseract-server"))
|
|
|
|
|
(call-with-output-file bin
|
|
|
|
|
(lambda (p)
|
|
|
|
|
(format p "#!~a
|
|
|
|
|
TESS_DATA=~a
|
|
|
|
|
TESS_BIN=~a
|
|
|
|
|
TESS_OPTIONS=\"-u$HOME/.tesseract\"
|
|
|
|
|
cd \"$TESS_DATA\"
|
|
|
|
|
exec \"$TESS_BIN\" \"$TESS_OPTIONS\" \"$@\""
|
|
|
|
|
(which "bash")
|
|
|
|
|
share
|
|
|
|
|
client)))
|
|
|
|
|
(chmod bin #o755)
|
|
|
|
|
(install-file "src/readme_tesseract.txt"
|
|
|
|
|
(string-append out "/share/licenses/tesseract/LICENSE")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2-union" ,(sdl-union (list sdl2 sdl2-mixer sdl2-image)))
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libgl" ,mesa)))
|
|
|
|
|
(home-page "http://tesseract.gg/")
|
|
|
|
|
(synopsis "First-person shooter engine with map editing, instagib, DM and CTF")
|
|
|
|
|
(description "This package contains the game engine of Tesseract, a
|
|
|
|
|
first-person shooter focused on cooperative in-game map editing.
|
|
|
|
|
|
|
|
|
|
The engine is derived from @emph{Cube 2: Sauerbraten} technology but with
|
|
|
|
|
upgraded modern rendering techniques. The new rendering features include
|
|
|
|
|
fully dynamic omnidirectional shadows, global illumination, HDR lighting,
|
|
|
|
|
deferred shading, morphological / temporal / multisample anti-aliasing, and
|
|
|
|
|
much more.")
|
|
|
|
|
(license license:zlib))))
|
2022-01-03 14:38:24 -05:00
|
|
|
|
|
|
|
|
|
(define-public recastnavigation
|
2023-06-19 11:22:42 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "recastnavigation")
|
|
|
|
|
(version "1.6.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/recastnavigation/recastnavigation")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rdz3qmp4b961zjah2ax82h471j14w2rcf576gcyx7vldrg8dmj8"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DRECASTNAVIGATION_DEMO=OFF"
|
|
|
|
|
"-DRECASTNAVIGATION_TESTS=ON"
|
|
|
|
|
"-DRECASTNAVIGATION_EXAMPLES=OFF")))
|
|
|
|
|
(synopsis "Navigation system for games")
|
|
|
|
|
(description "Recast is state of the art navigation mesh
|
2022-01-03 14:38:24 -05:00
|
|
|
|
construction toolset for games.
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item It is automatic, which means that you can throw any level geometry
|
|
|
|
|
at it and you will get robust mesh out.
|
|
|
|
|
@item It is fast which means swift turnaround times for level designers.
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
The Recast process starts with constructing a voxel mold from a level
|
|
|
|
|
geometry and then casting a navigation mesh over it. The process
|
|
|
|
|
consists of three steps, building the voxel mold, partitioning the mold
|
|
|
|
|
into simple regions, peeling off the regions as simple polygons.
|
|
|
|
|
|
|
|
|
|
Recast is accompanied with Detour, path-finding and spatial reasoning
|
|
|
|
|
toolkit. You can use any navigation mesh with Detour, but of course the
|
|
|
|
|
data generated with Recast fits perfectly.
|
|
|
|
|
|
|
|
|
|
Detour offers simple static navigation mesh which is suitable for many
|
|
|
|
|
simple cases, as well as tiled navigation mesh which allows you to plug
|
|
|
|
|
in and out pieces of the mesh. The tiled mesh allows you to create
|
|
|
|
|
systems where you stream new navigation data in and out as the player
|
|
|
|
|
progresses the level, or you may regenerate tiles as the world changes.")
|
2023-06-19 11:22:42 -04:00
|
|
|
|
(home-page "https://github.com/recastnavigation/recastnavigation")
|
|
|
|
|
(license license:zlib)))
|
2022-12-12 18:59:11 -05:00
|
|
|
|
|
|
|
|
|
(define-public raylib
|
|
|
|
|
(package
|
|
|
|
|
(name "raylib")
|
2023-05-07 07:48:48 -04:00
|
|
|
|
(version "4.5.0")
|
2022-12-12 18:59:11 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/raysan5/raylib/")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2023-03-06 18:42:23 -05:00
|
|
|
|
;; TODO: Unbundle src/external
|
2022-12-12 18:59:11 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-05-07 07:48:48 -04:00
|
|
|
|
"00y8fsa4g9fk93s3wihbxl929m84hw3fflr0h409s3i1kfmv7ajj"))))
|
2022-12-12 18:59:11 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-03-06 18:42:23 -05:00
|
|
|
|
(list #:tests? #f ;no test
|
|
|
|
|
#:configure-flags
|
2023-05-07 07:50:49 -04:00
|
|
|
|
#~(list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DUSE_EXTERNAL_GLFW=ON"
|
|
|
|
|
"-DCMAKE_C_FLAGS=-lpulse")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'configure-miniaudio
|
|
|
|
|
;; Use PulseAudio as raudio backend.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/raudio.c"
|
|
|
|
|
(("^#include \"external/miniaudio\\.h\"") "
|
|
|
|
|
#define MA_NO_RUNTIME_LINKING
|
|
|
|
|
#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
|
|
|
|
|
#define MA_ENABLE_PULSEAUDIO
|
|
|
|
|
#include \"external/miniaudio.h\"
|
|
|
|
|
")))))))
|
|
|
|
|
(inputs (list glfw pulseaudio))
|
2022-12-12 18:59:11 -05:00
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(synopsis "C library for videogame programming")
|
|
|
|
|
(description
|
|
|
|
|
"raylib is a high-level library for video game programming. It aims to
|
|
|
|
|
abstract away platform and graphics details, allowing you to focus on
|
|
|
|
|
writing your game.")
|
|
|
|
|
(home-page "https://www.raylib.com/")
|
|
|
|
|
(license license:zlib)))
|
2023-05-09 10:06:34 -04:00
|
|
|
|
|
|
|
|
|
(define-public bbcsdl
|
|
|
|
|
(package
|
|
|
|
|
(name "bbcsdl")
|
|
|
|
|
(version "1.35a")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rtrussell/BBCSDL/")
|
|
|
|
|
(commit "b9b2a3eb438cb799edb2766055b3c38e9518e3e3")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1d03xmhrl6ba6w0vwfk46mpyc9d0w3bixxj2d4irx7wl7bh3bfic"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; XXX: tests not automated
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; 'makefile' expects the source directory to be named 'BBCSDL'.
|
|
|
|
|
(symlink "source" "../BBCSDL")
|
|
|
|
|
;; 'bbcsdl' finds 'libstb.so' in its RPATH.
|
|
|
|
|
(substitute* "bin/linux/makefile"
|
|
|
|
|
(("-Wl,-R,'\\$\\$ORIGIN'")
|
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/opt/bbcsdl")))
|
|
|
|
|
;; Build 'bbcbasic' and 'bbcsdl'.
|
|
|
|
|
(invoke "make" "-C" "console/linux")
|
|
|
|
|
(invoke "make" "-C" "bin/linux")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(opt (string-append out "/opt/bbcsdl"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (f)
|
|
|
|
|
(copy-recursively f (string-append opt "/" f)))
|
|
|
|
|
;; Those files need to be installed into the same difertory.
|
|
|
|
|
'("lib" "examples" "bbcsdl.bbc"
|
|
|
|
|
"libstb.so" "bbcsdl" "bbcbasic"))
|
|
|
|
|
;; Replace bundled fonts.
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (font)
|
|
|
|
|
(delete-file (string-append opt "/lib/" font))
|
|
|
|
|
(symlink
|
|
|
|
|
(search-input-file
|
|
|
|
|
inputs (string-append "share/fonts/truetype/" font))
|
|
|
|
|
(string-append opt "/lib/" font)))
|
|
|
|
|
'("DejaVuSans.ttf" "DejaVuSansMono.ttf"
|
|
|
|
|
"FreeSans.ttf" "FreeMono.ttf" "FreeSerif.ttf"))
|
|
|
|
|
(mkdir bin)
|
|
|
|
|
(symlink (string-append opt "/bbcsdl")
|
|
|
|
|
(string-append bin "/bbcsdl"))
|
|
|
|
|
(symlink (string-append opt "/bbcbasic")
|
|
|
|
|
(string-append bin "/bbcbasic"))))))))
|
|
|
|
|
(native-inputs (list nasm))
|
|
|
|
|
(inputs (list sdl2 sdl2-ttf sdl2-net font-dejavu font-gnu-freefont))
|
|
|
|
|
(synopsis "BBC BASIC for SDL 2.0")
|
|
|
|
|
(home-page "https://www.bbcbasic.co.uk/bbcsdl/")
|
|
|
|
|
(description
|
|
|
|
|
"BBC BASIC is the programming language originally specified and adopted
|
|
|
|
|
by the British Broadcasting Corporation for its groundbreaking Computer
|
|
|
|
|
Literacy Project of the early 1980s. BBC BASIC for SDL 2.0 combines the
|
|
|
|
|
simplicity of BASIC with the sophistication of a modern structured language,
|
|
|
|
|
allowing you to write utilities and games, use sound and graphics, perform
|
|
|
|
|
calculations and create complete applications.")
|
|
|
|
|
(license license:zlib)))
|