[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/133: gnu: gnome-shell: Update to 3.28.2.
From: |
guix-commits |
Subject: |
71/133: gnu: gnome-shell: Update to 3.28.2. |
Date: |
Sun, 6 Jan 2019 16:59:41 -0500 (EST) |
rekado pushed a commit to branch wip-gnome3.30
in repository guix.
commit 0139fe8ff41a2aca8373fddabe33db03b4f9d65e
Author: Ricardo Wurmus <address@hidden>
Date: Mon Aug 6 18:56:11 2018 +0200
gnu: gnome-shell: Update to 3.28.2.
* gnu/packages/gnome.scm (gnome-shell): Update to 3.28.2.
[build-system]: Use meson-build-system.
[arguments]: Disable systemd; add build phases "fix-keysdir" and
"pre-check";
remove custom "install" phase; wrap also with LD_LIBRARY_PATH.
[native-inputs]: Add desktop-file-utils, sassc, and xorg-server.
[inputs]: Remove readline.
---
gnu/packages/gnome.scm | 76 ++++++++++++++++++++++++++++++++------------------
1 file changed, 49 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7d8c469..210f9d8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5651,7 +5651,7 @@ properties, screen resolution, and other GNOME
parameters.")
(define-public gnome-shell
(package
(name "gnome-shell")
- (version "3.24.3")
+ (version "3.28.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -5659,41 +5659,65 @@ properties, screen resolution, and other GNOME
parameters.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
- (build-system glib-or-gtk-build-system)
+ "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))))
+ (build-system meson-build-system)
(arguments
- '(#:phases
+ '(#:glib-or-gtk? #t
+ #:configure-flags
+ (list "-Dsystemd=false"
+ ;; Otherwise, the RUNPATH will lack the final path component.
+ (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/gnome-shell"))
+ #:phases
(modify-phases %standard-phases
- (replace 'install
+ (add-after 'unpack 'fix-keysdir
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(keysdir (string-append
out "/share/gnome-control-center/keybindings")))
- (zero? (system* "make"
- (string-append "keysdir=" keysdir)
- "install")))))
- (add-after
- 'install 'wrap-programs
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
- (python-path (getenv "PYTHONPATH")))
- (wrap-program (string-append out "/bin/gnome-shell")
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
- (for-each
- (lambda (prog)
- (wrap-program (string-append out "/bin/" prog)
- `("PYTHONPATH" ":" prefix (,python-path))
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
- '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
- #t))))))
+ (substitute* "meson.build"
+ (("keysdir =.*")
+ (string-append "keysdir = '" keysdir "'\n")))
+ #t)))
+ (add-before 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Tests require a running X server.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
+ #t))
+ (add-after 'install 'wrap-programs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
+ (python-path (getenv "PYTHONPATH")))
+ (wrap-program (string-append out "/bin/gnome-shell")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
+ ;; FIXME: gnome-shell loads these libraries with unqualified
+ ;; names only, so they need to be on LD_LIBRARY_PATH. The
+ ;; alternative might be to patch gnome-shell.
+ `("LD_LIBRARY_PATH" ":" prefix
+ ,(map (lambda (pkg)
+ (string-append (assoc-ref inputs pkg) "/lib"))
+ '("gnome-bluetooth" "librsvg" "libgweather"))))
+ (for-each
+ (lambda (prog)
+ (wrap-program (string-append out "/bin/" prog)
+ `("PYTHONPATH" ":" prefix (,python-path))
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
+ #t))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
+ ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("pkg-config" ,pkg-config)
("python" ,python)
- ("xsltproc" ,libxslt)))
+ ("sassc" ,sassc)
+ ("xsltproc" ,libxslt)
+ ;; For tests
+ ("xorg-server" ,xorg-server)))
(inputs
`(("accountsservice" ,accountsservice)
("caribou" ,caribou)
@@ -5724,9 +5748,7 @@ properties, screen resolution, and other GNOME
parameters.")
;; XXX: These requirements were added in 3.24, but no mention in NEWS.
;; Missing propagation? See also: <https://bugs.gnu.org/27264>
("librsvg" ,librsvg)
- ("geoclue" ,geoclue)
- ;; XXX: required by libgjs.la.
- ("readline" ,readline)))
+ ("geoclue" ,geoclue)))
(synopsis "Desktop shell for GNOME")
(home-page "https://wiki.gnome.org/Projects/GnomeShell")
(description
- 48/133: gnu: gucharmap: Update to 10.0.4., (continued)
- 48/133: gnu: gucharmap: Update to 10.0.4., guix-commits, 2019/01/06
- 66/133: gnu: dconf-editor: Update to 3.28.0., guix-commits, 2019/01/06
- 30/133: gnu: totem-pl-parser: Update to 3.26.1., guix-commits, 2019/01/06
- 67/133: gnu: cups-filters: Fix build with newer version of poppler., guix-commits, 2019/01/06
- 69/133: gnu: eog: Ensure RUNPATH contains output library directory., guix-commits, 2019/01/06
- 68/133: gnu: libimobiledevice: Do not hardcode Python version., guix-commits, 2019/01/06
- 72/133: gnu: mozjs-52: Add configure flag to prevent crash., guix-commits, 2019/01/06
- 73/133: gnu: atk: Update to 2.30.0., guix-commits, 2019/01/06
- 81/133: gnu: glibmm: Update to 2.58.0., guix-commits, 2019/01/06
- 82/133: gnu: gnome-desktop: Update to 3.30.2., guix-commits, 2019/01/06
- 71/133: gnu: gnome-shell: Update to 3.28.2.,
guix-commits <=
- 76/133: gnu: gobject-introspection: Update to 1.58.1., guix-commits, 2019/01/06
- 84/133: gnu: evince: Update to 3.30.2., guix-commits, 2019/01/06
- 86/133: gnu: adwaita-icon-theme: Update to 3.30.1., guix-commits, 2019/01/06
- 85/133: gnu: gsettings-desktop-schemas: Update to 3.28.1., guix-commits, 2019/01/06
- 88/133: gnu: libgnomeprintui: Update to 2.18.6., guix-commits, 2019/01/06
- 89/133: gnu: libwnck: Update to 3.30.0., guix-commits, 2019/01/06
- 90/133: gnu: gnumeric: Update to 1.12.44., guix-commits, 2019/01/06
- 91/133: gnu: seahorse: Update to 3.30., guix-commits, 2019/01/06
- 92/133: gnu: vala: Update to 0.42.3., guix-commits, 2019/01/06
- 97/133: gnu: gnome-sudoku: Update to 3.30.0., guix-commits, 2019/01/06