packagekit: Fix DEPENDS and configure

This commit is contained in:
Richard Purdie 2008-11-04 21:46:02 +00:00
parent 76e51a83e1
commit 4b0098b261
3 changed files with 60 additions and 4 deletions

View File

@ -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])

View File

@ -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}"

View File

@ -0,0 +1,34 @@
padout should be compiled using the native compiler but isn't.
Disable this piece of documentation for now.
RP
Index: Linux-PAM-1.0.2/doc/specs/Makefile.am
===================================================================
--- Linux-PAM-1.0.2.orig/doc/specs/Makefile.am 2008-11-04 21:06:23.000000000 +0000
+++ Linux-PAM-1.0.2/doc/specs/Makefile.am 2008-11-04 21:07:06.000000000 +0000
@@ -2,21 +2,8 @@
# Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
#
-CLEANFILES = draft-morgan-pam-current.txt *~
+CLEANFILES = *~
-EXTRA_DIST = draft-morgan-pam.raw std-agent-id.raw rfc86.0.txt
+EXTRA_DIST = std-agent-id.raw rfc86.0.txt
-draft-morgan-pam-current.txt: padout draft-morgan-pam.raw
- ./padout < $(srcdir)/draft-morgan-pam.raw > draft-morgan-pam-current.txt
-
-AM_YFLAGS = -d
-
-BUILT_SOURCES = parse_y.h
-
-noinst_PROGRAMS = padout
-
-padout_SOURCES = parse_l.l parse_y.y
-
-padout_LDADD = @LEXLIB@
-
-doc_DATA = draft-morgan-pam-current.txt rfc86.0.txt
+doc_DATA = rfc86.0.txt