summaryrefslogtreecommitdiff
path: root/packages/opie-packagemanager
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-packagemanager
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-packagemanager')
-rw-r--r--packages/opie-packagemanager/.mtn2git_empty0
-rw-r--r--packages/opie-packagemanager/files/.mtn2git_empty0
-rw-r--r--packages/opie-packagemanager/files/ipkg-fix.patch40
-rw-r--r--packages/opie-packagemanager/opie-packagemanager.inc18
4 files changed, 58 insertions, 0 deletions
diff --git a/packages/opie-packagemanager/.mtn2git_empty b/packages/opie-packagemanager/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-packagemanager/.mtn2git_empty
diff --git a/packages/opie-packagemanager/files/.mtn2git_empty b/packages/opie-packagemanager/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-packagemanager/files/.mtn2git_empty
diff --git a/packages/opie-packagemanager/files/ipkg-fix.patch b/packages/opie-packagemanager/files/ipkg-fix.patch
index e69de29bb2..256727b0f3 100644
--- a/packages/opie-packagemanager/files/ipkg-fix.patch
+++ b/packages/opie-packagemanager/files/ipkg-fix.patch
@@ -0,0 +1,40 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- packagemanager/oipkg.h~ipkg-fix
++++ packagemanager/oipkg.h
+@@ -39,10 +39,6 @@
+
+ #include <qobject.h>
+
+-extern "C" {
+-#include <libipkg.h>
+-};
+-
+ // Ipkg execution options (m_ipkgExecOptions)
+ #define FORCE_DEPENDS 0x0001
+ #define FORCE_REMOVE 0x0002
+@@ -94,7 +90,6 @@
+
+ private:
+ Config *m_config; // Pointer to application configuration file
+- args_t m_ipkgArgs; // libipkg configuration arguments
+ OConfItemList *m_confInfo; // Contains info from all Ipkg configuration files
+ int m_ipkgExecOptions; // Bit-mapped flags for Ipkg execution options
+ int m_ipkgExecVerbosity; // Ipkg execution verbosity level
+--- packagemanager/oipkg.cpp~ipkg-fix
++++ packagemanager/oipkg.cpp
+@@ -38,6 +38,11 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+
++extern "C" {
++#include <libipkg.h>
++};
++args_t m_ipkgArgs; // libipkg configuration arguments
++
+ const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file
+ const QString IPKG_CONF_DIR = "/etc/ipkg"; // Directory of secondary Ipkg configuration files
+ const QString IPKG_PKG_PATH = "/usr/lib/ipkg/lists"; // Directory containing server package lists
diff --git a/packages/opie-packagemanager/opie-packagemanager.inc b/packages/opie-packagemanager/opie-packagemanager.inc
index e69de29bb2..3c3a22161b 100644
--- a/packages/opie-packagemanager/opie-packagemanager.inc
+++ b/packages/opie-packagemanager/opie-packagemanager.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Opie Package Manager"
+SECTION = "opie/settings"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "libipkg "
+APPNAME = "packagemanager"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+EXTRA_QMAKEVARS_PRE = 'LIBIPK_INC_DIR=${STAGING_INCDIR}/libipkg'
+
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+}