diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-09 17:08:44 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-09 17:08:44 +0100 |
commit | 2ddd5a8c596c59fe2e95ed177e42306bbd7a0502 (patch) | |
tree | 3fde816c06c783a90b960a8d79a025c748cf3100 /meta-moblin | |
parent | 9c00056521d6ec520b022871ba03b84997d091fe (diff) | |
download | poky-2ddd5a8c596c59fe2e95ed177e42306bbd7a0502.tar.gz |
packagekit: Make sure connman is used, not network manager
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin')
-rw-r--r-- | meta-moblin/packages/packagekit/packagekit/no-nm.patch | 18 | ||||
-rw-r--r-- | meta-moblin/packages/packagekit/packagekit_0.4.9.bb | 7 |
2 files changed, 22 insertions, 3 deletions
diff --git a/meta-moblin/packages/packagekit/packagekit/no-nm.patch b/meta-moblin/packages/packagekit/packagekit/no-nm.patch new file mode 100644 index 0000000000..79592dc547 --- /dev/null +++ b/meta-moblin/packages/packagekit/packagekit/no-nm.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Index: PackageKit-0.4.9/configure.ac | ||
2 | =================================================================== | ||
3 | --- PackageKit-0.4.9.orig/configure.ac 2009-10-09 17:06:25.000000000 +0100 | ||
4 | +++ PackageKit-0.4.9/configure.ac 2009-10-09 17:06:48.000000000 +0100 | ||
5 | @@ -271,12 +271,7 @@ | ||
6 | dnl - Is NetworkManager available? | ||
7 | dnl --------------------------------------------------------------------------- | ||
8 | PKG_CHECK_MODULES(LIBNM, libnm_glib >= $LIBNM_GLIB_REQUIRED, PK_BUILD_NETWORKMANAGER="yes", PK_BUILD_NETWORKMANAGER="no") | ||
9 | -if test "x$PK_BUILD_NETWORKMANAGER" = "xyes"; then | ||
10 | - networking_apis="${networking_apis},NetworkManager" | ||
11 | - AC_DEFINE(PK_BUILD_NETWORKMANAGER, 1, [define if NetworkManager is installed]) | ||
12 | -else | ||
13 | - PK_BUILD_NETWORKMANAGER=no | ||
14 | -fi | ||
15 | +PK_BUILD_NETWORKMANAGER=no | ||
16 | |||
17 | AM_CONDITIONAL(PK_BUILD_NETWORKMANAGER, test x$PK_BUILD_NETWORKMANAGER = xyes) | ||
18 | AC_SUBST(LIBNM_CFLAGS) | ||
diff --git a/meta-moblin/packages/packagekit/packagekit_0.4.9.bb b/meta-moblin/packages/packagekit/packagekit_0.4.9.bb index c2f075d21f..ce1f5702bb 100644 --- a/meta-moblin/packages/packagekit/packagekit_0.4.9.bb +++ b/meta-moblin/packages/packagekit/packagekit_0.4.9.bb | |||
@@ -2,14 +2,15 @@ DESCRIPTION = "PackageKit package management abstraction" | |||
2 | SECTION = "libs" | 2 | SECTION = "libs" |
3 | PRIORITY = "optional" | 3 | PRIORITY = "optional" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)" | 5 | DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1) connman" |
6 | RDEPENDS_${PN} = "opkg" | 6 | RDEPENDS_${PN} = "opkg" |
7 | 7 | ||
8 | inherit gnome autotools_stage | 8 | inherit gnome autotools_stage |
9 | 9 | ||
10 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \ | 10 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \ |
11 | file://no_validate.patch;patch=1" | 11 | file://no_validate.patch;patch=1 \ |
12 | PR = "r2" | 12 | file://no-nm.patch;patch=1" |
13 | PR = "r3" | ||
13 | PE = "1" | 14 | PE = "1" |
14 | 15 | ||
15 | S = "${WORKDIR}/PackageKit-${PV}" | 16 | S = "${WORKDIR}/PackageKit-${PV}" |