[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add wterm.
From: |
guix-commits |
Subject: |
07/08: gnu: Add wterm. |
Date: |
Sun, 25 Aug 2019 16:48:59 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f9948ab6cb913d73779b3cc18189e5736b947303
Author: ison <address@hidden>
Date: Sun Aug 18 14:48:04 2019 -0600
gnu: Add wterm.
* gnu/packages/terminals.scm (wterm): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/terminals.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 9077d29..bca8b14 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1106,3 +1106,59 @@ and IP roaming. ET provides the same core functionality
as @command{mosh},
while also supporting native scrolling and @command{tmux} control mode
(@code{tmux -CC}).")
(license license:asl2.0)))
+
+(define-public wterm
+ (package
+ (name "wterm")
+ (version "0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/majestrate/wterm.git")
+ (commit "0ae42717c08a85a6509214e881422c7fbe7ecc45")))
+ (sha256
+ (base32
+ "0g4lzmc1w6na81i6hny32xds4xfig4xzswzfijyi6p93a1226dv0"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("fontconfig" ,fontconfig)
+ ("freetype" ,freetype)
+ ("libdrm" ,libdrm)
+ ("libxkbcommon" ,libxkbcommon)
+ ("ncurses" ,ncurses)
+ ("pixman" ,pixman)
+ ("wayland" ,wayland)))
+ (arguments
+ '(#:tests? #f
+
+ ;; Without -j1 it fails to find file libwld.a.
+ #:parallel-build? #f
+
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output)
+ (string-append "TERMINFO="
+ (assoc-ref %outputs "out")
+ "/share/terminfo"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'terminfo-fix
+ (lambda _
+ (substitute* "Makefile"
+ (("\ttic .*") "\tmkdir -p $(SHARE_PREFIX)/share/terminfo
+\ttic -o $(SHARE_PREFIX)/share/terminfo -s wterm.info\n"))
+ #t)))))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "TERMINFO_DIRS")
+ (files '("share/terminfo")))))
+ (home-page "https://github.com/majestrate/wterm")
+ (synopsis "Terminal emulator for Wayland")
+ (description "wterm is a native Wayland terminal emulator based on
+an st fork using wld. st is a simple terminal emulator for X originally
+made by suckless.")
+ (license license:x11)))
- branch master updated (8c1379b -> 7dff322), guix-commits, 2019/08/25
- 01/08: gnu: ghostscript: Add a new variant that depends on Freetype., guix-commits, 2019/08/25
- 02/08: gnu: ghostscript: Replace with the "fixed" Ghostscript., guix-commits, 2019/08/25
- 03/08: maint: Add 'download-po' rule., guix-commits, 2019/08/25
- 07/08: gnu: Add wterm.,
guix-commits <=
- 08/08: gnu: shroud: Update to 0.1.2., guix-commits, 2019/08/25
- 04/08: nls: Update 'fr' translation., guix-commits, 2019/08/25
- 06/08: nls: Update 'sv' translation., guix-commits, 2019/08/25
- 05/08: nls: Update 'de' translation., guix-commits, 2019/08/25