summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-05-13 09:45:34 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-05-13 09:45:34 +0000
commit779aaacee4584c68b6aae20d84b0e315509e4768 (patch)
tree73240f13faf7d5df0524588810430d35a4f53ad5 /packages
parent728fea9ef106410933e82cded8af7cc4bb31e1b6 (diff)
parentc4100bfd5300f697a551e7bb8a33d8159f863fb0 (diff)
merge of '538b8a92adf30fc2607a93bc9b05dd896bd35712'
and '60b106c65d3e98f8aebfb8cdbf6947d4519b9798'
Diffstat (limited to 'packages')
-rw-r--r--packages/zten/.mtn2git_empty0
-rw-r--r--packages/zten/files/.mtn2git_empty0
-rw-r--r--packages/zten/files/zten.patch35
-rw-r--r--packages/zten/zten_1.6.2.bb27
4 files changed, 62 insertions, 0 deletions
diff --git a/packages/zten/.mtn2git_empty b/packages/zten/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/zten/.mtn2git_empty
diff --git a/packages/zten/files/.mtn2git_empty b/packages/zten/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/zten/files/.mtn2git_empty
diff --git a/packages/zten/files/zten.patch b/packages/zten/files/zten.patch
new file mode 100644
index 0000000000..22ba56951a
--- /dev/null
+++ b/packages/zten/files/zten.patch
@@ -0,0 +1,35 @@
+--- zten/zten.pro.orig 2003-02-16 16:45:44.000000000 +0100
++++ zten/zten.pro 2006-04-23 18:50:19.000000000 +0200
+@@ -1,11 +1,9 @@
+ TEMPLATE = app
+ CONFIG = qt warn_on release
+-HEADERS = pixmap.h \
+- qbookbrowser.h \
++HEADERS = qbookbrowser.h \
+ qbookentry.h \
+ qbookitem.h \
+ qhistorylineedit.h \
+- qlabeledit.h \
+ qlistboxrichtext.h \
+ zpixmap.h \
+ zten.h \
+@@ -29,5 +27,5 @@
+ ztenbookbase.ui \
+ ztencandidatebase.ui \
+ ztenextbase.ui
+-LIBS += -lqpe /opt/Embedix/lib/libeb.a /opt/Embedix/lib/libz.a -L/opt/QtPalmtop/lib -lkakasi
++LIBS += -lqpe -leb -lz -lkakasi
+ TRANSLATIONS = zten.ts
+
+--- zten/qbookentry.cpp.orig 2006-04-23 23:38:00.000000000 +0200
++++ zten/qbookentry.cpp 2006-04-23 23:38:10.000000000 +0200
+@@ -14,7 +14,8 @@
+ }
+
+ static const char* INSERT_MARK = "\a";
+-QTextCodec* g_codec;
++//QTextCodec* g_codec = NULL;
++QTextCodec* g_codec = QTextCodec::codecForName("eucJP");
+ unsigned int last_wide_font = 0;
+ unsigned int last_narrow_font = 0;
+
diff --git a/packages/zten/zten_1.6.2.bb b/packages/zten/zten_1.6.2.bb
new file mode 100644
index 0000000000..1511341f0a
--- /dev/null
+++ b/packages/zten/zten_1.6.2.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "EB*/EPWING dictionary browser for Linux Zaurus"
+HOMEPAGE = "http://www.gohome.org/zten"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "eb kakasi"
+RDEPENDS = "virtual/japanese-font"
+RCONFLICTS = "ztenv"
+
+SRC_URI = "http://www.gohome.org/cgi-bin/viewcvs.cgi/zten.tar.gz;md5sum=d24f03c8df5c98d510590bd9a63dc9321 \
+ file://zten.patch;patch=1"
+
+S = "${WORKDIR}/zten"
+
+inherit palmtop
+
+CXXFLAGS += " -DQWS"
+
+do_install() {
+ install -d ${D}${palmtopdir}/bin
+ install -d ${D}${palmtopdir}/apps/Applications
+ install -d ${D}${palmtopdir}/pics
+ install -m 0755 zten ${D}${palmtopdir}/bin/zten
+ install -m 0644 zten.desktop ${D}${palmtopdir}/apps/Applications/
+ install -m 0644 Zten.png ${D}${palmtopdir}/pics
+}
+