From: Kirtika Ruchandani Date: Fri, 26 Jun 2009 14:50:36 +0000 (+0530) Subject: Separate l10n packages X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=92fb5c4271d64ee308ab69da955186aae7ee5733;p=oespirit1 Separate l10n packages --- diff --git a/hildon-application-manager-l10n-public_6.0.bb b/hildon-application-manager-l10n-public_6.0.bb new file mode 100644 index 0000000..82afb7c --- /dev/null +++ b/hildon-application-manager-l10n-public_6.0.bb @@ -0,0 +1,18 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..ce5539b --- /dev/null +++ b/hildon-control-panel-l10n-public_6.0.bb @@ -0,0 +1,15 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..82afb7c --- /dev/null +++ b/l10n/hildon-application-manager-l10n-public_6.0.bb @@ -0,0 +1,18 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..77bbc24 --- /dev/null +++ b/l10n/hildon-common-strings-l10n-public_6.0.bb @@ -0,0 +1,16 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..ce5539b --- /dev/null +++ b/l10n/hildon-control-panel-l10n-public_6.0.bb @@ -0,0 +1,15 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..528571a --- /dev/null +++ b/l10n/hildon-fm-l10n-public_6.0.bb @@ -0,0 +1,16 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..5c5f555 --- /dev/null +++ b/l10n/hildon-input-method-l10n-public_6.0.bb @@ -0,0 +1,18 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..9b52aac --- /dev/null +++ b/l10n/hildon-l10n.inc @@ -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 index 0000000..4c3cce1 --- /dev/null +++ b/l10n/hildon-libs-l10n-public_6.0.bb @@ -0,0 +1,17 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..6816e82 --- /dev/null +++ b/l10n/maemo-af-desktop-l10n-public_6.0.bb @@ -0,0 +1,18 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 index 0000000..993468d --- /dev/null +++ b/l10n/osso-games-l10n-public_6.0.bb @@ -0,0 +1,18 @@ +# Copyright (C) 2009 Kirtika Ruchandani +# 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 +