summaryrefslogtreecommitdiff
path: root/meta/packages/packkagekit
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-04 21:46:02 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-04 21:46:02 +0000
commit4b0098b26111909ba8a6f5a1c1795bf275cc8346 (patch)
tree1e328e1210e453f7804e459c3a8e4adab4b4e205 /meta/packages/packkagekit
parent76e51a83e1af6c95a8ba780d8d543ddda52e1597 (diff)
downloadopenembedded-core-4b0098b26111909ba8a6f5a1c1795bf275cc8346.tar.gz
openembedded-core-4b0098b26111909ba8a6f5a1c1795bf275cc8346.tar.bz2
openembedded-core-4b0098b26111909ba8a6f5a1c1795bf275cc8346.tar.xz
openembedded-core-4b0098b26111909ba8a6f5a1c1795bf275cc8346.zip
packagekit: Fix DEPENDS and configure
Diffstat (limited to 'meta/packages/packkagekit')
-rw-r--r--meta/packages/packkagekit/files/no_validate.patch21
-rw-r--r--meta/packages/packkagekit/packagekit_0.3.8.bb9
2 files changed, 26 insertions, 4 deletions
diff --git a/meta/packages/packkagekit/files/no_validate.patch b/meta/packages/packkagekit/files/no_validate.patch
new file mode 100644
index 000000000..f987b567d
--- /dev/null
+++ b/meta/packages/packkagekit/files/no_validate.patch
@@ -0,0 +1,21 @@
+Index: PackageKit-0.3.8/configure.ac
+===================================================================
+--- PackageKit-0.3.8.orig/configure.ac 2008-11-04 21:37:17.000000000 +0000
++++ PackageKit-0.3.8/configure.ac 2008-11-04 21:37:57.000000000 +0000
+@@ -451,11 +451,11 @@
+ polkit-grant >= $POLKIT_GRANT_REQUIRED)
+ AC_SUBST(POLKIT_CFLAGS)
+ AC_SUBST(POLKIT_LIBS)
+- AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
+- [polkit-policy-file-validate], [polkit-policy-file-validate])
+- if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
+- AC_MSG_ERROR([polkit-policy-file-validate not found])
+- fi
++ #AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
++ # [polkit-policy-file-validate], [polkit-policy-file-validate])
++ #if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
++ # AC_MSG_ERROR([polkit-policy-file-validate not found])
++ #fi
+ AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit])
+ elif test x$with_security_framework = xdummy; then
+ AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework])
diff --git a/meta/packages/packkagekit/packagekit_0.3.8.bb b/meta/packages/packkagekit/packagekit_0.3.8.bb
index ccac51c01..7d25d9db1 100644
--- a/meta/packages/packkagekit/packagekit_0.3.8.bb
+++ b/meta/packages/packkagekit/packagekit_0.3.8.bb
@@ -1,10 +1,11 @@
HOMEPAGE = "http://www.packagekit.org/"
-PR = "r4"
+PR = "r5"
-SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz"
+SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz \
+ file://no_validate.patch;patch=1 "
-DEPENDS = "python polkit pam opkg-sdk"
-EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local"
+DEPENDS = "python polkit pam"
+EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local --with-security-framework=polkit"
S = "${WORKDIR}/PackageKit-${PV}"