emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#36627: closed ([PATCH] gnu: package pngquant and l


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36627: closed ([PATCH] gnu: package pngquant and libimagequant)
Date: Mon, 15 Jul 2019 10:44:04 +0000

Your message dated Mon, 15 Jul 2019 12:43:40 +0200
with message-id <address@hidden>
and subject line Re: [bug#36627] [PATCH] gnu: package pngquant and libimagequant
has caused the debbugs.gnu.org bug report #36627,
regarding [PATCH] gnu: package pngquant and libimagequant
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36627: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36627
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: package pngquant and libimagequant Date: Fri, 12 Jul 2019 23:38:39 +0200
* gnu/packages/image.scm (pngquant): Package 2.12.3
* gnu/packages/image.scm (libimagequant): Package 2.12.3
---
 gnu/packages/image.scm | 65 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index fabc2fb2d1..511f5302b7 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -258,6 +258,71 @@ files.  It can compress them as much as 40% losslessly.")
   ;; This package used to be wrongfully name "pngcrunch".
   (deprecated-package "pngcrunch" pngcrush))

+(define-public pngquant
+  (package
+    (name "pngquant")
+    (version "2.12.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://pngquant.org/pngquant-";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1mr0c7cd6m5hwz2fgbgmphirpf5mm4q546cpc31nwsrj4390qz2h"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; no check target
+       #:phases (modify-phases %standard-phases
+                  (replace 'build
+                    (lambda _
+                      (invoke "make"
+                              (string-append
+                               "LIQSRCDIR="
+                               (assoc-ref %build-inputs "libimagequant")
+                               "/lib")
+                              "pngquant"))))))
+    (inputs
+     `(("libpng" ,libpng)
+       ("zlib" ,zlib)
+       ("libimagequant" ,libimagequant)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://pngquant.org";)
+    (synopsis "Lossy png compression")
+    (description "pngquant is a command-line utility for lossy compression of
+PNG images.")
+    (license license:gpl3+)))
+
+
+(define-public libimagequant
+  (package
+    (name "libimagequant")
+    (version "2.12.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/ImageOptim/libimagequant/archive/";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ggiizj6vz2i1r5ff1hgjl1v0hx8227wdgwxrlb29rd7ax38bmrb"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (arguments
+     '(#:tests? #f ; no check target
+       #:phases (modify-phases %standard-phases
+                  (replace 'build
+                    (lambda _ (invoke "make" "libimagequant.so"))))))
+    (home-page "https://pngquant.org/lib/";)
+    (synopsis "Utility to compress PNG files")
+    (description "libimagequant is a library for lossy compression of PNG 
images.")
+    (license license:gpl3+)))
+
+
 (define-public pnglite
   (let ((commit "11695c56f7d7db806920bd9229b69f230e6ffb38")
         (revision "1"))
--
2.22.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#36627] [PATCH] gnu: package pngquant and libimagequant Date: Mon, 15 Jul 2019 12:43:40 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Hello,

Arne Babenhauserheide <address@hidden> skribis:

> * gnu/packages/image.scm (pngquant): Package 2.12.3
> * gnu/packages/image.scm (libimagequant): Package 2.12.3

Hartmut contributed the same packages just a few days ago.  Please let
us know if you think something’s missing from the existing packages,
otherwise case closed!

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]