all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 59059@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#59059] [PATCH v2] gnu: terminator: Renamed to "gnome-terminator" and update to 2.1.2
Date: Sat, 28 Jan 2023 01:25:03 -0800	[thread overview]
Message-ID: <20230128092503.23970-1-atai@atai.org> (raw)
In-Reply-To: <CAJsg1E_OjaReYXyX_VvgCjQaJoi8w0-2AszFQYGdSyHJi4ecXw@mail.gmail.com>

* 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





  parent reply	other threads:[~2023-01-28  9:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 19:45 [bug#59059] [PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to 2.1.2 Andy Tai
2022-12-23  6:43 ` [bug#59059] ping Andy Tai
2023-01-11 22:09 ` [bug#59059] [PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to 2.1.2 zimoun
2023-01-13  6:51 ` Andy Tai
2023-01-17 19:59 ` [bug#59059] ping Andy Tai
2023-01-28  9:25 ` Andy Tai [this message]
2023-01-29  6:19   ` [bug#59059] [PATCH] gnu: terminator: Renamed to "gnome-terminator" and update to 2.1.2 宋文武 via Guix-patches via
2023-01-29  6:22     ` Andy Tai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230128092503.23970-1-atai@atai.org \
    --to=atai@atai.org \
    --cc=59059@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.