[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/78: gnu: Add libsixel.
From: |
guix-commits |
Subject: |
23/78: gnu: Add libsixel. |
Date: |
Fri, 23 Feb 2024 03:12:01 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 1217ccff6eca91a82a1b3bab776d93ce1a20503b
Author: chris <chris@bumblehead.com>
AuthorDate: Wed Feb 7 15:49:45 2024 -0800
gnu: Add libsixel.
* gnu/packages/image.scm (libsixel): New variable.
Curl is disabled to mitigate CVE-2021-45340 guix lint warns about.
Change-Id: I7c8077dd705409ce914ab347115d0b4fddeb37e1
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/image.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1f434667f8..0ff5e9baed 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -38,6 +38,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 chris <chris@bumblehead.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2816,3 +2817,38 @@ Graphics (PNGs), intended as an easy-to-use replacement
for @code{libpng}.")
(license license:bsd-2)
;; Supports SSE on x86-64 and NEON on AArch64.
(properties '((tunable? . #t)))))
+
+(define-public libsixel
+ (package
+ (name "libsixel")
+ (version "1.10.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libsixel/libsixel")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nny4295ipy4ajcxmmh04c796hcds0y7z7rv3qd17mj70y8j0r2d"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:build-type "release"
+ #:configure-flags #~(list "--buildtype=plain"
+ "-Dtests=enabled"
+ "-Dlibcurl=disabled"
+ "-Dgdk-pixbuf2=enabled")))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf libjpeg-turbo libpng python))
+ (home-page "https://github.com/libsixel/libsixel")
+ (synopsis
+ "Encoder and decoder implementation for DEC SIXEL graphics")
+ (description
+ "LibSIXEL is a an encoder/decoder implementation for DEC SIXEL graphics,
+and some converter programs. SIXEL is one of image formats for printer and
+terminal imaging introduced by @acronym{DEC, Digital Equipment Corp.}. Its
+data scheme is represented as a terminal-friendly escape sequence. So if you
+want to view a SIXEL image file, all you have to do is @command{cat} it to
+your terminal.")
+ (license license:expat)))
- 70/78: gnu: emacs-yeetube: Update to 2.1.2., (continued)
- 70/78: gnu: emacs-yeetube: Update to 2.1.2., guix-commits, 2024/02/23
- 54/78: gnu: emacs-mastodon: Update to 1.0.14., guix-commits, 2024/02/23
- 55/78: gnu: emacs-meow: Update to 1.4.5., guix-commits, 2024/02/23
- 34/78: gnu: emacs-taxy-magit-section: Update to 0.13., guix-commits, 2024/02/23
- 43/78: gnu: emacs-eldev: Update to 1.8.2., guix-commits, 2024/02/23
- 61/78: gnu: emacs-parent-mode: Run tests., guix-commits, 2024/02/23
- 47/78: gnu: emacs-flycheck: Update to 34.1., guix-commits, 2024/02/23
- 68/78: gnu: emacs-vertico: Update to 1.7., guix-commits, 2024/02/23
- 53/78: gnu: emacs-magit-todos: Update to 1.7.1., guix-commits, 2024/02/23
- 22/78: gnu: Add tagainijisho., guix-commits, 2024/02/23
- 23/78: gnu: Add libsixel.,
guix-commits <=
- 41/78: gnu: emacs-ebib: Update to 2.40.4., guix-commits, 2024/02/23
- 39/78: gnu: emacs-doom-modeline: Update to 4.1.0., guix-commits, 2024/02/23
- 44/78: gnu: emacs-elpher: Update to 3.5.1., guix-commits, 2024/02/23
- 52/78: gnu: emacs-log4e: Update to 0.4.1., guix-commits, 2024/02/23
- 56/78: gnu: emacs-nodejs-repl: Update to 0.2.5., guix-commits, 2024/02/23
- 46/78: gnu: emacs-evil-matchit: Update to 3.0.4., guix-commits, 2024/02/23
- 58/78: gnu: emacs-org: Update to 9.6.19., guix-commits, 2024/02/23
- 72/78: gnu: emacs-ox-tufte: Run tests., guix-commits, 2024/02/23
- 67/78: gnu: emacs-treebundel: Update to 0.3.0., guix-commits, 2024/02/23
- 76/78: gnu: Remove go-etcd-io-bbolt., guix-commits, 2024/02/23