2017-03-15 20:05:20 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2017 John Darrington <jmd@gnu.org>
|
2024-03-27 07:49:04 +00:00
|
|
|
|
;;; Copyright © 2017, 2019, 2022, 2024 Ricardo Wurmus <rekado@elephly.net>
|
2023-03-14 08:52:09 +00:00
|
|
|
|
;;; Copyright © 2014, 2021-2023 Ludovic Courtès <ludo@gnu.org>
|
2017-03-15 20:05:24 +00:00
|
|
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
|
|
|
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
2021-03-25 20:07:39 +00:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-16 19:31:37 +00:00
|
|
|
|
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2018-12-05 18:03:13 +00:00
|
|
|
|
;;; Copyright © 2018 Lprndn <guix@lprndn.info>
|
2023-06-09 05:27:05 +00:00
|
|
|
|
;;; Copyright © 2019, 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2020-04-05 21:31:55 +00:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2023-12-08 18:17:56 +00:00
|
|
|
|
;;; Copyright © 2020, 2021, 2024 Vinicius Monego <monego@posteo.net>
|
2020-08-06 10:02:20 +00:00
|
|
|
|
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-09-17 09:09:21 +00:00
|
|
|
|
;;; Copyright © 2020 Brendan Tildesley <mail@brendan.scot>
|
2021-01-05 00:23:38 +00:00
|
|
|
|
;;; Copyright © 2021 Oleh Malyi <astroclubzp@gmail.com>
|
2024-02-07 21:06:36 +00:00
|
|
|
|
;;; Copyright © 2021, 2022, 2024 Felix Gruber <felgru@posteo.net>
|
2021-03-18 07:46:45 +00:00
|
|
|
|
;;; Copyright © 2021 Andy Tai <atai@atai.org>
|
2021-04-14 13:48:06 +00:00
|
|
|
|
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
|
2021-06-01 09:12:08 +00:00
|
|
|
|
;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
|
2021-09-11 08:07:37 +00:00
|
|
|
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2021-07-24 08:51:56 +00:00
|
|
|
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
2022-05-13 15:41:09 +00:00
|
|
|
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2022-08-14 12:46:21 +00:00
|
|
|
|
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
|
2022-09-08 15:24:06 +00:00
|
|
|
|
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
|
2023-06-15 17:52:29 +00:00
|
|
|
|
;;; Copyright © 2023 Cairn <cairn@pm.me>
|
2017-03-15 20:05:20 +00: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-processing)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
2022-04-26 14:43:47 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module (guix download)
|
2019-01-14 09:47:00 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2020-09-17 09:09:21 +00:00
|
|
|
|
#:use-module (guix build-system qt)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2021-06-25 06:27:31 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2024-04-19 11:41:32 +00:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2024-03-27 07:49:04 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2018-12-05 18:03:13 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2019-08-13 16:55:46 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2022-11-02 16:35:51 +00:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2019-08-15 07:26:55 +00:00
|
|
|
|
#:use-module (gnu packages curl)
|
2020-08-06 10:02:20 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2018-12-05 18:03:13 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2017-03-15 20:05:24 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages game-development)
|
|
|
|
|
#:use-module (gnu packages gcc)
|
2023-06-15 17:52:29 +00:00
|
|
|
|
#:use-module (gnu packages gd)
|
2019-08-13 15:46:22 +00:00
|
|
|
|
#:use-module (gnu packages geo)
|
2018-12-05 17:59:34 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2021-07-24 08:51:56 +00:00
|
|
|
|
#:use-module (gnu packages gimp)
|
2017-03-15 20:05:24 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
2018-12-05 17:59:34 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
|
#:use-module (gnu packages graphics)
|
|
|
|
|
#:use-module (gnu packages graphviz)
|
2018-12-05 17:59:34 +00:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2018-02-16 19:31:37 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2021-03-09 23:49:53 +00:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2017-03-15 20:05:20 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2018-12-05 17:59:34 +00:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2022-04-26 14:43:47 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages mpi)
|
2023-08-19 08:18:43 +00:00
|
|
|
|
#:use-module (gnu packages opencl)
|
2018-12-05 17:59:34 +00:00
|
|
|
|
#:use-module (gnu packages pdf)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2018-02-16 19:31:37 +00:00
|
|
|
|
#:use-module (gnu packages photo)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2018-02-16 19:31:37 +00:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2024-04-19 11:41:32 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2021-06-25 06:27:31 +00:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages python-science)
|
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 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2019-08-15 07:26:55 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2017-03-15 20:05:24 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2022-09-08 15:24:06 +00:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2021-01-07 20:28:21 +00:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2024-03-27 07:49:04 +00:00
|
|
|
|
#:use-module (gnu packages swig)
|
2019-08-13 16:55:46 +00:00
|
|
|
|
#:use-module (gnu packages tbb)
|
2022-11-02 16:35:51 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2019-03-18 12:16:30 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2020-08-16 22:06:07 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2018-02-16 19:31:37 +00:00
|
|
|
|
#:use-module (gnu packages video)
|
2017-03-15 20:05:24 +00:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2017-03-15 20:05:23 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
2019-01-15 11:18:00 +00:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2019-08-13 15:45:01 +00:00
|
|
|
|
#:use-module (ice-9 match)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2017-03-15 20:05:20 +00:00
|
|
|
|
|
2022-04-26 14:43:47 +00:00
|
|
|
|
;; TODO: this is not reproducible.
|
|
|
|
|
(define-public bart
|
|
|
|
|
(package
|
|
|
|
|
(name "bart")
|
2022-11-09 09:34:37 +00:00
|
|
|
|
(version "0.8.00")
|
2022-04-26 14:43:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mrirecon/bart")
|
2022-11-09 09:34:37 +00:00
|
|
|
|
(commit "eacc67b95cf128487ecc48f0e6541ea4dca08818")))
|
2022-04-26 14:43:47 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-11-09 09:34:37 +00:00
|
|
|
|
(base32 "05lcf7c3g7ms5h82bw1mi4kzkdv5wpqi1zrfhqfkgbcpd3irj6aq"))))
|
2022-04-26 14:43:47 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-target "utest"
|
|
|
|
|
#:make-flags #~(list
|
|
|
|
|
(string-append "PREFIX=" #$output)
|
2022-11-09 09:33:45 +00:00
|
|
|
|
"PARALLEL=1"
|
|
|
|
|
"PARALLEL_NJOBS=1"
|
2022-04-26 14:43:47 +00:00
|
|
|
|
"OPENBLAS=1"
|
|
|
|
|
"SCALAPACK=1"
|
|
|
|
|
(string-append "BLAS_BASE=" #$(this-package-input "openblas"))
|
|
|
|
|
(string-append "FFTW_BASE=" #$(this-package-input "fftw")))
|
2022-11-09 09:33:45 +00:00
|
|
|
|
#:parallel-build? #false ;leads to non-deterministic output
|
2022-04-26 14:43:47 +00:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'patch-/bin/bash
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/pics.mk"
|
|
|
|
|
(("/bin/bash") (which "bash"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list fftw
|
|
|
|
|
fftwf
|
|
|
|
|
libpng
|
|
|
|
|
openblas
|
|
|
|
|
python
|
|
|
|
|
scalapack))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list doxygen
|
|
|
|
|
util-linux)) ;for flock
|
|
|
|
|
(home-page "https://mrirecon.github.io/bart/")
|
|
|
|
|
(synopsis "Toolbox for computational magnetic resonance imaging")
|
|
|
|
|
(description "The Berkeley Advanced Reconstruction Toolbox (BART) is an
|
|
|
|
|
image-reconstruction framework for Computational Magnetic Resonance Imaging.
|
|
|
|
|
The tools in this software implement various reconstruction algorithms for
|
|
|
|
|
Magnetic Resonance Imaging.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2017-03-15 20:05:20 +00:00
|
|
|
|
(define-public dcmtk
|
|
|
|
|
(package
|
|
|
|
|
(name "dcmtk")
|
2024-05-13 07:53:11 +00:00
|
|
|
|
(version "3.6.8")
|
2019-03-18 12:14:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/"
|
|
|
|
|
"dcmtk" (string-join (string-split version #\.) "")
|
|
|
|
|
"/dcmtk-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2024-05-13 07:53:11 +00:00
|
|
|
|
(base32 "03vjv2lq5kr79ghf8v0q9wskkrcr2ygi097nybmqs4q3amjpc813"))))
|
2019-03-18 12:14:12 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2022-05-13 15:41:09 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; By default, only static archives are built.
|
|
|
|
|
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
|
2017-03-15 20:05:20 +00:00
|
|
|
|
(inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list icu4c
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libxml2
|
|
|
|
|
openssl
|
|
|
|
|
zlib))
|
2017-03-15 20:05:20 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list doxygen)) ; for HTML documentation
|
2019-03-18 12:11:56 +00:00
|
|
|
|
(home-page "https://dcmtk.org")
|
2017-03-15 20:05:20 +00:00
|
|
|
|
(synopsis "Libraries and programs implementing parts of the DICOM standard")
|
|
|
|
|
(description "DCMTK is a collection of libraries and applications
|
|
|
|
|
implementing large parts the DICOM standard. It includes software for
|
|
|
|
|
examining, constructing and converting DICOM image files, handling offline
|
|
|
|
|
media, sending and receiving images over a network connection, as well as
|
|
|
|
|
demonstrative image storage and worklist servers.")
|
|
|
|
|
(license (license:fsf-free
|
|
|
|
|
"file://COPYRIGHT"
|
|
|
|
|
"A union of the Apache 2.0 licence and various non-copyleft
|
|
|
|
|
licences similar to the Modified BSD licence."))))
|
2017-03-15 20:05:23 +00:00
|
|
|
|
|
|
|
|
|
(define-public mia
|
|
|
|
|
(package
|
|
|
|
|
(name "mia")
|
2022-05-13 15:47:19 +00:00
|
|
|
|
(version "2.4.7")
|
2017-03-15 20:05:23 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/mia/mia/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/mia-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-13 15:47:19 +00:00
|
|
|
|
"0qpcd3n26q52dpyibm11f5l6cgscdr54p2jish39gc3p1f5h3ws1"))
|
2022-07-05 19:39:48 +00:00
|
|
|
|
(patches (search-patches "mia-fix-boost-headers.patch"
|
2022-11-19 18:07:32 +00:00
|
|
|
|
"mia-vtk9.patch"
|
|
|
|
|
"mia-vtk92.patch"
|
|
|
|
|
"mia-vtk-version.patch"))))
|
2017-03-15 20:05:23 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2022-05-13 15:47:19 +00:00
|
|
|
|
(list "-DMIA_CREATE_NIPYPE_INTERFACES=OFF"
|
2017-03-15 20:05:23 +00:00
|
|
|
|
"-DCMAKE_CXX_FLAGS=-fpermissive")))
|
|
|
|
|
(inputs
|
2022-05-13 15:47:19 +00:00
|
|
|
|
(list boost
|
|
|
|
|
dcmtk
|
|
|
|
|
doxygen
|
|
|
|
|
eigen
|
|
|
|
|
fftw
|
|
|
|
|
fftwf
|
|
|
|
|
gsl
|
|
|
|
|
gts
|
|
|
|
|
hdf5
|
|
|
|
|
itpp
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libxml2
|
|
|
|
|
libxml++
|
|
|
|
|
maxflow
|
|
|
|
|
niftilib
|
|
|
|
|
nlopt
|
|
|
|
|
openexr-2
|
|
|
|
|
python-lxml
|
2022-07-05 19:39:48 +00:00
|
|
|
|
vtk))
|
2017-03-15 20:05:23 +00:00
|
|
|
|
(native-inputs
|
2022-05-13 15:47:19 +00:00
|
|
|
|
(list pkg-config
|
|
|
|
|
python-wrapper))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://mia.sourceforge.net")
|
2017-03-15 20:05:23 +00:00
|
|
|
|
(synopsis "Toolkit for gray scale medical image analysis")
|
|
|
|
|
(description "MIA provides a combination of command line tools, plug-ins,
|
|
|
|
|
and libraries that make it possible run image processing tasks interactively
|
|
|
|
|
in a command shell and to prototype using the shell's scripting language. It
|
|
|
|
|
is built around a plug-in structure that makes it easy to add functionality
|
|
|
|
|
without compromising the original code base and it makes use of a wide variety
|
|
|
|
|
of external libraries that provide additional functionality.")
|
|
|
|
|
(license license:gpl3+)))
|
2017-03-15 20:05:24 +00:00
|
|
|
|
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(define-public opencolorio
|
|
|
|
|
(package
|
|
|
|
|
(name "opencolorio")
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
(version "2.3.2")
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/AcademySoftwareFoundation/OpenColorIO")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
(base32 "1h33s2pfy28nj836kx6xx3iks7v38g3kx7c4f6zn1dpskl0zf809"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
;; XXX: GPU tests are failing.
|
|
|
|
|
(list #:configure-flags #~(list "-DOCIO_BUILD_GPU_TESTS=false")))
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(native-inputs
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail.
|
|
|
|
|
;; They also require OIIO, but OCIO is an optional dependency to it.
|
|
|
|
|
(list pybind11-2.10 python-wrapper))
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(inputs
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
(list expat
|
|
|
|
|
freeglut
|
|
|
|
|
glew
|
|
|
|
|
imath
|
|
|
|
|
lcms
|
|
|
|
|
libglvnd
|
|
|
|
|
minizip-ng
|
|
|
|
|
openexr
|
|
|
|
|
pystring
|
|
|
|
|
yaml-cpp
|
|
|
|
|
zlib))
|
2020-08-16 22:06:07 +00:00
|
|
|
|
(home-page "https://opencolorio.org")
|
|
|
|
|
(synopsis "Color management for visual effects and animation")
|
|
|
|
|
(description
|
|
|
|
|
"OpenColorIO, or OCIO, is a complete color management solution geared
|
|
|
|
|
towards motion picture production, with an emphasis on visual effects and
|
|
|
|
|
computer animation. It provides a straightforward and consistent user
|
|
|
|
|
experience across all supporting applications while allowing for sophisticated
|
|
|
|
|
back-end configuration options suitable for high-end production usage.
|
|
|
|
|
|
|
|
|
|
OCIO is compatible with the @acronym{ACES, Academy Color Encoding
|
|
|
|
|
Specification} and is @acronym{LUT, look-up table}-format agnostic, supporting
|
|
|
|
|
many popular formats.")
|
gnu: opencolorio: Update to 2.3.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Use G-Expressions.
<#:configure-flags>: Unset "-DCMAKE-CXX_FLAGS",
"-DOCIO_BUILD_STATIC", "-DUSE_EXTERNAL_TINXML", "-DUSE_EXTERNAL_LCMS". Pass
"-DCIO_BUILD_GPU_TESTS=false".
<#:phases>: Delete the patch-test-suite phase.
[native-inputs]: Remove git, pkg-config. Add openimageio, pybind11-2.10,
python-wrapper.
[inputs]: Remove openexr-2, tinyxml. Add expat, freeglut, glew, imath,
libglvnd, minizip-ng, openexr, pystring, yaml-cpp, zlib.
[license]: Simplify.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Iafd87762df81d0f5c23089251b4241a57d414dc4
2024-03-27 13:21:12 +00:00
|
|
|
|
(license license:bsd-3)))
|
2020-08-16 22:06:07 +00:00
|
|
|
|
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(define-public vtk
|
|
|
|
|
(package
|
|
|
|
|
(name "vtk")
|
2022-11-18 19:29:30 +00:00
|
|
|
|
(version "9.2.2")
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-01-30 19:58:54 +00:00
|
|
|
|
(uri (string-append "https://vtk.org/files/release/"
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/VTK-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-18 19:29:30 +00:00
|
|
|
|
"0x8h2bwxq2870067j7wqd0qym87pa3inkbri93zrdb0zwwmhlnqw"))
|
2021-01-07 19:43:23 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each
|
2022-09-12 19:25:45 +00:00
|
|
|
|
(lambda (dir)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "ThirdParty/" dir "/vtk" dir)))
|
|
|
|
|
;; pugixml depended upon unconditionally
|
|
|
|
|
'("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
|
|
|
|
|
"glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
|
|
|
|
|
"libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
|
|
|
|
|
"tiff" "zlib"))
|
|
|
|
|
(substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
|
|
|
|
|
(("\\bHPDF_UINT16 (noPen|dash|dot|denseDot|dashDot|dashDotDot)\\b"
|
|
|
|
|
_ var)
|
|
|
|
|
(string-append "HPDF_REAL " var)))))))
|
2021-04-02 07:00:36 +00:00
|
|
|
|
(properties `((release-monitoring-url . "https://vtk.org/download/")))
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-03-14 10:39:16 +00:00
|
|
|
|
(list #:build-type "Release" ;Build without '-g' to save space.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~'( ;;"-DBUILD_TESTING:BOOL=TRUE" ;not honored
|
|
|
|
|
"-DVTK_USE_EXTERNAL=OFF" ;default
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_lz4=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_ogg=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_png=ON"
|
|
|
|
|
;;"-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=ON" ;breaks IO/CityGML
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_theora=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=ON"
|
|
|
|
|
"-DVTK_MODULE_ENABLE_VTK_RenderingExternal=YES" ;for F3D
|
|
|
|
|
"-DVTK_WRAP_PYTHON=ON"
|
|
|
|
|
"-DVTK_PYTHON_VERSION:STRING=3"
|
2023-03-14 08:52:09 +00:00
|
|
|
|
|
2023-03-14 10:39:16 +00:00
|
|
|
|
"-DVTK_SMP_ENABLE_OPENNMP=ON"
|
|
|
|
|
"-DVTK_SMP_ENABLE_TBB=ON"
|
|
|
|
|
"-DVTK_USE_MPI=ON"
|
2023-06-12 05:52:33 +00:00
|
|
|
|
#$@(if (target-riscv64?)
|
|
|
|
|
'("-DCMAKE_SHARED_LINKER_FLAGS=-latomic"
|
|
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS=-latomic")
|
|
|
|
|
'()))
|
2023-03-14 10:39:16 +00:00
|
|
|
|
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'clear-reference-to-compiler
|
|
|
|
|
(lambda _
|
|
|
|
|
(define (choose . files)
|
|
|
|
|
(let loop ((files files))
|
|
|
|
|
(if (null? files)
|
|
|
|
|
#f
|
|
|
|
|
(if (file-exists? (car files))
|
|
|
|
|
(car files)
|
|
|
|
|
(loop (cdr files))))))
|
|
|
|
|
|
|
|
|
|
;; Do not retain a reference to GCC.
|
|
|
|
|
(substitute* (choose
|
|
|
|
|
"Common/Core/vtkConfigureDeprecated.h.in" ;v9.x
|
|
|
|
|
"Common/Core/vtkConfigure.h.in") ;v7.x
|
|
|
|
|
(("@CMAKE_CXX_COMPILER@") "c++")))))
|
|
|
|
|
|
|
|
|
|
#:tests? #f)) ;XXX: test data not included
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(inputs
|
2022-04-01 13:26:45 +00:00
|
|
|
|
(list double-conversion
|
|
|
|
|
eigen
|
|
|
|
|
expat
|
|
|
|
|
freetype
|
|
|
|
|
gl2ps
|
|
|
|
|
glew
|
|
|
|
|
glu
|
|
|
|
|
hdf5
|
2022-09-12 19:25:45 +00:00
|
|
|
|
libharu
|
2022-04-01 13:26:45 +00:00
|
|
|
|
libjpeg-turbo
|
|
|
|
|
jsoncpp
|
|
|
|
|
libtheora
|
|
|
|
|
libx11
|
|
|
|
|
libxml2
|
|
|
|
|
libxt
|
|
|
|
|
lz4
|
|
|
|
|
mesa
|
|
|
|
|
netcdf
|
|
|
|
|
libpng
|
2023-03-14 08:52:09 +00:00
|
|
|
|
libtiff
|
|
|
|
|
openmpi
|
2023-03-26 15:14:25 +00:00
|
|
|
|
proj
|
2022-04-01 13:26:45 +00:00
|
|
|
|
python
|
|
|
|
|
;("pugixml" ,pugixml)
|
|
|
|
|
sqlite
|
|
|
|
|
xorgproto
|
|
|
|
|
zlib))
|
2021-03-18 07:46:45 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; VTK's 'VTK-vtk-module-find-packages.cmake' calls
|
2023-03-14 08:52:09 +00:00
|
|
|
|
;; 'find_package(THEORA)', which in turns looks for libogg. Likewise for
|
|
|
|
|
;; TBB.
|
|
|
|
|
(list libogg
|
|
|
|
|
tbb))
|
2019-01-30 19:58:54 +00:00
|
|
|
|
(home-page "https://vtk.org/")
|
2017-03-15 20:05:24 +00:00
|
|
|
|
(synopsis "Libraries for 3D computer graphics")
|
|
|
|
|
(description
|
|
|
|
|
"The Visualization Toolkit (VTK) is a C++ library for 3D computer graphics,
|
|
|
|
|
image processing and visualization. It supports a wide variety of
|
|
|
|
|
visualization algorithms including: scalar, vector, tensor, texture, and
|
|
|
|
|
volumetric methods; and advanced modeling techniques such as: implicit
|
|
|
|
|
modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay
|
|
|
|
|
triangulation. VTK has an extensive information visualization framework, has
|
|
|
|
|
a suite of 3D interaction widgets, supports parallel processing, and
|
|
|
|
|
integrates with various databases on GUI toolkits such as Qt and Tk.")
|
|
|
|
|
(license license:bsd-3)))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
2022-05-13 03:43:39 +00:00
|
|
|
|
(define-public vtk-7
|
|
|
|
|
(package
|
|
|
|
|
(inherit vtk)
|
|
|
|
|
(version "7.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://vtk.org/files/release/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/VTK-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0nm7xwwj7rnsxjdv2ssviys8nhci4n9iiiqm2y14s520hl2dsp1d"))
|
|
|
|
|
(patches (search-patches "vtk-7-python-compat.patch"
|
|
|
|
|
"vtk-7-hdf5-compat.patch"
|
2023-08-29 14:06:02 +00:00
|
|
|
|
"vtk-7-gcc-10-compat.patch"
|
|
|
|
|
"vtk-7-gcc-11-compat.patch"))))
|
2022-05-13 03:43:39 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments vtk)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
;; Otherwise, the build would fail with: "error: invalid conversion
|
|
|
|
|
;; from ‘const char*’ to ‘char*’ [-fpermissive]".
|
2023-03-14 10:39:16 +00:00
|
|
|
|
#~(cons "-DCMAKE_CXX_FLAGS=-fpermissive" #$flags))
|
2022-06-09 20:53:33 +00:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
|
(add-after 'unpack 'remove-kernel-version
|
|
|
|
|
;; Avoid embedding the kernel version for reproducible builds
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute*
|
|
|
|
|
"ThirdParty/hdf5/vtkhdf5/config/cmake/libhdf5.settings.cmake.in"
|
2022-06-05 00:00:00 +00:00
|
|
|
|
(("Host system: \\@CMAKE_HOST_SYSTEM\\@")
|
2022-06-09 20:53:33 +00:00
|
|
|
|
"Host system: @CMAKE_SYSTEM_NAME@"))))))))))
|
2022-05-13 03:43:39 +00:00
|
|
|
|
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(define-public opencv
|
|
|
|
|
(package
|
|
|
|
|
(name "opencv")
|
2024-03-25 04:50:14 +00:00
|
|
|
|
(version "4.9.0")
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(source (origin
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(url "https://github.com/opencv/opencv")
|
|
|
|
|
(commit version)))
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2023-03-22 21:04:59 +00:00
|
|
|
|
;; Remove external libraries. Almost all of them are
|
|
|
|
|
;; available in Guix.
|
2021-12-20 22:19:41 +00:00
|
|
|
|
(with-directory-excursion "3rdparty"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("carotene"
|
|
|
|
|
"cpufeatures"
|
2023-08-19 08:18:43 +00:00
|
|
|
|
"flatbuffers"
|
2021-12-20 22:19:41 +00:00
|
|
|
|
"ffmpeg"
|
|
|
|
|
"include"
|
|
|
|
|
"ippicv"
|
|
|
|
|
"ittnotify"
|
|
|
|
|
"libjasper"
|
|
|
|
|
"libjpeg"
|
|
|
|
|
"libjpeg-turbo"
|
|
|
|
|
"libpng"
|
|
|
|
|
"libtiff"
|
|
|
|
|
"libwebp"
|
|
|
|
|
"openexr"
|
|
|
|
|
"openjpeg"
|
|
|
|
|
"openvx"
|
|
|
|
|
"protobuf"
|
|
|
|
|
;;"quirc"
|
|
|
|
|
"tbb"
|
|
|
|
|
"zlib")))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
2023-03-22 21:04:59 +00:00
|
|
|
|
;; Delete any bundled .jar files.
|
|
|
|
|
(for-each delete-file (find-files "." "\\.jar$"))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-03-25 04:50:14 +00:00
|
|
|
|
"1s3d2bzf74biz18flb33533dfx3j31305ddh4gzgvg55hpr1zp55"))))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(list "-DWITH_ADE=OFF" ;we don't have a package for ade yet
|
2021-12-20 22:19:41 +00:00
|
|
|
|
"-DWITH_IPP=OFF"
|
2018-02-16 19:31:37 +00:00
|
|
|
|
"-DWITH_ITT=OFF"
|
2023-03-22 21:04:59 +00:00
|
|
|
|
"-DWITH_CAROTENE=OFF" ; only visible on arm/aarch64
|
2019-01-14 08:03:41 +00:00
|
|
|
|
"-DENABLE_PRECOMPILED_HEADERS=OFF"
|
2022-03-22 09:49:58 +00:00
|
|
|
|
"-DOPENCV_GENERATE_PKGCONFIG=ON"
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
|
|
|
|
;; CPU-Features:
|
|
|
|
|
;; See cmake/OpenCVCompilerOptimizations.cmake
|
|
|
|
|
;; (CPU_ALL_OPTIMIZATIONS) for a list of all optimizations
|
|
|
|
|
;; BASELINE is the minimum optimization all CPUs must support
|
|
|
|
|
;;
|
2019-01-15 11:18:00 +00:00
|
|
|
|
;; DISPATCH is the list of optional dispatches.
|
|
|
|
|
"-DCPU_BASELINE=SSE2"
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
2022-08-14 12:46:21 +00:00
|
|
|
|
;; Build Python bindings.
|
|
|
|
|
"-DBUILD_opencv_python3=ON"
|
|
|
|
|
|
2019-01-15 11:18:00 +00:00
|
|
|
|
,@(match (%current-system)
|
|
|
|
|
("x86_64-linux"
|
|
|
|
|
'("-DCPU_DISPATCH=NEON;VFPV3;FP16;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2;POPCNT;AVX;FP16;AVX2;FMA3;AVX_512F;AVX512_SKX"
|
|
|
|
|
"-DCPU_DISPATCH_REQUIRE=SSE3,SSSE3,SSE4_1,SSE4_2,AVX,AVX2"))
|
|
|
|
|
("armhf-linux"
|
|
|
|
|
'("-DCPU_BASELINE_DISABLE=NEON")) ; causes build failures
|
|
|
|
|
("aarch64-linux"
|
|
|
|
|
'("-DCPU_BASELINE=NEON"
|
|
|
|
|
"-DCPU_DISPATCH=NEON;VFPV3;FP16"))
|
|
|
|
|
(_ '()))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
|
|
|
|
"-DBUILD_PERF_TESTS=OFF"
|
2019-01-13 20:26:40 +00:00
|
|
|
|
"-DBUILD_TESTS=ON"
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
2019-01-14 08:01:52 +00:00
|
|
|
|
(string-append "-DOPENCV_EXTRA_MODULES_PATH=" (getcwd)
|
2019-01-14 09:47:00 +00:00
|
|
|
|
"/opencv-contrib/modules")
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
|
|
|
|
;;Define test data:
|
2019-01-14 08:01:52 +00:00
|
|
|
|
(string-append "-DOPENCV_TEST_DATA_PATH=" (getcwd)
|
2019-01-14 09:47:00 +00:00
|
|
|
|
"/opencv-extra/testdata")
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
|
|
|
|
;; Is ON by default and would try to rebuild 3rd-party protobuf,
|
|
|
|
|
;; which we had removed, which would lead to an error:
|
|
|
|
|
"-DBUILD_PROTOBUF=OFF"
|
|
|
|
|
|
2023-08-19 08:18:43 +00:00
|
|
|
|
;; OpenCV tries to use flatbuffers in 3rdparty which we removed
|
|
|
|
|
;; so for now we don't buildfor flatbuffer support
|
|
|
|
|
;; TODO: make OpenCV use system flatbuffers which involves
|
|
|
|
|
;; modifying CMake files
|
|
|
|
|
"-DWITH_FLATBUFFERS=OFF"
|
|
|
|
|
|
2018-02-16 19:31:37 +00:00
|
|
|
|
;; Rebuild protobuf files, because we have a slightly different
|
|
|
|
|
;; version than the included one. If we would not update, we
|
|
|
|
|
;; would get a compile error later:
|
|
|
|
|
"-DPROTOBUF_UPDATE_FILES=ON"
|
|
|
|
|
|
2023-07-30 08:13:20 +00:00
|
|
|
|
;; For xfeatures2d.
|
|
|
|
|
"-DOPENCV_SKIP_FEATURES2D_DOWNLOADING=ON")
|
2018-02-16 19:31:37 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-broken-tests
|
|
|
|
|
(lambda _
|
2021-12-20 22:19:41 +00:00
|
|
|
|
;; This test fails with "unknown file: Failure"
|
2018-02-16 19:31:37 +00:00
|
|
|
|
;; But I couldn't figure out which file was missing:
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(substitute* "../opencv-contrib/modules/face/test/test_face_align.cpp"
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(("\\bcan_detect_landmarks\\b" all)
|
|
|
|
|
(string-append "DISABLED_" all)))
|
2021-12-27 12:20:27 +00:00
|
|
|
|
|
2023-03-22 21:04:59 +00:00
|
|
|
|
;; This all fails with a comparison between the expected 396 and
|
2021-12-27 12:20:27 +00:00
|
|
|
|
;; the actual 440 in file size.
|
|
|
|
|
(substitute* "modules/imgcodecs/test/test_exr.impl.hpp"
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(("\\breadWrite_32FC1\\b" all)
|
|
|
|
|
(string-append "DISABLED_" all)))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
2021-12-20 22:19:41 +00:00
|
|
|
|
;; These fail with protobuf parse errors that come from
|
2023-03-22 21:04:59 +00:00
|
|
|
|
;; opencv-extra/alldata.
|
2021-12-20 22:19:41 +00:00
|
|
|
|
(substitute* "modules/dnn/test/test_layers.cpp"
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(("\\b(Accum|DataAugmentation|Resample|Correlation|Interp)\\b" all)
|
2023-06-09 05:27:05 +00:00
|
|
|
|
(string-append "DISABLED_" all)))
|
|
|
|
|
|
2023-08-19 08:18:43 +00:00
|
|
|
|
;; This test fails on x86-64, loosen the bounds.
|
|
|
|
|
;; Expected: (max) < (0.1), actual: 0.2 vs 0.1
|
|
|
|
|
(substitute* "modules/photo/test/test_hdr.cpp"
|
|
|
|
|
(("0\\.1\\)") "0.222)"))
|
|
|
|
|
|
2023-06-09 05:27:05 +00:00
|
|
|
|
,@(if (target-aarch64?)
|
|
|
|
|
`(;; This test fails on aarch64, loosen the bounds.
|
|
|
|
|
;; Expected: (max) < (0.131), actual: 0.207148 vs 0.131
|
|
|
|
|
(substitute* "modules/photo/test/test_hdr.cpp"
|
|
|
|
|
(("0\\.131") "0.222"))
|
|
|
|
|
;; These tests hang forever on aarch64.
|
|
|
|
|
(delete-file-recursively "modules/videoio/test/"))
|
2023-06-13 09:54:27 +00:00
|
|
|
|
'())
|
|
|
|
|
|
|
|
|
|
,@(if (target-riscv64?)
|
|
|
|
|
`(;; This test fails on riscv64, loosen the bounds.
|
|
|
|
|
;; Expected: (max) < (0.1), actual: 0.220829 vs 0.1
|
|
|
|
|
(substitute* "modules/photo/test/test_hdr.cpp"
|
|
|
|
|
(("0\\.1") "0.240"))
|
|
|
|
|
;; Expected equality of these values:
|
|
|
|
|
;; ellipses.size()
|
|
|
|
|
;; Which is: 668
|
|
|
|
|
;; ellipses_size
|
|
|
|
|
;; Which is: 2449
|
|
|
|
|
(substitute* "../opencv-contrib/modules/ximgproc/test/test_fld.cpp"
|
|
|
|
|
(("\\bManySmallCircles\\b" all)
|
|
|
|
|
(string-append "DISABLED_" all))))
|
2023-06-09 05:27:05 +00:00
|
|
|
|
'())))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(add-after 'unpack 'unpack-submodule-sources
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(mkdir "../opencv-extra")
|
|
|
|
|
(mkdir "../opencv-contrib")
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(copy-recursively (assoc-ref inputs "opencv-extra")
|
|
|
|
|
"../opencv-extra")
|
2021-09-11 08:07:37 +00:00
|
|
|
|
(copy-recursively (assoc-ref inputs "opencv-contrib")
|
2023-07-30 08:13:20 +00:00
|
|
|
|
"../opencv-contrib")
|
|
|
|
|
|
|
|
|
|
;; Disable downloads of Boost and VGG descriptors as we include
|
|
|
|
|
;; them in native inputs.
|
|
|
|
|
(substitute* "../opencv-contrib/modules/xfeatures2d/CMakeLists.txt"
|
|
|
|
|
(("download_(boost|vgg)_descriptors") "#"))
|
|
|
|
|
(copy-recursively (assoc-ref inputs "opencv-3rdparty-boost")
|
|
|
|
|
"../downloads/xfeatures2d")
|
|
|
|
|
(for-each make-file-writable
|
|
|
|
|
(find-files "../downloads/xfeatures2d" "."))
|
|
|
|
|
(copy-recursively (assoc-ref inputs "opencv-3rdparty-vgg")
|
|
|
|
|
"../downloads/xfeatures2d")))
|
2021-12-21 09:26:22 +00:00
|
|
|
|
(add-after 'build 'do-not-install-3rdparty-file
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "cmake_install.cmake"
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(("file\\(INSTALL .*3rdparty/include/opencl/LICENSE.txt.*")
|
|
|
|
|
""))))
|
2021-12-21 09:26:22 +00:00
|
|
|
|
(add-before 'check 'start-xserver
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server"))
|
|
|
|
|
(disp ":1"))
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(setenv "DISPLAY" disp)
|
|
|
|
|
;; There must be a running X server and make check doesn't start one.
|
|
|
|
|
;; Therefore we must do it.
|
|
|
|
|
(zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(native-inputs
|
2019-01-14 09:47:00 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2023-03-22 21:04:59 +00:00
|
|
|
|
("xorg-server" ,xorg-server-for-tests) ;For running the tests
|
2023-07-30 08:13:20 +00:00
|
|
|
|
;; These are files that are derived from the binary descriptors that
|
|
|
|
|
;; are part of the BinBoost package. The BinBoost package is released
|
|
|
|
|
;; under GPLv2+. See
|
|
|
|
|
;; https://www.epfl.ch/labs/cvlab/research/descriptors-and-keypoints/research-detect-binboost/
|
|
|
|
|
;; See xfeatures2d/cmake/download_boostdesc.cmake for commit hash.
|
|
|
|
|
("opencv-3rdparty-boost"
|
|
|
|
|
,(let ((commit "34e4206aef44d50e6bbcd0ab06354b52e7466d26"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url "https://github.com/opencv/opencv_3rdparty")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "opencv_3rdparty" commit))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"13yig1xhvgghvxspxmdidss5lqiikpjr0ddm83jsi0k85j92sn62")))))
|
|
|
|
|
;; These are the Visual Geometry Group descriptors, released under
|
|
|
|
|
;; BSD-3. They are generated files produced by the DLCO framework.
|
|
|
|
|
;; See xfeatures2d/cmake/download_vgg.cmake for commit hash.
|
|
|
|
|
("opencv-3rdparty-vgg"
|
|
|
|
|
,(let ((commit "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url "https://github.com/opencv/opencv_3rdparty")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "opencv_3rdparty" commit))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0r9fam8dplyqqsd3qgpnnfgf9l7lj44di19rxwbm8mxiw0rlcdvy")))))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
("opencv-extra"
|
|
|
|
|
,(origin
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-12-20 22:19:41 +00:00
|
|
|
|
(url "https://github.com/opencv/opencv_extra")
|
|
|
|
|
(commit version)))
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(file-name (git-file-name "opencv_extra" version))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(sha256
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(base32
|
2024-03-25 04:50:14 +00:00
|
|
|
|
"1x095sgc0fkl8zzpxlswpnmxkf80cvzab1ddcq792dys5qm2s1x4"))))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
("opencv-contrib"
|
|
|
|
|
,(origin
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(method git-fetch)
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(uri (git-reference (url "https://github.com/opencv/opencv_contrib")
|
|
|
|
|
(commit version)))
|
2019-01-14 09:47:00 +00:00
|
|
|
|
(file-name (git-file-name "opencv_contrib" version))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(sha256
|
2023-03-22 21:04:59 +00:00
|
|
|
|
(base32
|
2024-03-25 04:50:14 +00:00
|
|
|
|
"17xrvzllbcrprxn6c0g4x25i2wa7yqa0ycv177wah3if9s30dgib"))))))
|
2021-12-20 22:19:41 +00:00
|
|
|
|
(inputs
|
2023-08-19 08:18:43 +00:00
|
|
|
|
(list eigen
|
|
|
|
|
ffmpeg-4
|
|
|
|
|
;; TODO: add gstreamer
|
2021-12-20 22:19:41 +00:00
|
|
|
|
gtk+
|
|
|
|
|
gtkglext
|
|
|
|
|
hdf5
|
|
|
|
|
ilmbase
|
2023-03-22 21:04:59 +00:00
|
|
|
|
imath ;should be propagated by openexr
|
2021-12-20 22:19:41 +00:00
|
|
|
|
jasper
|
|
|
|
|
libgphoto2
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp
|
|
|
|
|
openblas
|
2023-08-19 08:18:43 +00:00
|
|
|
|
opencl-headers
|
2021-12-20 22:19:41 +00:00
|
|
|
|
openexr
|
2023-08-19 08:18:43 +00:00
|
|
|
|
openmpi
|
2021-12-20 22:19:41 +00:00
|
|
|
|
openjpeg
|
|
|
|
|
protobuf
|
|
|
|
|
python
|
|
|
|
|
python-numpy
|
|
|
|
|
vtk
|
|
|
|
|
zlib))
|
2018-05-12 23:40:30 +00:00
|
|
|
|
;; These three CVEs are not a problem of OpenCV, see:
|
|
|
|
|
;; https://github.com/opencv/opencv/issues/10998
|
|
|
|
|
(properties '((lint-hidden-cve . ("CVE-2018-7712"
|
|
|
|
|
"CVE-2018-7713"
|
|
|
|
|
"CVE-2018-7714"))))
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(synopsis "Computer vision library")
|
2021-12-20 22:19:41 +00:00
|
|
|
|
(description "OpenCV is a library aimed at real-time computer vision,
|
|
|
|
|
including several hundred computer vision algorithms. It can be used to do
|
|
|
|
|
things like:
|
2018-02-16 19:31:37 +00:00
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item image and video input and output
|
|
|
|
|
@item image and video processing
|
|
|
|
|
@item displaying
|
|
|
|
|
@item feature recognition
|
|
|
|
|
@item segmentation
|
|
|
|
|
@item facial recognition
|
|
|
|
|
@item stereo vision
|
|
|
|
|
@item structure from motion
|
|
|
|
|
@item augmented reality
|
|
|
|
|
@item machine learning
|
2023-03-24 02:46:40 +00:00
|
|
|
|
@end itemize\n
|
|
|
|
|
|
|
|
|
|
This package includes the Python bindings for OpenCV, which are also known as
|
|
|
|
|
the OpenCV-Python library.")
|
2018-02-16 19:31:37 +00:00
|
|
|
|
(home-page "https://opencv.org/")
|
|
|
|
|
(license license:bsd-3)))
|
2018-12-05 17:59:34 +00:00
|
|
|
|
|
|
|
|
|
(define-public vips
|
|
|
|
|
(package
|
|
|
|
|
(name "vips")
|
2022-09-27 21:55:06 +00:00
|
|
|
|
(version "8.13.1")
|
2019-03-18 13:44:11 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/libvips/libvips/releases/download/v"
|
|
|
|
|
version "/vips-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2022-09-27 21:55:06 +00:00
|
|
|
|
(base32 "00kp3439jcqv9l2gcjg88xzvlq8clv54z1m3x66i3chvarz7ndxd"))))
|
2018-12-05 17:59:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gobject-introspection pkg-config))
|
2018-12-05 17:59:34 +00:00
|
|
|
|
(inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list expat
|
|
|
|
|
fftw
|
|
|
|
|
giflib
|
|
|
|
|
glib
|
|
|
|
|
hdf5
|
|
|
|
|
imagemagick
|
|
|
|
|
lcms
|
|
|
|
|
libexif
|
|
|
|
|
libgsf
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
2023-08-14 18:32:47 +00:00
|
|
|
|
(librsvg-for-system)
|
2021-12-13 21:15:07 +00:00
|
|
|
|
libtiff
|
|
|
|
|
libxml2
|
|
|
|
|
libwebp
|
|
|
|
|
matio
|
|
|
|
|
niftilib
|
|
|
|
|
openexr-2
|
|
|
|
|
orc
|
|
|
|
|
pango
|
|
|
|
|
poppler))
|
2018-12-05 17:59:34 +00:00
|
|
|
|
(home-page "https://libvips.github.io/libvips/")
|
2019-03-18 13:50:49 +00:00
|
|
|
|
(synopsis "Multithreaded image processing system with low memory needs")
|
2018-12-23 20:27:19 +00:00
|
|
|
|
(description
|
2019-03-18 13:50:49 +00:00
|
|
|
|
"VIPS is a demand-driven, horizontally threaded image processing library.
|
|
|
|
|
It's particularly good at processing large images, working with colour,
|
|
|
|
|
scientific analysis, and general research & development.
|
|
|
|
|
|
|
|
|
|
Compared to most image processing libraries VIPS needs little RAM and runs
|
|
|
|
|
quickly, especially on machines with more than one CPU core. This is primarily
|
|
|
|
|
due to its architecture which automatically parallelises the image workflows.")
|
2018-12-05 17:59:34 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
2018-12-05 18:03:13 +00:00
|
|
|
|
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(define-public gmic
|
|
|
|
|
(package
|
|
|
|
|
(name "gmic")
|
2024-03-15 23:51:40 +00:00
|
|
|
|
(version "3.3.5")
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://gmic.eu/files/source/gmic_"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2024-03-15 23:51:40 +00:00
|
|
|
|
(base32 "06vcwn8c8zhr1j0jy79an1f6vvjh47ipm19a20g3qsnxv7h5c905"))))
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2021-03-05 04:53:36 +00:00
|
|
|
|
`(#:tests? #f ;there are no tests
|
|
|
|
|
#:configure-flags '("-DBUILD_LIB_STATIC=OFF"
|
|
|
|
|
"-DENABLE_DYNAMIC_LINKING=ON"
|
|
|
|
|
"-DENABLE_LTO=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-LDFLAGS
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append
|
|
|
|
|
"-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib")))))))
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list curl
|
|
|
|
|
fftw
|
|
|
|
|
graphicsmagick
|
2021-12-23 19:46:44 +00:00
|
|
|
|
imath
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libx11
|
2021-12-23 19:46:44 +00:00
|
|
|
|
openexr
|
2021-12-13 16:18:24 +00:00
|
|
|
|
zlib))
|
2020-06-22 22:36:05 +00:00
|
|
|
|
(home-page "https://gmic.eu/")
|
|
|
|
|
(synopsis "Full-featured framework for digital image processing")
|
|
|
|
|
(description "G'MIC is a full-featured framework for digital image
|
|
|
|
|
processing. It provides several user interfaces to convert / manipulate
|
|
|
|
|
/ filter / visualize generic image datasets, ranging from 1D scalar
|
|
|
|
|
signals to 3D+t sequences of multi-spectral volumetric images, hence
|
|
|
|
|
including 2D color images.")
|
|
|
|
|
;; Dual-licensed, either license applies.
|
|
|
|
|
(license (list license:cecill license:cecill-c))))
|
|
|
|
|
|
2021-03-05 05:14:16 +00:00
|
|
|
|
(define-public gmic-qt
|
|
|
|
|
(package
|
|
|
|
|
(inherit gmic)
|
|
|
|
|
(name "gmic-qt")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments gmic)
|
|
|
|
|
((#:configure-flags _)
|
|
|
|
|
`(list "-DGMIC_QT_HOST=none" "-DENABLE_DYNAMIC_LINKING=ON"
|
|
|
|
|
(string-append "-DGMIC_LIB_PATH="
|
|
|
|
|
(assoc-ref %build-inputs "gmic") "/lib")))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'qt-chdir
|
|
|
|
|
(lambda _ (chdir "gmic-qt") #t))))))
|
|
|
|
|
(native-inputs
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(list pkg-config qttools-5))
|
2021-03-05 05:14:16 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(modify-inputs (package-inputs gmic)
|
|
|
|
|
(prepend gmic qtbase-5)))
|
2021-03-05 05:14:16 +00:00
|
|
|
|
(synopsis "Qt frontend for the G'MIC image processing framework")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2021-07-24 08:51:56 +00:00
|
|
|
|
(define-public gmic-qt-gimp
|
|
|
|
|
(package
|
|
|
|
|
(inherit gmic-qt)
|
|
|
|
|
(name "gmic-qt-gimp")
|
|
|
|
|
(inputs
|
|
|
|
|
;; GIMP and its dependencies.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(modify-inputs (package-inputs gmic-qt)
|
|
|
|
|
(prepend gimp gdk-pixbuf cairo gegl)))
|
2021-07-24 08:51:56 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments gmic-qt)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
'(list "-DGMIC_QT_HOST=gimp" "-DENABLE_DYNAMIC_LINKING=ON"
|
|
|
|
|
(string-append "-DGMIC_LIB_PATH="
|
|
|
|
|
(assoc-ref %build-inputs "gmic") "/lib")))))
|
|
|
|
|
(synopsis "GIMP plugin for the G'MIC image processing framework")))
|
|
|
|
|
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(define-public nip2
|
|
|
|
|
(package
|
|
|
|
|
(name "nip2")
|
2019-02-19 14:12:50 +00:00
|
|
|
|
(version "8.7.1")
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/libvips/nip2/releases/download/v"
|
|
|
|
|
version "/nip2-" version ".tar.gz" ))
|
|
|
|
|
(sha256
|
2019-02-19 14:12:50 +00:00
|
|
|
|
(base32 "0l7n427njif53npqn02gfjjly8y3khbrkzqxp10j5vp9h97psgiw"))))
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-02-19 14:12:50 +00:00
|
|
|
|
;; test_conv.ws keep failing so disabling for now.
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(add-after 'unpack 'disable-test-conv
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "test/workspaces/test_conv.ws")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp") #t)))))
|
|
|
|
|
(inputs
|
2023-03-14 22:40:37 +00:00
|
|
|
|
(list vips
|
|
|
|
|
glib
|
|
|
|
|
libtiff
|
|
|
|
|
gtk+-2
|
|
|
|
|
libxml2
|
|
|
|
|
libexif
|
|
|
|
|
libjpeg-turbo ;required by vips.pc
|
2023-08-14 18:35:17 +00:00
|
|
|
|
(librsvg-for-system)
|
2023-03-14 22:40:37 +00:00
|
|
|
|
fftw
|
|
|
|
|
libgsf
|
|
|
|
|
imagemagick
|
|
|
|
|
orc
|
|
|
|
|
matio
|
|
|
|
|
lcms
|
|
|
|
|
libwebp
|
|
|
|
|
openexr-2
|
|
|
|
|
poppler
|
|
|
|
|
gsl))
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list flex bison pkg-config))
|
2018-12-05 18:03:13 +00:00
|
|
|
|
(home-page "https://github.com/libvips/nip2")
|
|
|
|
|
(synopsis "Spreadsheet-like GUI for libvips")
|
|
|
|
|
(description "This package provide a graphical user interface (GUI) for
|
|
|
|
|
the VIPS image processing library. It's a little like a spreadsheet: you
|
|
|
|
|
create a set of formula connecting your objects together, and on a change nip2
|
|
|
|
|
recalculates.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-08-13 15:46:22 +00:00
|
|
|
|
|
2022-09-08 15:24:06 +00:00
|
|
|
|
(define-public paraview
|
|
|
|
|
(package
|
|
|
|
|
(name "paraview")
|
2023-05-18 14:58:33 +00:00
|
|
|
|
(version "5.11.1")
|
2022-09-08 15:24:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.kitware.com/paraview/paraview.git")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-05-18 14:58:33 +00:00
|
|
|
|
(base32 "0m1lgkl95f0pyhxp97gq2rf8hibv39v4c49imfj1va40z0flvard"))
|
2022-09-08 15:24:06 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; TODO: Also remove unused bundled libraries and plugins?
|
|
|
|
|
#~(begin
|
|
|
|
|
;; Remove bundled ParaView libraries which are available in Guix
|
|
|
|
|
;; or undesired.
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "ThirdParty/" dir "/vtk"
|
|
|
|
|
(string-downcase dir))))
|
|
|
|
|
'(;;"CosmoHaloFinder"
|
|
|
|
|
;;"IceT"
|
|
|
|
|
"NvPipe" ; Don't want NvPipe support
|
|
|
|
|
;;"QtTesting"
|
|
|
|
|
;;"cinema"
|
|
|
|
|
;;"cinemasci"
|
|
|
|
|
"protobuf"))
|
|
|
|
|
;; Remove undesired ParaView plugins.
|
|
|
|
|
(delete-file-recursively "Plugins/pvNVIDIAIndeX")
|
|
|
|
|
;; Remove bundled VTK libraries which are available in Guix.
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "VTK/ThirdParty/" dir "/vtk" dir)))
|
|
|
|
|
'(;;"cgns"
|
|
|
|
|
"cli11"
|
|
|
|
|
;;"diy2"
|
|
|
|
|
"doubleconversion"
|
|
|
|
|
"eigen"
|
|
|
|
|
;;"exodusII"
|
|
|
|
|
"expat"
|
|
|
|
|
;;"exprtk"
|
|
|
|
|
;;"fides"
|
|
|
|
|
"fmt"
|
|
|
|
|
"freetype"
|
|
|
|
|
"gl2ps"
|
|
|
|
|
"glew"
|
|
|
|
|
;;"h5part"
|
|
|
|
|
"hdf5"
|
|
|
|
|
;;"ioss"
|
|
|
|
|
"jpeg"
|
|
|
|
|
"jsoncpp"
|
|
|
|
|
;;"kissfft"
|
|
|
|
|
;;"libharu" ; Requires some PRs applied to 2.3.0
|
|
|
|
|
"libproj"
|
|
|
|
|
"libxml2"
|
|
|
|
|
;;"loguru"
|
|
|
|
|
"lz4"
|
|
|
|
|
"lzma"
|
|
|
|
|
"mpi4py"
|
|
|
|
|
"netcdf"
|
2023-05-18 14:58:33 +00:00
|
|
|
|
"nlohmannjson"
|
2022-09-08 15:24:06 +00:00
|
|
|
|
"ogg"
|
|
|
|
|
;;"pegtl"
|
|
|
|
|
"png"
|
|
|
|
|
"pugixml"
|
|
|
|
|
"sqlite"
|
|
|
|
|
"theora"
|
|
|
|
|
"tiff"
|
|
|
|
|
"utf8"
|
|
|
|
|
;;"verdict"
|
|
|
|
|
;;"vpic"
|
|
|
|
|
;;"vtkm"
|
|
|
|
|
;;"xdmf2"
|
|
|
|
|
;;"xdmf3"
|
|
|
|
|
;;"zfp"
|
|
|
|
|
"zlib"))))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:build-type "Release" ; 542 MiB in release mode
|
|
|
|
|
#:tests? #f ; Downloads test data
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(let ((doc (string-append #$output "/share/doc/" #$name "-" #$version)))
|
|
|
|
|
(list
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_DOCDIR=" doc) ; For paraview.qch
|
|
|
|
|
|
|
|
|
|
;; ParaView build options
|
|
|
|
|
"-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION=ON"
|
|
|
|
|
(string-append "-DPARAVIEW_GENERATED_DOCUMENTATION_OUTPUT_DIRECTORY=" doc)
|
|
|
|
|
|
|
|
|
|
;; ParaView capability options
|
|
|
|
|
;;"-DPARAVIEW_USE_EXTERNAL_VTK=ON" ; Unsupported by ParaView
|
|
|
|
|
"-DPARAVIEW_USE_MPI=ON"
|
|
|
|
|
"-DPARAVIEW_USE_PYTHON=ON"
|
|
|
|
|
"-DPARAVIEW_USE_QTWEBENGINE=ON"
|
|
|
|
|
|
|
|
|
|
;; ParaView features
|
|
|
|
|
;;
|
|
|
|
|
;; Enable those that are disabled by default.
|
|
|
|
|
;; Commented means the dependencies are missing from Guix
|
|
|
|
|
;; (or are otherwise described).
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_ADIOS2=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_COSMOTOOLS=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_CATALYST=ON"
|
|
|
|
|
"-DPARAVIEW_ENABLE_FFMPEG=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_FIDES=ON"
|
|
|
|
|
"-DPARAVIEW_ENABLE_GDAL=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_LAS=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_LOOKINGGLASS=ON" ; Downloads dependency
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_MOMENTINVARIANTS=ON" ; Downloads dependency
|
|
|
|
|
"-DPARAVIEW_ENABLE_MOTIONFX=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_OPENTURNS=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_OPENVDB=ON" ; Dependency not found
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_PDAL=ON"
|
|
|
|
|
;;"-DPARAVIEW_ENABLE_RAYTRACING=ON"
|
|
|
|
|
"-DPARAVIEW_ENABLE_VISITBRIDGE=ON"
|
|
|
|
|
"-DPARAVIEW_ENABLE_XDMF3=ON"
|
|
|
|
|
|
|
|
|
|
;; ParaView miscellaneous options
|
|
|
|
|
;;
|
|
|
|
|
;; Without -DPARAVIEW_DATA_EXCLUDE_FROM_ALL=OFF, test data is
|
|
|
|
|
;; downloaded even with tests disabled.
|
|
|
|
|
"-DPARAVIEW_VERSIONED_INSTALL=OFF"
|
|
|
|
|
"-DPARAVIEW_DATA_EXCLUDE_FROM_ALL=OFF"
|
|
|
|
|
|
|
|
|
|
;; ParaView plugins
|
|
|
|
|
;;
|
|
|
|
|
;; Enable those that are disabled by default.
|
|
|
|
|
;; Commented means the dependencies are missing from Guix
|
|
|
|
|
;; (or are otherwise described).
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_AdiosReaderPixie=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_AdiosReaderStaging=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_CAVEInteraction=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_CDIReader=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_GeographicalMap=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_GmshIO=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_InSituExodus=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_LookingGlass=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_ParFlow=ON" ; Build fails
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_PythonQtPlugin=ON"
|
|
|
|
|
"-DPARAVIEW_PLUGIN_ENABLE_SpaceMouseInteractor=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_VDFReaderPlugin=ON"
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_XRInterface=ON" ; Build fails
|
|
|
|
|
;;"-DPARAVIEW_PLUGIN_ENABLE_zSpace=ON"
|
|
|
|
|
|
|
|
|
|
;; VTK options
|
|
|
|
|
"-DVTK_SMP_IMPLEMENTATION_TYPE=TBB"
|
|
|
|
|
"-DVTKm_ENABLE_MPI=ON"
|
|
|
|
|
|
|
|
|
|
;; External libraries for ParaView and VTK
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_ParaView_protobuf=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_cli11=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_fmt=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_lz4=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_lzma=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_mpi4py=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=ON"
|
2023-05-18 14:58:33 +00:00
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=ON"
|
2022-09-08 15:24:06 +00:00
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_ogg=ON"
|
|
|
|
|
;;"-DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_png=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_theora=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_utf8=ON"
|
|
|
|
|
"-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=ON"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'hide-gfortran
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
|
|
|
|
(delete (string-append #$(this-package-native-input "gfortran")
|
|
|
|
|
"/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
|
|
|
|
|
":"))))
|
|
|
|
|
(replace 'install-license-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((src (string-append #$output "/share/licenses/ParaView"))
|
|
|
|
|
(dst (string-append #$output "/share/doc/"
|
|
|
|
|
#$name "-" #$version "/licenses")))
|
|
|
|
|
(copy-recursively src dst)
|
|
|
|
|
(delete-file-recursively (dirname src))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list gfortran
|
|
|
|
|
;; For the documentation
|
|
|
|
|
doxygen
|
|
|
|
|
graphviz
|
|
|
|
|
perl
|
|
|
|
|
python-sphinx))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
|
|
|
|
cli11
|
|
|
|
|
curl
|
|
|
|
|
double-conversion
|
|
|
|
|
eigen
|
|
|
|
|
expat
|
|
|
|
|
ffmpeg
|
|
|
|
|
fmt
|
|
|
|
|
freetype
|
|
|
|
|
gdal
|
|
|
|
|
gl2ps
|
|
|
|
|
glew
|
|
|
|
|
gmsh
|
|
|
|
|
hdf5
|
2023-05-18 14:58:33 +00:00
|
|
|
|
nlohmann-json ;For ParFlow; build fails
|
2022-09-08 15:24:06 +00:00
|
|
|
|
jsoncpp
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libogg
|
|
|
|
|
libpng
|
|
|
|
|
libtheora
|
|
|
|
|
libtiff
|
|
|
|
|
libxcursor
|
|
|
|
|
libxml2
|
|
|
|
|
libxt
|
|
|
|
|
lz4
|
|
|
|
|
lzip
|
|
|
|
|
mesa
|
|
|
|
|
netcdf
|
|
|
|
|
openmpi
|
|
|
|
|
;;openvdb ;For OpenVDB; dependency not found
|
|
|
|
|
;;openvr ;For XRInterface; build fails
|
|
|
|
|
;;pegtl ;For VTK; build fails
|
|
|
|
|
proj
|
|
|
|
|
protobuf
|
|
|
|
|
pugixml
|
|
|
|
|
python-cftime
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-mpi4py
|
|
|
|
|
python-numpy
|
|
|
|
|
python-wrapper
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtdeclarative-5
|
|
|
|
|
qtmultimedia-5
|
|
|
|
|
qtsvg-5
|
|
|
|
|
qttools-5
|
|
|
|
|
qtwebchannel-5
|
|
|
|
|
qtwebengine-5
|
|
|
|
|
qtx11extras
|
|
|
|
|
qtxmlpatterns
|
|
|
|
|
sdl2
|
|
|
|
|
sqlite
|
|
|
|
|
tbb
|
|
|
|
|
utfcpp
|
|
|
|
|
zlib))
|
|
|
|
|
(home-page "https://www.paraview.org/")
|
|
|
|
|
(synopsis "VTK-based, parallel data analyzer and visualizer")
|
|
|
|
|
(description "ParaView is a VTK-based, parallel data analyzer and
|
|
|
|
|
visualizer which allows exploring data interactively in 3D or
|
|
|
|
|
programmatically.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-08-13 15:46:22 +00:00
|
|
|
|
(define-public vxl
|
|
|
|
|
(package
|
|
|
|
|
(name "vxl")
|
2024-02-07 21:06:36 +00:00
|
|
|
|
(version "3.5.0")
|
2019-08-13 15:46:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/vxl/vxl")
|
2019-08-13 15:46:22 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-02-07 21:06:36 +00:00
|
|
|
|
(base32 "0iqq4lm51l5gvkax6r79ypifqmgir3p3vman9gsc2085d2agjvbs"))
|
2019-08-13 15:46:22 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; TODO: vxl includes an old version of dcmtk. It won't build with
|
|
|
|
|
;; version 3.6.x.
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("v3p/bzlib/"
|
|
|
|
|
"v3p/geotiff/"
|
|
|
|
|
"v3p/jpeg/"
|
|
|
|
|
"v3p/png/"
|
|
|
|
|
"v3p/tiff/"
|
|
|
|
|
"v3p/zlib/"))
|
|
|
|
|
(substitute* "v3p/CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\((tiff|png|jpeg|zlib|bzlib|geotiff)\\)")
|
|
|
|
|
""))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list libgeotiff libtiff libjpeg-turbo libpng zlib))
|
2019-08-13 15:46:22 +00:00
|
|
|
|
(home-page "https://github.com/vxl/vxl/")
|
|
|
|
|
(synopsis "Collection of C++ libraries for computer vision")
|
|
|
|
|
(description "VXL (the Vision-something-Libraries) is a collection of C++
|
|
|
|
|
libraries designed for computer vision research and implementation.")
|
|
|
|
|
(license license:bsd-3)))
|
2019-08-13 15:47:03 +00:00
|
|
|
|
|
|
|
|
|
(define-public vxl-1
|
|
|
|
|
(package (inherit vxl)
|
|
|
|
|
(name "vxl")
|
|
|
|
|
(version "1.18.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/vxl/vxl")
|
2019-08-13 15:47:03 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1g4mr2cc58jwm0vasscbd4y5380wj3ahkvq121z4gs83fhavvxgz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("v3p/bzlib/"
|
|
|
|
|
"v3p/geotiff/"
|
|
|
|
|
"v3p/png/"
|
|
|
|
|
"v3p/tiff/"
|
|
|
|
|
"v3p/zlib/"))
|
|
|
|
|
(substitute* "v3p/CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\((tiff|png|jpeg|zlib|bzlib|geotiff)\\)")
|
|
|
|
|
""))
|
|
|
|
|
#t))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; Needed for itk-snap
|
|
|
|
|
(list "-DVNL_CONFIG_LEGACY_METHODS=ON")))))
|
2019-08-13 16:55:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public insight-toolkit
|
|
|
|
|
(package
|
|
|
|
|
(name "insight-toolkit")
|
|
|
|
|
(version "5.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/InsightSoftwareConsortium/ITK/"
|
|
|
|
|
"releases/download/v" version "/InsightToolkit-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0bs63mk4q8jmx38f031jy5w5n9yy5ng9x8ijwinvjyvas8cichqi"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2024-03-27 07:49:04 +00:00
|
|
|
|
(outputs '("out" "python"))
|
2019-08-13 16:55:46 +00:00
|
|
|
|
(arguments
|
2024-03-27 07:49:04 +00:00
|
|
|
|
(list #:tests? #f ; tests require network access and external data
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DITK_USE_GPU=ON"
|
|
|
|
|
"-DITK_USE_SYSTEM_LIBRARIES=ON"
|
|
|
|
|
"-DITK_USE_SYSTEM_GOOGLETEST=ON"
|
|
|
|
|
"-DITK_USE_SYSTEM_CASTXML=ON"
|
|
|
|
|
"-DITK_BUILD_SHARED=ON"
|
|
|
|
|
"-DITK_WRAPPING=ON"
|
|
|
|
|
"-DITK_WRAP_PYTHON=ON"
|
|
|
|
|
"-DITK_DYNAMIC_LOADING=ON"
|
|
|
|
|
(let* ((python-version
|
|
|
|
|
#$(version-major+minor
|
|
|
|
|
(package-version (this-package-input "python"))))
|
|
|
|
|
(python-lib-path
|
|
|
|
|
(string-append #$output:python
|
|
|
|
|
"/lib/python" python-version
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(string-append "-DPY_SITE_PACKAGES_PATH=" python-lib-path))
|
|
|
|
|
;; This prevents "GTest::GTest" from being added to the ITK_LIBRARIES
|
|
|
|
|
;; variable in the installed CMake files. This is necessary as other
|
|
|
|
|
;; packages using insight-toolkit could not be configured otherwise.
|
|
|
|
|
"-DGTEST_ROOT=gtest"
|
|
|
|
|
"-DCMAKE_CXX_STANDARD=17")
|
2021-06-01 09:12:08 +00:00
|
|
|
|
|
2023-07-18 11:26:50 +00:00
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'do-not-tune
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMake/ITKSetStandardCompilerFlags.cmake"
|
|
|
|
|
(("-mtune=native")
|
2024-03-27 07:49:04 +00:00
|
|
|
|
""))))
|
|
|
|
|
(add-after 'unpack 'ignore-warnings
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Wrapping/Generators/Python/CMakeLists.txt"
|
|
|
|
|
(("-Werror") "")))))))
|
2019-08-13 16:55:46 +00:00
|
|
|
|
(inputs
|
2023-07-18 11:26:50 +00:00
|
|
|
|
(list eigen
|
|
|
|
|
expat
|
|
|
|
|
fftw
|
|
|
|
|
fftwf
|
|
|
|
|
hdf5
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
mesa-opencl
|
|
|
|
|
perl
|
|
|
|
|
python
|
|
|
|
|
tbb
|
|
|
|
|
vxl-1
|
|
|
|
|
zlib))
|
2019-08-13 16:55:46 +00:00
|
|
|
|
(native-inputs
|
2024-03-27 07:49:04 +00:00
|
|
|
|
(list castxml googletest pkg-config swig which))
|
2023-07-18 11:29:36 +00:00
|
|
|
|
|
|
|
|
|
;; The 'CMake/ITKSetStandardCompilerFlags.cmake' file normally sets
|
|
|
|
|
;; '-mtune=native -march=corei7', suggesting there's something to be
|
|
|
|
|
;; gained from CPU-specific optimizations.
|
|
|
|
|
(properties '((tunable? . #t)))
|
|
|
|
|
|
2019-08-13 16:55:46 +00:00
|
|
|
|
(home-page "https://github.com/InsightSoftwareConsortium/ITK/")
|
|
|
|
|
(synopsis "Scientific image processing, segmentation and registration")
|
|
|
|
|
(description "The Insight Toolkit (ITK) is a toolkit for N-dimensional
|
|
|
|
|
scientific image processing, segmentation, and registration. Segmentation is
|
|
|
|
|
the process of identifying and classifying data found in a digitally sampled
|
|
|
|
|
representation. Typically the sampled representation is an image acquired
|
|
|
|
|
from such medical instrumentation as CT or MRI scanners. Registration is the
|
|
|
|
|
task of aligning or developing correspondences between data. For example, in
|
|
|
|
|
the medical environment, a CT scan may be aligned with a MRI scan in order to
|
|
|
|
|
combine the information contained in both.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-08-13 16:55:57 +00:00
|
|
|
|
|
|
|
|
|
(define-public insight-toolkit-4
|
|
|
|
|
(package (inherit insight-toolkit)
|
|
|
|
|
(version "4.13.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/InsightSoftwareConsortium/ITK/"
|
|
|
|
|
"releases/download/v" version "/InsightToolkit-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19cgfpd63gqrvc3m27m394gy2d7w79g5y6lvznb5qqr49lihbgns"))))
|
2024-03-27 07:49:04 +00:00
|
|
|
|
(outputs '("out"))
|
2019-08-13 16:55:57 +00:00
|
|
|
|
(arguments
|
2024-03-27 07:49:04 +00:00
|
|
|
|
(list #:tests? #f ; tests require network access and external data
|
2023-07-18 11:26:50 +00:00
|
|
|
|
#:configure-flags #~'("-DITKV3_COMPATIBILITY=ON" ; needed for itk-snap
|
|
|
|
|
"-DITK_USE_GPU=ON"
|
|
|
|
|
"-DITK_USE_SYSTEM_LIBRARIES=ON"
|
|
|
|
|
"-DITK_USE_SYSTEM_GOOGLETEST=ON"
|
2024-03-27 07:49:04 +00:00
|
|
|
|
"-DITK_USE_SYSTEM_VXL=ON")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list googletest pkg-config))))
|
2019-08-13 16:56:03 +00:00
|
|
|
|
|
|
|
|
|
(define-public insight-toolkit-4.12
|
|
|
|
|
(package (inherit insight-toolkit-4)
|
|
|
|
|
(version "4.12.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/itk/itk/4.12/"
|
|
|
|
|
"InsightToolkit-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2023-11-14 06:55:34 +00:00
|
|
|
|
(base32 "1qw9mxbh083siljygahl4gdfv91xvfd8hfl7ghwii19f60xrvn2w"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments insight-toolkit-4)
|
|
|
|
|
((#:configure-flags cf #~'())
|
|
|
|
|
;; error: ISO C++17 does not allow dynamic exception specifications
|
|
|
|
|
#~(cons* "-DCMAKE_CXX_FLAGS=-std=c++14" #$cf))))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
|
|
|
|
|
(define-public itk-snap
|
|
|
|
|
(package
|
|
|
|
|
(name "itk-snap")
|
|
|
|
|
(version "3.8.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.code.sf.net/p/itk-snap/src")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-05-13 05:25:05 +00:00
|
|
|
|
(base32 "15i5ixpryfrbf3vrrb5rici8fb585f25k0v1ljds16bp1f1msr4q"))
|
|
|
|
|
(patches (search-patches "itk-snap-alt-glibc-compat.patch"))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DSNAP_VERSION_GIT_SHA1=release"
|
|
|
|
|
"-DSNAP_VERSION_GIT_BRANCH=release"
|
|
|
|
|
"-DSNAP_VERSION_GIT_TIMESTAMP=0"
|
|
|
|
|
"-DSNAP_PACKAGE_QT_PLUGINS=OFF"
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
|
2019-08-15 07:26:55 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; During the installation phase all libraries provided by all
|
|
|
|
|
;; dependencies will be copied to the lib directory. That's insane,
|
|
|
|
|
;; so we disable this.
|
|
|
|
|
(add-after 'unpack 'do-not-copy-dependencies
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("install_qt5_executable\
|
|
|
|
|
\\(\\$\\{SNAP_MAIN_INSTALL_DIR\\}/\\$\\{SNAP_EXE\\}\\)")
|
2022-05-13 05:25:05 +00:00
|
|
|
|
""))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-after 'unpack 'disable-gui-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The GUI tests just time out.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
((" (Workspace|DiffSpace|ProbeIntensity|RegionCompetition\
|
|
|
|
|
|RandomForest|RandomForestBailOut)")
|
2022-05-13 05:25:05 +00:00
|
|
|
|
""))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-after 'unpack 'make-reproducible
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("TODAY\\(SNAP_VERSION_COMPILE_DATE\\)")
|
2022-05-13 05:25:05 +00:00
|
|
|
|
"SET(SNAP_VERSION_COMPILE_DATE \"(removed for reproducibility)\")"))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-after 'unpack 'prepare-submodules
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(rmdir "Submodules/c3d")
|
|
|
|
|
(copy-recursively (assoc-ref inputs "c3d-src")
|
|
|
|
|
"Submodules/c3d")
|
|
|
|
|
(substitute* '("Submodules/c3d/adapters/BiasFieldCorrectionN4.cxx"
|
|
|
|
|
"Submodules/c3d/adapters/ApplyMetric.cxx")
|
|
|
|
|
(("vcl_") "std::"))
|
|
|
|
|
(rmdir "Submodules/greedy")
|
|
|
|
|
(symlink (assoc-ref inputs "greedy-src")
|
2022-05-13 05:25:05 +00:00
|
|
|
|
"Submodules/greedy")))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-after 'unpack 'fix-includes
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "GUI/Model/RegistrationModel.cxx"
|
|
|
|
|
(("<vnl_symmetric_eigensystem.h>")
|
2022-05-13 05:25:05 +00:00
|
|
|
|
"<vnl/algo/vnl_symmetric_eigensystem.h>"))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-before 'check 'prepare-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Needed by at least one test.
|
2022-05-13 05:25:05 +00:00
|
|
|
|
(setenv "HOME" "/tmp")))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/itksnap")
|
|
|
|
|
`("QT_PLUGIN_PATH" ":" prefix
|
|
|
|
|
,(map (lambda (label)
|
|
|
|
|
(string-append (assoc-ref inputs label)
|
|
|
|
|
"/lib/qt5/plugins"))
|
2022-07-18 01:03:18 +00:00
|
|
|
|
'("qtbase" "qtdeclarative-5"))))))))))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(inputs
|
2022-05-13 05:25:05 +00:00
|
|
|
|
(list curl
|
|
|
|
|
fftw
|
|
|
|
|
fftwf
|
|
|
|
|
glu
|
|
|
|
|
hdf5
|
|
|
|
|
mesa-opencl
|
|
|
|
|
;; This package does not build with either insight-toolkit 5.0.0
|
|
|
|
|
;; and not with 4.13. It really needs to be 4.12.
|
|
|
|
|
insight-toolkit-4.12
|
|
|
|
|
vtk-7
|
|
|
|
|
qtbase-5
|
2022-07-18 01:03:18 +00:00
|
|
|
|
qtdeclarative-5
|
2022-05-13 05:25:05 +00:00
|
|
|
|
vxl-1
|
|
|
|
|
zlib))
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googletest" ,googletest)
|
2022-07-19 20:52:05 +00:00
|
|
|
|
("qttools-5" ,qttools-5)
|
2019-08-15 07:26:55 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("c3d-src"
|
|
|
|
|
,(let* ((commit "f521358db26e00002c911cc47bf463b043942ad3")
|
|
|
|
|
(revision "1")
|
|
|
|
|
(version (git-version "0" revision commit)))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/pyushkevich/c3d")
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "c3d" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kyv3rxrxwr8c3sa9zv01lsnhk95b27gx1s870k3yi8qp52h7bx3")))))
|
|
|
|
|
;; We are using an arbitrary commit from 2017 because the latest
|
|
|
|
|
;; version breaks the build...
|
|
|
|
|
("greedy-src"
|
|
|
|
|
,(let* ((commit "97e340f7e8e66597599144947775e6039e79a0d3")
|
|
|
|
|
(revision "1")
|
|
|
|
|
(version (git-version "0" revision commit)))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/pyushkevich/greedy")
|
2019-08-15 07:26:55 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "greedy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0k5bc9za4jrc8z9dj08z1rkcp5xf0gnd1d2jmi1w9ny4vxh2q2ab")))))))
|
|
|
|
|
(home-page "https://sourceforge.net/p/itk-snap/")
|
|
|
|
|
(synopsis "Medical image segmentation")
|
|
|
|
|
(description "ITK-SNAP is a tool for segmenting anatomical structures in
|
|
|
|
|
medical images. It provides an automatic active contour segmentation
|
|
|
|
|
pipeline, along with supporting a manual segmentation toolbox. ITK-SNAP has a
|
|
|
|
|
full-featured UI aimed at clinical researchers.")
|
|
|
|
|
;; This includes the submodules greedy and c3d.
|
|
|
|
|
(license license:gpl3+)))
|
2020-08-06 10:02:20 +00:00
|
|
|
|
|
|
|
|
|
(define-public metapixel
|
|
|
|
|
;; Follow stable branch.
|
|
|
|
|
(let ((commit "98ee9daa093b6c334941242e63f90b1c2876eb4f"))
|
|
|
|
|
(package
|
|
|
|
|
(name "metapixel")
|
|
|
|
|
(version (git-version "1.0.2" "1" commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/schani/metapixel")
|
|
|
|
|
(commit commit)
|
|
|
|
|
;; TODO: Package rwimg and lispreader?
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0r7n3a6bvcxkbpda4mwmrpicii09iql5z69nkjqygkwxw7ny3309"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("giflib" ,giflib)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("docbook-xml" ,docbook-xml)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
|
|
|
|
#:make-flags (list
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "MANPAGE_XSL="
|
|
|
|
|
(assoc-ref %build-inputs "docbook-xsl")
|
|
|
|
|
"/xml/xsl/docbook-xsl-*/manpages/docbook.xsl"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'install 'make-local-docbook-xml
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "metapixel.xml"
|
|
|
|
|
(("http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd")
|
|
|
|
|
(string-append (assoc-ref inputs "docbook-xml")
|
|
|
|
|
"/xml/dtd/docbook/docbookx.dtd")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'fix-directory-creation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p (string-append (assoc-ref outputs "out") "/share/man/man1"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://www.complang.tuwien.ac.at/schani/metapixel/")
|
|
|
|
|
(synopsis "Photomosaics generator")
|
|
|
|
|
(description "Metapixel is a program for generating photomosaics. It can
|
|
|
|
|
generate classical photomosaics, in which the source image is viewed as a
|
|
|
|
|
matrix of equally sized rectangles for each of which a matching image is
|
2020-09-19 05:59:47 +00:00
|
|
|
|
substituted, as well as collage-style photomosaics, in which rectangular parts
|
2020-08-06 10:02:20 +00:00
|
|
|
|
of the source image at arbitrary positions (i.e. not aligned to a matrix) are
|
|
|
|
|
substituted by matching images.")
|
|
|
|
|
(license license:gpl2))))
|
2020-09-17 09:09:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public scantailor-advanced
|
|
|
|
|
(let ((commit "3d1e74e6ace413733511086934a66f4e3f7a6027"))
|
|
|
|
|
(package
|
|
|
|
|
(name "scantailor-advanced")
|
|
|
|
|
(version (string-append "1.0.16-" (string-take commit 7)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/4lex4/scantailor-advanced")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kixwjb2x457dq7927hkh34c803p7yh1pmn6n61rk9shqrcg492h"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(list qttools-5))
|
2020-09-17 09:09:21 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
2021-04-10 01:53:32 +00:00
|
|
|
|
("qtbase" ,qtbase-5)
|
2022-07-17 05:11:46 +00:00
|
|
|
|
("qtsvg-5" ,qtsvg-5)
|
2020-09-17 09:09:21 +00:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Some tests require a display and fail with offscreen mode.
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "ARGS" "--exclude-regex \"imageproc_.*\"")
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/4lex4/scantailor-advanced")
|
|
|
|
|
(synopsis "Clean up scanned pages")
|
|
|
|
|
(description "Scan Tailor is an interactive post-processing tool for
|
|
|
|
|
scanned pages. It performs operations such as page splitting, deskewing,
|
|
|
|
|
adding/removing borders, and others. You give it raw scans, and you get pages
|
|
|
|
|
ready to be printed or assembled into a PDF or DJVU file. Scanning, optical
|
|
|
|
|
character recognition, and assembling multi-page documents are out of scope of
|
|
|
|
|
this project.
|
|
|
|
|
|
|
|
|
|
Scan Tailer Advanced is a fork of Scan Tailer that merges Scan Tailor Featured
|
|
|
|
|
and Scan Tailor Enhanced versions as well as including many more bug fixes.")
|
|
|
|
|
(license license:gpl3+))))
|
2021-01-05 00:23:38 +00:00
|
|
|
|
|
|
|
|
|
(define-public stiff
|
|
|
|
|
(package
|
|
|
|
|
(name "stiff")
|
|
|
|
|
(version "2.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.astromatic.net/download/stiff/stiff-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14m92dskzw7bwsr64ha4p0mj3ndv13gwcbfic3qxrs3zq5353s7l"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libtiff zlib libjpeg-turbo))
|
2021-01-05 00:23:38 +00:00
|
|
|
|
(home-page "https://www.astromatic.net/software/stiff")
|
|
|
|
|
(synopsis "Convert scientific FITS images to TIFF format")
|
|
|
|
|
(description
|
|
|
|
|
"STIFF is a program that converts scientific @acronym{FITS, Flexible Image
|
|
|
|
|
Transport System} images to the more popular TIFF format for illustration
|
|
|
|
|
purposes.")
|
|
|
|
|
(license license:gpl3+)))
|
2021-06-25 06:27:31 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-imgviz
|
|
|
|
|
(package
|
|
|
|
|
(name "python-imgviz")
|
|
|
|
|
(version "1.2.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; PyPi tarball lacks tests.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wkentaro/imgviz.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-12-05 11:40:04 +00:00
|
|
|
|
(base32 "1bm0wdv5p26i8nl4kx3145cz553v401sgbpgc96sddzjfmfiydcw"))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin (use-modules (guix build utils))
|
|
|
|
|
(substitute* "imgviz/draw.py"
|
|
|
|
|
(("collections\\.Iterable") "collections.abc.Iterable"))
|
|
|
|
|
(substitute* "imgviz/tile.py"
|
|
|
|
|
(("collections\\.Sequence") "collections.abc.Sequence"))))))
|
2021-06-25 06:27:31 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(invoke "pytest" "-v" "tests"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-matplotlib python-numpy python-pillow python-pyyaml))
|
|
|
|
|
(native-inputs (list python-pytest))
|
2021-06-25 06:27:31 +00:00
|
|
|
|
(home-page "http://github.com/wkentaro/imgviz")
|
|
|
|
|
(synopsis "Image Visualization Tools")
|
|
|
|
|
(description "Python library for object detection, semantic and instance
|
|
|
|
|
segmentation.")
|
|
|
|
|
(license license:expat)))
|
2021-06-25 06:28:06 +00:00
|
|
|
|
|
2024-04-19 12:10:03 +00:00
|
|
|
|
(define-public python-pims
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pims")
|
|
|
|
|
(version "0.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "PIMS" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0fsg353mbbj1ad06nwrp8p9xcrzy6rca6b52nvlbraaf3m309dz2"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
;; We don't have all the (sometimes very large) data files, so we skip
|
|
|
|
|
;; these tests.
|
|
|
|
|
'(list "--ignore=pims/tests/test_imseq.py"
|
|
|
|
|
"--ignore=pims/tests/test_norpix.py"
|
|
|
|
|
"-k"
|
|
|
|
|
(string-append " not TestImageReaderTIFF"
|
|
|
|
|
" and not TestOpenFiles"
|
|
|
|
|
" and not TestSpeStack"
|
|
|
|
|
" and not TestTiffStack_pil"
|
|
|
|
|
" and not TestTiffStack_tifffile"
|
|
|
|
|
" and not TestVideo_ImageIO"))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-imageio python-numpy python-slicerator))
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(home-page "https://github.com/soft-matter/pims")
|
|
|
|
|
(synopsis "Python Image Sequence")
|
|
|
|
|
(description "Scientific video can be packaged in various ways: familiar
|
|
|
|
|
video formats like @file{.AVI} and @file{.MOV}, folders full of numbered
|
|
|
|
|
images, or \"stacks\" of TIFF images. Each of these requires a separate
|
|
|
|
|
Python module. And, once loaded, they have different methods for accessing
|
|
|
|
|
individual images, looping through the images in bulk, accessing a specific
|
|
|
|
|
range, or dealing with multidimensional files. PIMS can do all of these using
|
|
|
|
|
a consistent interface, handling the differences between different inputs
|
|
|
|
|
invisibly.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2024-04-19 11:41:32 +00:00
|
|
|
|
(define-public python-spatial-image
|
|
|
|
|
(package
|
|
|
|
|
(name "python-spatial-image")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "spatial_image" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0blyjwgv6bqpg7r3f4dcs7x27ysfm8n9y0zk5j7dxj74lma3wdsm"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(propagated-inputs (list python-numpy python-pytest python-pytest-mypy
|
|
|
|
|
python-xarray python-xarray-dataclasses))
|
|
|
|
|
(native-inputs (list python-flit-core python-pytest))
|
|
|
|
|
(home-page "https://github.com/spatial-image/spatial-image")
|
|
|
|
|
(synopsis "Multi-dimensional spatial image data structure")
|
|
|
|
|
(description "This package implements a multi-dimensional spatial image
|
|
|
|
|
data structure for scientific Python.
|
|
|
|
|
|
|
|
|
|
To facilitate:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Multi-scale processing and analysis
|
|
|
|
|
@item Registration
|
|
|
|
|
@item Resampling
|
|
|
|
|
@item Subregion parallel processing
|
|
|
|
|
@item Coupling with meshes, point sets, and annotations
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
with scientific images, which are typically multi-dimensional with anisotropic
|
|
|
|
|
sampling, this package provides a spatial-image data structure. In addition
|
|
|
|
|
to an N-dimensional array of pixel values, spatial metadata defines the
|
|
|
|
|
location of the pixel sampling grid in space time. It also labels the array
|
|
|
|
|
dimensions. This metadata is easily utilized and carried through image
|
|
|
|
|
processing pipelines.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(define-public labelme
|
|
|
|
|
(package
|
|
|
|
|
(name "labelme")
|
2021-11-03 08:15:15 +00:00
|
|
|
|
(version "4.5.13")
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; PyPi tarball lacks tests.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wkentaro/labelme.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-11-03 08:15:15 +00:00
|
|
|
|
(base32 "0cmi2xb4dgh7738l259rgwhn9l134f0vnaaqc2gflc5yr3lqhrv2"))))
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-12-07 20:20:35 +00:00
|
|
|
|
(add-after 'unpack 'loosen-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't require an outdated version of matplotlib.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("matplotlib<3\\.3")
|
|
|
|
|
"matplotlib"))))
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(add-before 'check 'start-xserver
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server")))
|
|
|
|
|
;; Options taken from CI workflow.
|
|
|
|
|
(system (string-append xorg-server "/bin/Xvfb :99 -screen 0 "
|
|
|
|
|
"1920x1200x24 -ac +extension GLX +render "
|
|
|
|
|
"-noreset &"))
|
|
|
|
|
(setenv "DISPLAY" ":99.0"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
;; Fails when invoking help2man for unknown reason.
|
|
|
|
|
(delete-file "tests/docs_tests/man_tests/test_labelme_1.py")
|
|
|
|
|
;; One test hangs.
|
|
|
|
|
(delete-file "tests/labelme_tests/widgets_tests/test_label_dialog.py")
|
|
|
|
|
;; Calls incompatible function signatures.
|
|
|
|
|
(delete-file "tests/labelme_tests/widgets_tests/test_label_list_widget.py")
|
|
|
|
|
(setenv "MPLBACKEND" "agg")
|
|
|
|
|
(invoke "pytest" "-v" "tests" "-m" "not gpu")))))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-imgviz
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pillow
|
|
|
|
|
python-pyyaml
|
|
|
|
|
python-qtpy
|
|
|
|
|
python-termcolor))
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pytest python-pytest-qt xorg-server-for-tests))
|
2021-06-25 06:28:06 +00:00
|
|
|
|
(home-page "https://github.com/wkentaro/labelme")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Image Polygonal Annotation")
|
|
|
|
|
(description
|
|
|
|
|
"Image and video labeling tool supporting different shapes like
|
|
|
|
|
polygons, rectangles, circles, lines, points and VOC/COCO export.")
|
|
|
|
|
(license license:gpl3+)))
|
2022-12-28 00:23:53 +00:00
|
|
|
|
|
|
|
|
|
(define-public charls
|
|
|
|
|
(package
|
|
|
|
|
(name "charls")
|
|
|
|
|
(version "2.3.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/team-charls/charls/")
|
|
|
|
|
(commit (string-append version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0g3f1rfimk30rqmi7ic4i5vfphyqbbpsyyhwqq1iss9wjwaz2vs5"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DCMAKE_BUILD_TYPE:STRING=Release"
|
|
|
|
|
"-DBUILD_SHARED_LIBS=On")))
|
|
|
|
|
(native-inputs (list git pkg-config))
|
|
|
|
|
(home-page "https://github.com/team-charls/charls")
|
|
|
|
|
(synopsis "Library for using JPEG-LS compliant images")
|
|
|
|
|
(description
|
|
|
|
|
"CharLS is a codec library that can be used to build applications that
|
|
|
|
|
can handle JPEG-LS compliant images. In the application you are writing you
|
|
|
|
|
can call the CharLS codec and pass it images (sometimes called raster bitmaps),
|
|
|
|
|
to have them encoded to JPEG-LS, or JPEG-LS streams, which CharLS will decode
|
|
|
|
|
to images.")
|
|
|
|
|
(license license:bsd-3)))
|
2023-06-15 17:52:29 +00:00
|
|
|
|
|
|
|
|
|
(define-public libansilove
|
|
|
|
|
(package
|
|
|
|
|
(name "libansilove")
|
|
|
|
|
(version "1.4.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ansilove/libansilove")
|
|
|
|
|
(commit (string-append version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"169njlck4a2bmf1kmjas1w594hyda543ykdnwg7fwkviij39l9z6"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:tests? #f)) ; No tests included
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list gd))
|
|
|
|
|
(home-page "https://www.ansilove.org/")
|
|
|
|
|
(synopsis "Library for converting ANSI, ASCII, and other formats to PNG")
|
|
|
|
|
(description
|
|
|
|
|
"libansilove is a library for converting artscene file types to PNG images,
|
|
|
|
|
including ANSI (.ANS) and many others. The library primarily serves to support
|
|
|
|
|
the ansilove tool.")
|
|
|
|
|
(license license:bsd-2)))
|
2023-06-15 17:52:50 +00:00
|
|
|
|
|
|
|
|
|
(define-public ansilove
|
|
|
|
|
(package
|
|
|
|
|
(name "ansilove")
|
|
|
|
|
(version "4.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ansilove/ansilove")
|
|
|
|
|
(commit (string-append version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h9r759krjl8wi68yxs1d46qfrx6v89a8vmmv3aqym8vn9x430kh"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list libansilove))
|
|
|
|
|
(home-page "https://www.ansilove.org/")
|
|
|
|
|
(synopsis "ANSI and ASCII art to PNG converter")
|
|
|
|
|
(description
|
|
|
|
|
"AnsiLove is an ANSI and ASCII art to PNG converter, allowing to convert
|
|
|
|
|
ANSI and artscene-related file formats into PNG images, supporting ANSI (.ANS),
|
|
|
|
|
PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF), Tundra (.TND)
|
|
|
|
|
and XBin (.XB) formats.")
|
|
|
|
|
(license license:bsd-2)))
|