From patchwork Sat Jun 1 12:48:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 14186 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 BFB0F17074; Sat, 1 Jun 2019 13:56:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0C03517072 for ; Sat, 1 Jun 2019 13:56:47 +0100 (BST) Received: from localhost ([127.0.0.1]:36775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX3Z0-0006Z2-Mm for patchwork@mira.cbaines.net; Sat, 01 Jun 2019 08:56:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX3Yx-0006Mj-J6 for guix-patches@gnu.org; Sat, 01 Jun 2019 08:56:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hX3RW-0006nY-08 for guix-patches@gnu.org; Sat, 01 Jun 2019 08:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hX3RV-0006nU-Sf for guix-patches@gnu.org; Sat, 01 Jun 2019 08:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hX3RV-0005Dd-PM for guix-patches@gnu.org; Sat, 01 Jun 2019 08:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35922] [PATCH] gnu: add terminator Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2019 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35922 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: atai@atai.org Received: via spool by 35922-submit@debbugs.gnu.org id=B35922.155939330020007 (code B ref 35922); Sat, 01 Jun 2019 12:49:01 +0000 Received: (at 35922) by debbugs.gnu.org; 1 Jun 2019 12:48:20 +0000 Received: from localhost ([127.0.0.1]:37437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hX3Qq-0005Cd-A5 for submit@debbugs.gnu.org; Sat, 01 Jun 2019 08:48:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hX3Qo-0005CQ-DV for 35922@debbugs.gnu.org; Sat, 01 Jun 2019 08:48:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX3Qi-0006aj-Q0; Sat, 01 Jun 2019 08:48:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hX3Qi-0007Dl-By; Sat, 01 Jun 2019 08:48:12 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20190527074613.25582-1-atai@atai.org> <20190530060241.23588-1-atai@atai.org> Date: Sat, 01 Jun 2019 14:48:08 +0200 In-Reply-To: <20190530060241.23588-1-atai@atai.org> (atai@atai.org's message of "Wed, 29 May 2019 23:02:41 -0700") Message-ID: <87o93hh3p3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 35922@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Andy, atai@atai.org skribis: > From: Andy Tai > > * gnu/packages/gnome.scm (terminator): Add at 1.91 I propose the small changes below. However, it fails to run in this context: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix environment --ad-hoc terminator --pure -- terminator Traceback (most recent call last): File "/gnu/store/frwq9qja9m8i8dvk0lgj9mg5rnmc5377-terminator-1.91/bin/.terminator-real", line 33, in gi.require_version('Gtk','3.0') File "/gnu/store/q4b7cr9j6f3g7v4xpg0zm3kkhd6l4dmg-python2-pygobject-3.28.3/lib/python2.7/site-packages/gi/__init__.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available --8<---------------cut here---------------end--------------->8--- It seems we’re missing an environment variable or something to allow pygobject to find the GIR file for GTK+. I’m sure this has been addressed in other packages before, but I don’t remember how. Anyone here? Thanks, Ludo’. diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9775d1f82d..e0142a7fb5 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7996,20 +7996,19 @@ functionality.") ("gettext" ,gettext-minimal) ("pkg-config" ,pkg-config))) (inputs - `(("cairo" ,cairo) + `(("cairo" ,cairo) ("gtk+" ,gtk+) ("gobject-introspection" ,gobject-introspection) ("pango" ,pango) - ("python" ,python-2) ("python2-pycairo" ,python2-pycairo) ("python2-pygobject" ,python2-pygobject) ("python2-psutil" ,python2-psutil) ("vte" ,vte))) (arguments - `(#:python ,python-2)) + `(#:python ,python-2)) ;Python 3 not supported (home-page "https://gnometerminator.blogspot.com/") (synopsis "Store and run multiple GNOME terminals in one window") (description - "Terminator allows running multiple GNOME terminals in a grid and -tabs and supports for drag and drop re-ordering of terminals") + "Terminator allows you to runn multiple GNOME terminals in a grid and +tabs, and it supports drag and drop re-ordering of terminals.") (license license:gpl2)))