summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-xfce/xfce4-settings
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-xfce/xfce4-settings')
-rw-r--r--meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch36
-rw-r--r--meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.21.1.bb (renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.1.bb)17
2 files changed, 44 insertions, 9 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch b/meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
new file mode 100644
index 0000000000..50006b1710
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
@@ -0,0 +1,36 @@
1From 93fa2ed9a987c0f03c9f5aa0f31cb770d1cc5f17 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
3Date: Mon, 16 Mar 2026 16:44:43 +0100
4Subject: [PATCH] build: Do not display full path in generated headers
5
6Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-settings/-/commit/93fa2ed9a987c0f03c9f5aa0f31cb770d1cc5f17]
7
8Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
9---
10 dialogs/mime-settings/meson.build | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/dialogs/mime-settings/meson.build b/dialogs/mime-settings/meson.build
14index b7ca8dc7..5ac9a936 100644
15--- a/dialogs/mime-settings/meson.build
16+++ b/dialogs/mime-settings/meson.build
17@@ -30,7 +30,7 @@ enums += gnome.mkenums(
18 install_header: false,
19 sources: 'xfce-mime-helper.h',
20 fhead: '#ifndef __XFCE_MIME_HELPER_ENUM_TYPES_H__\n#define __XFCE_MIME_HELPER_ENUM_TYPES_H__\n#include <libxfce4ui/libxfce4ui.h>\nG_BEGIN_DECLS\n',
21- fprod: '/* enumerations from "@filename@" */\n',
22+ fprod: '/* enumerations from "@basename@" */\n',
23 vhead: 'GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define XFCE_MIME_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n',
24 ftail: 'G_END_DECLS\n\n#endif /* !__XFCE_MIME_HELPER_ENUM_TYPES_H__ */',
25 )
26@@ -39,7 +39,7 @@ enums += gnome.mkenums(
27 install_header: false,
28 sources: 'xfce-mime-helper.h',
29 fhead: '#undef GTK_DISABLE_DEPRECATED\n#define GTK_ENABLE_BROKEN\n#include "xfce-mime-helper.h"\n\n#include "xfce-mime-helper-enum-types.h"',
30- fprod: '\n/* enumerations from "@filename@" */',
31+ fprod: '\n/* enumerations from "@basename@" */',
32 vhead: 'GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {',
33 vprod: '\t{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },',
34 vtail: '\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static ("@EnumName@", values);\n }\n\treturn type;\n}\n',
35--
362.51.2
diff --git a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.1.bb b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.21.1.bb
index 1330206a8a..16b90840c7 100644
--- a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.1.bb
+++ b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.21.1.bb
@@ -5,25 +5,24 @@ LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" 6DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower"
7 7
8XFCE_COMPRESS_TYPE = "xz"
9XFCEBASEBUILDCLASS = "meson"
10
8inherit xfce features_check mime-xdg 11inherit xfce features_check mime-xdg
9 12
10REQUIRED_DISTRO_FEATURES = "x11" 13REQUIRED_DISTRO_FEATURES = "x11"
11 14
12SRC_URI[sha256sum] = "fd0d602853ea75d94024e5baae2d2bf5ca8f8aa4dad7bfd5d08f9ff8afee77b2" 15SRC_URI += "file://0001-build-Do-not-display-full-path-in-generated-headers.patch"
13 16SRC_URI[sha256sum] = "e57a33d0bb9d63d0ef6f469c2d42cbf66e37d9127cc204de411b7385274e26d0"
14EXTRA_OECONF += " \
15 GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
16 --enable-maintainer-mode --disable-debug \
17"
18 17
19PACKAGECONFIG ??= " \ 18PACKAGECONFIG ??= " \
20 notify \ 19 notify \
21 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ 20 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
22 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ 21 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
23" 22"
24PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" 23PACKAGECONFIG[notify] = "-Dlibnotify=enabled,-Dlibnotify=disabled,libnotify"
25PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra sound-theme-freedesktop" 24PACKAGECONFIG[sound-setter] = "-Dsound-settings=true,-Dsound-settings=false,libcanberra,libcanberra sound-theme-freedesktop"
26PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" 25PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native"
27 26
28FILES:${PN} += " \ 27FILES:${PN} += " \
29 ${libdir}/xfce4 \ 28 ${libdir}/xfce4 \