From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKNA6-00032D-Cg for guix-patches@gnu.org; Sun, 20 May 2018 08:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKNA2-0002ec-Cb for guix-patches@gnu.org; Sun, 20 May 2018 08:10:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKNA2-0002eY-8t for guix-patches@gnu.org; Sun, 20 May 2018 08:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKNA2-00010Z-2q for guix-patches@gnu.org; Sun, 20 May 2018 08:10:02 -0400 Subject: [bug#31494] [PATCH] gnu: gifsicle: New variable. Resent-Message-ID: References: <20180518150002.24615-1-ambrevar@gmail.com> <87muwvnzk7.fsf@gnu.org> From: Pierre Neidhardt In-reply-to: <87muwvnzk7.fsf@gnu.org> Date: Sun, 20 May 2018 14:09:13 +0200 Message-ID: <87bmdawmty.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31494@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable * gnu/packages/image.scm (gifsicle): New variable. =2D-- gnu/packages/image.scm | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index bbfd621a9..174e47bca 100644 =2D-- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2017 Hartmut Goebel ;;; Copyright =C2=A9 2017 Julien Lepiller ;;; Copyright =C2=A9 2018 Joshua Sierles, Nextjournal +;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -1366,3 +1367,54 @@ Features: images stored in the JPEG format with R. It can read and write both files= and in-memory raw vectors.") (license license:gpl2+))) + +(define-public gifsicle + (package + (name "gifsicle") + (version "1.91") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.lcdf.org/gifsicle/gifsicle-" + version ".tar.gz")) + (sha256 + (base32 + "00586z1yz86qcblgmf16yly39n4lkjrscl52hvfxqk14m81fckha")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'patch-tests + (lambda _ + (substitute* "test/testie" + (("/usr/bin/perl") + (which "perl")) + (("/bin/sh") + (which "sh")) + (("/bin/rm") + (which "rm")))))))) + (native-inputs `(("perl" ,perl))) ; Only for tests. + (inputs `(("libx11" ,libx11))) + (home-page "http://www.lcdf.org/gifsicle/") + (synopsis "Edit GIF images and animations") + (description "Gifsicle is a commandline GIF swiss-army knife. Features: +@itemize +@item Batch mode for changing GIFs in place. +@item Prints detailed information about GIFs, including comments. +@item Control over interlacing, comments, looping, transparency... +@item Creates well-behaved GIFs: removes redundant colors, only uses local= color +tables if it absolutely has to (local color tables waste space and can cau= se +viewing artifacts), etc. +@item It can shrink colormaps and change images to use the Web-safe palett= e (or +any colormap you choose). +@item Optimize your animations! This stores only the changed portion of e= ach +frame, and can radically shrink your GIFs. You can also use transparency = to +make them even smaller. Gifsicle's optimizer is pretty powerful, and usua= lly +reduces animations to within a couple bytes of the best commercial optimiz= ers. +@item Unoptimizing animations, which makes them easier to edit. +@end itemize + +Two other programs are included with Gifsicle: @code{gifview} is a lightwe= ight +animated-GIF viewer which can show animations as slideshows or in real tim= e, +and @code{gifdiff} compares two GIFs for identical visual appearance.") + (license license:gpl2+))) =2D-=20 2.17.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlsBZWkACgkQm9z0l6S7 zH9hYAf/cSWGhU0V4tVR+K8i1koytHTurhNgEW0E0vkfLSXudMzNwcDrY6hP8nZM ZhQ/SPIhpWdPBuebG18KOe49X2BJs4ADO70IRPy7P5NlpdXcgiluU7yOFoRfKz6a SW5x1QGr9dXjC5F2uQaPn1IAwSpPRUFrYLU2TJhs2hQUlDSEhSATDEGiH2FwgIrq l95H1P8lEAbgeNaIi3AUBReSrDYicbHfSyF7rfOzH+ijlF7hGs36JRN5+ONA0O88 q1BQ1XXN/hPVzMGqtFEl/XgWnMYoU2juHzjY8Abv4pkTL7HGvaS5Gey4PfpVlzPY gz7szuUpxk4hbZkXQbxaG+oVzFg8mQ== =BfpS -----END PGP SIGNATURE----- --=-=-=--