summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff22
-rw-r--r--meta-moblin/packages/packagekit/gnome-packagekit_0.4.5.bb17
-rw-r--r--meta-moblin/packages/packagekit/packagekit_0.3.8.bb12
-rw-r--r--meta-moblin/packages/packagekit/packagekit_0.4.9.bb58
4 files changed, 97 insertions, 12 deletions
diff --git a/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff b/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff
new file mode 100644
index 0000000000..8c86fabe4b
--- /dev/null
+++ b/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff
@@ -0,0 +1,22 @@
1http://bugs.freedesktop.org/show_bug.cgi?id=20922
2
3--- /tmp/pk-backend-opkg.c 2009-03-28 12:32:28.000000000 +0100
4+++ PackageKit-0.4.5/backends/opkg/pk-backend-opkg.c 2009-03-28 12:48:04.000000000 +0100
5@@ -47,7 +47,7 @@
6 } SearchParams;
7
8 static void
9-opkg_unknown_error (PkBackend *backend, gint error_code, gchar *failed_cmd)
10+opkg_unknown_error (PkBackend *backend, gint error_code, const gchar *failed_cmd)
11 {
12 gchar *msg;
13
14@@ -105,7 +105,7 @@
15 *
16 * returns true if the tag is present
17 */
18-gboolean
19+static gboolean
20 opkg_check_tag (opkg_package_t *pkg, gchar *tag)
21 {
22 if (pkg->tags && tag)
diff --git a/meta-moblin/packages/packagekit/gnome-packagekit_0.4.5.bb b/meta-moblin/packages/packagekit/gnome-packagekit_0.4.5.bb
new file mode 100644
index 0000000000..ee3bfe356e
--- /dev/null
+++ b/meta-moblin/packages/packagekit/gnome-packagekit_0.4.5.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "GNOME frontend for packagekit"
2LICENSE = "GPL"
3
4DEPENDS = "packagekit libsexy gconf-dbus policykit policykit-gnome libunique gnome-menus"
5
6inherit gnome
7
8SRC_URI = "http://www.packagekit.org/releases/gnome-packagekit-${PV}.tar.gz"
9
10EXTRA_OECONF = " --enable-compile-warnings=no --disable-scrollkeeper "
11
12do_configure_prepend() {
13 sed -i -e s/help/docs/ Makefile.am
14 sed -i -e s:-Werror::g configure.ac
15}
16
17FILES_${PN} += "${datadir}/icons ${datadir}/gnome"
diff --git a/meta-moblin/packages/packagekit/packagekit_0.3.8.bb b/meta-moblin/packages/packagekit/packagekit_0.3.8.bb
deleted file mode 100644
index 687b5e026b..0000000000
--- a/meta-moblin/packages/packagekit/packagekit_0.3.8.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1HOMEPAGE = "http://www.packagekit.org/"
2PR = "r7"
3
4SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz \
5 file://no_validate.patch;patch=1 "
6
7DEPENDS = "python policykit pam"
8EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local --with-security-framework=polkit --disable-gstreamer-plugin --disable-browser-plugin"
9
10S = "${WORKDIR}/PackageKit-${PV}"
11
12inherit autotools pkgconfig
diff --git a/meta-moblin/packages/packagekit/packagekit_0.4.9.bb b/meta-moblin/packages/packagekit/packagekit_0.4.9.bb
new file mode 100644
index 0000000000..c2f075d21f
--- /dev/null
+++ b/meta-moblin/packages/packagekit/packagekit_0.4.9.bb
@@ -0,0 +1,58 @@
1DESCRIPTION = "PackageKit package management abstraction"
2SECTION = "libs"
3PRIORITY = "optional"
4LICENSE = "GPL"
5DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
6RDEPENDS_${PN} = "opkg"
7
8inherit gnome autotools_stage
9
10SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
11 file://no_validate.patch;patch=1"
12PR = "r2"
13PE = "1"
14
15S = "${WORKDIR}/PackageKit-${PV}"
16
17EXTRA_OECONF = "--with-security-framework=dummy \
18 --with-default-backend=opkg \
19 --enable-opkg \
20 --disable-tests \
21 --disable-qt \
22 --disable-gstreamer-plugin \
23 --disable-local \
24 ac_cv_path_XMLTO=no \
25 "
26
27
28do_configure_prepend() {
29 mkdir -p m4
30 echo "EXTRA_DIST=" > gtk-doc.make
31 sed -i -e s:0\.1\.5:0\.1\.6:g -e /Werror/d configure.ac
32}
33
34do_configure_append() {
35 for i in $(find . -name Makefile) ; do
36 sed -i -e s:${STAGING_DIR_NATIVE}::g \
37 -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
38 -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
39 $i
40 done
41}
42
43
44PACKAGES =+ "${PN}-website"
45FILES_${PN}-website = "${datadir}/PackageKit/website"
46
47PACKAGES =+ "${PN}-python"
48FILES_${PN}-python = "${libdir}/python*"
49
50PACKAGES =+ "${PN}-gtkmodule"
51FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
52
53FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
54FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
55FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"
56
57
58