zbedic: updated to 1.0
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 7 Apr 2006 14:47:29 +0000 (14:47 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 7 Apr 2006 14:47:29 +0000 (14:47 +0000)
packages/zbedic/libbedic_1.0.bb [moved from packages/zbedic/libbedic_0.9.6.bb with 87% similarity]
packages/zbedic/zbedic/.mtn2git_empty [moved from packages/zbedic/zbedic-0.9.6/.mtn2git_empty with 100% similarity]
packages/zbedic/zbedic/opie-icons.patch [moved from packages/zbedic/zbedic-0.9.6/opie-icons.patch with 74% similarity]
packages/zbedic/zbedic/qtopia17.patch [moved from packages/zbedic/zbedic-0.9.6/qtopia17.patch with 87% similarity]
packages/zbedic/zbedic/version.patch [new file with mode: 0644]
packages/zbedic/zbedic_1.0.bb [moved from packages/zbedic/zbedic_0.9.6.bb with 75% similarity]

similarity index 87%
rename from packages/zbedic/libbedic_0.9.6.bb
rename to packages/zbedic/libbedic_1.0.bb
index 05f52ef..8d0ead6 100644 (file)
@@ -5,9 +5,10 @@ MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
 LICENSE = "GPL"
 APPTYPE = "binary"
 APPDESKTOP = "${WORKDIR}/zbedic/misc"
-PR = "r2"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/bedic/libbedic_${PV}-0.tgz"
+
 S = "${WORKDIR}"
 
 inherit palmtop
@@ -17,7 +18,10 @@ export OE_QMAKE_CXXFLAGS="-fexceptions -fno-rtti ${CXXFLAGS}"
 do_configure() {
        qmake -project && qmake -makefile -t lib -spec ${QMAKESPEC} CONFIG=console CONFIG+=staticlib -after \
         INCLUDEPATH+=../include TARGET=bedic DESTDIR=${STAGING_LIBDIR} \
-       HEADERS+=src/file.h SOURCES+=src/file.cpp SOURCES-=tools/xerox.cpp CXXFLAGS+=-fexceptions
+       HEADERS+=src/file.h SOURCES+=src/file.cpp SOURCES-=tools/xerox.cpp \
+       SOURCES-=src/test_dynamic_dictionary.cpp \
+       SOURCES-=src/test_dynamic_database.cpp \
+       CXXFLAGS+=-fexceptions
 }
 
 do_stage() {
similarity index 74%
rename from packages/zbedic/zbedic-0.9.6/opie-icons.patch
rename to packages/zbedic/zbedic/opie-icons.patch
index 7fbebd7..1e028d5 100644 (file)
@@ -1,6 +1,8 @@
---- src/zbedic.cpp.orig        2005-06-22 22:31:49.000000000 +0200
-+++ src/zbedic.cpp     2005-06-28 13:27:34.000000000 +0200
-@@ -128,9 +128,9 @@
+Index: zbedic/src/zbedic.cpp
+===================================================================
+--- zbedic.orig/src/zbedic.cpp 2006-03-15 11:24:12.000000000 +0100
++++ zbedic/src/zbedic.cpp      2006-03-15 11:30:21.000000000 +0100
+@@ -129,9 +129,9 @@
    // ========== create actions
    action[TB_SwitchDictionaries] = createAction( tr( "Switch dictionaries" ), "zbedic/switch_dictionary",
      SLOT(switchToPreviousDict()), CTRL+Key_S );
similarity index 87%
rename from packages/zbedic/zbedic-0.9.6/qtopia17.patch
rename to packages/zbedic/zbedic/qtopia17.patch
index 0c24974..7b890aa 100644 (file)
@@ -3,8 +3,8 @@
 # Patch managed by http://www.holgerschurig.de/patcher.html
 #
 
---- src/main.cpp~compilefix
-+++ src/main.cpp
+--- zbedic/src/main.cpp~compilefix
++++ zbedic/src/main.cpp
 @@ -25,5 +25,13 @@
  #include "zbedic.h"
  #include <qtopia/qpeapplication.h>
diff --git a/packages/zbedic/zbedic/version.patch b/packages/zbedic/zbedic/version.patch
new file mode 100644 (file)
index 0000000..913e201
--- /dev/null
@@ -0,0 +1,13 @@
+Index: zbedic/src/settings.cpp
+===================================================================
+--- zbedic.orig/src/settings.cpp       2006-03-15 11:24:11.000000000 +0100
++++ zbedic/src/settings.cpp    2006-03-15 15:03:55.000000000 +0100
+@@ -117,7 +117,7 @@
+ ZBEDicSettings::ZBEDicSettings( QWidget *parent ): QTabDialog( parent, "options", true )
+ {
+-  setCaption( tr( "ZBEDic Settings (v. " VERSION ")" ) );
++  setCaption( tr( "ZBEDic Settings (v. 1.0)" ) );
+ }
similarity index 75%
rename from packages/zbedic/zbedic_0.9.6.bb
rename to packages/zbedic/zbedic_1.0.bb
index df811a7..d7218a2 100644 (file)
@@ -6,20 +6,23 @@ LICENSE = "GPL"
 DEPENDS = "libbedic"
 APPTYPE = "binary"
 APPDESKTOP = "${WORKDIR}/misc"
-PR = "r2"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/bedic/zbedic_${PV}-0.tgz \
-file://qtopia17.patch;patch=1;pnum=0 \
-file://opie-icons.patch;patch=1;pnum=0 "
+           file://opie-icons.patch;patch=1 \
+           file://version.patch;patch=1 \
+           file://qtopia17.patch;patch=1"
 
-S = "${WORKDIR}/"
+S = "${WORKDIR}"
 
 inherit opie
 export OE_QMAKE_LINK="${CXX}"
 
+
 do_configure() {
        cd ${S} && rm -rf *~ && qmake -project && qmake -makefile -spec ${QMAKESPEC} -after \
-        INCLUDEPATH=${STAGING_INCDIR}/libbedic DEFINES+=QWS LIBS+=-lqpe LIBS+=-lbedic DESTDIR=${S} TARGET=zbedic
+        INCLUDEPATH=${STAGING_INCDIR}/libbedic DEFINES+=QWS \
+       LIBS+=-lqpe LIBS+=-lbedic LIBS+=-lsqlite3 DESTDIR=${S} TARGET=zbedic
 }
 
 do_install() {
@@ -27,7 +30,7 @@ do_install() {
        install -d ${D}${palmtopdir}/help/html/
        # we copy small icons - in other way QVGA users will complain
        install -m 0644 ${S}/misc/small_icons/*.png ${D}${palmtopdir}/pics/zbedic/
-       install -m 0644 ${S}/misc/zbedic.png ${D}${palmtopdir}/pics/
+       install -m 0644 ${S}/misc/large_icons/zbedic.png ${D}${palmtopdir}/pics/
        install -m 0644 ${S}/doc/manual/*.html ${D}${palmtopdir}/help/html/
        rm ${D}${palmtopdir}/pics/zbedic/zbedic.png