GNU bug report logs - #68986
[PATCH] gnu: Add libsixel.

Previous Next

Package: guix-patches;

Reported by: chris <chris <at> bumblehead.com>

Date: Wed, 7 Feb 2024 23:52:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68986 in the body.
You can then email your comments to 68986 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68986; Package guix-patches. (Wed, 07 Feb 2024 23:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to chris <chris <at> bumblehead.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 07 Feb 2024 23:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: chris <chris <at> bumblehead.com>
To: guix-patches <at> gnu.org
Cc: chris <chris <at> bumblehead.com>
Subject: [PATCH] gnu: Add libsixel.
Date: Wed,  7 Feb 2024 15:49:45 -0800
*  (libsixel): New variable.

The libsixel install was verified with this command: img2sixel myimg.png

Curl is disabled to mitigate CVE-2021-45340 guix lint warns about.

Change-Id: I7c8077dd705409ce914ab347115d0b4fddeb37e1
---
 gnu/packages/image.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1f434667f8..85b70087be 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2023-2024 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
+;;; Copyright © 2024 chris <chris <at> bumblehead.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2816,3 +2817,37 @@ (define-public spng
    (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")
+    (home-page "https://github.com/libsixel/libsixel")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (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 #~'("--buildtype=plain" "-Dtests=enabled"
+                            "-Dlibcurl=disabled" "-Dgdk-pixbuf2=enabled")))
+    (native-inputs (list pkg-config))
+    (inputs (list libjpeg-turbo libpng python gdk-pixbuf))
+    (synopsis
+     "Provides encoder/decoder implementation for DEC SIXEL graphics.")
+    (description
+     "@command{libpixel} 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 Digital Equipment Corp. (DEC).  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 \"cat\" it to your
+ terminal")
+    (license license:expat)))

base-commit: 5d2302a1959d09e6d5a5f02ac199458095847a82
-- 
2.41.0





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 22 Feb 2024 20:03:02 GMT) Full text and rfc822 format available.

Notification sent to chris <chris <at> bumblehead.com>:
bug acknowledged by developer. (Thu, 22 Feb 2024 20:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 68986-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: chris <chris <at> bumblehead.com>
Cc: 68986-done <at> debbugs.gnu.org
Subject: Re: [bug#68986] [PATCH] gnu: Add libsixel.
Date: Thu, 22 Feb 2024 21:01:43 +0100
Hello,

chris <chris <at> bumblehead.com> writes:

> *  (libsixel): New variable.
>
> The libsixel install was verified with this command: img2sixel myimg.png
>

Thank you!

I fixed the commit message, tweaked the description, sorted inputs
alphabetically, and applied your patch.


Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Mar 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.