mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 23:20:29 -05:00
gnu: termite: Update to 16.6 (a maintained fork).
* gnu/packages/terminals.scm (termite): Switch to maintained fork. [description]: Adjust.
This commit is contained in:
parent
cf9a4d9dc3
commit
1b8c5480f6
1 changed files with 28 additions and 47 deletions
|
@ -92,6 +92,7 @@ (define-module (gnu packages terminals)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages man)
|
#:use-module (gnu packages man)
|
||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
|
#:use-module (gnu packages pcre)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages perl-check)
|
#:use-module (gnu packages perl-check)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -105,6 +106,7 @@ (define-module (gnu packages terminals)
|
||||||
#:use-module (gnu packages sphinx)
|
#:use-module (gnu packages sphinx)
|
||||||
#:use-module (gnu packages ssh)
|
#:use-module (gnu packages ssh)
|
||||||
#:use-module (gnu packages textutils)
|
#:use-module (gnu packages textutils)
|
||||||
|
#:use-module (gnu packages tls)
|
||||||
#:use-module (gnu packages xdisorg)
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
|
@ -184,61 +186,40 @@ (define-public tilda
|
||||||
(define-public termite
|
(define-public termite
|
||||||
(package
|
(package
|
||||||
(name "termite")
|
(name "termite")
|
||||||
(version "15")
|
(version "16.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method url-fetch)
|
||||||
(uri (git-reference
|
;; XXX: The release includes a modified version of VTE.
|
||||||
(url (string-append "https://github.com/thestinger/"
|
(uri (string-append
|
||||||
name ".git"))
|
"https://github.com/aperezdc/termite/releases/download/v"
|
||||||
(commit (string-append "v" version))
|
version "/termite-" version ".tar.xz"))
|
||||||
(recursive? #t)))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0hp1x6lj098m3jgna274wv5dv60lnzg22297di68g4hw9djjyd2k"))))
|
"1n8x84pkp7l9xl0sd07jbj5gjb574qm3w7656qlnzw8hf9kr69il"))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:configure-flags
|
||||||
(modify-phases %standard-phases
|
#~(list "-Dvte:_systemd=false")
|
||||||
(add-after 'unpack 'patch-xdg-open
|
#:phases
|
||||||
(lambda _
|
#~(modify-phases %standard-phases
|
||||||
(substitute* "termite.cc"
|
(add-after 'unpack 'patch-xdg-open
|
||||||
(("xdg-open") (which "xdg-open")))
|
(lambda _
|
||||||
#t))
|
(substitute* "termite.cc"
|
||||||
(delete 'configure))
|
(("xdg-open") (which "xdg-open")))))
|
||||||
#:tests? #f
|
(replace 'install
|
||||||
;; This sets the destination when installing the necessary terminal
|
(lambda _
|
||||||
;; capability data, which are not provided by 'ncurses'. See
|
(invoke "meson" "install" "--skip-subprojects" "vte"))))))
|
||||||
;; <https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html>.
|
|
||||||
#:make-flags (list "PREFIX="
|
|
||||||
(string-append "VERSION=v" (version))
|
|
||||||
(string-append "DESTDIR="
|
|
||||||
(assoc-ref %outputs "out")))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("vte" ,vte-ng)
|
(list gnutls gtk+ pcre2 xdg-utils))
|
||||||
("gtk+" ,gtk+)
|
|
||||||
("xdg-utils" ,xdg-utils)
|
|
||||||
("ncurses" ,ncurses)))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(list (list glib "bin") pkg-config))
|
||||||
|
(home-page "https://github.com/aperezdc/termite/")
|
||||||
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
|
|
||||||
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
|
|
||||||
(native-search-paths
|
|
||||||
(list (search-path-specification
|
|
||||||
(variable "TERMINFO_DIRS")
|
|
||||||
(files '("share/terminfo")))))
|
|
||||||
(home-page "https://github.com/thestinger/termite/")
|
|
||||||
(synopsis "Keyboard-centric, VTE-based terminal")
|
(synopsis "Keyboard-centric, VTE-based terminal")
|
||||||
(description "Termite is a minimal terminal emulator. It is no longer
|
(description "Termite is a minimal terminal emulator, with a slightly
|
||||||
maintained as the author considers it obsoleted by Alacritty.
|
modified version of VTE exposing the necessary functions for keyboard text
|
||||||
|
selection and URL hints. It was designed for use with tiling window
|
||||||
It was designed for use with tiling window managers. It is a modal
|
managers.")
|
||||||
application, similar to Vim, with an insert mode and command mode where
|
|
||||||
keybindings have different functions.")
|
|
||||||
|
|
||||||
;; Files under util/ are under the Expat license; the rest is LGPLv2+.
|
|
||||||
(license license:lgpl2.0+)))
|
(license license:lgpl2.0+)))
|
||||||
|
|
||||||
(define-public asciinema
|
(define-public asciinema
|
||||||
|
|
Loading…
Reference in a new issue