diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-07-19 14:50:46 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-07-19 14:50:46 +0000 |
commit | aabdd79f269016e5fdbe488007d152250c2bd3f2 (patch) | |
tree | 3b5845edceb3e974fafce270e670c8e239d01763 | |
parent | e732b8edb91f5c82aa643b04d73587d8c5afde0e (diff) |
Added KA/PI plugins so it is more usable
BKrev: 40fbdfc6l5Ekj_yNa8sMGDCMiV2Cgw
-rw-r--r-- | kdepimpi/kdepimpi_1.9.3a.oe | 87 | ||||
-rw-r--r-- | kdepimpi/kdepimpi_cvs.oe | 7 |
2 files changed, 91 insertions, 3 deletions
diff --git a/kdepimpi/kdepimpi_1.9.3a.oe b/kdepimpi/kdepimpi_1.9.3a.oe index e69de29bb2..3930b77cef 100644 --- a/kdepimpi/kdepimpi_1.9.3a.oe +++ b/kdepimpi/kdepimpi_1.9.3a.oe @@ -0,0 +1,87 @@ +DESCRIPTION = "Korganizer/Pi is a powerful calender and ToDo Tool for Qt/Embedded based Palmtop Environments" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" +LICENSE = "GPL" +DEPENDS ="virtual/libqpe" +HOMEPAGE = "http://www.pi-sync.net/ http://sf.net/projects/kdepimpi/" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/kdepimpi/kdepim193a.src.tar.gz \ +file://libkcal.pro.patch;patch=1 \ +file://manager.h.patch;patch=1 \ +file://qinputdialog_inc.patch;patch=1 \ +file://xxportmanager.cpp.patch;patch=1 " + +S = "${WORKDIR}/kdepim" + +inherit palmtop + +EXTRA_QMAKEVARS_POST += "QMAKE_UIC=${STAGING_BINDIR}/uic QMAKE_MOC=${STAGING_BINDIR}/moc QMAKE_RPATH=-Wl,-rpath-link, OBJECTS_DIR=obj/ MOC_DIR=moc/ INCLUDEPATH+=../ LIBS+=-L${S}/dest/ DESTDIR=${S}/dest" +QMAKE_PROFILES= "all.pro" + +# we don't have libopie1 (and ldap?) +#SUBDIRS="libical/src/libical libical/src/libicalss microkde libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir kabc/plugins/ldap kabc/plugins/opie korganizer kalarmd kaddressbook/xxport/opie kaddressbook" +SUBDIRS="libical/src/libical libical/src/libicalss microkde libkcal libkdepim kabc korganizer kalarmd kaddressbook kabc/plugins/file kabc/plugins/dir " + +# TODO: +# get KA/PI plugins working +# checking libmailwrapper changes +# author said that he didn't changed libetpan so we probably can get OE one +# compile opie mail/pi + + +do_configure_prepend() { + echo -e "TEMPLATE=subdirs\nSUBDIRS=qtcompat ${SUBDIRS}\n" >all.pro + mv ${S}/kabc/plugins/file/kabc_fileE.pro ${S}/kabc/plugins/file/fileE.pro + mv ${S}/kabc/plugins/dir/kabc_dirE.pro ${S}/kabc/plugins/dir/dirE.pro + for d in ${SUBDIRS} + do + mv -f ${d}/`basename ${d}`E.pro ${d}/`basename ${d}`.pro + done + mkdir "${S}/dest" +} + +do_install() { + install -d ${D}/${palmtopdir}/bin \ + ${D}/${palmtopdir}/lib \ + ${D}/${palmtopdir}/apps/1Pim \ + ${D}/${palmtopdir}/pics/kdepim/korganizer/icons16 \ + ${D}/${palmtopdir}/pics/kdepim/korganizer/iconsmini \ + ${D}/${palmtopdir}/pics/kdepim/kaddressbook/icons16 \ + ${D}/${palmtopdir}/pics/kdepim/kaddressbook/icons22 \ + ${D}/${palmtopdir}/plugins/applets + + install -m 0644 ${S}/bin/kdepim/korganizer/*.png ${D}/${palmtopdir}/pics/kdepim/korganizer + install -m 0644 ${S}/bin/kdepim/korganizer/*.wav ${D}/${palmtopdir}/pics/kdepim/korganizer + install -m 0644 ${S}/bin/kdepim/korganizer/*.txt ${D}/${palmtopdir}/pics/kdepim/korganizer + install -m 0644 ${S}/bin/kdepim/korganizer/icons16/*.png ${D}/${palmtopdir}/pics/kdepim/korganizer/icons16 + install -m 0644 ${S}/bin/kdepim/korganizer/iconsmini/*.png ${D}/${palmtopdir}/pics/kdepim/korganizer/iconsmini + install -m 0644 korganizer/korganizer.desktop ${D}/${palmtopdir}/apps/1Pim/korganizer.desktop + + install -m 0644 ${S}/bin/kdepim/kaddressbook/zone.tab ${D}/${palmtopdir}/pics/kdepim/kaddressbook + install -m 0644 ${S}/bin/kdepim/kaddressbook/*.png ${D}/${palmtopdir}/pics/kdepim/kaddressbook + install -m 0644 ${S}/bin/kdepim/kaddressbook/icons16/*.png ${D}/${palmtopdir}/pics/kdepim/kaddressbook/icons16 + install -m 0644 ${S}/bin/kdepim/kaddressbook/icons22/*.png ${D}/${palmtopdir}/pics/kdepim/kaddressbook/icons22 + install -m 0644 kaddressbook/kaddressbook.desktop ${D}/${palmtopdir}/apps/1Pim/kaddressbook.desktop + + for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat libmicrokabc_file libmicrokabc_dir + do + oe_libinstall -so -C ${S}/dest/ $f ${D}/${palmtopdir}/lib + done + + install -m 0755 ${S}/dest/kopi ${D}/${palmtopdir}/bin/kopi + install -m 0755 ${S}/dest/kapi ${D}/${palmtopdir}/bin/kapi + + for f in libkopialarmapplet + do + oe_libinstall -so -C ${S}/dest/ $f ${D}/${palmtopdir}/plugins/applets + done +} + +PACKAGES = "kopi kapi libmicrokdelibs kopi-applet" + +FILES_kopi = "${palmtopdir}/bin/kopi ${palmtopdir}/apps/1Pim/korganizer.desktop ${palmtopdir}/pics/kdepim/korganizer/*" +FILES_kapi = "${palmtopdir}/bin/kapi ${palmtopdir}/apps/1Pim/kaddressbook.desktop ${palmtopdir}/pics/kdepim/kaddressbook/* ${palmtopdir}/lib/libmicrokabc_*" +FILES_kopi-applet = "${palmtopdir}/plugins/applets/*" +FILES_libmicrokdelibs = "${palmtopdir}/lib/*" diff --git a/kdepimpi/kdepimpi_cvs.oe b/kdepimpi/kdepimpi_cvs.oe index e213600510..39cb89896e 100644 --- a/kdepimpi/kdepimpi_cvs.oe +++ b/kdepimpi/kdepimpi_cvs.oe @@ -6,6 +6,7 @@ LICENSE = "GPL" DEPENDS ="virtual/libqpe" HOMEPAGE = "http://www.pi-sync.net/ http://sf.net/projects/kdepimpi/" PV = "1.9.3a-${CVSDATE}" +PR = "r1" # Author said that he will tag stable versions in CVS # From SF files zone for projects we can get kdepim.src.tar.gz for 1.9.3a version @@ -27,7 +28,7 @@ QMAKE_PROFILES= "all.pro" # we don't have libopie1 (and ldap?) #SUBDIRS="libical/src/libical libical/src/libicalss microkde libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir kabc/plugins/ldap kabc/plugins/opie korganizer kalarmd kaddressbook/xxport/opie kaddressbook" -SUBDIRS="libical/src/libical libical/src/libicalss microkde libkcal libkdepim kabc korganizer kalarmd kaddressbook" +SUBDIRS="libical/src/libical libical/src/libicalss microkde libkcal libkdepim kabc korganizer kalarmd kaddressbook kabc/plugins/file kabc/plugins/dir " # TODO: # get KA/PI plugins working @@ -68,7 +69,7 @@ do_install() { install -m 0644 ${S}/bin/kdepim/kaddressbook/icons22/*.png ${D}/${palmtopdir}/pics/kdepim/kaddressbook/icons22 install -m 0644 kaddressbook/kaddressbook.desktop ${D}/${palmtopdir}/apps/1Pim/kaddressbook.desktop - for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat + for f in libmicrokde libmicrokdepim libmicrokabc libmicrokcal libmicroqtcompat libmicrokabc_file libmicrokabc_dir do oe_libinstall -so -C ${S}/dest/ $f ${D}/${palmtopdir}/lib done @@ -85,6 +86,6 @@ do_install() { PACKAGES = "kopi kapi libmicrokdelibs kopi-applet" FILES_kopi = "${palmtopdir}/bin/kopi ${palmtopdir}/apps/1Pim/korganizer.desktop ${palmtopdir}/pics/kdepim/korganizer/*" -FILES_kapi = "${palmtopdir}/bin/kapi ${palmtopdir}/apps/1Pim/kaddressbook.desktop ${palmtopdir}/pics/kdepim/kaddressbook/*" +FILES_kapi = "${palmtopdir}/bin/kapi ${palmtopdir}/apps/1Pim/kaddressbook.desktop ${palmtopdir}/pics/kdepim/kaddressbook/* ${palmtopdir}/lib/libmicrokabc_*" FILES_kopi-applet = "${palmtopdir}/plugins/applets/*" FILES_libmicrokdelibs = "${palmtopdir}/lib/*" |