diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-06-25 21:14:06 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-06-25 14:21:48 -0700 |
commit | bf40fa739714cfda21d14b7bc192afe9c04d2be0 (patch) | |
tree | 8cc3b6f34674b6745601bae9eb31bcc0ae31dc8c /meta-xfce/recipes-xfce/xfce4-session | |
parent | dd26f651af4412daced08b5bbc1d604dab8809ea (diff) | |
download | meta-openembedded-bf40fa739714cfda21d14b7bc192afe9c04d2be0.tar.gz |
xfce4-session: optional support polkit
If polkit not in DISTRO_FEATURES, it failed
...
|ERROR: Nothing PROVIDES 'polkit' (but meta-openembedded/meta-xfce/recipes-xfce/
xfce4-session/xfce4-session_4.13.2.bb DEPENDS on or otherwise requires it)
|polkit was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES)
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xfce4-session', 'polkit']
...
Upstream optional support polkit:
https://github.com/xfce-mirror/xfce4-session/commit/560219ad500c73e0fc2c3d959f96bcb8e2a54556
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-xfce/recipes-xfce/xfce4-session')
-rw-r--r-- | meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.2.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.2.bb index dc44c4b0b..7f7888eed 100644 --- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.2.bb +++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.2.bb | |||
@@ -11,7 +11,6 @@ DEPENDS = " \ | |||
11 | libsm \ | 11 | libsm \ |
12 | libxfce4ui \ | 12 | libxfce4ui \ |
13 | libxfce4util \ | 13 | libxfce4util \ |
14 | polkit \ | ||
15 | virtual/libx11 \ | 14 | virtual/libx11 \ |
16 | xfconf \ | 15 | xfconf \ |
17 | " | 16 | " |
@@ -20,6 +19,9 @@ inherit xfce update-alternatives distro_features_check | |||
20 | 19 | ||
21 | REQUIRED_DISTRO_FEATURES = "x11" | 20 | REQUIRED_DISTRO_FEATURES = "x11" |
22 | 21 | ||
22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" | ||
23 | PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" | ||
24 | |||
23 | SRC_URI += " \ | 25 | SRC_URI += " \ |
24 | file://0001-configure.in-hard-code-path-to-iceauth.patch \ | 26 | file://0001-configure.in-hard-code-path-to-iceauth.patch \ |
25 | " | 27 | " |