From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzSGX-00052y-NX for guix-patches@gnu.org; Sun, 18 Aug 2019 16:59:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzSGW-0005mA-Dc for guix-patches@gnu.org; Sun, 18 Aug 2019 16:59:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzSGW-0005m5-AG for guix-patches@gnu.org; Sun, 18 Aug 2019 16:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hzSGT-0003aM-PP for guix-patches@gnu.org; Sun, 18 Aug 2019 16:59:04 -0400 Subject: [bug#37076] Contributing package wterm Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35456) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzSFt-0004zl-BK for guix-patches@gnu.org; Sun, 18 Aug 2019 16:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzSFr-0005Ko-TP for guix-patches@gnu.org; Sun, 18 Aug 2019 16:58:24 -0400 Received: from cock.li ([2a06:1700:0:b::c0cc]:50470) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzSFr-0005Fg-Bp for guix-patches@gnu.org; Sun, 18 Aug 2019 16:58:23 -0400 Date: Sun, 18 Aug 2019 14:58:12 -0600 From: ison Message-ID: <20190818205811.hcthypxpronmeb4d@cf0> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ikhpwtbsy5f2lyz6" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37076@debbugs.gnu.org --ikhpwtbsy5f2lyz6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here is a package for wterm, a native Wayland terminal emulator based on St. I thought terminals.scm was an appropriate place to add it. --ikhpwtbsy5f2lyz6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Add-package-wterm-to-terminals.scm.patch" >From 3597ca9e62e004a27adff73ebfa572d41089a74d Mon Sep 17 00:00:00 2001 From: ison Date: Sun, 18 Aug 2019 14:48:04 -0600 Subject: [PATCH] Add package wterm to terminals.scm --- gnu/packages/terminals.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9077d295db..fbd0bff843 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1106,3 +1106,56 @@ 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 + #:make-flags (list "-j1" ; Without -j1 it fails to find file libwld.a + "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))) -- 2.23.0 --ikhpwtbsy5f2lyz6--