2014-01-15 16:47:55 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-07-16 09:44:33 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2017, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
|
2015-09-01 15:36:32 -04:00
|
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2017-05-28 14:08:15 -04:00
|
|
|
|
;;; Copyright © 2015, 2017 Andreas Enge <andreas@enge.fr>
|
2021-05-03 03:23:11 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2017-03-08 17:49:24 -05:00
|
|
|
|
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
|
2021-03-12 17:43:05 -05:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-26 17:01:54 -05:00
|
|
|
|
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
|
2020-03-07 10:11:46 -05:00
|
|
|
|
;;; Copyright © 2020 Sebastian Schott <sschott@mailbox.org>
|
2020-04-01 19:22:21 -04:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2022-01-26 08:18:25 -05:00
|
|
|
|
;;; Copyright © 2020. 2021, 2022 Vinicius Monego <monego@posteo.net>
|
2014-01-15 16:47:55 -05: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 photo)
|
2015-09-05 12:41:27 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2014-01-15 16:47:55 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2020-08-14 17:58:15 -04:00
|
|
|
|
#:use-module (guix build-system meson)
|
2014-11-08 16:24:08 -05:00
|
|
|
|
#:use-module (guix build-system perl)
|
2020-03-07 10:11:46 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-09-04 13:28:26 -04:00
|
|
|
|
#:use-module (guix download)
|
2020-06-21 23:19:13 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2015-09-04 13:28:26 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (guix utils)
|
2017-12-21 02:55:44 -05:00
|
|
|
|
#:use-module (gnu packages)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2014-01-15 16:47:55 -05:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-09-04 13:28:26 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2021-11-18 16:12:25 -05:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2020-12-24 18:55:31 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2020-08-14 17:58:15 -04:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2015-09-05 12:41:27 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
#:use-module (gnu packages cups)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
2020-03-07 10:11:46 -05:00
|
|
|
|
#:use-module (gnu packages file)
|
|
|
|
|
#:use-module (gnu packages freedesktop)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
#:use-module (gnu packages geo)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
|
|
|
|
#:use-module (gnu packages gl)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-03-08 17:49:24 -05:00
|
|
|
|
#:use-module (gnu packages glib)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2020-03-07 10:11:46 -05:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2015-09-05 12:41:27 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2020-06-26 16:39:04 -04:00
|
|
|
|
#:use-module (gnu packages image-processing)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
#:use-module (gnu packages iso-codes)
|
2018-02-26 17:01:54 -05:00
|
|
|
|
#:use-module (gnu packages libcanberra)
|
2015-09-04 13:28:26 -04:00
|
|
|
|
#:use-module (gnu packages libusb)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:use-module (gnu packages llvm)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
#:use-module (gnu packages lua)
|
2016-05-24 01:47:59 -04:00
|
|
|
|
#:use-module (gnu packages man)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages maths)
|
2020-06-26 16:39:04 -04:00
|
|
|
|
#:use-module (gnu packages opencl)
|
2014-11-08 16:24:08 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-09-04 13:28:26 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages popt)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2020-03-07 10:11:46 -05:00
|
|
|
|
#:use-module (gnu packages python-web)
|
|
|
|
|
#:use-module (gnu packages qt)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-12-24 18:55:30 -05:00
|
|
|
|
#:use-module (gnu packages ruby)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2016-05-24 15:18:53 -04:00
|
|
|
|
#:use-module (gnu packages tex)
|
2020-03-07 10:11:46 -05:00
|
|
|
|
#:use-module (gnu packages time)
|
|
|
|
|
#:use-module (gnu packages video)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages web)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
#:use-module (gnu packages xfig)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2017-06-15 02:15:25 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2017-11-22 04:25:32 -05:00
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip))
|
2017-06-15 02:15:25 -04:00
|
|
|
|
#:use-module (srfi srfi-26))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
|
2020-03-07 10:11:46 -05:00
|
|
|
|
(define-public rapid-photo-downloader
|
|
|
|
|
(package
|
|
|
|
|
(name "rapid-photo-downloader")
|
|
|
|
|
(version "0.9.18")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/rapid/pyqt/"
|
|
|
|
|
version "/+download/" name "-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15p7sssg6vmqbm5xnc4j5dr89d7gl7y5qyq44a240yl5aqkjnybw"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list file intltool gobject-introspection))
|
2020-03-07 10:11:46 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("gexiv2" ,gexiv2)
|
|
|
|
|
("gst-libav" ,gst-libav)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
|
("gst-plugins-good" ,gst-plugins-good)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("libgudev" ,libgudev)
|
|
|
|
|
("libnotify" ,libnotify)
|
|
|
|
|
("libmediainfo" ,libmediainfo)
|
|
|
|
|
("usdisks" ,udisks)
|
|
|
|
|
("python-pyqt" ,python-pyqt)
|
|
|
|
|
("python-pygobject" ,python-pygobject)
|
|
|
|
|
("python-gphoto2" ,python-gphoto2)
|
|
|
|
|
("python-pyzmq" ,python-pyzmq)
|
|
|
|
|
("python-tornado" ,python-tornado)
|
|
|
|
|
("python-psutil" ,python-psutil)
|
|
|
|
|
("python-pyxdg" ,python-pyxdg)
|
|
|
|
|
("python-arrow" ,python-arrow)
|
|
|
|
|
("python-dateutil" ,python-dateutil)
|
|
|
|
|
("python-easygui" ,python-easygui)
|
|
|
|
|
("python-colour" ,python-colour)
|
|
|
|
|
("python-pymediainfo" ,python-pymediainfo)
|
|
|
|
|
("python-sortedcontainers" ,python-sortedcontainers)
|
|
|
|
|
("python-rawkit" ,python-rawkit)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-colorlog" ,python-colorlog)
|
|
|
|
|
("python-pyprind" ,python-pyprind)
|
|
|
|
|
("python-tenacity" ,python-tenacity)
|
|
|
|
|
("perl-image-exiftool" ,perl-image-exiftool)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-libmediainfo
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "raphodo/metadatavideo.py"
|
|
|
|
|
(("pymedia_library_file = 'libmediainfo.so.0'")
|
|
|
|
|
(string-append "pymedia_library_file = '"
|
|
|
|
|
(assoc-ref %build-inputs "libmediainfo")
|
|
|
|
|
"/lib/libmediainfo.so.0'")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(path (string-join
|
|
|
|
|
(list (string-append
|
|
|
|
|
(assoc-ref inputs "perl-image-exiftool")
|
|
|
|
|
"/bin"))
|
|
|
|
|
":"))
|
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
|
(python-path (getenv "GUIX_PYTHONPATH")))
|
2020-03-07 10:11:46 -05:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (program)
|
|
|
|
|
(wrap-program program
|
|
|
|
|
`("PATH" ":" prefix (,path))
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,python-path))))
|
2020-03-07 10:11:46 -05:00
|
|
|
|
(map (lambda (name)
|
|
|
|
|
(string-append out "/bin/" name))
|
|
|
|
|
'("analyze-pv-structure"
|
|
|
|
|
"rapid-photo-downloader"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://www.damonlynch.net/rapid/")
|
|
|
|
|
(synopsis "Import photos and videos from cameras, phones and memory cards")
|
|
|
|
|
(description "Import photos and videos from cameras, phones and memory
|
|
|
|
|
cards and generate meaningful file and folder names.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-09-01 15:36:32 -04:00
|
|
|
|
(define-public libraw
|
|
|
|
|
(package
|
|
|
|
|
(name "libraw")
|
2020-07-23 18:40:37 -04:00
|
|
|
|
(version "0.20.0")
|
2015-09-01 15:36:32 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-08-22 09:54:29 -04:00
|
|
|
|
(uri (string-append "https://www.libraw.org/data/LibRaw-"
|
2015-09-01 15:36:32 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-23 18:40:37 -04:00
|
|
|
|
"18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz"))))
|
2015-09-01 15:36:32 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2018-07-01 10:51:36 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2018-07-01 10:51:36 -04:00
|
|
|
|
(inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list libjpeg-turbo)) ;for lossy DNGs and old Kodak cameras
|
2018-07-01 10:51:36 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list lcms)) ;for color profiles
|
2017-08-22 09:54:29 -04:00
|
|
|
|
(home-page "https://www.libraw.org")
|
2015-09-01 15:36:32 -04:00
|
|
|
|
(synopsis "Raw image decoder")
|
|
|
|
|
(description
|
|
|
|
|
"LibRaw is a library for reading RAW files obtained from digital photo
|
|
|
|
|
cameras (CRW/CR2, NEF, RAF, DNG, and others).")
|
2018-07-01 10:37:29 -04:00
|
|
|
|
;; LibRaw is distributed under both LGPL2.1 and CDDL 1.0. From the README:
|
|
|
|
|
;; "You may use one of these licensing modes and switch between them. If
|
|
|
|
|
;; you modify LibRaw source and made your changes public, you should accept
|
|
|
|
|
;; both two licensing modes for your changes/additions."
|
|
|
|
|
(license (list license:lgpl2.1 license:cddl1.0))))
|
2015-09-01 15:36:32 -04:00
|
|
|
|
|
2018-08-28 01:02:59 -04:00
|
|
|
|
(define-public libraw-0.18
|
|
|
|
|
(package (inherit libraw)
|
|
|
|
|
(name "libraw")
|
|
|
|
|
(version "0.18.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.libraw.org/data/LibRaw-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m2khr2cij8z6lawgbmdksjn14fpnjsy8ad4qahnpqapm1slsxap"))))))
|
|
|
|
|
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(define-public libexif
|
|
|
|
|
(package
|
|
|
|
|
(name "libexif")
|
2020-05-24 18:12:06 -04:00
|
|
|
|
(version "0.6.22")
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-05-24 18:12:06 -04:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/libexif/libexif/releases"
|
|
|
|
|
"/download/libexif-"
|
|
|
|
|
(string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
|
|
|
|
|
"-release/libexif-" version ".tar.xz"))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-24 18:12:06 -04:00
|
|
|
|
"0mhcad5zab7fsn120rd585h8ncwkq904nzzrq8vcd72hzk4g2j2h"))))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-08-27 16:57:37 -04:00
|
|
|
|
(home-page "https://libexif.github.io/")
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(synopsis "Read and manipulate EXIF data in digital photographs")
|
|
|
|
|
(description
|
|
|
|
|
"The libexif C library allows applications to read, edit, and save EXIF
|
|
|
|
|
data as produced by digital cameras.")
|
2015-09-04 13:26:07 -04:00
|
|
|
|
(license license:lgpl2.1+)))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
|
|
|
|
|
(define-public libgphoto2
|
|
|
|
|
(package
|
|
|
|
|
(name "libgphoto2")
|
2022-01-07 00:36:52 -05:00
|
|
|
|
(version "2.5.28")
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/gphoto/libgphoto/"
|
|
|
|
|
version "/libgphoto2-" version ".tar.bz2"))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-07 00:36:52 -05:00
|
|
|
|
"1gayf81nzi8gxmwhgs4k1p0dwqajsx0h9lzjfvnib3100dm5j04n"))))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(native-inputs (list pkg-config))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libjpeg-turbo libltdl libusb libxml2))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ;; The .pc refers to libexif.
|
|
|
|
|
libexif))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(home-page "http://www.gphoto.org/proj/libgphoto2/")
|
|
|
|
|
(synopsis "Accessing digital cameras")
|
|
|
|
|
(description
|
|
|
|
|
"This is the library backend for gphoto2. It contains the code for PTP,
|
|
|
|
|
MTP, and other vendor specific protocols for controlling and transferring data
|
|
|
|
|
from digital cameras.")
|
|
|
|
|
|
|
|
|
|
;; 'COPYING' says LGPLv2.1+, but in practices files are under LGPLv2+.
|
2015-09-04 13:26:07 -04:00
|
|
|
|
(license license:lgpl2.1+)))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
|
|
|
|
|
(define-public gphoto2
|
|
|
|
|
(package
|
|
|
|
|
(name "gphoto2")
|
2022-01-07 00:40:49 -05:00
|
|
|
|
(version "2.5.28")
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/gphoto/gphoto/" version
|
|
|
|
|
"/gphoto2-" version ".tar.bz2"))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-07 00:40:49 -05:00
|
|
|
|
"0xbki37q9ja34igidr2vj0ps1lp7sfz4xpsmh8h9x89dy76qsr1a"))))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list readline libjpeg-turbo popt libexif libgphoto2))
|
2014-01-15 16:47:55 -05:00
|
|
|
|
(arguments
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* (find-files "tests/data" "\\.param$")
|
|
|
|
|
(("/usr/bin/env")
|
2022-01-07 00:40:49 -05:00
|
|
|
|
(which "env"))))))
|
2018-01-12 09:03:33 -05:00
|
|
|
|
;; FIXME: There is 1 test failure, most likely related to the build
|
2014-01-15 16:47:55 -05:00
|
|
|
|
;; environment.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.gphoto.org/")
|
|
|
|
|
(synopsis "Command-line tools to access digital cameras")
|
|
|
|
|
(description
|
|
|
|
|
"Gphoto2 is a set of command line utilities for manipulating a large
|
|
|
|
|
number of different digital cameras. Through libgphoto2, it supports PTP,
|
|
|
|
|
MTP, and much more.")
|
|
|
|
|
|
|
|
|
|
;; Files are typically under LGPLv2+, but 'COPYING' says GPLv2+.
|
2015-09-04 13:26:07 -04:00
|
|
|
|
(license license:gpl2+)))
|
2014-11-08 16:24:08 -05:00
|
|
|
|
|
2019-03-23 19:39:32 -04:00
|
|
|
|
;; Note: See <https://metacpan.org/pod/Image::ExifTool> for the latest
|
|
|
|
|
;; release. The versions at <https://www.sno.phy.queensu.ca/~phil/exiftool/>
|
|
|
|
|
;; are not meant for production use according to the Changes file.
|
2014-11-08 16:24:08 -05:00
|
|
|
|
(define-public perl-image-exiftool
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-image-exiftool")
|
2021-05-03 03:23:11 -04:00
|
|
|
|
(version "12.16")
|
2019-03-11 05:32:36 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list
|
|
|
|
|
(string-append "mirror://cpan/authors/id/E/EX/EXIFTOOL/"
|
|
|
|
|
"Image-ExifTool-" version ".tar.gz")
|
|
|
|
|
;; New releases may take a while to hit CPAN.
|
|
|
|
|
(string-append "https://www.sno.phy.queensu.ca/~phil/exiftool/"
|
|
|
|
|
"Image-ExifTool-" version ".tar.gz")))
|
2021-05-09 10:41:02 -04:00
|
|
|
|
(patches (search-patches "perl-image-exiftool-CVE-2021-22204.patch"))
|
2019-03-11 05:32:36 -04:00
|
|
|
|
(sha256
|
2020-02-20 15:17:19 -05:00
|
|
|
|
(base32
|
2021-05-03 03:23:11 -04:00
|
|
|
|
"0skm22b3gg1bfk0amklrprpva41m6mkrhqp0gi7z1nmcf9ypjh61"))))
|
2014-11-08 16:24:08 -05:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2017-06-25 00:00:41 -04:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Make sure the 'exiftool' commands finds the library.
|
|
|
|
|
;; XXX: Shouldn't it be handled by PERL-BUILD-SYSTEM?
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(pm (find-files out "^ExifTool\\.pm$"))
|
|
|
|
|
(lib (dirname (dirname (car pm)))))
|
|
|
|
|
(wrap-program (string-append out "/bin/exiftool")
|
2018-06-27 21:01:27 -04:00
|
|
|
|
`("PERL5LIB" prefix (,lib)))
|
|
|
|
|
#t))))))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Image-ExifTool")
|
2017-01-17 03:45:37 -05:00
|
|
|
|
(synopsis "Program and Perl library to manipulate EXIF and other metadata")
|
|
|
|
|
(description "This package provides the @code{exiftool} command and the
|
|
|
|
|
@code{Image::ExifTool} Perl library to manipulate EXIF tags of digital images
|
|
|
|
|
and a wide variety of other metadata.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-09-05 12:41:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public libpano13
|
|
|
|
|
(package
|
|
|
|
|
(name "libpano13")
|
2021-04-06 06:27:36 -04:00
|
|
|
|
(version "2.9.20_rc3")
|
2015-09-05 12:41:27 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/panotools/libpano13/"
|
2021-04-06 06:27:36 -04:00
|
|
|
|
"libpano13-" (first
|
|
|
|
|
(string-split version #\_))
|
|
|
|
|
"/libpano13-" version ".tar.gz"))
|
2015-09-05 12:41:27 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-06 06:27:36 -04:00
|
|
|
|
"12cv4886l1czfjwy7k6ipgf3zjksgwhdjzr2s9fdg33vqcv2hlrv"))))
|
2015-09-05 12:41:27 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list libjpeg-turbo libpng libtiff zlib))
|
2015-09-05 12:41:27 -04:00
|
|
|
|
(home-page "http://panotools.sourceforge.net/")
|
|
|
|
|
(synopsis "Library for panoramic images")
|
|
|
|
|
(description
|
|
|
|
|
"The libpano13 package contains the backend library written by the
|
|
|
|
|
Panorama Tools project for building panoramic images from a set of
|
|
|
|
|
overlapping images, as well as some command line tools.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-09-06 17:12:51 -04:00
|
|
|
|
|
|
|
|
|
(define-public enblend-enfuse
|
|
|
|
|
(package
|
|
|
|
|
(name "enblend-enfuse")
|
2016-05-24 01:47:59 -04:00
|
|
|
|
(version "4.2")
|
2015-09-06 17:12:51 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/enblend/"
|
|
|
|
|
name "/"
|
|
|
|
|
name "-" (version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-24 01:47:59 -04:00
|
|
|
|
"0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7"))))
|
2015-09-06 17:12:51 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("perl-timedate" ,perl-timedate)
|
|
|
|
|
;; for building the documentation
|
|
|
|
|
("gnuplot" ,gnuplot)
|
2016-05-24 01:47:59 -04:00
|
|
|
|
("help2man" ,help2man)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("libxml2" ,libxml2)
|
2017-07-10 01:15:58 -04:00
|
|
|
|
("texlive-minimal" ,texlive-tiny)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
("tidy" ,tidy)
|
|
|
|
|
("transfig" ,transfig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("gsl" ,gsl)
|
|
|
|
|
("lcms" ,lcms)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
gnu: Rename openexr to openexr-2.
This is done so the OpenEXR package can be upgraded to version 3 in a
later commit.
* gnu/packages/graphics.scm (openexr): Rename to ...
(openexr-2): ... new variable.
(blender, blender-2.79, openimageio, povray)[inputs]: Adjust accordingly.
(ctl)[propagated-inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[propagated-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Likewise.
* gnu/packages/image-processing.scm (mia, opencolorio, opencv, vips, gmic,
nip2)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (freeimage, vigra, devil)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kimageformats)[inputs]: Likewise.
* gnu/packages/kde.scm (krita)[inputs]: Likewise.
* gnu/packages/photo.scm (enblend-enfuse, darktable, hugin)[inputs]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 08:18:00 -04:00
|
|
|
|
("openexr" ,openexr-2)
|
2015-09-06 17:12:51 -04:00
|
|
|
|
("vigra" ,vigra)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags `("--enable-openmp")))
|
|
|
|
|
(home-page "http://enblend.sourceforge.net/")
|
|
|
|
|
(synopsis "Tools for combining and blending images")
|
|
|
|
|
(description
|
|
|
|
|
"Enblend blends away the seams in a panoramic image mosaic using a
|
|
|
|
|
multi-resolution spline. Enfuse merges different exposures of the same
|
|
|
|
|
scene to produce an image that looks much like a tone-mapped image.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-03-08 17:49:24 -05:00
|
|
|
|
|
|
|
|
|
(define-public lensfun
|
|
|
|
|
(package
|
|
|
|
|
(name "lensfun")
|
|
|
|
|
(version "0.3.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/lensfun/"
|
|
|
|
|
version "/lensfun-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cfk8jjhs9nbfjfdy98plrj9ayi59aph0nx6ppslgjhlcvacm2xf"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2017-06-15 02:15:25 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(,@(if (any (cute string-prefix? <> (or (%current-system)
|
|
|
|
|
(%current-target-system)))
|
|
|
|
|
'("x86_64" "i686"))
|
|
|
|
|
;; SSE and SSE2 are supported only on Intel processors.
|
|
|
|
|
'()
|
|
|
|
|
'(#:configure-flags '("-DBUILD_FOR_SSE=OFF" "-DBUILD_FOR_SSE2=OFF")))
|
|
|
|
|
#:tests? #f)) ; There are no tests to run.
|
2017-03-08 17:49:24 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2017-03-08 17:49:24 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list glib))
|
2017-03-08 17:49:24 -05:00
|
|
|
|
(home-page "https://sourceforge.net/projects/lensfun/")
|
|
|
|
|
(synopsis "Library to correct optical lens defects with a lens database")
|
|
|
|
|
(description "Digital photographs are not ideal. Of course, the better is
|
|
|
|
|
your camera, the better the results will be, but in any case if you look
|
|
|
|
|
carefully at shots taken even by the most expensive cameras equipped with the
|
|
|
|
|
most expensive lenses you will see various artifacts. It is very hard to make
|
|
|
|
|
ideal cameras, because there are a lot of factors that affect the final image
|
|
|
|
|
quality, and at some point camera and lens designers have to trade one factor
|
|
|
|
|
for another to achieve the optimal image quality, within the given design
|
|
|
|
|
restrictions and budget. But we all want ideal shots, don't we? So that's
|
|
|
|
|
what's Lensfun is all about: rectifying the defects introduced by your
|
|
|
|
|
photographic equipment.")
|
|
|
|
|
;; The libraries are licensed under the LGPL3, the programs are
|
|
|
|
|
;; licensed GPL3, and the database is license CC-BY-SA 3.0. See the
|
|
|
|
|
;; README.md file for this clarification.
|
|
|
|
|
(license (list license:lgpl3 license:gpl3 license:cc-by-sa3.0))))
|
2017-05-10 13:46:55 -04:00
|
|
|
|
|
|
|
|
|
(define-public darktable
|
|
|
|
|
(package
|
|
|
|
|
(name "darktable")
|
2022-02-15 13:13:37 -05:00
|
|
|
|
(version "3.8.1")
|
2019-03-18 18:17:49 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/darktable-org/darktable/releases/"
|
|
|
|
|
"download/release-" version "/darktable-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2022-02-15 13:13:37 -05:00
|
|
|
|
(base32 "1xmyn9haagizh8qqg91bm1lx3dq1v8failxj943mipnvaj80dvl1"))))
|
2017-05-10 13:46:55 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-12-24 18:55:31 -05:00
|
|
|
|
`(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On"
|
|
|
|
|
"-DBUILD_TESTING=On")
|
2017-05-10 13:46:55 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-08-06 02:30:13 -04:00
|
|
|
|
(add-after 'unpack 'libOpenCL-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Statically link to libOpenCL.
|
|
|
|
|
(substitute* "./src/common/dlopencl.c"
|
|
|
|
|
(("\"libOpenCL\"")
|
2021-08-11 04:17:25 -04:00
|
|
|
|
(string-append "\"" (assoc-ref inputs "opencl-icd-loader")
|
2021-09-20 19:37:46 -04:00
|
|
|
|
"/lib/libOpenCL.so\"")))))
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
(add-before 'configure 'prepare-build-environment
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-08-13 10:59:15 -04:00
|
|
|
|
;; Rawspeed fails to build with GCC due to OpenMP error:
|
|
|
|
|
;; "undefined reference to `GOMP_loop_nonmonotonic_dynamic_next'"
|
2020-06-26 16:39:04 -04:00
|
|
|
|
(setenv "CC" "clang") (setenv "CXX" "clang++")
|
|
|
|
|
;; Darktable looks for opencl-c.h in the LLVM dir. Guix installs
|
|
|
|
|
;; it to the Clang dir. We fix this by patching CMakeLists.txt.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("\\$\\{LLVM_INSTALL_PREFIX\\}")
|
2021-09-20 19:37:46 -04:00
|
|
|
|
(assoc-ref %build-inputs "clang")))))
|
2021-11-28 19:04:21 -05:00
|
|
|
|
(add-before 'configure 'set-LDFLAGS
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2017-05-10 13:46:55 -04:00
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append
|
|
|
|
|
"-Wl,-rpath="
|
2021-11-28 19:04:21 -05:00
|
|
|
|
(assoc-ref outputs "out") "/lib/darktable"))))
|
2020-08-13 10:59:16 -04:00
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/darktable")
|
|
|
|
|
;; For GtkFileChooserDialog.
|
|
|
|
|
`("GSETTINGS_SCHEMA_DIR" =
|
|
|
|
|
(,(string-append (assoc-ref inputs "gtk+")
|
2021-09-20 19:37:46 -04:00
|
|
|
|
"/share/glib-2.0/schemas")))))))))
|
2020-04-01 19:22:21 -04:00
|
|
|
|
(native-inputs
|
2020-12-24 18:55:30 -05:00
|
|
|
|
`(("clang" ,clang-11)
|
2020-12-24 18:55:31 -05:00
|
|
|
|
("cmocka" ,cmocka)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
("desktop-file-utils" ,desktop-file-utils)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("intltool" ,intltool)
|
2020-12-24 18:55:30 -05:00
|
|
|
|
("llvm" ,llvm-11) ;should match the Clang version
|
2020-06-26 16:39:04 -04:00
|
|
|
|
("opencl-headers" ,opencl-headers)
|
2020-04-01 19:22:21 -04:00
|
|
|
|
("perl" ,perl)
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-12-24 18:55:30 -05:00
|
|
|
|
("po4a" ,po4a)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("ruby" ,ruby)))
|
2017-05-10 13:46:55 -04:00
|
|
|
|
(inputs
|
2022-01-17 16:08:03 -05:00
|
|
|
|
(list cairo
|
|
|
|
|
colord-gtk ;optional, for color profile support
|
|
|
|
|
cups ;optional, for printing support
|
|
|
|
|
curl
|
|
|
|
|
dbus-glib
|
|
|
|
|
exiv2
|
|
|
|
|
freeimage
|
|
|
|
|
gmic ;optional, for HaldcLUT support
|
|
|
|
|
graphicsmagick
|
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
|
gtk+
|
|
|
|
|
imath
|
|
|
|
|
iso-codes ;optional, for language names in the preferences
|
|
|
|
|
json-glib
|
|
|
|
|
lcms
|
|
|
|
|
lensfun ;optional, for the lens distortion plugin
|
|
|
|
|
libgphoto2 ;optional, for camera tethering
|
|
|
|
|
libavif ;optional, for AVIF support
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libomp
|
|
|
|
|
libpng
|
|
|
|
|
librsvg
|
|
|
|
|
libsecret ;optional, for storing passwords
|
|
|
|
|
libsoup-minimal-2
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp ;optional, for WebP support
|
|
|
|
|
libxml2
|
|
|
|
|
libxslt
|
|
|
|
|
lua-5.4 ;optional, for plugins
|
|
|
|
|
opencl-icd-loader ;optional, for OpenCL support
|
|
|
|
|
openexr ;optional, for EXR import/export
|
|
|
|
|
openjpeg ;optional, for JPEG2000 export
|
|
|
|
|
osm-gps-map ;optional, for geotagging view
|
|
|
|
|
pugixml
|
|
|
|
|
python-jsonschema
|
|
|
|
|
sqlite))
|
2017-05-10 13:46:55 -04:00
|
|
|
|
(home-page "https://www.darktable.org")
|
|
|
|
|
(synopsis "Virtual lighttable and darkroom for photographers")
|
|
|
|
|
(description "Darktable is a photography workflow application and RAW
|
|
|
|
|
developer. It manages your digital negatives in a database, lets you view
|
|
|
|
|
them through a zoomable lighttable and enables you to develop raw images
|
|
|
|
|
and enhance them.")
|
2019-03-18 18:17:49 -04:00
|
|
|
|
;; See src/is_supported_platform.h for supported platforms.
|
2021-09-20 19:36:36 -04:00
|
|
|
|
(supported-systems '("x86_64-linux" "aarch64-linux" "powerpc64le-linux"))
|
2022-01-26 08:18:25 -05:00
|
|
|
|
(properties
|
|
|
|
|
'((release-monitoring-url . "https://github.com/darktable-org/darktable/releases")))
|
gnu: darktable: Update to 3.0.2.
* gnu/packages/photo.scm (darktable): Update to 3.0.2.
[arguments]: Compile with clang. Wrap GSETTINGS_SCHEMAS_DIR.
[license]: Add license information for Rawspeed.
[native-inputs]: Add clang, desktop-file-utils, glib, gobject-instrospection,
llvm, and po4a. Reorder alphabetically.
[inputs]: Add colord-gtk, cups, graphicsmagick, gsettings-desktop-schemas,
iso-codes, libsecret, lua, openjpeg, and osm-gps-map. Reorder alphabetically.
Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-19 16:11:20 -04:00
|
|
|
|
(license (list license:gpl3+ ;; Darktable itself.
|
|
|
|
|
license:lgpl2.1+)))) ;; Rawspeed library.
|
2017-05-28 14:08:15 -04:00
|
|
|
|
|
2020-06-21 23:19:13 -04:00
|
|
|
|
(define-public photoflare
|
|
|
|
|
(package
|
|
|
|
|
(name "photoflare")
|
2021-06-28 20:34:44 -04:00
|
|
|
|
(version "1.6.9")
|
2020-06-21 23:19:13 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/photoflare/photoflare")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-28 20:34:44 -04:00
|
|
|
|
(base32 "121fhbggsh6jhrr7m41f27fd34ql7libdr2v0ig5bj6nc2ddwd40"))))
|
2020-06-21 23:19:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((magickpp (assoc-ref inputs "graphicsmagick"))
|
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "INCLUDEPATH += " magickpp
|
|
|
|
|
"/include/GraphicsMagick")
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
"Photoflare.pro")))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config qttools))
|
2020-06-21 23:19:13 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list graphicsmagick libomp qtbase-5))
|
2020-06-21 23:19:13 -04:00
|
|
|
|
(home-page "https://photoflare.io")
|
|
|
|
|
(synopsis "Quick, simple but powerful image editor")
|
|
|
|
|
(description "Photoflare is a cross-platform image editor with an aim
|
|
|
|
|
to balance between powerful features and a very friendly graphical user
|
|
|
|
|
interface. It suits a wide variety of different tasks and users who value a
|
|
|
|
|
more nimble workflow. Features include basic image editing capabilities,
|
|
|
|
|
paint brushes, image filters, colour adjustments and more advanced features
|
|
|
|
|
such as Batch image processing.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-08-14 17:58:15 -04:00
|
|
|
|
(define-public entangle
|
|
|
|
|
(package
|
|
|
|
|
(name "entangle")
|
|
|
|
|
(version "3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/entangle/entangle")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1pdmgxjdb3xlcqsaz7l8qzj5f7g7nwzhsrgid8929bm36d49cgc7"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:glib-or-gtk? #t
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
;; Don't create 'icon-theme.cache'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "meson_post_install.py"
|
|
|
|
|
(("gtk-update-icon-cache") "true"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-gi-python
|
|
|
|
|
;; Make GTK find files needed by plugins.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
|
(python-path (getenv "GUIX_PYTHONPATH")))
|
2020-08-14 17:58:15 -04:00
|
|
|
|
(wrap-program (string-append out "/bin/entangle")
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 17:33:13 -05:00
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,python-path))))
|
2020-08-14 17:58:15 -04:00
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmake" ,cmake)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xmllint" ,libxml2)))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gdk-pixbuf
|
|
|
|
|
gexiv2
|
|
|
|
|
gst-plugins-base
|
|
|
|
|
gstreamer
|
|
|
|
|
gtk+
|
|
|
|
|
lcms
|
|
|
|
|
libgphoto2
|
|
|
|
|
libgudev
|
|
|
|
|
libpeas
|
|
|
|
|
libraw
|
|
|
|
|
python
|
|
|
|
|
python-pygobject))
|
2020-08-14 17:58:15 -04:00
|
|
|
|
(home-page "https://entangle-photo.org/")
|
|
|
|
|
(synopsis "Camera control and capture")
|
|
|
|
|
(description
|
|
|
|
|
"Entangle is an application which uses GTK and libgphoto2 to provide a
|
|
|
|
|
graphical interface for tethered photography with digital cameras. It
|
|
|
|
|
includes control over camera shooting and configuration settings and 'hands
|
|
|
|
|
off' shooting directly from the controlling computer.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-05-28 14:08:15 -04:00
|
|
|
|
(define-public hugin
|
|
|
|
|
(package
|
|
|
|
|
(name "hugin")
|
2021-02-21 03:34:36 -05:00
|
|
|
|
(version "2020.0.0")
|
2017-05-28 14:08:15 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/hugin/hugin/hugin-"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/hugin-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-21 03:34:36 -05:00
|
|
|
|
"1jyazc0mbr9g7vrichpqqnfl72lj21244csk0z5i8ycs4l0pcgi8"))))
|
2017-05-28 14:08:15 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2020-04-04 09:48:44 -04:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("enblend-enfuse" ,enblend-enfuse)
|
2021-02-21 03:34:36 -05:00
|
|
|
|
("exiv2" ,exiv2)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("flann" ,flann)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("lcms" ,lcms)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
("libpano13" ,libpano13)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
|
("mesa" ,mesa)
|
gnu: Rename openexr to openexr-2.
This is done so the OpenEXR package can be upgraded to version 3 in a
later commit.
* gnu/packages/graphics.scm (openexr): Rename to ...
(openexr-2): ... new variable.
(blender, blender-2.79, openimageio, povray)[inputs]: Adjust accordingly.
(ctl)[propagated-inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[propagated-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Likewise.
* gnu/packages/image-processing.scm (mia, opencolorio, opencv, vips, gmic,
nip2)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (freeimage, vigra, devil)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kimageformats)[inputs]: Likewise.
* gnu/packages/kde.scm (krita)[inputs]: Likewise.
* gnu/packages/photo.scm (enblend-enfuse, darktable, hugin)[inputs]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 08:18:00 -04:00
|
|
|
|
("openexr" ,openexr-2)
|
2017-05-28 14:08:15 -04:00
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("vigra" ,vigra)
|
|
|
|
|
("wxwidgets" ,wxwidgets)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
;; The header files of ilmbase (propagated by openexr) are not found
|
|
|
|
|
;; when included by the header files of openexr, and an explicit
|
|
|
|
|
;; flag needs to be set.
|
|
|
|
|
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "ilmbase")
|
|
|
|
|
"/include/OpenEXR")
|
|
|
|
|
;; Disable installation of the Python scripting interface.
|
|
|
|
|
;; It would require the additional inputs python and swig.
|
|
|
|
|
;; Installation would need to be tweaked, as it tries to install
|
|
|
|
|
;; into the python directory.
|
|
|
|
|
"-DBUILD_HSI=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'substitute
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/hugin1/base_wx/StitchingExecutor.cpp"
|
|
|
|
|
(("wxT\\(\"enblend\"\\)")
|
|
|
|
|
(string-append "wxT(\"" (which "enblend") "\")"))
|
|
|
|
|
(("wxT\\(\"enfuse\"\\)")
|
|
|
|
|
(string-append "wxT(\"" (which "enfuse") "\")")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://hugin.sourceforge.net/")
|
|
|
|
|
(synopsis "Panorama photo stitcher")
|
|
|
|
|
(description
|
|
|
|
|
"Hugin is an easy to use panoramic imaging toolchain with a graphical
|
|
|
|
|
user interface. It can be used to assemble a mosaic of photographs into
|
|
|
|
|
a complete panorama and stitch any series of overlapping pictures.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(define-public rawtherapee
|
|
|
|
|
(package
|
|
|
|
|
(name "rawtherapee")
|
2020-02-20 14:31:37 -05:00
|
|
|
|
(version "5.8")
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2021-08-02 16:50:54 -04:00
|
|
|
|
(uri (string-append "https://rawtherapee.com/shared/source/"
|
2018-02-26 17:01:54 -05:00
|
|
|
|
"rawtherapee-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-20 14:31:37 -05:00
|
|
|
|
"0lq8qi7g0a28h3rab7bk5bbbd4gvfma42bvlz1dfn8p9mah2h19n"))))
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2019-04-24 07:48:02 -04:00
|
|
|
|
'(#:tests? #f ; no test suite
|
2018-03-17 07:23:59 -04:00
|
|
|
|
#:build-type "release"
|
2018-02-26 17:01:54 -05:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "-DLENSFUNDBDIR="
|
|
|
|
|
(assoc-ref %build-inputs "lensfun")
|
|
|
|
|
"/share/lensfun")
|
2019-04-24 07:48:02 -04:00
|
|
|
|
;; Don't optimize the build for the host machine. See the file
|
|
|
|
|
;; 'ProcessorTargets.cmake' in the source distribution for more
|
|
|
|
|
;; information.
|
2018-02-26 17:01:54 -05:00
|
|
|
|
"-DPROC_TARGET_NUMBER=1"
|
2019-04-24 07:48:02 -04:00
|
|
|
|
;; These flags are recommended by upstream for distributed packages.
|
|
|
|
|
;; See the file 'RELEASE_NOTES.txt' in the source distribution.
|
2021-12-26 15:29:22 -05:00
|
|
|
|
"-DCMAKE_CXX_FLAGS=-O3 -fPIC"
|
|
|
|
|
"-DCMAKE_C_FLAGS=-O3 -fPIC"
|
2018-02-26 17:01:54 -05:00
|
|
|
|
"-DCACHE_NAME_SUFFIX=\"\"")))
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config))
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("fftw" ,fftwf)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
|
("gtk+" ,gtk+)
|
2021-09-02 13:32:57 -04:00
|
|
|
|
("gtkmm" ,gtkmm-3)
|
2018-02-26 17:01:54 -05:00
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("lensfun" ,lensfun)
|
|
|
|
|
("libcanberra" ,libcanberra)
|
|
|
|
|
("libiptcdata" ,libiptcdata)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-02-26 17:01:54 -05:00
|
|
|
|
("libpng" ,libpng)
|
2019-04-24 07:48:02 -04:00
|
|
|
|
("librsvg" ,librsvg)
|
2018-02-26 17:01:54 -05:00
|
|
|
|
("libsigc++" ,libsigc++)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("zlib" ,zlib)))
|
2021-08-02 16:50:54 -04:00
|
|
|
|
(home-page "https://rawtherapee.com")
|
2018-02-26 17:01:54 -05:00
|
|
|
|
(synopsis "Raw image developing and processing")
|
|
|
|
|
(description "RawTherapee is a raw image processing suite. It comprises a
|
|
|
|
|
subset of image editing operations specifically aimed at non-destructive raw
|
|
|
|
|
photo post-production and is primarily focused on improving a photographer's
|
|
|
|
|
workflow by facilitating the handling of large numbers of images. Most raw
|
|
|
|
|
formats are supported, including Pentax Pixel Shift, Canon Dual-Pixel, and those
|
|
|
|
|
from Foveon and X-Trans sensors.")
|
|
|
|
|
(license license:gpl3+)))
|