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

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

[debbugs-tracker] bug#33148: closed ([PATCH] gnu: Add jp2a.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33148: closed ([PATCH] gnu: Add jp2a.)
Date: Fri, 26 Oct 2018 19:15:01 +0000

Your message dated Fri, 26 Oct 2018 21:13:52 +0200
with message-id <address@hidden>
and subject line Re: [bug#33148] [PATCH] gnu: Add jp2a.
has caused the debbugs.gnu.org bug report #33148,
regarding [PATCH] gnu: Add jp2a.
to be marked as done.

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


-- 
33148: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33148
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add jp2a. Date: Thu, 25 Oct 2018 12:28:16 +0200
* gnu/packages/image.scm: New variable.
---
 gnu/packages/image.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index b367e0799..6e3c6cc18 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2018 Fis Trivial <address@hidden>
 ;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2018 Marius Bakke <address@hidden>
+;;; Copyright © 2018 Pierre-Antoine Rouby <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages curl)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages fontutils)
@@ -1497,3 +1499,29 @@ 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+)))
+
+(define-public jp2a
+  (package
+    (name "jp2a")
+    (version "1.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/cslarsen/jp2a/archive/v";
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0nahpjvrahixcfqqrjj2k4fscc8qs4hqnmj2qgjzsjj3z6xxh2g5"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libjpeg" ,libjpeg)
+       ("curl" ,curl)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://csl.name/jp2a/";)
+    (synopsis "Converts JPG images to ASCII")
+    (description "Jp2a is a small utility that converts JPG images to
+ASCII.")
+    (license license:gpl2)))
-- 
2.19.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#33148] [PATCH] gnu: Add jp2a. Date: Fri, 26 Oct 2018 21:13:52 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hello Pierre-Antoine!

Pierre-Antoine Rouby <address@hidden> skribis:

> * gnu/packages/image.scm: New variable.

Applied with the minor changes below.  Thank you!  :-)

Ludo’.

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 6e3c6cc18f..9bf9bd7e5e 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1511,7 +1511,8 @@ identical visual appearance.")
                            version ".tar.gz"))
        (sha256
         (base32
-         "0nahpjvrahixcfqqrjj2k4fscc8qs4hqnmj2qgjzsjj3z6xxh2g5"))))
+         "0nahpjvrahixcfqqrjj2k4fscc8qs4hqnmj2qgjzsjj3z6xxh2g5"))
+       (file-name (string-append name "-" version ".tar.gz"))))
     (build-system gnu-build-system)
     (inputs
      `(("libjpeg" ,libjpeg)
@@ -1521,7 +1522,7 @@ identical visual appearance.")
        ("automake" ,automake)
        ("pkg-config" ,pkg-config)))
     (home-page "https://csl.name/jp2a/";)
-    (synopsis "Converts JPG images to ASCII")
-    (description "Jp2a is a small utility that converts JPG images to
-ASCII.")
+    (synopsis "Convert JPEG images to ASCII")
+    (description
+     "Jp2a is a small utility that converts JPEG images to ASCII.")
     (license license:gpl2)))

--- End Message ---

reply via email to

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