summaryrefslogtreecommitdiff
path: root/korganizer
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-27 17:16:09 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-27 17:16:09 +0000
commitf0223a6035a84858a8ba36e998b91eeea6709a5c (patch)
tree69de6cddc670cab6f00619af4cd2d136de99f1cd /korganizer
parentbd8b0c647404821a40516027a37fb186e2f407c6 (diff)
korganizer 1.5.0-embedded works again. 1.6.x still in nonworking
BKrev: 4065b6d9VJZpKEwvYJNLZNOfkQw3vw
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/korganizer-embedded-1.5.0/qmaketarget.patch16
-rw-r--r--korganizer/korganizer-embedded_1.5.0.oe41
2 files changed, 57 insertions, 0 deletions
diff --git a/korganizer/korganizer-embedded-1.5.0/qmaketarget.patch b/korganizer/korganizer-embedded-1.5.0/qmaketarget.patch
new file mode 100644
index 0000000000..ba6c66832f
--- /dev/null
+++ b/korganizer/korganizer-embedded-1.5.0/qmaketarget.patch
@@ -0,0 +1,16 @@
+diff -urN korgenizerPi.150.orig/libical/src/libical/libicalE.pro korgenizerPi.150/libical/src/libical/libicalE.pro
+--- korgenizerPi.150.orig/libical/src/libical/libicalE.pro 2003-04-06 18:27:24.000000000 -0400
++++ korgenizerPi.150/libical/src/libical/libicalE.pro 2004-03-26 13:25:19.000000000 -0500
+@@ -1,3 +1,4 @@
++TARGET = ical
+ TEMPLATE = lib
+ CONFIG = warn_on release staticlib
+ INCLUDEPATH += .
+diff -urN korgenizerPi.150.orig/libical/src/libicalss/libicalssE.pro korgenizerPi.150/libical/src/libicalss/libicalssE.pro
+--- korgenizerPi.150.orig/libical/src/libicalss/libicalssE.pro 2003-04-06 18:27:24.000000000 -0400
++++ korgenizerPi.150/libical/src/libicalss/libicalssE.pro 2004-03-26 13:25:34.000000000 -0500
+@@ -1,3 +1,4 @@
++TARGET = icalss
+ TEMPLATE = lib
+ CONFIG = warn_on release staticlib
+ INCLUDEPATH += ../libical
diff --git a/korganizer/korganizer-embedded_1.5.0.oe b/korganizer/korganizer-embedded_1.5.0.oe
new file mode 100644
index 0000000000..fbd426e8ce
--- /dev/null
+++ b/korganizer/korganizer-embedded_1.5.0.oe
@@ -0,0 +1,41 @@
+DESCRIPTION="KDE Organizer, QtE based Palmtop Environments Edition"
+SECTION="base"
+PRIORITY="optional"
+LICENSE="GPL"
+RDEPENDS="libqpe1"
+DEPENDS="virtual/libc virtual/libqpe uicmoc-native"
+
+SRC_URI = "http://korganizer.kde.org/files/korganizerPi.150.source.tar.gz \
+ file://${FILESDIR}/qmaketarget.patch;patch=1"
+
+S = "${WORKDIR}/korgenizerPi.150"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST = "QMAKE_UIC=${STAGING_BINDIR}/uic QMAKE_MOC=${STAGING_BINDIR}/moc QMAKE_RPATH=-Wl,-rpath-link,"
+QMAKE_PROFILES= "all.pro"
+
+SUBDIRS="qtcompat microkde libical/src/libical libical/src/libicalss libkcal libkdepim kalarmd korganizer"
+
+do_configure_prepend() {
+ echo -e "TEMPLATE=subdirs\nSUBDIRS=${SUBDIRS}\n" >all.pro
+ for d in ${SUBDIRS}
+ do
+ mv -f ${d}/`basename ${d}`E.pro ${d}/`basename ${d}`.pro
+ done
+}
+
+do_install() {
+ install -d ${D}/opt/QtPalmtop/{bin,lib,apps/Pim,pics/korganizer/icons16}
+ install -m 0644 korganizer/korganizer.desktop ${D}/opt/QtPalmtop/apps/Pim/korganizer.desktop
+ cd ${S}/pics
+ cp *.png *.wav ${D}/opt/QtPalmtop/pics/korganizer
+ cp ./icons16/*.png ${D}/opt/QtPalmtop/pics/korganizer/icons16
+ for f in libmicrokde.so.1.0.0 libkcal.so.1.0.0 libkdepim.so.1.0.0 libqtcompat.so.1.0.0
+ do
+ oe_soinstall ${STAGING_LIBDIR}/${f} ${D}/opt/QtPalmtop/lib
+ rm -f ${STAGING_LIBDIR}/${f}
+ done
+ install -m 0755 ${STAGING_DIR}/target/bin/korganizer ${D}/opt/QtPalmtop/bin/korganizer
+ rm -f ${STAGING_DIR}/target/bin/korganizer
+}