aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-i18n
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-24 17:57:24 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-30 02:35:12 +0100
commite9b45ff67d32fdc27950a51135b6dabada8334e7 (patch)
treede99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-opie/opie-i18n
downloadmeta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.bz2
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.zip
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision 45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged the directory structure to match the new oe-core style and added COPYING.MIT and README. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-i18n')
-rw-r--r--recipes-opie/opie-i18n/opie-i18n.inc94
-rw-r--r--recipes-opie/opie-i18n/opie-i18n_1.2.5.bb10
-rw-r--r--recipes-opie/opie-i18n/opie-i18n_cvs.bb8
-rw-r--r--recipes-opie/opie-i18n/opie-lrelease-native.inc20
-rw-r--r--recipes-opie/opie-i18n/opie-lrelease-native_1.2.5.bb10
-rw-r--r--recipes-opie/opie-i18n/opie-lrelease-native_cvs.bb8
-rw-r--r--recipes-opie/opie-i18n/opie-lupdate-native.inc18
-rw-r--r--recipes-opie/opie-i18n/opie-lupdate-native_1.2.5.bb10
-rw-r--r--recipes-opie/opie-i18n/opie-lupdate-native_cvs.bb8
9 files changed, 186 insertions, 0 deletions
diff --git a/recipes-opie/opie-i18n/opie-i18n.inc b/recipes-opie/opie-i18n/opie-i18n.inc
new file mode 100644
index 0000000..fd39583
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-i18n.inc
@@ -0,0 +1,94 @@
+DESCRIPTION = "Opie i18n files"
+SECTION = "opie/base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "opie-lrelease-native"
+
+
+S = "${WORKDIR}/i18n"
+
+do_compile() {
+ for f in ?? ??_??
+ do
+ cd ${S}/$f
+ for g in *.ts
+ do
+ opie-lrelease $g
+ done
+ done
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/i18n/
+ install -d ${D}${palmtopdir}/etc/dict/
+ for f in ?? ??_??
+ do
+ echo Installing language $f
+ install -d ${D}${palmtopdir}/i18n/$f/
+ install -m 0644 $f/.directory ${D}${palmtopdir}/i18n/$f/
+ install -m 0644 $f/*.qm ${D}${palmtopdir}/i18n/$f/
+ if [ -e ${WORKDIR}/dict/dawg.$f ]
+ then
+ install -m 0644 ${WORKDIR}/dict/dawg.$f ${D}${palmtopdir}/etc/dict/
+ fi
+ install -m 0644 ${WORKDIR}/dict/dawg ${D}${palmtopdir}/etc/dict/
+ done
+}
+
+ALLOW_EMPTY_${PN} = "1"
+PACKAGES = "${PN}-dbg ${PN} opie-i18n-cz opie-i18n-da opie-i18n-de opie-i18n-dk opie-i18n-en opie-i18n-es \
+opie-i18n-fr opie-i18n-hu opie-i18n-it opie-i18n-ja opie-i18n-ko opie-i18n-lv opie-i18n-mk \
+opie-i18n-nl opie-i18n-no opie-i18n-pl opie-i18n-pt opie-i18n-pt-br opie-i18n-ru opie-i18n-sl \
+opie-i18n-xx opie-i18n-zh-cn opie-i18n-zh-tw \
+opie-dict-cz opie-dict-da opie-dict-de opie-dict-dk opie-dict-en opie-dict-es \
+opie-dict-fr opie-dict-hu opie-dict-it opie-dict-ja opie-dict-ko opie-dict-lv opie-dict-mk \
+opie-dict-nl opie-dict-no opie-dict-pl opie-dict-pt opie-dict-pt-br opie-dict-ru opie-dict-sl \
+opie-dict-xx opie-dict-zh-cn opie-dict-zh-tw "
+
+FILES_opie-dict-cz = "${palmtopdir}/etc/dict/dawg.cz"
+FILES_opie-dict-da = "${palmtopdir}/etc/dict/dawg.da"
+FILES_opie-dict-de = "${palmtopdir}/etc/dict/dawg.de"
+FILES_opie-dict-dk = "${palmtopdir}/etc/dict/dawg.dk"
+FILES_opie-dict-en = "${palmtopdir}/etc/dict/dawg"
+FILES_opie-dict-es = "${palmtopdir}/etc/dict/dawg.es"
+FILES_opie-dict-fr = "${palmtopdir}/etc/dict/dawg.fr"
+FILES_opie-dict-hu = "${palmtopdir}/etc/dict/dawg.hu"
+FILES_opie-dict-it = "${palmtopdir}/etc/dict/dawg.it"
+FILES_opie-dict-ja = "${palmtopdir}/etc/dict/dawg.ja"
+FILES_opie-dict-ko = "${palmtopdir}/etc/dict/dawg.ko"
+FILES_opie-dict-lv = "${palmtopdir}/etc/dict/dawg.lv"
+FILES_opie-dict-mk = "${palmtopdir}/etc/dict/dawg.mk"
+FILES_opie-dict-nl = "${palmtopdir}/etc/dict/dawg.nl"
+FILES_opie-dict-no = "${palmtopdir}/etc/dict/dawg.no"
+FILES_opie-dict-pl = "${palmtopdir}/etc/dict/dawg.pl"
+FILES_opie-dict-pt-br = "${palmtopdir}/etc/dict/dawg.pt_BR"
+FILES_opie-dict-pt = "${palmtopdir}/etc/dict/dawg.pt"
+FILES_opie-dict-ru = "${palmtopdir}/etc/dict/dawg.ru"
+FILES_opie-dict-sl = "${palmtopdir}/etc/dict/dawg.sl"
+FILES_opie-dict-xx = "${palmtopdir}/etc/dict/dawg.xx"
+FILES_opie-dict-zh-cn = "${palmtopdir}/etc/dict/dawg.zh_CN"
+FILES_opie-dict-zh-tw = "${palmtopdir}/etc/dict/dawg.zh_TW"
+
+FILES_opie-i18n-cz = "${palmtopdir}/i18n/cz"
+FILES_opie-i18n-da = "${palmtopdir}/i18n/da"
+FILES_opie-i18n-de = "${palmtopdir}/i18n/de"
+FILES_opie-i18n-dk = "${palmtopdir}/i18n/dk"
+FILES_opie-i18n-en = "${palmtopdir}/i18n/en"
+FILES_opie-i18n-es = "${palmtopdir}/i18n/es"
+FILES_opie-i18n-fr = "${palmtopdir}/i18n/fr"
+FILES_opie-i18n-hu = "${palmtopdir}/i18n/hu"
+FILES_opie-i18n-it = "${palmtopdir}/i18n/it"
+FILES_opie-i18n-ja = "${palmtopdir}/i18n/ja"
+FILES_opie-i18n-ko = "${palmtopdir}/i18n/ko"
+FILES_opie-i18n-lv = "${palmtopdir}/i18n/lv"
+FILES_opie-i18n-mk = "${palmtopdir}/i18n/mk"
+FILES_opie-i18n-nl = "${palmtopdir}/i18n/nl"
+FILES_opie-i18n-no = "${palmtopdir}/i18n/no"
+FILES_opie-i18n-pl = "${palmtopdir}/i18n/pl"
+FILES_opie-i18n-pt-br = "${palmtopdir}/i18n/pt_BR"
+FILES_opie-i18n-pt = "${palmtopdir}/i18n/pt"
+FILES_opie-i18n-ru = "${palmtopdir}/i18n/ru"
+FILES_opie-i18n-sl = "${palmtopdir}/i18n/sl"
+FILES_opie-i18n-xx = "${palmtopdir}/i18n/xx"
+FILES_opie-i18n-zh-cn = "${palmtopdir}/i18n/zh_CN"
+FILES_opie-i18n-zh-tw = "${palmtopdir}/i18n/zh_TW"
diff --git a/recipes-opie/opie-i18n/opie-i18n_1.2.5.bb b/recipes-opie/opie-i18n/opie-i18n_1.2.5.bb
new file mode 100644
index 0000000..1b9935e
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-i18n_1.2.5.bb
@@ -0,0 +1,10 @@
+require ${PN}.inc
+
+PR = "r0"
+
+SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_i18n.tar.bz2;name=split_i18n \
+ http://sources.openembedded.org/opie-1.2.5-split_etc_dict.tar.bz2;name=split_etc_dict"
+SRC_URI[split_i18n.md5sum] = "0877eb0c761b06de8dc64f28d1d4bd6f"
+SRC_URI[split_i18n.sha256sum] = "5005fa9825bbbdb10367882ec8a9c2df6e755ecc0c9705e674d4dea00abdea0c"
+SRC_URI[split_etc_dict.md5sum] = "1112ee99cf14220ca63ec6c49d4f4e61"
+SRC_URI[split_etc_dict.sha256sum] = "43e67873ec83ec33b4ad2d441a8606ac8418ff27581bdffa85eef071bee1f7ce"
diff --git a/recipes-opie/opie-i18n/opie-i18n_cvs.bb b/recipes-opie/opie-i18n/opie-i18n_cvs.bb
new file mode 100644
index 0000000..0d1d913
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-i18n_cvs.bb
@@ -0,0 +1,8 @@
+require ${PN}.inc
+
+OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}"
+PV = "${OPIE_GIT_PV}"
+PR = "r1"
+
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=i18n \
+ ${OPIE_GIT};protocol=git;subpath=etc/dict"
diff --git a/recipes-opie/opie-i18n/opie-lrelease-native.inc b/recipes-opie/opie-i18n/opie-lrelease-native.inc
new file mode 100644
index 0000000..337196f
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lrelease-native.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Opie native i18n tool lrelease"
+SECTION = "opie/base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+INC_PR = "r1"
+
+S = "${WORKDIR}/opie-lrelease"
+
+inherit native qmake qt3e
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
+
+do_install() {
+ install -d ${D}${bindir}/
+ install -m 0755 opie-lrelease ${D}${bindir}/
+}
+
+NATIVE_INSTALL_WORKS = "1"
diff --git a/recipes-opie/opie-i18n/opie-lrelease-native_1.2.5.bb b/recipes-opie/opie-i18n/opie-lrelease-native_1.2.5.bb
new file mode 100644
index 0000000..38324cb
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lrelease-native_1.2.5.bb
@@ -0,0 +1,10 @@
+require ${PN}.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_development_translation_opie-lrelease.tar.bz2;name=split_development_translation_opie-lrelease \
+ http://sources.openembedded.org/opie-1.2.5-split_development_translation_shared.tar.bz2;name=split_development_translation_shared"
+SRC_URI[split_development_translation_opie-lrelease.md5sum] = "e35c6b83652e03eeb1a33b6f88e0cbb7"
+SRC_URI[split_development_translation_opie-lrelease.sha256sum] = "aa47f392242acebbb1e4d30e97d0637fae6978c697846571544767c769c30772"
+SRC_URI[split_development_translation_shared.md5sum] = "c18142103c03fa4d3df4d5eecf12de33"
+SRC_URI[split_development_translation_shared.sha256sum] = "958bf759bf7677b40b67661f02245b644e576700d62c4b5655c1d40f9d735154"
diff --git a/recipes-opie/opie-i18n/opie-lrelease-native_cvs.bb b/recipes-opie/opie-i18n/opie-lrelease-native_cvs.bb
new file mode 100644
index 0000000..13d1345
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lrelease-native_cvs.bb
@@ -0,0 +1,8 @@
+require ${PN}.inc
+
+OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}"
+PV = "${OPIE_GIT_PV}"
+PR = "r1"
+
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=development/translation/opie-lrelease \
+ ${OPIE_GIT};protocol=git;subpath=development/translation/shared"
diff --git a/recipes-opie/opie-i18n/opie-lupdate-native.inc b/recipes-opie/opie-i18n/opie-lupdate-native.inc
new file mode 100644
index 0000000..0e95b4b
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lupdate-native.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Opie native i18n tool lupdate"
+SECTION = "opie/base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+
+S = "${WORKDIR}/opie-lupdate"
+
+inherit native qmake qt3e
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
+EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
+
+do_install() {
+ install -d ${D}${bindir}/
+ install -m 0755 opie-lupdate ${D}${bindir}/
+}
diff --git a/recipes-opie/opie-i18n/opie-lupdate-native_1.2.5.bb b/recipes-opie/opie-i18n/opie-lupdate-native_1.2.5.bb
new file mode 100644
index 0000000..dc786bc
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lupdate-native_1.2.5.bb
@@ -0,0 +1,10 @@
+require ${PN}.inc
+
+PR = "r1"
+
+SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_development_translation_opie-lupdate.tar.bz2;name=split_development_translation_opie-lupdate \
+ http://sources.openembedded.org/opie-1.2.5-split_development_translation_shared.tar.bz2;name=split_development_translation_shared"
+SRC_URI[split_development_translation_opie-lupdate.md5sum] = "b1460106c3aa098a0bb4775cc0e12273"
+SRC_URI[split_development_translation_opie-lupdate.sha256sum] = "91cbc7eda498dffde3c6b9eaade836750801f429c965d291ce0052e321a63611"
+SRC_URI[split_development_translation_shared.md5sum] = "c18142103c03fa4d3df4d5eecf12de33"
+SRC_URI[split_development_translation_shared.sha256sum] = "958bf759bf7677b40b67661f02245b644e576700d62c4b5655c1d40f9d735154"
diff --git a/recipes-opie/opie-i18n/opie-lupdate-native_cvs.bb b/recipes-opie/opie-i18n/opie-lupdate-native_cvs.bb
new file mode 100644
index 0000000..55cfa33
--- /dev/null
+++ b/recipes-opie/opie-i18n/opie-lupdate-native_cvs.bb
@@ -0,0 +1,8 @@
+require ${PN}.inc
+
+OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}"
+PV = "${OPIE_GIT_PV}"
+PR = "r1"
+
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=development/translation/opie-lupdate \
+ ${OPIE_GIT};protocol=git;subpath=development/translation/shared"