all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33148] [PATCH] gnu: Add jp2a.
@ 2018-10-25 10:28 Pierre-Antoine Rouby
  2018-10-26 19:13 ` bug#33148: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Antoine Rouby @ 2018-10-25 10:28 UTC (permalink / raw)
  To: 33148; +Cc: Pierre-Antoine Rouby

* 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 <ybbs.daans@hotmail.com>
 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#33148: [PATCH] gnu: Add jp2a.
  2018-10-25 10:28 [bug#33148] [PATCH] gnu: Add jp2a Pierre-Antoine Rouby
@ 2018-10-26 19:13 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-10-26 19:13 UTC (permalink / raw)
  To: Pierre-Antoine Rouby; +Cc: 33148-done

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

Hello Pierre-Antoine!

Pierre-Antoine Rouby <contact@parouby.fr> skribis:

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

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

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1024 bytes --]

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)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-26 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 10:28 [bug#33148] [PATCH] gnu: Add jp2a Pierre-Antoine Rouby
2018-10-26 19:13 ` bug#33148: " Ludovic Courtès

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.