guix-commits
[Top][All Lists]
Advanced

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

252/265: gnu: gedit: Replace custom typelib and python wraps.


From: guix-commits
Subject: 252/265: gnu: gedit: Replace custom typelib and python wraps.
Date: Wed, 19 Aug 2020 13:09:50 -0400 (EDT)

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

commit 9e5d8e438e68ce3c8a6b641429924254af0c7e73
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Aug 17 03:35:18 2020 -0400

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1f3c4e9..aa70002 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8281,6 +8281,7 @@ spidermonkey javascript engine and the GObject 
introspection framework.")
     (outputs '("out" "help" "doc"))
     (arguments
      `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       #:python? #t ; To wrap binaries
        #:configure-flags
        (list
         "-Dgtk_doc=true"
@@ -8338,13 +8339,8 @@ spidermonkey javascript engine and the GObject 
introspection framework.")
          (add-after 'move-help 'wrap-gedit
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
-                    (gtksourceview (assoc-ref inputs "gtksourceview"))
-                    (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
-                    (python-path (getenv "PYTHONPATH")))
+                    (gtksourceview (assoc-ref inputs "gtksourceview")))
                (wrap-program (string-append out "/bin/gedit")
-                 ;; For plugins.
-                 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
-                 `("PYTHONPATH" ":" prefix (,python-path))
                  ;; For language-specs.
                  `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
                                                                "/share")))))



reply via email to

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