diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-01-27 13:27:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-08 00:50:28 +0000 |
commit | 7d9ac1db134f30550bc31a08c0040339539cd1e3 (patch) | |
tree | aba4a9db585784e6b29cfc026e6c17d3d5cf5eab /meta | |
parent | fd2983e5fc45849a4381a88045c1f0cec9ac9685 (diff) | |
download | poky-7d9ac1db134f30550bc31a08c0040339539cd1e3.tar.gz |
gconf,consolekit: Avoid polkit when compiling with uclibc
polkit uses netdb functionality from glibc which is not
available in uclibc therefore we avoid polkit when compiling
for uclibc systems.
(From OE-Core rev: 7eae02f47a08587cf5be3d39df0184cf346cbaea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-gnome/gnome/gconf_3.2.3.bb | 9 | ||||
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.5.bb | 11 |
2 files changed, 15 insertions, 5 deletions
diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb index 412f01c86f..a0b8d0c632 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.3.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb | |||
@@ -3,10 +3,13 @@ SECTION = "x11/gnome" | |||
3 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
5 | 5 | ||
6 | DEPENDS = "glib-2.0 gtk+ dbus dbus-glib libxml2 intltool-native polkit" | 6 | POLKIT = "polkit" |
7 | POLKIT_libc-uclibc = "" | ||
8 | |||
9 | DEPENDS = "glib-2.0 gtk+ dbus dbus-glib libxml2 intltool-native ${POLKIT}" | ||
7 | DEPENDS_virtclass-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native" | 10 | DEPENDS_virtclass-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native" |
8 | 11 | ||
9 | PR = "r5" | 12 | PR = "r6" |
10 | 13 | ||
11 | inherit gnomebase | 14 | inherit gnomebase |
12 | 15 | ||
@@ -21,6 +24,8 @@ S = "${WORKDIR}/GConf-${PV}" | |||
21 | 24 | ||
22 | POLKIT_OECONF = "--enable-defaults-service" | 25 | POLKIT_OECONF = "--enable-defaults-service" |
23 | POLKIT_OECONF_virtclass-native = "--disable-defaults-service" | 26 | POLKIT_OECONF_virtclass-native = "--disable-defaults-service" |
27 | POLKIT_OECONF_libc-uclibc = "--disable-default-service" | ||
28 | |||
24 | GTKOECONF = "--with-gtk=2.0 --enable-gtk" | 29 | GTKOECONF = "--with-gtk=2.0 --enable-gtk" |
25 | GTKOECONF_virtclass-native = "--disable-gtk" | 30 | GTKOECONF_virtclass-native = "--disable-gtk" |
26 | EXTRA_OECONF = "--disable-gtk-doc --enable-shared --disable-static --enable-debug=yes \ | 31 | EXTRA_OECONF = "--disable-gtk-doc --enable-shared --disable-static --enable-debug=yes \ |
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb index 45f6ad35a9..3ded6df7c8 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb | |||
@@ -2,13 +2,18 @@ DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login | |||
2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" | 2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" |
3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" | 3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" |
4 | 4 | ||
5 | PR = "r7" | 5 | PR = "r8" |
6 | 6 | ||
7 | LICENSE = "GPLv2+" | 7 | LICENSE = "GPLv2+" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
9 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" | 9 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" |
10 | 10 | ||
11 | DEPENDS = "glib-2.0 dbus polkit ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 11 | POLKIT = "polkit" |
12 | POLKIT_libc-uclibc = "" | ||
13 | POLKITCONF = "" | ||
14 | POLKITCONF_libc-uclibc = "--disable-policykit" | ||
15 | |||
16 | DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
12 | RDEPENDS_${PN} += "base-files" | 17 | RDEPENDS_${PN} += "base-files" |
13 | 18 | ||
14 | inherit gnome | 19 | inherit gnome |
@@ -20,7 +25,7 @@ SRC_URI[sha256sum] = "43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b22368 | |||
20 | 25 | ||
21 | S = "${WORKDIR}/ConsoleKit-${PV}" | 26 | S = "${WORKDIR}/ConsoleKit-${PV}" |
22 | 27 | ||
23 | EXTRA_OECONF = "--with-systemdsystemunitdir=${base_libdir}/systemd/system/ \ | 28 | EXTRA_OECONF = "${POLKITCONF} --with-systemdsystemunitdir=${base_libdir}/systemd/system/ \ |
24 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${base_libdir}/security', '--disable-pam-module', d)} \ | 29 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${base_libdir}/security', '--disable-pam-module', d)} \ |
25 | " | 30 | " |
26 | 31 | ||