X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/12d8adbfc0f32a1905cfc3aaa2cfff68ee46a333..cbe96f14700f4805552c47d5f163a75c35f86575:/gnu/packages/image-processing.scm diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index cdaf8e86e2..ea6380167d 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -8,6 +8,8 @@ ;;; Copyright © 2018 Björn Höfling ;;; Copyright © 2018 Lprndn ;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -486,6 +488,43 @@ quickly, especially on machines with more than one CPU core. This is primarily due to its architecture which automatically parallelises the image workflows.") (license license:lgpl2.1+))) +(define-public gmic + (package + (name "gmic") + (version "2.9.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://gmic.eu/files/source/gmic_" + version ".tar.gz")) + (sha256 + (base32 "13axx7nwchn6ysgpvlw3fib474q4nrwv3qn20g3q03ldid0xvjah")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;there are no tests + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("fftw" ,fftw) + ("graphicsmagick" ,graphicsmagick) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("libx11" ,libx11) + ;;("opencv" ,opencv) ;OpenCV is currently broken in the CI + ("openexr" ,openexr) + ("zlib" ,zlib))) + (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)))) + (define-public nip2 (package (name "nip2") @@ -548,7 +587,7 @@ recalculates.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/vxl/vxl.git") + (url "https://github.com/vxl/vxl") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -590,7 +629,7 @@ libraries designed for computer vision research and implementation.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/vxl/vxl.git") + (url "https://github.com/vxl/vxl") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -798,11 +837,11 @@ combine the information contained in both.") ("vtk" ,vtk-6) ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) - ("qttools" ,qttools) ("vxl" ,vxl-1) ("zlib" ,zlib))) (native-inputs `(("googletest" ,googletest) + ("qttools" ,qttools) ("pkg-config" ,pkg-config) ("c3d-src" ,(let* ((commit "f521358db26e00002c911cc47bf463b043942ad3") @@ -811,7 +850,7 @@ combine the information contained in both.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/pyushkevich/c3d.git") + (url "https://github.com/pyushkevich/c3d") (commit commit))) (file-name (git-file-name "c3d" version)) (sha256 @@ -826,7 +865,7 @@ combine the information contained in both.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/pyushkevich/greedy.git") + (url "https://github.com/pyushkevich/greedy") (commit commit))) (file-name (git-file-name "greedy" version)) (sha256