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.

1037 lines
42 KiB

mailmap: Update entries for Nikita. * .mailmap: change email and name for Nikita. * Makefile.am, 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/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.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-xyz.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: Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 year 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.
6 years ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year 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.
5 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.
4 years ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year 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 Nikita <nikita@n0.is>
  7. ;;; Copyright © 2016, 2017, 2018, 2020 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, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  13. ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
  14. ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
  15. ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
  16. ;;;
  17. ;;; This file is part of GNU Guix.
  18. ;;;
  19. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  20. ;;; under the terms of the GNU General Public License as published by
  21. ;;; the Free Software Foundation; either version 3 of the License, or (at
  22. ;;; your option) any later version.
  23. ;;;
  24. ;;; GNU Guix is distributed in the hope that it will be useful, but
  25. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  26. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. ;;; GNU General Public License for more details.
  28. ;;;
  29. ;;; You should have received a copy of the GNU General Public License
  30. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  31. (define-module (gnu packages gl)
  32. #:use-module (gnu packages)
  33. #:use-module (gnu packages autotools)
  34. #:use-module (gnu packages bison)
  35. #:use-module (gnu packages compression)
  36. #:use-module (gnu packages documentation)
  37. #:use-module (gnu packages elf)
  38. #:use-module (gnu packages flex)
  39. #:use-module (gnu packages fontutils)
  40. #:use-module (gnu packages freedesktop)
  41. #:use-module (gnu packages gettext)
  42. #:use-module (gnu packages guile)
  43. #:use-module (gnu packages image)
  44. #:use-module (gnu packages linux)
  45. #:use-module (gnu packages llvm)
  46. #:use-module (gnu packages mono)
  47. #:use-module (gnu packages pkg-config)
  48. #:use-module (gnu packages python)
  49. #:use-module (gnu packages python-xyz)
  50. #:use-module (gnu packages tls)
  51. #:use-module (gnu packages video)
  52. #:use-module (gnu packages vulkan)
  53. #:use-module (gnu packages xdisorg)
  54. #:use-module (gnu packages xml)
  55. #:use-module (gnu packages xorg)
  56. #:use-module (guix download)
  57. #:use-module (guix git-download)
  58. #:use-module (guix hg-download)
  59. #:use-module (guix build-system gnu)
  60. #:use-module (guix build-system cmake)
  61. #:use-module (guix build-system meson)
  62. #:use-module ((guix licenses) #:prefix license:)
  63. #:use-module (guix packages)
  64. #:use-module (guix utils)
  65. #:use-module (ice-9 match)
  66. #:use-module ((srfi srfi-1) #:hide (zip)))
  67. (define-public glu
  68. (package
  69. (name "glu")
  70. (version "9.0.1")
  71. (source (origin
  72. (method url-fetch)
  73. (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/glu/glu-"
  74. version ".tar.gz"))
  75. (sha256
  76. (base32
  77. "1xqhk9bn10nbvffw3r4p4rjslwz1l7gaycc0x2pqkr2irp7q9x7n"))))
  78. (build-system gnu-build-system)
  79. (propagated-inputs
  80. `(("mesa" ,mesa))) ; according to glu.pc
  81. (home-page "http://www.opengl.org/archives/resources/faq/technical/glu.htm")
  82. (synopsis "Mesa OpenGL Utility library")
  83. (description
  84. "GLU, or OpenGL Utility Library provides some higher-level functionality
  85. not provided by just OpenGL itself. Some of GLU's Features
  86. include: Scaling of 2D images and creation of mipmap pyramids,
  87. Transformation of object coordinates into device coordinates and
  88. vice versa, Support for NURBS surfaces, Support for tessellation
  89. of concave or bow tie polygonal primitives, Specialty transformation
  90. matrices for creating perspective and orthographic projections,
  91. positioning a camera, and selection/picking, Rendering of disk,
  92. cylinder, and sphere primitives, Interpreting OpenGL error values
  93. as ASCII text.")
  94. (license (license:x11-style "http://directory.fsf.org/wiki/License:SGIFreeBv2"))))
  95. (define-public freeglut
  96. (package
  97. (name "freeglut")
  98. (version "3.2.1")
  99. (source (origin
  100. (method url-fetch)
  101. (uri (string-append
  102. "mirror://sourceforge/freeglut/freeglut/"
  103. version "/freeglut-" version ".tar.gz"))
  104. (sha256
  105. (base32
  106. "0s6sk49q8ijgbsrrryb7dzqx2fa744jhx1wck5cz5jia2010w06l"))))
  107. (build-system cmake-build-system)
  108. (arguments
  109. '(#:tests? #f ;no test target
  110. #:configure-flags '("-DFREEGLUT_BUILD_STATIC_LIBS=OFF")))
  111. (inputs `(("libx11" ,libx11)
  112. ("libxi" ,libxi)
  113. ("libxrandr" ,libxrandr)
  114. ("libxxf86vm" ,libxxf86vm)))
  115. (propagated-inputs
  116. ;; Headers from Mesa and GLU are needed.
  117. `(("glu" ,glu)
  118. ("mesa" ,mesa)))
  119. (home-page "http://freeglut.sourceforge.net/")
  120. (synopsis "Alternative to the OpenGL Utility Toolkit (GLUT)")
  121. (description
  122. "Freeglut is a completely Free/OpenSourced alternative to
  123. the OpenGL Utility Toolkit (GLUT) library. GLUT was originally
  124. written by Mark Kilgard to support the sample programs in the
  125. second edition OpenGL @code{RedBook}. Since then, GLUT has been used
  126. in a wide variety of practical applications because it is simple,
  127. widely available and highly portable.
  128. GLUT (and hence freeglut) allows the user to create and manage windows
  129. containing OpenGL contexts on a wide range of platforms and also read
  130. the mouse, keyboard and joystick functions. Freeglut is released under
  131. the X-Consortium license.")
  132. (license license:x11)))
  133. ;; Needed for "kiki".
  134. (define-public freeglut-2.8
  135. (package (inherit freeglut)
  136. (name "freeglut")
  137. (version "2.8.1")
  138. (source (origin
  139. (method url-fetch)
  140. (uri (string-append
  141. "mirror://sourceforge/freeglut/freeglut/"
  142. version "/freeglut-" version ".tar.gz"))
  143. (sha256
  144. (base32
  145. "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x"))))
  146. (build-system gnu-build-system)
  147. (arguments
  148. '(#:configure-flags '("--disable-static")))))
  149. (define-public ftgl
  150. (package
  151. (name "ftgl")
  152. (version "2.4.0")
  153. (home-page "https://github.com/frankheckenbach/ftgl")
  154. (source (origin
  155. (method git-fetch)
  156. (uri (git-reference (url home-page)
  157. (commit (string-append "v" version))))
  158. (file-name (git-file-name name version))
  159. (sha256
  160. (base32
  161. "0zjs1h9w30gajq9lndzvjsa26rsmr1081lb1fbpbj10yhcdcsc79"))))
  162. (build-system gnu-build-system)
  163. (arguments
  164. `(#:configure-flags '("--disable-static")))
  165. ;; The pkg-config file lists "freetype2" as Requires.private.
  166. (propagated-inputs `(("freetype" ,freetype)))
  167. (inputs `(("libx11" ,libx11)
  168. ("mesa" ,mesa)
  169. ("glu" ,glu)))
  170. (native-inputs
  171. `(("pkg-config" ,pkg-config)
  172. ("autoconf" ,autoconf)
  173. ("automake" ,automake)
  174. ("libtool" ,libtool)))
  175. (synopsis "Font rendering library for OpenGL applications")
  176. (description
  177. "FTGL is a font rendering library for OpenGL applications. Supported
  178. rendering modes are: Bitmaps, Anti-aliased pixmaps, Texture maps, Outlines,
  179. Polygon meshes, and Extruded polygon meshes.")
  180. (license license:x11)))
  181. (define-public s2tc
  182. (package
  183. (name "s2tc")
  184. (version "1.0")
  185. (source
  186. (origin
  187. (method git-fetch)
  188. (uri (git-reference
  189. (url "https://github.com/divVerent/s2tc")
  190. (commit (string-append "v" version))))
  191. (file-name (git-file-name name version))
  192. (sha256
  193. (base32 "1fg323fk7wlv2xh6lw66wswgcv6qi8aaadk7c28h2f2lj1s7njnf"))))
  194. (build-system gnu-build-system)
  195. (native-inputs
  196. `(("autoconf" ,autoconf)
  197. ("automake" ,automake)
  198. ("libtool" ,libtool)))
  199. (inputs
  200. `(("mesa-headers" ,mesa-headers)))
  201. (home-page "https://github.com/divVerent/s2tc")
  202. (synopsis "S3 Texture Compression implementation")
  203. (description
  204. "S2TC is a patent-free implementation of S3 Texture Compression (S3TC,
  205. also known as DXTn or DXTC) for Mesa.")
  206. (license license:expat)))
  207. ;;; Mesa needs LibVA headers to build its Gallium-based VA API implementation;
  208. ;;; LibVA itself depends on Mesa. We use the following to solve the circular
  209. ;;; dependency.
  210. (define libva-without-mesa
  211. ;; Delay to work around circular import problem.
  212. (delay
  213. (package
  214. (inherit libva)
  215. (name "libva-without-mesa")
  216. (inputs `(,@(fold alist-delete (package-inputs libva)
  217. '("mesa" "wayland"))))
  218. (arguments
  219. (strip-keyword-arguments
  220. '(#:make-flags)
  221. (substitute-keyword-arguments (package-arguments libva)
  222. ((#:configure-flags flags)
  223. '(list "--disable-glx" "--disable-egl"))))))))
  224. (define-public mesa
  225. (package
  226. (name "mesa")
  227. (version "20.0.7")
  228. ;; Mesa 20.0.5 through 20.0.7 has problems with some graphic drivers, so
  229. ;; we need this newer version.
  230. ;; https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882
  231. ;; https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861
  232. (replacement mesa-20.0.8)
  233. (source
  234. (origin
  235. (method url-fetch)
  236. (uri (list (string-append "https://mesa.freedesktop.org/archive/"
  237. "mesa-" version ".tar.xz")
  238. (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
  239. "mesa-" version ".tar.xz")
  240. (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
  241. version "/mesa-" version ".tar.xz")))
  242. (sha256
  243. (base32
  244. "0y517qpdg6v6dsdgzb365p03m30511sbyh8pq0mcvhvjwy7javpy"))
  245. (patches
  246. (search-patches "mesa-skip-disk-cache-test.patch"))))
  247. (build-system meson-build-system)
  248. (propagated-inputs
  249. `(;; The following are in the Requires.private field of gl.pc.
  250. ("libdrm" ,libdrm)
  251. ("libvdpau" ,libvdpau)
  252. ("libx11" ,libx11)
  253. ("libxdamage" ,libxdamage)
  254. ("libxfixes" ,libxfixes)
  255. ("libxshmfence" ,libxshmfence)
  256. ("libxxf86vm" ,libxxf86vm)
  257. ("xorgproto" ,xorgproto)))
  258. (inputs
  259. `(("expat" ,expat)
  260. ("libelf" ,elfutils) ;required for r600 when using llvm
  261. ("libva" ,(force libva-without-mesa))
  262. ("libxml2" ,libxml2)
  263. ;; TODO: Add 'libxml2-python' for OpenGL ES 1.1 and 2.0 support
  264. ("libxrandr" ,libxrandr)
  265. ("libxvmc" ,libxvmc)
  266. ,@(match (%current-system)
  267. ((or "x86_64-linux" "i686-linux")
  268. ;; Note: update the 'clang' input of mesa-opencl when bumping this.
  269. `(("llvm" ,llvm-10)))
  270. (_
  271. `()))
  272. ("wayland" ,wayland)
  273. ("wayland-protocols" ,wayland-protocols)))
  274. (native-inputs
  275. `(("bison" ,bison)
  276. ("flex" ,flex)
  277. ("gettext" ,gettext-minimal)
  278. ,@(match (%current-system)
  279. ((or "x86_64-linux" "i686-linux")
  280. `(("glslang" ,glslang)))
  281. (_
  282. `()))
  283. ("pkg-config" ,pkg-config)
  284. ("python" ,python-wrapper)
  285. ("python-mako" ,python-mako)
  286. ("which" ,(@ (gnu packages base) which))))
  287. (outputs '("out" "bin"))
  288. (arguments
  289. `(#:configure-flags
  290. '(,@(match (%current-system)
  291. ((or "armhf-linux" "aarch64-linux")
  292. ;; TODO: Fix svga driver for aarch64 and armhf.
  293. '("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl"))
  294. (_
  295. '("-Dgallium-drivers=iris,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
  296. ;; Enable various optional features. TODO: opencl requires libclc,
  297. ;; omx requires libomxil-bellagio
  298. "-Dplatforms=x11,drm,surfaceless,wayland"
  299. "-Dglx=dri" ;Thread Local Storage, improves performance
  300. ;; "-Dopencl=true"
  301. ;; "-Domx=true"
  302. "-Dosmesa=gallium"
  303. "-Dgallium-xa=true"
  304. ;; features required by wayland
  305. "-Dgles2=true"
  306. "-Dgbm=true"
  307. "-Dshared-glapi=true"
  308. ;; Enable Vulkan on i686-linux and x86-64-linux.
  309. ,@(match (%current-system)
  310. ((or "i686-linux" "x86_64-linux")
  311. '("-Dvulkan-drivers=intel,amd"))
  312. (_
  313. '("-Dvulkan-drivers=auto")))
  314. ;; Enable the Vulkan overlay layer on i686-linux and x86-64-linux.
  315. ,@(match (%current-system)
  316. ((or "x86_64-linux" "i686-linux")
  317. '("-Dvulkan-overlay-layer=true"))
  318. (_
  319. '()))
  320. ;; Also enable the tests.
  321. "-Dbuild-tests=true"
  322. ;; on non-intel systems, drop i915 and i965
  323. ;; from the default dri drivers
  324. ,@(match (%current-system)
  325. ((or "x86_64-linux" "i686-linux")
  326. '("-Ddri-drivers=i915,i965,nouveau,r200,r100"
  327. "-Dllvm=true")) ; default is x86/x86_64 only
  328. (_
  329. '("-Ddri-drivers=nouveau,r200,r100"))))
  330. ;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
  331. ;; documentation recommends using 'release' for performance anyway.
  332. #:build-type "release"
  333. #:modules ((ice-9 match)
  334. (srfi srfi-1)
  335. (guix build utils)
  336. (guix build meson-build-system))
  337. #:phases
  338. (modify-phases %standard-phases
  339. ,@(if (string-prefix? "i686" (or (%current-target-system)
  340. (%current-system)))
  341. ;; Disable new test from Mesa 19 that fails on i686. Upstream
  342. ;; report: <https://bugs.freedesktop.org/show_bug.cgi?id=110612>.
  343. `((add-after 'unpack 'disable-failing-test
  344. (lambda _
  345. (substitute* "src/util/tests/format/meson.build"
  346. (("'u_format_test',") ""))
  347. #t)))
  348. '())
  349. (add-before '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/meson.build"
  355. (("-DGL_LIB_NAME=\"lib@0@\\.so\\.@1@\"")
  356. (string-append "-DGL_LIB_NAME=\"" out
  357. "/lib/lib@0@.so.@1@\"")))
  358. (substitute* "src/gbm/backends/dri/gbm_dri.c"
  359. (("\"libglapi\\.so")
  360. (string-append "\"" out "/lib/libglapi.so")))
  361. (substitute* "src/gbm/main/backend.c"
  362. ;; No need to patch the gbm_gallium_drm.so reference;
  363. ;; it's never installed since Mesa removed its
  364. ;; egl_gallium support.
  365. (("\"gbm_dri\\.so")
  366. (string-append "\"" out "/lib/dri/gbm_dri.so")))
  367. #t)))
  368. (add-after 'install 'split-outputs
  369. (lambda* (#:key outputs #:allow-other-keys)
  370. (let ((out (assoc-ref outputs "out"))
  371. (bin (assoc-ref outputs "bin")))
  372. ,@(match (%current-system)
  373. ((or "i686-linux" "x86_64-linux")
  374. ;; Install the Vulkan overlay control script to a separate
  375. ;; output to prevent a reference on Python, saving ~70 MiB
  376. ;; on the closure size.
  377. '((copy-recursively (string-append out "/bin")
  378. (string-append bin "/bin"))
  379. (delete-file-recursively (string-append out "/bin"))))
  380. (_
  381. ;; XXX: On architectures without the Vulkan overlay layer
  382. ;; just create an empty file because outputs can not be
  383. ;; added conditionally.
  384. '((mkdir-p (string-append bin "/bin"))
  385. (call-with-output-file (string-append bin "/bin/.empty")
  386. (const #t)))))
  387. #t)))
  388. (add-after 'install 'symlinks-instead-of-hard-links
  389. (lambda* (#:key outputs #:allow-other-keys)
  390. ;; All the drivers and gallium targets create hard links upon
  391. ;; installation (search for "hardlink each megadriver instance"
  392. ;; in the makefiles). This is no good for us since we'd produce
  393. ;; nars that contain several copies of these files. Thus, turn
  394. ;; them into symlinks, which saves ~124 MiB.
  395. (let* ((out (assoc-ref outputs "out"))
  396. (lib (string-append out "/lib"))
  397. (files (find-files lib
  398. (lambda (file stat)
  399. (and (string-contains file ".so")
  400. (eq? 'regular
  401. (stat:type stat))))))
  402. (inodes (map (compose stat:ino stat) files)))
  403. (for-each (lambda (inode)
  404. (match (filter-map (match-lambda
  405. ((file ino)
  406. (and (= ino inode) file)))
  407. (zip files inodes))
  408. ((_)
  409. #f)
  410. ((reference others ..1)
  411. (format #t "creating ~a symlinks to '~a'~%"
  412. (length others) reference)
  413. (for-each delete-file others)
  414. (for-each (lambda (file)
  415. (if (string=? (dirname file)
  416. (dirname reference))
  417. (symlink (basename reference)
  418. file)
  419. (symlink reference file)))
  420. others))))
  421. (delete-duplicates inodes))
  422. #t))))))
  423. (home-page "https://mesa3d.org/")
  424. (synopsis "OpenGL and Vulkan implementations")
  425. (description "Mesa is a free implementation of the OpenGL and Vulkan
  426. specifications - systems for rendering interactive 3D graphics. A variety of
  427. device drivers allows Mesa to be used in many different environments ranging
  428. from software emulation to complete hardware acceleration for modern GPUs.")
  429. (license license:x11)))
  430. ;; Replacement package to fix <https://gitlab.freedesktop.org/mesa/mesa/-/issues/2863>.
  431. (define mesa-20.0.8
  432. (package
  433. (inherit mesa)
  434. (version "20.0.8")
  435. (source (origin
  436. (inherit (package-source mesa))
  437. (uri (list (string-append "https://mesa.freedesktop.org/archive/"
  438. "mesa-" version ".tar.xz")
  439. (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
  440. "mesa-" version ".tar.xz")))
  441. (sha256
  442. (base32
  443. "0v0bfh3ay07s6msxmklvwfaif0q02kq2yhy65fdhys49vw8c1w3c"))))))
  444. (define-public mesa-opencl
  445. (package/inherit mesa
  446. (name "mesa-opencl")
  447. (arguments
  448. (substitute-keyword-arguments (package-arguments mesa)
  449. ((#:configure-flags flags)
  450. `(cons "-Dgallium-opencl=standalone" ,flags))))
  451. (inputs
  452. `(("libclc" ,libclc)
  453. ,@(package-inputs mesa)))
  454. (native-inputs
  455. `(("clang" ,clang-10)
  456. ,@(package-native-inputs mesa)))))
  457. (define-public mesa-opencl-icd
  458. (package/inherit mesa-opencl
  459. (name "mesa-opencl-icd")
  460. (arguments
  461. (substitute-keyword-arguments (package-arguments mesa)
  462. ((#:configure-flags flags)
  463. `(cons "-Dgallium-opencl=icd"
  464. ,(delete "-Dgallium-opencl=standalone" flags)))))))
  465. (define-public mesa-headers
  466. (package/inherit mesa
  467. (name "mesa-headers")
  468. (propagated-inputs '())
  469. (inputs '())
  470. (native-inputs '())
  471. (outputs '("out"))
  472. (arguments
  473. '(#:phases
  474. (modify-phases %standard-phases
  475. (delete 'configure)
  476. (delete 'build)
  477. (delete 'check)
  478. (replace 'install
  479. (lambda* (#:key outputs #:allow-other-keys)
  480. (copy-recursively "include" (string-append
  481. (assoc-ref outputs "out")
  482. "/include"))
  483. #t)))))))
  484. ;;; The mesa-demos distribution contains non-free files, many files with no
  485. ;;; clear license information, and many demos that aren't useful for most
  486. ;;; people, so we just use this for the mesa-utils package below, and possibly
  487. ;;; other packages in the future. This is modeled after Debian's solution.
  488. (define (mesa-demos-source version)
  489. (origin
  490. (method url-fetch)
  491. (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/demos"
  492. "/mesa-demos-" version ".tar.bz2"))
  493. (sha256 (base32 "0zgzbz55a14hz83gbmm0n9gpjnf5zadzi2kjjvkn6khql2a9rs81"))))
  494. (define-public mesa-utils
  495. (package
  496. (name "mesa-utils")
  497. (version "8.4.0")
  498. (source (mesa-demos-source version))
  499. (build-system gnu-build-system)
  500. (inputs
  501. `(("mesa" ,mesa)
  502. ("glut" ,freeglut)
  503. ("glew" ,glew)))
  504. (native-inputs
  505. `(("pkg-config" ,pkg-config)))
  506. (arguments
  507. '(#:phases
  508. (modify-phases %standard-phases
  509. (replace
  510. 'install
  511. (lambda* (#:key outputs #:allow-other-keys)
  512. (let ((out (assoc-ref outputs "out")))
  513. (mkdir-p (string-append out "/bin"))
  514. (for-each
  515. (lambda (file)
  516. (copy-file file (string-append out "/bin/" (basename file))))
  517. '("src/xdemos/glxdemo" "src/xdemos/glxgears"
  518. "src/xdemos/glxinfo" "src/xdemos/glxheads"))
  519. #t))))))
  520. (home-page "https://mesa3d.org/")
  521. (synopsis "Utility tools for Mesa")
  522. (description
  523. "The mesa-utils package contains several utility tools for Mesa: glxdemo,
  524. glxgears, glxheads, and glxinfo.")
  525. ;; glxdemo is public domain; others expat.
  526. (license (list license:expat license:public-domain))))
  527. (define-public glew
  528. (package
  529. (name "glew")
  530. (version "2.1.0")
  531. (source (origin
  532. (method url-fetch)
  533. (uri (string-append "mirror://sourceforge/glew/glew/" version
  534. "/glew-" version ".tgz"))
  535. (sha256
  536. (base32
  537. "159wk5dc0ykjbxvag5i1m2mhp23zkk6ra04l26y3jc3nwvkr3ph4"))
  538. (modules '((guix build utils)))
  539. (snippet
  540. '(begin
  541. (substitute* "config/Makefile.linux"
  542. (("= cc") "= gcc")
  543. (("/lib64") "/lib"))
  544. #t))))
  545. (build-system gnu-build-system)
  546. (arguments
  547. '(#:phases (modify-phases %standard-phases (delete 'configure))
  548. #:make-flags (list (string-append "GLEW_PREFIX="
  549. (assoc-ref %outputs "out"))
  550. (string-append "GLEW_DEST="
  551. (assoc-ref %outputs "out")))
  552. #:tests? #f)) ;no 'check' target
  553. (inputs
  554. `(("libxi" ,libxi)
  555. ("libxmu" ,libxmu)
  556. ("libx11" ,libx11)
  557. ("mesa" ,mesa)))
  558. ;; <GL/glew.h> includes <GL/glu.h>.
  559. (propagated-inputs `(("glu" ,glu)))
  560. (home-page "http://glew.sourceforge.net/")
  561. (synopsis "OpenGL extension loading library for C and C++")
  562. (description
  563. "The OpenGL Extension Wrangler Library (GLEW) is a C/C++ extension
  564. loading library. GLEW provides efficient run-time mechanisms for determining
  565. which OpenGL extensions are supported on the target platform. OpenGL core and
  566. extension functionality is exposed in a single header file.")
  567. (license license:bsd-3)))
  568. (define-public guile-opengl
  569. (package
  570. (name "guile-opengl")
  571. (version "0.1.0")
  572. (source (origin
  573. (method url-fetch)
  574. (uri (string-append "mirror://gnu/guile-opengl/guile-opengl-"
  575. version ".tar.gz"))
  576. (sha256
  577. (base32
  578. "13qfx4xh8baryxqrv986l848ygd0piqwm6s2s90pxk9c0m9vklim"))))
  579. (build-system gnu-build-system)
  580. (native-inputs `(("pkg-config" ,pkg-config)))
  581. (inputs `(("guile" ,guile-2.2)
  582. ("mesa" ,mesa)
  583. ("glu" ,glu)
  584. ("freeglut" ,freeglut)))
  585. (arguments
  586. '(#:phases (modify-phases %standard-phases
  587. (add-after 'configure 'patch-makefile
  588. (lambda _
  589. ;; Install compiled Guile files in the expected place.
  590. (substitute* '("Makefile")
  591. (("^godir = .*$")
  592. "godir = $(moddir)\n"))))
  593. (add-before 'build 'patch-dynamic-link
  594. (lambda* (#:key inputs outputs #:allow-other-keys)
  595. (define (dynamic-link-substitute file lib input)
  596. (substitute* file
  597. (("dynamic-link \"lib([a-zA-Z]+)\"" _ lib)
  598. (string-append "dynamic-link \""
  599. (assoc-ref inputs input)
  600. "/lib/lib" lib "\""))))
  601. ;; Replace dynamic-link calls for libGL, libGLU, and
  602. ;; libglut with absolute paths to the store.
  603. (dynamic-link-substitute "glx/runtime.scm" "GL" "mesa")
  604. (dynamic-link-substitute "glu/runtime.scm" "GLU" "glu")
  605. (dynamic-link-substitute "glut/runtime.scm" "glut"
  606. "freeglut"))))))
  607. (home-page "https://gnu.org/s/guile-opengl")
  608. (synopsis "Guile binding for the OpenGL graphics API")
  609. (description
  610. "Guile-OpenGL is a library for Guile that provides bindings to the
  611. OpenGL graphics API.")
  612. (license license:lgpl3+)))
  613. (define-public guile3.0-opengl
  614. (package
  615. (inherit guile-opengl)
  616. (name "guile3.0-opengl")
  617. (arguments
  618. (substitute-keyword-arguments (package-arguments guile-opengl)
  619. ((#:phases phases)
  620. `(modify-phases ,phases
  621. (add-after 'unpack 'build-with-guile-3.0
  622. (lambda _
  623. (substitute* "configure"
  624. (("_guile_versions_to_search=\"")
  625. "_guile_versions_to_search=\"3.0 "))
  626. #t))))))
  627. (inputs
  628. `(("guile" ,guile-3.0)
  629. ("mesa" ,mesa)
  630. ("glu" ,glu)
  631. ("freeglut" ,freeglut)))))
  632. (define-public libepoxy
  633. (package
  634. (name "libepoxy")
  635. (version "1.5.4")
  636. (source (origin
  637. (method url-fetch)
  638. (uri (string-append
  639. "https://github.com/anholt/libepoxy/releases/download/"
  640. version "/libepoxy-" version ".tar.xz"))
  641. (sha256
  642. (base32
  643. "1ll9fach4v30dsyd47s5ial4gaiwihzr2afb77vxxzzy3mlcrlhb"))))
  644. (arguments
  645. `(#:phases
  646. (modify-phases %standard-phases
  647. (delete 'bootstrap)
  648. (add-before
  649. 'configure 'patch-paths
  650. (lambda* (#:key inputs #:allow-other-keys)
  651. (let ((python (assoc-ref inputs "python"))
  652. (mesa (assoc-ref inputs "mesa")))
  653. (substitute* "src/gen_dispatch.py"
  654. (("/usr/bin/env python") python))
  655. (substitute* (find-files "." "\\.[ch]$")
  656. (("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
  657. (("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))
  658. #t))))))
  659. (build-system meson-build-system)
  660. (native-inputs
  661. `(("pkg-config" ,pkg-config)
  662. ("python" ,python)))
  663. (inputs
  664. `(("mesa" ,mesa)))
  665. (home-page "https://github.com/anholt/libepoxy/")
  666. (synopsis "A library for handling OpenGL function pointer management")
  667. (description
  668. "A library for handling OpenGL function pointer management.")
  669. (license license:x11)))
  670. (define-public libglvnd
  671. (package
  672. (name "libglvnd")
  673. (version "1.3.2")
  674. (home-page "https://gitlab.freedesktop.org/glvnd/libglvnd")
  675. (source (origin
  676. (method git-fetch)
  677. (uri (git-reference
  678. (url home-page)
  679. (commit (string-append "v" version))))
  680. (file-name (git-file-name name version))
  681. (sha256
  682. (base32
  683. "10x7fgb114r4gikdg6flszl3kwzcb9y5qa7sj9936mk0zxhjaylz"))))
  684. (build-system meson-build-system)
  685. (arguments
  686. '(#:configure-flags '("-Dx11=enabled")
  687. #:phases (modify-phases %standard-phases
  688. (add-after 'unpack 'disable-glx-tests
  689. (lambda _
  690. ;; This package is meant to be used alongside Mesa.
  691. ;; To avoid a circular dependency, disable tests that
  692. ;; require a running Xorg server.
  693. (substitute* "tests/meson.build"
  694. (("if with_glx")
  695. "if false"))
  696. #t)))))
  697. (native-inputs
  698. `(("pkg-config" ,pkg-config)))
  699. (inputs
  700. `(("libx11" ,libx11)
  701. ("libxext" ,libxext)
  702. ("xorgproto" ,xorgproto)))
  703. (synopsis "Vendor-neutral OpenGL dispatch library")
  704. (description
  705. "libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL
  706. API calls between multiple vendors. It allows multiple drivers from
  707. different vendors to coexist on the same filesystem, and determines which
  708. vendor to dispatch each API call to at runtime.
  709. Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.")
  710. ;; libglvnd is available under a custom X11-style license, and incorporates
  711. ;; code with various other licenses. See README.md for details.
  712. (license (list (license:x11-style "file://README.md")
  713. license:x11
  714. license:expat))))
  715. (define-public soil
  716. (package
  717. (name "soil")
  718. (version "1.0.7")
  719. (source (origin
  720. (method url-fetch)
  721. ;; No versioned archive available.
  722. (uri "http://www.lonesock.net/files/soil.zip")
  723. (sha256
  724. (base32
  725. "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52"))))
  726. (build-system gnu-build-system)
  727. (arguments
  728. '(#:tests? #f ; no tests
  729. #:phases (modify-phases %standard-phases
  730. (delete 'configure)
  731. (add-before 'build 'init-build
  732. (lambda* (#:key outputs #:allow-other-keys)
  733. (let ((out (assoc-ref outputs "out")))
  734. (setenv "CFLAGS" "-fPIC") ; needed for shared library
  735. ;; Use alternate Makefile
  736. (copy-file "projects/makefile/alternate Makefile.txt"
  737. "src/Makefile")
  738. (chdir "src")
  739. (substitute* '("Makefile")
  740. (("INCLUDEDIR = /usr/include/SOIL")
  741. (string-append "INCLUDEDIR = " out "/include/SOIL"))
  742. (("LIBDIR = /usr/lib")
  743. (string-append "LIBDIR = " out "/lib"))
  744. ;; Remove these flags from 'install' commands.
  745. (("-o root -g root") ""))))))))
  746. (native-inputs
  747. `(("unzip" ,unzip)))
  748. (inputs
  749. `(("mesa" ,mesa)))
  750. (home-page "https://www.lonesock.net/soil.html")
  751. (synopsis "OpenGL texture loading library")
  752. (description
  753. "SOIL is a tiny C library used primarily for uploading textures into
  754. OpenGL.")
  755. (license license:public-domain)))
  756. (define-public glfw
  757. (package
  758. (name "glfw")
  759. (version "3.2.1")
  760. (source (origin
  761. (method url-fetch)
  762. (uri (string-append "https://github.com/glfw/glfw"
  763. "/releases/download/" version
  764. "/glfw-" version ".zip"))
  765. (sha256
  766. (base32
  767. "09kk5yc1zhss9add8ryqrngrr16hdmc94rszgng135bhw09mxmdp"))))
  768. (build-system cmake-build-system)
  769. (arguments
  770. '(#:tests? #f ; no test target
  771. #:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
  772. (native-inputs
  773. `(("doxygen" ,doxygen)
  774. ("unzip" ,unzip)))
  775. (propagated-inputs
  776. `(("mesa" ,mesa) ;included in public headers
  777. ;; These are in 'Requires.private' of 'glfw3.pc'.
  778. ("libx11" ,libx11)
  779. ("libxrandr" ,libxrandr)
  780. ("libxinerama" ,libxinerama)
  781. ("libxcursor" ,libxcursor)
  782. ("libxxf86vm" ,libxxf86vm)))
  783. (home-page "https://www.glfw.org")
  784. (synopsis "OpenGL application development library")
  785. (description
  786. "GLFW is a library for OpenGL, OpenGL ES and Vulkan development for
  787. desktop computers. It provides a simple API for creating windows, contexts
  788. and surfaces, receiving input and events.")
  789. (license license:zlib)))
  790. (define-public nanovg-for-extempore
  791. (let ((version "0.7.1")
  792. (revision "0")
  793. (commit "3c60175fcc2e5fe305b04355cdce35d499c80310"))
  794. (package
  795. (name "nanovg-for-extempore")
  796. (version (git-version version revision commit))
  797. (source (origin
  798. (method git-fetch)
  799. (uri (git-reference
  800. (url "https://github.com/extemporelang/nanovg")
  801. (commit commit)))
  802. (file-name (git-file-name name version))
  803. (sha256
  804. (base32
  805. "0ddn3d3mxqn8hj9967v3pss7lz1wn08pcdnqzc118g7yjkq7hxzy"))))
  806. (build-system cmake-build-system)
  807. (arguments `(#:tests? #f)) ; no tests included
  808. (inputs
  809. `(("mesa" ,mesa)))
  810. ;; Extempore refuses to build on architectures other than x86_64
  811. (supported-systems '("x86_64-linux"))
  812. (home-page "https://github.com/extemporelang/nanovg")
  813. (synopsis "2D vector drawing library on top of OpenGL")
  814. (description "NanoVG is small antialiased vector graphics rendering
  815. library for OpenGL. It has lean API modeled after HTML5 canvas API. It is
  816. aimed to be a practical and fun toolset for building scalable user interfaces
  817. and visualizations.")
  818. (license license:zlib))))
  819. (define-public gl2ps
  820. (package
  821. (name "gl2ps")
  822. (version "1.4.2")
  823. (source
  824. (origin
  825. (method url-fetch)
  826. (uri (string-append
  827. "http://geuz.org/gl2ps/src/gl2ps-"
  828. version ".tgz"))
  829. (sha256
  830. (base32 "1sgzv547h7hrskb9qd0x5yp45kmhvibjwj2mfswv95lg070h074d"))))
  831. (build-system cmake-build-system)
  832. (inputs
  833. `(("libpng" ,libpng)
  834. ("mesa" ,mesa)
  835. ("zlib" ,zlib)))
  836. (arguments
  837. `(#:tests? #f)) ; no tests
  838. (home-page "http://www.geuz.org/gl2ps/")
  839. (synopsis "OpenGL to PostScript printing library")
  840. (description "GL2PS is a C library providing high quality vector
  841. output for any OpenGL application. GL2PS uses sorting algorithms
  842. capable of handling intersecting and stretched polygons, as well as
  843. non-manifold objects. GL2PS provides many features including advanced
  844. smooth shading and text rendering, culling of invisible primitives and
  845. mixed vector/bitmap output.")
  846. ;; GL2PS is dual-licenced and can be used under the terms of either.
  847. (license (list license:lgpl2.0+
  848. (license:fsf-free "http://www.geuz.org/gl2ps/COPYING.GL2PS"
  849. "GPL-incompatible copyleft license")))))
  850. (define-public virtualgl
  851. (package
  852. (name "virtualgl")
  853. (version "2.6.2")
  854. (source
  855. (origin
  856. (method git-fetch)
  857. (uri (git-reference
  858. (url "https://github.com/VirtualGL/virtualgl")
  859. (commit version)))
  860. (file-name (git-file-name name version))
  861. (sha256
  862. (base32 "0yyc553xsb5n0rx7jp9p4wdbd7md07b3qrkf3ssyjavqqg908qg9"))))
  863. (arguments
  864. `(#:tests? #f ; no tests are available
  865. #:configure-flags (list
  866. (string-append "-DCMAKE_INSTALL_LIBDIR="
  867. (assoc-ref %outputs "out") "/lib")
  868. "-DVGL_USESSL=1"))) ; use OpenSSL
  869. (build-system cmake-build-system)
  870. (inputs `(("glu" ,glu)
  871. ("libjpeg-turbo" ,libjpeg-turbo)
  872. ("libxtst" ,libxtst)
  873. ("mesa" ,mesa)
  874. ("openssl" ,openssl)))
  875. (native-inputs `(("pkg-config" ,pkg-config)))
  876. (home-page "https://www.virtualgl.org")
  877. (synopsis "Redirects 3D commands from an OpenGL application onto a 3D
  878. graphics card")
  879. (description "VirtualGL redirects the 3D rendering commands from OpenGL
  880. applications to 3D accelerator hardware in a dedicated server and displays the
  881. rendered output interactively to a thin client located elsewhere on the
  882. network.")
  883. (license license:wxwindows3.1+)))
  884. (define-public mojoshader
  885. (let ((changeset "5887634ea695"))
  886. (package
  887. (name "mojoshader")
  888. (version (string-append "20190825" "-" changeset))
  889. (source
  890. (origin
  891. (method hg-fetch)
  892. (uri (hg-reference
  893. (url "https://hg.icculus.org/icculus/mojoshader/")
  894. (changeset changeset)))
  895. (file-name (git-file-name name version))
  896. (sha256
  897. (base32 "0ibl4z1696jiifv9j5drir7jm0b5px0vwkwckbi7cfd46p7p6wcy"))))
  898. (arguments
  899. ;; Tests only for COMPILER_SUPPORT=ON.
  900. `(#:tests? #f
  901. #:configure-flags '("-DBUILD_SHARED=ON"
  902. "-DFLIP_VIEWPORT=ON"
  903. "-DDEPTH_CLIPPING=ON")
  904. #:phases
  905. (modify-phases %standard-phases
  906. (replace 'install
  907. (lambda* (#:key outputs #:allow-other-keys)
  908. (let* ((out (assoc-ref outputs "out"))
  909. (lib (string-append out "/lib"))
  910. (header (string-append out "/include")))
  911. (install-file "libmojoshader.so" lib)
  912. (for-each (lambda (f)
  913. (install-file f header))
  914. (find-files "../source" "mojoshader.*\\.h$"))
  915. (let ((profiles-header (string-append header "/profiles")))
  916. (mkdir-p profiles-header)
  917. (rename-file (string-append header "/mojoshader_profile.h")
  918. (string-append profiles-header "/mojoshader_profile.h"))))
  919. #t)))))
  920. (build-system cmake-build-system)
  921. (home-page "https://www.icculus.org/mojoshader/")
  922. (synopsis "Work with Direct3D shaders on alternate 3D APIs")
  923. (description "MojoShader is a library to work with Direct3D shaders on
  924. alternate 3D APIs and non-Windows platforms. The primary motivation is moving
  925. shaders to OpenGL languages on the fly. The developer deals with \"profiles\"
  926. that represent various target languages, such as GLSL or ARB_*_program.
  927. This allows a developer to manage one set of shaders, presumably written in
  928. Direct3D HLSL, and use them across multiple rendering backends. This also
  929. means that the developer only has to worry about one (offline) compiler to
  930. manage program complexity, while MojoShader itself deals with the reduced
  931. complexity of the bytecode at runtime.
  932. MojoShader provides both a simple API to convert bytecode to various profiles,
  933. and (optionally) basic glue to rendering APIs to abstract the management of
  934. the shaders at runtime.")
  935. (license license:zlib))))
  936. (define-public mojoshader-with-viewport-flip
  937. ;; Changeset c586d4590241 replaced glProgramViewportFlip with
  938. ;; glProgramViewportInfo.
  939. ;; https://hg.icculus.org/icculus/mojoshader/rev/c586d4590241
  940. (let ((changeset "2e37299b13d8"))
  941. (package
  942. (inherit mojoshader)
  943. (name "mojoshader-with-viewport-flip")
  944. (version (string-append "20190725" "-" changeset))
  945. (source
  946. (origin
  947. (method hg-fetch)
  948. (uri (hg-reference
  949. (url "https://hg.icculus.org/icculus/mojoshader/")
  950. (changeset changeset)))
  951. (file-name (git-file-name name version))
  952. (sha256
  953. (base32 "0ffws7cqbskxwc3hjsnnzq4r2bbf008kdr3b11pa3kr7dsi50y6i"))))
  954. (synopsis "Work with Direct3D shaders on alternate 3D APIs (with viewport flip)")
  955. (description "This is the last version of the mojoshader library with
  956. the glProgramViewportFlip before it was replaced with glProgramViewportInfo.")
  957. (license license:zlib))))
  958. (define-public mojoshader-cs
  959. (let ((commit "10d0dba21ff1cfe332eb7de328a2adce01286bd7"))
  960. (package
  961. (name "mojoshader-cs")
  962. (version (git-version "20191205" "1" commit))
  963. (source (origin
  964. (method git-fetch)
  965. (uri (git-reference
  966. (url "https://github.com/FNA-XNA/MojoShader")
  967. (commit commit)))
  968. (file-name (git-file-name name version))
  969. (sha256
  970. (base32
  971. "11mdhf3fmb9rsn2iv753gmb596j4dh5j2iipgw078vg0lj23rml7"))))
  972. (build-system gnu-build-system)
  973. (arguments
  974. '(#:tests? #f ; No tests.
  975. #:phases
  976. (modify-phases %standard-phases
  977. (delete 'configure)
  978. (replace 'build
  979. (lambda _
  980. (invoke "make" "-C" "csharp")))
  981. (replace 'install
  982. (lambda* (#:key outputs #:allow-other-keys)
  983. (let ((out (assoc-ref outputs "out")))
  984. (install-file "csharp/bin/MojoShader-CS.dll" (string-append out "/lib"))
  985. #t))))))
  986. (native-inputs
  987. `(("mono" ,mono)))
  988. (home-page "https://github.com/FNA-XNA/MojoShader")
  989. (synopsis "C# wrapper for MojoShader")
  990. (description
  991. "Mojoshader-CS provides C# bindings for the Mojoshader library.
  992. The C# wrapper was written to be used for FNA's platform support. However, this
  993. is written in a way that can be used for any general C# application.")
  994. (license license:zlib))))