[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: gnome-shell: Remove references to Inkscape and more.
From: |
guix-commits |
Subject: |
02/08: gnu: gnome-shell: Remove references to Inkscape and more. |
Date: |
Fri, 15 Mar 2019 18:29:37 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 11e1df56e29e8e9f9dbe1beaf6afb902c33c9198
Author: Ludovic Courtès <address@hidden>
Date: Fri Mar 15 17:44:22 2019 +0100
gnu: gnome-shell: Remove references to Inkscape and more.
The reference to Inkscape was introduced in commit
45fef894eb5b39029633cd0cd907e8ce8c5ab379.
* gnu/packages/gnome.scm (gnome-shell)[arguments]: Add
#:disallowed-references and #:modules. Replace the 'glib-or-gtk-wrap'
phase.
---
gnu/packages/gnome.scm | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8b473c2..e3f470f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5690,7 +5690,15 @@ properties, screen resolution, and other GNOME
parameters.")
#t))))
(build-system glib-or-gtk-build-system)
(arguments
- '(#:phases
+ `(#:disallowed-references ((,glib "bin")
+ ,inkscape ,libxslt
+ ,ruby-sass)
+
+ #:modules ((guix build glib-or-gtk-build-system)
+ (guix build utils)
+ (srfi srfi-1))
+
+ #:phases
(modify-phases %standard-phases
(add-before 'build 'rebuild-css
(lambda _
@@ -5726,7 +5734,16 @@ properties, screen resolution, and other GNOME
parameters.")
`("PYTHONPATH" ":" prefix (,python-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
'("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
- #t))))))
+ #t)))
+ (replace 'glib-or-gtk-wrap
+ (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
+ (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
+ ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
+ ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
+ ;; phase. Fix that since we don't need these.
+ (wrap #:inputs (fold alist-delete inputs
+ '("inkscape" "intltool" "glib:bin"))
+ #:outputs outputs)))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("gobject-introspection" ,gobject-introspection)
- branch master updated (39c0a3f -> 41dfe40), guix-commits, 2019/03/15
- 01/08: build-system/glib-or-gtk: Support #:disallowed-references., guix-commits, 2019/03/15
- 02/08: gnu: gnome-shell: Remove references to Inkscape and more.,
guix-commits <=
- 03/08: gnu: hplip: Remove pre-built executable from the source., guix-commits, 2019/03/15
- 04/08: gnu: hplip: Do not keep reference to GCC., guix-commits, 2019/03/15
- 08/08: pack: Construct inferior package names correctly., guix-commits, 2019/03/15
- 05/08: gnu: hplip-minimal: Remove dependency on Python & co., guix-commits, 2019/03/15
- 07/08: services: mpd: add more configuration options, guix-commits, 2019/03/15
- 06/08: pack: "-RR" produces PRoot-enabled relocatable binaries., guix-commits, 2019/03/15