summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2021-11-01 12:49:16 +0100
committerKhem Raj <raj.khem@gmail.com>2021-11-03 06:57:48 -0700
commit7cd570b486074d5876eae9fd48232694939a3e64 (patch)
tree63977fdaae61d12dbd71837a9f832abdbd22e22e /meta-gnome
parent94f5b82c423cb113cc7289387ab31aa293a90061 (diff)
downloadmeta-openembedded-7cd570b486074d5876eae9fd48232694939a3e64.tar.gz
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>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/mutter/mutter/0001-EGL-Include-EGL-eglmesaext.h.patch72
-rw-r--r--meta-gnome/recipes-gnome/mutter/mutter_41.0.bb (renamed from meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb)21
2 files changed, 10 insertions, 83 deletions
diff --git a/meta-gnome/recipes-gnome/mutter/mutter/0001-EGL-Include-EGL-eglmesaext.h.patch b/meta-gnome/recipes-gnome/mutter/mutter/0001-EGL-Include-EGL-eglmesaext.h.patch
deleted file mode 100644
index b4fd03983..000000000
--- a/meta-gnome/recipes-gnome/mutter/mutter/0001-EGL-Include-EGL-eglmesaext.h.patch
+++ /dev/null
@@ -1,72 +0,0 @@
1From a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90 Mon Sep 17 00:00:00 2001
2From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3Date: Sun, 20 Oct 2019 12:04:31 +0200
4Subject: [PATCH] EGL: Include EGL/eglmesaext.h
5
6The eglext.h shipped by libglvnd does not include the Mesa extensions,
7unlike the header shipped in Mesa.
8
9Fixes https://gitlab.gnome.org/GNOME/mutter/issues/876
10
11Upstream-Status: Applied [1]
12
13[1] https://gitlab.gnome.org/GNOME/mutter/-/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90
14---
15 cogl/cogl/meson.build | 2 +-
16 src/backends/meta-egl-ext.h | 1 +
17 src/backends/meta-egl.c | 1 +
18 src/backends/meta-egl.h | 1 +
19 4 files changed, 4 insertions(+), 1 deletion(-)
20
21diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
22index 261955796..b0e66bff3 100644
23--- a/cogl/cogl/meson.build
24+++ b/cogl/cogl/meson.build
25@@ -48,7 +48,7 @@ cogl_gl_header_h = configure_file(
26 built_headers += [cogl_gl_header_h]
27
28 if have_egl
29- cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>'
30+ cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>\n#include <EGL/eglmesaext.h>'
31 else
32 cogl_egl_includes_string = ''
33 endif
34diff --git a/src/backends/meta-egl-ext.h b/src/backends/meta-egl-ext.h
35index 8705e7d5b..db0b74f76 100644
36--- a/src/backends/meta-egl-ext.h
37+++ b/src/backends/meta-egl-ext.h
38@@ -29,6 +29,7 @@
39
40 #include <EGL/egl.h>
41 #include <EGL/eglext.h>
42+#include <EGL/eglmesaext.h>
43
44 /*
45 * This is a little different to the tests shipped with EGL implementations,
46diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c
47index 6554be935..fdeff4f77 100644
48--- a/src/backends/meta-egl.c
49+++ b/src/backends/meta-egl.c
50@@ -27,6 +27,7 @@
51
52 #include <EGL/egl.h>
53 #include <EGL/eglext.h>
54+#include <EGL/eglmesaext.h>
55 #include <gio/gio.h>
56 #include <glib.h>
57 #include <glib-object.h>
58diff --git a/src/backends/meta-egl.h b/src/backends/meta-egl.h
59index f2a816445..4591e7d85 100644
60--- a/src/backends/meta-egl.h
61+++ b/src/backends/meta-egl.h
62@@ -28,6 +28,7 @@
63
64 #include <EGL/egl.h>
65 #include <EGL/eglext.h>
66+#include <EGL/eglmesaext.h>
67 #include <glib-object.h>
68
69 #define META_EGL_ERROR meta_egl_error_quark ()
70--
712.21.1
72
diff --git a/meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb b/meta-gnome/recipes-gnome/mutter/mutter_41.0.bb
index b659d9295..4859f87a4 100644
--- a/meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb
+++ b/meta-gnome/recipes-gnome/mutter/mutter_41.0.bb
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4 4
5DEPENDS = " \ 5DEPENDS = " \
6 xserver-xorg-cvt-native \ 6 xserver-xorg-cvt-native \
7 wayland-native \
7 virtual/libx11 \ 8 virtual/libx11 \
9 graphene \
8 gtk+3 \ 10 gtk+3 \
9 gdk-pixbuf \ 11 gdk-pixbuf \
10 cairo \ 12 cairo \
@@ -16,18 +18,17 @@ DEPENDS = " \
16 libxtst \ 18 libxtst \
17 libxkbfile \ 19 libxkbfile \
18 xinerama \ 20 xinerama \
21 xwayland \
19" 22"
20 23
21GNOMEBASEBUILDCLASS = "meson" 24GNOMEBASEBUILDCLASS = "meson"
22 25
23inherit gnomebase gsettings gobject-introspection gettext upstream-version-is-even features_check 26inherit gnomebase gsettings gobject-introspection gettext features_check
24 27
25SRC_URI[archive.md5sum] = "20913c458406e6efa3df005a3ce48c8e" 28SRC_URI[archive.sha256sum] = "fa80a1a744044d88ebfd677ff03203d67705ed2cd624ea06cbb8b58948cdf89e"
26SRC_URI[archive.sha256sum] = "23bde87d33b8981358831cec8915bb5ff1eaf9c1de74c90cd1660b1b95883526"
27SRC_URI += "file://0001-EGL-Include-EGL-eglmesaext.h.patch"
28 29
29# x11 is still manadatory - see meson.build 30# x11 is still manadatory - see meson.build
30REQUIRED_DISTRO_FEATURES = "x11 polkit" 31REQUIRED_DISTRO_FEATURES = "wayland x11 polkit"
31 32
32# systemd can be replaced by libelogind (not available atow - make systemd 33# systemd can be replaced by libelogind (not available atow - make systemd
33# mandatory distro feature) 34# mandatory distro feature)
@@ -40,10 +41,11 @@ PACKAGECONFIG ??= " \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \ 41 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \
41 sm \ 42 sm \
42 startup-notification \ 43 startup-notification \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'wayland', '', d)} \
44" 44"
45 45
46EXTRA_OEMESON += " \ 46EXTRA_OEMESON += " \
47 -Dtests=false \
48 -Dnative_tests=false \
47 -Dxwayland_path=${bindir}/Xwayland \ 49 -Dxwayland_path=${bindir}/Xwayland \
48" 50"
49 51
@@ -53,15 +55,12 @@ PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=true, virtual/libgl"
53PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false" 55PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false"
54PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" 56PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom"
55# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+ 57# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+
56PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire-0.2" 58PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire"
57PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm" 59PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm"
58PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" 60PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof"
59PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" 61PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification"
60PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland wayland-native, xwayland"
61PACKAGECONFIG[wayland-eglstream] = "-Dwayland_eglstream=true,-Dwayland_eglstream=false"
62 62
63# yes they changed from mutter-4 -> mutter-5 recently so be perpared 63MUTTER_API_NAME = "mutter-9"
64MUTTER_API_NAME = "mutter-5"
65 64
66do_install:append() { 65do_install:append() {
67 # Add gir links in standard paths. That makes dependents life much easier 66 # Add gir links in standard paths. That makes dependents life much easier