diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-05 21:20:22 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-05 21:20:22 +0100 |
commit | e57be74b8b7ecd40337f384bc051aa5191ae8256 (patch) | |
tree | 61bfeeccb784596f9c02db67ead7dbdb0c99fc9a /meta-moblin/packages | |
parent | 220533aa038f967a5ab55b131f074ce9ac94d241 (diff) | |
download | openembedded-core-e57be74b8b7ecd40337f384bc051aa5191ae8256.tar.gz openembedded-core-e57be74b8b7ecd40337f384bc051aa5191ae8256.tar.bz2 openembedded-core-e57be74b8b7ecd40337f384bc051aa5191ae8256.zip |
moblin-app-installer: Add package
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages')
-rw-r--r-- | meta-moblin/packages/moblin-app-installer/moblin-app-installer/opkg.patch | 44 | ||||
-rw-r--r-- | meta-moblin/packages/moblin-app-installer/moblin-app-installer_git.bb | 11 |
2 files changed, 55 insertions, 0 deletions
diff --git a/meta-moblin/packages/moblin-app-installer/moblin-app-installer/opkg.patch b/meta-moblin/packages/moblin-app-installer/moblin-app-installer/opkg.patch new file mode 100644 index 0000000000..1b57ffe32a --- /dev/null +++ b/meta-moblin/packages/moblin-app-installer/moblin-app-installer/opkg.patch @@ -0,0 +1,44 @@ +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2009-10-05 17:05:14.000000000 +0100 ++++ git/configure.ac 2009-10-05 21:02:48.000000000 +0100 +@@ -34,7 +34,7 @@ + gtk+-2.0 + packagekit-glib >= 0.4 + packagekit-glib < 0.5 +- rpm >= 4.6' ++ libopkg' + + AC_MSG_CHECKING([for available nbtk version]) + PKG_CHECK_EXISTS(nbtk-1.2, +Index: git/src/mai-package.c +=================================================================== +--- git.orig/src/mai-package.c 2009-10-05 17:05:06.000000000 +0100 ++++ git/src/mai-package.c 2009-10-05 21:01:57.000000000 +0100 +@@ -23,7 +23,7 @@ + #include <gtk/gtk.h> + + /* FIXME make conditional. */ +-#include <rpm/rpmlib.h> ++#include <libopkg/opkg.h> + + #include "mai-model-priv.h" + #include "mai-package.h" +@@ -191,7 +191,7 @@ + + if (priv->package_id && + priv->version && +- rpmvercmp (version, priv->version) < 0) ++ opkg_compare_versions (version, priv->version) < 0) + { + g_debug (" skipping '%s'", version); + return; +@@ -955,7 +955,7 @@ + return -1; + + /* FIXME support deb. */ +- return rpmvercmp (priv->version, version); ++ return opkg_compare_versions (priv->version, version); + } + + gboolean diff --git a/meta-moblin/packages/moblin-app-installer/moblin-app-installer_git.bb b/meta-moblin/packages/moblin-app-installer/moblin-app-installer_git.bb new file mode 100644 index 0000000000..502db63a08 --- /dev/null +++ b/meta-moblin/packages/moblin-app-installer/moblin-app-installer_git.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Moblin Appliction Installer" +SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \ + file://opkg.patch;patch=1 " +LICENSE = "GPLv2" +PV = "0.0+git${SRCPV}" +PR = "r0" + +S = "${WORKDIR}/git" +DEPENDS = "clutter-1.0 glib-2.0 nbtk libxml2 gtk+ gnome-packagekit opkg" + +inherit autotools_stage |