2013-10-21 19:50:01 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-05 11:15:57 -05:00
|
|
|
|
;;; Copyright © 2013, 2015, 2017 David Thompson <dthompson2@worcester.edu>
|
2014-12-26 00:32:48 -05:00
|
|
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
2017-01-22 01:31:54 -05:00
|
|
|
|
;;; Copyright © 2015, 2017 Sou Bunnbu <iyzsong@member.fsf.org>
|
2015-10-10 04:27:27 -04:00
|
|
|
|
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
2021-12-12 03:53:34 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2019-03-01 10:25:59 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2019-02-14 17:38:10 -05:00
|
|
|
|
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-03-14 12:30:00 -04:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2019-02-12 21:45:03 -05:00
|
|
|
|
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
|
2020-01-03 11:20:27 -05:00
|
|
|
|
;;; Copyright © 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2022-11-26 05:00:31 -05:00
|
|
|
|
;;; Copyright © 2019, 2022 Marius Bakke <marius@gnu.org>
|
2019-12-14 12:04:40 -05:00
|
|
|
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-01-05 05:45:47 -05:00
|
|
|
|
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
|
2020-01-08 19:10:13 -05:00
|
|
|
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
2022-08-22 17:16:51 -04:00
|
|
|
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2023-10-20 16:23:23 -04:00
|
|
|
|
;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
|
2023-08-08 13:49:52 -04:00
|
|
|
|
;;; Copyright © 2023 dan <i@dan.games>
|
2013-10-21 19:50:01 -04: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 sdl)
|
2015-12-15 13:30:11 -05:00
|
|
|
|
#:use-module (ice-9 match)
|
2017-04-24 03:47:18 -04:00
|
|
|
|
#:use-module (srfi srfi-1)
|
|
|
|
|
#:use-module (srfi srfi-26)
|
2013-10-21 19:50:01 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2022-08-22 17:16:51 -04:00
|
|
|
|
#:use-module (guix gexp)
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-10-21 19:50:01 -04:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2019-12-14 12:04:40 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2017-11-05 06:01:04 -05:00
|
|
|
|
#:use-module (guix utils)
|
2023-10-20 16:23:23 -04:00
|
|
|
|
#:use-module (guix build-system copy)
|
2013-10-21 19:50:01 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2014-11-02 11:54:20 -05:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2016-03-26 12:50:28 -04:00
|
|
|
|
#:use-module (gnu packages audio)
|
2020-01-03 11:20:27 -05:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2021-12-12 03:53:34 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2015-04-14 17:25:37 -04:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2017-11-05 06:01:04 -05:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2017-01-05 11:15:57 -05:00
|
|
|
|
#:use-module (gnu packages glib)
|
2020-01-03 11:20:27 -05:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2014-11-02 11:55:21 -05:00
|
|
|
|
#:use-module (gnu packages guile)
|
2017-01-05 11:15:57 -05:00
|
|
|
|
#:use-module (gnu packages ibus)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2013-10-21 19:50:01 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-11-20 21:40:45 -05:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2013-11-18 22:01:19 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2013-12-28 03:10:46 -05:00
|
|
|
|
#:use-module (gnu packages gl)
|
2023-08-08 13:49:52 -04:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2017-11-05 06:01:04 -05:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2014-01-23 13:05:09 -05:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2013-10-21 19:50:01 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2016-07-29 04:23:51 -04:00
|
|
|
|
#:export (sdl-union))
|
2013-11-18 22:01:19 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl
|
2013-11-18 22:01:19 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl")
|
|
|
|
|
(version "1.2.15")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(string-append "https://libsdl.org/release/SDL-"
|
2013-11-18 22:01:19 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-12-26 00:32:48 -05:00
|
|
|
|
"005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "sdl-libx11-1.6.patch"))))
|
2013-11-18 22:01:19 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2014-01-25 16:16:52 -05:00
|
|
|
|
(arguments
|
2015-02-05 02:03:50 -05:00
|
|
|
|
'(;; Explicitly link against shared libraries instead of dlopening them.
|
2015-03-18 00:48:16 -04:00
|
|
|
|
;; For X11, ALSA, and PulseAudio.
|
|
|
|
|
;; OpenGL library is still dlopened at runtime.
|
|
|
|
|
#:configure-flags '("--disable-alsa-shared"
|
|
|
|
|
"--disable-pulseaudio-shared"
|
2015-03-21 03:08:39 -04:00
|
|
|
|
"--disable-x11-shared"
|
|
|
|
|
;; Explicitly link with mesa.
|
|
|
|
|
;; This add mesa to libsdl's RUNPATH, to make dlopen
|
|
|
|
|
;; finding the libGL from mesa at runtime.
|
|
|
|
|
"LDFLAGS=-lGL")
|
2014-01-25 16:16:52 -05:00
|
|
|
|
|
2019-02-23 11:25:51 -05:00
|
|
|
|
#:make-flags '("V=1") ;build verbosely
|
|
|
|
|
|
2014-01-25 16:16:52 -05:00
|
|
|
|
#:tests? #f)) ; no check target
|
2013-11-23 12:18:45 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; SDL headers include X11 headers.
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libx11
|
|
|
|
|
libcap ; 'libSDL.la' contain `-lcap'.
|
|
|
|
|
;; TODO: Since building Mesa with Meson it is now necessary that Mesa is
|
|
|
|
|
;; a propogated input. We still need to figure out why, possibly due to a
|
|
|
|
|
;; change in pkg-config.
|
|
|
|
|
mesa))
|
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs (list libxrandr glu alsa-lib pulseaudio))
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2013-11-18 22:01:19 -05:00
|
|
|
|
(synopsis "Cross platform game development library")
|
|
|
|
|
(description "Simple DirectMedia Layer is a cross-platform development
|
|
|
|
|
library designed to provide low level access to audio, keyboard, mouse,
|
|
|
|
|
joystick, and graphics hardware.")
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(home-page "https://libsdl.org/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:lgpl2.1)))
|
2013-11-18 22:01:19 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl2
|
2022-08-22 17:16:51 -04:00
|
|
|
|
(package
|
|
|
|
|
(inherit sdl)
|
2013-11-18 22:01:19 -05:00
|
|
|
|
(name "sdl2")
|
2023-11-05 22:11:30 -05:00
|
|
|
|
(version "2.28.5")
|
2013-11-18 22:01:19 -05:00
|
|
|
|
(source (origin
|
2022-08-22 17:16:51 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://libsdl.org/release/SDL2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-11-05 22:11:30 -05:00
|
|
|
|
"1r36cspzv6h8abiqbbkrgm17g975p9wiziir2xabj3721dyv6b1k"))))
|
2017-11-05 06:01:04 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments sdl)
|
|
|
|
|
((#:configure-flags flags)
|
2022-08-22 17:16:51 -04:00
|
|
|
|
#~(append '("--disable-wayland-shared" "--enable-video-kmsdrm"
|
|
|
|
|
"--disable-kmsdrm-shared")
|
|
|
|
|
#$flags))
|
2019-07-03 09:41:21 -04:00
|
|
|
|
((#:make-flags flags ''())
|
2022-08-22 17:16:51 -04:00
|
|
|
|
#~(cons*
|
2023-08-08 13:49:52 -04:00
|
|
|
|
;; SDL dlopens libudev and libvulkan, so make sure they are in
|
|
|
|
|
;; rpath. This overrides the LDFLAG set in sdl’s configure-flags,
|
|
|
|
|
;; which isn’t necessary as sdl2 includes Mesa by default.
|
2022-08-22 17:16:51 -04:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath,"
|
2023-08-08 13:49:52 -04:00
|
|
|
|
#$(this-package-input "eudev") "/lib"
|
|
|
|
|
",-rpath,"
|
|
|
|
|
#$(this-package-input "vulkan-loader") "/lib")
|
2022-08-22 17:16:51 -04:00
|
|
|
|
#$flags))))
|
2017-01-05 11:15:57 -05:00
|
|
|
|
(inputs
|
|
|
|
|
;; SDL2 needs to be built with ibus support otherwise some systems
|
|
|
|
|
;; experience a bug where input events are doubled.
|
|
|
|
|
;;
|
|
|
|
|
;; For more information, see: https://dev.solus-project.com/T1721
|
2022-08-22 17:16:51 -04:00
|
|
|
|
(modify-inputs (package-inputs sdl)
|
|
|
|
|
(append dbus
|
|
|
|
|
eudev ;for discovering input devices
|
|
|
|
|
glib
|
2022-09-18 11:18:09 -04:00
|
|
|
|
ibus-minimal
|
2022-08-22 17:16:51 -04:00
|
|
|
|
libxkbcommon
|
|
|
|
|
libxcursor ;enables X11 cursor support
|
2023-08-08 13:49:52 -04:00
|
|
|
|
vulkan-loader
|
2022-08-22 17:16:51 -04:00
|
|
|
|
wayland
|
|
|
|
|
wayland-protocols)))
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:bsd-3)))
|
2013-10-21 19:50:01 -04:00
|
|
|
|
|
2022-10-02 17:15:55 -04:00
|
|
|
|
(define-public sdl2-2.0
|
|
|
|
|
(package
|
|
|
|
|
(inherit sdl2)
|
|
|
|
|
(name "sdl2")
|
|
|
|
|
(version "2.0.14")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://libsdl.org/release/SDL2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1g1jahknv5r4yhh1xq5sf0md20ybdw1zh1i15lry26sq39bmn8fq"))))))
|
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public libmikmod
|
2013-10-21 19:50:01 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "libmikmod")
|
2018-07-14 05:37:58 -04:00
|
|
|
|
(version "3.3.11.1")
|
2013-10-21 19:50:01 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-08-25 01:45:54 -04:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append "mirror://sourceforge/mikmod/libmikmod/"
|
|
|
|
|
version "/libmikmod-" version ".tar.gz")
|
|
|
|
|
;; Older versions are sometimes moved to:
|
|
|
|
|
(string-append "mirror://sourceforge/mikmod/"
|
|
|
|
|
"outdated_versions/libmikmod/"
|
|
|
|
|
version "/libmikmod-" version ".tar.gz")))
|
2013-10-21 19:50:01 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-07-14 05:37:58 -04:00
|
|
|
|
"06bdnhb0l81srdzg6gn2v2ydhhaazza7rshrcj3q8dpqr3gn97dd"))))
|
2013-10-21 19:50:01 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2014-11-10 17:12:01 -05:00
|
|
|
|
(arguments
|
|
|
|
|
;; By default, libmikmod tries to dlopen libasound etc., which won't work
|
|
|
|
|
;; unless the right libalsa happens to be in $LD_LIBRARY_PATH. Pass
|
|
|
|
|
;; '--disable-dl' to avoid that.
|
|
|
|
|
'(#:configure-flags '("--disable-dl")))
|
2014-09-13 09:50:30 -04:00
|
|
|
|
(synopsis "Library for module sound formats")
|
2013-10-21 19:50:01 -04:00
|
|
|
|
(description
|
|
|
|
|
"MikMod is able to play a wide range of module formats, as well as
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
digital sound files. It can take advantage of particular features of your
|
2013-10-21 19:50:01 -04:00
|
|
|
|
system, such as sound redirection over the network.")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:lgpl2.1)
|
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://mikmod.sourceforge.net/")))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl-gfx
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-gfx")
|
2017-04-21 09:01:17 -04:00
|
|
|
|
(version "2.0.26")
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-21 09:01:17 -04:00
|
|
|
|
"0ijljhs0v99dj6y27hc10z6qchyp8gdp4199y6jzngy6dzxlzsvw"))))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2017-04-24 03:47:18 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(,@(if (any (cute string-prefix? <> (or (%current-system)
|
|
|
|
|
(%current-target-system)))
|
|
|
|
|
'("x86_64" "i686"))
|
|
|
|
|
;; mmx is supported only on Intel processors.
|
|
|
|
|
'()
|
|
|
|
|
'(#:configure-flags '("--disable-mmx")))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(propagated-inputs (list sdl))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(synopsis "SDL graphics primitives library")
|
|
|
|
|
(description "SDL_gfx provides graphics drawing primitives, rotozoom and
|
|
|
|
|
other supporting functions for SDL.")
|
|
|
|
|
(home-page "http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:zlib)))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl-image
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-image")
|
|
|
|
|
(version "1.2.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(string-append "https://www.libsdl.org/projects/SDL_image/release/SDL_image-"
|
2013-11-20 21:40:45 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2015-02-12 01:16:44 -05:00
|
|
|
|
(arguments
|
|
|
|
|
;; Explicitly link against shared libraries instead of dlopening them.
|
|
|
|
|
'(#:configure-flags '("--disable-jpg-shared"
|
|
|
|
|
"--disable-png-shared"
|
|
|
|
|
"--disable-tif-shared"
|
|
|
|
|
"--disable-webp-shared")))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list pkg-config))
|
2014-04-30 20:35:45 -04:00
|
|
|
|
;; libjpeg, libpng, and libtiff are propagated inputs because the
|
|
|
|
|
;; SDL_image headers include the headers of these libraries. SDL is a
|
|
|
|
|
;; propagated input because the pkg-config file refers to SDL's pkg-config
|
|
|
|
|
;; file.
|
|
|
|
|
(propagated-inputs `(("sdl" ,sdl)
|
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)
|
2014-04-30 20:35:45 -04:00
|
|
|
|
("libpng" ,libpng)
|
2015-12-17 22:32:05 -05:00
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(synopsis "SDL image loading library")
|
|
|
|
|
(description "SDL_image is an image file loading library for SDL that
|
|
|
|
|
supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
|
|
|
|
|
WEBP, XCF, XPM, and XV.")
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(home-page "https://www.libsdl.org/projects/SDL_image/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:zlib)))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl-mixer
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-mixer")
|
|
|
|
|
(version "1.2.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(string-append "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-"
|
2013-11-20 21:40:45 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2020-01-05 05:45:50 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No check target.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("--enable-music-mp3-mad-gpl" ; Use libmad instead of smpeg.
|
|
|
|
|
;; Explicitly link against shared libraries instead of dlopening them.
|
|
|
|
|
"--disable-music-flac-shared"
|
|
|
|
|
"--disable-music-fluidsynth-shared"
|
|
|
|
|
"--disable-music-mod-shared"
|
2020-01-07 10:50:48 -05:00
|
|
|
|
"--disable-music-ogg-shared")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-fluidsynth
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("EXTRA_LDFLAGS -lfluidsynth")
|
|
|
|
|
(string-append "EXTRA_LDFLAGS "
|
|
|
|
|
"-L"
|
|
|
|
|
(assoc-ref inputs "fluidsynth")
|
|
|
|
|
"/lib -lfluidsynth")))
|
|
|
|
|
#t)))))
|
2020-01-05 05:45:50 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fluidsynth" ,fluidsynth)
|
|
|
|
|
("libflac" ,flac)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libmikmod" ,libmikmod)
|
|
|
|
|
("libvorbis" ,libvorbis)))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(propagated-inputs (list sdl))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(synopsis "SDL multi-channel audio mixer library")
|
|
|
|
|
(description "SDL_mixer is a multi-channel audio mixer library for SDL.
|
|
|
|
|
It supports any number of simultaneously playing channels of 16 bit stereo
|
2020-01-06 06:06:51 -05:00
|
|
|
|
audio, plus a single channel of music. Supported formats include FLAC, MOD,
|
|
|
|
|
MIDI, Ogg Vorbis, and MP3.
|
|
|
|
|
|
|
|
|
|
This package supports two MIDI backends, selectable at runtime. To use the
|
|
|
|
|
newer @code{fluidsynth} library, install a soundfont such as @code{fluid-3}
|
|
|
|
|
and specify it using the @code{SDL_SOUNDFONTS} environment variable. For the
|
|
|
|
|
legacy @code{timidity} backend, install a patch set such as @code{freepats}
|
|
|
|
|
and set the path to the configuration file with @code{TIMIDITY_CFG}.")
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(home-page "https://www.libsdl.org/projects/SDL_mixer/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:zlib)))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl-net
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-net")
|
|
|
|
|
(version "1.2.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(string-append "https://www.libsdl.org/projects/SDL_net/release/SDL_net-"
|
2013-11-20 21:40:45 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(propagated-inputs (list sdl))
|
|
|
|
|
(native-inputs (list pkg-config))
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(synopsis "SDL networking library")
|
|
|
|
|
(description "SDL_net is a small, cross-platform networking library for
|
|
|
|
|
SDL.")
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(home-page "https://www.libsdl.org/projects/SDL_net/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:zlib)))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
|
2020-01-03 11:20:27 -05:00
|
|
|
|
(define-public sdl-pango
|
|
|
|
|
(package
|
|
|
|
|
(name "sdl-pango")
|
|
|
|
|
(version "0.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/sdlpango/SDL_Pango/" version "/"
|
|
|
|
|
"SDL_Pango-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "197baw1dsg0p4pljs5k0fshbyki00r4l49m1drlpqw6ggawx6xbz"))
|
2020-04-10 09:54:10 -04:00
|
|
|
|
(patches (search-patches "sdl-pango-api_additions.patch"
|
|
|
|
|
"sdl-pango-blit_overflow.patch"
|
|
|
|
|
"sdl-pango-fillrect_crash.patch"
|
|
|
|
|
"sdl-pango-header-guard.patch"
|
|
|
|
|
"sdl-pango-matrix_declarations.patch"
|
|
|
|
|
"sdl-pango-sans-serif.patch"))))
|
2020-01-03 11:20:27 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "--disable-static")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
;; Force reconfiguration because the included libtool
|
|
|
|
|
;; generates linking errors.
|
|
|
|
|
(lambda _ (invoke "autoreconf" "-vif"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2020-01-03 11:20:27 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("sdl" ,sdl)))
|
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://sdlpango.sourceforge.net")
|
2020-01-03 11:20:27 -05:00
|
|
|
|
(synopsis "Pango SDL binding")
|
|
|
|
|
(description "This library is a wrapper around the Pango library.
|
|
|
|
|
It allows you to use TrueType fonts to render internationalized and
|
|
|
|
|
tagged text in SDL applications.")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:lgpl2.1)))
|
2020-01-03 11:20:27 -05:00
|
|
|
|
|
2016-07-29 04:23:51 -04:00
|
|
|
|
(define-public sdl-ttf
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-ttf")
|
2021-09-28 10:26:19 -04:00
|
|
|
|
(version "2.0.11.1")
|
|
|
|
|
;; No release tarball for 2.0.11.1, changes:
|
|
|
|
|
;; <https://github.com/libsdl-org/SDL_ttf/commit/e31d11a692>
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(source (origin
|
2021-09-28 10:26:19 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libsdl-org/SDL_ttf")
|
|
|
|
|
(commit "e31d11a692e5b55e8e624ad766e4e44d655422c8")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1id1cdign615wd5rq0g4ppzwclvhkwd61yb5rwvvvakkpplp3lvd"))
|
|
|
|
|
;; Remove bundled libraries.
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(delete-file-recursively "external"))))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(propagated-inputs (list sdl))
|
|
|
|
|
(inputs (list freetype mesa))
|
|
|
|
|
(native-inputs (list pkg-config))
|
2017-10-05 23:26:10 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
2013-11-20 21:40:45 -05:00
|
|
|
|
(synopsis "SDL TrueType font library")
|
|
|
|
|
(description "SDL_ttf is a TrueType font rendering library for SDL.")
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(home-page "https://www.libsdl.org/projects/SDL_ttf/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:zlib)))
|
2014-11-02 11:54:20 -05:00
|
|
|
|
|
2015-10-10 04:27:27 -04:00
|
|
|
|
(define* (sdl-union #:optional (packages (list sdl sdl-gfx sdl-net sdl-ttf
|
|
|
|
|
sdl-image sdl-mixer)))
|
|
|
|
|
"Return 'sdl-union' package which is a union of PACKAGES.
|
|
|
|
|
If PACKAGES are not specified, all SDL packages are used."
|
2014-11-02 11:54:20 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "sdl-union")
|
|
|
|
|
(version (package-version sdl))
|
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build union))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (ice-9 match)
|
|
|
|
|
(guix build union))
|
|
|
|
|
(match %build-inputs
|
|
|
|
|
(((names . directories) ...)
|
|
|
|
|
(union-build (assoc-ref %outputs "out")
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-27 20:14:05 -04:00
|
|
|
|
directories)
|
|
|
|
|
#t)))))
|
2015-10-10 04:27:27 -04:00
|
|
|
|
(inputs (map (lambda (package)
|
|
|
|
|
(list (package-name package) package))
|
|
|
|
|
packages))
|
|
|
|
|
(synopsis "Union of SDL libraries")
|
2014-11-02 11:54:20 -05:00
|
|
|
|
(description
|
|
|
|
|
"A union of SDL and its extension libraries. A union is required because
|
|
|
|
|
sdl-config assumes that all of the headers and libraries are in the same
|
|
|
|
|
directory.")
|
|
|
|
|
(home-page (package-home-page sdl))
|
|
|
|
|
(license (package-license sdl))))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
|
2015-12-15 13:30:11 -05:00
|
|
|
|
(define (propagated-inputs-with-sdl2 package)
|
|
|
|
|
"Replace the \"sdl\" propagated input of PACKAGE with SDL2."
|
|
|
|
|
(map (match-lambda
|
|
|
|
|
(("sdl" _)
|
|
|
|
|
`("sdl2" ,sdl2))
|
|
|
|
|
(other other))
|
|
|
|
|
(package-propagated-inputs package)))
|
|
|
|
|
|
2019-02-12 21:45:03 -05:00
|
|
|
|
(define-public sdl2-gfx
|
|
|
|
|
(package (inherit sdl-gfx)
|
|
|
|
|
(name "sdl2-gfx")
|
|
|
|
|
(version "1.0.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33"))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(propagated-inputs-with-sdl2 sdl-gfx))))
|
|
|
|
|
|
2015-12-15 13:30:11 -05:00
|
|
|
|
(define-public sdl2-image
|
|
|
|
|
(package (inherit sdl-image)
|
|
|
|
|
(name "sdl2-image")
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(version "2.6.3")
|
2019-02-14 17:38:10 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://www.libsdl.org/projects/SDL_image/release/"
|
|
|
|
|
"SDL2_image-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(base32 "0b1i6r46pzvyp924pwn74d78gvkyif15ghbxkfp8yz0xpzjrn74k"))))
|
2015-12-15 13:30:11 -05:00
|
|
|
|
(propagated-inputs
|
2022-11-26 05:04:55 -05:00
|
|
|
|
(propagated-inputs-with-sdl2 sdl-image))
|
|
|
|
|
(properties '((upstream-name . "SDL2_image")))))
|
2015-12-15 13:30:11 -05:00
|
|
|
|
|
2015-12-15 13:30:56 -05:00
|
|
|
|
(define-public sdl2-mixer
|
|
|
|
|
(package (inherit sdl-mixer)
|
|
|
|
|
(name "sdl2-mixer")
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(version "2.6.3")
|
2019-02-14 17:38:26 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://www.libsdl.org/projects/SDL_mixer/release/"
|
|
|
|
|
"SDL2_mixer-" version ".tar.gz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Remove bundled libraries.
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(delete-file-recursively "external")))
|
2019-02-14 17:38:26 -05:00
|
|
|
|
(sha256
|
2023-07-15 20:00:01 -04:00
|
|
|
|
(base32 "13zadq6lmzdglvp0arl7x5y7zihv31vr4pisgrhwwj468xmahsvs"))))
|
2020-01-05 05:45:49 -05:00
|
|
|
|
(arguments
|
2022-11-26 05:08:49 -05:00
|
|
|
|
(list #:tests? #f ;no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~'(;; Prefer system libraries to bundled codecs.
|
|
|
|
|
"--enable-music-flac-libflac"
|
|
|
|
|
"--enable-music-midi-fluidsynth"
|
|
|
|
|
"--enable-music-mod-modplug"
|
|
|
|
|
"--enable-music-mp3-mpg123"
|
|
|
|
|
"--enable-music-ogg-vorbis"
|
|
|
|
|
"--enable-music-opus"
|
|
|
|
|
;; Link the libraries instead of dlopening them.
|
|
|
|
|
"--enable-music-flac-libflac-shared=no"
|
|
|
|
|
"--enable-music-midi-fluidsynth-shared=no"
|
|
|
|
|
"--enable-music-mod-modplug-shared=no"
|
|
|
|
|
"--enable-music-mp3-mpg123-shared=no"
|
|
|
|
|
"--enable-music-ogg-vorbis-shared=no"
|
|
|
|
|
"--enable-music-opus-shared=no")))
|
2020-01-05 05:45:51 -05:00
|
|
|
|
(native-inputs
|
2022-11-26 05:08:49 -05:00
|
|
|
|
(list pkg-config))
|
|
|
|
|
(inputs '())
|
2015-12-15 13:30:56 -05:00
|
|
|
|
(propagated-inputs
|
2022-11-26 05:08:49 -05:00
|
|
|
|
(modify-inputs (propagated-inputs-with-sdl2 sdl-mixer)
|
|
|
|
|
;; In Requires.private of SDL2_mixer.pc.
|
|
|
|
|
(append flac fluidsynth libmodplug libvorbis mpg123 opusfile)))
|
2022-11-26 05:05:16 -05:00
|
|
|
|
(properties '((upstream-name . "SDL2_mixer")))))
|
2015-12-15 13:30:56 -05:00
|
|
|
|
|
2019-04-23 08:24:12 -04:00
|
|
|
|
(define-public sdl2-net
|
|
|
|
|
(package (inherit sdl-net)
|
|
|
|
|
(name "sdl2-net")
|
2022-11-26 05:09:06 -05:00
|
|
|
|
(version "2.2.0")
|
2019-04-23 08:24:12 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://www.libsdl.org/projects/SDL_net/release/"
|
|
|
|
|
"SDL2_net-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-26 05:09:06 -05:00
|
|
|
|
"1svzhpf7k48jfga8ph127l99lwpgs5g5isgl9ybp2qiii0cqjjjf"))))
|
2019-04-23 08:24:12 -04:00
|
|
|
|
(propagated-inputs
|
2022-11-26 05:05:44 -05:00
|
|
|
|
(propagated-inputs-with-sdl2 sdl-net))
|
|
|
|
|
(properties '((upstream-name . "SDL2_net")))))
|
2019-04-23 08:24:12 -04:00
|
|
|
|
|
2015-12-15 13:31:32 -05:00
|
|
|
|
(define-public sdl2-ttf
|
|
|
|
|
(package (inherit sdl-ttf)
|
|
|
|
|
(name "sdl2-ttf")
|
2023-07-15 20:00:02 -04:00
|
|
|
|
(version "2.20.2")
|
2015-12-15 13:31:32 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-10-27 04:55:57 -04:00
|
|
|
|
(string-append "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-"
|
2015-12-15 13:31:32 -05:00
|
|
|
|
version ".tar.gz"))
|
2016-03-26 12:58:08 -04:00
|
|
|
|
(modules '((guix build utils)))
|
2022-11-26 05:16:19 -05:00
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bundled libraries.
|
|
|
|
|
'(delete-file-recursively "external"))
|
2015-12-15 13:31:32 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-15 20:00:02 -04:00
|
|
|
|
"0lr0l8c19fg6anq2cp6xppv65ys3pyk9qjicg881nll76kcixiwx"))))
|
2022-11-26 05:16:19 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags #~'("--enable-freetype-builtin=no"
|
|
|
|
|
"--enable-harfbuzz-builtin=no")))
|
2015-12-15 13:31:32 -05:00
|
|
|
|
(propagated-inputs
|
2022-11-26 05:16:19 -05:00
|
|
|
|
(modify-inputs (propagated-inputs-with-sdl2 sdl-ttf)
|
|
|
|
|
;; In Requires.private of SDL2_ttf.pc.
|
|
|
|
|
(prepend harfbuzz freetype)))
|
2022-11-26 05:06:15 -05:00
|
|
|
|
(properties '((upstream-name . "SDL2_ttf")))))
|
2015-12-15 13:31:32 -05:00
|
|
|
|
|
2023-10-20 16:23:23 -04:00
|
|
|
|
(define-public sdl2-gamecontrollerdb
|
|
|
|
|
(let ((commit "6f3c4edcb5a2e2ed090ca8af40d2c0f00dcd77f6")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "sdl2-gamecontrollerdb")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gabomdq/SDL_GameControllerDB")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1gciqc8qm2qgcjj5s9jpclznznsp6awl4ldrnj7g01chkcx0l6a3"))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:install-plan '(("gamecontrollerdb.txt" "share/sdl2/"))))
|
|
|
|
|
(home-page "https://github.com/gabomdq/SDL_GameControllerDB")
|
|
|
|
|
(synopsis "SDL2 game controller database")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a community sourced database of game controller
|
|
|
|
|
mappings intended for the use with SDL2's game controller functionality.")
|
|
|
|
|
(license license:zlib))))
|
|
|
|
|
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(define-public guile-sdl
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sdl")
|
2022-06-19 18:59:11 -04:00
|
|
|
|
(version "0.6.1")
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnu/guile-sdl/guile-sdl-"
|
2021-12-12 03:53:34 -05:00
|
|
|
|
version ".tar.lz"))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-19 18:59:11 -04:00
|
|
|
|
"1q985nd3birr5pny74915x098fisa6llas3ijgf1b4gdz5717nzz"))))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-12 03:53:34 -05:00
|
|
|
|
`(("lzip" ,lzip)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2014-11-02 11:55:21 -05:00
|
|
|
|
;; Required by test suite.
|
2021-12-12 03:53:34 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("xorg-server" ,xorg-server)))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list guile-2.2
|
|
|
|
|
(sdl-union)))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "--with-sdl-prefix="
|
|
|
|
|
(assoc-ref %build-inputs "sdl-union")))
|
2017-10-14 09:21:22 -04:00
|
|
|
|
#:modules ((ice-9 popen)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
|
2014-11-02 11:55:21 -05:00
|
|
|
|
#:parallel-build? #f ; parallel build fails
|
2017-10-14 09:21:22 -04:00
|
|
|
|
|
2014-11-02 11:55:21 -05:00
|
|
|
|
#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-env-and-patch
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
;; SDL_image needs to dlopen libjpeg in the test suite.
|
|
|
|
|
(setenv "LD_LIBRARY_PATH"
|
|
|
|
|
(string-append (assoc-ref inputs "libjpeg") "/lib"))
|
2017-10-14 09:21:22 -04:00
|
|
|
|
|
|
|
|
|
;; Change the site directory /site/X.Y like Guile expects.
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(substitute* "build-aux/guile-baux/re-prefixed-site-dirs"
|
2017-10-14 09:21:22 -04:00
|
|
|
|
(("\"/site\"")
|
|
|
|
|
(let ((effective
|
|
|
|
|
(read
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(write (effective-version))"))))
|
|
|
|
|
(string-append "\"/site/" effective "\""))))
|
2015-07-05 17:05:28 -04:00
|
|
|
|
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
;; Skip tests that rely on sound support, which is unavailable in
|
|
|
|
|
;; the build environment.
|
|
|
|
|
(substitute* "test/Makefile.in"
|
|
|
|
|
(("HAVE_MIXER = .*$")
|
|
|
|
|
"HAVE_MIXER = 0\n"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'start-xorg-server
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The test suite requires a running X server.
|
|
|
|
|
(system (format #f "~a/bin/Xvfb :1 &"
|
|
|
|
|
(assoc-ref inputs "xorg-server")))
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
2017-10-14 09:24:19 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'skip-cursor-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: This test sometimes enters an endless loop, and sometimes
|
|
|
|
|
;; crashes with:
|
|
|
|
|
;; guile: xcb_io.c:147: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.
|
|
|
|
|
;; Skip it.
|
|
|
|
|
(substitute* "test/cursor.scm"
|
|
|
|
|
(("\\(SDL:init .*" all)
|
|
|
|
|
(string-append "(exit 77) ;" all "\n")))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
#t)))))
|
2014-11-02 11:55:21 -05:00
|
|
|
|
(synopsis "Guile interface for SDL (Simple DirectMedia Layer)")
|
|
|
|
|
(description "Guile-SDL is a set of bindings to the Simple DirectMedia
|
|
|
|
|
Layer (SDL). With them, Guile programmers can have easy access to graphics,
|
|
|
|
|
sound and device input (keyboards, joysticks, mice, etc.).")
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile-sdl/")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
|
|
|
|
|
(define-public guile-sdl2
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sdl2")
|
2022-10-23 08:39:43 -04:00
|
|
|
|
(version "0.8.0")
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-06-05 09:47:01 -04:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/guile-sdl2/"
|
|
|
|
|
"guile-sdl2-" version ".tar.gz"))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-10-23 08:39:43 -04:00
|
|
|
|
"1v57ghgqp9m32b2x47dya9zb0xvvfs5v8q8ak2wi8fzabajfpxap"))))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-16 16:02:48 -04:00
|
|
|
|
'(#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list guile-3.0 pkg-config))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
|
2017-01-22 01:31:54 -05:00
|
|
|
|
(synopsis "Guile bindings for SDL2")
|
|
|
|
|
(home-page "https://dthompson.us/projects/guile-sdl2.html")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-SDL2 provides Guile Scheme bindings for the SDL2 C shared library.
|
|
|
|
|
The bindings are written in pure Scheme using Guile's foreign function
|
|
|
|
|
interface.")
|
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 04:21:02 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2019-12-14 12:04:40 -05:00
|
|
|
|
|
2021-10-09 05:12:00 -04:00
|
|
|
|
(define-public guile2.2-sdl2
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:42:12 -04:00
|
|
|
|
(package/inherit guile-sdl2
|
2021-10-09 05:12:00 -04:00
|
|
|
|
(name "guile2.2-sdl2")
|
2020-03-14 12:30:00 -04:00
|
|
|
|
(native-inputs
|
2021-10-09 05:12:00 -04:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2020-03-14 12:30:00 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))))
|
|
|
|
|
|
2021-10-09 05:12:00 -04:00
|
|
|
|
(define-public guile3.0-sdl2
|
|
|
|
|
(deprecated-package "guile3.0-sdl2" guile-sdl2))
|