diff options
| author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2026-03-24 20:59:13 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-24 09:13:50 -0700 |
| commit | d53cf72483523ac98dc9628cbda5a139fe9c9501 (patch) | |
| tree | 878964cb3705282798c77b41cee10688fab1abcb | |
| parent | 7880b218919a35f5f8b1ec4a011aca6c7bcc5272 (diff) | |
| download | meta-openembedded-d53cf72483523ac98dc9628cbda5a139fe9c9501.tar.gz | |
libxfce4ui: upgrade 4.20.2 -> 4.21.7
ChangeLog:
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.7
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.6
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.5
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.4
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.3
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.2
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.1
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.0
Backport upstream patch to fix full buildpath in headers issues.
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch | 38 | ||||
| -rw-r--r-- | meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb (renamed from meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb) | 25 |
2 files changed, 50 insertions, 13 deletions
diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch new file mode 100644 index 0000000000..c7ea1e6fe9 --- /dev/null +++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From b8bf147d621739a1b8a4d1cc8398d1c90288e9d6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org> | ||
| 3 | Date: Mon, 16 Mar 2026 16:21:51 +0100 | ||
| 4 | Subject: [PATCH] build: Do not display full path in generated headers | ||
| 5 | |||
| 6 | Fixes: #144 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://gitlab.xfce.org/xfce/libxfce4ui/-/commit/b8bf147d621739a1b8a4d1cc8398d1c90288e9d6] | ||
| 9 | |||
| 10 | Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 11 | --- | ||
| 12 | libxfce4ui/meson.build | 4 ++-- | ||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/libxfce4ui/meson.build b/libxfce4ui/meson.build | ||
| 16 | index 8cac84eb..ca5ac927 100644 | ||
| 17 | --- a/libxfce4ui/meson.build | ||
| 18 | +++ b/libxfce4ui/meson.build | ||
| 19 | @@ -102,7 +102,7 @@ libxfce4ui_enums += gnome.mkenums( | ||
| 20 | install_dir: libxfce4ui_install_dir, | ||
| 21 | sources: libxfce4ui_enum_headers, | ||
| 22 | fhead: '#if !defined(_LIBXFCE4UI_INSIDE_LIBXFCE4UI_H) && !defined(LIBXFCE4UI_COMPILATION)\n#error "Only <libxfce4ui/libxfce4ui.h> can be included directly, this file is not part of the public API."\n#endif\n\n#ifndef __LIBXFCE4UI_ENUM_TYPES_H__\n#define __LIBXFCE4UI_ENUM_TYPES_H__\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n\n', | ||
| 23 | - fprod: '/* enumerations from "@filename@" */\n\n', | ||
| 24 | + fprod: '/* enumerations from "@basename@" */\n\n', | ||
| 25 | vhead: 'GType @enum_name@_get_type(void) G_GNUC_CONST;\n#define XFCE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n\n', | ||
| 26 | ftail: 'G_END_DECLS\n\n#endif /* !__LIBXFCE4UI_ENUM_TYPES_H__ */', | ||
| 27 | ) | ||
| 28 | @@ -111,7 +111,7 @@ libxfce4ui_enums += gnome.mkenums( | ||
| 29 | install_header: false, | ||
| 30 | sources: libxfce4ui_enum_headers, | ||
| 31 | fhead: '#include "libxfce4ui-enums.h"\n#include "xfce-gtk-extensions.h"\n#include "libxfce4ui-enum-types.h"\n#include "libxfce4ui-visibility.h"\n\n', | ||
| 32 | - fprod: '/* enumerations from "@filename@" */\n\n', | ||
| 33 | + fprod: '/* enumerations from "@basename@" */\n\n', | ||
| 34 | vhead: 'GType\n@enum_name@_get_type(void)\n{\n static GType type = 0;\n\n if(!type) {\n static const G@Type@Value values[] = {', | ||
| 35 | vprod: ' { @VALUENAME@, "@VALUENAME@", "@valuenick@" },', | ||
| 36 | vtail: ' { 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static("@EnumName@", values);\n }\n\n return type;\n}\n\n', | ||
| 37 | -- | ||
| 38 | 2.34.1 | ||
diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb index a0be1f6067..e672eae540 100644 --- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb +++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb | |||
| @@ -5,29 +5,28 @@ LICENSE = "LGPL-2.0-or-later" | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db" |
| 6 | DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf" | 6 | DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf" |
| 7 | 7 | ||
| 8 | XFCE_COMPRESS_TYPE = "xz" | ||
| 9 | XFCEBASEBUILDCLASS = "meson" | ||
| 10 | |||
| 8 | inherit xfce gtk-doc gobject-introspection features_check | 11 | inherit xfce gtk-doc gobject-introspection features_check |
| 9 | 12 | ||
| 13 | # libxfce4ui uses 'gtk-doc' instead of 'docs' for meson option | ||
| 14 | GTKDOC_MESON_OPTION = "gtk-doc" | ||
| 15 | |||
| 10 | # xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. | 16 | # xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. |
| 11 | # cairo would at least needed to be built with xlib. | 17 | # cairo would at least needed to be built with xlib. |
| 12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 18 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 13 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','opengl', "", d)}" | 19 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','opengl', "", d)}" |
| 14 | 20 | ||
| 15 | # TODO: Check if 0001-... can go | 21 | # TODO: Check if 0001-... can go |
| 16 | SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" | 22 | SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \ |
| 17 | SRC_URI[sha256sum] = "5d3d67b1244a10cee0e89b045766c05fe1035f7938f0410ac6a3d8222b5df907" | 23 | file://0001-build-Do-not-display-full-path-in-generated-headers.patch \ |
| 24 | " | ||
| 25 | SRC_URI[sha256sum] = "a72a7af39cf183819bcfb61b1747d425261e966ccb172b2fc28f1494f524bd17" | ||
| 18 | 26 | ||
| 19 | EXTRA_OECONF += "--with-vendor-info=${DISTRO}" | 27 | EXTRA_OEMESON = "-Dvala=disabled -Dvendor-info=${DISTRO}" |
| 20 | EXTRA_OECONF += "--disable-vala" | ||
| 21 | 28 | ||
| 22 | PACKAGECONFIG ??= " \ | 29 | PACKAGECONFIG ??= " \ |
| 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \ |
| 24 | " | 31 | " |
| 25 | PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" | 32 | PACKAGECONFIG[x11] = "-Dstartup-notification=enabled,-Dstartup-notification=disabled,libepoxy libice libsm startup-notification" |
| 26 | PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" | ||
| 27 | |||
| 28 | |||
| 29 | PACKAGES += "${PN}-glade" | ||
| 30 | FILES:${PN}-glade = " \ | ||
| 31 | ${libdir}/glade \ | ||
| 32 | ${datadir}/glade \ | ||
| 33 | " | ||
