summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-09 17:08:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-10-09 17:08:44 +0100
commit2ddd5a8c596c59fe2e95ed177e42306bbd7a0502 (patch)
tree3fde816c06c783a90b960a8d79a025c748cf3100
parent9c00056521d6ec520b022871ba03b84997d091fe (diff)
downloadopenembedded-core-2ddd5a8c596c59fe2e95ed177e42306bbd7a0502.tar.gz
openembedded-core-2ddd5a8c596c59fe2e95ed177e42306bbd7a0502.tar.bz2
openembedded-core-2ddd5a8c596c59fe2e95ed177e42306bbd7a0502.tar.xz
openembedded-core-2ddd5a8c596c59fe2e95ed177e42306bbd7a0502.zip
packagekit: Make sure connman is used, not network manager
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta-moblin/packages/packagekit/packagekit/no-nm.patch18
-rw-r--r--meta-moblin/packages/packagekit/packagekit_0.4.9.bb7
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 000000000..79592dc54
--- /dev/null
+++ b/meta-moblin/packages/packagekit/packagekit/no-nm.patch
@@ -0,0 +1,18 @@
+Index: PackageKit-0.4.9/configure.ac
+===================================================================
+--- PackageKit-0.4.9.orig/configure.ac 2009-10-09 17:06:25.000000000 +0100
++++ PackageKit-0.4.9/configure.ac 2009-10-09 17:06:48.000000000 +0100
+@@ -271,12 +271,7 @@
+ dnl - Is NetworkManager available?
+ dnl ---------------------------------------------------------------------------
+ PKG_CHECK_MODULES(LIBNM, libnm_glib >= $LIBNM_GLIB_REQUIRED, PK_BUILD_NETWORKMANAGER="yes", PK_BUILD_NETWORKMANAGER="no")
+-if test "x$PK_BUILD_NETWORKMANAGER" = "xyes"; then
+- networking_apis="${networking_apis},NetworkManager"
+- AC_DEFINE(PK_BUILD_NETWORKMANAGER, 1, [define if NetworkManager is installed])
+-else
+- PK_BUILD_NETWORKMANAGER=no
+-fi
++PK_BUILD_NETWORKMANAGER=no
+
+ AM_CONDITIONAL(PK_BUILD_NETWORKMANAGER, test x$PK_BUILD_NETWORKMANAGER = xyes)
+ 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 c2f075d21..ce1f5702b 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"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
+DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1) connman"
RDEPENDS_${PN} = "opkg"
inherit gnome autotools_stage
SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
- file://no_validate.patch;patch=1"
-PR = "r2"
+ file://no_validate.patch;patch=1 \
+ file://no-nm.patch;patch=1"
+PR = "r3"
PE = "1"
S = "${WORKDIR}/PackageKit-${PV}"