From: Amirouche Boubekki <amirouche@hypermove.net>
To: Guix Devel <guix-devel@gnu.org>
Subject: [PATCH] Add jpegoptim
Date: Fri, 13 Nov 2015 15:17:48 +0100 [thread overview]
Message-ID: <d8701f9f967d2c38ecb464c63fe49142@hypermove.net> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-images-Add-jpegoptim-1.4.3.patch --]
[-- Type: text/x-diff; name=0001-gnu-images-Add-jpegoptim-1.4.3.patch, Size: 1983 bytes --]
From 571d55ef3270adfcd2c8cf80d400aec5e12528ab Mon Sep 17 00:00:00 2001
From: Amirouche Boubekki <amirouche@hypermove.net>
Date: Fri, 13 Nov 2015 15:09:08 +0100
Subject: [PATCH] gnu: images: Add jpegoptim 1.4.3
* gnu/packages/images.scm (jpegoptim): New variable jpegoptim
---
gnu/packages/image.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index bde327c..52717e7 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;;; Copyright © 2014 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
+;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;;
;;; This file is part of GNU Guix.
@@ -104,6 +105,29 @@ image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.")
(sha256 (base32
"1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"))))))
+(define-public jpegoptim
+ (package
+ (name "jpegoptim")
+ (version "1.4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://www.kokkonen.net/tjko/src/jpegoptim-"
+ version ".tar.gz"))
+ (sha256 (base32
+ "0k53q7dc8w5ashz8v261x2b5vvz7gdvg8w962rz9gjvkjbh4lg93"))))
+ (build-system gnu-build-system)
+ (inputs `(("libjpeg" ,libjpeg)))
+ (arguments
+ ;; no tests
+ '(#:tests? #f))
+ (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)
+ (home-page "http://www.kokkonen.net/tjko/projects.html#jpegoptim")))
+
(define-public libtiff
(package
(name "libtiff")
--
2.4.3
next reply other threads:[~2015-11-13 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 14:17 Amirouche Boubekki [this message]
2015-11-16 9:04 ` [PATCH] Add jpegoptim 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8701f9f967d2c38ecb464c63fe49142@hypermove.net \
--to=amirouche@hypermove.net \
--cc=guix-devel@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.