gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2022-06-02 07:02:47 -04:00
|
|
|
|
;;; Copyright © 2013, 2017, 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
|
2016-03-04 18:30:56 -05:00
|
|
|
|
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2020-09-27 18:27:00 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2020 Mark H Weaver <mhw@netris.org>
|
2015-04-27 13:56:00 -04:00
|
|
|
|
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
|
2019-10-27 03:34:29 -04:00
|
|
|
|
;;; Copyright © 2014, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2015-03-05 09:45:01 -05:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2015-11-13 09:09:08 -05:00
|
|
|
|
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
|
2017-03-07 01:59:21 -05:00
|
|
|
|
;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
|
2020-02-29 14:12:43 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2020 Leo Famulari <leo@famulari.name>
|
2022-03-07 15:38:23 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2022-05-28 20:00:02 -04:00
|
|
|
|
;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-05-17 22:23:21 -04:00
|
|
|
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
2022-07-25 15:11:32 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020, 2021, 2022 Arun Isaac <arunisaac@systemreboot.net>
|
2017-08-27 22:27:56 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
|
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>
2020-05-11 07:05:45 -04:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2020-02-28 15:39:50 -05:00
|
|
|
|
;;; Copyright © 2017,2019,2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-07-30 04:56:38 -04:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2018-02-17 17:10:29 -05:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2018-05-12 06:11:29 -04:00
|
|
|
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
Update email for Pierre Neidhardt.
* .mailmap: Add name and email for Pierre Neidhardt.
* gnu/packages/c.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/disk.scm, gnu/packages/emacs.scm, gnu/packages/freedesktop.scm,
gnu/packages/golang.scm, gnu/packages/image.scm, gnu/packages/music.scm,
gnu/packages/networking.scm, gnu/packages/password-utils.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/textutils.scm, gnu/packages/video.scm, gnu/packages/xdisorg.scm:
Update email for Pierre Neidhardt.
2018-08-27 08:46:26 -04:00
|
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
2022-08-09 17:13:45 -04:00
|
|
|
|
;;; Copyright © 2018-2020, 2022 Marius Bakke <marius@gnu.org>
|
2018-10-25 06:28:16 -04:00
|
|
|
|
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
|
2018-11-11 12:55:05 -05:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2018-12-20 02:56:49 -05:00
|
|
|
|
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
2020-02-16 16:21:32 -05:00
|
|
|
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
2020-04-04 13:33:25 -04:00
|
|
|
|
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
|
2020-01-28 01:21:24 -05:00
|
|
|
|
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2020-10-10 11:05:24 -04:00
|
|
|
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
2020-11-14 11:43:27 -05:00
|
|
|
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
2021-02-19 21:53:54 -05:00
|
|
|
|
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
2021-02-12 07:16:31 -05:00
|
|
|
|
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2021-01-20 11:56:04 -05:00
|
|
|
|
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
2021-09-25 05:44:11 -04:00
|
|
|
|
;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
|
2022-02-08 21:09:59 -05:00
|
|
|
|
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
2022-08-07 07:29:03 -04:00
|
|
|
|
;;; Copyright © 2022 ( <paren@disroot.org>
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages image)
|
|
|
|
|
#:use-module (gnu packages)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-11-25 14:15:17 -05:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2015-03-21 14:41:54 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2020-04-04 13:33:25 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2022-07-25 15:13:05 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2022-08-13 08:28:50 -04:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
gnu: Move testing packages from python.scm to check.scm.
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api,
python-mock, python2-mock, python-mock-2, python-nose, python2-nose,
python-nose2, python2-nose2, python-unittest2, python2-unittest2,
python-pytest, python2-pytest, python-pytest-3.0, python2-pytest-3.0,
python-pytest-cov, python2-pytest-cov, python-pytest-runner,
python2-pytest-runner, python-pytest-mock, python2-pytest-mock,
python-pytest-xdist, python2-pytest-xdist, python-scripttest,
python2-scripttest, python-testtools, python2-testtools, python-testscenarios,
python2-testscenarios, python-testresources, python2-testresources,
python-subunit, python2-subunit, python-fixtures, python2-fixtures,
python-testrepository, python2-testrepository, python-coverage,
python2-coverage, python-cov-core, python2-cov-core, python-testpath,
python2-testpath, python-testlib, python2-testlib, python-pytest-cache,
python2-pytest-cache, python-pytest-localserver, python-pytest-xprocess,
python-pytest-subtesthack, python2-pytest-subtesthack, python-hypothesis,
python2-hypothesis, python-lit, python2-lit, python-pytest-pep8,
python2-pytest-pep8, python-pytest-flakes, python2-pytest-flakes,
python2-coverage-test-runner, python-pylint, python2-pylint,
python-paramunittest, python2-python-paramunittest, python-pytest-warnings,
python2-pytest-warnings, python-pytest-capturelog, python2-pytest-capturelog,
python-pytest-catchlog, python2-pytest-catchlog, python-nosexcover,
python2-nosexcover, python-discover, python2-discover, behave, python-rednose,
python2-rednose, python-nose-randomly, python2-nose-randomly,
python-nose-timer, python2-nose-timer): Move from here...
* gnu/packages/check.scm: ...to here.
* gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/backup.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm,
gnu/packages/dav.scm,
gnu/packages/django.scm,
gnu/packages/freedesktop.scm,
gnu/packages/haskell.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/ldc.scm,
gnu/packages/libffi.scm,
gnu/packages/mail.scm,
gnu/packages/mpd.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm: Adjust accordingly.
2017-11-17 15:42:23 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2020-01-17 13:18:04 -05:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2021-12-26 19:28:41 -05:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2018-10-25 06:28:16 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-12 20:18:15 -04:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2014-09-09 05:48:44 -04:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2018-12-20 02:56:49 -05:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2016-05-17 22:23:21 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2020-05-01 06:21:55 -04:00
|
|
|
|
#:use-module (gnu packages gimp)
|
2015-03-21 14:40:21 -04:00
|
|
|
|
#:use-module (gnu packages gl)
|
2016-12-02 04:24:40 -05:00
|
|
|
|
#:use-module (gnu packages glib)
|
2020-05-01 06:21:55 -04:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2015-09-04 15:19:51 -04:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2017-07-30 04:56:38 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2018-12-20 02:56:49 -05:00
|
|
|
|
#:use-module (gnu packages man)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages maths)
|
2016-05-17 22:23:21 -04:00
|
|
|
|
#:use-module (gnu packages mcrypt)
|
2019-11-24 09:13:56 -05:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2019-12-03 04:02:34 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
2018-04-13 02:45:55 -04:00
|
|
|
|
#:use-module (gnu packages photo)
|
2022-06-14 15:20:28 -04:00
|
|
|
|
#:use-module (gnu packages popt)
|
2014-09-09 05:48:44 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-03-13 05:33:42 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2020-02-28 15:39:50 -05:00
|
|
|
|
#:use-module (gnu packages qt)
|
2021-01-01 12:18:55 -05:00
|
|
|
|
#:use-module (gnu packages ragel)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 16:56:54 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2020-05-01 06:21:55 -04:00
|
|
|
|
#:use-module (gnu packages swig)
|
2020-01-28 01:21:24 -05:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2020-02-29 14:12:43 -05:00
|
|
|
|
#:use-module (gnu packages video)
|
2020-02-28 15:39:50 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2020-11-19 18:32:45 -05:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2014-09-09 05:48:44 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2014-09-25 04:27:25 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2021-09-25 09:04:50 -04:00
|
|
|
|
#:use-module (gnu packages fonts)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 16:44:22 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
#:use-module (guix packages)
|
2022-08-09 17:13:45 -04:00
|
|
|
|
#:use-module (guix gexp)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
#:use-module (guix download)
|
2016-09-14 05:22:46 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2020-01-08 15:35:21 -05:00
|
|
|
|
#:use-module (guix utils)
|
2014-09-15 01:56:22 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2014-09-29 15:46:12 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-06-15 17:20:24 -04:00
|
|
|
|
#:use-module (guix build-system copy)
|
2018-12-20 02:56:49 -05:00
|
|
|
|
#:use-module (guix build-system meson)
|
2017-07-30 04:56:38 -04:00
|
|
|
|
#:use-module (guix build-system python)
|
2020-11-14 11:43:27 -05:00
|
|
|
|
#:use-module (guix build-system qt)
|
2017-08-31 07:37:21 -04:00
|
|
|
|
#:use-module (guix build-system scons)
|
2020-01-17 13:27:36 -05:00
|
|
|
|
#:use-module (guix deprecation)
|
2014-09-29 15:46:12 -04:00
|
|
|
|
#:use-module (srfi srfi-1))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
|
2020-07-03 12:08:33 -04:00
|
|
|
|
(define-public iqa
|
|
|
|
|
(package
|
|
|
|
|
(name "iqa")
|
|
|
|
|
(version "1.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2021-04-07 16:42:28 -04:00
|
|
|
|
(string-append "mirror://sourceforge/iqa/"
|
|
|
|
|
version " Release" "/iqa_" version "_src.tar.gz"))
|
2020-07-03 12:08:33 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00mgwy031ammab6bwmd1whhvqv3fxy1cs1igabq0n3ag12zhjs77"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(install-file "build/debug/libiqa.a" lib)
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Image Quality Assessment")
|
|
|
|
|
(description "IQA is a C library for objectively measuring image/video
|
|
|
|
|
quality. It implements many popular algorithms, such as MS-SSIM, MS-SSIM*,
|
|
|
|
|
SIMM, MSE, and PSNR. It is designed to be fast, accurate, and reliable. All
|
|
|
|
|
code is Valgrind-clean and unit tested.")
|
|
|
|
|
(home-page "https://sourceforge.net/projects/iqa/")
|
|
|
|
|
(license license:bsd-4)))
|
|
|
|
|
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(define-public libpng
|
|
|
|
|
(package
|
|
|
|
|
(name "libpng")
|
2020-09-27 18:27:00 -04:00
|
|
|
|
(version "1.6.37") ; Remember to also update libpng-apng if possible!
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-09-11 12:14:42 -04:00
|
|
|
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
2015-11-18 17:47:17 -05:00
|
|
|
|
version "/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
2017-02-20 02:03:04 -05:00
|
|
|
|
"/libpng16/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
|
|
|
|
|
"/libpng16/libpng-" version ".tar.xz")))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(sha256
|
2017-04-06 23:19:11 -04:00
|
|
|
|
(base32
|
2019-05-01 16:39:23 -04:00
|
|
|
|
"1jl8in381z0128vgxnvn33nln6hzckl7l7j9nqvkaf1m9n1p0pjh"))))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2019-05-04 10:23:57 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-static")))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
|
|
|
|
|
;; libpng.la says "-lz", so propagate it.
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(propagated-inputs (list zlib))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
|
|
|
|
|
(synopsis "Library for handling PNG files")
|
|
|
|
|
(description
|
|
|
|
|
"Libpng is the official PNG (Portable Network Graphics) reference
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
library. It supports almost all PNG features and is extensible.")
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(license license:zlib)
|
|
|
|
|
(home-page "http://www.libpng.org/pub/png/libpng.html")))
|
|
|
|
|
|
2017-08-01 11:37:28 -04:00
|
|
|
|
;; libpng-apng should be updated when the APNG patch is released:
|
|
|
|
|
;; <https://bugs.gnu.org/27556>
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(define-public libpng-apng
|
|
|
|
|
(package
|
|
|
|
|
(name "libpng-apng")
|
2020-09-27 18:27:00 -04:00
|
|
|
|
(version "1.6.37")
|
2017-08-01 11:37:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
|
|
|
|
version "/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
|
|
|
|
"/libpng16/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
|
|
|
|
|
"/libpng16/libpng-" version ".tar.xz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-27 18:27:00 -04:00
|
|
|
|
"1jl8in381z0128vgxnvn33nln6hzckl7l7j9nqvkaf1m9n1p0pjh"))))
|
2017-08-01 11:37:28 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(arguments
|
2017-08-02 11:16:30 -04:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-apng
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(define (apply-patch file)
|
2018-06-27 20:42:35 -04:00
|
|
|
|
(invoke "patch" "-p1" "--force"
|
|
|
|
|
"--input" file))
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(let ((apng.gz (assoc-ref inputs "apng")))
|
|
|
|
|
(format #t "Applying APNG patch '~a'...~%"
|
|
|
|
|
apng.gz)
|
2018-06-27 20:42:35 -04:00
|
|
|
|
(invoke "sh" "-c"
|
|
|
|
|
(string-append "gunzip < " apng.gz " > the-patch"))
|
|
|
|
|
(apply-patch "the-patch")
|
|
|
|
|
#t)))
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(add-before 'configure 'no-checks
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("^scripts/symbols.chk") "")
|
|
|
|
|
(("check: scripts/symbols.chk") ""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("apng" ,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/libpng-apng/libpng16/"
|
|
|
|
|
version "/libpng-" version "-apng.patch.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-27 18:27:00 -04:00
|
|
|
|
"1dh0250mw9b2hx7cdmnb2blk7ddl49n6vx8zz7jdmiwxy38v4fw2"))))))
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libtool))
|
2017-08-01 11:37:28 -04:00
|
|
|
|
;; libpng.la says "-lz", so propagate it.
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list zlib))
|
2017-01-10 15:49:30 -05:00
|
|
|
|
(synopsis "APNG patch for libpng")
|
|
|
|
|
(description
|
|
|
|
|
"APNG (Animated Portable Network Graphics) is an unofficial
|
|
|
|
|
extension of the APNG (Portable Network Graphics) format.
|
|
|
|
|
APNG patch provides APNG support to libpng.")
|
2017-08-01 11:37:28 -04:00
|
|
|
|
(home-page "https://sourceforge.net/projects/libpng-apng/")
|
|
|
|
|
(license license:zlib)))
|
2017-01-10 15:49:30 -05:00
|
|
|
|
|
2017-11-25 14:51:11 -05:00
|
|
|
|
(define-public pngcrush
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(package
|
2017-11-25 14:51:11 -05:00
|
|
|
|
(name "pngcrush")
|
|
|
|
|
(version "1.8.13")
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/pmt/pngcrush/"
|
2017-11-25 14:51:11 -05:00
|
|
|
|
version "/pngcrush-" version "-nolib.tar.xz"))
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(sha256 (base32
|
2017-11-25 14:51:11 -05:00
|
|
|
|
"0l43c59d6v9l0g07z3q3ywhb8xb3vz74llv3mna0izk9bj6aqkiv"))))
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-11-25 14:51:11 -05:00
|
|
|
|
'(#:tests? #f ; no check target
|
2017-05-07 13:23:56 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-11-25 14:51:11 -05:00
|
|
|
|
(substitute* "Makefile"
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(("^(PNG(INC|LIB) = )/usr/local/" line vardef)
|
|
|
|
|
(string-append vardef (assoc-ref inputs "libpng") "/"))
|
|
|
|
|
(("^(Z(INC|LIB) = )/usr/local/" line vardef)
|
|
|
|
|
(string-append vardef (assoc-ref inputs "zlib") "/"))
|
|
|
|
|
;; The Makefile is written by hand and not using $PREFIX
|
|
|
|
|
(("\\$\\(DESTDIR\\)/usr/")
|
2018-06-27 20:42:35 -04:00
|
|
|
|
(string-append (assoc-ref outputs "out") "/")))
|
|
|
|
|
#t)))))
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng zlib))
|
2017-11-25 14:51:11 -05:00
|
|
|
|
(home-page "https://pmt.sourceforge.io/pngcrush")
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(synopsis "Utility to compress PNG files")
|
2019-07-12 17:41:09 -04:00
|
|
|
|
(description "Pngcrush optimizes @acronym{PNG, Portable Network Graphics}
|
|
|
|
|
images. It can further losslessly compress them by as much as 40%.")
|
2017-05-07 13:23:56 -04:00
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2018-11-11 12:55:05 -05:00
|
|
|
|
(define-public pnglite
|
|
|
|
|
(let ((commit "11695c56f7d7db806920bd9229b69f230e6ffb38")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "pnglite")
|
|
|
|
|
;; The project was moved from sourceforge to github.
|
|
|
|
|
;; The latest version in sourceforge was 0.1.17:
|
|
|
|
|
;; https://sourceforge.net/projects/pnglite/files/pnglite/
|
|
|
|
|
;; No releases are made in github.
|
|
|
|
|
(version (git-version "0.1.17" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dankar/pnglite")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1lmmkdxby5b8z9kx3zrpgpk33njpcf2xx8z9bgqag855sjsqbbby"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
;; common build flags for building shared libraries
|
|
|
|
|
(let ((cflags '("-O2" "-g" "-fPIC"))
|
|
|
|
|
(ldflags '("-shared")))
|
|
|
|
|
(apply invoke
|
|
|
|
|
`("gcc"
|
|
|
|
|
"-o" "libpnglite.so"
|
|
|
|
|
,@cflags
|
|
|
|
|
,@ldflags
|
|
|
|
|
"pnglite.c"))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib/"))
|
|
|
|
|
(include (string-append out "/include/"))
|
|
|
|
|
(doc (string-append out "/share/doc/"
|
|
|
|
|
,name "-" ,version "/")))
|
|
|
|
|
(install-file "libpnglite.so" lib)
|
|
|
|
|
(install-file "pnglite.h" include)
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list zlib))
|
2018-11-11 12:55:05 -05:00
|
|
|
|
(home-page "https://github.com/dankar/pnglite")
|
|
|
|
|
(synopsis "Pretty small png library")
|
|
|
|
|
(description "A pretty small png library.
|
|
|
|
|
Currently all documentation resides in @file{pnglite.h}.")
|
|
|
|
|
(license license:zlib))))
|
|
|
|
|
|
2019-07-11 16:20:18 -04:00
|
|
|
|
(define-public libimagequant
|
|
|
|
|
(package
|
|
|
|
|
(name "libimagequant")
|
2020-09-15 18:29:01 -04:00
|
|
|
|
(version "2.12.6")
|
2019-07-11 16:20:18 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ImageOptim/libimagequant")
|
2019-07-11 16:20:18 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-09-15 18:29:01 -04:00
|
|
|
|
(base32 "00w7fny3xf14cfyhbdnmqyh9ddqdh1irvgzxd35a2z65kp7vnvj0"))))
|
2019-07-11 16:20:18 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-12-03 19:44:45 -05:00
|
|
|
|
'(#:tests? #f)) ; no check target
|
2019-07-11 16:20:18 -04:00
|
|
|
|
(home-page "https://pngquant.org/lib/")
|
|
|
|
|
(synopsis "Image palette quantization library")
|
|
|
|
|
(description "libimagequant is a small, portable C library for
|
|
|
|
|
high-quality conversion of RGBA images to 8-bit indexed-color (palette)
|
|
|
|
|
images. This library can significantly reduces file sizes and powers pngquant
|
|
|
|
|
and other PNG optimizers.")
|
2019-12-03 19:44:45 -05:00
|
|
|
|
(license license:gpl3+)))
|
2019-07-11 16:20:18 -04:00
|
|
|
|
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(define-public pngquant
|
|
|
|
|
(package
|
|
|
|
|
(name "pngquant")
|
2020-01-20 17:51:08 -05:00
|
|
|
|
(version "2.12.6")
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/kornelski/pngquant")
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-01-20 17:51:08 -05:00
|
|
|
|
(base32 "15hanshahxqs6s9fyc3aym02251dcys7bf78g3inp0y233amdbl3"))))
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("--with-openmp" "--with-lcms2")))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng zlib lcms libimagequant))
|
2019-07-11 16:20:45 -04:00
|
|
|
|
(home-page "https://pngquant.org/")
|
|
|
|
|
(synopsis "Utility and library for lossy compressing PNG images")
|
|
|
|
|
(description "pngquant is a PNG compressor that significantly reduces file
|
|
|
|
|
sizes by converting images to a more efficient 8-bit PNG format with alpha
|
|
|
|
|
channel (often 60-80% smaller than 24/32-bit PNG files). Compressed images
|
|
|
|
|
are fully standards-compliant and are supported by all web browsers and
|
|
|
|
|
operating systems.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item High-quality palette generation using a combination of vector
|
|
|
|
|
quantization algorithms.
|
|
|
|
|
@item Unique adaptive dithering algorithm that adds less noise to images
|
|
|
|
|
than the standard Floyd-Steinberg.
|
|
|
|
|
@item Easy to integrate with shell scripts, GUIs and server-side software.
|
|
|
|
|
@item Fast mode for real-time processing/large numbers of images.
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-01-17 13:27:36 -05:00
|
|
|
|
(define-public ijg-libjpeg
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "libjpeg")
|
2020-08-03 16:16:53 -04:00
|
|
|
|
(version "9d")
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-02-12 11:28:18 -05:00
|
|
|
|
(uri (string-append "https://www.ijg.org/files/jpegsrc.v"
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
2020-08-03 16:16:53 -04:00
|
|
|
|
"0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr"))))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
(synopsis "Library for handling JPEG files")
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(description
|
|
|
|
|
"Libjpeg implements JPEG image encoding, decoding, and transcoding.
|
|
|
|
|
JPEG is a standardized compression method for full-color and gray-scale
|
|
|
|
|
images.
|
2018-09-02 17:49:51 -04:00
|
|
|
|
It also includes programs that provide conversion between the JPEG format and
|
|
|
|
|
image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats, as well as
|
|
|
|
|
lossless JPEG manipulations such as rotation, scaling or cropping:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item cjpeg
|
|
|
|
|
@item djpeg
|
|
|
|
|
@item jpegtran
|
|
|
|
|
@item rdjpgcom
|
|
|
|
|
@item wrjpgcom
|
|
|
|
|
@end enumerate")
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(license license:ijg)
|
2019-02-12 11:28:18 -05:00
|
|
|
|
(home-page "https://www.ijg.org/")))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
|
2016-11-03 13:36:02 -04:00
|
|
|
|
(define-public libjxr
|
|
|
|
|
(package
|
|
|
|
|
(name "libjxr")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
;; We are using the Debian source because CodePlex does not
|
|
|
|
|
;; deliver an easily downloadable tarball.
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://debian/pool/main/j/jxrlib/jxrlib_"
|
|
|
|
|
version ".orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00w3f3cmjsm3fiaxq5mxskmp5rl3mki8psrf9y8s1vqbg237na67"))
|
|
|
|
|
(patch-flags '("-p1" "--binary"))
|
|
|
|
|
(patches (search-patches "libjxr-fix-function-signature.patch"
|
|
|
|
|
"libjxr-fix-typos.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2019-01-07 19:32:02 -05:00
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target))
|
2019-01-07 19:32:02 -05:00
|
|
|
|
;; A substitute* procedure call would be enough to add the -fPIC
|
|
|
|
|
;; flag if there was no file decoding error.
|
|
|
|
|
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
|
|
|
|
|
;; terminators" according to the file(1) utility.
|
|
|
|
|
(string-append "CFLAGS=-I. -Icommon/include -Iimage/sys -fPIC "
|
|
|
|
|
"-D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O "))
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-after 'build 'build-shared-library
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The Makefile uses optimization level 1, so the same
|
|
|
|
|
;; level is used here for consistency.
|
|
|
|
|
(invoke "gcc" "-shared" "-fPIC" "-O"
|
|
|
|
|
;; Common files.
|
|
|
|
|
"adapthuff.o" "image.o" "strcodec.o" "strPredQuant.o"
|
|
|
|
|
"strTransform.o" "perfTimerANSI.o"
|
|
|
|
|
;; Decoding files.
|
|
|
|
|
"decode.o" "postprocess.o" "segdec.o" "strdec.o"
|
|
|
|
|
"strInvTransform.o" "strPredQuantDec.o" "JXRTranscode.o"
|
|
|
|
|
;; Encoding files.
|
|
|
|
|
"encode.o" "segenc.o" "strenc.o" "strFwdTransform.o"
|
|
|
|
|
"strPredQuantEnc.o"
|
|
|
|
|
"-o" "libjpegxr.so")
|
|
|
|
|
(invoke "gcc" "-shared" "-fPIC" "-O"
|
|
|
|
|
;; Glue files.
|
|
|
|
|
"JXRGlue.o" "JXRMeta.o" "JXRGluePFC.o" "JXRGlueJxr.o"
|
|
|
|
|
;; Test files.
|
|
|
|
|
"JXRTest.o" "JXRTestBmp.o" "JXRTestHdr.o" "JXRTestPnm.o"
|
|
|
|
|
"JXRTestTif.o" "JXRTestYUV.o"
|
|
|
|
|
"-o" "libjxrglue.so")))
|
|
|
|
|
;; The upstream makefile does not include an install phase.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include/jxrlib")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file include)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(append
|
|
|
|
|
'("jxrgluelib/JXRGlue.h"
|
|
|
|
|
"jxrgluelib/JXRMeta.h"
|
|
|
|
|
"jxrtestlib/JXRTest.h"
|
|
|
|
|
"image/sys/windowsmediaphoto.h")
|
|
|
|
|
(find-files "common/include" "\\.h$")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file lib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files "." "\\.(a|so)$"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file bin)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
'("JxrDecApp" "JxrEncApp")))
|
|
|
|
|
#t)))))
|
2016-11-03 13:36:02 -04:00
|
|
|
|
(synopsis "Implementation of the JPEG XR standard")
|
|
|
|
|
(description "JPEG XR is an approved ISO/IEC International standard (its
|
|
|
|
|
official designation is ISO/IEC 29199-2). This library is an implementation of that standard.")
|
|
|
|
|
(license
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"file://Makefile"
|
|
|
|
|
"See the header of the Makefile in the distribution."))
|
|
|
|
|
(home-page "https://jxrlib.codeplex.com/")))
|
|
|
|
|
|
2015-11-13 09:09:08 -05:00
|
|
|
|
(define-public jpegoptim
|
|
|
|
|
(package
|
|
|
|
|
(name "jpegoptim")
|
2022-05-28 20:00:02 -04:00
|
|
|
|
(version "1.4.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tjko/jpegoptim")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "06f6d08xvmsiki4mc1qs985gsjqmsxx793a93b72y25q84wbg9x9"))))
|
2015-11-13 09:09:08 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2022-05-28 20:00:01 -04:00
|
|
|
|
(inputs (list libjpeg-turbo))
|
2015-11-13 09:09:08 -05:00
|
|
|
|
(arguments
|
2018-08-11 12:37:28 -04:00
|
|
|
|
'(#:tests? #f)) ; no tests
|
2015-11-13 09:09:08 -05:00
|
|
|
|
(synopsis "Optimize JPEG images")
|
|
|
|
|
(description
|
|
|
|
|
"jpegoptim provides lossless optimization (based on optimizing
|
|
|
|
|
the Huffman tables) and \"lossy\" optimization based on setting
|
|
|
|
|
maximum quality factor.")
|
|
|
|
|
(license license:gpl2+)
|
2018-04-04 23:35:11 -04:00
|
|
|
|
(home-page "https://www.kokkonen.net/tjko/projects.html#jpegoptim")))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
|
2016-09-02 15:53:56 -04:00
|
|
|
|
(define-public libicns
|
|
|
|
|
(package
|
|
|
|
|
(name "libicns")
|
|
|
|
|
(version "0.8.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/icns/"
|
|
|
|
|
"libicns-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng jasper))
|
2022-03-04 08:01:12 -05:00
|
|
|
|
(home-page "https://icns.sourceforge.io/")
|
2016-09-02 15:53:56 -04:00
|
|
|
|
(synopsis "Library for handling Mac OS icns resource files")
|
|
|
|
|
(description
|
|
|
|
|
"Libicns is a library for the manipulation of Mac OS IconFamily resource
|
|
|
|
|
type files (ICNS). @command{icns2png} and @command{png2icns} are provided to
|
|
|
|
|
convert between PNG and ICNS. @command{icns2png} will extract image files from
|
|
|
|
|
ICNS files under names like \"Foo_48x48x32.png\" useful for installing for use
|
|
|
|
|
with .desktop files. Additionally, @command{icontainer2png} is provided for
|
|
|
|
|
extracting icontainer icon files.")
|
|
|
|
|
(license (list license:lgpl2.1+ ; libicns
|
|
|
|
|
license:lgpl2.0+ ; src/apidocs.*
|
|
|
|
|
license:gpl2+)))) ; icns2png, png2icns, icontainer2png
|
|
|
|
|
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(define-public libtiff
|
|
|
|
|
(package
|
|
|
|
|
(name "libtiff")
|
2021-07-19 15:02:56 -04:00
|
|
|
|
(version "4.3.0")
|
2017-07-10 14:37:53 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-26 10:23:10 -04:00
|
|
|
|
(uri (string-append "https://download.osgeo.org/libtiff/tiff-"
|
2017-07-10 14:37:53 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-07-19 15:02:56 -04:00
|
|
|
|
"1j3snghqjbhwmnm5vz3dr1zm68dj15mgbx1wqld7vkl7n2nfaihf"))))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2015-09-09 09:25:05 -04:00
|
|
|
|
(outputs '("out"
|
2021-03-20 16:05:51 -04:00
|
|
|
|
"doc")) ;1.8 MiB of HTML documentation
|
2015-09-09 09:25:05 -04:00
|
|
|
|
(arguments
|
|
|
|
|
;; Instead of using --docdir, this package has its own --with-docdir.
|
2021-03-13 15:47:33 -05:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-docdir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/doc/"
|
|
|
|
|
,name "-" ,(package-version this-package))
|
|
|
|
|
"--disable-static")))
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(inputs `(("zlib" ,zlib)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
(synopsis "Library for handling TIFF files")
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
(description
|
|
|
|
|
"Libtiff provides support for the Tag Image File Format (TIFF), a format
|
|
|
|
|
used for storing image data.
|
|
|
|
|
Included are a library, libtiff, for reading and writing TIFF and a small
|
|
|
|
|
collection of tools for doing simple manipulations of TIFF images.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 14:26:34 -04:00
|
|
|
|
(license (license:non-copyleft "file://COPYRIGHT"
|
|
|
|
|
"See COPYRIGHT in the distribution."))
|
2016-11-23 00:14:29 -05:00
|
|
|
|
(home-page "http://www.simplesystems.org/libtiff/")))
|
gnu: libtiff: Fix CVE-2016-{3623,3945,3990,3991,5321,5323}.
* gnu/packages/image.scm (libtiff)[replacement]: New field.
(libtiff/fixed): New variable.
* gnu/packages/patches/libtiff-CVE-2016-3623.patch,
gnu/packages/patches/libtiff-CVE-2016-3945.patch,
gnu/packages/patches/libtiff-CVE-2016-3990.patch,
gnu/packages/patches/libtiff-CVE-2016-3991.patch,
gnu/packages/patches/libtiff-CVE-2016-5321.patch,
gnu/packages/patches/libtiff-CVE-2016-5323.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-08-23 15:34:16 -04:00
|
|
|
|
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(define-public leptonica
|
|
|
|
|
(package
|
|
|
|
|
(name "leptonica")
|
2020-12-29 06:51:13 -05:00
|
|
|
|
(version "1.80.0")
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 15:44:49 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/DanBloomberg/leptonica")
|
2018-11-29 15:44:49 -05:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(sha256
|
2020-12-29 06:51:13 -05:00
|
|
|
|
(base32 "12ddln72z5l3icz0i9rpsfkg5xik8fcwcn8lb0cp3jigjxi8gvkg"))))
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gnuplot ;needed for test suite
|
|
|
|
|
autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config))
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("giflib" ,giflib)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-03-21 14:41:54 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
2020-05-04 10:20:25 -04:00
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("openjpeg" ,openjpeg)
|
2015-03-21 14:41:54 -04:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2016-12-15 03:39:30 -05:00
|
|
|
|
'(#:phases
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2016-12-15 03:39:30 -05:00
|
|
|
|
(add-after 'unpack 'patch-reg-wrapper
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "prog/reg_wrapper.sh"
|
|
|
|
|
((" /bin/sh ")
|
|
|
|
|
(string-append " " (which "sh") " "))
|
|
|
|
|
(("which gnuplot")
|
2018-06-27 20:42:35 -04:00
|
|
|
|
"true"))
|
2020-05-04 10:21:06 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'provide-absolute-giflib-reference
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(giflib (assoc-ref inputs "giflib")))
|
|
|
|
|
;; Add an absolute reference to giflib to avoid propagation.
|
|
|
|
|
(with-directory-excursion (string-append out "/lib")
|
|
|
|
|
(substitute* '("liblept.la" "pkgconfig/lept.pc")
|
|
|
|
|
(("-lgif") (string-append "-L" giflib "/lib -lgif"))))
|
|
|
|
|
#t))))))
|
2015-03-21 14:41:54 -04:00
|
|
|
|
(home-page "http://www.leptonica.com/")
|
|
|
|
|
(synopsis "Library and tools for image processing and analysis")
|
|
|
|
|
(description
|
|
|
|
|
"Leptonica is a C library and set of command-line tools for efficient
|
|
|
|
|
image processing and image analysis operations. It supports rasterop, affine
|
|
|
|
|
transformations, binary and grayscale morphology, rank order, and convolution,
|
|
|
|
|
seedfill and connected components, image transformations combining changes in
|
|
|
|
|
scale and pixel depth, and pixelwise masking, blending, enhancement, and
|
|
|
|
|
arithmetic ops.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2014-09-15 01:51:01 -04:00
|
|
|
|
(define-public jbig2dec
|
|
|
|
|
(package
|
|
|
|
|
(name "jbig2dec")
|
2021-02-20 16:10:08 -05:00
|
|
|
|
(version "0.19")
|
2018-09-09 19:00:26 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/ArtifexSoftware"
|
|
|
|
|
"/ghostpdl-downloads/releases/download"
|
2021-02-20 16:10:08 -05:00
|
|
|
|
"/gs9533/" name "-" version ".tar.gz"))
|
2018-09-09 19:00:26 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-20 16:10:08 -05:00
|
|
|
|
"0dwa24kjqyg9hmm40fh048sdxfpnasz43l2rm8wlkw1qbdlpd517"))))
|
2014-09-15 01:51:01 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-03-13 20:20:14 -04:00
|
|
|
|
(arguments '(#:configure-flags '("--disable-static")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'force-bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: jbig2dec 0.18 was released with
|
|
|
|
|
;; a broken configure script, so we
|
|
|
|
|
;; recreate the build system here.
|
|
|
|
|
;; Remove the autoconf inputs below
|
|
|
|
|
;; when deleting this code.
|
|
|
|
|
(delete-file "configure")
|
|
|
|
|
(delete-file "autogen.sh")
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
2020-10-10 11:05:24 -04:00
|
|
|
|
("python" ,python-minimal-wrapper))) ;for tests
|
2014-09-15 01:51:01 -04:00
|
|
|
|
(synopsis "Decoder of the JBIG2 image compression format")
|
|
|
|
|
(description
|
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.
2019-03-31 09:39:43 -04:00
|
|
|
|
"JBIG2 is designed for lossy or lossless encoding of @code{bilevel} (1-bit
|
2015-07-16 05:14:13 -04:00
|
|
|
|
monochrome) images at moderately high resolution, and in particular scanned
|
|
|
|
|
paper documents. In this domain it is very efficient, offering compression
|
|
|
|
|
ratios on the order of 100:1.
|
2014-09-15 01:51:01 -04:00
|
|
|
|
|
|
|
|
|
This is a decoder only implementation, and currently is in the alpha
|
|
|
|
|
stage, meaning it doesn't completely work yet. However, it is
|
|
|
|
|
maintaining parity with available encoders, so it is useful for real
|
|
|
|
|
work.")
|
2018-06-06 17:08:14 -04:00
|
|
|
|
(home-page "https://jbig2dec.com")
|
2014-09-15 01:51:01 -04:00
|
|
|
|
(license license:gpl2+)))
|
2014-09-15 01:56:22 -04:00
|
|
|
|
|
2019-08-23 16:33:31 -04:00
|
|
|
|
(define-public jbigkit
|
|
|
|
|
(package
|
|
|
|
|
(name "jbigkit")
|
|
|
|
|
(version "2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.cl.cam.ac.uk/~mgk25/jbigkit/"
|
|
|
|
|
"download/jbigkit-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0cnrcdr1dwp7h7m0a56qw09bv08krb37mpf7cml5sjdgpyv0cwfy"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove files without clear licence information.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(list "contrib" "examples"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs (list "out" "pbmtools"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((srfi srfi-26)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'install ; no ‘make install’ target
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(with-directory-excursion "libjbig"
|
|
|
|
|
(for-each (cut install-file <> include)
|
|
|
|
|
(find-files "." "\\.h$"))
|
|
|
|
|
(for-each (cut install-file <> lib)
|
|
|
|
|
(find-files "." "\\.a$")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-pbmtools
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "pbmtools"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man1 (string-append out "/share/man/man1"))
|
|
|
|
|
(man5 (string-append out "/share/man/man5")))
|
|
|
|
|
(with-directory-excursion "pbmtools"
|
|
|
|
|
(for-each (cut install-file <> bin)
|
|
|
|
|
(list "jbgtopbm" "jbgtopbm85"
|
|
|
|
|
"pbmtojbg" "pbmtojbg85"))
|
|
|
|
|
|
|
|
|
|
(for-each (cut install-file <> man1)
|
|
|
|
|
(find-files "." "\\.1$"))
|
|
|
|
|
(for-each (cut install-file <> man5)
|
|
|
|
|
(find-files "." "\\.5$"))
|
|
|
|
|
#t)))))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:tests? #f)) ; tests depend on examples/
|
|
|
|
|
(home-page "https://www.cl.cam.ac.uk/~mgk25/jbigkit/")
|
|
|
|
|
(synopsis "Lossless compression for bi-level high-resolution images")
|
|
|
|
|
(description
|
|
|
|
|
"JBIG-KIT implements the JBIG1 data compression standard (ITU-T T.82 and
|
|
|
|
|
ISO/IEC 11544:1993), designed for bi-level (one bit per pixel) images such as
|
|
|
|
|
black-and-white scanned documents. It is widely used in fax products, printer
|
|
|
|
|
firmware and drivers, document management systems, and imaging software.
|
|
|
|
|
|
|
|
|
|
This package provides a static C library of (de)compression functions and some
|
|
|
|
|
simple command-line converters similar to those provided by netpbm.
|
|
|
|
|
|
|
|
|
|
Two JBIG1 variants are available. One (@file{jbig.c}) implements nearly all
|
|
|
|
|
options of the standard but has to keep the full uncompressed image in memory.
|
|
|
|
|
The other (@file{jbig85.c}) implements just the ITU-T T.85 profile, with
|
|
|
|
|
memory management optimized for embedded and fax applications. It buffers
|
|
|
|
|
only a few lines of the uncompressed image in memory and is able to stream
|
|
|
|
|
images of initially unknown height.")
|
|
|
|
|
(license (list license:isc ; pbmtools/p?m.5
|
|
|
|
|
license:gpl2+)))) ; the rest
|
|
|
|
|
|
2020-07-10 15:57:04 -04:00
|
|
|
|
(define-public openjpeg-data
|
|
|
|
|
(package
|
|
|
|
|
(name "openjpeg-data")
|
2021-03-21 03:39:47 -04:00
|
|
|
|
(version "2020.11.30")
|
2020-07-10 15:57:04 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 13:18:54 -05:00
|
|
|
|
(url "https://github.com/uclouvain/openjpeg-data")
|
2021-03-21 03:39:47 -04:00
|
|
|
|
(commit "cd724fb1f93e6af41ebc68c4904f4bf2a4cd1e60")))
|
2020-07-10 15:57:04 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-03-21 03:39:47 -04:00
|
|
|
|
(base32 "1q2swh4g9r9haqs075fyk42aclqcs9q51lqqzfb57lisszminpwm"))))
|
2020-07-10 15:57:04 -04:00
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(synopsis "Test files for OpenJPEG")
|
|
|
|
|
(description "OpenJPEG-Data contains all files required to run the openjpeg
|
|
|
|
|
test suite, including conformance tests (following Rec. ITU-T T.803 | ISO/IEC
|
|
|
|
|
15444-4 procedures), non-regression tests and unit tests.")
|
|
|
|
|
(home-page "https://github.com/uclouvain/openjpeg-data")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2014-09-15 01:56:22 -04:00
|
|
|
|
(define-public openjpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "openjpeg")
|
2021-03-21 03:42:06 -04:00
|
|
|
|
(version "2.4.0")
|
2020-09-24 10:39:25 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
2021-03-21 03:42:06 -04:00
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uclouvain/openjpeg")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-09-24 10:39:25 -04:00
|
|
|
|
(sha256
|
2021-03-21 03:42:06 -04:00
|
|
|
|
(base32 "143dvy5g6v6129lzvl0r8mrgva2fppkn0zl099qmi9yi9l9h7yyf"))))
|
2014-09-15 01:56:22 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-09-24 10:48:08 -04:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-DBUILD_STATIC_LIBS=OFF"
|
|
|
|
|
"-DBUILD_UNIT_TESTS=ON"
|
|
|
|
|
"-DBUILD_TESTING=ON"
|
|
|
|
|
(string-append "-DOPJ_DATA_ROOT="
|
|
|
|
|
(assoc-ref %build-inputs "openjpeg-data")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
2021-03-21 03:56:56 -04:00
|
|
|
|
;; To be re-enabled after upstream fixes the bug,
|
|
|
|
|
;; https://github.com/uclouvain/openjpeg/issues/1264
|
2020-09-24 10:48:08 -04:00
|
|
|
|
(substitute* "tests/CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\(nonregression\\)")
|
|
|
|
|
""))
|
2021-03-21 03:56:56 -04:00
|
|
|
|
;; These tests fail on all architectures except x86_64
|
|
|
|
|
(substitute* "tests/conformance/CMakeLists.txt"
|
|
|
|
|
;; 4, 5, 6 fail
|
|
|
|
|
(("numFileC1P0 RANGE 1 16") "numFileC1P0 RANGE 7 16")
|
|
|
|
|
;; 2, 3, 4, 5 fail
|
|
|
|
|
(("numFileC1P1 RANGE 1 7") "numFileC1P1 1 6 7")
|
|
|
|
|
;; 2, 3 fail
|
|
|
|
|
(("numFileJP2 RANGE 1 9") "numFileJP2 RANGE 4 9")
|
|
|
|
|
;; All fail
|
|
|
|
|
(("subsampling.*") "")
|
|
|
|
|
(("zoo.*") "")))))))
|
2020-09-24 10:48:08 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list openjpeg-data)) ; Files for test-suite
|
2014-09-15 01:56:22 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list lcms libpng libtiff zlib))
|
2020-09-24 10:59:47 -04:00
|
|
|
|
(synopsis "OPENJPEG Library and Applications")
|
|
|
|
|
(description "OpenJPEG is an implementation of JPEG 2000 codec written in C
|
|
|
|
|
language. It has been developed in order to promote the use of JPEG 2000, a
|
|
|
|
|
still-image compression standard from the Joint Photographic Experts Group
|
|
|
|
|
(JPEG). Since April 2015, it is officially recognized by ISO/IEC and ITU-T as a
|
|
|
|
|
JPEG 2000 Reference Software.")
|
2015-10-02 12:30:41 -04:00
|
|
|
|
(home-page "https://github.com/uclouvain/openjpeg")
|
2014-09-15 01:56:22 -04:00
|
|
|
|
(license license:bsd-2)))
|
2014-09-25 04:27:25 -04:00
|
|
|
|
|
2014-09-29 15:46:12 -04:00
|
|
|
|
(define-public giflib
|
|
|
|
|
(package
|
|
|
|
|
(name "giflib")
|
2019-12-04 18:43:00 -05:00
|
|
|
|
(version "5.2.1")
|
2014-09-29 15:46:12 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/giflib/giflib-"
|
2019-12-04 18:43:00 -05:00
|
|
|
|
version ".tar.gz"))
|
2014-09-29 15:46:12 -04:00
|
|
|
|
(sha256
|
2016-05-19 06:06:49 -04:00
|
|
|
|
(base32
|
2019-12-04 18:43:00 -05:00
|
|
|
|
"1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii"))))
|
2014-09-29 15:46:12 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("bin" ; utility programs
|
|
|
|
|
"out")) ; library
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 15:46:24 -04:00
|
|
|
|
`(#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
2019-12-04 18:43:00 -05:00
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "BINDIR="
|
|
|
|
|
(assoc-ref %outputs "bin") "/bin"))
|
|
|
|
|
#:phases
|
2016-05-19 06:06:49 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-html-doc-gen
|
|
|
|
|
(lambda _
|
2019-12-04 18:43:00 -05:00
|
|
|
|
(substitute* "doc/Makefile"
|
2018-03-17 20:29:53 -04:00
|
|
|
|
(("^all: allhtml manpages") ""))
|
|
|
|
|
#t))
|
2019-12-04 18:43:00 -05:00
|
|
|
|
(delete 'configure)
|
2016-05-19 06:06:49 -04:00
|
|
|
|
(add-after 'install 'install-manpages
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((bin (assoc-ref outputs "bin"))
|
|
|
|
|
(man1dir (string-append bin "/share/man/man1")))
|
|
|
|
|
(mkdir-p man1dir)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((base (basename file)))
|
|
|
|
|
(format #t "installing `~a' to `~a'~%"
|
|
|
|
|
base man1dir)
|
|
|
|
|
(copy-file file
|
|
|
|
|
(string-append
|
|
|
|
|
man1dir "/" base))))
|
2018-03-17 20:29:53 -04:00
|
|
|
|
(find-files "doc" "\\.1"))
|
|
|
|
|
#t))))))
|
2014-09-29 15:46:12 -04:00
|
|
|
|
(synopsis "Tools and library for working with GIF images")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
"GIFLIB is a library for reading and writing GIF images. It is API and
|
2014-09-29 15:46:12 -04:00
|
|
|
|
ABI compatible with libungif which was in wide use while the LZW compression
|
|
|
|
|
algorithm was patented. Tools are also included to convert, manipulate,
|
|
|
|
|
compose, and analyze GIF images.")
|
|
|
|
|
(home-page "http://giflib.sourceforge.net/")
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
2020-01-28 01:21:24 -05:00
|
|
|
|
(define-public libuemf
|
|
|
|
|
(package
|
|
|
|
|
(name "libuemf")
|
|
|
|
|
(version "0.2.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/libuemf/libUEMF-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05djs99vqf067x81xfpskh7a66y5x7b4mmjavybcy7swnm0swg7v"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Overriding CMAKE_INSTALL_PREFIX is not a good idea.
|
|
|
|
|
(add-after 'unpack 'fix-CMakeLists.txt
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
((".*SET\\(CMAKE_INSTALL_PREFIX.*") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(sources (string-append "../libUEMF-" ,version))
|
|
|
|
|
(drm-tools (assoc-ref inputs "drm-tools"))
|
|
|
|
|
(extract (string-append drm-tools "/bin/extract"))
|
|
|
|
|
(execinput (string-append drm-tools "/bin/execinput")))
|
|
|
|
|
(with-directory-excursion sources
|
|
|
|
|
(substitute* "testit.sh"
|
|
|
|
|
(("^EPATH=.*")
|
|
|
|
|
(format #f "EPATH=~a~%" bin))
|
|
|
|
|
(("`which diff`")
|
|
|
|
|
"diff")
|
|
|
|
|
(("^EXTRACT=.*")
|
|
|
|
|
(format #f "EXTRACT=~a~%" extract))
|
|
|
|
|
(("^EXECINPUT=.*")
|
|
|
|
|
(format #f "EXECINPUT=~a~%" execinput)))
|
|
|
|
|
(invoke "sh" "testit.sh"))))))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list drm-tools)) ;for tests
|
2020-01-28 01:21:24 -05:00
|
|
|
|
(home-page "http://libuemf.sourceforge.net/")
|
|
|
|
|
(synopsis "Library for working with WFM, EMF and EMF+ images")
|
|
|
|
|
(description "The libUEMF library is a portable C99 implementation for
|
2020-06-02 12:15:08 -04:00
|
|
|
|
reading and writing @acronym{WFM, Windows Metafile}, @acronym{EMF, Enhanced
|
|
|
|
|
Metafile}, and @acronym{EMF+, Enhanced Metafile Plus} files.")
|
2020-01-28 01:21:24 -05:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-03-05 09:45:01 -05:00
|
|
|
|
(define-public libungif
|
|
|
|
|
(package
|
|
|
|
|
(name "libungif")
|
|
|
|
|
(version "4.1.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/giflib/libungif-4.x/"
|
|
|
|
|
"libungif-" version "/libungif-"
|
2015-03-05 09:45:01 -05:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cnksimmmjngdrys302ik1385sg1sj4i0gxivzldhgwd46n7x2kh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list perl)) ;package ships some perl tools
|
2015-03-05 09:45:01 -05:00
|
|
|
|
(home-page "http://giflib.sourceforge.net/")
|
|
|
|
|
(synopsis "GIF decompression library")
|
|
|
|
|
(description
|
|
|
|
|
"libungif is the old GIF decompression library by the GIFLIB project.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(define-public imlib2
|
|
|
|
|
(package
|
|
|
|
|
(name "imlib2")
|
2022-04-28 16:32:04 -04:00
|
|
|
|
(version "1.9.0")
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 02:35:30 -04:00
|
|
|
|
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
2022-04-28 16:32:04 -04:00
|
|
|
|
"/imlib2-" version ".tar.xz"))
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-04-28 16:32:04 -04:00
|
|
|
|
"0l662h74i3mzl5ligj1352rf8bf48drasj97wygr2037gk5fijas"))))
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-08-02 03:44:41 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags (list "--disable-static")))
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(native-inputs
|
2022-04-28 16:33:44 -04:00
|
|
|
|
(list pkg-config))
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(inputs
|
2022-04-28 16:33:44 -04:00
|
|
|
|
(list bzip2
|
|
|
|
|
freetype
|
|
|
|
|
giflib
|
|
|
|
|
libid3tag
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libx11
|
|
|
|
|
libxext
|
|
|
|
|
libwebp))
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-03 19:30:46 -05:00
|
|
|
|
(home-page "https://sourceforge.net/projects/enlightenment/")
|
2014-09-25 04:27:25 -04:00
|
|
|
|
(synopsis
|
|
|
|
|
"Loading, saving, rendering and manipulating image files")
|
|
|
|
|
(description
|
|
|
|
|
"Imlib2 is a library that does image file loading and saving as well as
|
|
|
|
|
rendering, manipulation, arbitrary polygon support, etc.
|
|
|
|
|
|
|
|
|
|
It does ALL of these operations FAST. Imlib2 also tries to be highly
|
|
|
|
|
intelligent about doing them, so writing naive programs can be done easily,
|
|
|
|
|
without sacrificing speed.
|
|
|
|
|
|
|
|
|
|
This is a complete rewrite over the Imlib 1.x series. The architecture is
|
|
|
|
|
more modular, simple, and flexible.")
|
2014-10-26 08:27:56 -04:00
|
|
|
|
(license license:imlib2)))
|
2014-09-25 04:29:43 -04:00
|
|
|
|
|
2022-06-02 07:02:47 -04:00
|
|
|
|
(define-public imlib2-1.7
|
|
|
|
|
(package
|
|
|
|
|
(inherit imlib2)
|
|
|
|
|
(version "1.7.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
|
|
|
|
"/imlib2-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01y45cdml2dr9cqgybrgxr86sd77d1qfa1gzclzy1j6bkminlfh3"))))))
|
|
|
|
|
|
2014-09-25 04:29:43 -04:00
|
|
|
|
(define-public giblib
|
|
|
|
|
(package
|
|
|
|
|
(name "giblib")
|
|
|
|
|
(version "1.2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-16 07:07:47 -04:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append
|
|
|
|
|
"http://linuxbrit.co.uk/downloads/giblib-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append
|
2020-03-14 14:06:08 -04:00
|
|
|
|
"https://src.fedoraproject.org/repo/pkgs/giblib/giblib-"
|
|
|
|
|
version ".tar.gz/c810ef5389baf24882a1caca2954385e/giblib-"
|
|
|
|
|
version ".tar.gz")
|
2016-05-16 07:07:47 -04:00
|
|
|
|
(string-append
|
|
|
|
|
"https://sourceforge.net/projects/slackbuildsdirectlinks/"
|
|
|
|
|
"files/giblib/giblib-" version ".tar.gz")))
|
2014-09-25 04:29:43 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2022-06-02 07:03:07 -04:00
|
|
|
|
(list libx11
|
|
|
|
|
;; Needs an old imlib2 with the 'imlib2-config' program.
|
|
|
|
|
imlib2-1.7))
|
2020-01-18 17:31:00 -05:00
|
|
|
|
(home-page
|
|
|
|
|
;; This vanished page is universally accepted as giblib's home despite not
|
|
|
|
|
;; mentioning the package once.
|
2020-07-09 10:33:38 -04:00
|
|
|
|
(string-append "https://web.archive.org/web/20140907071208/"
|
2020-01-18 17:31:00 -05:00
|
|
|
|
"https://linuxbrit.co.uk/software/"))
|
2014-09-25 04:29:43 -04:00
|
|
|
|
(synopsis "Wrapper library for imlib2")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
"Giblib is a simple library which wraps imlib2's context API, avoiding
|
2014-09-25 04:29:43 -04:00
|
|
|
|
all the context_get/set calls, adds fontstyles to the truetype renderer and
|
|
|
|
|
supplies a generic doubly-linked list and some string functions.")
|
|
|
|
|
;; This license removes a clause about X Consortium from the original
|
|
|
|
|
;; X11 license.
|
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
|
"See 'COPYING' in the distribution."))))
|
2014-06-25 19:50:30 -04:00
|
|
|
|
|
|
|
|
|
(define-public freeimage
|
|
|
|
|
(package
|
2022-08-09 17:13:45 -04:00
|
|
|
|
(name "freeimage")
|
|
|
|
|
(version "3.18.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/freeimage/Source%20Distribution/"
|
|
|
|
|
version "/FreeImage"
|
|
|
|
|
(string-concatenate (string-split version #\.))
|
|
|
|
|
".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z9qwi9mlq69d5jipr3v2jika2g0kszqdzilggm99nls5xl7j4zl"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively (string-append "Source/" dir)))
|
|
|
|
|
'("LibJPEG" "LibOpenJPEG" "LibPNG" "LibRawLite"
|
|
|
|
|
"LibJXR" "LibWebP" "OpenEXR" "ZLib"))))
|
|
|
|
|
(patches
|
|
|
|
|
(append
|
|
|
|
|
(search-patches "freeimage-unbundle.patch")
|
|
|
|
|
;; Take one patch from Arch Linux that adds LibRaw 0.20 compatibility.
|
|
|
|
|
(list (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "https://raw.githubusercontent.com/archlinux\
|
2020-07-23 18:40:37 -04:00
|
|
|
|
/svntogit-community/ca3e6a52f5a46dec87cbf85e9d84fe370e282c8c/trunk\
|
|
|
|
|
/freeimage-libraw-0.20.patch")
|
2022-08-09 17:13:45 -04:00
|
|
|
|
(file-name "freeimage-libraw-compat.patch")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cwjxjz0f4gs6igvwqg0p99mnrsrwzkal1l2n08yvz2xq9s5khki"))))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; According to Fedora these files depend on private headers, but their
|
|
|
|
|
;; presence is required for building, so we replace them with empty files.
|
|
|
|
|
(add-after 'unpack 'delete-unbuildable-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(delete-file file)
|
|
|
|
|
(close (open file O_CREAT)))
|
|
|
|
|
'("Source/FreeImage/PluginG3.cpp"
|
|
|
|
|
"Source/FreeImageToolkit/JPEGTransform.cpp"))))
|
|
|
|
|
;; These scripts generate the Makefiles.
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "gensrclist.sh")
|
|
|
|
|
(invoke "sh" "genfipsrclist.sh")))
|
|
|
|
|
(add-before 'build 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.gnu"
|
|
|
|
|
(("/usr") (assoc-ref outputs "out"))
|
|
|
|
|
(("-o root -g root") "")))))
|
2018-04-13 02:45:55 -04:00
|
|
|
|
#:make-flags
|
2022-08-09 17:13:45 -04:00
|
|
|
|
#~(let ((jxrlib (search-input-directory %build-inputs "include/jxrlib")))
|
|
|
|
|
(list (string-append "CC=" #$(cc-for-target))
|
|
|
|
|
;; We need '-fpermissive' for Source/FreeImage.h.
|
|
|
|
|
;; libjxr doesn't have a pkg-config file.
|
|
|
|
|
(string-append "CFLAGS+=-O2 -fPIC -fvisibility=hidden "
|
|
|
|
|
"-fpermissive -I" jxrlib)))
|
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config unzip))
|
|
|
|
|
(inputs
|
|
|
|
|
(list libjpeg-turbo
|
|
|
|
|
libjxr
|
|
|
|
|
libpng
|
|
|
|
|
libraw
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp
|
|
|
|
|
openexr-2
|
|
|
|
|
openjpeg
|
|
|
|
|
zlib))
|
|
|
|
|
(synopsis "Library for handling popular graphics image formats")
|
|
|
|
|
(description
|
|
|
|
|
"FreeImage is a library for developers who would like to support popular
|
2014-06-25 19:50:30 -04:00
|
|
|
|
graphics image formats like PNG, BMP, JPEG, TIFF and others.")
|
2022-08-09 17:13:45 -04:00
|
|
|
|
(license license:gpl2+)
|
|
|
|
|
(home-page "https://freeimage.sourceforge.io/")))
|
2015-03-13 05:33:42 -04:00
|
|
|
|
|
|
|
|
|
(define-public vigra
|
2021-08-08 15:53:12 -04:00
|
|
|
|
(let ((commit "9b514fa00a136f5fd81bb57ee9f6293c333ffc1f")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "vigra")
|
|
|
|
|
(version (git-version "1.11.1" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The last release is 1.11.1, from 2017. It's becoming more and more
|
|
|
|
|
;; difficult to build this old release, and the upstream developers
|
|
|
|
|
;; suggest on their home page to build from the Git repo, saying "It is
|
|
|
|
|
;; generally safe to use the 'master' branch of the development snapshot,
|
|
|
|
|
;; as we avoid uploading untested or incompatible changes to this branch."
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ukoethe/vigra")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256 (base32
|
|
|
|
|
"1vzlypviala109imwxkp46lqhhxszf79ypfb8wxg6z7g02j7mm73"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("fftwf" ,fftwf)
|
|
|
|
|
("hdf5" ,hdf5)
|
|
|
|
|
("ilmbase" ,ilmbase) ; propagated by openexr, but needed explicitly
|
|
|
|
|
; to create a configure-flag
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
2021-10-31 06:47:14 -04:00
|
|
|
|
("openexr" ,openexr-2)
|
2021-08-08 15:53:12 -04:00
|
|
|
|
("python" ,python-wrapper)
|
2021-11-17 10:50:04 -05:00
|
|
|
|
;("python-numpy" ,python-numpy)
|
2021-08-08 15:53:12 -04:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
|
("python-nose" ,python-nose)
|
|
|
|
|
("sphinx" ,python-sphinx)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "check"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; See https://github.com/ukoethe/vigra/issues/432
|
|
|
|
|
(substitute* "test/fourier/CMakeLists.txt"
|
|
|
|
|
(("VIGRA_ADD_TEST.*") ""))
|
|
|
|
|
;; This test fails with Numpy 1.15:
|
|
|
|
|
;; <https://github.com/ukoethe/vigra/issues/436>.
|
|
|
|
|
(substitute* "vigranumpy/test/CMakeLists.txt"
|
|
|
|
|
(("test1\\.py") ""))
|
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-Wno-dev" ; suppress developer mode with lots of warnings
|
|
|
|
|
(string-append "-DVIGRANUMPY_INSTALL_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor (package-version python))
|
|
|
|
|
"/site-packages")
|
2021-11-17 10:50:04 -05:00
|
|
|
|
;; Vigranumpy isn't compatible with numpy >= 1.20.
|
|
|
|
|
"-DWITH_VIGRANUMPY=0"
|
2021-08-08 15:53:12 -04:00
|
|
|
|
;; OpenEXR is not enabled by default.
|
|
|
|
|
"-DWITH_OPENEXR=1"
|
|
|
|
|
;; Fix rounding error on 32-bit machines
|
|
|
|
|
"-DCMAKE_C_FLAGS=-ffloat-store"
|
|
|
|
|
;; The header files of ilmbase are not found when included
|
|
|
|
|
;; by the header files of openexr, and an explicit flag
|
|
|
|
|
;; needs to be set.
|
|
|
|
|
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "ilmbase")
|
|
|
|
|
"/include/OpenEXR"
|
|
|
|
|
" -ffloat-store"))))
|
|
|
|
|
(synopsis "Computer vision library")
|
|
|
|
|
(description
|
|
|
|
|
"VIGRA stands for Vision with Generic Algorithms. It is an image
|
|
|
|
|
processing and analysis library that puts its main emphasis on customizable
|
|
|
|
|
algorithms and data structures. It is particularly strong for
|
|
|
|
|
multi-dimensional image processing.")
|
|
|
|
|
(license license:expat)
|
|
|
|
|
(home-page "https://ukoethe.github.io/vigra/")
|
|
|
|
|
(properties '((max-silent-time . 7200)))))) ;2 hours, to avoid timing out
|
2015-03-21 14:40:21 -04:00
|
|
|
|
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(define-public vigra-c
|
2019-09-05 15:12:40 -04:00
|
|
|
|
(let* ((commit "66ff4fa5a7d4a77415caa676a45c2c6ea16562e7")
|
|
|
|
|
(revision "1"))
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "vigra-c")
|
2019-09-05 15:12:40 -04:00
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(home-page "https://github.com/BSeppke/vigra_c")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-05 15:12:40 -04:00
|
|
|
|
"1pnd92s284dvsg8zp6md7p8ck55bmcsryz58gzic7jh6m72hg689"))
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; No test target.
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list doxygen))
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list fftw fftwf hdf5 vigra))
|
2018-05-12 06:11:29 -04:00
|
|
|
|
(synopsis "C interface to the VIGRA computer vision library")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a C interface to the VIGRA C++ computer vision
|
|
|
|
|
library. It is designed primarily to ease the implementation of higher-level
|
|
|
|
|
language bindings to VIGRA.")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(define-public libwebp
|
|
|
|
|
(package
|
|
|
|
|
(name "libwebp")
|
2021-05-10 10:54:29 -04:00
|
|
|
|
(version "1.2.0")
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-04-22 19:11:23 -04:00
|
|
|
|
;; No tarballs are provided for >0.6.1.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://chromium.googlesource.com/webm/libwebp")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(sha256
|
2016-10-27 23:27:35 -04:00
|
|
|
|
(base32
|
2021-05-10 10:54:29 -04:00
|
|
|
|
"1rgblphsd56033w7lpkrzl7m5w0fi7wavxri1ayzlg8fhpmmqp4k"))))
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freeglut" ,freeglut)
|
|
|
|
|
("giflib" ,giflib)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-03-21 14:40:21 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)))
|
2018-04-22 19:11:23 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool))
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-libwebpmux"
|
|
|
|
|
"--enable-libwebpdemux"
|
2019-12-11 13:56:48 -05:00
|
|
|
|
"--enable-libwebpdecoder"
|
|
|
|
|
"--disable-static")))
|
2015-03-21 14:40:21 -04:00
|
|
|
|
(home-page "https://developers.google.com/speed/webp/")
|
|
|
|
|
(synopsis "Lossless and lossy image compression")
|
|
|
|
|
(description
|
|
|
|
|
"WebP is a new image format that provides lossless and lossy compression
|
2015-05-13 16:30:24 -04:00
|
|
|
|
for images. WebP lossless images are 26% smaller in size compared to
|
|
|
|
|
PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at
|
|
|
|
|
equivalent SSIM index. WebP supports lossless transparency (also known as
|
|
|
|
|
alpha channel) with just 22% additional bytes. Transparency is also supported
|
2015-03-21 14:40:21 -04:00
|
|
|
|
with lossy compression and typically provides 3x smaller file sizes compared
|
|
|
|
|
to PNG when lossy compression is acceptable for the red/green/blue color
|
|
|
|
|
channels.")
|
|
|
|
|
(license license:bsd-3)))
|
2015-06-16 11:02:45 -04:00
|
|
|
|
|
|
|
|
|
(define-public libmng
|
|
|
|
|
(package
|
|
|
|
|
(name "libmng")
|
|
|
|
|
(version "2.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-22 11:45:03 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/libmng/libmng-devel/"
|
|
|
|
|
version "/" name "-" version ".tar.xz"))
|
2015-06-16 11:02:45 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1lvxnpds0vcf0lil6ia2036ghqlbl740c4d2sz0q5g6l93fjyija"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; These are all in the 'Libs.private' field of libmng.pc.
|
|
|
|
|
`(("lcms" ,lcms)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-06-16 11:02:45 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2020-01-18 18:16:23 -05:00
|
|
|
|
(home-page "https://www.libmng.com/")
|
2015-06-16 11:02:45 -04:00
|
|
|
|
(synopsis "Library for handling MNG files")
|
|
|
|
|
(description
|
|
|
|
|
"Libmng is the MNG (Multiple-image Network Graphics) reference library.")
|
|
|
|
|
(license license:bsd-3)))
|
2015-11-14 13:56:40 -05:00
|
|
|
|
|
2016-12-02 04:24:40 -05:00
|
|
|
|
(define-public exiv2
|
|
|
|
|
(package
|
|
|
|
|
(name "exiv2")
|
2021-10-22 19:01:54 -04:00
|
|
|
|
(version "0.27.5")
|
2019-06-25 10:50:52 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.exiv2.org/builds/exiv2-" version
|
|
|
|
|
"-Source.tar.gz"))
|
|
|
|
|
(sha256
|
2021-10-22 19:01:54 -04:00
|
|
|
|
(base32 "1qm6bvj28l42km009nc60gffn1qhngc0m2wjlhf90si3mcc8d99m"))))
|
2019-06-25 10:50:52 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2021-08-15 03:15:45 -04:00
|
|
|
|
(arguments
|
2022-07-25 15:47:33 -04:00
|
|
|
|
`(#:test-target "tests"
|
2022-02-16 04:44:10 -05:00
|
|
|
|
#:configure-flags (list "-DEXIV2_BUILD_UNIT_TESTS=ON"
|
|
|
|
|
;; darktable needs BMFF to support
|
|
|
|
|
;; CR3 files.
|
|
|
|
|
"-DEXIV2_ENABLE_BMFF=ON")
|
2021-10-23 06:41:04 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'delete-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
2022-07-25 15:47:33 -04:00
|
|
|
|
(for-each delete-file (find-files lib "\\.a$")))))
|
|
|
|
|
|
|
|
|
|
,@(if (or (target-ppc64le?) (target-aarch64?))
|
|
|
|
|
'((add-after 'unpack 'adjust-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Adjust test on ppc64 and aarch64, where no exception
|
|
|
|
|
;; is raised and thus the return value is different. See
|
|
|
|
|
;; <https://github.com/Exiv2/exiv2/issues/365> and
|
|
|
|
|
;; <https://github.com/Exiv2/exiv2/issues/933>.
|
|
|
|
|
(substitute* "tests/bugfixes/github/test_CVE_2018_12265.py"
|
|
|
|
|
(("\\$uncaught_exception \\$addition_overflow_message\n") "")
|
|
|
|
|
(("retval = \\[1\\]") "retval = [0]")))))
|
|
|
|
|
'()))))
|
2016-12-02 04:24:40 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list expat zlib))
|
2021-08-15 03:15:45 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list googletest python))
|
2019-05-13 07:59:51 -04:00
|
|
|
|
(home-page "https://www.exiv2.org/")
|
2016-12-02 04:24:40 -05:00
|
|
|
|
(synopsis "Library and command-line utility to manage image metadata")
|
|
|
|
|
(description
|
|
|
|
|
"Exiv2 is a C++ library and a command line utility to manage image
|
|
|
|
|
metadata. It provides fast and easy read and write access to the Exif, IPTC
|
|
|
|
|
and XMP metadata of images in various formats.")
|
|
|
|
|
|
|
|
|
|
;; Files under `xmpsdk' are a copy of Adobe's XMP SDK, licensed under the
|
|
|
|
|
;; 3-clause BSD license: <http://www.adobe.com/devnet/xmp/sdk/eula.html>.
|
|
|
|
|
;; The core is GPLv2+:
|
|
|
|
|
;; <https://launchpad.net/ubuntu/precise/+source/exiv2/+copyright>.
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-14 13:56:40 -05:00
|
|
|
|
(define-public devil
|
|
|
|
|
(package
|
|
|
|
|
(name "devil")
|
2017-03-23 19:12:00 -04:00
|
|
|
|
(version "1.8.0")
|
2015-11-14 13:56:40 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/openil/"
|
|
|
|
|
"DevIL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-23 19:12:00 -04:00
|
|
|
|
"02dpzvi493r09c9hfjnk54nladl3qw55iqkkg18g12fxwwz9fx80"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2015-11-14 13:56:40 -05:00
|
|
|
|
(arguments
|
2017-03-23 19:12:00 -04:00
|
|
|
|
'(;; XXX: Not supported in the released CMakeLists.txt.
|
|
|
|
|
;; Enable this for > 1.8.0.
|
|
|
|
|
#:tests? #f
|
2015-11-14 13:56:40 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-03-23 19:12:00 -04:00
|
|
|
|
(add-before 'configure 'change-directory
|
|
|
|
|
(lambda _ (chdir "DevIL") #t)))))
|
2015-11-14 13:56:40 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2015-11-14 13:56:40 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("lcms" ,lcms)
|
2017-03-23 19:12:00 -04:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-11-14 13:56:40 -05:00
|
|
|
|
("libmng" ,libmng)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
gnu: Rename openexr to openexr-2.
This is done so the OpenEXR package can be upgraded to version 3 in a
later commit.
* gnu/packages/graphics.scm (openexr): Rename to ...
(openexr-2): ... new variable.
(blender, blender-2.79, openimageio, povray)[inputs]: Adjust accordingly.
(ctl)[propagated-inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[propagated-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Likewise.
* gnu/packages/image-processing.scm (mia, opencolorio, opencv, vips, gmic,
nip2)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (freeimage, vigra, devil)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kimageformats)[inputs]: Likewise.
* gnu/packages/kde.scm (krita)[inputs]: Likewise.
* gnu/packages/photo.scm (enblend-enfuse, darktable, hugin)[inputs]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 08:18:00 -04:00
|
|
|
|
("openexr" ,openexr-2)
|
2015-11-14 13:56:40 -05:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Library for manipulating many image formats")
|
|
|
|
|
(description "Developer's Image Library (DevIL) is a library to develop
|
|
|
|
|
applications with support for many types of images. DevIL can load, save,
|
|
|
|
|
convert, manipulate, filter and display a wide variety of image formats.")
|
|
|
|
|
(home-page "http://openil.sourceforge.net")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-11-24 13:37:34 -05:00
|
|
|
|
|
|
|
|
|
(define-public jasper
|
|
|
|
|
(package
|
|
|
|
|
(name "jasper")
|
2021-10-19 13:07:54 -04:00
|
|
|
|
(version "2.0.33")
|
2015-11-24 13:37:34 -05:00
|
|
|
|
(source (origin
|
2018-11-29 16:37:43 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/mdadams/jasper")
|
2018-11-29 16:37:43 -05:00
|
|
|
|
(commit (string-append "version-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-11-24 13:37:34 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-19 13:07:54 -04:00
|
|
|
|
"0p3fj89gkhd2ys5ci75cwb6p7rvb2pf52jd8c9d4g76qp846njnx"))))
|
2016-11-27 13:23:20 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2020-10-13 16:24:24 -04:00
|
|
|
|
(inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list libjpeg-turbo))
|
2015-11-24 13:37:34 -05:00
|
|
|
|
(synopsis "JPEG-2000 library")
|
|
|
|
|
(description "The JasPer Project is an initiative to provide a reference
|
|
|
|
|
implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e.,
|
|
|
|
|
ISO/IEC 15444-1).")
|
|
|
|
|
(home-page "https://www.ece.uvic.ca/~frodo/jasper/")
|
|
|
|
|
(license (license:x11-style "file://LICENSE"))))
|
2016-05-29 07:48:42 -04:00
|
|
|
|
|
|
|
|
|
(define-public zimg
|
|
|
|
|
(package
|
|
|
|
|
(name "zimg")
|
2021-10-25 07:58:57 -04:00
|
|
|
|
(version "3.0.3")
|
2016-05-29 07:48:42 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 16:40:38 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/sekrit-twc/zimg")
|
2018-11-29 16:40:38 -05:00
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-05-29 07:48:42 -04:00
|
|
|
|
(sha256
|
2021-10-25 07:58:57 -04:00
|
|
|
|
(base32 "0pwgf1mybpa3fs13p6jryzm32vfldyql9biwaypqdcimlnlmyk20"))))
|
2016-05-29 07:48:42 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool))
|
2016-05-29 07:48:42 -04:00
|
|
|
|
(synopsis "Scaling, colorspace conversion, and dithering library")
|
|
|
|
|
(description "Zimg implements the commonly required image processing basics
|
|
|
|
|
of scaling, colorspace conversion, and depth conversion. A simple API enables
|
|
|
|
|
conversion between any supported formats to operate with minimal knowledge from
|
|
|
|
|
the programmer.")
|
|
|
|
|
(home-page "https://github.com/sekrit-twc/zimg")
|
2016-10-17 17:07:20 -04:00
|
|
|
|
;; test/extra/ contains musl-libm,
|
2016-05-29 07:48:42 -04:00
|
|
|
|
;; which is MIT/expat licensed, but only used for tests
|
2019-04-27 07:43:01 -04:00
|
|
|
|
(license license:wtfpl2)))
|
2016-07-17 20:04:58 -04:00
|
|
|
|
|
|
|
|
|
(define-public perceptualdiff
|
|
|
|
|
(package
|
|
|
|
|
(name "perceptualdiff")
|
|
|
|
|
(version "1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-22 18:22:41 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/myint/perceptualdiff")
|
2019-04-22 18:22:41 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0yys55f9i9g3wjjg0j2m0p0k21zwnid8520a8lrr30khm4k5gibp"))))
|
2016-07-17 20:04:58 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list freeimage))
|
2016-07-17 20:04:58 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
|
;; cmake-build-system uses a build/ directory outside
|
|
|
|
|
;; of the source tree, one level higher than expected
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/run_tests.bash"
|
2018-06-27 20:42:35 -04:00
|
|
|
|
(("../build") "../../build"))
|
|
|
|
|
#t)))))
|
2016-07-17 20:04:58 -04:00
|
|
|
|
(home-page "https://github.com/myint/perceptualdiff")
|
|
|
|
|
(synopsis "Perceptual image comparison utility")
|
|
|
|
|
(description "PerceptualDiff visually compares two images to determine
|
|
|
|
|
whether they look alike. It uses a computational model of the human visual
|
|
|
|
|
system to detect similarities. This allows it too see beyond irrelevant
|
|
|
|
|
differences in file encoding, image quality, and other small variations.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-05-17 22:23:21 -04:00
|
|
|
|
|
|
|
|
|
(define-public steghide
|
|
|
|
|
(package
|
|
|
|
|
(name "steghide")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/steghide/steghide/"
|
|
|
|
|
version "/steghide-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18bxlhbdc3zsmxj84i417xjh0q28kv26q449k23n0a72ldwziix2"))
|
|
|
|
|
(patches (list (search-patch "steghide-fixes.patch")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2016-11-18 12:26:08 -05:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2016-05-17 22:23:21 -04:00
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("perl" ,perl))) ;for tests
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmhash" ,libmhash)
|
|
|
|
|
("libmcrypt" ,libmcrypt)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-05-17 22:23:21 -04:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2017-08-04 18:11:41 -04:00
|
|
|
|
`(#:make-flags '("CXXFLAGS=-fpermissive") ;required for MHashPP.cc
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-perl-search-path
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Work around "dotless @INC" build failure.
|
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
|
(string-append (getcwd) "/tests:"
|
|
|
|
|
(getenv "PERL5LIB")))
|
|
|
|
|
#t)))))
|
2016-05-17 22:23:21 -04:00
|
|
|
|
(home-page "http://steghide.sourceforge.net")
|
|
|
|
|
(synopsis "Image and audio steganography")
|
|
|
|
|
(description
|
2017-06-21 19:21:52 -04:00
|
|
|
|
"Steghide is a program to hide data in various kinds of image and audio
|
|
|
|
|
files (known as @dfn{steganography}). Neither color nor sample frequencies are
|
|
|
|
|
changed, making the embedding resistant against first-order statistical tests.")
|
2016-05-17 22:23:21 -04:00
|
|
|
|
(license license:gpl2+)))
|
2016-09-14 05:22:46 -04:00
|
|
|
|
|
2016-09-25 16:28:32 -04:00
|
|
|
|
(define-public optipng
|
|
|
|
|
(package
|
|
|
|
|
(name "optipng")
|
2018-02-23 08:24:42 -05:00
|
|
|
|
(version "0.7.7")
|
2016-09-25 16:28:32 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://prdownloads.sourceforge.net/optipng/optipng-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-07-31 14:53:47 -04:00
|
|
|
|
"0lj4clb851fzpaq446wgj0sfy922zs5l5misbpwv6w7qrqrz4cjg"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "src/libpng")
|
|
|
|
|
(delete-file-recursively "src/zlib")
|
|
|
|
|
#t))))
|
2016-09-25 16:28:32 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng zlib))
|
2016-09-25 16:28:32 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-02-23 08:24:42 -05:00
|
|
|
|
;; configure script doesn't accept arguments CONFIG_SHELL and SHELL
|
|
|
|
|
(invoke "sh" "configure"
|
2018-07-31 14:53:47 -04:00
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"-with-system-libs")
|
2018-02-23 08:24:42 -05:00
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Optimizer that recompresses PNG image files to a smaller size")
|
2016-09-25 16:28:32 -04:00
|
|
|
|
(description "OptiPNG is a PNG optimizer that recompresses image
|
|
|
|
|
files to a smaller size, without losing any information. This program
|
|
|
|
|
also converts external formats (BMP, GIF, PNM and TIFF) to optimized
|
|
|
|
|
PNG, and performs PNG integrity checks and corrections.")
|
|
|
|
|
(home-page "http://optipng.sourceforge.net/")
|
|
|
|
|
(license license:zlib)))
|
2016-11-25 14:15:17 -05:00
|
|
|
|
|
2021-02-19 21:53:54 -05:00
|
|
|
|
(define-public imgp
|
|
|
|
|
(package
|
|
|
|
|
(name "imgp")
|
|
|
|
|
(version "2.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "imgp" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0q99h9wv9rynig0s0flnr9mxi541zzl0gw8vh4y6m5x132diilri"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; setup.py expects the file to be named 'imgp'.
|
|
|
|
|
(add-after 'unpack 'rename-imgp
|
|
|
|
|
(lambda _
|
|
|
|
|
(rename-file "imgp.py" "imgp")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pillow))
|
2021-02-19 21:53:54 -05:00
|
|
|
|
(home-page "https://github.com/jarun/imgp")
|
|
|
|
|
(synopsis "High-performance CLI batch image resizer & rotator")
|
|
|
|
|
(description
|
|
|
|
|
"@code{imgp} is a command line image resizer and rotator for JPEG and PNG
|
|
|
|
|
images. It can resize (or thumbnail) and rotate thousands of images in a go
|
|
|
|
|
while saving significantly on storage.
|
|
|
|
|
|
|
|
|
|
This package may optionally be built with @code{python-pillow-simd} in place
|
|
|
|
|
of @{python-pillow} for SIMD parallelism.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-09-07 19:15:08 -04:00
|
|
|
|
(define-public pngsuite
|
|
|
|
|
(package
|
|
|
|
|
(name "pngsuite")
|
|
|
|
|
(version "2017jul19")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch/tarbomb)
|
|
|
|
|
(uri (string-append "http://www.schaik.com/pngsuite2011/PngSuite-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j7xgd9iffcnpphhzz9ld9ybrjmx9brhq0803g0450ssr52b5502"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; there is no test target
|
|
|
|
|
#:license-file-regexp "PngSuite.LICENSE"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively "." (string-append out "/"))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "http://www.schaik.com/pngsuite2011/pngsuite.html")
|
|
|
|
|
(synopsis "Example PNGs for use in test suites")
|
|
|
|
|
(description "Collection of graphics images created to test PNG
|
|
|
|
|
applications like viewers, converters and editors. As far as that is
|
|
|
|
|
possible, all formats supported by the PNG standard are represented.")
|
|
|
|
|
(license (license:fsdg-compatible "file://PngSuite.LICENSE" "Permission to
|
|
|
|
|
use, copy, modify and distribute these images for any purpose and without fee
|
|
|
|
|
is hereby granted."))))
|
|
|
|
|
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(define-public libjpeg-turbo
|
|
|
|
|
(package
|
|
|
|
|
(name "libjpeg-turbo")
|
2020-12-08 05:43:40 -05:00
|
|
|
|
(version "2.0.5")
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-02-16 13:54:34 -05:00
|
|
|
|
(uri (string-append "mirror://sourceforge/libjpeg-turbo/"
|
|
|
|
|
version "/libjpeg-turbo-" version ".tar.gz"))
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-08 05:43:40 -05:00
|
|
|
|
"0pbv6pc97kbj7ib31qcwi7lnmm9xg5y3b11aasmkhfjvf7rgdy0n"))))
|
2018-07-28 10:40:37 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list nasm))
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(arguments
|
2020-01-17 13:18:04 -05:00
|
|
|
|
`(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR:PATH=lib"
|
2020-01-26 06:57:56 -05:00
|
|
|
|
"-DENABLE_STATIC=0"
|
2020-04-27 02:45:54 -04:00
|
|
|
|
;; djpeg-shared-3x2-float-prog-cmp fails on 32-bit PPC.
|
|
|
|
|
,@(if (string=? "powerpc-linux" (%current-system))
|
|
|
|
|
`("-DFLOATTEST=NO")
|
|
|
|
|
'())
|
2020-01-26 06:57:56 -05:00
|
|
|
|
;; The build system probes for the current CPU, but
|
|
|
|
|
;; that fails when cross-compiling.
|
|
|
|
|
,@(let ((target (%current-target-system)))
|
|
|
|
|
(if target
|
|
|
|
|
(cond
|
|
|
|
|
((string-prefix? "arm" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=arm"))
|
|
|
|
|
((string-prefix? "aarch64" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=aarch64"))
|
|
|
|
|
((string-prefix? "i686" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=x86"))
|
|
|
|
|
((string-prefix? "x86_64" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=x86_64"))
|
2020-04-27 02:45:54 -04:00
|
|
|
|
;; 32-bit and 64-bit
|
|
|
|
|
((string-prefix? "powerpc" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=powerpc"))
|
2022-03-07 15:38:23 -05:00
|
|
|
|
((string-prefix? "riscv64" target)
|
|
|
|
|
`("-DCMAKE_SYSTEM_PROCESSOR=riscv64"))
|
2020-01-26 06:57:56 -05:00
|
|
|
|
(else '()))
|
|
|
|
|
'())))
|
2020-01-17 13:18:04 -05:00
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'()
|
|
|
|
|
;; Use a special "bootstrap" CMake for the native build to work
|
|
|
|
|
;; around a circular dependency between CMake and this package.
|
2020-01-25 08:19:14 -05:00
|
|
|
|
`(#:cmake ,cmake-bootstrap))))
|
2018-07-25 11:51:35 -04:00
|
|
|
|
(home-page "https://libjpeg-turbo.org/")
|
2016-11-25 14:15:17 -05:00
|
|
|
|
(synopsis "SIMD-accelerated JPEG image handling library")
|
|
|
|
|
(description "libjpeg-turbo is a JPEG image codec that accelerates baseline
|
|
|
|
|
JPEG compression and decompression using SIMD instructions: MMX on x86, SSE2 on
|
|
|
|
|
x86-64, NEON on ARM, and AltiVec on PowerPC processors. Even on other systems,
|
|
|
|
|
its highly-optimized Huffman coding routines allow it to outperform libjpeg by
|
|
|
|
|
a significant amount.
|
|
|
|
|
libjpeg-turbo implements both the traditional libjpeg API and the less powerful
|
|
|
|
|
but more straightforward TurboJPEG API, and provides a full-featured Java
|
|
|
|
|
interface. It supports color space extensions that allow it to compress from
|
|
|
|
|
and decompress to 32-bit and big-endian pixel buffers (RGBX, XBGR, etc.).")
|
2018-07-28 10:41:27 -04:00
|
|
|
|
;; libjpeg-turbo is covered by three different licenses; see LICENSE.md.
|
|
|
|
|
(license (list license:bsd-3 ;the TurboJPEG API library and programs
|
|
|
|
|
license:ijg ;the libjpeg library and associated tools
|
|
|
|
|
license:zlib)))) ;the libjpeg-turbo SIMD extensions
|
2017-03-07 01:59:21 -05:00
|
|
|
|
|
2020-01-17 13:27:36 -05:00
|
|
|
|
(define-deprecated libjpeg libjpeg-turbo)
|
2020-03-28 16:57:52 -04:00
|
|
|
|
(export libjpeg)
|
2020-01-17 13:27:36 -05:00
|
|
|
|
|
2017-03-07 01:59:21 -05:00
|
|
|
|
(define-public niftilib
|
|
|
|
|
(package
|
2017-03-19 09:24:27 -04:00
|
|
|
|
(name "niftilib")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "mirror://sourceforge/niftilib/"
|
|
|
|
|
"nifticlib/nifticlib_"
|
|
|
|
|
(string-join (string-split version #\.) "_")
|
|
|
|
|
"/nifticlib-" version ".tar.gz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "123z9bwzgin5y8gi5ni8j217k7n683whjsvg0lrpii9flgk8isd3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; there is no test target
|
|
|
|
|
#:parallel-build? #f ; not supported
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "SHELL=bash"
|
|
|
|
|
(string-append "ZLIB_INC="
|
|
|
|
|
(assoc-ref %build-inputs "zlib") "/include")
|
|
|
|
|
;; Append "-fPIC" to CFLAGS.
|
|
|
|
|
(string-append "CFLAGS="
|
|
|
|
|
"-Wall -ansi -pedantic -fPIC"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(copy-recursively dir (string-append out "/" dir)))
|
|
|
|
|
'("bin" "lib" "include")))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list zlib))
|
2017-03-19 09:24:27 -04:00
|
|
|
|
(synopsis "Library for reading and writing files in the nifti-1 format")
|
|
|
|
|
(description "Niftilib is a set of i/o libraries for reading and writing
|
2017-03-07 01:59:21 -05:00
|
|
|
|
files in the nifti-1 data format - a binary file format for storing
|
|
|
|
|
medical image data, e.g. magnetic resonance image (MRI) and functional MRI
|
|
|
|
|
(fMRI) brain images.")
|
2017-03-19 09:24:27 -04:00
|
|
|
|
(home-page "http://niftilib.sourceforge.net")
|
|
|
|
|
(license license:public-domain)))
|
2017-07-30 04:56:38 -04:00
|
|
|
|
|
|
|
|
|
(define-public gpick
|
|
|
|
|
(package
|
|
|
|
|
(name "gpick")
|
2021-01-01 12:18:55 -05:00
|
|
|
|
(version "0.2.6")
|
2017-07-30 04:56:38 -04:00
|
|
|
|
(source (origin
|
2018-11-29 16:37:11 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/thezbyg/gpick")
|
2018-11-29 16:37:11 -05:00
|
|
|
|
(commit (string-append name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-07-30 04:56:38 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-01 12:18:55 -05:00
|
|
|
|
"0nl89gca5nmbyycv5rl5bm6k7facapdk4pab9pl949aa3cjw9bk7"))))
|
2017-08-31 07:37:21 -04:00
|
|
|
|
(build-system scons-build-system)
|
2017-07-30 04:56:38 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("boost" ,boost)
|
2020-04-04 09:48:44 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2021-01-01 12:18:55 -05:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("ragel" ,ragel)))
|
2017-07-30 04:56:38 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("gtk2" ,gtk+-2)
|
|
|
|
|
("lua" ,lua-5.2)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2017-08-31 07:37:21 -04:00
|
|
|
|
#:scons ,scons-python2
|
|
|
|
|
#:scons-flags (list (string-append "DESTDIR=" %output))
|
2017-07-30 04:56:38 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-lua-reference
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "SConscript"
|
|
|
|
|
(("lua5.2") "lua-5.2"))
|
2017-08-31 07:37:21 -04:00
|
|
|
|
#t)))))
|
2017-07-30 04:56:38 -04:00
|
|
|
|
(home-page "http://www.gpick.org/")
|
|
|
|
|
(synopsis "Color picker")
|
|
|
|
|
(description "Gpick is an advanced color picker and palette editing tool.")
|
|
|
|
|
(license license:bsd-3)))
|
2018-02-26 17:01:54 -05:00
|
|
|
|
|
|
|
|
|
(define-public libiptcdata
|
|
|
|
|
(package
|
|
|
|
|
(name "libiptcdata")
|
2018-09-23 09:41:01 -04:00
|
|
|
|
(version "1.0.5")
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-09-23 09:41:01 -04:00
|
|
|
|
(uri (string-append "https://github.com/ianw/libiptcdata"
|
|
|
|
|
"/releases/download/release_"
|
|
|
|
|
(string-join (string-split version #\.) "_")
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-09-23 09:41:01 -04:00
|
|
|
|
"17m2bscc76r1bymjgb44fbbfrdsjfqyb2ivg9wchyllm8pgx1560"))))
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-09-23 09:41:01 -04:00
|
|
|
|
(home-page "https://github.com/ianw/libiptcdata")
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(synopsis "IPTC metadata manipulation library")
|
2018-09-17 06:25:56 -04:00
|
|
|
|
(description
|
|
|
|
|
"Libiptcdata is a C library for manipulating the International Press
|
|
|
|
|
Telecommunications Council (@dfn{IPTC}) metadata stored within multimedia files
|
2018-02-26 17:01:54 -05:00
|
|
|
|
such as images. This metadata can include captions and keywords, often used by
|
|
|
|
|
popular photo management applications. The library provides routines for
|
|
|
|
|
parsing, viewing, modifying, and saving this metadata.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2018-03-01 10:51:17 -05:00
|
|
|
|
|
|
|
|
|
(define-public flameshot
|
|
|
|
|
(package
|
|
|
|
|
(name "flameshot")
|
2022-07-12 20:01:21 -04:00
|
|
|
|
(version "12.1.0")
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 16:41:04 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-11-14 11:43:27 -05:00
|
|
|
|
(url "https://github.com/flameshot-org/flameshot")
|
2018-11-29 16:41:04 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-12 20:01:21 -04:00
|
|
|
|
"1p7gqs5vqzbddlgl38lbanchwb14m6lx8f2cn2c5p0vyqwvqqv52"))))
|
2020-11-14 11:43:27 -05:00
|
|
|
|
(build-system qt-build-system)
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
|
(list qttools-5))
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(inputs
|
2022-07-17 01:11:46 -04:00
|
|
|
|
(list qtbase-5 qtsvg-5))
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(arguments
|
2020-11-14 11:43:27 -05:00
|
|
|
|
`(#:tests? #f)) ;no tests
|
|
|
|
|
(home-page "https://github.com/flameshot-org/flameshot")
|
2018-03-01 10:51:17 -05:00
|
|
|
|
(synopsis "Powerful yet simple to use screenshot software")
|
|
|
|
|
(description "Flameshot is a screenshot program.
|
|
|
|
|
Features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Customizable appearance.
|
|
|
|
|
@item Easy to use.
|
|
|
|
|
@item In-app screenshot edition.
|
|
|
|
|
@item DBus interface.
|
|
|
|
|
@item Upload to Imgur.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:gpl3+)))
|
2018-02-17 17:10:29 -05:00
|
|
|
|
|
2021-02-12 07:16:31 -05:00
|
|
|
|
(define-public swappy
|
|
|
|
|
(package
|
|
|
|
|
(name "swappy")
|
2021-09-25 05:44:11 -04:00
|
|
|
|
(version "1.4.0")
|
2021-02-12 07:16:31 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jtheoof/swappy")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-09-25 05:44:11 -04:00
|
|
|
|
(base32 "1s2lp3bz30svqdg6467jvncim0qgl0q1b1nqxnnci6kljbp5g0xh"))))
|
2021-02-12 07:16:31 -05:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config scdoc
|
|
|
|
|
`(,glib "bin"))) ; for 'glib-compile-resources'
|
2021-02-12 07:16:31 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gtk+ libnotify))
|
2021-09-25 09:04:50 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; Needed to properly render the icons.
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list font-awesome))
|
2021-02-12 07:16:31 -05:00
|
|
|
|
(home-page "https://github.com/jtheoof/swappy")
|
|
|
|
|
(synopsis "Grab and edit on the fly snapshots of a Wayland compositor")
|
|
|
|
|
(description
|
|
|
|
|
"@command{swappy} is a command-line utility to take and edit screenshots
|
|
|
|
|
of Wayland desktops. Works great with grim, slurp and sway. But can easily
|
|
|
|
|
work with other screen copy tools that can output a final PNG image to
|
|
|
|
|
stdout.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-05-20 08:09:13 -04:00
|
|
|
|
(define-public gifsicle
|
|
|
|
|
(package
|
|
|
|
|
(name "gifsicle")
|
2021-06-30 23:18:38 -04:00
|
|
|
|
(version "1.93")
|
2018-05-20 08:09:13 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-04-22 17:56:38 -04:00
|
|
|
|
(uri (string-append "https://www.lcdf.org/gifsicle/gifsicle-"
|
2018-05-20 08:09:13 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-06-30 23:18:38 -04:00
|
|
|
|
(base32 "0irljjm76anicsm5rfkpqxd6x105aa8f0sky13dc3x1bfdwp1xlj"))))
|
2018-05-20 08:09:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/testie"
|
|
|
|
|
(("/usr/bin/perl")
|
|
|
|
|
(which "perl"))
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(which "sh"))
|
|
|
|
|
(("/bin/rm")
|
|
|
|
|
(which "rm")))
|
|
|
|
|
#t)))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list perl)) ; only for tests
|
|
|
|
|
(inputs (list libx11))
|
2019-04-22 17:56:38 -04:00
|
|
|
|
(home-page "https://www.lcdf.org/gifsicle/")
|
2018-05-20 08:09:13 -04:00
|
|
|
|
(synopsis "Edit GIF images and animations")
|
|
|
|
|
(description "Gifsicle is a command-line GIF image manipulation tool that:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Provides a batch mode for changing GIFs in place.
|
|
|
|
|
@item Prints detailed information about GIFs, including comments.
|
|
|
|
|
@item Control over interlacing, comments, looping, transparency, etc.
|
|
|
|
|
@item Creates well-behaved GIFs: removes redundant colors, only uses local color
|
|
|
|
|
tables, etc.
|
|
|
|
|
@item Shrinks colormaps and change images to use the Web-safe palette.
|
|
|
|
|
@item Optimizes GIF animations, or unoptimizes them for easier editing.
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
Two other programs are included with Gifsicle: @command{gifview} is a
|
|
|
|
|
lightweight animated-GIF viewer, and @command{gifdiff} compares two GIFs for
|
|
|
|
|
identical visual appearance.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-10-25 06:28:16 -04:00
|
|
|
|
|
2019-12-03 04:02:34 -05:00
|
|
|
|
;; 1.0.7 is buggy and reverted in git repository.
|
2018-10-25 06:28:16 -04:00
|
|
|
|
(define-public jp2a
|
|
|
|
|
(package
|
|
|
|
|
(name "jp2a")
|
2019-12-03 04:02:34 -05:00
|
|
|
|
(version "1.0.6")
|
2018-10-25 06:28:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-12-03 04:02:34 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://debian/pool/main/j/jp2a/jp2a_"
|
|
|
|
|
version ".orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"076frk3pa16s4r1b10zgy81vdlz0385zh3ykbnkaij25jn5aqc09"))))
|
2018-10-25 06:28:16 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list curl libjpeg-turbo ncurses))
|
2018-10-25 06:28:16 -04:00
|
|
|
|
(home-page "https://csl.name/jp2a/")
|
|
|
|
|
(synopsis "Convert JPEG images to ASCII")
|
|
|
|
|
(description
|
|
|
|
|
"Jp2a is a small utility that converts JPEG images to ASCII.")
|
|
|
|
|
(license license:gpl2)))
|
2018-12-20 02:56:49 -05:00
|
|
|
|
|
|
|
|
|
(define-public grim
|
|
|
|
|
(package
|
2018-12-20 06:54:19 -05:00
|
|
|
|
(name "grim")
|
2022-02-08 21:09:59 -05:00
|
|
|
|
(version "1.4.0")
|
2018-12-20 06:54:19 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-02-19 09:12:18 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/emersion/grim")
|
2019-02-19 09:12:18 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-12-20 06:54:19 -05:00
|
|
|
|
(sha256
|
2022-02-08 21:09:59 -05:00
|
|
|
|
(base32 "1b1k5cmmk7gzis0rncyl98lnhdwpjkdsv9pada5mmgxcpka6f0lp"))))
|
2018-12-20 06:54:19 -05:00
|
|
|
|
(build-system meson-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list pkg-config scdoc))
|
2022-02-08 21:09:59 -05:00
|
|
|
|
(inputs (list pixman libpng libjpeg-turbo wayland wayland-protocols))
|
2018-12-20 06:54:19 -05:00
|
|
|
|
(home-page "https://github.com/emersion/grim")
|
|
|
|
|
(synopsis "Create screenshots from a Wayland compositor")
|
|
|
|
|
(description "grim can create screenshots from a Wayland compositor.")
|
|
|
|
|
;; MIT license.
|
|
|
|
|
(license license:expat)))
|
2019-01-07 02:29:20 -05:00
|
|
|
|
|
|
|
|
|
(define-public slurp
|
|
|
|
|
(package
|
|
|
|
|
(name "slurp")
|
2021-04-19 07:59:50 -04:00
|
|
|
|
(version "1.3.2")
|
2019-01-07 02:29:20 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/emersion/slurp")
|
2019-01-07 02:29:20 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-04-19 07:59:50 -04:00
|
|
|
|
(base32 "00dx6ds1227qnxqrw58k0am78q8fa49rgp1zingrkjcbpbi7g475"))))
|
2019-01-07 02:29:20 -05:00
|
|
|
|
(build-system meson-build-system)
|
2020-11-19 18:32:45 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config scdoc))
|
2020-11-19 18:32:45 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list cairo libxkbcommon wayland wayland-protocols))
|
2019-01-07 02:29:20 -05:00
|
|
|
|
(home-page "https://github.com/emersion/slurp")
|
|
|
|
|
(synopsis "Select a region in a Wayland compositor")
|
|
|
|
|
(description "Slurp can select a region in a Wayland compositor and print it
|
|
|
|
|
to the standard output. It works well together with grim.")
|
|
|
|
|
(license license:expat)))
|
2019-09-06 19:48:40 -04:00
|
|
|
|
|
|
|
|
|
(define-public sng
|
|
|
|
|
(package
|
|
|
|
|
(name "sng")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/sng/sng-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "06a6ydvx9xb3vxvrzdrg3hq0rjwwj9ibr7fyyxjxq6qx1j3mb70i"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'link-pngsuite
|
|
|
|
|
;; tests expect pngsuite in source dir
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(symlink (assoc-ref inputs "pngsuite") "pngsuite")
|
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "--with-rgbtxt="
|
|
|
|
|
(assoc-ref %build-inputs "xorg-rgb")
|
|
|
|
|
"/share/X11/rgb.txt"))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list xorg-rgb libpng))
|
|
|
|
|
(native-inputs (list pngsuite))
|
2019-09-06 19:48:40 -04:00
|
|
|
|
(home-page "http://sng.sourceforge.net")
|
|
|
|
|
(synopsis "Markup language for representing PNG contents")
|
|
|
|
|
(description "SNG (Scriptable Network Graphics) is a minilanguage designed
|
|
|
|
|
specifically to represent the entire contents of a PNG (Portable Network
|
|
|
|
|
Graphics) file in an editable form. Thus, SNGs representing elaborate
|
|
|
|
|
graphics images and ancillary chunk data can be readily generated or modified
|
|
|
|
|
using only text tools.
|
|
|
|
|
|
|
|
|
|
SNG is implemented by a compiler/decompiler called sng that
|
|
|
|
|
losslessly translates between SNG and PNG.")
|
|
|
|
|
(license license:zlib)))
|
2020-02-16 16:21:32 -05:00
|
|
|
|
|
2021-01-20 11:56:04 -05:00
|
|
|
|
(define-public blurhash
|
|
|
|
|
(package
|
|
|
|
|
(name "blurhash")
|
|
|
|
|
(version "0.0.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Nheko-Reborn/blurhash")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jy2iigarskwfhskyladbb6l92x1fb3i3vz4bvcks0za4w5hfxk5"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-16 17:55:05 -05:00
|
|
|
|
(list cmake doctest))
|
2021-01-20 11:56:04 -05:00
|
|
|
|
(home-page "https://github.com/Nheko-Reborn/blurhash")
|
|
|
|
|
(synopsis "C++ blurhash encoder/decoder")
|
|
|
|
|
(description "Simple encoder and decoder for blurhashes. Contains a
|
|
|
|
|
command line program as well as a shared library.")
|
|
|
|
|
(license license:boost1.0)))
|
|
|
|
|
|
2020-02-16 16:21:32 -05:00
|
|
|
|
(define-public lodepng
|
|
|
|
|
;; There are no tags in the repository, so we take the version as defined in
|
|
|
|
|
;; lodepng.cpp.
|
|
|
|
|
(let ((commit "48e5364ef48ec2408f44c727657ac1b6703185f8")
|
|
|
|
|
(revision "1")
|
|
|
|
|
(version "20200215"))
|
|
|
|
|
(package
|
|
|
|
|
(name "lodepng")
|
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/lvandeve/lodepng")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1a1x8ag2scanzb2066jm9hg2y9kaa3wmpgmz10l1x9bkpik612lw"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CXXFLAGS" "-fPIC")
|
|
|
|
|
(invoke "make" "lodepng.o")
|
|
|
|
|
(invoke "make" "lodepng_util.o")
|
|
|
|
|
(invoke "g++" "-fPIC" "-O3"
|
|
|
|
|
"-o" "liblodepng.so"
|
|
|
|
|
"-shared" "lodepng.o" "lodepng_util.o")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "unittest")
|
|
|
|
|
(invoke "./unittest")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(install-file "lodepng.h" include)
|
|
|
|
|
(install-file "lodepng_util.h" include)
|
|
|
|
|
(install-file "liblodepng.so" lib)
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://lodev.org/lodepng/")
|
|
|
|
|
(synopsis "PNG encoder and decoder in C and C++, without dependencies")
|
|
|
|
|
(description "LodePNG is a PNG image decoder and encoder, all in one,
|
|
|
|
|
no dependency or linkage required. It's made for C (ISO C90), and has a C++
|
|
|
|
|
wrapper with a more convenient interface on top.")
|
|
|
|
|
(license license:zlib))))
|
2020-02-28 15:39:50 -05:00
|
|
|
|
|
|
|
|
|
(define-public icoutils
|
|
|
|
|
(package
|
|
|
|
|
(name "icoutils")
|
|
|
|
|
(version "0.32.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://savannah/icoutils/icoutils-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1q66cksms4l62y0wizb8vfavhmf7kyfgcfkynil3n99s0hny1aqp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libpng perl))
|
2020-02-28 15:39:50 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl-libwww))
|
2020-02-28 15:39:50 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/icoutils/")
|
|
|
|
|
(synopsis "Extract and convert bitmaps from Windows icon and cursor files")
|
|
|
|
|
(description "Icoutils are a set of program for extracting and converting
|
|
|
|
|
bitmaps from Microsoft Windows icon and cursor files. These files usually
|
|
|
|
|
have the extension @code{.ico} or @code{.cur}, but they can also be embedded
|
|
|
|
|
in executables and libraries (@code{.dll}-files). (Such embedded files are
|
|
|
|
|
referred to as resources.)
|
|
|
|
|
|
|
|
|
|
Conversion of these files to and from PNG images is done @command{icotool}.
|
|
|
|
|
@command{extresso} automates these tasks with the help of special resource
|
|
|
|
|
scripts. Resources such can be extracted from MS Windows executable and
|
|
|
|
|
library files with @command{wrestool}.
|
|
|
|
|
|
|
|
|
|
This package can be used to create @code{favicon.ico} files for web sites.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-02-29 14:12:43 -05:00
|
|
|
|
|
|
|
|
|
(define-public libavif
|
|
|
|
|
(package
|
|
|
|
|
(name "libavif")
|
2021-06-28 21:55:54 -04:00
|
|
|
|
(version "0.9.2")
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/AOMediaCodec/libavif")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-06-28 21:55:54 -04:00
|
|
|
|
"1yxmgjlxm1srm98zyj79bj8r8vmg67daqnq0ggcvxknq54plkznk"))))
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
|
2021-11-07 23:26:04 -05:00
|
|
|
|
,@(if (string-prefix? "x86_64"
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("-DAVIF_CODEC_RAV1E=ON")
|
|
|
|
|
'())
|
2020-02-29 14:12:43 -05:00
|
|
|
|
"-DAVIF_BUILD_TESTS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-04-18 14:42:53 -04:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "./aviftest" "../source/tests/data")))
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(add-after 'install 'install-readme
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-04-18 14:42:53 -04:00
|
|
|
|
(doc (string-append out "/share/doc/libavif-" ,version)))
|
2021-11-07 23:26:04 -05:00
|
|
|
|
(install-file "../source/README.md" doc)))))))
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(inputs
|
2020-12-24 18:55:29 -05:00
|
|
|
|
`(("dav1d" ,dav1d)
|
|
|
|
|
("libaom" ,libaom)
|
2021-11-07 23:26:04 -05:00
|
|
|
|
;; XXX: rav1e depends on rust, which currently only works on x86_64.
|
|
|
|
|
;; See also the related configure flag when changing this.
|
|
|
|
|
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
`(("rav1e" ,rav1e))
|
|
|
|
|
'())))
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(synopsis "Encode and decode AVIF files")
|
2020-06-06 00:37:37 -04:00
|
|
|
|
(description "Libavif is a C implementation of @acronym{AVIF, the AV1 Image
|
|
|
|
|
File Format}. It can encode and decode all YUV formats and bit depths supported
|
|
|
|
|
by AOM, including with alpha.")
|
2020-02-29 14:12:43 -05:00
|
|
|
|
(home-page "https://github.com/AOMediaCodec/libavif")
|
|
|
|
|
(license (list license:bsd-2 ; libavif itself
|
|
|
|
|
license:expat)))) ; cJSON in the test suite
|
2020-04-04 13:33:25 -04:00
|
|
|
|
|
2021-03-22 00:29:40 -04:00
|
|
|
|
(define-public libheif
|
|
|
|
|
(package
|
|
|
|
|
(name "libheif")
|
2021-06-05 21:46:40 -04:00
|
|
|
|
(version "1.12.0")
|
2021-03-22 00:29:40 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/strukturag/libheif")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-05 21:46:40 -04:00
|
|
|
|
(base32 "0cp2d216hp7gw3n56x3g5q5n8jb9ganyanrlibxw8fw16il8nca6"))))
|
2021-03-22 00:29:40 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;no test target although there is a tests folder
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2021-03-22 00:29:40 -04:00
|
|
|
|
(inputs
|
2021-07-11 10:15:10 -04:00
|
|
|
|
`(("gdk-pixbuf" ,gdk-pixbuf) ;optional
|
2021-03-22 00:29:40 -04:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2021-07-11 10:15:10 -04:00
|
|
|
|
("libpng" ,libpng)))
|
|
|
|
|
;; Propagated to satisfy 'libheif.pc'.
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list dav1d libaom libde265 x265))
|
2021-03-22 00:29:40 -04:00
|
|
|
|
(home-page "https://github.com/strukturag/libheif")
|
|
|
|
|
(synopsis "HEIF and AVIF file format decoder and encoder")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libheif} is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
|
|
|
|
|
Format) file format decoder and encoder.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2021-12-26 19:28:41 -05:00
|
|
|
|
(define-public libjxl
|
2022-06-14 15:20:28 -04:00
|
|
|
|
(let ((commit "b7076f1869914eee47b3eae107750f3a3ce43a76")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "libjxl")
|
|
|
|
|
(version (git-version "0.6.1" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libjxl/libjxl")
|
|
|
|
|
(commit commit)
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jx0hkd2nk15mmnzlk7y7fp644w336il7nsnp5yhf14j8zfaiqz8"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete the bundles that will not be used. libjxl bundles LCMS,
|
|
|
|
|
;; which is in Guix, but a newer version is required.
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each (lambda (directory)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "third_party/" directory)))
|
|
|
|
|
'("brotli" "googletest" "highway"))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DJPEGXL_FORCE_SYSTEM_GTEST=true"
|
|
|
|
|
"-DJPEGXL_FORCE_SYSTEM_BROTLI=true"
|
|
|
|
|
;; "-DJPEGXL_FORCE_SYSTEM_LCMS2=true" ; requires lcms@2.13
|
|
|
|
|
"-DJPEGXL_FORCE_SYSTEM_HWY=true")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list asciidoc doxygen googletest pkg-config python))
|
|
|
|
|
(inputs
|
|
|
|
|
(list freeglut
|
|
|
|
|
gflags
|
|
|
|
|
giflib
|
|
|
|
|
google-brotli
|
|
|
|
|
google-highway
|
|
|
|
|
imath
|
|
|
|
|
;; lcms ; requires lcms@2.13
|
|
|
|
|
libavif
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libwebp
|
|
|
|
|
openexr))
|
|
|
|
|
(home-page "https://github.com/libjxl/libjxl")
|
|
|
|
|
(synopsis "JPEG XL image format reference implementation")
|
|
|
|
|
(description "This package contains a reference implementation of JPEG XL
|
2021-12-26 19:28:41 -05:00
|
|
|
|
(encoder and decoder).")
|
2022-06-14 15:20:28 -04:00
|
|
|
|
(license license:bsd-3))))
|
2021-12-26 19:28:41 -05:00
|
|
|
|
|
2020-04-04 13:33:25 -04:00
|
|
|
|
(define-public mtpaint
|
2020-06-06 00:04:21 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "mtpaint")
|
|
|
|
|
;; The author neither releases tarballs nor uses git version tags.
|
|
|
|
|
;; Instead, author puts version in git commit title.
|
2020-11-23 15:35:03 -05:00
|
|
|
|
(version "3.49.33")
|
2020-06-06 00:04:21 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wjaguar/mtPaint")
|
2020-11-23 15:35:03 -05:00
|
|
|
|
(commit "5272e2b1e773c8e02ac3506b2d3bde82ad946b21")))
|
2020-06-06 00:04:21 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-23 15:35:03 -05:00
|
|
|
|
(base32 "1bmq4m0dxczl18n1yiqb75g05a4c3pal1vdcyypkilx7ijsr0cmc"))))
|
2020-06-06 00:04:21 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("imlib2" ,imlib2)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libpng" ,libpng)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
|
("libungif" ,libungif)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2020-06-06 00:04:21 -04:00
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("openjpeg" ,openjpeg)
|
|
|
|
|
("lcms" ,lcms)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
|
("zlib" ,zlib)
|
2020-06-06 00:04:21 -04:00
|
|
|
|
("glib" ,glib)
|
|
|
|
|
;; Support for gtk3 is in the testing stage.
|
|
|
|
|
("gtk+" ,gtk+-2)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "intl" ; build internationalized version
|
|
|
|
|
"man") ; build the man page
|
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(home-page "http://mtpaint.sourceforge.net/")
|
|
|
|
|
(synopsis "Create pixel art and manipulate digital images")
|
|
|
|
|
(description
|
|
|
|
|
"Mtpaint is a graphic editing program which uses the GTK+ toolkit.
|
2020-04-04 13:33:25 -04:00
|
|
|
|
It can create and edit indexed palette or 24bit RGB images, offers basic
|
|
|
|
|
painting and palette manipulation tools. It also handles JPEG, JPEG2000,
|
|
|
|
|
GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
|
2020-06-06 00:04:21 -04:00
|
|
|
|
(license license:gpl3+)))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
|
2020-05-01 06:21:55 -04:00
|
|
|
|
(define-public mypaint
|
|
|
|
|
(package
|
|
|
|
|
(name "mypaint")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mypaint/mypaint/"
|
|
|
|
|
"releases/download/v" version "/mypaint-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05mvay73vb9d2sh1ckv4vny45n059dmsps1jcppjizfmrpbkgr7k"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:imported-modules ((guix build glib-or-gtk-build-system)
|
|
|
|
|
,@%python-build-system-modules)
|
|
|
|
|
#:modules ((guix build python-build-system)
|
|
|
|
|
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'glib-or-gtk-wrap
|
|
|
|
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gdk-pixbuf (assoc-ref inputs "gdk-pixbuf"))
|
|
|
|
|
(gtk+ (assoc-ref inputs "gtk+")))
|
|
|
|
|
(wrap-program (string-append out "/bin/mypaint")
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix
|
|
|
|
|
(,(getenv "GI_TYPELIB_PATH"))))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests need writing access
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("gettext" ,gettext-minimal)))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gtk+
|
|
|
|
|
librsvg
|
|
|
|
|
hicolor-icon-theme
|
|
|
|
|
libmypaint
|
|
|
|
|
mypaint-brushes
|
|
|
|
|
json-c
|
|
|
|
|
lcms
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pycairo
|
|
|
|
|
python-pygobject))
|
2020-05-01 06:21:55 -04:00
|
|
|
|
(home-page "http://mypaint.org/")
|
|
|
|
|
(synopsis "Fast and simple painting app for artists")
|
|
|
|
|
(description
|
|
|
|
|
"MyPaint is a simple drawing and painting program that works well with
|
|
|
|
|
Wacom-style graphics tablets.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(define-public phockup
|
|
|
|
|
(package
|
|
|
|
|
(name "phockup")
|
2022-07-25 15:16:25 -04:00
|
|
|
|
(version "1.9.0")
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ivandokov/phockup")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-25 15:16:25 -04:00
|
|
|
|
"1xs2h3nj19wsfffl87akinx14drk5nn2svjwyj0csv10apk0q4pp"))))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:install-plan '(("src" "share/phockup/")
|
|
|
|
|
("phockup.py" "share/phockup/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* (list "src/dependency.py" "src/exif.py")
|
2022-07-25 15:11:32 -04:00
|
|
|
|
(("'exiftool'")
|
|
|
|
|
(string-append "'" (search-input-file inputs "/bin/exiftool") "'")))))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(add-before 'install 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "pytest")))
|
|
|
|
|
(add-after 'install 'install-bin
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir (string-append out "/bin"))
|
|
|
|
|
(symlink (string-append out "/share/phockup/phockup.py")
|
2021-10-19 15:38:08 -04:00
|
|
|
|
(string-append out "/bin/phockup")))))
|
|
|
|
|
(add-after 'install-bin 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/phockup")
|
2021-10-31 06:47:14 -04:00
|
|
|
|
`("GUIX_PYTHONPATH" prefix
|
2021-10-19 15:38:08 -04:00
|
|
|
|
,(search-path-as-string->list
|
2021-10-31 06:47:14 -04:00
|
|
|
|
(getenv "GUIX_PYTHONPATH"))))))))))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(inputs
|
2022-07-25 15:13:05 -04:00
|
|
|
|
(list bash-minimal perl-image-exiftool python python-tqdm))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pytest python-pytest-mock))
|
2020-06-15 17:20:24 -04:00
|
|
|
|
(home-page "https://github.com/ivandokov/phockup")
|
|
|
|
|
(synopsis "Organize photos and videos in folders")
|
|
|
|
|
(description "Phockup is a media sorting tool that uses creation date and
|
|
|
|
|
time information in photos and videos to organize them into folders by year,
|
|
|
|
|
month and day. All files which are not images or videos or those which do not
|
|
|
|
|
have creation date information will be placed in a folder called
|
|
|
|
|
@file{unknown}.")
|
|
|
|
|
(license license:expat)))
|
2022-08-07 07:29:03 -04:00
|
|
|
|
|
|
|
|
|
(define-public spng
|
|
|
|
|
(package
|
|
|
|
|
(name "spng")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/randy408/libspng")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0src9ii9w9afz2vgridn9r38pa6888myk28x2bjw0ynw5xcd62hs"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs (list zlib))
|
|
|
|
|
(native-inputs (list libpng))
|
|
|
|
|
(home-page "https://libspng.org")
|
|
|
|
|
(synopsis "Simple PNG loading library")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libspng} is a simple C library for loading Portable Network
|
|
|
|
|
Graphics (PNGs), intended as an easy-to-use replacement for @code{libpng}.")
|
|
|
|
|
(license license:bsd-2)
|
|
|
|
|
;; Supports SSE on x86-64 and NEON on AArch64.
|
|
|
|
|
(properties '((tunable? . #t)))))
|