* [bug#46887] [PATCH] gnu: Update terminator
@ 2021-03-03 5:23 Andy Tai
2021-03-13 13:45 ` bug#46887: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Andy Tai @ 2021-03-03 5:23 UTC (permalink / raw)
To: 46887
* gnu/packages/gnome.scm (terminator): Update to 2.1.0
---
gnu/packages/gnome.scm | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 32cecb75b5..e054a7926f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10815,7 +10815,7 @@ advanced image management tool")
(define-public terminator
(package
(name "terminator")
- (version "1.92")
+ (version "2.1.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/gnome-" name "/" name "/"
@@ -10823,7 +10823,7 @@ advanced image management tool")
name "-" version ".tar.gz"))
(sha256
(base32
- "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
+ "1vap4li2i24l1iz2q4b8wvhj8flamarf18xcmzq5ik2vzcrisbjy"))))
(build-system python-build-system)
(native-inputs
`(("gettext" ,gettext-minimal)
@@ -10839,6 +10839,9 @@ advanced image management tool")
("dbus-glib" ,dbus-glib)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gtk+" ,gtk+)
+ ("python" ,python-wrapper)
+ ("python-notify2" ,python-notify2)
+ ("python-dbus" ,python-dbus)
("python-pycairo" ,python-pycairo)
("python-pygobject" ,python-pygobject)
("vte" ,vte)))
@@ -10852,22 +10855,31 @@ advanced image management tool")
(guix build utils))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'handle-dbus-python
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; python-dbus cannot be found but it's really there. See
+ ;; https://github.com/SpotlightKid/jack-select/issues/2
+ (substitute* "setup.py"
+ (("'dbus-python',") ""))
+ #t))
(add-after
'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/terminator"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
+ (pylib (string-append (assoc-ref outputs "out")
+ "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages")))
(wrap-program prog
`("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
#t)))
(add-after 'wrap-program 'glib-or-gtk-wrap
- (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))
+ ;; one test out of 28 fails due to dbus-python and
python-notify; skip tests
+ #:tests? #f))
(home-page "https://gnome-terminator.org/")
(synopsis "Store and run multiple GNOME terminals in one window")
(description
--
2.30.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#46887: [PATCH] gnu: Update terminator
2021-03-03 5:23 [bug#46887] [PATCH] gnu: Update terminator Andy Tai
@ 2021-03-13 13:45 ` Nicolas Goaziou
2021-03-13 16:24 ` [bug#46887] " Andy Tai
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-03-13 13:45 UTC (permalink / raw)
To: Andy Tai; +Cc: 46887-done
Hello,
Andy Tai <lichengtai@gmail.com> writes:
> * gnu/packages/gnome.scm (terminator): Update to 2.1.0
I expounded a bit commit message and applied your patch. Note that I had
to apply it manually as it would introduce a conflict for some reason.
Thanks!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#46887] [PATCH] gnu: Update terminator
2021-03-13 13:45 ` bug#46887: " Nicolas Goaziou
@ 2021-03-13 16:24 ` Andy Tai
0 siblings, 0 replies; 3+ messages in thread
From: Andy Tai @ 2021-03-13 16:24 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 46887-done
[-- Attachment #1: Type: text/plain, Size: 8 bytes --]
Thanks!
[-- Attachment #2: Type: text/html, Size: 138 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-13 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 5:23 [bug#46887] [PATCH] gnu: Update terminator Andy Tai
2021-03-13 13:45 ` bug#46887: " Nicolas Goaziou
2021-03-13 16:24 ` [bug#46887] " Andy Tai
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).