[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26883: [PATCH 11/11] gnu: mutter: Update to 3.24.1.
From: |
Kei Kebreau |
Subject: |
bug#26883: [PATCH 11/11] gnu: mutter: Update to 3.24.1. |
Date: |
Thu, 11 May 2017 11:30:21 -0400 |
* gnu/packages/gnome.scm (mutter): Update to 3.24.1.
[arguments]: Enable wayland and the native backend. Add "use-elogind"
phase.
[propagated-inputs]: Remove wayland and wayland-protocols.
[inputs]: Add elogind and libxtst.
---
gnu/packages/gnome.scm | 45 ++++++++++++++++++++++++---------------------
1 file changed, 24 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f79b5351a..fbb15ba0a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4300,24 +4300,21 @@ to display dialog boxes from the commandline and shell
scripts.")
(license license:lgpl2.0+)))
(define-public mutter
- ;; Uses the gnome 3.22 branch that only contains bug fixes.
- (let ((commit "23c315ea7121e9bd108e2837d0b4beeba53c5e18"))
(package
(name "mutter")
- (version (git-version "3.22.2" "1" commit))
+ (version "3.24.1")
(source (origin
- (method git-fetch)
- (uri (git-reference
- (url "git://git.gnome.org/mutter")
- (commit commit)))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
(sha256
(base32
- "1v1f9xyzjr1ihmfwpq9kzlv2lyr9qn63ck8zny699mbp5hsi11mb"))))
- ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
- ;; versions of cogl and clutter. As a result, many of the inputs,
- ;; propagated-inputs, and configure flags used in cogl and clutter are
- ;; needed here as well.
+ "093ax3ng7fv28qfkxpbvcx67mfiizwj5b4s17m5cmijwf3wpgamc"))))
+ ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
+ ;; versions of cogl and clutter. As a result, many of the inputs,
+ ;; propagated-inputs, and configure flags used in cogl and clutter are
+ ;; needed here as well.
(build-system gnu-build-system)
(arguments
'(#:configure-flags
@@ -4326,8 +4323,7 @@ to display dialog boxes from the commandline and shell
scripts.")
;; implicit declaration of function ?roundf?
(list "--enable-compile-warnings=minimum"
- "--disable-wayland" ; TODO enable wayland
- ;; "--enable-native-backend" ; TODO enable the native backend
+ "--enable-native-backend"
;; The following flags are needed for the bundled clutter
"--enable-x11-backend=yes"
@@ -4340,8 +4336,15 @@ to display dialog boxes from the commandline and shell
scripts.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'autoreconf
- (lambda _
- (zero? (system* "autoreconf" "-vfi")))))))
+ (lambda _
+ (zero? (system* "autoreconf" "-vfi"))))
+ (add-before 'configure 'use-elogind
+ (lambda _
+ (substitute* (list "configure"
+ "src/backends/native/meta-launcher.c"
+ "src/core/main.c")
+ (("systemd") "elogind"))
+ #t)))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("gobject-introspection" ,gobject-introspection)
@@ -4374,17 +4377,17 @@ to display dialog boxes from the commandline and shell
scripts.")
("mesa" ,mesa)
("pango" ,pango)
("udev" ,eudev)
- ("wayland" ,wayland)
- ("wayland-protocols" ,wayland-protocols)
("xinput" ,xinput)))
(inputs
- `(("gnome-desktop" ,gnome-desktop)
+ `(("elogind" ,elogind)
+ ("gnome-desktop" ,gnome-desktop)
("libcanberra-gtk" ,libcanberra)
("libgudev" ,libgudev)
("libice" ,libice)
("libsm" ,libsm)
("libxkbfile" ,libxkbfile)
("libxrandr" ,libxrandr)
+ ("libxtst" ,libxtst)
("startup-notification" ,startup-notification)
("upower-glib" ,upower)
("xkeyboard-config" ,xkeyboard-config)
@@ -4396,7 +4399,7 @@ to display dialog boxes from the commandline and shell
scripts.")
desktop via OpenGL. Mutter combines a sophisticated display engine using the
Clutter toolkit with solid window-management logic inherited from the Metacity
window manager.")
- (license license:gpl2+))))
+ (license license:gpl2+)))
(define-public gnome-online-accounts
(package
--
2.13.0
- bug#26887: [PATCH 01/11] gnu: libdrm: Update to 2.4.80., Kei Kebreau, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Kei Kebreau, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Marius Bakke, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Kei Kebreau, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Marius Bakke, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Kei Kebreau, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Marius Bakke, 2017/05/11
- bug#26880: [PATCH 04/11] gnu: gtk+: Enable wayland backend., Kei Kebreau, 2017/05/11
- bug#26881: [PATCH 09/11] gnu: gnome-control-center: Update to 3.24.1., Kei Kebreau, 2017/05/11
- bug#26882: [PATCH 08/11] gnu: gnome-online-accounts: Update to 3.24.0., Kei Kebreau, 2017/05/11
- bug#26883: [PATCH 11/11] gnu: mutter: Update to 3.24.1.,
Kei Kebreau <=
- bug#26884: [PATCH 07/11] gnu: gnome-bluetooth: Update to 3.20.1., Kei Kebreau, 2017/05/11
- bug#26885: [PATCH 10/11] gnu: gnome-session: Update to 3.24.1., Kei Kebreau, 2017/05/11
- bug#26886: [PATCH 03/11] gnu: gtk+: Update to 3.22.12., Kei Kebreau, 2017/05/11
- bug#26887: [PATCH 05/11] gnu: cogl: Enable wayland support., Kei Kebreau, 2017/05/11
- bug#26887: [PATCH 06/11] gnu: gnome-desktop: Update to 3.24.1., Kei Kebreau, 2017/05/11
- bug#26887: [PATCH 02/11] gnu: mesa: Update to 17.0.4., Kei Kebreau, 2017/05/11
- bug#26887: [PATCH 01/11] gnu: libdrm: Update to 2.4.80., Kei Kebreau, 2017/05/11