From unknown Sun Jun 22 22:45:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#68986] [PATCH] gnu: Add libsixel. Resent-From: chris Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Feb 2024 23:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68986@debbugs.gnu.org Cc: chris X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170734991023608 (code B ref -1); Wed, 07 Feb 2024 23:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2024 23:51:50 +0000 Received: from localhost ([127.0.0.1]:58293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXrhl-00068h-G2 for submit@debbugs.gnu.org; Wed, 07 Feb 2024 18:51:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:58752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXrhi-00068P-Lx for submit@debbugs.gnu.org; Wed, 07 Feb 2024 18:51:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXrhO-0003dQ-TO for guix-patches@gnu.org; Wed, 07 Feb 2024 18:51:26 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXrhN-0003Xn-1O for guix-patches@gnu.org; Wed, 07 Feb 2024 18:51:26 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id EDB82304FB64 for ; Thu, 8 Feb 2024 00:51:14 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1707349872; x=1709164273; bh=UBC1D0eitBxXhh+xtSNNdu+L0iMc+MOwGL1t0+6DLQI=; b=Q91eNchuSE2w M+n4nBFpZQVBsdL1UNoRmNclkFXnK1tAHBBnF+mOps2qHfQFTQCQh0VVyQX0s3v2 vz+CgLAhkz3dORBKvSc+4lt/ow0nhmjtEcSET7/vXYXeDqKSQt8of4rdMalpIZSH iXKa0i6BRRonl2ukHpb1CdpONKUeFCbs6NlVJFGkWT5UdiZzo22uOWuHMhLijT2e QYG8uSrZXAS5NRQv0qjyJ+aqAogUE7LKNGP81ujST+Z3S3pMZmq4fIGDZYi9NVDt /GxpBZNJRBA93krJ0WggufP47nB1AoB/AsQ+ySJ08vV3NG9eK1wwQqQMp23mLSyI zGd5l9QnqQBi8tiTvaocBvW0lLMdRchf3ydh3u4FDYLKbxL4RZPi4Opxqwq88AmM +ih4Z1xVFCbOA52cunyBafgcWLlSl9bCnsi35grkf3Nm6YW3Bp8WSCFOaWVBXZ7U KsvXTSGFJim5WoRmReFsH/2uR5Y1VM/J6xWcPy93I98yj6ayNJHx9L4FQeTwaMrg jxuV0OcyUOND+UV2dxrC2nZLkkxxsecOzm0MfGC1RQX2AnUi37uFv6Z5ef5JQRCF oz2H/gkPBQ135bWTNh4DenhtJTEHho1USKZNZ5RllaQ66L4aFNmQ1DWNMUYQZtbm VQaYJ4FuOInRdEuFkOScz2ha7YbYsek= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id aBclAWvWcveS for ; Thu, 8 Feb 2024 00:51:12 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 4BCD1304D512 for ; Thu, 8 Feb 2024 00:51:11 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id ACBAC30B023A for ; Thu, 8 Feb 2024 00:51:11 +0100 (CET) From: chris Date: Wed, 7 Feb 2024 15:49:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * (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@qq.com> ;;; Copyright © 2023-2024 Nicolas Goaziou ;;; Copyright © 2023 Artyom V. Poptsov +;;; Copyright © 2024 chris ;;; ;;; 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 From unknown Sun Jun 22 22:45:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: chris Subject: bug#68986: closed (Re: [bug#68986] [PATCH] gnu: Add libsixel.) Message-ID: References: <87v86gclp4.fsf@nicolasgoaziou.fr> X-Gnu-PR-Message: they-closed 68986 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 68986@debbugs.gnu.org Date: Thu, 22 Feb 2024 20:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1708632182-15018-1" This is a multi-part message in MIME format... ------------=_1708632182-15018-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #68986: [PATCH] gnu: Add libsixel. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 68986@debbugs.gnu.org. --=20 68986: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68986 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1708632182-15018-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 68986-done) by debbugs.gnu.org; 22 Feb 2024 20:02:44 +0000 Received: from localhost ([127.0.0.1]:54604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdFHI-0003tQ-2y for submit@debbugs.gnu.org; Thu, 22 Feb 2024 15:02:44 -0500 Received: from msg-4.mailo.com ([213.182.54.15]:37486 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdFHG-0003sx-5C for 68986-done@debbugs.gnu.org; Thu, 22 Feb 2024 15:02:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1708632119; bh=ZgFVeWzf8nm+NiXUd7b8avA+cL6xL6vEfDZmrDto0lg=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type; b=uHwcuF9za3XIGVy5pHzbT1eBvmCfH2BjP/iQfAxx6e4FSuXazPiyIvrVBF1OmLmIh OxVoswXpIqeEymQew3NfrQ1pZFPeD41gHNH9RbXBBLMVua72u0axjYcpVjupr9zNTf y7wFVbYA6cbSZfvktHdedYeS7jBK6ITU/LP6G220= Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Thu, 22 Feb 2024 21:01:59 +0100 (CET) X-EA-Auth: mdZyy4EouPyxzgK1UDNsuF8juLhUHE7rrJBToTz3fy/8EaLtMZDBxrhjtyvw60a/nkwFjC3E3cO2z5G9N+z8ijd/3Hacz6KIqUS34hG8hCs= From: Nicolas Goaziou To: chris Subject: Re: [bug#68986] [PATCH] gnu: Add libsixel. In-Reply-To: (chris@bumblehead.com's message of "Wed, 7 Feb 2024 15:49:45 -0800") References: Date: Thu, 22 Feb 2024 21:01:43 +0100 Message-ID: <87v86gclp4.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 68986-done Cc: 68986-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hello, chris 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 ------------=_1708632182-15018-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Feb 2024 23:51:50 +0000 Received: from localhost ([127.0.0.1]:58293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXrhl-00068h-G2 for submit@debbugs.gnu.org; Wed, 07 Feb 2024 18:51:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:58752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXrhi-00068P-Lx for submit@debbugs.gnu.org; Wed, 07 Feb 2024 18:51:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXrhO-0003dQ-TO for guix-patches@gnu.org; Wed, 07 Feb 2024 18:51:26 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXrhN-0003Xn-1O for guix-patches@gnu.org; Wed, 07 Feb 2024 18:51:26 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id EDB82304FB64 for ; Thu, 8 Feb 2024 00:51:14 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1707349872; x=1709164273; bh=UBC1D0eitBxXhh+xtSNNdu+L0iMc+MOwGL1t0+6DLQI=; b=Q91eNchuSE2w M+n4nBFpZQVBsdL1UNoRmNclkFXnK1tAHBBnF+mOps2qHfQFTQCQh0VVyQX0s3v2 vz+CgLAhkz3dORBKvSc+4lt/ow0nhmjtEcSET7/vXYXeDqKSQt8of4rdMalpIZSH iXKa0i6BRRonl2ukHpb1CdpONKUeFCbs6NlVJFGkWT5UdiZzo22uOWuHMhLijT2e QYG8uSrZXAS5NRQv0qjyJ+aqAogUE7LKNGP81ujST+Z3S3pMZmq4fIGDZYi9NVDt /GxpBZNJRBA93krJ0WggufP47nB1AoB/AsQ+ySJ08vV3NG9eK1wwQqQMp23mLSyI zGd5l9QnqQBi8tiTvaocBvW0lLMdRchf3ydh3u4FDYLKbxL4RZPi4Opxqwq88AmM +ih4Z1xVFCbOA52cunyBafgcWLlSl9bCnsi35grkf3Nm6YW3Bp8WSCFOaWVBXZ7U KsvXTSGFJim5WoRmReFsH/2uR5Y1VM/J6xWcPy93I98yj6ayNJHx9L4FQeTwaMrg jxuV0OcyUOND+UV2dxrC2nZLkkxxsecOzm0MfGC1RQX2AnUi37uFv6Z5ef5JQRCF oz2H/gkPBQ135bWTNh4DenhtJTEHho1USKZNZ5RllaQ66L4aFNmQ1DWNMUYQZtbm VQaYJ4FuOInRdEuFkOScz2ha7YbYsek= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id aBclAWvWcveS for ; Thu, 8 Feb 2024 00:51:12 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 4BCD1304D512 for ; Thu, 8 Feb 2024 00:51:11 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id ACBAC30B023A for ; Thu, 8 Feb 2024 00:51:11 +0100 (CET) From: chris To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libsixel. Date: Wed, 7 Feb 2024 15:49:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: chris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * (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@qq.com> ;;; Copyright © 2023-2024 Nicolas Goaziou ;;; Copyright © 2023 Artyom V. Poptsov +;;; Copyright © 2024 chris ;;; ;;; 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 ------------=_1708632182-15018-1--