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

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

[debbugs-tracker] bug#31494: closed ([PATCH] gnu: gifsicle: New variable


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31494: closed ([PATCH] gnu: gifsicle: New variable.)
Date: Sat, 26 May 2018 20:23:02 +0000

Your message dated Sat, 26 May 2018 22:22:04 +0200
with message-id <address@hidden>
and subject line Re: [bug#31494] [PATCH] gnu: gifsicle: New variable.
has caused the debbugs.gnu.org bug report #31494,
regarding [PATCH] gnu: gifsicle: New variable.
to be marked as done.

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


-- 
31494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31494
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: gifsicle: New variable. Date: Fri, 18 May 2018 17:00:02 +0200
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#31494] [PATCH] gnu: gifsicle: New variable. Date: Sat, 26 May 2018 22:22:04 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Pierre Neidhardt <address@hidden> skribis:

> * gnu/packages/image.scm (gifsicle): New variable.

Applied with the minor changes below, in line with
<https://www.gnu.org/software/guix/manual/html_node/Synopses-and-Descriptions.html>.

Thank you!

Ludo’.

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
address@hidden Batch mode for changing GIFs in place.
address@hidden Provides a batch mode for changing GIFs in place.
 @item Prints detailed information about GIFs, including comments.
address@hidden Control over interlacing, comments, looping, transparency...
address@hidden 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.
address@hidden It can shrink colormaps and change images to use the Web-safe 
palette (or
-any colormap you choose).
address@hidden 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.
address@hidden Unoptimizing animations, which makes them easier to edit.
+tables, etc.
address@hidden Shrinks colormaps and change images to use the Web-safe palette.
address@hidden 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+)))

--- End Message ---

reply via email to

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