summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-02-28 16:48:06 +0100
committerKhem Raj <raj.khem@gmail.com>2023-04-06 22:38:34 -0700
commit4b78dc1c44f15810095352ceffd0b94b1400890e (patch)
treeaecf88d11e1409b9950be54efff4e1995454e422
parent08a95252e8ff6a4d5183b5f4b831d6e65fcb1d7f (diff)
downloadmeta-openembedded-4b78dc1c44f15810095352ceffd0b94b1400890e.tar.gz
libdecor: update 1.1.0 -> 1.1.99
libdecor is needed under wayland for compositors that require client-side decoration (gnome/weston). Its consumers at the moment are at least libsdl2 and blender. Upstream has added a plugin for gtk. This is quite a useful feature, since programs that use libdecor don't fit well into gtk otherwise. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/libdecor/libdecor/0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch31
-rw-r--r--meta-oe/recipes-graphics/libdecor/libdecor_0.1.99.bb (renamed from meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb)23
2 files changed, 44 insertions, 10 deletions
diff --git a/meta-oe/recipes-graphics/libdecor/libdecor/0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch b/meta-oe/recipes-graphics/libdecor/libdecor/0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch
new file mode 100644
index 0000000000..c9d63c9079
--- /dev/null
+++ b/meta-oe/recipes-graphics/libdecor/libdecor/0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch
@@ -0,0 +1,31 @@
1From fb6eb15b34b5b07a431bb4c3585341411a3e088f Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Tue, 28 Feb 2023 13:42:18 +0100
4Subject: [PATCH] libdecor-gtk.c: dont skip for conflicting_symbols
5
6This is a hack that should be removed, once the underlying bug in glibc was fixed and
7libdecor was updated to use dlmopen() instead of dlopen()
8
9https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/47
10https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/44
11
12---
13 src/plugins/gtk/libdecor-gtk.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/plugins/gtk/libdecor-gtk.c b/src/plugins/gtk/libdecor-gtk.c
17index 228161e..fd91afb 100644
18--- a/src/plugins/gtk/libdecor-gtk.c
19+++ b/src/plugins/gtk/libdecor-gtk.c
20@@ -2606,7 +2606,7 @@ libdecor_plugin_description = {
21 .priorities = priorities,
22 .constructor = libdecor_plugin_new,
23 .conflicting_symbols = {
24- "png_free",
25+ //"png_free",
26 NULL,
27 },
28 };
29--
302.34.1
31
diff --git a/meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb b/meta-oe/recipes-graphics/libdecor/libdecor_0.1.99.bb
index 4e396d83e9..ed0b05f41f 100644
--- a/meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb
+++ b/meta-oe/recipes-graphics/libdecor/libdecor_0.1.99.bb
@@ -2,25 +2,28 @@ SUMMARY = "libdecor - A client-side decorations library for Wayland clients"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7"
4 4
5SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=master" 5SRC_URI = " \
6 git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \
7 file://0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch \
8"
6 9
7DEPENDS = " \ 10DEPENDS = " \
8 cairo \ 11 cairo \
9 pango \ 12 pango \
10 wayland \ 13 wayland \
11 wayland-native \ 14 wayland-native \
12 wayland-protocols \ 15 wayland-protocols \
13" 16"
14 17
15S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
16SRCREV = "e87dcfdaf83f332fa83b43c804fcf93c151ff0f5" 19SRCREV = "a254d0c2ff0cbfcf0bbf14cc67cc403640880c01"
17 20
18PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk3 opengl', d)}" 21PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}"
19 22
20PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" 23PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus"
21PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon" 24PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon"
22PACKAGECONFIG[gtk3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" 25PACKAGECONFIG[install_demo] = "-Dinstall_demo=true,-Dinstall_demo=false"
23PACKAGECONFIG[opengl] = ",,virtual/libgl" 26PACKAGECONFIG[gtk+3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
24 27
25inherit meson pkgconfig 28inherit meson pkgconfig
26 29