From 8b7159ebbb5a57df63f26dd03b38800c5cd69702 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Dec 2020 18:33:05 +0100 Subject: gnu: feh: Update to 3.6. * gnu/packages/image-viewers.scm (feh): Update to 3.6. --- gnu/packages/image-viewers.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 1efec0a0b8..3182dbb317 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -74,7 +74,7 @@ (define-public feh (package (name "feh") - (version "3.5") + (version "3.6") (home-page "https://feh.finalrewind.org/") (source (origin (method url-fetch) @@ -82,7 +82,7 @@ name "-" version ".tar.bz2")) (sha256 (base32 - "07jklibpi4ig9pbdrwhllsfffxn2h8xf4ma36qii00w4hb69v3rq")))) + "1n6gbyzlc3kx2cq9wfz7azn7mrjmcc9pq436k1n4mrh0lik5sxw7")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) -- cgit v1.2.3 From 8c0d6a533a7d93222014934753515af77fd7162b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 7 Dec 2020 20:45:48 +0100 Subject: gnu: feh: Update to 3.6.1. * gnu/packages/image-viewers.scm (feh): Update to 3.6.1. --- gnu/packages/image-viewers.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 3182dbb317..0a6be77d24 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -74,7 +74,7 @@ (define-public feh (package (name "feh") - (version "3.6") + (version "3.6.1") (home-page "https://feh.finalrewind.org/") (source (origin (method url-fetch) @@ -82,7 +82,7 @@ name "-" version ".tar.bz2")) (sha256 (base32 - "1n6gbyzlc3kx2cq9wfz7azn7mrjmcc9pq436k1n4mrh0lik5sxw7")))) + "1a0ygdpyvpcsr0hdi9ai7ycbkgvacq8dpd8cacbppsds5k2xw7lv")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) -- cgit v1.2.3 From 08f35b9b6ca635f439bc2b01965aeb73e7ec282d Mon Sep 17 00:00:00 2001 From: Rovanion Luckey Date: Sun, 3 Jan 2021 19:55:36 +0100 Subject: gnu: Add nomacs photo lounge. * gnu/packages/image-viewers.scm (nomacs): New variable. Signed-off-by: Leo Prikler --- gnu/packages/image-viewers.scm | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 0a6be77d24..d9ee795b0f 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2020 R Veera Kumar ;;; Copyright © 2020 Pierre Neidhardt +;;; Copyright © 2021 Rovanion Luckey ;;; ;;; This file is part of GNU Guix. ;;; @@ -58,6 +59,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages graphics) #:use-module (gnu packages image) + #:use-module (gnu packages image-processing) #:use-module (gnu packages imagemagick) #:use-module (gnu packages maths) #:use-module (gnu packages perl) @@ -682,3 +684,65 @@ brightness/contrast/gamma correction, pan with keyboard and mouse, flip, rotate left/right, jump/forward/backward images, filename filter and use it to set X desktop background.") (license license:gpl2))) + +(define-public nomacs + (package + (name "nomacs") + (version "3.16.224") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nomacs/nomacs") + (commit version))) + (sha256 + (base32 + "05d4hqg0gl3g9s2xf1hr7mc7g4cqarcap4nzxxa51fsphw2b8x16")))) + (build-system cmake-build-system) + (arguments + `(#:build-type "Release" ; fails to build with debug info + #:configure-flags (list "-DENABLE_TRANSLATIONS=true" + "-DUSE_SYSTEM_QUAZIP=true" + "-DENABLE_OPENCV=true") + #:tests? #f ; no rule for target 'test' + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'copy-plugins + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "plugins") + "ImageLounge/plugins"))) + (add-after 'copy-plugins 'cd-to-source-dir + (lambda _ (chdir "ImageLounge") #t))))) + (inputs + `(("plugins" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nomacs/nomacs-plugins") + (commit "3.16"))) + (sha256 + (base32 + "1cpdwhfvaxm970nwdc1hc13848a85pqqi176m9xpa3krla9qskml")))) + ("exiv2" ,exiv2) + ("libraw" ,libraw) + ("libtiff" ,libtiff) + ("opencv" ,opencv) + ("python" ,python-wrapper) + ("quazip" ,quazip) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtlinguist" ,qttools))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "Image viewer supporting all common formats") + (description "Nomacs is a simple to use image lounge featuring +semi-transparent widgets that display additional information such as metadata, +thumbnails and histograms. It is able to browse images compressed archives +and add notes to images. + +Nomacs includes image manipulation methods for adjusting brightness, contrast, +saturation, hue, gamma, and exposure. It has a pseudo color function which +allows creating false color images. A unique feature of Nomacs is the +synchronization of multiple instances.") + (home-page "https://nomacs.org/") + (license license:gpl3+))) -- cgit v1.2.3 From 08b12d0e5c0a000108712cc19e3d5e6242d7a086 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 5 Jan 2021 22:43:24 +0200 Subject: gnu: nomacs: Satisfy guix lint. * gnu/packages/image-viewers.scm (nomacs)[source]: Add file-name field. [inputs]: Move qttools ... [native-inputs]: ... to here. --- gnu/packages/image-viewers.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index d9ee795b0f..0dae0a39f3 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2017, 2018, 2019, 2020 Ludovic Courtès ;;; Copyright © 2014 Ian Denhardt ;;; Copyright © 2015, 2016 Alex Kost -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner +;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2017 Alex Griffin ;;; Copyright © 2017 Nikita ;;; Copyright © 2017 Mathieu Othacehe @@ -695,6 +695,7 @@ to set X desktop background.") (uri (git-reference (url "https://github.com/nomacs/nomacs") (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 "05d4hqg0gl3g9s2xf1hr7mc7g4cqarcap4nzxxa51fsphw2b8x16")))) @@ -730,10 +731,10 @@ to set X desktop background.") ("python" ,python-wrapper) ("quazip" ,quazip) ("qtbase" ,qtbase) - ("qtsvg" ,qtsvg) - ("qtlinguist" ,qttools))) + ("qtsvg" ,qtsvg))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("qtlinguist" ,qttools))) (synopsis "Image viewer supporting all common formats") (description "Nomacs is a simple to use image lounge featuring semi-transparent widgets that display additional information such as metadata, -- cgit v1.2.3 From 65ba20e57f52313a4b0261917b84dd7cf925cec7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 9 Jan 2021 22:26:35 +0100 Subject: gnu: feh: Update to 3.6.2. * gnu/packages/image-viewers.scm (feh): Update to 3.6.2. --- gnu/packages/image-viewers.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 0dae0a39f3..dfe29d413e 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2017 Nikita ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 nee -;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2019 Nicolas Goaziou ;;; Copyright © 2019, 2020 Guy Fleury Iteriteka @@ -76,7 +76,7 @@ (define-public feh (package (name "feh") - (version "3.6.1") + (version "3.6.2") (home-page "https://feh.finalrewind.org/") (source (origin (method url-fetch) @@ -84,7 +84,7 @@ name "-" version ".tar.bz2")) (sha256 (base32 - "1a0ygdpyvpcsr0hdi9ai7ycbkgvacq8dpd8cacbppsds5k2xw7lv")))) + "0d66qz9h37pk8h10bc918hbv3j364vyni934rlw2j951s5wznj8n")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) -- cgit v1.2.3