guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

386/402: gnu: gnome-weather: Remove custom typelib wrap and add python p


From: guix-commits
Subject: 386/402: gnu: gnome-weather: Remove custom typelib wrap and add python phases.
Date: Tue, 18 Aug 2020 16:48:33 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit fc1c3ceadc506fad8f16e18e517129bbf9e75a8e
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Aug 17 04:58:55 2020 -0400

    gnu: gnome-weather: Remove custom typelib wrap and add python phases.
    
    * gnu/packages/gnome.scm (gnome-weather) [arguments]: Modify.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gnome.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 24da4ef..8673f29 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10517,6 +10517,7 @@ associations for GNOME.")
     (build-system meson-build-system)
     (arguments
      `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       #:python? #t ; To wrap binaries
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'skip-gtk-update-icon-cache
@@ -10524,14 +10525,7 @@ associations for GNOME.")
              (substitute* "meson_post_install.py"
                (("gtk-update-icon-cache")
                 "true"))
-             #t))
-         (add-after 'install 'wrap
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (gi-typelib-path   (getenv "GI_TYPELIB_PATH")))
-               (wrap-program (string-append out "/bin/gnome-weather")
-                 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
-               #t))))))
+             #t)))))
     (native-inputs
      `(("desktop-file-utils" ,desktop-file-utils)
        ("gettext" ,gettext-minimal)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]