From 71ffea35fc443b40d85aa07dffbe7a6742e1e35d Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Tue, 4 Mar 2025 17:51:37 +0530 Subject: [PATCH] gnu: Add vte-with-sixel. * gnu/packages/gnome.scm (vte-with-sixel): New variable. Change-Id: Ide1f88fc454155fa940ae2a63b6ed33e38f379f5 Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6cdd1952648..49c0c23c0c0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -81,6 +81,7 @@ ;;; Copyright © 2024 James Smith ;;; Copyright © 2024 Justin Veilleux ;;; Copyright © 2025 Noé Lopez +;;; Copyright © 2025 Ashvith Shetty ;;; ;;; This file is part of GNU Guix. ;;; @@ -4725,6 +4726,26 @@ editors, IDEs, etc.") (propagated-inputs (modify-inputs (package-propagated-inputs vte) (replace "gtk" gtk+))))) +(define-public vte-with-sixel + (package/inherit vte + (name "vte-with-sixel") + ;; Choose a version that can render images generated by img2sixel. + (version "0.73.92") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/vte") + (commit version))) + (file-name (git-file-name name version)) + (sha256 (base32 + "0fv6lx7kk1xrfsvc95jm23vxkmyfypriz4nvj0kjy4nshgccwlch")))) + (arguments (substitute-keyword-arguments (package-arguments vte) + ((#:configure-flags flags) + #~(append (list "-Dsixel=true") #$flags)))) + (inputs (modify-inputs (package-inputs vte) + (append libsixel) + (append lz4))))) + ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07. (define-public vte/gtk+-2 (package (inherit vte)