summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-17 15:12:36 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-17 15:12:36 +0200
commit068ae7f600fa8004cdb6c85568df667bad9b944e (patch)
tree95e8efee62417a5bef7a15bead441e6ff837b6f9 /recipes
parent9284c24637d53889f55e2e160a62c8ff9d61d446 (diff)
packagekit: fix service and policy files, update git version
* patches against 0.4.6 have been applied upstream
Diffstat (limited to 'recipes')
-rw-r--r--recipes/packagekit/packagekit_0.4.6.bb8
-rw-r--r--recipes/packagekit/packagekit_git.bb58
2 files changed, 43 insertions, 23 deletions
diff --git a/recipes/packagekit/packagekit_0.4.6.bb b/recipes/packagekit/packagekit_0.4.6.bb
index 51b2870537..d1d2b51814 100644
--- a/recipes/packagekit/packagekit_0.4.6.bb
+++ b/recipes/packagekit/packagekit_0.4.6.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
file://opkg-fix-includes.diff;patch=1 \
file://opkg-fix-declarations.diff;patch=1 "
-PR = "r1"
+PR = "r2"
PE = "1"
S = "${WORKDIR}/PackageKit-${PV}"
@@ -36,9 +36,11 @@ do_configure_prepend() {
do_configure_append() {
for i in $(find . -name Makefile) ; do
- sed -i -e s:${STAGING_DIR_NATIVE}::g -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g $i
+ sed -i -e s:${STAGING_DIR_NATIVE}::g \
+ -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
+ -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
+ $i
done
- ( cd data ; for i in *.xml.in ; do mv $i $(echo $i | sed 's:.in::g') ; done ; touch foo.xml.in )
}
diff --git a/recipes/packagekit/packagekit_git.bb b/recipes/packagekit/packagekit_git.bb
index 0e9793d050..596659bcde 100644
--- a/recipes/packagekit/packagekit_git.bb
+++ b/recipes/packagekit/packagekit_git.bb
@@ -2,41 +2,59 @@ DESCRIPTION = "PackageKit package management abstraction"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
-RDEPENDS_${PN} = "opkg"
-PV = "0.2.3+gitr${SRCREV}"
-PR = "r18"
-PE = "1"
+DEPENDS = "gtk+ python cppunit policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
+RDEPENDS_${PN} = "${IPKG_VARIANT}"
+
+inherit gnome autotools_stage
SRC_URI = "git://anongit.freedesktop.org/git/packagekit;protocol=git \
- file://disable-docbook2man.patch;patch=1 \
- file://repository-ping.patch;patch=1 \
- file://force_depends.patch;patch=1 \
- file://remove_search_memory_leak.patch;patch=1 \
- file://racing_condition.patch;patch=1 \
- file://modify_summary_and_adding_reposi_info.patch;patch=1 \
- "
+"
+PV = "0.4.6+git"
+PR = "r0+gitr${SRCREV}"
+PE = "1"
S = "${WORKDIR}/git"
-inherit autotools pkgconfig
-
EXTRA_OECONF = "--with-security-framework=dummy \
--with-default-backend=opkg \
--enable-opkg \
+ --disable-tests \
+ --disable-qt \
+ --disable-gstreamer-plugin \
+ --disable-local \
ac_cv_path_XMLTO=no \
"
do_configure_prepend() {
- echo "EXTRA_DIST=" > gtk-doc.make
- sed -i -e s:0\.1\.5:0\.1\.6:g configure.ac
+ mkdir -p m4
+ echo "EXTRA_DIST=" > gtk-doc.make
+ sed -i -e s:0\.1\.5:0\.1\.6:g -e /Werror/d configure.ac
}
-do_stage () {
- autotools_stage_all
+do_configure_append() {
+ for i in $(find . -name Makefile) ; do
+ sed -i -e s:${STAGING_DIR_NATIVE}::g \
+ -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
+ -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
+ $i
+ done
}
-FILES_${PN} += "${libdir}/packagekit-backend/*.so ${datadir}/dbus-1/system-services/"
-FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so "
+
+PACKAGES =+ "${PN}-website"
+FILES_${PN}-website = "${datadir}/PackageKit/website"
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${libdir}/python*"
+
+PACKAGES =+ "${PN}-gtkmodule"
+FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
+
+FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
+FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
+FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"
+
+
+