From 4b0098b26111909ba8a6f5a1c1795bf275cc8346 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 4 Nov 2008 21:46:02 +0000 Subject: packagekit: Fix DEPENDS and configure --- meta/packages/packkagekit/files/no_validate.patch | 21 +++++++++++++++++++++ meta/packages/packkagekit/packagekit_0.3.8.bb | 9 +++++---- 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 meta/packages/packkagekit/files/no_validate.patch (limited to 'meta/packages/packkagekit') 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}" -- cgit v1.2.3