[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/63: gnu: mutter: Fix build with Mesa 20.
From: |
guix-commits |
Subject: |
60/63: gnu: mutter: Fix build with Mesa 20. |
Date: |
Tue, 26 May 2020 17:18:15 -0400 (EDT) |
mbakke pushed a commit to branch staging2
in repository guix.
commit 682ae6f947ca3efb902f8c7ae25914e34cb74e8e
Author: Marius Bakke <address@hidden>
AuthorDate: Sat May 23 11:22:45 2020 +0200
gnu: mutter: Fix build with Mesa 20.
* gnu/packages/gnome.scm (mutter)[arguments]: Add #:phases.
---
gnu/packages/gnome.scm | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e0e1ed1..566c31f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6084,7 +6084,21 @@ to display dialog boxes from the commandline and shell
scripts.")
;; the remaining flags are needed for the bundled cogl
(string-append "-Dopengl_libname="
(assoc-ref %build-inputs "mesa")
- "/lib/libGL.so"))))
+ "/lib/libGL.so"))
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build-with-mesa-20
+ (lambda _
+ ;; Mimic upstream commit a444a4c5f58ea516ad for
+ ;; compatibility with Mesa 20. Remove for 3.36.
+ (substitute* '("src/backends/meta-egl-ext.h"
+ "src/backends/meta-egl.c"
+ "src/backends/meta-egl.h")
+ (("#include <EGL/eglext\\.h>" all)
+ (string-append all "\n#include <EGL/eglmesaext.h>")))
+ (substitute* "cogl/cogl/meson.build"
+ (("#include <EGL/eglext\\.h>" all)
+ (string-append all "\\n#include <EGL/eglmesaext.h>")))
+ #t)))))
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
- 51/63: gnu: Mesa: Remove unused input., (continued)
- 51/63: gnu: Mesa: Remove unused input., guix-commits, 2020/05/26
- 22/63: gnu: python-urllib3: Update to 1.25.9., guix-commits, 2020/05/26
- 31/63: gnu: python-jinja2: Update to 2.11.2., guix-commits, 2020/05/26
- 41/63: gnu: spirv-tools: Do not build static libraries., guix-commits, 2020/05/26
- 52/63: gnu: Mesa: Remove obsolete phase., guix-commits, 2020/05/26
- 30/63: gnu: json-c: Update to 0.14., guix-commits, 2020/05/26
- 54/63: gnu: vkquake: Fix build with newer Vulkan headers., guix-commits, 2020/05/26
- 56/63: gnu: libdrm: Update to 2.4.101., guix-commits, 2020/05/26
- 59/63: gnu: nheko: Update to 0.7.1., guix-commits, 2020/05/26
- 62/63: gnu: qtwebengine: Fix build failure., guix-commits, 2020/05/26
- 60/63: gnu: mutter: Fix build with Mesa 20.,
guix-commits <=
- 20/63: gnu: python-cryptography: Update to 2.9.2., guix-commits, 2020/05/26
- 27/63: gnu: python-mako: Update to 1.1.2., guix-commits, 2020/05/26
- 33/63: gnu: Qt: Update to 5.14.2., guix-commits, 2020/05/26
- 49/63: gnu: shaderc: Enable (some) tests., guix-commits, 2020/05/26
- 26/63: gnu: python-idna: Update to 2.9., guix-commits, 2020/05/26
- 28/63: gnu: NSS: Update to 3.52., guix-commits, 2020/05/26
- 32/63: gnu: KDE Frameworks: Update to 5.70., guix-commits, 2020/05/26
- 35/63: gnu: NSS: Update to 3.52.1 [fixes CVE-2020-12399]., guix-commits, 2020/05/26
- 40/63: gnu: spirv-tools: Update to 2020.2., guix-commits, 2020/05/26
- 34/63: gnu: Mesa: Fix ineffective substitution on i686-linux., guix-commits, 2020/05/26