GNU bug report logs - #35922
[PATCH] gnu: add terminator

Previous Next

Package: guix-patches;

Reported by: atai <at> atai.org

Date: Mon, 27 May 2019 07:48:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 35922 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: atai <at> atai.org
Cc: 35922 <at> debbugs.gnu.org
Subject: Re: [bug#35922] [PATCH] gnu: add terminator
Date: Sat, 01 Jun 2019 14:48:08 +0200
[Message part 1 (text/plain, inline)]
Hi Andy,

atai <at> atai.org skribis:

> From: Andy Tai <atai <at> atai.org>
>
> * 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 <module>
    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’.

[Message part 2 (text/x-patch, inline)]
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)))

This bug report was last modified 5 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.