[oe-commits] org.oe.dev zten: add zten for the first time.

Laibsch commit openembedded-commits at lists.openembedded.org
Sun May 13 14:57:47 UTC 2007


zten: add zten for the first time.

zten is a EB*/EPWING dictionary browser, a format popular for ebooks in Japan.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: 60b106c65d3e98f8aebfb8cdbf6947d4519b9798
ViewMTN: http://monotone.openembedded.org/revision.psp?id=60b106c65d3e98f8aebfb8cdbf6947d4519b9798
Files:
1
packages/zten
packages/zten/files
packages/zten/files/zten.patch
packages/zten/zten_1.6.2.bb
Diffs:

#
# mt diff -r4fc5395fabd4b8f4683e87c37d128006893e7282 -r60b106c65d3e98f8aebfb8cdbf6947d4519b9798
#
# 
# 
# add_dir "packages/zten"
# 
# add_dir "packages/zten/files"
# 
# add_file "packages/zten/files/zten.patch"
#  content [a4d0d1cf7012199ec440d1189262d3b651e04355]
# 
# add_file "packages/zten/zten_1.6.2.bb"
#  content [6dc2302625ff7cc29b4fd02acda47bed412e77ae]
# 
============================================================
--- packages/zten/files/zten.patch	a4d0d1cf7012199ec440d1189262d3b651e04355
+++ packages/zten/files/zten.patch	a4d0d1cf7012199ec440d1189262d3b651e04355
@@ -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;
+
============================================================
--- packages/zten/zten_1.6.2.bb	6dc2302625ff7cc29b4fd02acda47bed412e77ae
+++ packages/zten/zten_1.6.2.bb	6dc2302625ff7cc29b4fd02acda47bed412e77ae
@@ -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
+}
+






More information about the Openembedded-commits mailing list