diff options
| -rw-r--r-- | meta-oe/recipes-graphics/libdecor/libdecor/0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch | 31 | ||||
| -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 @@ | |||
| 1 | From fb6eb15b34b5b07a431bb4c3585341411a3e088f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Tue, 28 Feb 2023 13:42:18 +0100 | ||
| 4 | Subject: [PATCH] libdecor-gtk.c: dont skip for conflicting_symbols | ||
| 5 | |||
| 6 | This is a hack that should be removed, once the underlying bug in glibc was fixed and | ||
| 7 | libdecor was updated to use dlmopen() instead of dlopen() | ||
| 8 | |||
| 9 | https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/47 | ||
| 10 | https://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 | |||
| 16 | diff --git a/src/plugins/gtk/libdecor-gtk.c b/src/plugins/gtk/libdecor-gtk.c | ||
| 17 | index 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 | -- | ||
| 30 | 2.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" | |||
| 2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=master" | 5 | SRC_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 | ||
| 7 | DEPENDS = " \ | 10 | DEPENDS = " \ |
| 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 | ||
| 15 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 16 | SRCREV = "e87dcfdaf83f332fa83b43c804fcf93c151ff0f5" | 19 | SRCREV = "a254d0c2ff0cbfcf0bbf14cc67cc403640880c01" |
| 17 | 20 | ||
| 18 | PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk3 opengl', d)}" | 21 | PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}" |
| 19 | 22 | ||
| 20 | PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" | 23 | PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" |
| 21 | PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon" | 24 | PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon" |
| 22 | PACKAGECONFIG[gtk3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" | 25 | PACKAGECONFIG[install_demo] = "-Dinstall_demo=true,-Dinstall_demo=false" |
| 23 | PACKAGECONFIG[opengl] = ",,virtual/libgl" | 26 | PACKAGECONFIG[gtk+3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" |
| 24 | 27 | ||
| 25 | inherit meson pkgconfig | 28 | inherit meson pkgconfig |
| 26 | 29 | ||
