This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 0f78186bf2 gnu: nomacs: Update to 3.22.0.
0f78186bf2 is described below
commit 0f78186bf2c922660a4211eb1aa99fb610db0f8a
Author: Sergey Trofimov <[email protected]>
AuthorDate: Mon Dec 29 11:20:33 2025 +0100
gnu: nomacs: Update to 3.22.0.
Note: plugins were moved into the repo, see:
https://github.com/nomacs/nomacs/commit/326ce6257865c710464d818ed6a880a0116058be
* gnu/packages/image-viewers.scm (nomacs): Update to 3.22.0.
[arguments]<#:tests?>: Enable tests.
<#:phases>: Remove 'copy-plugins, add custom 'check.
[inputs]: Remove plugins, modernize, sort.
[native-inputs]: Add googletest, modernize.
Change-Id: I9a3a50df2e5984a0dc39cf44ce6549e30ed05ddc
Signed-off-by: Cayetano Santos <[email protected]>
---
gnu/packages/image-viewers.scm | 51 +++++++++++++++---------------------------
1 file changed, 18 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index a5ec57b72d..1c83078807 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -1069,7 +1069,7 @@ archives.")
(define-public nomacs
(package
(name "nomacs")
- (version "3.21.1")
+ (version "3.22.0")
(source
(origin
(method git-fetch)
@@ -1079,7 +1079,7 @@ archives.")
(file-name (git-file-name name version))
(sha256
(base32
- "1by62r1g1clji7g539zyhm5z7h1ssp8pcb6vrm33p2gvz3vba5j5"))))
+ "1ps68xxdqz9r7w5cpicj461x06w0p6r54x1cbk38idl0vlrq65ya"))))
(build-system cmake-build-system)
(arguments
`(#:build-type "Release" ; fails to build with debug info
@@ -1087,40 +1087,25 @@ archives.")
"-DUSE_SYSTEM_QUAZIP=true"
"-DENABLE_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)))))
+ (add-after 'unpack 'cd-to-source-dir
+ (lambda _ (chdir "ImageLounge")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "make" "check")))))))
(inputs
- `(("plugins"
- ,(origin
- (method git-fetch)
- (uri (git-reference
- ;; The original git repository at
- ;; https://github.com/novomesk/nomacs-plugins
- ;; is not updated any more, use a maintained fork.
- (url "https://github.com/novomesk/nomacs-plugins")
- (commit "20101da282f13d3184ece873388e1c234a79b5e7")))
- (sha256
- (base32
- "0nbrsxhggy15idvm5dlhxh2z14gvki7vljxqi90hw98nmbh5ri41"))))
- ("exiv2" ,exiv2)
- ("libraw" ,libraw)
- ("libtiff" ,libtiff)
- ("opencv" ,opencv)
- ("quazip" ,quazip)
- ("qtimageformats" ,qtimageformats)
- ("qtbase" ,qtbase)
- ("qt5compat" ,qt5compat)
- ("qtsvg" ,qtsvg)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("qttools" ,qttools)))
+ (list
+ exiv2
+ libraw
+ libtiff
+ opencv
+ quazip
+ qt5compat
+ qtbase
+ qtimageformats
+ qtsvg))
+ (native-inputs (list googletest pkg-config 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,