From patchwork Mon Sep 11 12:07:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: altadil X-Patchwork-Id: 53722 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7A2E627BBED; Mon, 11 Sep 2023 13:09:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 51CC427BBEA for ; Mon, 11 Sep 2023 13:09:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qffiv-0004hr-Q3; Mon, 11 Sep 2023 08:09:01 -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 1qffit-0004gi-B4 for guix-patches@gnu.org; Mon, 11 Sep 2023 08:08:59 -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 1qffit-0007Rh-2b for guix-patches@gnu.org; Mon, 11 Sep 2023 08:08:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qffix-0002ly-1D for guix-patches@gnu.org; Mon, 11 Sep 2023 08:09:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41293] [PATCH 2/2] gnu: Add pantheon-terminal. References: <87tv0h0x0k.fsf@protonmail.com> In-Reply-To: <87tv0h0x0k.fsf@protonmail.com> Resent-From: altadil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Sep 2023 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41293 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41293@debbugs.gnu.org Cc: altadil Received: via spool by 41293-submit@debbugs.gnu.org id=B41293.169443410510606 (code B ref 41293); Mon, 11 Sep 2023 12:09:02 +0000 Received: (at 41293) by debbugs.gnu.org; 11 Sep 2023 12:08:25 +0000 Received: from localhost ([127.0.0.1]:52283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qffiL-0002kz-8B for submit@debbugs.gnu.org; Mon, 11 Sep 2023 08:08:25 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:25483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qffiI-0002kk-8B for 41293@debbugs.gnu.org; Mon, 11 Sep 2023 08:08:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1694434091; x=1694693291; bh=YxyUuoBwfHo2cXlV4xkJ1llk2q1fmQLF2u1/26mvTM0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=n7uum492/9u1VjjAbuARR1n/qvoM2YhTlHEleztCYz9Y2K9QFYhuqfsePinfsXelU 09EXTGbQCByVixjRRM07PJLz5Jz0wC5JikCQunv4mf29fEYvtktvuqIpDnHBLsrjFr HBRDjtPoO85Ae8xb5inkpKHHE1DbnOGHtLYxCpq5EAde+mCitV2D2uvci7sgU+lgqf kmZJRFDhZ8l0Do+YO5Zo9q//45KDNCVg8j3CQRh0BuYPYTVEtHohxGKG7PlURvu+bi 8iXFpYyMWWLbUc2m+rYiyyffYoDXb+Ty/N/O8PYPaOWeex3Y3rmBxKG2qt3OG8IlI4 9jQ/lYWIpfCKw== Date: Mon, 11 Sep 2023 12:07:58 +0000 Message-ID: <794c15ca71e26a14cb3eb9e054af9efdc68e30c8.1694433831.git.altadil@protonmail.com> Feedback-ID: 3841829:user:proton MIME-Version: 1.0 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: altadil X-ACL-Warn: , altadil via Guix-patches X-Patchwork-Original-From: altadil via Guix-patches via From: altadil Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/pantheon.scm (pantheon-terminal): New variable. --- This is an update of the package initially sent by rprior. guix build --rounds=2 was successfully run on a Zen4 CPU, for the following --system= options: - x86_64-linux - i686-linux - aarch64-linux. I’ve been using the app for a couple of days. I’ve detected one bug: right-clicking a tab (in GNOME) segfaults. But I think debugging this would be way above my level. :( Apart from this one, everything seems fine. gnu/packages/pantheon.scm | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm index f5b19eb452..f01c9778ee 100644 --- a/gnu/packages/pantheon.scm +++ b/gnu/packages/pantheon.scm @@ -26,11 +26,13 @@ (define-module (gnu packages pantheon) #:use-module (gnu packages gnupg) #:use-module (gnu packages gtk) #:use-module (gnu packages package-management) + #:use-module (gnu packages pcre) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages xml) #:use-module (gnu packages web) + #:use-module (gnu packages xorg) #:use-module (gnu packages) #:use-module (guix build-system meson) #:use-module (guix git-download) @@ -129,6 +131,57 @@ (define-public pantheon-calculator desktop.") (license license:gpl3))) +(define-public pantheon-terminal + (package + (name "pantheon-terminal") + (version "6.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elementary/terminal") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x3gzghnfx4a1q2zhra4dysc0pm1zvlfdxj96qhfb627pz16iv4k")))) + (build-system meson-build-system) + (arguments + `(#:tests? #f + #:glib-or-gtk? #t + #:phases (modify-phases %standard-phases + (add-before 'install 'set-environment-variables + (lambda _ + ;; Disable compiling schemas and updating desktop databases + (setenv "DESTDIR" "/") #t)) + (add-after 'install 'install-symlinks + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out + "/bin/io.elementary.terminal")) + (link (string-append out "/bin/pantheon-terminal"))) + (symlink bin link))))))) + (native-inputs (list appstream + desktop-file-utils ;required for tests + gettext-minimal ;for msgfmt + `(,glib "bin") ;for glib-compile-resources + gobject-introspection + pkg-config + vala)) + (inputs (list granite-6 + gtk+ + libgee + libhandy + pcre2 + vte + xvfb-run)) + (synopsis "Terminal emulator from elementaryOS") + (description "pantheon-terminal is a lightweight, beautiful and simple +terminal. It comes with sane defaults, browser-class tabs, sudo paste +protection, smart copy/paste, and little to no configuration. It is the default +terminal in the Pantheon desktop.") + (home-page "https://elementary.io/open-source") + (license license:lgpl3))) + (define-public sideload (package (name "sideload")