From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eGTfFliTvGTEZgAASxT56A (envelope-from ) for ; Sun, 23 Jul 2023 04:41:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KOPTFliTvGSGdQAA9RJhRA (envelope-from ) for ; Sun, 23 Jul 2023 04:41:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D60AD559FE for ; Sun, 23 Jul 2023 04:41:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=RRAXqf4I; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690080088; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PlRdcuT4kFOnQzb5ouI1ESs2Os2m1W4s1tAMDbbbZH0=; b=GWhlu/gwTxKTZ4o01Y0phIExzF3nlImmIn9M0MdrVH6fymmAsJfHMZgX1/pdDZLjJij6YC DJAtwLlddB3xQNprFoJZJInepyKKjINrfNAO7U15qjdWcTUwhXKZzLMAGzsQAHvCWpsSOg 67BBGgE6H8x87PEf0VBDpDgc6ehF00hcHu9Z8lGK0Do4II9UnXiGsX/6rCjkzeI0M7fKRi LvdOkk31mZYI6SSGzcLdV5oNX26/+ExOjj17Hq/ENCvnere9D5VApxRjDCRioNKQpz3sBK bdTADaifDS2KAlTeBJRKZbmVIRf8Jqdt0mkrp8UGfcMaKzOFwyG6H8C11OaQ2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690080088; a=rsa-sha256; cv=none; b=CLaV6pfBt0Y8zNrSoTxft4ePg9jPkHdZa+DlKnSetwJJEb/3ZtEtY8U+jwYUNsgTzQfk60 6fdvgW+r1pwV3O9nkm2DNX7RY+jTe5FmMnFVO7PAueRVvGq/srBGNUBqQ1LI5aPNMf+nKE 2kddvobStWld33qOaI7NKUYS3xx30w+ox0KGmmvO4akVVhv8TPUziq9Im63KU0EFQVN+Jx dE9lGY74Y5kFK8ibQaTHcC4xxvhR8HOQcN714zaPC1WqTk4o/WYBC5KSQ+XQG5tt6oKx34 UDPghsW1MwKsX9zJEWkZiQxW9IGLsW1vwpJ8StmZd+W0FYD26DUjXd4aZC317g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=RRAXqf4I; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNP1t-0007wA-90; Sat, 22 Jul 2023 22:41:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNP1r-0007vv-7t for guix-patches@gnu.org; Sat, 22 Jul 2023 22:41:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNP1r-0007pM-05 for guix-patches@gnu.org; Sat, 22 Jul 2023 22:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNP1q-0002N9-GW for guix-patches@gnu.org; Sat, 22 Jul 2023 22:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64796] [PATCH] gnu: termite: Update to 16.6 (a maintained fork). Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jul 2023 02:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64796@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16900800099013 (code B ref -1); Sun, 23 Jul 2023 02:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2023 02:40:09 +0000 Received: from localhost ([127.0.0.1]:37717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNP0y-0002LI-R4 for submit@debbugs.gnu.org; Sat, 22 Jul 2023 22:40:09 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNP0w-0002KV-3w for submit@debbugs.gnu.org; Sat, 22 Jul 2023 22:40:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNP0q-0007rr-KM for guix-patches@gnu.org; Sat, 22 Jul 2023 22:40:00 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNP0o-0007O9-AI for guix-patches@gnu.org; Sat, 22 Jul 2023 22:40:00 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 27EDA38A1924; Sun, 23 Jul 2023 02:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1690079992; bh=PlRdcuT4kFOnQzb5ouI1ESs2Os2m1W4s1tAMDbbbZH0=; h=From:To:Cc:Subject:Date:From; b=RRAXqf4IT+5UQ1N8rcxbdo3f/hkhs6aXMSPzI25cgs/FtUdUMAGAEzYKBXkQQYw3j qUCKwh7WqxUQ+DttqfMD1d7D/AF6NW6SfagkCxfQdvVkelZY9OFV5o5rEDdZV5qUrk KZEQeqcDTZ9rrErsYPYAQUWGzVEO9ITc879eku93dmpJLgoGMNv74N29+Kzn+kNxrx a/vlDDq5lAKjhYhpk0JxWK/JH79r78Y9GWfLh2uTiRMYGpvYgYtBrVfCQN0rRtFSMC ZYTJmacIGA86rm5EJIWc26TFHfHsBtcxgfDDpJobQxFFac1KpIViV7zWRYZ+f/Ug1x a8yXXj3iiXfSCj5mtPmUTaabkzZ6CAjXda/NeJYZGETAu1C58gPn2736aLZxwA8ioe iC0Vcu1Ct6UoryqeHvu19uh24RoYkLa2Yu5ZIt7kPqdGX1CGkJdBCQ8njZLnQt1L0K kciSVQuUUaZBt8sutBmWAXkVlU9wvvOzVV5r8Sup2BnS7hQ74KENTco4DpNj/rzCEI H9sJzvf1AgNJG7QSBgYuNAJXUJEXU8k9hW7spZ44DTIDTkEauBeMFgiBPskat9Tt8m m5SI3P3KsFWeHRYbVta0DjnUQ1FJqUqOILa6ldHEbgptoLv9MBSAID0fOXyNJYPFZo IfVH4wfTHqWX1Ei2cWtCiu04= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q3KllrO63wiP; Sun, 23 Jul 2023 02:39:48 +0000 (UTC) Received: from localhost (unknown [117.174.235.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 23 Jul 2023 02:39:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 76c1f170; Sun, 23 Jul 2023 02:39:32 +0000 (UTC) Date: Sun, 23 Jul 2023 10:39:29 +0800 Message-ID: <45ce7bd82c514684e45f4f811c1722917a8c5dbb.1690079941.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.64 X-Spam-Score: -6.64 X-Migadu-Queue-Id: D60AD559FE X-TUID: OziCk4rpGgmf From: 宋文武 * gnu/packages/terminals.scm (termite): Switch to maintained fork. [description]: Adjust. --- gnu/packages/terminals.scm | 75 ++++++++++++++------------------------ 1 file changed, 28 insertions(+), 47 deletions(-) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9b705c874f..94d0917542 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -92,6 +92,7 @@ (define-module (gnu packages terminals) #:use-module (gnu packages linux) #:use-module (gnu packages man) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) @@ -105,6 +106,7 @@ (define-module (gnu packages terminals) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) #:use-module (gnu packages textutils) + #:use-module (gnu packages tls) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -184,61 +186,40 @@ (define-public tilda (define-public termite (package (name "termite") - (version "15") + (version "16.6") (source (origin - (method git-fetch) - (uri (git-reference - (url (string-append "https://github.com/thestinger/" - name ".git")) - (commit (string-append "v" version)) - (recursive? #t))) - (file-name (string-append name "-" version "-checkout")) + (method url-fetch) + ;; XXX: The release includes a modified version of VTE. + (uri (string-append + "https://github.com/aperezdc/termite/releases/download/v" + version "/termite-" version ".tar.xz")) (sha256 (base32 - "0hp1x6lj098m3jgna274wv5dv60lnzg22297di68g4hw9djjyd2k")))) - (build-system gnu-build-system) + "1n8x84pkp7l9xl0sd07jbj5gjb574qm3w7656qlnzw8hf9kr69il")))) + (build-system meson-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-xdg-open - (lambda _ - (substitute* "termite.cc" - (("xdg-open") (which "xdg-open"))) - #t)) - (delete 'configure)) - #:tests? #f - ;; This sets the destination when installing the necessary terminal - ;; capability data, which are not provided by 'ncurses'. See - ;; . - #:make-flags (list "PREFIX=" - (string-append "VERSION=v" (version)) - (string-append "DESTDIR=" - (assoc-ref %outputs "out"))))) + (list #:configure-flags + #~(list "-Dvte:_systemd=false") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-xdg-open + (lambda _ + (substitute* "termite.cc" + (("xdg-open") (which "xdg-open"))))) + (replace 'install + (lambda _ + (invoke "meson" "install" "--skip-subprojects" "vte")))))) (inputs - `(("vte" ,vte-ng) - ("gtk+" ,gtk+) - ("xdg-utils" ,xdg-utils) - ("ncurses" ,ncurses))) + (list gnutls gtk+ pcre2 xdg-utils)) (native-inputs - (list pkg-config)) - - ;; FIXME: This should only be located in 'ncurses'. Nonetheless it is - ;; provided for usability reasons. See . - (native-search-paths - (list (search-path-specification - (variable "TERMINFO_DIRS") - (files '("share/terminfo"))))) - (home-page "https://github.com/thestinger/termite/") + (list (list glib "bin") pkg-config)) + (home-page "https://github.com/aperezdc/termite/") (synopsis "Keyboard-centric, VTE-based terminal") - (description "Termite is a minimal terminal emulator. It is no longer -maintained as the author considers it obsoleted by Alacritty. - -It was designed for use with tiling window managers. It is a modal -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+. + (description "Termite is a minimal terminal emulator, with a slightly +modified version of VTE exposing the necessary functions for keyboard text +selection and URL hints. It was designed for use with tiling window +managers.") (license license:lgpl2.0+))) (define-public asciinema base-commit: fdfea4c4ed0d31494fcb3633c26290f4eba9d2af -- 2.41.0