unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 36607@debbugs.gnu.org
Subject: [bug#36607] [PATCH 1/2] gnu: Add libimagequant.
Date: Thu, 11 Jul 2019 22:39:10 +0200	[thread overview]
Message-ID: <20190711203911.8139-2-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20190711203911.8139-1-h.goebel@crazy-compilers.com>

* gnu/packages/image.scm (libimagequant): New variable.
---
 gnu/packages/image.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index fabc2fb2d1..5a5174354c 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2017 ng0 <ng0@n0.is>
-;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2017,2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
 ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
@@ -313,6 +313,28 @@ files.  It can compress them as much as 40% losslessly.")
 Currently all documentation resides in @file{pnglite.h}.")
       (license license:zlib))))
 
+(define-public libimagequant
+  (package
+   (name "libimagequant")
+   (version "2.12.3")
+   (source
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/ImageOptim/libimagequant.git")
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32 "0qsfq1kv1m5jzn9v9iz0bac66k4clcis1c9877qabnwzwmwma5v0"))))
+   (build-system gnu-build-system)
+   (arguments
+    '(#:tests? #f)) ; no check target
+   (home-page "https://pngquant.org/lib/")
+   (synopsis "Image palette quantization library")
+   (description "Small, portable C library for high-quality conversion of RGBA
+images to 8-bit indexed-color (palette) images.")
+   (license license:gpl3)))
+
 (define-public libjpeg
   (package
    (name "libjpeg")
-- 
2.21.0

  reply	other threads:[~2019-07-11 20:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 20:29 [bug#36607] [PATCH 0/2] Add pngquant and libimagequant required by it Hartmut Goebel
2019-07-11 20:39 ` Hartmut Goebel
2019-07-11 20:39   ` Hartmut Goebel [this message]
2019-07-13 12:52     ` [bug#36607] [PATCH 1/2] gnu: Add libimagequant Ludovic Courtès
2019-07-13 18:06       ` bug#36607: " Hartmut Goebel
2019-07-11 20:39   ` [bug#36607] [PATCH 2/2] gnu: Add pngquant Hartmut Goebel
2019-07-13 12:53     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190711203911.8139-2-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=36607@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).