diff options
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch | 51 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb (renamed from meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_45.3.bb) | 2 |
2 files changed, 23 insertions, 30 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch index 7cd7c0469e..a2c237c187 100644 --- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch +++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch | |||
| @@ -1,57 +1,50 @@ | |||
| 1 | From ba8aebe1259ae3f7f5a4827e5a47bb95c568b218 Mon Sep 17 00:00:00 2001 | 1 | From 1a48df2a8da44410bbd767c2420d363f6180c79a Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: Markus Volk <f_l_k@t-online.de> |
| 3 | Date: Tue, 21 May 2019 16:07:46 +0200 | 3 | Date: Mon, 18 Mar 2024 05:50:21 +0100 |
| 4 | Subject: [PATCH] Add meson option to pass sysroot | 4 | Subject: [PATCH] Add meson option to pass sysroot |
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | 5 | ||
| 9 | We need to pass this to meson to help it finding gdesktop-enums.h: | 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> |
| 10 | |||
| 11 | | panels/background/meson.build:38:0: ERROR: File /usr/include/gsettings-desktop-schemas/gdesktop-enums.h does not exist. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate [OE specific] | ||
| 14 | |||
| 15 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 16 | --- | 7 | --- |
| 17 | meson_options.txt | 1 + | 8 | meson_options.txt | 1 + |
| 18 | panels/background/meson.build | 2 +- | 9 | panels/background/meson.build | 2 +- |
| 19 | 2 files changed, 2 insertions(+), 1 deletion(-) | 10 | panels/system/meson.build | 2 +- |
| 11 | 3 files changed, 3 insertions(+), 2 deletions(-) | ||
| 20 | 12 | ||
| 21 | diff --git a/meson_options.txt b/meson_options.txt | 13 | diff --git a/meson_options.txt b/meson_options.txt |
| 22 | index 8ee7b6e0e..7e6adc668 100644 | 14 | index e53d6e3f3..8fae4c824 100644 |
| 23 | --- a/meson_options.txt | 15 | --- a/meson_options.txt |
| 24 | +++ b/meson_options.txt | 16 | +++ b/meson_options.txt |
| 25 | @@ -1,3 +1,4 @@ | 17 | @@ -1,3 +1,4 @@ |
| 26 | +option('oe_sysroot', type: 'string', value: '', description: 'Directory for OE-sysroot') | 18 | +option('oe_sysroot', type: 'string', value: '', description: 'Directory for OE-sysroot') |
| 19 | option('deprecated-declarations', type: 'feature', value: 'disabled', description: 'build with deprecated declaration warnings') | ||
| 27 | option('documentation', type: 'boolean', value: false, description: 'build documentation') | 20 | option('documentation', type: 'boolean', value: false, description: 'build documentation') |
| 28 | option('ibus', type: 'boolean', value: true, description: 'build with IBus support') | 21 | option('ibus', type: 'boolean', value: true, description: 'build with IBus support') |
| 29 | option('privileged_group', type: 'string', value: 'wheel', description: 'name of group that has elevated permissions') | ||
| 30 | diff --git a/panels/background/meson.build b/panels/background/meson.build | 22 | diff --git a/panels/background/meson.build b/panels/background/meson.build |
| 31 | index 9bf543538..97f1e0117 100644 | 23 | index 6ced050f9..df1f80896 100644 |
| 32 | --- a/panels/background/meson.build | 24 | --- a/panels/background/meson.build |
| 33 | +++ b/panels/background/meson.build | 25 | +++ b/panels/background/meson.build |
| 34 | @@ -19,7 +19,7 @@ common_sources = [] | 26 | @@ -24,7 +24,7 @@ common_sources += gnome.mkenums_simple( |
| 35 | 27 | ||
| 36 | enums = 'gdesktop-enums-types' | 28 | enums = 'gdesktop-enums-types' |
| 37 | enums_header = files( | 29 | enums_header = files( |
| 38 | - gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', | 30 | - gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h' |
| 39 | + get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', | 31 | + get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h' |
| 40 | 'cc-background-item.h' | ||
| 41 | ) | 32 | ) |
| 42 | 33 | ||
| 43 | diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build | 34 | common_sources += gnome.mkenums( |
| 44 | index 8cb3b63f0..8c5a45e7c 100644 | 35 | diff --git a/panels/system/meson.build b/panels/system/meson.build |
| 45 | --- a/panels/datetime/meson.build | 36 | index 4fee82210..979332a0e 100644 |
| 46 | +++ b/panels/datetime/meson.build | 37 | --- a/panels/system/meson.build |
| 47 | @@ -37,7 +37,7 @@ sources = files( | 38 | +++ b/panels/system/meson.build |
| 39 | @@ -73,7 +73,7 @@ sources += gnome.compile_resources( | ||
| 40 | ) | ||
| 48 | 41 | ||
| 49 | enums = 'gdesktop-enums-types' | ||
| 50 | enums_header = files( | 42 | enums_header = files( |
| 51 | - gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', | 43 | - gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', |
| 52 | + get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', | 44 | + get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h', |
| 53 | 'cc-datetime-panel.h' | 45 | 'datetime/cc-datetime-page.h' |
| 54 | ) | 46 | ) |
| 55 | 47 | ||
| 56 | -- | 48 | -- |
| 57 | 2.34.1 | 49 | 2.44.0 |
| 50 | |||
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_45.3.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb index 96fe9c9ffd..53643c680b 100644 --- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_45.3.bb +++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb | |||
| @@ -38,7 +38,7 @@ inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is | |||
| 38 | REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11" | 38 | REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11" |
| 39 | 39 | ||
| 40 | SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch" | 40 | SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch" |
| 41 | SRC_URI[archive.sha256sum] = "b1e949c4e86c0624ec6a6ed0df09c9fae2b22983c1dca60ed86aec8ef0b24004" | 41 | SRC_URI[archive.sha256sum] = "25f67de05897868b2e97eaa0ecc986a408af08d4985c8a9da44f0d7bd8fea7a4" |
| 42 | 42 | ||
| 43 | PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" | 43 | PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" |
| 44 | PACKAGECONFIG[cups] = ",,cups,cups" | 44 | PACKAGECONFIG[cups] = ",,cups,cups" |
