~ruther/guix-local

71ffea35fc443b40d85aa07dffbe7a6742e1e35d — Ashvith Shetty 1 year, 4 months ago 73c05f6
gnu: Add vte-with-sixel.

* gnu/packages/gnome.scm (vte-with-sixel): New variable.

Change-Id: Ide1f88fc454155fa940ae2a63b6ed33e38f379f5
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
1 files changed, 21 insertions(+), 0 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +21 -0
@@ 81,6 81,7 @@
;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2025 Noé Lopez <noelopez@free.fr>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; 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)