GNU bug report logs - #59059
[PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to 2.1.2

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sat, 5 Nov 2022 19:47:02 UTC

Severity: normal

Tags: patch

Done: Andy Tai <atai <at> atai.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59059 in the body.
You can then email your comments to 59059 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Sat, 05 Nov 2022 19:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 05 Nov 2022 19:47:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to
 2.1.2
Date: Sat, 5 Nov 2022 12:45:38 -0700
[Message part 1 (text/plain, inline)]

[0001-gnu-terminator-Renamed-to-gnome-terminator-and-updat.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Fri, 23 Dec 2022 06:45:01 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 59059 <at> debbugs.gnu.org
Subject: ping
Date: Thu, 22 Dec 2022 22:43:28 -0800




Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Wed, 11 Jan 2023 22:51:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>, 59059 <at> debbugs.gnu.org
Subject: Re: [bug#59059] [PATCH] gnu: terminator: Renamed to
 "gnome-terminator" and update to 2.1.2
Date: Wed, 11 Jan 2023 23:09:31 +0100
Hi,

This patch LGTM except two minor comments.

On Sat, 05 Nov 2022 at 12:45, Andy Tai <atai <at> atai.org> wrote:

> * gnu/packages/gnome.scm (gnome-terminator): Rename variable from
> (terminator(:  …this.  Redefine using DEPRECATED-PACKAGE.
           --^
       Here

> +(define-public terminator
> +    (deprecated-package "terminator" gnome-terminator))
> +

Incorrect indentation.  Well, I noticed that it was also the case for
other of your submissions.  Maybe, give a look at your editor settings –
if it is Emacs, the repository contains .dir-locals.el which implements
the convention.


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Fri, 13 Jan 2023 06:52:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <lichengtai <at> gmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>, 59059 <at> debbugs.gnu.org
Subject: [PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to
 2.1.2
Date: Thu, 12 Jan 2023 22:51:03 -0800
[Message part 1 (text/plain, inline)]
patch reformatted with guix style to be consistent with current desired format
[0001-gnu-terminator-Renamed-to-gnome-terminator-and-updat.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Tue, 17 Jan 2023 20:00:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 59059 <at> debbugs.gnu.org
Subject: ping
Date: Tue, 17 Jan 2023 11:59:02 -0800




Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Sat, 28 Jan 2023 09:26:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 59059 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2] gnu: terminator: Renamed to "gnome-terminator" and update
 to 2.1.2
Date: Sat, 28 Jan 2023 01:25:03 -0800
* gnu/packages/gnome.scm (gnome-terminator): Rename variable from
(terminator):  …this.  Redefine using DEPRECATED-PACKAGE.
Update to 2.1.2
---
 gnu/packages/gnome.scm | 123 ++++++++++++++++++++++-------------------
 1 file changed, 67 insertions(+), 56 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index de5b5df450..1d64b106c4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11929,41 +11929,45 @@ (define-public gthumb
 advanced image management tool")
     (license license:gpl2+)))
 
-(define-public terminator
+(define-public gnome-terminator
   (package
-    (name "terminator")
-    (version "2.1.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/gnome-terminator/terminator/"
-                           "releases/download/v" version "/"
-                           name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
+    (name "gnome-terminator")
+    (version "2.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/gnome-terminator/terminator/"
+                    "releases/download/v"
+                    version
+                    "/"
+                    "terminator"
+                    "-"
+                    version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "10shpn8id7z43d4dpx16x76mgxnk4mr976j5cg28icjiiaidyfc2"))))
     (build-system python-build-system)
-    (native-inputs
-     `(("gettext" ,gettext-minimal)
-       ("glib:bin" ,glib "bin")         ; for glib-compile-resources
-       ("gobject-introspection" ,gobject-introspection)
-       ("intltool" ,intltool)
-       ("pkg-config" ,pkg-config)
-       ("python-psutil" ,python-psutil)
-       ("python-pytest-runner" ,python-pytest-runner)
-       ("python-pytest" ,python-pytest)))
-    (inputs
-     `(("cairo" ,cairo)
-       ("dbus-glib" ,dbus-glib)
-       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
-       ("gtk+" ,gtk+)
-       ("python" ,python-wrapper)
-       ("python-dbus" ,python-dbus)
-       ("python-notify2" ,python-notify2)
-       ("python-pycairo" ,python-pycairo)
-       ("python-pygobject" ,python-pygobject)
-       ("vte" ,vte)))
-    (propagated-inputs
-     (list python-configobj))
+    (native-inputs (list gettext-minimal
+                         `(,glib "bin") ;for glib-compile-resources
+                         gobject-introspection
+                         intltool
+                         pkg-config
+                         python-psutil
+                         python-pytest-runner
+                         python-pytest))
+    (inputs (list bash-minimal
+    		      cairo
+                  dbus-glib
+                  gsettings-desktop-schemas
+                  gtk+
+                  python-wrapper
+                  python-dbus
+                  python-notify2
+                  python-pycairo
+                  python-pygobject
+                  vte))
+    (propagated-inputs (list python-configobj))
     (arguments
      ;; One test out of 28 fails due to dbus-python and python-notify; skip
      ;; tests.
@@ -11971,30 +11975,34 @@ (define-public terminator
        #:imported-modules ((guix build glib-or-gtk-build-system)
                            ,@%python-build-system-modules)
        #:modules ((guix build python-build-system)
-                  ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+                  ((guix build glib-or-gtk-build-system)
+                   #:prefix glib-or-gtk:)
                   (guix build utils))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'handle-dbus-python
-           (lambda _
-             ;; python-dbus cannot be found but it's really there.  See
-             ;; https://github.com/SpotlightKid/jack-select/issues/2
-             (substitute* "setup.py"
-               (("'dbus-python',") ""))))
-         (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")))
-               (wrap-program prog
-                 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
-                 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
-         (add-after 'wrap-program 'glib-or-gtk-wrap
-           (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'handle-dbus-python
+                    (lambda _
+                      ;; python-dbus cannot be found but it's really there.  See
+                      ;; https://github.com/SpotlightKid/jack-select/issues/2
+                      (substitute* "setup.py"
+                        (("'dbus-python',")
+                         ""))))
+                  (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")))
+                        (wrap-program prog
+                                      `("GUIX_PYTHONPATH" =
+                                        (,(getenv "GUIX_PYTHONPATH") ,pylib))
+                                      `("GI_TYPELIB_PATH" =
+                                        (,(getenv "GI_TYPELIB_PATH")))))))
+                  (add-after 'wrap-program 'glib-or-gtk-wrap
+                    (assoc-ref glib-or-gtk:%standard-phases
+                               'glib-or-gtk-wrap)))))
     (home-page "https://gnome-terminator.org/")
     (synopsis "Store and run multiple GNOME terminals in one window")
     (description
@@ -12002,6 +12010,9 @@ (define-public terminator
 tabs, and it supports drag and drop re-ordering of terminals.")
     (license license:gpl2)))
 
+(define-public terminator
+    (deprecated-package "terminator" gnome-terminator))
+
 (define-public libhandy
   (package
     (name "libhandy")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Sun, 29 Jan 2023 06:20:01 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Andy Tai <atai <at> atai.org>
Cc: 59059 <at> debbugs.gnu.org
Subject: Re: bug#59059: [PATCH] gnu: terminator: Renamed to
 "gnome-terminator" and update to 2.1.2
Date: Sun, 29 Jan 2023 14:19:29 +0800
Andy Tai <atai <at> atai.org> writes:

> * gnu/packages/gnome.scm (gnome-terminator): Rename variable from
> (terminator):  …this.  Redefine using DEPRECATED-PACKAGE.
> Update to 2.1.2

Hello, I have commit the 2.1.2 update.

Why rename it to gnome-terminator?  I think terminator is fine, because
that in ArchLinux the package named so, and its executeble is
'terminator' not 'gnome-terminator'.




Information forwarded to guix-patches <at> gnu.org:
bug#59059; Package guix-patches. (Sun, 29 Jan 2023 06:24:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 59059 <at> debbugs.gnu.org
Subject: Re: bug#59059: [PATCH] gnu: terminator: Renamed to "gnome-terminator"
 and update to 2.1.2
Date: Sat, 28 Jan 2023 22:22:38 -0800
Hi, I saw there are other software packages named "terminator" (on Mac
OS, I think) and I am afraid of name collisions.   Also the
maintainers of the terminator package use the term gnome-terminator in
their own documentation ,  website, etc.  I guess it is better to be
specific as this is something in the GNOME ecosystem.

Thanks

On Sat, Jan 28, 2023 at 10:19 PM 宋文武 <iyzsong <at> envs.net> wrote:
>
> Andy Tai <atai <at> atai.org> writes:
>
> > * gnu/packages/gnome.scm (gnome-terminator): Rename variable from
> > (terminator):  …this.  Redefine using DEPRECATED-PACKAGE.
> > Update to 2.1.2
>
> Hello, I have commit the 2.1.2 update.
>
> Why rename it to gnome-terminator?  I think terminator is fine, because
> that in ArchLinux the package named so, and its executeble is
> 'terminator' not 'gnome-terminator'.




bug closed, send any further explanations to 59059 <at> debbugs.gnu.org and Andy Tai <atai <at> atai.org> Request was from Andy Tai <atai <at> atai.org> to control <at> debbugs.gnu.org. (Fri, 03 Feb 2023 22:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Mar 2023 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 46 days ago.

Previous Next


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