mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
08a95252e8
commit
4b78dc1c44
|
|
@ -0,0 +1,31 @@
|
|||
From fb6eb15b34b5b07a431bb4c3585341411a3e088f Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Tue, 28 Feb 2023 13:42:18 +0100
|
||||
Subject: [PATCH] libdecor-gtk.c: dont skip for conflicting_symbols
|
||||
|
||||
This is a hack that should be removed, once the underlying bug in glibc was fixed and
|
||||
libdecor was updated to use dlmopen() instead of dlopen()
|
||||
|
||||
https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/47
|
||||
https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/44
|
||||
|
||||
---
|
||||
src/plugins/gtk/libdecor-gtk.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/plugins/gtk/libdecor-gtk.c b/src/plugins/gtk/libdecor-gtk.c
|
||||
index 228161e..fd91afb 100644
|
||||
--- a/src/plugins/gtk/libdecor-gtk.c
|
||||
+++ b/src/plugins/gtk/libdecor-gtk.c
|
||||
@@ -2606,7 +2606,7 @@ libdecor_plugin_description = {
|
||||
.priorities = priorities,
|
||||
.constructor = libdecor_plugin_new,
|
||||
.conflicting_symbols = {
|
||||
- "png_free",
|
||||
+ //"png_free",
|
||||
NULL,
|
||||
},
|
||||
};
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
|
@ -2,25 +2,28 @@ SUMMARY = "libdecor - A client-side decorations library for Wayland clients"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7"
|
||||
|
||||
SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=master"
|
||||
SRC_URI = " \
|
||||
git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \
|
||||
file://0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch \
|
||||
"
|
||||
|
||||
DEPENDS = " \
|
||||
cairo \
|
||||
pango \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
cairo \
|
||||
pango \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "e87dcfdaf83f332fa83b43c804fcf93c151ff0f5"
|
||||
SRCREV = "a254d0c2ff0cbfcf0bbf14cc67cc403640880c01"
|
||||
|
||||
PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk3 opengl', d)}"
|
||||
PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}"
|
||||
|
||||
PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus"
|
||||
PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon"
|
||||
PACKAGECONFIG[gtk3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
|
||||
PACKAGECONFIG[opengl] = ",,virtual/libgl"
|
||||
PACKAGECONFIG[install_demo] = "-Dinstall_demo=true,-Dinstall_demo=false"
|
||||
PACKAGECONFIG[gtk+3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user