summaryrefslogtreecommitdiffstats
path: root/meta-moblin
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 /meta-moblin
parent9c00056521d6ec520b022871ba03b84997d091fe (diff)
downloadpoky-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.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 0000000000..79592dc547
--- /dev/null
+++ b/meta-moblin/packages/packagekit/packagekit/no-nm.patch
@@ -0,0 +1,18 @@
1Index: 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"
2SECTION = "libs" 2SECTION = "libs"
3PRIORITY = "optional" 3PRIORITY = "optional"
4LICENSE = "GPL" 4LICENSE = "GPL"
5DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)" 5DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1) connman"
6RDEPENDS_${PN} = "opkg" 6RDEPENDS_${PN} = "opkg"
7 7
8inherit gnome autotools_stage 8inherit gnome autotools_stage
9 9
10SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \ 10SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
11 file://no_validate.patch;patch=1" 11 file://no_validate.patch;patch=1 \
12PR = "r2" 12 file://no-nm.patch;patch=1"
13PR = "r3"
13PE = "1" 14PE = "1"
14 15
15S = "${WORKDIR}/PackageKit-${PV}" 16S = "${WORKDIR}/PackageKit-${PV}"