From unknown Sun Jun 22 22:47:57 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31494] [PATCH] gnu: gifsicle: New variable. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 May 2018 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31494@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152665562317164 (code B ref -1); Fri, 18 May 2018 15:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2018 15:00:23 +0000 Received: from localhost ([127.0.0.1]:39921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgrm-0004Sm-K7 for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgrj-0004SW-8h for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJgrc-0000dr-P4 for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJgrc-0000d8-Lk for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJgrX-00060w-Ua for guix-patches@gnu.org; Fri, 18 May 2018 11:00:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJgrW-0000VP-OZ for guix-patches@gnu.org; Fri, 18 May 2018 11:00:08 -0400 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:38153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJgrW-0000UG-Ev for guix-patches@gnu.org; Fri, 18 May 2018 11:00:06 -0400 Received: by mail-wr0-x229.google.com with SMTP id 94-v6so9522210wrf.5 for ; Fri, 18 May 2018 08:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=v3ye7ZCUuMbMA4je40OQHLPGwzVCtTHr/4OfBwQzmKc=; b=vOSQ1hA2zcFZlHQ6ZshpbxZvzfRzWlmzEVbErCDE7JK2xZYPfgsJzfR4LGY2yGMxAm y0n0YAU9caoEPcXtykvcgffkiiJYNsTaLjP0SGgkdJPliSReGsmZ1VwUJr8QOl7o1Tj8 E+fHVuAT8zNCKUTj6aVe4S5y8qEi7rS5Hp6OX/uA/4PqEHoO3T8tC2zkcHofHsI1damG l6sioFIpUsMHP4XJWFRufdQpeYkMjW+93Ye2VytavaSe4Hb470IkvTu227hWEikJKRIj JdFTfLc5s67WllpIIiazhOLRNXVEnktwWs0cO4mtr092LHV5bgwZtWUfNo8/WHiPYsxC cJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=v3ye7ZCUuMbMA4je40OQHLPGwzVCtTHr/4OfBwQzmKc=; b=qeuaUerSmvCUe8bZdGiLFNmS3pNr3ayEpXxqUvSUPpMit1Y7dU9ve47na+9ZVS4b2X l+dUJueHOTAktUSr+ZvrKmRRTjKlh2VSSEf7swXebjbdgpBRIw2Y8gq8wWVUuz1Iy7df q4OpIv2YNmouYyWcjUjI5E2xLmuVMDKTvXvSv/rurpy0ddRLMjbLUIj06QTMjyFI6uO1 vbBjWEZIQYq3daYZkMSt+5wOSTyX7bP5vwLoFESjm3Fd1BBM6KeQXyEqJ1AwIe4Y8BcC cGYOioCRrrSzECwEcuP1CzlGwBLvvcYMtZYgRCZI4fGxt2rDEU7xKlPQH0jZTmihUR9A MafA== X-Gm-Message-State: ALKqPwcNbffAIojcSskhkCISiuqDPnEw9IXUHoi/2zVeEmHSDHRgccyt QBswn9fQsyhssr2R7+ScbHrDYF2b X-Google-Smtp-Source: AB8JxZpTd/11FFmYg/4cMEHOzI+3l2vVrsj/dY6B2yuZulkexdWQlnbKC+2cWhWtLCEIZLFZoX+6YQ== X-Received: by 2002:adf:ba91:: with SMTP id p17-v6mr7718025wrg.125.1526655604858; Fri, 18 May 2018 08:00:04 -0700 (PDT) Received: from mimimi.home (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id 38-v6sm15080453wry.61.2018.05.18.08.00.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 08:00:04 -0700 (PDT) From: Pierre Neidhardt Date: Fri, 18 May 2018 17:00:02 +0200 Message-Id: <20180518150002.24615-1-ambrevar@gmail.com> X-Mailer: git-send-email 2.17.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/image.scm (gifsicle): New variable. --- gnu/packages/image.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index bbfd621a9..ef97df7c7 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1366,3 +1366,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) + ;; TODO: Tests fail with "undefined error at undefined point in script". + ;; They pass when run manually with + ;; guix environment gifsicle -- ./test/testie -p src/ test/ + (arguments '(#:tests? #f)) + ;; (arguments + ;; '(#:phases + ;; (modify-phases %standard-phases + ;; (add-before 'check 'patch-tests + ;; (lambda _ + ;; (substitute* "test/testie" + ;; (("/usr/bin/perl") + ;; (which "perl")) + ;; (("/bin/rm") + ;; (which "rm")))))))) + ;; (native-inputs `(("perl" ,perl))) ; Only for tests. + (inputs `(("libx11" ,libx11))) + (home-page "http://www.lcdf.org/gifsicle/") + (synopsis "Create, edit, manipulate and get information about GIF images and animations") + (description "Some Gifsicle features: +- Batch mode for changing GIFs in place. +- Prints detailed information about GIFs, including comments. +- Control over interlacing, comments, looping, transparency... +- Creates well-behaved GIFs: removes redundant colors, only uses local color +tables if it absolutely has to (local color tables waste space and can cause +viewing artifacts), etc. +- It can shrink colormaps and change images to use the Web-safe palette (or +any colormap you choose). +- Optimize your animations! This stores only the changed portion of each +frame, and can radically shrink your GIFs. You can also use transparency to +make them even smaller. Gifsicle's optimizer is pretty powerful, and usually +reduces animations to within a couple bytes of the best commercial optimizers. +- Unoptimizing animations, which makes them easier to edit. + +Two other programs are included with Gifsicle: @code{gifview} is a lightweight +animated-GIF viewer which can show animations as slideshows or in real time, +and @code{gifdiff} compares two GIFs for identical visual appearance. ") + (license license:gpl2+))) -- 2.17.0 From unknown Sun Jun 22 22:47:57 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31494] [PATCH] gnu: gifsicle: New variable. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 May 2018 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 31494@debbugs.gnu.org Received: via spool by 31494-submit@debbugs.gnu.org id=B31494.15267628193844 (code B ref 31494); Sat, 19 May 2018 20:47:01 +0000 Received: (at 31494) by debbugs.gnu.org; 19 May 2018 20:46:59 +0000 Received: from localhost ([127.0.0.1]:41383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fK8kk-0000zw-W6 for submit@debbugs.gnu.org; Sat, 19 May 2018 16:46:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fK8ki-0000zg-F9 for 31494@debbugs.gnu.org; Sat, 19 May 2018 16:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fK8kb-0007zn-Tq for 31494@debbugs.gnu.org; Sat, 19 May 2018 16:46:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fK8kb-0007zb-Pq; Sat, 19 May 2018 16:46:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37996 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fK8kb-0007Oe-Bd; Sat, 19 May 2018 16:46:49 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180518150002.24615-1-ambrevar@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?UTF-8?Q?Flor=C3=A9al?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 19 May 2018 22:46:48 +0200 In-Reply-To: <20180518150002.24615-1-ambrevar@gmail.com> (Pierre Neidhardt's message of "Fri, 18 May 2018 17:00:02 +0200") Message-ID: <87muwvnzk7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, Pierre Neidhardt skribis: > * gnu/packages/image.scm (gifsicle): New variable. Copyright line please. :-) > + (build-system gnu-build-system) > + ;; TODO: Tests fail with "undefined error at undefined point in scrip= t". > + ;; They pass when run manually with > + ;; guix environment gifsicle -- ./test/testie -p src/ test/ > + (arguments '(#:tests? #f)) > + ;; (arguments > + ;; '(#:phases > + ;; (modify-phases %standard-phases > + ;; (add-before 'check 'patch-tests > + ;; (lambda _ > + ;; (substitute* "test/testie" > + ;; (("/usr/bin/perl") > + ;; (which "perl")) > + ;; (("/bin/rm") > + ;; (which "rm")))))))) > + ;; (native-inputs `(("perl" ,perl))) ; Only for tests. Could the test failures be caused by other hardcoded file names (like =E2=80=9C/bin/sh=E2=80=9D)? If they pass in =E2=80=99guix environment=E2= =80=99 that may well be the reason. > + (inputs `(("libx11" ,libx11))) > + (home-page "http://www.lcdf.org/gifsicle/") > + (synopsis "Create, edit, manipulate and get information about GIF ima= ges and animations") To shorten a bit, what about: =E2=80=9CEdit GIF images and animations=E2=80= =9D? > + (description "Some Gifsicle features: > +- Batch mode for changing GIFs in place. > +- Prints detailed information about GIFs, including comments. > +- Control over interlacing, comments, looping, transparency... > +- Creates well-behaved GIFs: removes redundant colors, only uses local c= olor > +tables if it absolutely has to (local color tables waste space and can c= ause > +viewing artifacts), etc. > +- It can shrink colormaps and change images to use the Web-safe palette = (or > +any colormap you choose). > +- Optimize your animations! This stores only the changed portion of each > +frame, and can radically shrink your GIFs. You can also use transparency= to > +make them even smaller. Gifsicle's optimizer is pretty powerful, and usu= ally > +reduces animations to within a couple bytes of the best commercial optim= izers. > +- Unoptimizing animations, which makes them easier to edit. > + > +Two other programs are included with Gifsicle: @code{gifview} is a light= weight > +animated-GIF viewer which can show animations as slideshows or in real t= ime, > +and @code{gifdiff} compares two GIFs for identical visual appearance. ") Please @itemize and full sentences. Could you send an updated patch? Thank you! Ludo=E2=80=99. From unknown Sun Jun 22 22:47:57 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31494] [PATCH] gnu: gifsicle: New variable. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 May 2018 12:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31494@debbugs.gnu.org Received: via spool by 31494-submit@debbugs.gnu.org id=B31494.15268181643819 (code B ref 31494); Sun, 20 May 2018 12:10:02 +0000 Received: (at 31494) by debbugs.gnu.org; 20 May 2018 12:09:24 +0000 Received: from localhost ([127.0.0.1]:41683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKN9Q-0000zV-15 for submit@debbugs.gnu.org; Sun, 20 May 2018 08:09:24 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:33344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKN9O-0000zJ-6U for 31494@debbugs.gnu.org; Sun, 20 May 2018 08:09:22 -0400 Received: by mail-wm0-f51.google.com with SMTP id x12-v6so8780233wmc.0 for <31494@debbugs.gnu.org>; Sun, 20 May 2018 05:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=daQIhoM5pwCe7uTbqkAoS7blgMppEJkzPoebBw7xZAg=; b=kr0fyRYbufivz8RzZnzNKg5SYS5yxA1ZoZr/B+GwKRhXIqAYGkEgKd1xyZH3TcFfNX RLUVVr47antd7Jv5BR3/eiAX9QzQBi2bMx6O7RtKbGWFIomJSZIQQjH1+Fiz6McIkN+q LMTDk9OOXqRKEYFWNFr+K3OijsesBM6rEyZJK0vxYYCn2QIJFrznUhlKwKOIpbbXuX+3 Qvhh7AG43qOn+vjvsPr/FNsppP/eFgKRUJGXA4hioZb1AANFXnW7p5Qi7FXyNPv5LcGn E+SbjzN4Y3kzX9hUVzuDvCb7JHTSIF+ALGAS5l6LQiLd/BHxdH8YeEaUX/OUqwhRvGXA IK+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=daQIhoM5pwCe7uTbqkAoS7blgMppEJkzPoebBw7xZAg=; b=OGuSIbFdsKc2cQx5weTPt3Mprh00gUwtubPZfJOFnGwmdDcSjt/dNGgfKHvF1NtnVv LbkYQrCRuBC27WMiuE+0TEqs8H68UGAlUeKRz6X1H5ILs6pRYCHieMiGzUVzGl9PZAcb FXEtnjaU16xeJRX5dg5i5oSerHz2c2pzaj9BMjkU8oryUQbTxGT1gj5E6FqKXUmNgkSN 3+cvXNEV20Yk0Ru74AXcD5MwL4/Y0M9/G8NUT7GZ3St0Y2jGzewmTR453eWHI3EbC9tC xvoJYc6IHdRWfpp5wQyR5d03JcQnp4be9vL0sXsfxSEmMZwOVeTDWwdJIAKJCqjkSQSr YfOA== X-Gm-Message-State: ALKqPwdIyoI6HR1X6YhFyeETkc5inX0WiDnIurttQ9S6nKAiKviYbqs4 n3MovGwBz4O/R6dchdPaCglzLQ== X-Google-Smtp-Source: AB8JxZop8ib5JDqL69Z6IXKlK2JWtCtz82NjSv/qIkWoAf1j3r1l97zIZFT334FN+OW2pCXitzELLg== X-Received: by 2002:a1c:fc3:: with SMTP id 186-v6mr9291352wmp.113.1526818156200; Sun, 20 May 2018 05:09:16 -0700 (PDT) Received: from mimimi (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id u8-v6sm10272563wmf.3.2018.05.20.05.09.15 for <31494@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 May 2018 05:09:15 -0700 (PDT) References: <20180518150002.24615-1-ambrevar@gmail.com> <87muwvnzk7.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 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" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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----- --=-=-=-- From unknown Sun Jun 22 22:47:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pierre Neidhardt Subject: bug#31494: closed (Re: [bug#31494] [PATCH] gnu: gifsicle: New variable.) Message-ID: References: <87h8muyxoz.fsf@gnu.org> <20180518150002.24615-1-ambrevar@gmail.com> X-Gnu-PR-Message: they-closed 31494 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 31494@debbugs.gnu.org Date: Sat, 26 May 2018 20:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1527366182-14291-1" This is a multi-part message in MIME format... ------------=_1527366182-14291-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31494: [PATCH] gnu: gifsicle: New variable. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31494@debbugs.gnu.org. --=20 31494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31494 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1527366182-14291-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31494-done) by debbugs.gnu.org; 26 May 2018 20:22:14 +0000 Received: from localhost ([127.0.0.1]:49935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMfhe-0003hI-7O for submit@debbugs.gnu.org; Sat, 26 May 2018 16:22:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMfhd-0003h7-20 for 31494-done@debbugs.gnu.org; Sat, 26 May 2018 16:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMfhW-0007Xq-S1 for 31494-done@debbugs.gnu.org; Sat, 26 May 2018 16:22:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMfhW-0007Xk-Nq; Sat, 26 May 2018 16:22:06 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34388 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fMfhW-0001h3-BK; Sat, 26 May 2018 16:22:06 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pierre Neidhardt Subject: Re: [bug#31494] [PATCH] gnu: gifsicle: New variable. References: <20180518150002.24615-1-ambrevar@gmail.com> <87muwvnzk7.fsf@gnu.org> <87bmdawmty.fsf@gmail.com> Date: Sat, 26 May 2018 22:22:04 +0200 In-Reply-To: <87bmdawmty.fsf@gmail.com> (Pierre Neidhardt's message of "Sun, 20 May 2018 14:09:13 +0200") Message-ID: <87h8muyxoz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31494-done Cc: 31494-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Pierre Neidhardt skribis: > * gnu/packages/image.scm (gifsicle): New variable. Applied with the minor changes below, in line with . Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 752815c58..d6c39e5c7 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1426,29 +1426,25 @@ in-memory raw vectors.") (("/bin/sh") (which "sh")) (("/bin/rm") - (which "rm")))))))) + (which "rm"))) + #t))))) (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: + (description "Gifsicle is a command-line GIF image manipulation tool that: + @itemize -@item Batch mode for changing GIFs in place. +@item Provides a batch mode for changing GIFs in place. @item Prints detailed information about GIFs, including comments. -@item Control over interlacing, comments, looping, transparency... +@item Control over interlacing, comments, looping, transparency, etc. @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 cause -viewing artifacts), etc. -@item It can shrink colormaps and change images to use the Web-safe palette (or -any colormap you choose). -@item Optimize your animations! This stores only the changed portion of each -frame, and can radically shrink your GIFs. You can also use transparency to -make them even smaller. Gifsicle's optimizer is pretty powerful, and usually -reduces animations to within a couple bytes of the best commercial optimizers. -@item Unoptimizing animations, which makes them easier to edit. +tables, etc. +@item Shrinks colormaps and change images to use the Web-safe palette. +@item Optimizes GIF animations, or unoptimizes them for easier editing. @end itemize -Two other programs are included with Gifsicle: @code{gifview} is a lightweight -animated-GIF viewer which can show animations as slideshows or in real time, -and @code{gifdiff} compares two GIFs for identical visual appearance.") +Two other programs are included with Gifsicle: @command{gifview} is a +lightweight animated-GIF viewer, and @command{gifdiff} compares two GIFs for +identical visual appearance.") (license license:gpl2+))) --=-=-=-- ------------=_1527366182-14291-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 May 2018 15:00:23 +0000 Received: from localhost ([127.0.0.1]:39921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgrm-0004Sm-K7 for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJgrj-0004SW-8h for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJgrc-0000dr-P4 for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJgrc-0000d8-Lk for submit@debbugs.gnu.org; Fri, 18 May 2018 11:00:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJgrX-00060w-Ua for guix-patches@gnu.org; Fri, 18 May 2018 11:00:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJgrW-0000VP-OZ for guix-patches@gnu.org; Fri, 18 May 2018 11:00:08 -0400 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:38153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJgrW-0000UG-Ev for guix-patches@gnu.org; Fri, 18 May 2018 11:00:06 -0400 Received: by mail-wr0-x229.google.com with SMTP id 94-v6so9522210wrf.5 for ; Fri, 18 May 2018 08:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=v3ye7ZCUuMbMA4je40OQHLPGwzVCtTHr/4OfBwQzmKc=; b=vOSQ1hA2zcFZlHQ6ZshpbxZvzfRzWlmzEVbErCDE7JK2xZYPfgsJzfR4LGY2yGMxAm y0n0YAU9caoEPcXtykvcgffkiiJYNsTaLjP0SGgkdJPliSReGsmZ1VwUJr8QOl7o1Tj8 E+fHVuAT8zNCKUTj6aVe4S5y8qEi7rS5Hp6OX/uA/4PqEHoO3T8tC2zkcHofHsI1damG l6sioFIpUsMHP4XJWFRufdQpeYkMjW+93Ye2VytavaSe4Hb470IkvTu227hWEikJKRIj JdFTfLc5s67WllpIIiazhOLRNXVEnktwWs0cO4mtr092LHV5bgwZtWUfNo8/WHiPYsxC cJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=v3ye7ZCUuMbMA4je40OQHLPGwzVCtTHr/4OfBwQzmKc=; b=qeuaUerSmvCUe8bZdGiLFNmS3pNr3ayEpXxqUvSUPpMit1Y7dU9ve47na+9ZVS4b2X l+dUJueHOTAktUSr+ZvrKmRRTjKlh2VSSEf7swXebjbdgpBRIw2Y8gq8wWVUuz1Iy7df q4OpIv2YNmouYyWcjUjI5E2xLmuVMDKTvXvSv/rurpy0ddRLMjbLUIj06QTMjyFI6uO1 vbBjWEZIQYq3daYZkMSt+5wOSTyX7bP5vwLoFESjm3Fd1BBM6KeQXyEqJ1AwIe4Y8BcC cGYOioCRrrSzECwEcuP1CzlGwBLvvcYMtZYgRCZI4fGxt2rDEU7xKlPQH0jZTmihUR9A MafA== X-Gm-Message-State: ALKqPwcNbffAIojcSskhkCISiuqDPnEw9IXUHoi/2zVeEmHSDHRgccyt QBswn9fQsyhssr2R7+ScbHrDYF2b X-Google-Smtp-Source: AB8JxZpTd/11FFmYg/4cMEHOzI+3l2vVrsj/dY6B2yuZulkexdWQlnbKC+2cWhWtLCEIZLFZoX+6YQ== X-Received: by 2002:adf:ba91:: with SMTP id p17-v6mr7718025wrg.125.1526655604858; Fri, 18 May 2018 08:00:04 -0700 (PDT) Received: from mimimi.home (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id 38-v6sm15080453wry.61.2018.05.18.08.00.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 08:00:04 -0700 (PDT) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH] gnu: gifsicle: New variable. Date: Fri, 18 May 2018 17:00:02 +0200 Message-Id: <20180518150002.24615-1-ambrevar@gmail.com> X-Mailer: git-send-email 2.17.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/image.scm (gifsicle): New variable. --- gnu/packages/image.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index bbfd621a9..ef97df7c7 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1366,3 +1366,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) + ;; TODO: Tests fail with "undefined error at undefined point in script". + ;; They pass when run manually with + ;; guix environment gifsicle -- ./test/testie -p src/ test/ + (arguments '(#:tests? #f)) + ;; (arguments + ;; '(#:phases + ;; (modify-phases %standard-phases + ;; (add-before 'check 'patch-tests + ;; (lambda _ + ;; (substitute* "test/testie" + ;; (("/usr/bin/perl") + ;; (which "perl")) + ;; (("/bin/rm") + ;; (which "rm")))))))) + ;; (native-inputs `(("perl" ,perl))) ; Only for tests. + (inputs `(("libx11" ,libx11))) + (home-page "http://www.lcdf.org/gifsicle/") + (synopsis "Create, edit, manipulate and get information about GIF images and animations") + (description "Some Gifsicle features: +- Batch mode for changing GIFs in place. +- Prints detailed information about GIFs, including comments. +- Control over interlacing, comments, looping, transparency... +- Creates well-behaved GIFs: removes redundant colors, only uses local color +tables if it absolutely has to (local color tables waste space and can cause +viewing artifacts), etc. +- It can shrink colormaps and change images to use the Web-safe palette (or +any colormap you choose). +- Optimize your animations! This stores only the changed portion of each +frame, and can radically shrink your GIFs. You can also use transparency to +make them even smaller. Gifsicle's optimizer is pretty powerful, and usually +reduces animations to within a couple bytes of the best commercial optimizers. +- Unoptimizing animations, which makes them easier to edit. + +Two other programs are included with Gifsicle: @code{gifview} is a lightweight +animated-GIF viewer which can show animations as slideshows or in real time, +and @code{gifdiff} compares two GIFs for identical visual appearance. ") + (license license:gpl2+))) -- 2.17.0 ------------=_1527366182-14291-1--