Subject: [PATCH v2 2/4] gnu: Add openjpeg-2024.

From: Herman Rimm <[email-masked]>
Date: Thu, 18 Jan 2024 08:26:36 +0100

* gnp/packages/image.scm (openjpeg-2024): New variable.
(openjpeg-data): Update to latest commit on 2024.01.14.

Change-Id: I4639bdd21d170246c7962c15ea017a297c00069e
---
 gnu/packages/image.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index bc5d68339a..9b120760ae 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -947,17 +947,17 @@ (define-public jbigkit
 (define-public openjpeg-data
   (package
     (name "openjpeg-data")
-    (version "2021.09.26")
+    (version "2024.01.14")
     (source
      (origin
        (method git-fetch)
        (uri
         (git-reference
          (url "https://github.com/uclouvain/openjpeg-data")
-         (commit "1f3d093030f9a0b43353ec6b48500f65786ff57a")))
+         (commit "f9991d5fa9a4a08fc9c29bae6405d6c67cf2b8eb")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "13jpdaqk7mngk0xw6xbh9zgipip6n25spvqd97hwpfna1zyh8lzh"))))
+        (base32 "1agnpwq2fkwzjf12rmb6f06k80xgd5mnkyjb1fhbpxc5gxy0hwqs"))))
     (build-system copy-build-system)
     (synopsis "Test files for OpenJPEG")
     (description "OpenJPEG-Data contains all files required to run the openjpeg
@@ -1021,6 +1021,21 @@ (define-public openjpeg
     (home-page "https://github.com/uclouvain/openjpeg")
     (license license:bsd-2)))
 
+(define-public openjpeg-2024
+  (package
+    (inherit openjpeg)
+    (name "openjpeg")
+    (version "2024.01.14")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uclouvain/openjpeg")
+             (commit "0e3b3bd716f2b5178d981b17de9505f94ddfff58")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0k433n0wv5alvl7vmpiq34a6xgv23nlhy932ciw1lk34667r1ajr"))))))
+
 (define-public giflib
   (package
     (name "giflib")
-- 
2.41.0