mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
mutter: upgrade 3.34.6 -> 41.0
Most notable: * Wayland is manadatory * Patch removed was applied Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,72 +0,0 @@
|
|||||||
From a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
|
||||||
Date: Sun, 20 Oct 2019 12:04:31 +0200
|
|
||||||
Subject: [PATCH] EGL: Include EGL/eglmesaext.h
|
|
||||||
|
|
||||||
The eglext.h shipped by libglvnd does not include the Mesa extensions,
|
|
||||||
unlike the header shipped in Mesa.
|
|
||||||
|
|
||||||
Fixes https://gitlab.gnome.org/GNOME/mutter/issues/876
|
|
||||||
|
|
||||||
Upstream-Status: Applied [1]
|
|
||||||
|
|
||||||
[1] https://gitlab.gnome.org/GNOME/mutter/-/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90
|
|
||||||
---
|
|
||||||
cogl/cogl/meson.build | 2 +-
|
|
||||||
src/backends/meta-egl-ext.h | 1 +
|
|
||||||
src/backends/meta-egl.c | 1 +
|
|
||||||
src/backends/meta-egl.h | 1 +
|
|
||||||
4 files changed, 4 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
|
|
||||||
index 261955796..b0e66bff3 100644
|
|
||||||
--- a/cogl/cogl/meson.build
|
|
||||||
+++ b/cogl/cogl/meson.build
|
|
||||||
@@ -48,7 +48,7 @@ cogl_gl_header_h = configure_file(
|
|
||||||
built_headers += [cogl_gl_header_h]
|
|
||||||
|
|
||||||
if have_egl
|
|
||||||
- cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>'
|
|
||||||
+ cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>\n#include <EGL/eglmesaext.h>'
|
|
||||||
else
|
|
||||||
cogl_egl_includes_string = ''
|
|
||||||
endif
|
|
||||||
diff --git a/src/backends/meta-egl-ext.h b/src/backends/meta-egl-ext.h
|
|
||||||
index 8705e7d5b..db0b74f76 100644
|
|
||||||
--- a/src/backends/meta-egl-ext.h
|
|
||||||
+++ b/src/backends/meta-egl-ext.h
|
|
||||||
@@ -29,6 +29,7 @@
|
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
|
||||||
#include <EGL/eglext.h>
|
|
||||||
+#include <EGL/eglmesaext.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This is a little different to the tests shipped with EGL implementations,
|
|
||||||
diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c
|
|
||||||
index 6554be935..fdeff4f77 100644
|
|
||||||
--- a/src/backends/meta-egl.c
|
|
||||||
+++ b/src/backends/meta-egl.c
|
|
||||||
@@ -27,6 +27,7 @@
|
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
|
||||||
#include <EGL/eglext.h>
|
|
||||||
+#include <EGL/eglmesaext.h>
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include <glib.h>
|
|
||||||
#include <glib-object.h>
|
|
||||||
diff --git a/src/backends/meta-egl.h b/src/backends/meta-egl.h
|
|
||||||
index f2a816445..4591e7d85 100644
|
|
||||||
--- a/src/backends/meta-egl.h
|
|
||||||
+++ b/src/backends/meta-egl.h
|
|
||||||
@@ -28,6 +28,7 @@
|
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
|
||||||
#include <EGL/eglext.h>
|
|
||||||
+#include <EGL/eglmesaext.h>
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
#define META_EGL_ERROR meta_egl_error_quark ()
|
|
||||||
--
|
|
||||||
2.21.1
|
|
||||||
|
|
||||||
+10
-11
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|||||||
|
|
||||||
DEPENDS = " \
|
DEPENDS = " \
|
||||||
xserver-xorg-cvt-native \
|
xserver-xorg-cvt-native \
|
||||||
|
wayland-native \
|
||||||
virtual/libx11 \
|
virtual/libx11 \
|
||||||
|
graphene \
|
||||||
gtk+3 \
|
gtk+3 \
|
||||||
gdk-pixbuf \
|
gdk-pixbuf \
|
||||||
cairo \
|
cairo \
|
||||||
@@ -16,18 +18,17 @@ DEPENDS = " \
|
|||||||
libxtst \
|
libxtst \
|
||||||
libxkbfile \
|
libxkbfile \
|
||||||
xinerama \
|
xinerama \
|
||||||
|
xwayland \
|
||||||
"
|
"
|
||||||
|
|
||||||
GNOMEBASEBUILDCLASS = "meson"
|
GNOMEBASEBUILDCLASS = "meson"
|
||||||
|
|
||||||
inherit gnomebase gsettings gobject-introspection gettext upstream-version-is-even features_check
|
inherit gnomebase gsettings gobject-introspection gettext features_check
|
||||||
|
|
||||||
SRC_URI[archive.md5sum] = "20913c458406e6efa3df005a3ce48c8e"
|
SRC_URI[archive.sha256sum] = "fa80a1a744044d88ebfd677ff03203d67705ed2cd624ea06cbb8b58948cdf89e"
|
||||||
SRC_URI[archive.sha256sum] = "23bde87d33b8981358831cec8915bb5ff1eaf9c1de74c90cd1660b1b95883526"
|
|
||||||
SRC_URI += "file://0001-EGL-Include-EGL-eglmesaext.h.patch"
|
|
||||||
|
|
||||||
# x11 is still manadatory - see meson.build
|
# x11 is still manadatory - see meson.build
|
||||||
REQUIRED_DISTRO_FEATURES = "x11 polkit"
|
REQUIRED_DISTRO_FEATURES = "wayland x11 polkit"
|
||||||
|
|
||||||
# systemd can be replaced by libelogind (not available atow - make systemd
|
# systemd can be replaced by libelogind (not available atow - make systemd
|
||||||
# mandatory distro feature)
|
# mandatory distro feature)
|
||||||
@@ -40,10 +41,11 @@ PACKAGECONFIG ??= " \
|
|||||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \
|
||||||
sm \
|
sm \
|
||||||
startup-notification \
|
startup-notification \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'wayland', '', d)} \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
EXTRA_OEMESON += " \
|
EXTRA_OEMESON += " \
|
||||||
|
-Dtests=false \
|
||||||
|
-Dnative_tests=false \
|
||||||
-Dxwayland_path=${bindir}/Xwayland \
|
-Dxwayland_path=${bindir}/Xwayland \
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -53,15 +55,12 @@ PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=true, virtual/libgl"
|
|||||||
PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false"
|
PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false"
|
||||||
PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom"
|
PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom"
|
||||||
# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+
|
# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+
|
||||||
PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire-0.2"
|
PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire"
|
||||||
PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm"
|
PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm"
|
||||||
PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof"
|
PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof"
|
||||||
PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification"
|
PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification"
|
||||||
PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland wayland-native, xwayland"
|
|
||||||
PACKAGECONFIG[wayland-eglstream] = "-Dwayland_eglstream=true,-Dwayland_eglstream=false"
|
|
||||||
|
|
||||||
# yes they changed from mutter-4 -> mutter-5 recently so be perpared
|
MUTTER_API_NAME = "mutter-9"
|
||||||
MUTTER_API_NAME = "mutter-5"
|
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
# Add gir links in standard paths. That makes dependents life much easier
|
# Add gir links in standard paths. That makes dependents life much easier
|
||||||
Reference in New Issue
Block a user