diff options
Diffstat (limited to 'meta-moblin')
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 @@ | |||
1 | http://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 @@ | |||
1 | DESCRIPTION = "GNOME frontend for packagekit" | ||
2 | LICENSE = "GPL" | ||
3 | |||
4 | DEPENDS = "packagekit libsexy gconf-dbus policykit policykit-gnome libunique gnome-menus" | ||
5 | |||
6 | inherit gnome | ||
7 | |||
8 | SRC_URI = "http://www.packagekit.org/releases/gnome-packagekit-${PV}.tar.gz" | ||
9 | |||
10 | EXTRA_OECONF = " --enable-compile-warnings=no --disable-scrollkeeper " | ||
11 | |||
12 | do_configure_prepend() { | ||
13 | sed -i -e s/help/docs/ Makefile.am | ||
14 | sed -i -e s:-Werror::g configure.ac | ||
15 | } | ||
16 | |||
17 | FILES_${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 @@ | |||
1 | HOMEPAGE = "http://www.packagekit.org/" | ||
2 | PR = "r7" | ||
3 | |||
4 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-0.3.8.tar.gz \ | ||
5 | file://no_validate.patch;patch=1 " | ||
6 | |||
7 | DEPENDS = "python policykit pam" | ||
8 | EXTRA_OECONF = "--disable-qt --disable-tests --enable-yum --with-default-backend=yum --disable-local --with-security-framework=polkit --disable-gstreamer-plugin --disable-browser-plugin" | ||
9 | |||
10 | S = "${WORKDIR}/PackageKit-${PV}" | ||
11 | |||
12 | inherit 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 @@ | |||
1 | DESCRIPTION = "PackageKit package management abstraction" | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "gtk+ python policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)" | ||
6 | RDEPENDS_${PN} = "opkg" | ||
7 | |||
8 | inherit gnome autotools_stage | ||
9 | |||
10 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \ | ||
11 | file://no_validate.patch;patch=1" | ||
12 | PR = "r2" | ||
13 | PE = "1" | ||
14 | |||
15 | S = "${WORKDIR}/PackageKit-${PV}" | ||
16 | |||
17 | EXTRA_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 | |||
28 | do_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 | |||
34 | do_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 | |||
44 | PACKAGES =+ "${PN}-website" | ||
45 | FILES_${PN}-website = "${datadir}/PackageKit/website" | ||
46 | |||
47 | PACKAGES =+ "${PN}-python" | ||
48 | FILES_${PN}-python = "${libdir}/python*" | ||
49 | |||
50 | PACKAGES =+ "${PN}-gtkmodule" | ||
51 | FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so" | ||
52 | |||
53 | FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit" | ||
54 | FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug" | ||
55 | FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a" | ||
56 | |||
57 | |||
58 | |||