Mirror of GNU Guix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

931 lines
37 KiB

Correct name and email address for ng0. * .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
3 years ago
gnu: Separate Python core packages from the rest. * gnu/packages/python.scm: Move hundreds of package definitions from here... * gnu/packages/python-xyz.scm: ...to this new module. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/benchmark.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/calendar.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/cluster.scm, gnu/packages/compression.scm, gnu/packages/connman.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm, gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/direct-connect.scm, gnu/packages/disk.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/docker.scm, gnu/packages/ebook.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/enlightenment.scm, gnu/packages/finance.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/freedesktop.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/geo.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/gtk.scm, gnu/packages/ham-radio.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/kde-frameworks.scm, gnu/packages/key-mon.scm, gnu/packages/libffi.scm, gnu/packages/libreoffice.scm, gnu/packages/libusb.scm, gnu/packages/lirc.scm, gnu/packages/logging.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/medical.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/nutrition.scm, gnu/packages/openldap.scm, gnu/packages/openstack.scm, gnu/packages/package-management.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/photo.scm, gnu/packages/polkit.scm, gnu/packages/protobuf.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/qt.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/search.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/simulation.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/tryton.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/virtualization.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wicd.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm: Update module references.
3 years ago
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.
7 years ago
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.
7 years ago
gnu: Fix descriptions to not use quotes. * gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di), * gnu/packages/audio.scm (fil-plugins), * gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales), * gnu/packages/bioinformatics.scm (r-samtools), * gnu/packages/chez.scm (chez-mit), * gnu/packages/commencement.scm (make-gcc-toolchain), * gnu/packages/compression.scm (fastjar), * gnu/packages/cran.scm (r-maps, r-rcpp), * gnu/packages/databases.scm (sparql-query), * gnu/packages/dunst.scm (dunst), * gnu/packages/ftp.scm (ncftp), * gnu/packages/gl.scm (freeglut), * gnu/packages/haskell-check.scm (ghc-tasty-golden), * gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text, ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri, ghc-rerebase, ghc-zlib), * gnu/packages/image.scm (jbig2dec), * gnu/packages/kde-frameworks.scm (kinit, karchive), * gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd), * gnu/packages/lirc.scm (lirc), * gnu/packages/lisp.scm (uglify-js), * gnu/packages/mate.scm (mate-netbook), * gnu/packages/microcom.scm (microcom), * gnu/packages/music.scm (bristol), * gnu/packages/networking.scm (perl-geo-ip), * gnu/packages/patchutils.scm (patches), * gnu/packages/perl-check.scm (perl-test-more-utf8), * gnu/packages/perl.scm (perl-log-report-optional, perl-file-which, perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load, perl-regexp-common, perl-module-pluggable, perl-class-modifier), * gnu/packages/python-xyz.scm (python-backports-abc, python-natsort), * gnu/packages/samba.scm (iniparser), * gnu/packages/search.scm (mlocate), * gnu/packages/spice.scm (spice), * gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability, r-commonmark, r-digest, r-viridislite, r-stringr), * gnu/packages/tex.scm (texlive-latex-changebar), * gnu/packages/version-control.scm (subversion), * gnu/packages/w3m.scm (w3m), * gnu/packages/web.scm (perl-http-parser, perl-plack-middleware-reverseproxy), * gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme, mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
3 years ago
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.
7 years ago
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.
7 years ago
gnu packages: Clean up synopses and descriptions. * gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/databases.scm, gnu/packages/enchant.scm, gnu/packages/firmware.scm, gnu/packages/fonts.scm, gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/haskell.scm, gnu/packages/language.scm, gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm, gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm, gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/pretty-print.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm, gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm: Fix typos. Trim long lines. Add missing periods in the end of sentences. Use double spaces between sentences. Remove trailing whitespaces.
7 years ago
gnu: Update URLs for sourceforge.net. * gnu/packages/admin.scm: Update URLs pointing to sourceforge.net. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/boost.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/code.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/cups.scm: Likewise. * gnu/packages/djvu.scm: Likewise. * gnu/packages/docbook.scm: Likewise. * gnu/packages/documentation.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fonts.scm: Likewise. * gnu/packages/fontutils.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/graphviz.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/onc-rpc.scm: Likewise. * gnu/packages/password-utils.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/photo.scm: Likewise. * gnu/packages/popt.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/rdesktop.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/swig.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise.
6 years ago
gnu: All snippets report errors using exceptions, else return #t. * gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm, gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm, gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/enlightenment.scm, gnu/packages/fpga.scm, gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm, gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm, gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm, gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm, gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm, gnu/packages/pretty-print.scm, gnu/packages/profiling.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm, gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm, gnu/packages/scribus.scm, gnu/packages/sdl.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm, gnu/packages/terminals.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/tls.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm: In all snippets, report errors using exceptions, or else return #t.
4 years ago
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.
5 years ago
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
  3. ;;; Copyright © 2013 Joshua Grant <tadni@riseup.net>
  4. ;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
  5. ;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
  6. ;;; Copyright © 2016 ng0 <ng0@n0.is>
  7. ;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
  8. ;;; Copyright © 2016 David Thompson <davet@gnu.org>
  9. ;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
  10. ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
  11. ;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
  12. ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
  13. ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
  14. ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
  15. ;;;
  16. ;;; This file is part of GNU Guix.
  17. ;;;
  18. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  19. ;;; under the terms of the GNU General Public License as published by
  20. ;;; the Free Software Foundation; either version 3 of the License, or (at
  21. ;;; your option) any later version.
  22. ;;;
  23. ;;; GNU Guix is distributed in the hope that it will be useful, but
  24. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  25. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. ;;; GNU General Public License for more details.
  27. ;;;
  28. ;;; You should have received a copy of the GNU General Public License
  29. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  30. (define-module (gnu packages gl)
  31. #:use-module (gnu packages)
  32. #:use-module (gnu packages autotools)
  33. #:use-module (gnu packages bison)
  34. #:use-module (gnu packages compression)
  35. #:use-module (gnu packages documentation)
  36. #:use-module (gnu packages elf)
  37. #:use-module (gnu packages flex)
  38. #:use-module (gnu packages fontutils)
  39. #:use-module (gnu packages freedesktop)
  40. #:use-module (gnu packages gettext)
  41. #:use-module (gnu packages guile)
  42. #:use-module (gnu packages image)
  43. #:use-module (gnu packages linux)
  44. #:use-module (gnu packages llvm)
  45. #:use-module (gnu packages mono)
  46. #:use-module (gnu packages pkg-config)
  47. #:use-module (gnu packages python)
  48. #:use-module (gnu packages python-xyz)
  49. #:use-module (gnu packages tls)
  50. #:use-module (gnu packages video)
  51. #:use-module (gnu packages vulkan)
  52. #:use-module (gnu packages xdisorg)
  53. #:use-module (gnu packages xml)
  54. #:use-module (gnu packages xorg)
  55. #:use-module (guix download)
  56. #:use-module (guix git-download)
  57. #:use-module (guix hg-download)
  58. #:use-module (guix build-system gnu)
  59. #:use-module (guix build-system cmake)
  60. #:use-module (guix build-system meson)
  61. #:use-module ((guix licenses) #:prefix license:)
  62. #:use-module (guix packages)
  63. #:use-module (guix utils)
  64. #:use-module (ice-9 match)
  65. #:use-module ((srfi srfi-1) #:hide (zip)))
  66. (define-public glu
  67. (package
  68. (name "glu")
  69. (version "9.0.1")
  70. (source (origin
  71. (method url-fetch)
  72. (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/glu/glu-"
  73. version ".tar.gz"))
  74. (sha256
  75. (base32
  76. "1xqhk9bn10nbvffw3r4p4rjslwz1l7gaycc0x2pqkr2irp7q9x7n"))))
  77. (build-system gnu-build-system)
  78. (propagated-inputs
  79. `(("mesa" ,mesa))) ; according to glu.pc
  80. (home-page "http://www.opengl.org/archives/resources/faq/technical/glu.htm")
  81. (synopsis "Mesa OpenGL Utility library")
  82. (description
  83. "GLU, or OpenGL Utility Library provides some higher-level functionality
  84. not provided by just OpenGL itself. Some of GLU's Features
  85. include: Scaling of 2D images and creation of mipmap pyramids,
  86. Transformation of object coordinates into device coordinates and
  87. vice versa, Support for NURBS surfaces, Support for tessellation
  88. of concave or bow tie polygonal primitives, Specialty transformation
  89. matrices for creating perspective and orthographic projections,
  90. positioning a camera, and selection/picking, Rendering of disk,
  91. cylinder, and sphere primitives, Interpreting OpenGL error values
  92. as ASCII text.")
  93. (license (license:x11-style "http://directory.fsf.org/wiki/License:SGIFreeBv2"))))
  94. (define-public freeglut
  95. (package
  96. (name "freeglut")
  97. (version "3.2.1")
  98. (source (origin
  99. (method url-fetch)
  100. (uri (string-append
  101. "mirror://sourceforge/freeglut/freeglut/"
  102. version "/freeglut-" version ".tar.gz"))
  103. (sha256
  104. (base32
  105. "0s6sk49q8ijgbsrrryb7dzqx2fa744jhx1wck5cz5jia2010w06l"))))
  106. (build-system cmake-build-system)
  107. (arguments
  108. '(#:tests? #f ;no test target
  109. #:configure-flags '("-DFREEGLUT_BUILD_STATIC_LIBS=OFF")))
  110. (inputs `(("libx11" ,libx11)
  111. ("libxi" ,libxi)
  112. ("libxrandr" ,libxrandr)
  113. ("libxxf86vm" ,libxxf86vm)))
  114. (propagated-inputs
  115. ;; Headers from Mesa and GLU are needed.
  116. `(("glu" ,glu)
  117. ("mesa" ,mesa)))
  118. (home-page "http://freeglut.sourceforge.net/")
  119. (synopsis "Alternative to the OpenGL Utility Toolkit (GLUT)")
  120. (description
  121. "Freeglut is a completely Free/OpenSourced alternative to
  122. the OpenGL Utility Toolkit (GLUT) library. GLUT was originally
  123. written by Mark Kilgard to support the sample programs in the
  124. second edition OpenGL @code{RedBook}. Since then, GLUT has been used
  125. in a wide variety of practical applications because it is simple,
  126. widely available and highly portable.
  127. GLUT (and hence freeglut) allows the user to create and manage windows
  128. containing OpenGL contexts on a wide range of platforms and also read
  129. the mouse, keyboard and joystick functions. Freeglut is released under
  130. the X-Consortium license.")
  131. (license license:x11)))
  132. ;; Needed for "kiki".
  133. (define-public freeglut-2.8
  134. (package (inherit freeglut)
  135. (name "freeglut")
  136. (version "2.8.1")
  137. (source (origin
  138. (method url-fetch)
  139. (uri (string-append
  140. "mirror://sourceforge/freeglut/freeglut/"
  141. version "/freeglut-" version ".tar.gz"))
  142. (sha256
  143. (base32
  144. "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x"))))
  145. (build-system gnu-build-system)
  146. (arguments
  147. '(#:configure-flags '("--disable-static")))))
  148. (define-public ftgl
  149. (package
  150. (name "ftgl")
  151. (version "2.4.0")
  152. (home-page "https://github.com/frankheckenbach/ftgl")
  153. (source (origin
  154. (method git-fetch)
  155. (uri (git-reference (url home-page)
  156. (commit (string-append "v" version))))
  157. (file-name (git-file-name name version))
  158. (sha256
  159. (base32
  160. "0zjs1h9w30gajq9lndzvjsa26rsmr1081lb1fbpbj10yhcdcsc79"))))
  161. (build-system gnu-build-system)
  162. (arguments
  163. `(#:configure-flags '("--disable-static")))
  164. ;; The pkg-config file lists "freetype2" as Requires.private.
  165. (propagated-inputs `(("freetype" ,freetype)))
  166. (inputs `(("libx11" ,libx11)
  167. ("mesa" ,mesa)
  168. ("glu" ,glu)))
  169. (native-inputs
  170. `(("pkg-config" ,pkg-config)
  171. ("autoconf" ,autoconf)
  172. ("automake" ,automake)
  173. ("libtool" ,libtool)))
  174. (synopsis "Font rendering library for OpenGL applications")
  175. (description
  176. "FTGL is a font rendering library for OpenGL applications. Supported
  177. rendering modes are: Bitmaps, Anti-aliased pixmaps, Texture maps, Outlines,
  178. Polygon meshes, and Extruded polygon meshes.")
  179. (license license:x11)))
  180. (define-public s2tc
  181. (package
  182. (name "s2tc")
  183. (version "1.0")
  184. (source
  185. (origin
  186. (method git-fetch)
  187. (uri (git-reference
  188. (url "https://github.com/divVerent/s2tc.git")
  189. (commit (string-append "v" version))))
  190. (file-name (git-file-name name version))
  191. (sha256
  192. (base32 "1fg323fk7wlv2xh6lw66wswgcv6qi8aaadk7c28h2f2lj1s7njnf"))))
  193. (build-system gnu-build-system)
  194. (native-inputs
  195. `(("autoconf" ,autoconf)
  196. ("automake" ,automake)
  197. ("libtool" ,libtool)))
  198. (inputs
  199. `(("mesa-headers" ,mesa-headers)))
  200. (home-page "https://github.com/divVerent/s2tc")
  201. (synopsis "S3 Texture Compression implementation")
  202. (description
  203. "S2TC is a patent-free implementation of S3 Texture Compression (S3TC,
  204. also known as DXTn or DXTC) for Mesa.")
  205. (license license:expat)))
  206. ;;; Mesa needs LibVA headers to build its Gallium-based VA API implementation;
  207. ;;; LibVA itself depends on Mesa. We use the following to solve the circular
  208. ;;; dependency.
  209. (define libva-without-mesa
  210. ;; Delay to work around circular import problem.
  211. (delay
  212. (package
  213. (inherit libva)
  214. (name "libva-without-mesa")
  215. (inputs `(,@(fold alist-delete (package-inputs libva)
  216. '("mesa" "wayland"))))
  217. (arguments
  218. (strip-keyword-arguments
  219. '(#:make-flags)
  220. (substitute-keyword-arguments (package-arguments libva)
  221. ((#:configure-flags flags)
  222. '(list "--disable-glx" "--disable-egl"))))))))
  223. (define-public mesa
  224. (package
  225. (name "mesa")
  226. (version "19.3.4")
  227. (source
  228. (origin
  229. (method url-fetch)
  230. (uri (list (string-append "https://mesa.freedesktop.org/archive/"
  231. "mesa-" version ".tar.xz")
  232. (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
  233. "mesa-" version ".tar.xz")
  234. (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
  235. version "/mesa-" version ".tar.xz")))
  236. (sha256
  237. (base32
  238. "1r4giqq7q7zqbn23lbw7v5vswagxx8qj6ij2w8bsb697mvk6g90x"))
  239. (patches
  240. (search-patches "mesa-skip-disk-cache-test.patch"))))
  241. (build-system meson-build-system)
  242. (propagated-inputs
  243. `(;; The following are in the Requires.private field of gl.pc.
  244. ("libdrm" ,libdrm)
  245. ("libvdpau" ,libvdpau)
  246. ("libx11" ,libx11)
  247. ("libxdamage" ,libxdamage)
  248. ("libxfixes" ,libxfixes)
  249. ("libxshmfence" ,libxshmfence)
  250. ("libxxf86vm" ,libxxf86vm)
  251. ("xorgproto" ,xorgproto)))
  252. (inputs
  253. `(("expat" ,expat)
  254. ("libelf" ,elfutils) ;required for r600 when using llvm
  255. ("libva" ,(force libva-without-mesa))
  256. ("libxml2" ,libxml2)
  257. ;; TODO: Add 'libxml2-python' for OpenGL ES 1.1 and 2.0 support
  258. ("libxrandr" ,libxrandr)
  259. ("libxvmc" ,libxvmc)
  260. ,@(match (%current-system)
  261. ((or "x86_64-linux" "i686-linux")
  262. `(("llvm" ,llvm-9)))
  263. (_
  264. `()))
  265. ("makedepend" ,makedepend)
  266. ("wayland" ,wayland)
  267. ("wayland-protocols" ,wayland-protocols)))
  268. (native-inputs
  269. `(("bison" ,bison)
  270. ("flex" ,flex)
  271. ("gettext" ,gettext-minimal)
  272. ,@(match (%current-system)
  273. ((or "x86_64-linux" "i686-linux")
  274. `(("glslang" ,glslang)))
  275. (_
  276. `()))
  277. ("pkg-config" ,pkg-config)
  278. ("python" ,python-wrapper)
  279. ("python-mako" ,python-mako)
  280. ("which" ,(@ (gnu packages base) which))))
  281. (arguments
  282. `(#:configure-flags
  283. '(,@(match (%current-system)
  284. ((or "armhf-linux" "aarch64-linux")
  285. ;; TODO: Fix svga driver for aarch64 and armhf.
  286. '("-Dgallium-drivers=etnaviv,freedreno,nouveau,r300,r600,swrast,tegra,v3d,vc4,virgl"))
  287. (_
  288. '("-Dgallium-drivers=iris,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
  289. ;; Enable various optional features. TODO: opencl requires libclc,
  290. ;; omx requires libomxil-bellagio
  291. "-Dplatforms=x11,drm,surfaceless,wayland"
  292. "-Dglx=dri" ;Thread Local Storage, improves performance
  293. ;; "-Dopencl=true"
  294. ;; "-Domx=true"
  295. "-Dosmesa=gallium"
  296. "-Dgallium-xa=true"
  297. ;; features required by wayland
  298. "-Dgles2=true"
  299. "-Dgbm=true"
  300. "-Dshared-glapi=true"
  301. ;; Enable Vulkan on i686-linux and x86-64-linux.
  302. ,@(match (%current-system)
  303. ((or "i686-linux" "x86_64-linux")
  304. '("-Dvulkan-drivers=intel,amd"))
  305. (_
  306. '("-Dvulkan-drivers=auto")))
  307. ;; Enable the Vulkan overlay layer on i686-linux and x86-64-linux.
  308. ,@(match (%current-system)
  309. ((or "x86_64-linux" "i686-linux")
  310. '("-Dvulkan-overlay-layer=true"))
  311. (_
  312. '()))
  313. ;; Also enable the tests.
  314. "-Dbuild-tests=true"
  315. ;; on non-intel systems, drop i915 and i965
  316. ;; from the default dri drivers
  317. ,@(match (%current-system)
  318. ((or "x86_64-linux" "i686-linux")
  319. '("-Ddri-drivers=i915,i965,nouveau,r200,r100"
  320. "-Dllvm=true")) ; default is x86/x86_64 only
  321. (_
  322. '("-Ddri-drivers=nouveau,r200,r100"))))
  323. ;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
  324. ;; documentation recommends using 'release' for performance anyway.
  325. #:build-type "release"
  326. #:modules ((ice-9 match)
  327. (srfi srfi-1)
  328. (guix build utils)
  329. (guix build meson-build-system))
  330. #:phases
  331. (modify-phases %standard-phases
  332. (add-after
  333. 'unpack 'patch-create_test_cases
  334. (lambda _
  335. (substitute* "src/intel/genxml/gen_pack_header.py"
  336. (("/usr/bin/env python2") (which "python")))
  337. #t))
  338. ,@(if (string-prefix? "i686" (or (%current-target-system)
  339. (%current-system)))
  340. ;; Disable new test from Mesa 19 that fails on i686. Upstream
  341. ;; report: <https://bugs.freedesktop.org/show_bug.cgi?id=110612>.
  342. `((add-after 'unpack 'disable-failing-test
  343. (lambda _
  344. (substitute* "src/gallium/tests/unit/meson.build"
  345. (("'u_format_test',") ""))
  346. #t)))
  347. '())
  348. (add-before
  349. 'configure 'fix-dlopen-libnames
  350. (lambda* (#:key inputs outputs #:allow-other-keys)
  351. (let ((out (assoc-ref outputs "out")))
  352. ;; Remain agnostic to .so.X.Y.Z versions while doing
  353. ;; the substitutions so we're future-safe.
  354. (substitute* "src/glx/dri_common.c"
  355. (("dlopen\\(\"libGL\\.so")
  356. (string-append "dlopen(\"" out "/lib/libGL.so")))
  357. (substitute* "src/egl/drivers/dri2/egl_dri2.c"
  358. (("\"libglapi\\.so")
  359. (string-append "\"" out "/lib/libglapi.so")))
  360. (substitute* "src/gbm/main/backend.c"
  361. ;; No need to patch the gbm_gallium_drm.so reference;
  362. ;; it's never installed since Mesa removed its
  363. ;; egl_gallium support.
  364. (("\"gbm_dri\\.so")
  365. (string-append "\"" out "/lib/dri/gbm_dri.so")))
  366. #t)))
  367. (add-after 'install 'symlinks-instead-of-hard-links
  368. (lambda* (#:key outputs #:allow-other-keys)
  369. ;; All the drivers and gallium targets create hard links upon
  370. ;; installation (search for "hardlink each megadriver instance"
  371. ;; in the makefiles). This is no good for us since we'd produce
  372. ;; nars that contain several copies of these files. Thus, turn
  373. ;; them into symlinks, which saves ~124 MiB.
  374. (let* ((out (assoc-ref outputs "out"))
  375. (lib (string-append out "/lib"))
  376. (files (find-files lib
  377. (lambda (file stat)
  378. (and (string-contains file ".so")
  379. (eq? 'regular
  380. (stat:type stat))))))
  381. (inodes (map (compose stat:ino stat) files)))
  382. (for-each (lambda (inode)
  383. (match (filter-map (match-lambda
  384. ((file ino)
  385. (and (= ino inode) file)))
  386. (zip files inodes))
  387. ((_)
  388. #f)
  389. ((reference others ..1)
  390. (format #t "creating ~a symlinks to '~a'~%"
  391. (length others) reference)
  392. (for-each delete-file others)
  393. (for-each (lambda (file)
  394. (if (string=? (dirname file)
  395. (dirname reference))
  396. (symlink (basename reference)
  397. file)
  398. (symlink reference file)))
  399. others))))
  400. (delete-duplicates inodes))
  401. #t))))))
  402. (home-page "https://mesa3d.org/")
  403. (synopsis "OpenGL and Vulkan implementations")
  404. (description "Mesa is a free implementation of the OpenGL and Vulkan
  405. specifications - systems for rendering interactive 3D graphics. A variety of
  406. device drivers allows Mesa to be used in many different environments ranging
  407. from software emulation to complete hardware acceleration for modern GPUs.")
  408. (license license:x11)))
  409. (define-public mesa-opencl
  410. (package
  411. (inherit mesa)
  412. (name "mesa-opencl")
  413. (arguments
  414. (substitute-keyword-arguments (package-arguments mesa)
  415. ((#:configure-flags flags)
  416. `(cons "-Dgallium-opencl=standalone" ,flags))))
  417. (inputs
  418. `(("libclc" ,libclc)
  419. ,@(package-inputs mesa)))
  420. (native-inputs
  421. `(("clang" ,clang-8)
  422. ,@(package-native-inputs mesa)))))
  423. (define-public mesa-opencl-icd
  424. (package
  425. (inherit mesa-opencl)
  426. (name "mesa-opencl-icd")
  427. (arguments
  428. (substitute-keyword-arguments (package-arguments mesa)
  429. ((#:configure-flags flags)
  430. `(cons "-Dgallium-opencl=icd"
  431. ,(delete "-Dgallium-opencl=standalone" flags)))))))
  432. (define-public mesa-headers
  433. (package
  434. (inherit mesa)
  435. (name "mesa-headers")
  436. (propagated-inputs '())
  437. (inputs '())
  438. (native-inputs '())
  439. (arguments
  440. '(#:phases
  441. (modify-phases %standard-phases
  442. (delete 'configure)
  443. (delete 'build)
  444. (delete 'check)
  445. (replace 'install
  446. (lambda* (#:key outputs #:allow-other-keys)
  447. (copy-recursively "include" (string-append
  448. (assoc-ref outputs "out")
  449. "/include"))
  450. #t)))))))
  451. ;;; The mesa-demos distribution contains non-free files, many files with no
  452. ;;; clear license information, and many demos that aren't useful for most
  453. ;;; people, so we just use this for the mesa-utils package below, and possibly
  454. ;;; other packages in the future. This is modeled after Debian's solution.
  455. (define (mesa-demos-source version)
  456. (origin
  457. (method url-fetch)
  458. (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/demos"
  459. "/mesa-demos-" version ".tar.bz2"))
  460. (sha256 (base32 "0zgzbz55a14hz83gbmm0n9gpjnf5zadzi2kjjvkn6khql2a9rs81"))))
  461. (define-public mesa-utils
  462. (package
  463. (name "mesa-utils")
  464. (version "8.4.0")
  465. (source (mesa-demos-source version))
  466. (build-system gnu-build-system)
  467. (inputs
  468. `(("mesa" ,mesa)
  469. ("glut" ,freeglut)
  470. ("glew" ,glew)))
  471. (native-inputs
  472. `(("pkg-config" ,pkg-config)))
  473. (arguments
  474. '(#:phases
  475. (modify-phases %standard-phases
  476. (replace
  477. 'install
  478. (lambda* (#:key outputs #:allow-other-keys)
  479. (let ((out (assoc-ref outputs "out")))
  480. (mkdir-p (string-append out "/bin"))
  481. (for-each
  482. (lambda (file)
  483. (copy-file file (string-append out "/bin/" (basename file))))
  484. '("src/xdemos/glxdemo" "src/xdemos/glxgears"
  485. "src/xdemos/glxinfo" "src/xdemos/glxheads"))
  486. #t))))))
  487. (home-page "https://mesa3d.org/")
  488. (synopsis "Utility tools for Mesa")
  489. (description
  490. "The mesa-utils package contains several utility tools for Mesa: glxdemo,
  491. glxgears, glxheads, and glxinfo.")
  492. ;; glxdemo is public domain; others expat.
  493. (license (list license:expat license:public-domain))))
  494. (define-public glew
  495. (package
  496. (name "glew")
  497. (version "2.1.0")
  498. (source (origin
  499. (method url-fetch)
  500. (uri (string-append "mirror://sourceforge/glew/glew/" version
  501. "/glew-" version ".tgz"))
  502. (sha256
  503. (base32
  504. "159wk5dc0ykjbxvag5i1m2mhp23zkk6ra04l26y3jc3nwvkr3ph4"))
  505. (modules '((guix build utils)))
  506. (snippet
  507. '(begin
  508. (substitute* "config/Makefile.linux"
  509. (("= cc") "= gcc")
  510. (("/lib64") "/lib"))
  511. #t))))
  512. (build-system gnu-build-system)
  513. (arguments
  514. '(#:phases (modify-phases %standard-phases (delete 'configure))
  515. #:make-flags (list (string-append "GLEW_PREFIX="
  516. (assoc-ref %outputs "out"))
  517. (string-append "GLEW_DEST="
  518. (assoc-ref %outputs "out")))
  519. #:tests? #f)) ;no 'check' target
  520. (inputs
  521. `(("libxi" ,libxi)
  522. ("libxmu" ,libxmu)
  523. ("libx11" ,libx11)
  524. ("mesa" ,mesa)))
  525. ;; <GL/glew.h> includes <GL/glu.h>.
  526. (propagated-inputs `(("glu" ,glu)))
  527. (home-page "http://glew.sourceforge.net/")
  528. (synopsis "OpenGL extension loading library for C and C++")
  529. (description
  530. "The OpenGL Extension Wrangler Library (GLEW) is a C/C++ extension
  531. loading library. GLEW provides efficient run-time mechanisms for determining
  532. which OpenGL extensions are supported on the target platform. OpenGL core and
  533. extension functionality is exposed in a single header file.")
  534. (license license:bsd-3)))
  535. (define-public guile-opengl
  536. (package
  537. (name "guile-opengl")
  538. (version "0.1.0")
  539. (source (origin
  540. (method url-fetch)
  541. (uri (string-append "mirror://gnu/guile-opengl/guile-opengl-"
  542. version ".tar.gz"))
  543. (sha256
  544. (base32
  545. "13qfx4xh8baryxqrv986l848ygd0piqwm6s2s90pxk9c0m9vklim"))))
  546. (build-system gnu-build-system)
  547. (native-inputs `(("pkg-config" ,pkg-config)))
  548. (inputs `(("guile" ,guile-2.2)
  549. ("mesa" ,mesa)
  550. ("glu" ,glu)
  551. ("freeglut" ,freeglut)))
  552. (arguments
  553. '(#:phases (modify-phases %standard-phases
  554. (add-after 'configure 'patch-makefile
  555. (lambda _
  556. ;; Install compiled Guile files in the expected place.
  557. (substitute* '("Makefile")
  558. (("^godir = .*$")
  559. "godir = $(moddir)\n"))))
  560. (add-before 'build 'patch-dynamic-link
  561. (lambda* (#:key inputs outputs #:allow-other-keys)
  562. (define (dynamic-link-substitute file lib input)
  563. (substitute* file
  564. (("dynamic-link \"lib([a-zA-Z]+)\"" _ lib)
  565. (string-append "dynamic-link \""
  566. (assoc-ref inputs input)
  567. "/lib/lib" lib "\""))))
  568. ;; Replace dynamic-link calls for libGL, libGLU, and
  569. ;; libglut with absolute paths to the store.
  570. (dynamic-link-substitute "glx/runtime.scm" "GL" "mesa")
  571. (dynamic-link-substitute "glu/runtime.scm" "GLU" "glu")
  572. (dynamic-link-substitute "glut/runtime.scm" "glut"
  573. "freeglut"))))))
  574. (home-page "https://gnu.org/s/guile-opengl")
  575. (synopsis "Guile binding for the OpenGL graphics API")
  576. (description
  577. "Guile-OpenGL is a library for Guile that provides bindings to the
  578. OpenGL graphics API.")
  579. (license license:lgpl3+)))
  580. (define-public libepoxy
  581. (package
  582. (name "libepoxy")
  583. (version "1.5.4")
  584. (source (origin
  585. (method url-fetch)
  586. (uri (string-append
  587. "https://github.com/anholt/libepoxy/releases/download/"
  588. version "/libepoxy-" version ".tar.xz"))
  589. (sha256
  590. (base32
  591. "1ll9fach4v30dsyd47s5ial4gaiwihzr2afb77vxxzzy3mlcrlhb"))))
  592. (arguments
  593. `(#:phases
  594. (modify-phases %standard-phases
  595. (delete 'bootstrap)
  596. (add-before
  597. 'configure 'patch-paths
  598. (lambda* (#:key inputs #:allow-other-keys)
  599. (let ((python (assoc-ref inputs "python"))
  600. (mesa (assoc-ref inputs "mesa")))
  601. (substitute* "src/gen_dispatch.py"
  602. (("/usr/bin/env python") python))
  603. (substitute* (find-files "." "\\.[ch]$")
  604. (("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
  605. (("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))
  606. #t))))))
  607. (build-system meson-build-system)
  608. (native-inputs
  609. `(("pkg-config" ,pkg-config)
  610. ("python" ,python)))
  611. (inputs
  612. `(("mesa" ,mesa)))
  613. (home-page "https://github.com/anholt/libepoxy/")
  614. (synopsis "A library for handling OpenGL function pointer management")
  615. (description
  616. "A library for handling OpenGL function pointer management.")
  617. (license license:x11)))
  618. (define-public soil
  619. (package
  620. (name "soil")
  621. (version "1.0.7")
  622. (source (origin
  623. (method url-fetch)
  624. ;; No versioned archive available.
  625. (uri "http://www.lonesock.net/files/soil.zip")
  626. (sha256
  627. (base32
  628. "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52"))))
  629. (build-system gnu-build-system)
  630. (arguments
  631. '(#:tests? #f ; no tests
  632. #:phases (modify-phases %standard-phases
  633. (delete 'configure)
  634. (add-before 'build 'init-build
  635. (lambda* (#:key outputs #:allow-other-keys)
  636. (let ((out (assoc-ref outputs "out")))
  637. (setenv "CFLAGS" "-fPIC") ; needed for shared library
  638. ;; Use alternate Makefile
  639. (copy-file "projects/makefile/alternate Makefile.txt"
  640. "src/Makefile")
  641. (chdir "src")
  642. (substitute* '("Makefile")
  643. (("INCLUDEDIR = /usr/include/SOIL")
  644. (string-append "INCLUDEDIR = " out "/include/SOIL"))
  645. (("LIBDIR = /usr/lib")
  646. (string-append "LIBDIR = " out "/lib"))
  647. ;; Remove these flags from 'install' commands.
  648. (("-o root -g root") ""))))))))
  649. (native-inputs
  650. `(("unzip" ,unzip)))
  651. (inputs
  652. `(("mesa" ,mesa)))
  653. (home-page "https://www.lonesock.net/soil.html")
  654. (synopsis "OpenGL texture loading library")
  655. (description
  656. "SOIL is a tiny C library used primarily for uploading textures into
  657. OpenGL.")
  658. (license license:public-domain)))
  659. (define-public glfw
  660. (package
  661. (name "glfw")
  662. (version "3.2.1")
  663. (source (origin
  664. (method url-fetch)
  665. (uri (string-append "https://github.com/glfw/glfw"
  666. "/releases/download/" version
  667. "/glfw-" version ".zip"))
  668. (sha256
  669. (base32
  670. "09kk5yc1zhss9add8ryqrngrr16hdmc94rszgng135bhw09mxmdp"))))
  671. (build-system cmake-build-system)
  672. (arguments
  673. '(#:tests? #f ; no test target
  674. #:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
  675. (native-inputs
  676. `(("doxygen" ,doxygen)
  677. ("unzip" ,unzip)))
  678. (propagated-inputs
  679. `(("mesa" ,mesa) ;included in public headers
  680. ;; These are in 'Requires.private' of 'glfw3.pc'.
  681. ("libx11" ,libx11)
  682. ("libxrandr" ,libxrandr)
  683. ("libxinerama" ,libxinerama)
  684. ("libxcursor" ,libxcursor)
  685. ("libxxf86vm" ,libxxf86vm)))
  686. (home-page "http://www.glfw.org")
  687. (synopsis "OpenGL application development library")
  688. (description
  689. "GLFW is a library for OpenGL, OpenGL ES and Vulkan development for
  690. desktop computers. It provides a simple API for creating windows, contexts
  691. and surfaces, receiving input and events.")
  692. (license license:zlib)))
  693. (define-public nanovg-for-extempore
  694. (package
  695. (name "nanovg-for-extempore")
  696. (version "0.7.1")
  697. (source (origin
  698. (method url-fetch)
  699. (uri (string-append "https://github.com/extemporelang/nanovg/"
  700. "archive/" version ".tar.gz"))
  701. (file-name (string-append name "-" version ".tar.gz"))
  702. (sha256
  703. (base32
  704. "0ivs1sagq19xiw8jxd9f8w2b39svi0n9hrbmdvckwvqg95r8701g"))))
  705. (build-system cmake-build-system)
  706. (arguments `(#:tests? #f)) ; no tests included
  707. (inputs
  708. `(("mesa" ,mesa)))
  709. ;; Extempore refuses to build on architectures other than x86_64
  710. (supported-systems '("x86_64-linux"))
  711. (home-page "https://github.com/extemporelang/nanovg")
  712. (synopsis "2D vector drawing library on top of OpenGL")
  713. (description "NanoVG is small antialiased vector graphics rendering
  714. library for OpenGL. It has lean API modeled after HTML5 canvas API. It is
  715. aimed to be a practical and fun toolset for building scalable user interfaces
  716. and visualizations.")
  717. (license license:zlib)))
  718. (define-public gl2ps
  719. (package
  720. (name "gl2ps")
  721. (version "1.4.0")
  722. (source
  723. (origin
  724. (method url-fetch)
  725. (uri (string-append
  726. "http://geuz.org/gl2ps/src/gl2ps-"
  727. version ".tgz"))
  728. (sha256
  729. (base32
  730. "1qpidkz8x3bxqf69hlhyz1m0jmfi9kq24fxsp7rq6wfqzinmxjq3"))))
  731. (build-system cmake-build-system)
  732. (inputs
  733. `(("libpng" ,libpng)
  734. ("mesa" ,mesa)
  735. ("zlib" ,zlib)))
  736. (arguments
  737. `(#:tests? #f)) ;; no tests
  738. (home-page "http://www.geuz.org/gl2ps/")
  739. (synopsis "OpenGL to PostScript printing library")
  740. (description "GL2PS is a C library providing high quality vector
  741. output for any OpenGL application. GL2PS uses sorting algorithms
  742. capable of handling intersecting and stretched polygons, as well as
  743. non-manifold objects. GL2PS provides many features including advanced
  744. smooth shading and text rendering, culling of invisible primitives and
  745. mixed vector/bitmap output.")
  746. ;; GL2PS is dual-licenced and can be used under the terms of either.
  747. (license (list license:lgpl2.0+
  748. (license:fsf-free "http://www.geuz.org/gl2ps/COPYING.GL2PS"
  749. "GPL-incompatible copyleft license")))))
  750. (define-public virtualgl
  751. (package
  752. (name "virtualgl")
  753. (version "2.6.2")
  754. (source
  755. (origin
  756. (method git-fetch)
  757. (uri (git-reference
  758. (url "https://github.com/VirtualGL/virtualgl.git")
  759. (commit version)))
  760. (file-name (git-file-name name version))
  761. (sha256
  762. (base32 "0yyc553xsb5n0rx7jp9p4wdbd7md07b3qrkf3ssyjavqqg908qg9"))))
  763. (arguments
  764. `(#:tests? #f ; no tests are available
  765. #:configure-flags (list
  766. (string-append "-DCMAKE_INSTALL_LIBDIR="
  767. (assoc-ref %outputs "out") "/lib")
  768. "-DVGL_USESSL=1"))) ; use OpenSSL
  769. (build-system cmake-build-system)
  770. (inputs `(("glu" ,glu)
  771. ("libjpeg-turbo" ,libjpeg-turbo)
  772. ("libxtst" ,libxtst)
  773. ("mesa" ,mesa)
  774. ("openssl" ,openssl)))
  775. (native-inputs `(("pkg-config" ,pkg-config)))
  776. (home-page "https://www.virtualgl.org")
  777. (synopsis "Redirects 3D commands from an OpenGL application onto a 3D
  778. graphics card")
  779. (description "VirtualGL redirects the 3D rendering commands from OpenGL
  780. applications to 3D accelerator hardware in a dedicated server and displays the
  781. rendered output interactively to a thin client located elsewhere on the
  782. network.")
  783. (license license:wxwindows3.1+)))
  784. (define-public mojoshader
  785. (let ((changeset "5887634ea695"))
  786. (package
  787. (name "mojoshader")
  788. (version (string-append "20190825" "-" changeset))
  789. (source
  790. (origin
  791. (method hg-fetch)
  792. (uri (hg-reference
  793. (url "https://hg.icculus.org/icculus/mojoshader/")
  794. (changeset changeset)))
  795. (file-name (git-file-name name version))
  796. (sha256
  797. (base32 "0ibl4z1696jiifv9j5drir7jm0b5px0vwkwckbi7cfd46p7p6wcy"))))
  798. (arguments
  799. ;; Tests only for COMPILER_SUPPORT=ON.
  800. `(#:tests? #f
  801. #:configure-flags '("-DBUILD_SHARED=ON"
  802. "-DFLIP_VIEWPORT=ON"
  803. "-DDEPTH_CLIPPING=ON")
  804. #:phases
  805. (modify-phases %standard-phases
  806. (replace 'install
  807. (lambda* (#:key outputs #:allow-other-keys)
  808. (let* ((out (assoc-ref outputs "out"))
  809. (lib (string-append out "/lib"))
  810. (header (string-append out "/include")))
  811. (install-file "libmojoshader.so" lib)
  812. (for-each (lambda (f)
  813. (install-file f header))
  814. (find-files "../source" "mojoshader.*\\.h$"))
  815. (let ((profiles-header (string-append header "/profiles")))
  816. (mkdir-p profiles-header)
  817. (rename-file (string-append header "/mojoshader_profile.h")
  818. (string-append profiles-header "/mojoshader_profile.h"))))
  819. #t)))))
  820. (build-system cmake-build-system)
  821. (home-page "https://www.icculus.org/mojoshader/")
  822. (synopsis "Work with Direct3D shaders on alternate 3D APIs")
  823. (description "MojoShader is a library to work with Direct3D shaders on
  824. alternate 3D APIs and non-Windows platforms. The primary motivation is moving
  825. shaders to OpenGL languages on the fly. The developer deals with \"profiles\"
  826. that represent various target languages, such as GLSL or ARB_*_program.
  827. This allows a developer to manage one set of shaders, presumably written in
  828. Direct3D HLSL, and use them across multiple rendering backends. This also
  829. means that the developer only has to worry about one (offline) compiler to
  830. manage program complexity, while MojoShader itself deals with the reduced
  831. complexity of the bytecode at runtime.
  832. MojoShader provides both a simple API to convert bytecode to various profiles,
  833. and (optionally) basic glue to rendering APIs to abstract the management of
  834. the shaders at runtime.")
  835. (license license:zlib))))
  836. (define-public mojoshader-with-viewport-flip
  837. ;; Changeset c586d4590241 replaced glProgramViewportFlip with
  838. ;; glProgramViewportInfo.
  839. ;; https://hg.icculus.org/icculus/mojoshader/rev/c586d4590241
  840. (let ((changeset "2e37299b13d8"))
  841. (package
  842. (inherit mojoshader)
  843. (name "mojoshader-with-viewport-flip")
  844. (version (string-append "20190725" "-" changeset))
  845. (source
  846. (origin
  847. (method hg-fetch)
  848. (uri (hg-reference
  849. (url "https://hg.icculus.org/icculus/mojoshader/")
  850. (changeset changeset)))
  851. (file-name (git-file-name name version))
  852. (sha256
  853. (base32 "0ffws7cqbskxwc3hjsnnzq4r2bbf008kdr3b11pa3kr7dsi50y6i"))))
  854. (synopsis "Work with Direct3D shaders on alternate 3D APIs (with viewport flip)")
  855. (description "This is the last version of the mojoshader library with
  856. the glProgramViewportFlip before it was replaced with glProgramViewportInfo.")
  857. (license license:zlib))))
  858. (define-public mojoshader-cs
  859. (let ((commit "10d0dba21ff1cfe332eb7de328a2adce01286bd7"))
  860. (package
  861. (name "mojoshader-cs")
  862. (version (git-version "20191205" "1" commit))
  863. (source (origin
  864. (method git-fetch)
  865. (uri (git-reference
  866. (url "https://github.com/FNA-XNA/MojoShader")
  867. (commit commit)))
  868. (file-name (git-file-name name version))
  869. (sha256
  870. (base32
  871. "11mdhf3fmb9rsn2iv753gmb596j4dh5j2iipgw078vg0lj23rml7"))))
  872. (build-system gnu-build-system)
  873. (arguments
  874. '(#:tests? #f ; No tests.
  875. #:phases
  876. (modify-phases %standard-phases
  877. (delete 'configure)
  878. (replace 'build
  879. (lambda _
  880. (invoke "make" "-C" "csharp")))
  881. (replace 'install
  882. (lambda* (#:key outputs #:allow-other-keys)
  883. (let ((out (assoc-ref outputs "out")))
  884. (install-file "csharp/bin/MojoShader-CS.dll" (string-append out "/lib"))
  885. #t))))))
  886. (native-inputs
  887. `(("mono" ,mono)))
  888. (home-page "https://github.com/FNA-XNA/MojoShader")
  889. (synopsis "C# wrapper for MojoShader")
  890. (description
  891. "Mojoshader-CS provides C# bindings for the Mojoshader library.
  892. The C# wrapper was written to be used for FNA's platform support. However, this
  893. is written in a way that can be used for any general C# application.")
  894. (license license:zlib))))