Separate l10n packages
authorKirtika Ruchandani <kirtibr@gmail.com>
Fri, 26 Jun 2009 14:50:36 +0000 (20:20 +0530)
committerKirtika Ruchandani <kirtibr@gmail.com>
Fri, 26 Jun 2009 14:50:36 +0000 (20:20 +0530)
hildon-application-manager-l10n-public_6.0.bb [new file with mode: 0644]
hildon-control-panel-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-application-manager-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-common-strings-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-control-panel-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-fm-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-input-method-l10n-public_6.0.bb [new file with mode: 0644]
l10n/hildon-l10n.inc [new file with mode: 0644]
l10n/hildon-libs-l10n-public_6.0.bb [new file with mode: 0644]
l10n/maemo-af-desktop-l10n-public_6.0.bb [new file with mode: 0644]
l10n/osso-games-l10n-public_6.0.bb [new file with mode: 0644]

diff --git a/hildon-application-manager-l10n-public_6.0.bb b/hildon-application-manager-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..82afb7c
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon app. manager"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "hildon-application-manager"
+require hildon-l10n.inc
+
+
diff --git a/hildon-control-panel-l10n-public_6.0.bb b/hildon-control-panel-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..ce5539b
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = " Public language files for hildon-control-panel."
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+require hildon-l10n.inc
diff --git a/l10n/hildon-application-manager-l10n-public_6.0.bb b/l10n/hildon-application-manager-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..82afb7c
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon app. manager"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "hildon-application-manager"
+require hildon-l10n.inc
+
+
diff --git a/l10n/hildon-common-strings-l10n-public_6.0.bb b/l10n/hildon-common-strings-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..77bbc24
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon-common-strings"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+TEXT_DOMAIN = "hildon-common-strings"
+
+require hildon-l10n.inc
diff --git a/l10n/hildon-control-panel-l10n-public_6.0.bb b/l10n/hildon-control-panel-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..ce5539b
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = " Public language files for hildon-control-panel."
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+require hildon-l10n.inc
diff --git a/l10n/hildon-fm-l10n-public_6.0.bb b/l10n/hildon-fm-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..528571a
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon-fm"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "hildon-fm"
+require hildon-l10n.inc
diff --git a/l10n/hildon-input-method-l10n-public_6.0.bb b/l10n/hildon-input-method-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..5c5f555
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon input method"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "hildon-input-method"
+require hildon-l10n.inc
+
+
diff --git a/l10n/hildon-l10n.inc b/l10n/hildon-l10n.inc
new file mode 100644 (file)
index 0000000..9b52aac
--- /dev/null
@@ -0,0 +1,28 @@
+# .inc file to be required by all hildon localization packages
+
+inherit autotools
+
+#Ideally ${LANG} and ${TEXT_DOMAIN} should be passed on from the recipe.
+#Language set here temporarily.
+
+DEPENDS += "gettext-native"
+LANG=en_GB
+PACKAGES = "${PN}"
+FILES_${PN} = "${datadir}/locale/*"
+
+do_configure(){
+    :
+}
+
+do_compile(){
+       mkdir -p ${S}/po/${LANG}
+    ${STAGING_BINDIR_NATIVE}/msgfmt --statistics -c -o po/${LANG}/${TEXT_DOMAIN}.mo po/${LANG}.po
+
+}
+
+do_install () {
+    install -m 0755 -d ${D}${datadir}/locale/${LANG}/LC_MESSAGES
+    install -m 0755 ${S}/po/${LANG}/*   ${D}${datadir}/locale/${LANG}/LC_MESSAGES/ 
+}
+
+
diff --git a/l10n/hildon-libs-l10n-public_6.0.bb b/l10n/hildon-libs-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..4c3cce1
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for hildon-libs."
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/h/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S= "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "hildon-libs"
+
+require hildon-l10n.inc
diff --git a/l10n/maemo-af-desktop-l10n-public_6.0.bb b/l10n/maemo-af-desktop-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..6816e82
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public language files for maemo-af-desktop"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/m/${PN}/${PN}_${PV}+r6710+0m5.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}+r6710+0m5"
+
+TEXT_DOMAIN = "maemo-af-desktop"
+require hildon-l10n.inc
+
+
diff --git a/l10n/osso-games-l10n-public_6.0.bb b/l10n/osso-games-l10n-public_6.0.bb
new file mode 100644 (file)
index 0000000..993468d
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Public Language Files for osso-games"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "unknown"
+SECTION = "misc"
+DEPENDS = "gettext-native"
+
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/fremantle/free/o/${PN}/${PN}_${PV}+r6710+0m5.tar.gz "
+
+S="${WORKDIR}/${PN}-${PV}+r6710+0m5"
+TEXT_DOMAIN = "osso-games"
+
+require hildon-l10n.inc
+