guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: gedit: Replace custom typelib and python wraps.


From: guix-commits
Subject: 01/02: gnu: gedit: Replace custom typelib and python wraps.
Date: Mon, 17 Aug 2020 07:41:42 -0400 (EDT)

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

commit a1ca23f139a72f0681a8bad24dc086c58bc86e3d
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 dee01ac..92bf110 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8330,6 +8330,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"
@@ -8387,13 +8388,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]