mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 15:33:57 +00:00
gnome-control-center: Fix polkit gettext issue
polkit.its and polkit.loc are taken from host. This should be fine as long as the host provides these files. At least on fedora 38 they are not installed by default and configure fails with: | ../gnome-control-center-45.0/meson.build:205:6: ERROR: Command `/home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/recipe-sysroot-native/usr/bin/nativepython3 /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/gnome-control-center-45.0/build-aux/meson/find_xdg_file.py gettext/its/polkit.its` failed with status 1. | | A full log can be found at /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/build/meson-logs/meson-log.txt | ERROR: meson failed | WARNING: /home/flk/poky/build/tmp/work/corei7-64-poky-linux/gnome-control-center/45.0/temp/run.do_configure.6974:182 exit 1 from 'exit 1' export XDG_DATA_DIRS to avoid this issue https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/meson.build?ref_type=heads#L203 https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/build-aux/meson/find_xdg_file.py?ref_type=heads Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 6ee4a15ce28b7f09fa80aad05276ad347a182cbd) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
d4a94d7966
commit
3724a3036b
@ -48,6 +48,8 @@ PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"
|
||||
|
||||
EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}"
|
||||
|
||||
export XDG_DATA_DIRS = "${STAGING_DATADIR}"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user