From unknown Wed Jun 18 23:05:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37076] Contributing package wterm Resent-From: ison Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Aug 2019 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 37076@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156616190913740 (code B ref -1); Sun, 18 Aug 2019 20:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2019 20:58:29 +0000 Received: from localhost ([127.0.0.1]:58825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzSFw-0003ZY-NX for submit@debbugs.gnu.org; Sun, 18 Aug 2019 16:58:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:35654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzSFu-0003ZN-Sr for submit@debbugs.gnu.org; Sun, 18 Aug 2019 16:58:27 -0400 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1566161898; bh=I4h0ubmLB2CYolao24h+bcUL4ERGbU/RkAIxhbbCeDU=; h=Date:From:To:Subject:From; b=tMJVVVuaayAWHHV1zsUaxwGHDbIVFcIZczWzmdByaoV2ubuXQ9VEDZYnuWBX7WYQY ny4Ff3iSsqW6IC4YX4Vj42DWcH8JxQYXQ3FBvgSq5pLz8WH9c6QdacWGC4aHgTFlSj Xmn8Mtvg4beYkqI5ETCWUsQdo0lpgeFHhquemCX98WzvpmGJvnywtn4qSNk0RK/QoS V1Lk/cPKVh2flEkQBRzqsrEdj/dbHOJL/UZLmv2RtjKCEcSo5VUIXwmuy9tJHNlBSo tkcwxQ31Y8DUDcqSriPUv3C10rPkhMzxbULKjfD/8aYVXMmW0SblDJYDkK8apqiwRp Qc9wCC10bvAOw== From: ison Message-ID: <20190818205811.hcthypxpronmeb4d@cf0> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ikhpwtbsy5f2lyz6" Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a06:1700:0:b::c0cc X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --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-- From unknown Wed Jun 18 23:05:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ison Subject: bug#37076: closed (Re: [bug#37076] Contributing package wterm) Message-ID: References: <87ftlpvuvg.fsf@gnu.org> <20190818205811.hcthypxpronmeb4d@cf0> X-Gnu-PR-Message: they-closed 37076 X-Gnu-PR-Package: guix-patches Reply-To: 37076@debbugs.gnu.org Date: Sun, 25 Aug 2019 20:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1566765842-10468-1" This is a multi-part message in MIME format... ------------=_1566765842-10468-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37076: Contributing package wterm which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37076@debbugs.gnu.org. --=20 37076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37076 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1566765842-10468-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37076-done) by debbugs.gnu.org; 25 Aug 2019 20:43:42 +0000 Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1zMU-0002iC-1I for submit@debbugs.gnu.org; Sun, 25 Aug 2019 16:43:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1zMR-0002hy-NT for 37076-done@debbugs.gnu.org; Sun, 25 Aug 2019 16:43:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i1zMM-00060T-1z; Sun, 25 Aug 2019 16:43:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60390 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i1zML-0000RA-Ln; Sun, 25 Aug 2019 16:43:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: ison Subject: Re: [bug#37076] Contributing package wterm References: <20190818205811.hcthypxpronmeb4d@cf0> Date: Sun, 25 Aug 2019 22:43:31 +0200 In-Reply-To: <20190818205811.hcthypxpronmeb4d@cf0> (ison@airmail.cc's message of "Sun, 18 Aug 2019 14:58:12 -0600") Message-ID: <87ftlpvuvg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37076-done Cc: 37076-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello ison, ison skribis: >>>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(+) Applied with the simple changes below and with a commit log that follows our convention. Thanks for the patch! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index fbd0bff843..bca8b14dad 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1120,7 +1120,7 @@ while also supporting native scrolling and @command{tmux} control mode (sha256 (base32 "0g4lzmc1w6na81i6hny32xds4xfig4xzswzfijyi6p93a1226dv0")) - (file-name (git-file-name name version )))) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -1134,8 +1134,11 @@ while also supporting native scrolling and @command{tmux} control mode ("wayland" ,wayland))) (arguments '(#:tests? #f - #:make-flags (list "-j1" ; Without -j1 it fails to find file libwld.a - "CC=gcc" + + ;; 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") --=-=-=-- ------------=_1566765842-10468-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Aug 2019 20:58:29 +0000 Received: from localhost ([127.0.0.1]:58825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzSFw-0003ZY-NX for submit@debbugs.gnu.org; Sun, 18 Aug 2019 16:58:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:35654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzSFu-0003ZN-Sr for submit@debbugs.gnu.org; Sun, 18 Aug 2019 16:58:27 -0400 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1566161898; bh=I4h0ubmLB2CYolao24h+bcUL4ERGbU/RkAIxhbbCeDU=; h=Date:From:To:Subject:From; b=tMJVVVuaayAWHHV1zsUaxwGHDbIVFcIZczWzmdByaoV2ubuXQ9VEDZYnuWBX7WYQY ny4Ff3iSsqW6IC4YX4Vj42DWcH8JxQYXQ3FBvgSq5pLz8WH9c6QdacWGC4aHgTFlSj Xmn8Mtvg4beYkqI5ETCWUsQdo0lpgeFHhquemCX98WzvpmGJvnywtn4qSNk0RK/QoS V1Lk/cPKVh2flEkQBRzqsrEdj/dbHOJL/UZLmv2RtjKCEcSo5VUIXwmuy9tJHNlBSo tkcwxQ31Y8DUDcqSriPUv3C10rPkhMzxbULKjfD/8aYVXMmW0SblDJYDkK8apqiwRp Qc9wCC10bvAOw== From: ison To: guix-patches@gnu.org Subject: Contributing package wterm Message-ID: <20190818205811.hcthypxpronmeb4d@cf0> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ikhpwtbsy5f2lyz6" Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a06:1700:0:b::c0cc X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --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-- ------------=_1566765842-10468-1--