diff options
Diffstat (limited to 'meta-xfce/recipes-xfce/xfce4-panel/files')
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch b/meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch new file mode 100644 index 0000000000..34ec80b47e --- /dev/null +++ b/meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 61f40b65637695abe9d9e2f80ca99d3c076c96e8 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:31:23 +0100 | ||
| 4 | Subject: [PATCH] build: Do not display full path in generated headers | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-panel/-/commit/61f40b65637695abe9d9e2f80ca99d3c076c96e8] | ||
| 7 | |||
| 8 | Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 9 | --- | ||
| 10 | libxfce4panel/meson.build | 4 ++-- | ||
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/libxfce4panel/meson.build b/libxfce4panel/meson.build | ||
| 14 | index 38d8ad198..3fee75d58 100644 | ||
| 15 | --- a/libxfce4panel/meson.build | ||
| 16 | +++ b/libxfce4panel/meson.build | ||
| 17 | @@ -67,7 +67,7 @@ libpanel_enums += gnome.mkenums( | ||
| 18 | install_dir: libpanel_install_dir, | ||
| 19 | sources: libpanel_headers, | ||
| 20 | fhead: '#if !defined(_LIBXFCE4PANEL_INSIDE_LIBXFCE4PANEL_H) && !defined(LIBXFCE4PANEL_COMPILATION)\n#error "Only <libxfce4panel/libxfce4panel.h> can be included directly, this file may disappear or change contents"\n#endif\n\n#ifndef __LIBXFCE4PANEL_ENUM_TYPES_H__\n#define __LIBXFCE4PANEL_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) G_GNUC_CONST;\n#define XFCE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', | ||
| 24 | ftail: 'G_END_DECLS\n\n#endif /* !__LIBXFCE4PANEL_ENUM_TYPES_H__ */', | ||
| 25 | ) | ||
| 26 | @@ -76,7 +76,7 @@ libpanel_enums += gnome.mkenums( | ||
| 27 | install_header: false, | ||
| 28 | sources: libpanel_headers, | ||
| 29 | fhead: '#include "libxfce4panel-enums.h"\n#include "libxfce4panel-enum-types.h"\n\n#include "libxfce4panel-visibility.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 | -- | ||
| 36 | 2.34.1 | ||
