From 11e1df56e29e8e9f9dbe1beaf6afb902c33c9198 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 15 Mar 2019 17:44:22 +0100 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8b473c231e..e3f470fcee 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) -- cgit v1.2.3 >AgeCommit message (Expand)Author 2022-09-24system: image: Add wsl2 support....Alex Griffin 2022-09-24system: image: Add tarball support....Alex Griffin 2022-09-24image: Make the operating-system field mandatory....Mathieu Othacehe 2022-09-07image: Use #true and #false....Mathieu Othacehe 2022-09-07image: Use a default size partition value....Mathieu Othacehe 2022-08-31image: Add comments....Mathieu Othacehe 2022-08-30image: Remove an unused field....Mathieu Othacehe 2022-08-30image: Perform more sanitizing....Mathieu Othacehe 2022-07-01image: Add sanitizers for 'format' and 'partition-table-type'....Ludovic Courtès 2022-07-01image: Add default value for partition initializer....Ludovic Courtès 2022-05-25Move (gnu platform) and (gnu platforms ...) to guix/....Josselin Poiret 2021-12-23image: Add a shared-network? field....Mathieu Othacehe 2021-12-23image: Add a shared-store? field....Mathieu Othacehe 2021-11-12image: Support generating GPT images via `partition-table-type`....Ryan Sundberg 2021-10-11gnu: Add platform support....Mathieu Othacehe 2021-02-17image: Export image? procedure....Mathieu Othacehe 2020-09-30image: Add image-type support....Mathieu Othacehe 2020-06-24image: Move hurd image definition to a dedicated file....Mathieu Othacehe 2020-06-13image: Add 'target' support....Mathieu Othacehe 2020-05-26image: Add partition file-system options support....Mathieu Othacehe 2020-05-26image: Set offset default to zero....Mathieu Othacehe 2020-05-26image: Add partition offset support....Mathieu Othacehe