[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: |
Mon, 25 May 2020 15:15:31 -0400 (EDT) |
mbakke pushed a commit to branch staging2
in repository guix.
commit 370efe82a358eb0bd0c08b45a9dee49650aa6e69
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.
- 41/63: gnu: spirv-tools: Do not build static libraries., (continued)
- 41/63: gnu: spirv-tools: Do not build static libraries., guix-commits, 2020/05/25
- 42/63: gnu: glslang: Update to 8.13.3743., guix-commits, 2020/05/25
- 26/63: gnu: python-idna: Update to 2.9., guix-commits, 2020/05/25
- 46/63: gnu: vulkan-loader: Enable tests., guix-commits, 2020/05/25
- 58/63: gnu: mtxclient: Update to 0.3.0., guix-commits, 2020/05/25
- 59/63: gnu: nheko: Update to 0.7.1., guix-commits, 2020/05/25
- 63/63: Merge branch 'master' into staging, guix-commits, 2020/05/25
- 33/63: gnu: Qt: Update to 5.14.2., guix-commits, 2020/05/25
- 38/63: gnu: gstreamer: Increase test timeouts., guix-commits, 2020/05/25
- 57/63: gnu: qtdeclarative: Fix reference on qmlcachegen., guix-commits, 2020/05/25
- 60/63: gnu: mutter: Fix build with Mesa 20.,
guix-commits <=
- 45/63: gnu: vulkan-loader: Update to 1.2.140., guix-commits, 2020/05/25
- 48/63: gnu: shaderc: Update to 2020.0., guix-commits, 2020/05/25
- 52/63: gnu: Mesa: Remove obsolete phase., guix-commits, 2020/05/25
- 23/63: gnu: python-requests: Update to 2.23.0., guix-commits, 2020/05/25
- 34/63: gnu: Mesa: Fix ineffective substitution on i686-linux., guix-commits, 2020/05/25
- 36/63: Merge branch 'master' into staging, guix-commits, 2020/05/25
- 39/63: gnu: spirv-headers: Update to 1.5.3., guix-commits, 2020/05/25
- 44/63: gnu: vulkan-headers: Update to 1.2.141., guix-commits, 2020/05/25
- 51/63: gnu: Mesa: Remove unused input., guix-commits, 2020/05/25
- 49/63: gnu: shaderc: Enable (some) tests., guix-commits, 2020/05/25