--- Begin Message ---
Subject: |
[PATCH] gnu: Add chafa. |
Date: |
Fri, 24 May 2019 11:33:07 +0200 |
* gnu/packages/image-viewers.scm(chaffa): New variable.
---
gnu/packages/image-viewers.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 82b44a4..fc94242 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -9,6 +9,7 @@
;;; Copyright ?? 2017 nee <address@hidden>
;;; Copyright ?? 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright ?? 2018, 2019 Ricardo Wurmus <address@hidden>
+;;; Copyright ?? 2019 Guy Fleury Iteriteka <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -429,3 +430,28 @@ imaging. It supports several HDR and LDR image formats,
and it can:
a comic and manga reader. It supports a variety of container formats
including CBZ, CB7, CBT, LHA.")
(license license:gpl2+)))
+
+(define-public chafa
+ (package
+ (name "chafa")
+ (version "1.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hpjansson.org/chafa/releases/chafa-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "00cf2z52az0z6bzc3hfm4l8infipy5ck410wqmbaybd2csjr3m29"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("imagemagick" ,imagemagick)))
+ (synopsis "Terminal Graphics for the 21st Century")
+ (description
+ "Chafa is a command-line utility that converts all kinds of images,
+including animated GIFs, into ANSI/Unicode character output that can be
+displayed in a terminal.")
+ (home-page "https://hpjansson.org/chafa/")
+ (license license:lgpl3+)))
--
2.21.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#35878] [PATCH] gnu: Add chafa. |
Date: |
Tue, 02 Jul 2019 17:19:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi guy,
guy fleury iteriteka <address@hidden> skribis:
> Sorry for taking so long time.
> I discus with the developper upstream. Here is what he tells me:
> ---------------------------------
> Even if it builds SSE support, it will only be used at runtime if the
> platform supports it. It uses CPUID internally to detect the CPU
> capabilities when run.
> -------------------------------
Oh indeed, I see that ‘chafa-features.h’ does the right thing.
Applied, thanks for checking!
Ludo’.
--- End Message ---