diff options
| author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2026-03-24 20:59:16 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-24 09:13:50 -0700 |
| commit | e6f07da735d1b27e4daf6757b5d195ee544efdbf (patch) | |
| tree | 4d5efaf35a3ea339bb53186bd3af28ace08c602d /meta-xfce | |
| parent | ce095be12830e4cdce400c7b600e6e9a33a05084 (diff) | |
| download | meta-openembedded-e6f07da735d1b27e4daf6757b5d195ee544efdbf.tar.gz | |
xfce4-power-manager: upgrade 4.20.0 -> 4.21.1
ChangeLog:
https://gitlab.xfce.org/xfce/xfce4-power-manager/-/blob/xfce4-power-manager-4.21.1/NEWS?ref_type=tags
Add patch to fix absolute buildpath in generated enum files.
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-xfce')
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch | 36 | ||||
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.21.1.bb (renamed from meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb) | 13 |
2 files changed, 42 insertions, 7 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch b/meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch new file mode 100644 index 0000000000..0d3457e404 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 3f69abae74f4c0ad41c8fa2886148db834ddb9f1 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:46:52 +0100 | ||
| 4 | Subject: [PATCH] build: Do not display full path in generated headers | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/3f69abae74f4c0ad41c8fa2886148db834ddb9f1] | ||
| 7 | |||
| 8 | Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 9 | --- | ||
| 10 | common/meson.build | 4 ++-- | ||
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/common/meson.build b/common/meson.build | ||
| 14 | index 7f71309f..cdae226f 100644 | ||
| 15 | --- a/common/meson.build | ||
| 16 | +++ b/common/meson.build | ||
| 17 | @@ -37,7 +37,7 @@ common_sources += gnome.mkenums( | ||
| 18 | install_header: false, | ||
| 19 | sources: 'xfpm-enum-glib.h', | ||
| 20 | fhead: '#ifndef _XFPM_ENUM_TYPES_H\n#define _XFPM_ENUM_TYPES_H\n#include <glib-object.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);\n#define XFPM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', | ||
| 24 | ftail: 'G_END_DECLS\n\n#endif /* _XFPM_ENUM_TYPES_H__ */', | ||
| 25 | ) | ||
| 26 | @@ -46,7 +46,7 @@ common_sources += gnome.mkenums( | ||
| 27 | install_header: false, | ||
| 28 | sources: 'xfpm-enum-glib.h', | ||
| 29 | fhead: '#include "xfpm-enum-types.h"\n#include "xfpm-enum-glib.h"\n\n', | ||
| 30 | - fprod: '\n/* enumerations from "@filename@" */\n', | ||
| 31 | + fprod: '\n/* enumerations from "@basename@" */\n', | ||
| 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 | -- | ||
| 36 | 2.34.1 | ||
diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.21.1.bb index c6eed849be..65b8f84e27 100644 --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.21.1.bb | |||
| @@ -11,18 +11,17 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
| 11 | 11 | ||
| 12 | DEPENDS += "libnotify libxrandr virtual/libx11 libxext xfce4-panel upower libxscrnsaver" | 12 | DEPENDS += "libnotify libxrandr virtual/libx11 libxext xfce4-panel upower libxscrnsaver" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "971391cef63352833bdd92df28957392e17e1f2b3d486c0f57294fd204d6ed29" | 14 | XFCE_COMPRESS_TYPE = "xz" |
| 15 | XFCEBASEBUILDCLASS = "meson" | ||
| 15 | 16 | ||
| 16 | EXTRA_OECONF = " \ | 17 | SRC_URI += "file://0001-build-Do-not-display-full-path-in-generated-headers.patch" |
| 17 | GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ | 18 | SRC_URI[sha256sum] = "bb89be7b1be431b29e765e2c632e98fb20a688e495e4ef18495bd70c1524767a" |
| 18 | --enable-panel-plugins \ | ||
| 19 | " | ||
| 20 | 19 | ||
| 21 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ | 20 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ |
| 22 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | 21 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ |
| 23 | " | 22 | " |
| 24 | PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" | 23 | PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" |
| 25 | PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" | 24 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native" |
| 26 | 25 | ||
| 27 | PACKAGES += "xfce4-powermanager-plugin" | 26 | PACKAGES += "xfce4-powermanager-plugin" |
| 28 | 27 | ||
