summary refs log tree commit diff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2023-12-21 22:32:53 +0800
committerHilton Chain <hako@ultrarare.space>2023-12-22 22:00:57 +0800
commit25b83bd9e4ceb77f08c0caee3ecdc48263b53a46 (patch)
tree106d8bbcfdc2eef152890e4c618fc9013ab8ff1f
parentce7b2b57aa6da0ceace94ea5fb42392c7ff97d53 (diff)
downloadguix-25b83bd9e4ceb77f08c0caee3ecdc48263b53a46.tar.gz
gnu: jpegoptim: Update to 1.5.5.
* gnu/packages/image.scm (jpegoptim): Update to 1.5.5.
[arguments]<#:phases>: Remove argument.
[native-inputs]: Remove field.
[license]: Change to gpl3+.

Change-Id: I97fc63e20b5cf88c4ef04c2ea2c4a0888a1d0472
Signed-off-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r--gnu/packages/image.scm26
1 files changed, 4 insertions, 22 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 8a8e1eacb7..ebabd1c973 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -617,7 +617,7 @@ official designation is ISO/IEC 29199-2). This library is an implementation of t
 (define-public jpegoptim
   (package
    (name "jpegoptim")
-   (version "1.4.7")
+   (version "1.5.5")
    (source
     (origin
       (method git-fetch)
@@ -626,35 +626,17 @@ official designation is ISO/IEC 29199-2). This library is an implementation of t
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
-       (base32 "06f6d08xvmsiki4mc1qs985gsjqmsxx793a93b72y25q84wbg9x9"))))
+       (base32 "18zq7ada7n17vgkkcixpisxsbs7i8xp5qjp78hyyvmmb9dqy97fy"))))
    (build-system gnu-build-system)
    (arguments
-    `(#:tests? #f                       ; no tests
-      ,@(if (and (target-riscv64?)
-                 (%current-target-system))
-          (list #:phases
-                #~(modify-phases %standard-phases
-                    (add-after 'unpack 'update-config-scripts
-                      (lambda* (#:key native-inputs inputs #:allow-other-keys)
-                        (for-each (lambda (file)
-                                    (install-file
-                                      (search-input-file
-                                        (or native-inputs inputs)
-                                        (string-append "/bin/" file)) "./tools"))
-                                  '("config.guess" "config.sub"))))))
-          '())))
+    (list #:tests? #f))
    (inputs (list libjpeg-turbo))
-   (native-inputs
-    (if (and (target-riscv64?)
-             (%current-target-system))
-      (list config)
-      '()))
    (synopsis "Optimize JPEG images")
    (description
     "jpegoptim provides lossless optimization (based on optimizing
 the Huffman tables) and \"lossy\" optimization based on setting
 maximum quality factor.")
-   (license license:gpl2+)
+   (license license:gpl3+)
    (home-page "https://www.kokkonen.net/tjko/projects.html#jpegoptim")))
 
 (define-public libicns