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 14:39:02 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-05-29 11:47:59 +02:00
|
|
|
|
;;; Copyright © 2013, 2017 Ludovic Courtès <ludo@gnu.org>
|
2016-03-05 00:30:56 +01:00
|
|
|
|
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2016-01-21 06:28:03 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2015-04-27 19:56:00 +02:00
|
|
|
|
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
|
2018-06-06 13:14:23 +02:00
|
|
|
|
;;; Copyright © 2014, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2015-03-05 15:45:01 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2015-11-13 15:09:08 +01:00
|
|
|
|
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
|
2017-03-07 07:59:21 +01:00
|
|
|
|
;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
|
2018-02-26 23:01:54 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Leo Famulari <leo@famulari.name>
|
2018-02-24 21:00:05 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2018-02-23 14:24:42 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-05-18 04:23:21 +02:00
|
|
|
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
2017-08-31 13:37:21 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
|
2017-08-28 04:27:56 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* 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/emacs.scm, gnu/packages/enlightenment.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm,
gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm,
gnu/packages/image-viewers.scm, gnu/packages/image.scm,
gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm,
gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm,
gnu/packages/music.scm, gnu/packages/ncurses.scm,
gnu/packages/networking.scm, gnu/packages/nickle.scm,
gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-crypto.scm, gnu/packages/python-web.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: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 16:39:45 +01:00
|
|
|
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
2017-05-07 19:23:56 +02:00
|
|
|
|
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-07-30 10:56:38 +02:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2018-02-17 23:10:29 +01:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2018-05-12 12:11:29 +02: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 14:46:26 +02:00
|
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
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 14:39:02 +02: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 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-11-25 20:15:17 +01:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2015-03-21 19:41:54 +01:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-03-13 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
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 21:42:23 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
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 14:39:02 +02: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-13 02:18:15 +02:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2014-09-09 11:48:44 +02:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-11-23 06:14:29 +01:00
|
|
|
|
;; To provide gcc@5 and gcc@6, to work around <http://bugs.gnu.org/24703>.
|
|
|
|
|
#:use-module (gnu packages gcc)
|
2016-05-18 04:23:21 +02:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-03-13 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2015-03-21 19:40:21 +01:00
|
|
|
|
#:use-module (gnu packages gl)
|
2016-12-02 10:24:40 +01:00
|
|
|
|
#:use-module (gnu packages glib)
|
2015-09-04 21:19:51 +02:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2017-07-30 10:56:38 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2015-03-13 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages maths)
|
2016-05-18 04:23:21 +02:00
|
|
|
|
#:use-module (gnu packages mcrypt)
|
2015-03-13 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
2018-04-13 08:45:55 +02:00
|
|
|
|
#:use-module (gnu packages photo)
|
2014-09-09 11:48:44 +02:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-03-13 10:33:42 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2014-09-09 11:48:44 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
2014-09-25 10:27:25 +02:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-03-01 16:51:17 +01:00
|
|
|
|
#:use-module (gnu packages qt)
|
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 22:44:22 +02: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 14:39:02 +02:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2016-09-14 11:22:46 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2014-09-15 07:56:22 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2014-09-29 21:46:12 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2017-07-30 10:56:38 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-08-14 19:44:11 +02:00
|
|
|
|
#:use-module (guix build-system r)
|
2017-08-31 13:37:21 +02:00
|
|
|
|
#:use-module (guix build-system scons)
|
2014-09-29 21:46:12 +02: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 14:39:02 +02:00
|
|
|
|
|
|
|
|
|
(define-public libpng
|
|
|
|
|
(package
|
|
|
|
|
(name "libpng")
|
2017-10-05 16:47:22 +02:00
|
|
|
|
(version "1.6.34")
|
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 14:39:02 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-09-11 18:14:42 +02:00
|
|
|
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
2015-11-18 23:47:17 +01:00
|
|
|
|
version "/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
2017-02-20 08:03:04 +01: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 14:39:02 +02:00
|
|
|
|
(sha256
|
2017-04-07 05:19:11 +02:00
|
|
|
|
(base32
|
2017-10-05 16:47:22 +02:00
|
|
|
|
"1xjr0v34fyjgnhvaa1zixcpx5yvxcg4zwvfh0fyklfyfj86rc7ig"))))
|
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 14:39:02 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
|
|
|
|
;; libpng.la says "-lz", so propagate it.
|
|
|
|
|
(propagated-inputs `(("zlib" ,zlib)))
|
|
|
|
|
|
|
|
|
|
(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 06:46:59 +02: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 14:39:02 +02:00
|
|
|
|
(license license:zlib)
|
|
|
|
|
(home-page "http://www.libpng.org/pub/png/libpng.html")))
|
|
|
|
|
|
2017-08-01 17:37:28 +02:00
|
|
|
|
;; libpng-apng should be updated when the APNG patch is released:
|
|
|
|
|
;; <https://bugs.gnu.org/27556>
|
2017-01-10 21:49:30 +01:00
|
|
|
|
(define-public libpng-apng
|
|
|
|
|
(package
|
|
|
|
|
(name "libpng-apng")
|
2017-08-01 17:37:28 +02:00
|
|
|
|
(version "1.6.28")
|
|
|
|
|
(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
|
|
|
|
|
"0ylgyx93hnk38haqrh8prd3ax5ngzwvjqw5cxw7p9nxmwsfyrlyq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-01-10 21:49:30 +01:00
|
|
|
|
(arguments
|
2017-08-02 17:16:30 +02:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2017-01-10 21:49:30 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-apng
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(define (apply-patch file)
|
|
|
|
|
(zero? (system* "patch" "-p1" "--force"
|
|
|
|
|
"--input" file)))
|
|
|
|
|
(let ((apng.gz (assoc-ref inputs "apng")))
|
|
|
|
|
(format #t "Applying APNG patch '~a'...~%"
|
|
|
|
|
apng.gz)
|
2017-08-02 17:16:30 +02:00
|
|
|
|
(and
|
|
|
|
|
(zero?
|
|
|
|
|
(system (string-append "gunzip < " apng.gz " > the-patch")))
|
|
|
|
|
(apply-patch "the-patch")))))
|
2017-01-10 21:49:30 +01: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
|
2017-08-01 17:37:28 +02:00
|
|
|
|
"0m5nv70n9903x3xzxw9qqc6sgf2rp106ha0x6gix0xf8wcrljaab"))))))
|
2017-01-10 21:49:30 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libtool" ,libtool)))
|
2017-08-01 17:37:28 +02:00
|
|
|
|
;; libpng.la says "-lz", so propagate it.
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
2017-01-10 21:49:30 +01: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 17:37:28 +02:00
|
|
|
|
(home-page "https://sourceforge.net/projects/libpng-apng/")
|
|
|
|
|
(license license:zlib)))
|
2017-01-10 21:49:30 +01:00
|
|
|
|
|
2016-04-13 21:30:28 +02:00
|
|
|
|
(define-public libpng-1.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit libpng)
|
2017-10-05 16:42:07 +02:00
|
|
|
|
(version "1.2.59")
|
2016-04-13 21:30:28 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng12/"
|
|
|
|
|
version "/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
2017-02-20 08:03:04 +01:00
|
|
|
|
"/libpng12/libpng-" version ".tar.xz")
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
|
2016-04-13 21:30:28 +02:00
|
|
|
|
"/libpng12/libpng-" version ".tar.xz")))
|
|
|
|
|
(sha256
|
2017-10-05 16:42:07 +02:00
|
|
|
|
(base32
|
|
|
|
|
"1izw9ybm27llk8531w6h4jp4rk2rxy2s9vil16nwik5dp0amyqxl"))))))
|
2016-04-13 21:30:28 +02:00
|
|
|
|
|
2017-08-14 19:44:11 +02:00
|
|
|
|
(define-public r-png
|
|
|
|
|
(package
|
|
|
|
|
(name "r-png")
|
|
|
|
|
(version "0.1-7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "png" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0g2mcp55lvvpx4kd3mn225mpbxqcq73wy5qx8b4lyf04iybgysg2"))))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://www.rforge.net/png/")
|
|
|
|
|
(synopsis "Read and write PNG images")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides an easy and simple way to read, write and display
|
|
|
|
|
bitmap images stored in the PNG format. It can read and write both files and
|
|
|
|
|
in-memory raw vectors.")
|
|
|
|
|
;; Any of these GPL versions.
|
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|
|
|
|
|
|
2017-11-25 20:51:11 +01:00
|
|
|
|
(define-public pngcrush
|
2017-05-07 19:23:56 +02:00
|
|
|
|
(package
|
2017-11-25 20:51:11 +01:00
|
|
|
|
(name "pngcrush")
|
|
|
|
|
(version "1.8.13")
|
2017-05-07 19:23:56 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/pmt/pngcrush/"
|
2017-11-25 20:51:11 +01:00
|
|
|
|
version "/pngcrush-" version "-nolib.tar.xz"))
|
2017-05-07 19:23:56 +02:00
|
|
|
|
(sha256 (base32
|
2017-11-25 20:51:11 +01:00
|
|
|
|
"0l43c59d6v9l0g07z3q3ywhb8xb3vz74llv3mna0izk9bj6aqkiv"))))
|
2017-05-07 19:23:56 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-11-25 20:51:11 +01:00
|
|
|
|
'(#:tests? #f ; no check target
|
2017-05-07 19:23:56 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-11-25 20:51:11 +01:00
|
|
|
|
(substitute* "Makefile"
|
2017-05-07 19:23:56 +02: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/")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("zlib" , zlib)))
|
2017-11-25 20:51:11 +01:00
|
|
|
|
(home-page "https://pmt.sourceforge.io/pngcrush")
|
2017-05-07 19:23:56 +02:00
|
|
|
|
(synopsis "Utility to compress PNG files")
|
|
|
|
|
(description "pngcrusqh is an optimizer for PNG (Portable Network Graphics)
|
|
|
|
|
files. It can compress them as much as 40% losslessly.")
|
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2017-11-25 20:51:11 +01:00
|
|
|
|
(define-public pngcrunch
|
|
|
|
|
;; This package used to be wrongfully name "pngcrunch".
|
|
|
|
|
(deprecated-package "pngcrunch" pngcrush))
|
|
|
|
|
|
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 14:39:02 +02:00
|
|
|
|
(define-public libjpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "libjpeg")
|
2018-05-01 03:34:47 +02:00
|
|
|
|
(version "9c")
|
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 14:39:02 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ijg.org/files/jpegsrc.v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
2018-05-01 03:34:47 +02:00
|
|
|
|
"08kixcf3a7s9x91174abjnk1xbvj4v8crdc73zi4k9h3jfbm00k5"))))
|
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 14:39:02 +02: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 06:46:59 +02: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 14:39:02 +02:00
|
|
|
|
(description
|
|
|
|
|
"Libjpeg implements JPEG image encoding, decoding, and transcoding.
|
|
|
|
|
JPEG is a standardized compression method for full-color and gray-scale
|
|
|
|
|
images.
|
|
|
|
|
The included programs provide conversion between the JPEG format and
|
|
|
|
|
image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.")
|
|
|
|
|
(license license:ijg)
|
|
|
|
|
(home-page "http://www.ijg.org/")))
|
|
|
|
|
|
|
|
|
|
(define-public libjpeg-8
|
|
|
|
|
(package (inherit libjpeg)
|
|
|
|
|
(version "8d")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ijg.org/files/jpegsrc.v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
|
|
|
|
"1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"))))))
|
2015-11-13 15:09:08 +01:00
|
|
|
|
|
2016-11-03 18:36:02 +01: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)
|
|
|
|
|
(arguments '(#:make-flags '("CC=gcc")
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
;; 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$"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file bin)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
'("JxrDecApp" "JxrEncApp")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(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 15:09:08 +01:00
|
|
|
|
(define-public jpegoptim
|
|
|
|
|
(package
|
|
|
|
|
(name "jpegoptim")
|
2018-08-11 18:37:28 +02:00
|
|
|
|
(version "1.4.6")
|
2015-11-13 15:09:08 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.kokkonen.net/tjko/src/jpegoptim-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
2018-08-11 18:37:28 +02:00
|
|
|
|
"1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8"))))
|
2015-11-13 15:09:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("libjpeg" ,libjpeg)))
|
|
|
|
|
(arguments
|
2018-08-11 18:37:28 +02:00
|
|
|
|
'(#:tests? #f)) ; no tests
|
2015-11-13 15:09:08 +01: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-05 05:35:11 +02: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 14:39:02 +02:00
|
|
|
|
|
2016-09-02 21:53:56 +02: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
|
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("jasper" ,jasper)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #t)) ; No tests.
|
|
|
|
|
(home-page "http://icns.sourceforge.net/")
|
|
|
|
|
(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 14:39:02 +02:00
|
|
|
|
(define-public libtiff
|
|
|
|
|
(package
|
|
|
|
|
(name "libtiff")
|
2017-11-30 22:33:24 +01:00
|
|
|
|
(version "4.0.9")
|
2017-07-10 20:37:53 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-03 19:25:52 +01:00
|
|
|
|
(uri (string-append "http://download.osgeo.org/libtiff/tiff-"
|
2017-07-10 20:37:53 +02:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-17 08:23:00 +01:00
|
|
|
|
"1kfg4q01r4mqn7dj63ifhi6pmqzbf4xax6ni6kkk81ri5kndwyvf"))
|
|
|
|
|
(patches (search-patches "libtiff-CVE-2017-9935.patch"
|
2018-07-24 20:44:40 +02:00
|
|
|
|
"libtiff-CVE-2017-18013.patch"
|
|
|
|
|
"libtiff-CVE-2018-8905.patch"
|
|
|
|
|
"libtiff-CVE-2018-10963.patch"))))
|
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 14:39:02 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2015-09-09 15:25:05 +02:00
|
|
|
|
(outputs '("out"
|
|
|
|
|
"doc")) ;1.3 MiB of HTML documentation
|
|
|
|
|
(arguments
|
|
|
|
|
;; Instead of using --docdir, this package has its own --with-docdir.
|
|
|
|
|
`(#:configure-flags (list (string-append "--with-docdir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/doc/"
|
|
|
|
|
,name "-" ,version))))
|
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 14:39:02 +02:00
|
|
|
|
(inputs `(("zlib" ,zlib)
|
2015-09-04 21:43:40 +02:00
|
|
|
|
("libjpeg" ,libjpeg)))
|
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 06:46:59 +02: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 14:39:02 +02: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 19:26:34 +01:00
|
|
|
|
(license (license:non-copyleft "file://COPYRIGHT"
|
|
|
|
|
"See COPYRIGHT in the distribution."))
|
2016-11-23 06:14:29 +01: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 21:34:16 +02:00
|
|
|
|
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(define-public leptonica
|
|
|
|
|
(package
|
|
|
|
|
(name "leptonica")
|
2017-06-16 17:09:52 +02:00
|
|
|
|
(version "1.74.4")
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-15 09:39:30 +01:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/DanBloomberg/leptonica/archive/" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(file-name (string-append "leptonica-" version ".tar.gz"))
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(sha256
|
2017-06-16 17:09:52 +02:00
|
|
|
|
(base32 "10pw7pwccd0m0fc9rlrr2m41s7j1qvba2wcrav17pw1gclkf34i0"))))
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2016-12-15 09:39:30 +01:00
|
|
|
|
`(("gnuplot" ,gnuplot) ;needed for test suite
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("giflib" ,giflib)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)))
|
|
|
|
|
(propagated-inputs
|
2016-12-15 09:39:30 +01:00
|
|
|
|
;; Linking a program with leptonica also requires these.
|
2015-03-21 19:41:54 +01:00
|
|
|
|
`(("openjpeg" ,openjpeg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2016-12-15 09:39:30 +01:00
|
|
|
|
'(#:phases
|
2015-03-21 19:41:54 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2016-12-15 09:39:30 +01:00
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autobuild"))))
|
|
|
|
|
(add-after 'unpack 'patch-reg-wrapper
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "prog/reg_wrapper.sh"
|
|
|
|
|
((" /bin/sh ")
|
|
|
|
|
(string-append " " (which "sh") " "))
|
|
|
|
|
(("which gnuplot")
|
|
|
|
|
"true")))))))
|
2015-03-21 19:41:54 +01: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 07:51:01 +02:00
|
|
|
|
(define-public jbig2dec
|
|
|
|
|
(package
|
|
|
|
|
(name "jbig2dec")
|
2017-11-25 16:22:25 +01:00
|
|
|
|
(version "0.14")
|
2014-09-15 07:51:01 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-06-06 23:08:14 +02:00
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://github.com/ArtifexSoftware/ghostpdl-downloads/"
|
|
|
|
|
"releases/download/gs922/" name "-" version ".tar.gz"))
|
2014-09-15 07:51:01 +02:00
|
|
|
|
(sha256
|
2017-11-25 16:22:25 +01:00
|
|
|
|
(base32 "0k01hp0q4275fj4rbr1gy64svfraw5w7wvwl08yjhvsnpb1rid11"))
|
|
|
|
|
(patches (search-patches "jbig2dec-ignore-testtest.patch"))))
|
2014-09-15 07:51:01 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Decoder of the JBIG2 image compression format")
|
|
|
|
|
(description
|
2015-07-16 11:14:13 +02:00
|
|
|
|
"JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
|
|
|
|
|
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 07:51:01 +02: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 23:08:14 +02:00
|
|
|
|
(home-page "https://jbig2dec.com")
|
2014-09-15 07:51:01 +02:00
|
|
|
|
(license license:gpl2+)))
|
2014-09-15 07:56:22 +02:00
|
|
|
|
|
|
|
|
|
(define-public openjpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "openjpeg")
|
2017-10-05 20:23:06 +02:00
|
|
|
|
(version "2.3.0")
|
2014-09-15 07:56:22 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-09-09 19:41:13 +02:00
|
|
|
|
(string-append "https://github.com/uclouvain/openjpeg/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2014-09-15 07:56:22 +02:00
|
|
|
|
(sha256
|
2016-09-09 19:41:13 +02:00
|
|
|
|
(base32
|
2017-10-05 20:23:06 +02:00
|
|
|
|
"06npqzkg20avnygdwaqpap91r7qpdqgrn39adj2bl8v0pg0qgirx"))))
|
2014-09-15 07:56:22 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Trying to run `$ make check' results in a no rule fault.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lcms" ,lcms)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "JPEG 2000 codec")
|
|
|
|
|
(description
|
|
|
|
|
"The OpenJPEG library is a JPEG 2000 codec written in C. It has
|
|
|
|
|
been developed in order to promote the use of JPEG 2000, the new
|
|
|
|
|
still-image compression standard from the Joint Photographic Experts
|
|
|
|
|
Group (JPEG).
|
|
|
|
|
|
|
|
|
|
In addition to the basic codec, various other features are under
|
|
|
|
|
development, among them the JP2 and MJ2 (Motion JPEG 2000) file formats,
|
|
|
|
|
an indexing tool useful for the JPIP protocol, JPWL-tools for
|
|
|
|
|
error-resilience, a Java-viewer for j2k-images, ...")
|
2015-10-02 18:30:41 +02:00
|
|
|
|
(home-page "https://github.com/uclouvain/openjpeg")
|
2014-09-15 07:56:22 +02:00
|
|
|
|
(license license:bsd-2)))
|
2014-09-25 10:27:25 +02:00
|
|
|
|
|
2015-01-07 17:40:13 +01:00
|
|
|
|
(define-public openjpeg-1
|
|
|
|
|
(package (inherit openjpeg)
|
|
|
|
|
(name "openjpeg")
|
|
|
|
|
(version "1.5.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(string-append "mirror://sourceforge/openjpeg.mirror/" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
2015-01-07 17:40:13 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "11waq9w215zvzxrpv40afyd18qf79mxc28fda80bm3ax98cpppqm"))))))
|
|
|
|
|
|
2014-09-29 21:46:12 +02:00
|
|
|
|
(define-public giflib
|
|
|
|
|
(package
|
|
|
|
|
(name "giflib")
|
2016-05-19 12:01:55 +02:00
|
|
|
|
(version "5.1.4")
|
2014-09-29 21:46:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/giflib/giflib-"
|
2016-07-21 08:35:30 +02:00
|
|
|
|
version ".tar.bz2"))
|
2014-09-29 21:46:12 +02:00
|
|
|
|
(sha256
|
2016-05-19 12:06:49 +02:00
|
|
|
|
(base32
|
2018-02-28 20:43:21 +01:00
|
|
|
|
"1md83dip8rf29y40cm5r7nn19705f54iraz6545zhwa6y8zyq9yz"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"giflib-make-reallocarray-private.patch"))))
|
2014-09-29 21:46:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("bin" ; utility programs
|
|
|
|
|
"out")) ; library
|
|
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
|
("libice" ,libice)
|
|
|
|
|
("libsm" ,libsm)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(arguments
|
2016-05-19 12:06:49 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-html-doc-gen
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "doc/Makefile.in"
|
2018-03-18 01:29:53 +01:00
|
|
|
|
(("^all: allhtml manpages") ""))
|
|
|
|
|
#t))
|
2016-05-19 12:06:49 +02: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-18 01:29:53 +01:00
|
|
|
|
(find-files "doc" "\\.1"))
|
|
|
|
|
#t))))))
|
2014-09-29 21:46:12 +02: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 06:46:59 +02:00
|
|
|
|
"GIFLIB is a library for reading and writing GIF images. It is API and
|
2014-09-29 21:46:12 +02: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)))
|
|
|
|
|
|
2015-03-05 15:45:01 +01:00
|
|
|
|
(define-public libungif
|
|
|
|
|
(package
|
|
|
|
|
(name "libungif")
|
|
|
|
|
(version "4.1.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/giflib/libungif-4.x/"
|
|
|
|
|
"libungif-" version "/libungif-"
|
2015-03-05 15:45:01 +01:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cnksimmmjngdrys302ik1385sg1sj4i0gxivzldhgwd46n7x2kh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("perl" ,perl))) ;package ships some perl tools
|
|
|
|
|
(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 10:27:25 +02:00
|
|
|
|
(define-public imlib2
|
|
|
|
|
(package
|
|
|
|
|
(name "imlib2")
|
2018-03-20 01:24:48 +01:00
|
|
|
|
(version "1.5.1")
|
2014-09-25 10:27:25 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 08:35:30 +02:00
|
|
|
|
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
|
|
|
|
"/imlib2-" version ".tar.bz2"))
|
2014-09-25 10:27:25 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-20 01:24:48 +01:00
|
|
|
|
"1bms2iwmvnvpz5jqq3r52glarqkafif47zbh1ykz8hw85d2mfkps"))))
|
2014-09-25 10:27:25 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkgconfig" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("giflib" ,giflib)
|
|
|
|
|
("bzip2" ,bzip2)))
|
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-04 01:30:46 +01:00
|
|
|
|
(home-page "https://sourceforge.net/projects/enlightenment/")
|
2014-09-25 10:27:25 +02: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 13:27:56 +01:00
|
|
|
|
(license license:imlib2)))
|
2014-09-25 10:29:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public giblib
|
|
|
|
|
(package
|
|
|
|
|
(name "giblib")
|
|
|
|
|
(version "1.2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-16 13:07:47 +02:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append
|
|
|
|
|
"http://linuxbrit.co.uk/downloads/giblib-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append
|
|
|
|
|
"https://sourceforge.net/projects/slackbuildsdirectlinks/"
|
|
|
|
|
"files/giblib/giblib-" version ".tar.gz")))
|
2014-09-25 10:29:43 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("imlib2" ,imlib2)))
|
|
|
|
|
(home-page "http://linuxbrit.co.uk/software/") ; no real home-page
|
|
|
|
|
(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 06:46:59 +02:00
|
|
|
|
"Giblib is a simple library which wraps imlib2's context API, avoiding
|
2014-09-25 10:29:43 +02: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-26 01:50:30 +02:00
|
|
|
|
|
|
|
|
|
(define-public freeimage
|
|
|
|
|
(package
|
|
|
|
|
(name "freeimage")
|
2015-10-02 18:49:15 +02:00
|
|
|
|
(version "3.17.0")
|
2014-06-26 01:50:30 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/freeimage/Source%20Distribution/"
|
|
|
|
|
version "/FreeImage"
|
2015-10-02 18:49:15 +02:00
|
|
|
|
(string-concatenate (string-split version #\.))
|
2014-06-26 01:50:30 +02:00
|
|
|
|
".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-02 18:52:00 +02:00
|
|
|
|
"12bz57asdcfsz3zr9i9nska0fb6h3z2aizy412qjqkixkginbz7v"))
|
2018-04-13 08:45:55 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively (string-append "Source/" dir)))
|
2018-04-22 11:18:31 +02:00
|
|
|
|
'("LibJPEG" "LibOpenJPEG" "LibPNG" "LibRawLite"
|
|
|
|
|
;; "LibJXR"
|
2018-04-13 08:45:55 +02:00
|
|
|
|
"LibWebP" "OpenEXR" "ZLib"))))
|
|
|
|
|
(patches (search-patches "freeimage-unbundle.patch"
|
|
|
|
|
"freeimage-CVE-2015-0852.patch"
|
2017-03-22 14:45:44 +01:00
|
|
|
|
"freeimage-CVE-2016-5684.patch"
|
|
|
|
|
"freeimage-fix-build-with-gcc-5.patch"))))
|
2014-06-26 01:50:30 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-14 10:31:26 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-04-13 08:45:55 +02:00
|
|
|
|
;; 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"))
|
|
|
|
|
#t))
|
|
|
|
|
;; These scripts generate the Makefiles.
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "gensrclist.sh")
|
|
|
|
|
(invoke "sh" "genfipsrclist.sh")))
|
2016-10-14 10:31:26 +02:00
|
|
|
|
(add-before 'build 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.gnu"
|
|
|
|
|
(("/usr") (assoc-ref outputs "out"))
|
|
|
|
|
(("-o root -g root") ""))
|
|
|
|
|
#t)))
|
2018-04-13 08:45:55 +02:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
;; We need '-fpermissive' for Source/FreeImage.h.
|
|
|
|
|
;; libjxr doesn't have a pkg-config file.
|
|
|
|
|
(string-append "CFLAGS+=-O2 -fPIC -fvisibility=hidden -fpermissive "
|
2018-04-22 11:18:31 +02:00
|
|
|
|
;"-I" (assoc-ref %build-inputs "libjxr") "/include/jxrlib"
|
|
|
|
|
))
|
2014-06-26 01:50:30 +02:00
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
|
(native-inputs
|
2018-04-13 08:45:55 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libjpeg" ,libjpeg)
|
2018-04-22 11:18:31 +02:00
|
|
|
|
;("libjxr" ,libjxr)
|
2018-04-13 08:45:55 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libraw" ,libraw)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("openexr" ,openexr)
|
|
|
|
|
("openjpeg" ,openjpeg)
|
|
|
|
|
("zlib" ,zlib)))
|
2014-06-26 01:50:30 +02:00
|
|
|
|
(synopsis "Library for handling popular graphics image formats")
|
|
|
|
|
(description
|
|
|
|
|
"FreeImage is a library for developers who would like to support popular
|
|
|
|
|
graphics image formats like PNG, BMP, JPEG, TIFF and others.")
|
|
|
|
|
(license license:gpl2+)
|
|
|
|
|
(home-page "http://freeimage.sourceforge.net")))
|
2015-03-13 10:33:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public vigra
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "vigra")
|
2017-10-08 18:32:00 +02:00
|
|
|
|
(version "1.11.1")
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/ukoethe/vigra/releases/download/"
|
2017-10-08 18:32:00 +02:00
|
|
|
|
"Version-" (string-join (string-split version #\.) "-")
|
|
|
|
|
"/vigra-" version "-src.tar.gz"))
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(sha256 (base32
|
2017-10-08 18:32:00 +02:00
|
|
|
|
"1bqs8vx5i1bzamvv563i24gx2xxdidqyxh9iaj46mbznhc84wmm5"))))
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(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)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("openexr" ,openexr)
|
|
|
|
|
("python" ,python-2) ; print syntax
|
|
|
|
|
("python2-numpy" ,python2-numpy)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
|
("python2-nose" ,python2-nose)
|
|
|
|
|
("python2-sphinx" ,python2-sphinx)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "check"
|
2018-06-06 13:14:23 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; See https://github.com/ukoethe/vigra/issues/432
|
|
|
|
|
(add-after 'unpack 'disable-broken-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/fourier/CMakeLists.txt"
|
|
|
|
|
(("VIGRA_ADD_TEST.*") ""))
|
|
|
|
|
#t)))
|
2016-03-17 23:09:48 +01:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-Wno-dev" ; suppress developer mode with lots of warnings
|
|
|
|
|
(string-append "-DVIGRANUMPY_INSTALL_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/python2.7/site-packages")
|
|
|
|
|
;; OpenEXR is not enabled by default.
|
|
|
|
|
"-DWITH_OPENEXR=1"
|
2016-10-04 16:28:37 +02:00
|
|
|
|
;; Fix rounding error on 32-bit machines
|
|
|
|
|
"-DCMAKE_C_FLAGS=-ffloat-store"
|
2016-03-17 23:09:48 +01:00
|
|
|
|
;; 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")
|
2016-10-04 16:28:37 +02:00
|
|
|
|
"/include/OpenEXR"
|
|
|
|
|
" -ffloat-store"))))
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(synopsis "Computer vision library")
|
|
|
|
|
(description
|
|
|
|
|
"VIGRA stands for Vision with Generic Algorithms. It is an image
|
2015-03-13 10:33:42 +01:00
|
|
|
|
processing and analysis library that puts its main emphasis on customizable
|
|
|
|
|
algorithms and data structures. It is particularly strong for
|
|
|
|
|
multi-dimensional image processing.")
|
2016-03-17 23:09:48 +01:00
|
|
|
|
(license license:expat)
|
2017-10-08 18:32:00 +02:00
|
|
|
|
(home-page "https://ukoethe.github.io/vigra/")))
|
2015-03-21 19:40:21 +01:00
|
|
|
|
|
2018-05-12 12:11:29 +02:00
|
|
|
|
(define-public vigra-c
|
|
|
|
|
(let* ((commit "a2ff675f42079e2623318d8ff8b4288dbe7a7f06")
|
|
|
|
|
(revision "0")
|
|
|
|
|
(version (git-version "0.0.0" revision commit)))
|
|
|
|
|
(package
|
|
|
|
|
(name "vigra-c")
|
|
|
|
|
(version version)
|
|
|
|
|
(home-page "https://github.com/BSeppke/vigra_c")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1f1phmfbbz3dsq9330rd6bjmdg29hxskxi9l17cyx1f4mdqpgdgl"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; No test target.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)
|
|
|
|
|
("fftwf" ,fftwf)
|
|
|
|
|
("vigra" ,vigra)))
|
|
|
|
|
(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 19:40:21 +01:00
|
|
|
|
(define-public libwebp
|
|
|
|
|
(package
|
|
|
|
|
(name "libwebp")
|
2018-04-23 01:11:23 +02:00
|
|
|
|
(version "1.0.0")
|
2015-03-21 19:40:21 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-04-23 01:11:23 +02: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 19:40:21 +01:00
|
|
|
|
(sha256
|
2016-10-28 05:27:35 +02:00
|
|
|
|
(base32
|
2018-04-23 01:11:23 +02:00
|
|
|
|
"1w8jzdbr1s4238ygyrlxryycss3f2z6d9amxdq8m82nl3l6skar4"))))
|
2015-03-21 19:40:21 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freeglut" ,freeglut)
|
|
|
|
|
("giflib" ,giflib)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)))
|
2018-04-23 01:11:23 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
2015-03-21 19:40:21 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-libwebpmux"
|
|
|
|
|
"--enable-libwebpdemux"
|
2018-04-23 01:11:23 +02:00
|
|
|
|
"--enable-libwebpdecoder")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "autoreconf" "-vif"))))))
|
2015-03-21 19:40:21 +01: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 22:30:24 +02: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 19:40:21 +01: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 17:02:45 +02:00
|
|
|
|
|
|
|
|
|
(define-public libmng
|
|
|
|
|
(package
|
|
|
|
|
(name "libmng")
|
|
|
|
|
(version "2.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-22 17:45:03 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/libmng/libmng-devel/"
|
|
|
|
|
version "/" name "-" version ".tar.xz"))
|
2015-06-16 17:02:45 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1lvxnpds0vcf0lil6ia2036ghqlbl740c4d2sz0q5g6l93fjyija"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; These are all in the 'Libs.private' field of libmng.pc.
|
|
|
|
|
`(("lcms" ,lcms)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://www.libmng.com/")
|
|
|
|
|
(synopsis "Library for handling MNG files")
|
|
|
|
|
(description
|
|
|
|
|
"Libmng is the MNG (Multiple-image Network Graphics) reference library.")
|
|
|
|
|
(license license:bsd-3)))
|
2015-11-14 19:56:40 +01:00
|
|
|
|
|
2016-12-02 10:24:40 +01:00
|
|
|
|
(define-public exiv2
|
|
|
|
|
(package
|
|
|
|
|
(name "exiv2")
|
2017-06-09 21:07:44 +02:00
|
|
|
|
(version "0.26")
|
2016-12-02 10:24:40 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-06-09 21:07:44 +02:00
|
|
|
|
(uri (list (string-append "http://www.exiv2.org/builds/exiv2-"
|
|
|
|
|
version "-trunk.tar.gz")
|
|
|
|
|
(string-append "http://www.exiv2.org/exiv2-"
|
2016-12-02 10:24:40 +01:00
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "https://fossies.org/linux/misc/exiv2-"
|
|
|
|
|
version ".tar.gz")))
|
2017-10-26 22:58:28 +02:00
|
|
|
|
(patches (search-patches "exiv2-CVE-2017-14860.patch"
|
|
|
|
|
"exiv2-CVE-2017-14859-14862-14864.patch"))
|
2016-12-02 10:24:40 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-09-02 07:45:24 +02:00
|
|
|
|
"1yza317qxd8yshvqnay164imm0ks7cvij8y8j86p1gqi1153qpn7"))))
|
2016-12-02 10:24:40 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:tests? #f)) ; no `check' target
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)))
|
|
|
|
|
(home-page "http://www.exiv2.org/")
|
|
|
|
|
(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 19:56:40 +01:00
|
|
|
|
(define-public devil
|
|
|
|
|
(package
|
|
|
|
|
(name "devil")
|
2017-03-24 00:12:00 +01:00
|
|
|
|
(version "1.8.0")
|
2015-11-14 19:56:40 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/openil/"
|
|
|
|
|
"DevIL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-24 00:12:00 +01:00
|
|
|
|
"02dpzvi493r09c9hfjnk54nladl3qw55iqkkg18g12fxwwz9fx80"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2015-11-14 19:56:40 +01:00
|
|
|
|
(arguments
|
2017-03-24 00:12:00 +01:00
|
|
|
|
'(;; XXX: Not supported in the released CMakeLists.txt.
|
|
|
|
|
;; Enable this for > 1.8.0.
|
|
|
|
|
#:tests? #f
|
2015-11-14 19:56:40 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-03-24 00:12:00 +01:00
|
|
|
|
(add-before 'configure 'change-directory
|
|
|
|
|
(lambda _ (chdir "DevIL") #t)))))
|
2015-11-14 19:56:40 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lcms" ,lcms)
|
2017-03-24 00:12:00 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-11-14 19:56:40 +01:00
|
|
|
|
("libmng" ,libmng)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("openexr" ,openexr)
|
|
|
|
|
("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 19:37:34 +01:00
|
|
|
|
|
|
|
|
|
(define-public jasper
|
|
|
|
|
(package
|
|
|
|
|
(name "jasper")
|
2017-09-17 17:11:23 +02:00
|
|
|
|
(version "2.0.14")
|
2015-11-24 19:37:34 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-05-28 23:20:54 +02:00
|
|
|
|
(uri (string-append "https://github.com/mdadams/jasper/archive/"
|
|
|
|
|
"version-" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-11-24 19:37:34 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-09-17 17:11:23 +02:00
|
|
|
|
"0yx9y5y0g6jv142vnqp50j3k8k5yqznz3smrblv192wgfbm6w9l5"))))
|
2016-11-27 19:23:20 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2016-11-16 20:51:08 +01:00
|
|
|
|
(inputs `(("libjpeg" ,libjpeg)))
|
2015-11-24 19:37:34 +01: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 13:48:42 +02:00
|
|
|
|
|
|
|
|
|
(define-public zimg
|
|
|
|
|
(package
|
|
|
|
|
(name "zimg")
|
2017-03-21 21:35:32 +01:00
|
|
|
|
(version "2.5")
|
2016-05-29 13:48:42 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/sekrit-twc/zimg/archive/"
|
|
|
|
|
"release-" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-21 21:35:32 +01:00
|
|
|
|
"0kbq2dy659645fmgxpzg38b6y6x82kwkydhc380kdkaikv2brcjh"))))
|
2016-05-29 13:48:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autogen.sh")))))))
|
|
|
|
|
(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 23:07:20 +02:00
|
|
|
|
;; test/extra/ contains musl-libm,
|
2016-05-29 13:48:42 +02:00
|
|
|
|
;; which is MIT/expat licensed, but only used for tests
|
|
|
|
|
(license (license:fsf-free "file://COPYING")))) ;WTFPL version 2
|
2016-07-18 02:04:58 +02:00
|
|
|
|
|
|
|
|
|
(define-public perceptualdiff
|
|
|
|
|
(package
|
|
|
|
|
(name "perceptualdiff")
|
|
|
|
|
(version "1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/myint/perceptualdiff/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zl6xmp971fffg7fzcz2fbgxg5x2w7l8qa65c008i4kbkc9016ps"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs `(("freeimage" ,freeimage)))
|
|
|
|
|
(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"
|
|
|
|
|
(("../build") "../../build")))))))
|
|
|
|
|
(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-18 04:23:21 +02: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 18:26:08 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2016-05-18 04:23:21 +02:00
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("perl" ,perl))) ;for tests
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmhash" ,libmhash)
|
|
|
|
|
("libmcrypt" ,libmcrypt)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2017-08-05 00:11:41 +02: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-18 04:23:21 +02:00
|
|
|
|
(home-page "http://steghide.sourceforge.net")
|
|
|
|
|
(synopsis "Image and audio steganography")
|
|
|
|
|
(description
|
2017-06-22 01:21:52 +02: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-18 04:23:21 +02:00
|
|
|
|
(license license:gpl2+)))
|
2016-09-14 11:22:46 +02:00
|
|
|
|
|
|
|
|
|
(define-public stb-image-for-extempore
|
|
|
|
|
(let ((revision "1")
|
|
|
|
|
(commit "152a250a702bf28951bb0220d63bc0c99830c498"))
|
|
|
|
|
(package
|
|
|
|
|
(name "stb-image-for-extempore")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source
|
|
|
|
|
(origin (method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/extemporelang/stb.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; no tests included
|
2016-09-21 21:47:56 +02:00
|
|
|
|
;; Extempore refuses to build on architectures other than x86_64
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2016-09-14 11:22:46 +02:00
|
|
|
|
(home-page "https://github.com/extemporelang/stb")
|
|
|
|
|
(synopsis "Image library for Extempore")
|
|
|
|
|
(description
|
|
|
|
|
"This package is a collection of assorted single-file libraries. Of
|
|
|
|
|
all included libraries only the image loading and decoding library is
|
|
|
|
|
installed as @code{stb_image}.")
|
|
|
|
|
(license license:public-domain))))
|
2016-09-25 22:28:32 +02:00
|
|
|
|
|
|
|
|
|
(define-public optipng
|
|
|
|
|
(package
|
|
|
|
|
(name "optipng")
|
2018-02-23 14:24:42 +01:00
|
|
|
|
(version "0.7.7")
|
2016-09-25 22:28:32 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://prdownloads.sourceforge.net/optipng/optipng-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-07-31 20:53:47 +02:00
|
|
|
|
"0lj4clb851fzpaq446wgj0sfy922zs5l5misbpwv6w7qrqrz4cjg"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "src/libpng")
|
|
|
|
|
(delete-file-recursively "src/zlib")
|
|
|
|
|
#t))))
|
2016-09-25 22:28:32 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2018-07-31 20:53:47 +02:00
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("zlib" ,zlib)))
|
2016-09-25 22:28:32 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-02-23 14:24:42 +01:00
|
|
|
|
;; configure script doesn't accept arguments CONFIG_SHELL and SHELL
|
|
|
|
|
(invoke "sh" "configure"
|
2018-07-31 20:53:47 +02:00
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"-with-system-libs")
|
2018-02-23 14:24:42 +01:00
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Optimizer that recompresses PNG image files to a smaller size")
|
2016-09-25 22:28:32 +02: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 20:15:17 +01:00
|
|
|
|
|
|
|
|
|
(define-public libjpeg-turbo
|
|
|
|
|
(package
|
|
|
|
|
(name "libjpeg-turbo")
|
2018-07-28 16:40:37 +02:00
|
|
|
|
(version "2.0.0")
|
2016-11-25 20:15:17 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-07-28 16:40:37 +02:00
|
|
|
|
"0s48zz6awd493hmb200abmsizh68fh1jmz98r41n4c8dbl87d23p"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2016-11-25 20:15:17 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("nasm" ,nasm)))
|
|
|
|
|
(arguments
|
2018-07-28 16:40:37 +02:00
|
|
|
|
'(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR:PATH=lib"
|
|
|
|
|
"-DENABLE_STATIC=0")))
|
2018-07-25 17:51:35 +02:00
|
|
|
|
(home-page "https://libjpeg-turbo.org/")
|
2016-11-25 20:15:17 +01: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 16:41:27 +02: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 07:59:21 +01:00
|
|
|
|
|
|
|
|
|
(define-public niftilib
|
|
|
|
|
(package
|
2017-03-19 14:24:27 +01: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
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(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 07:59:21 +01: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 14:24:27 +01:00
|
|
|
|
(home-page "http://niftilib.sourceforge.net")
|
|
|
|
|
(license license:public-domain)))
|
2017-07-30 10:56:38 +02:00
|
|
|
|
|
|
|
|
|
(define-public gpick
|
|
|
|
|
(package
|
|
|
|
|
(name "gpick")
|
|
|
|
|
(version "0.2.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/thezbyg/gpick/archive/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mxvxk15xhk2i5vfavjhnkk4j3bnii0gpf8di14rlbpq070hd5rs"))))
|
2017-08-31 13:37:21 +02:00
|
|
|
|
(build-system scons-build-system)
|
2017-07-30 10:56:38 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("gettext" ,gnu-gettext)
|
2017-08-31 13:37:21 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2017-07-30 10:56:38 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("gtk2" ,gtk+-2)
|
|
|
|
|
("lua" ,lua-5.2)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2017-08-31 13:37:21 +02:00
|
|
|
|
#:scons ,scons-python2
|
|
|
|
|
#:scons-flags (list (string-append "DESTDIR=" %output))
|
2017-07-30 10:56:38 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-lua-reference
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "SConscript"
|
|
|
|
|
(("lua5.2") "lua-5.2"))
|
2017-08-31 13:37:21 +02:00
|
|
|
|
#t)))))
|
2017-07-30 10:56:38 +02: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 23:01:54 +01:00
|
|
|
|
|
|
|
|
|
(define-public libiptcdata
|
|
|
|
|
(package
|
|
|
|
|
(name "libiptcdata")
|
|
|
|
|
(version "1.0.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" name "/"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03pfvkmmx762iydq0q207x2028d275pbdysfsgpmrr0ywy63pxkr"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://libiptcdata.sourceforge.net/")
|
|
|
|
|
(synopsis "IPTC metadata manipulation library")
|
|
|
|
|
(description "Libiptcdata is a C library for manipulating the International
|
|
|
|
|
Press Telecommunications Council (IPTC) metadata stored within multimedia files
|
|
|
|
|
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 16:51:17 +01:00
|
|
|
|
|
|
|
|
|
(define-public flameshot
|
|
|
|
|
(package
|
|
|
|
|
(name "flameshot")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/lupoDharkael/flameshot/archive/"
|
|
|
|
|
"v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kp451bqgssvg8n3sg60s3fifplm9l5kxiij0yxkl864p2mhw8im"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
"CONFIG+=packaging"
|
|
|
|
|
(string-append "BASEDIR=" (assoc-ref outputs "out"))
|
|
|
|
|
"PREFIX=/"))))))
|
|
|
|
|
(home-page "https://github.com/lupoDharkael/flameshot")
|
|
|
|
|
(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 23:10:29 +01:00
|
|
|
|
|
|
|
|
|
(define-public r-jpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "r-jpeg")
|
|
|
|
|
(version "0.1-8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "jpeg" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05hawv5qcb82ljc1l2nchx1wah8mq2k2kfkhpzyww554ngzbwcnh"))))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(inputs `(("libjpeg" ,libjpeg)))
|
|
|
|
|
(home-page "http://www.rforge.net/jpeg/")
|
|
|
|
|
(synopsis "Read and write JPEG images with R")
|
|
|
|
|
(description "This package provides a way to read, write and display bitmap
|
|
|
|
|
images stored in the JPEG format with R. It can read and write both files and
|
|
|
|
|
in-memory raw vectors.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-05-20 14:09:13 +02:00
|
|
|
|
|
|
|
|
|
(define-public gifsicle
|
|
|
|
|
(package
|
|
|
|
|
(name "gifsicle")
|
|
|
|
|
(version "1.91")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.lcdf.org/gifsicle/gifsicle-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00586z1yz86qcblgmf16yly39n4lkjrscl52hvfxqk14m81fckha"))))
|
|
|
|
|
(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)))))
|
|
|
|
|
(native-inputs `(("perl" ,perl))) ; Only for tests.
|
|
|
|
|
(inputs `(("libx11" ,libx11)))
|
|
|
|
|
(home-page "http://www.lcdf.org/gifsicle/")
|
|
|
|
|
(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+)))
|