From 41df0156b977687ab105aabe73c0850b00d97f05 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Tue, 14 Feb 2012 18:41:50 +0000 Subject: Revbump as I missed that the dir is not acutally propagated. Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64 --- app-office/libreoffice-l10n/ChangeLog | 8 +- app-office/libreoffice-l10n/Manifest | 30 ++-- .../libreoffice-l10n-3.5.0-r3.ebuild | 160 --------------------- .../libreoffice-l10n-3.5.0-r4.ebuild | 160 +++++++++++++++++++++ 4 files changed, 182 insertions(+), 176 deletions(-) delete mode 100644 app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r3.ebuild create mode 100644 app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r4.ebuild (limited to 'app-office') diff --git a/app-office/libreoffice-l10n/ChangeLog b/app-office/libreoffice-l10n/ChangeLog index b3356df670b6..5c57b9ffb4b7 100644 --- a/app-office/libreoffice-l10n/ChangeLog +++ b/app-office/libreoffice-l10n/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/libreoffice-l10n # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.31 2012/02/14 14:56:30 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.32 2012/02/14 18:41:50 scarabeus Exp $ + +*libreoffice-l10n-3.5.0-r4 (14 Feb 2012) + + 14 Feb 2012; Tomáš Chvátal + -libreoffice-l10n-3.5.0-r3.ebuild, +libreoffice-l10n-3.5.0-r4.ebuild: + Revbump as I missed that the dir is not acutally propagated. *libreoffice-l10n-3.5.0-r3 (14 Feb 2012) diff --git a/app-office/libreoffice-l10n/Manifest b/app-office/libreoffice-l10n/Manifest index 8bb6bb93ac86..034fb21d8acf 100644 --- a/app-office/libreoffice-l10n/Manifest +++ b/app-office/libreoffice-l10n/Manifest @@ -483,23 +483,23 @@ DIST a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt 4971243 DIST b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt 4961173 RMD160 d90425d5485f1607ebdd3bd7b1a99b6365c3097d SHA1 27847d6c320297905303ca7d2a45dbd0c492f705 SHA256 fd6962d40e68494f91474c77d001603c95b04f543434141de9c3f395d795f6a4 EBUILD libreoffice-l10n-3.4.3-r3.ebuild 3888 RMD160 9240dcd63246a6cb1ded275adbd865dfb2d8d6ce SHA1 e4daa4748250b26aa2274e2bc0b806cbd4b0a454 SHA256 b2feb0fade7fed18c19ab3d7c533d99c9f09376be21338c5c0382e918fe96ad4 EBUILD libreoffice-l10n-3.4.5-r1.ebuild 4959 RMD160 6c5b8a608e89597178dad0c4c16b5da4e84f7792 SHA1 3fd1acdc61d4404107f65219976287a6cccfae6a SHA256 f524cde97049ced0e0fa155d3f20191cf3bf23f1dcd36a336def62a0c52a39d2 -EBUILD libreoffice-l10n-3.5.0-r3.ebuild 4802 RMD160 79356b477623ffb5aac291c4d7bc79983a30bdf3 SHA1 1093b0f469914446da0d894c662944dc9c937948 SHA256 878f261418812ec26a7b1d05eb98c9f170038a4e57e12c9ae91d13d561f3795a -MISC ChangeLog 5971 RMD160 531a56363e96417151f400a60405df59fc1e4da8 SHA1 d25376a53faed8ed3aa182bbf1cb5c810f650497 SHA256 5c84378fa352893d15baf5f6cf20a66224a67424bd6a4387fd32bd57091bdf98 +EBUILD libreoffice-l10n-3.5.0-r4.ebuild 4809 RMD160 8c5e4b1387fcb8bebb22e77e5bf56ac628450bf4 SHA1 58b7df4831693adef8aa11bf3df02c4113fe79aa SHA256 2c1f8edec321b78adf4c8abe3edef7dc48f73a7ff064f9f380737c9d5c8195b3 +MISC ChangeLog 6204 RMD160 668d5b99a58f5692930182fd68c76607e2019533 SHA1 a322bd48ce9467a7d6ab82b1f4cd84af89c4a8f0 SHA256 917eb61bfe158c36783f05cb29a0ec1fb37184914f1a5cf6df0c59fff9f8504f MISC metadata.xml 417 RMD160 f75d958f8d6cf55264f9507627c38e1d15edb457 SHA1 32e8983b12a8e86b696932e8b30cdfa25d77d290 SHA256 a7a91deed5c2d08b519de259062b3c847943b203be94b36b6de66dcce838b97d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJPOnYsAAoJEOSiRoyO7jvoWW0QAI/N0YXWcCOZGAyFO3JcetoC -Qu5C1QKzNBsMi0TEezZ8KxH3hC94OxG5ElSkCRpXXQeYyHqOPntxD40TDVICuLmp -bfGPCgwDYsFdlf7pIElrs+88RO9wdrnJ7js8AlETCYr83mD9BW1gSpUwJ1EoNuSq -msB+moP8QdhiYcMBhqQhbREHsXbLNKOheGQ/p/MjCDLb2Tjs+KYy6UEG1z7Pn3r3 -TwmqLAAKX4ynV5gf5t07Qf+OfBjvuHPDncq+gEQnZUZAWiBV2wKr9HycPX73jiMQ -CzEs8W16z1pGZNtAEMMuz3izb9E413tvGuSod9QcGRO+CsGCT7J36yRZTRLsnNqM -Q0lboaByRcCfd1S4qIuH0PRqeobibSlvoMEy1P9Wgs521v5dyUj79TKfBX9kD3SA -UnYOg6+pA9Dr3JBcmnA/DV6b8cz87ZFaLf721fBsrE8Y6kMAxIOMxKhMMHWUy/Vs -p7LN41kMedqVUD0HMyPNgQldUOfPuT6QaVylKvNR5vxN4qxk8dULmTBUM2jy8h5d -40Z9iCVxrvrBARRplIbAkFJpkoSjMMzzzC6TdrYsH03igcsHJcuAF+5zCSCGi/kg -e47wUjH428JQRj8e7w5dsEnVFcEkAFKE8deVWG9Q0pztGYF8z1qQpX+gtyvZn23O -nsxofkzb6E65afSIufp8 -=mzTw +iQIcBAEBAgAGBQJPOqr6AAoJEOSiRoyO7jvodbEP/i8BWWt5a3IVqQMLIVLV/NHT +y5n7rM05DtRuLY3CEUZdi3ukIj/8xuwiYAtkCqFk2hlvYGejcJwAyNhc+iBW7M29 +EXzZTBvS3wkqMLCzaTzRgkoj1OLpEwdAs1snRAAEpJk5niz+SrIgRn0suX+m7910 +u1gEiUh6o9FdQp+GQTQvqcXJLs1e551PHA17I4FTBgHqzTKvybZKWPP5wSF58/mr +zfEVPOTw2uCaghgjU2/57HfkyRBzxuWFS7DVr0ELoa9YpMnKB6tJxBZ5rs1N37Dk +X6A8WkCUqOfSUNs69FfPCFDMV8RwBKFX8F2Ec7taT73iApAsTuy9PKveWVtJd77c +bl9E+FJwUeenY6x33wJkpG59vcw2eQfIAW2l6fNI0IGqPriusz+J/An39UZ4dUV0 +eYgQ8Z5Hs5lCMalIVhSLWPh2F5Q3M+czbBAjf83KNHXfjTTkXNk3FHQxmoEqUa6l +RVLHD7+IjSpWaxyR6mn2k9UIMCQ6mZ+trL2EVTrsEK6rnj4+btRP0QS/qwQ4zlrb +tNI4HQ0LYJ5mT+2Jw4cX0a2y/9AbqJhFV/Nno7EpzytDACjFvFE1JlR+1JF0J0UR +If8ZwbwkpwAYg7d7FA79VcYyGuuYsuppw80J2oIoV0AjZ7qtChC4WAsLgI88N5z6 +1jkU7l4Rgifo6UOMN3ym +=Cy1+ -----END PGP SIGNATURE----- diff --git a/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r3.ebuild b/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r3.ebuild deleted file mode 100644 index b3e612395526..000000000000 --- a/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r3.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r3.ebuild,v 1.1 2012/02/14 14:56:30 scarabeus Exp $ - -EAPI=4 - -MY_PV="3.5.0" - -RC_VERSION="rc3" # CHECK ME WITH EVERY BUMP! -BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/3.5.0/rpm" - -OO_EXTENSIONS=( - "472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt" - "53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt" - "4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt" - "a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt" - "09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt" - "b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt" -) -inherit rpm eutils versionator office-ext - -DESCRIPTION="Translations for the Libreoffice suite." -HOMEPAGE="http://www.libreoffice.org" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="offlinehelp templates" - -LANGUAGES_HELP="bg bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo es et eu -fi fr gl gu he hi hr hu id is it ja ka km ko lb mk nb ne nl nn om pl pt_BR pt -ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW" -LANGUAGES="${LANGUAGES_HELP} af ar as ast be br brx cy dgo fa ga gd kk kn kok ks -ku lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sh sr ss -st sw_TZ ta te th tn ts uz ve xh zu" - -for lang in ${LANGUAGES}; do - helppack="" - langpack="" - if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]]; then - [[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang} - helppack=" offlinehelp? ( ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_helppack-rpm_${lang2/_/-}.tar.gz ) " - fi - [[ ${lang} == en ]] \ - || langpack=" ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_langpack-rpm_${lang/_/-}.tar.gz " - SRC_URI+=" linguas_${lang}? ( - ${langpack} - ${helppack} - )" - IUSE+=" linguas_${lang}" -done -unset lang helppack langpack lang2 - -# dictionaries -SPELL_DICTS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk -nb nl nn pl pt ru sk sl sv tn zu" -for X in ${SPELL_DICTS} ; do - SPELL_DICTS_DEPEND+=" linguas_${X}? ( app-dicts/myspell-${X} )" -done -RDEPEND="${SPELL_DICTS_DEPEND}" -unset X SPELL_DICTS SPELL_DICTS_DEPEND - -# no need for iuse here as this needs to be written out and is subset -# of lignuas anyway -EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" -TDEPEND="" -for i in ${OO_EXTENSIONS[@]}; do - lingua=${i/_*.oxt/} - lingua=${lingua/*Pack-/} - if [[ ${lingua} == en-US ]]; then - TDEPEND+=" ${EXT_URI}/${i}" - else - TDEPEND+=" linguas_${lingua}? ( ${EXT_URI}/${i} )" - fi -done -SRC_URI+=" templates? ( ${TDEPEND} )" -unset i lingua TDEPEND EXT_URI - -# blockers for old libreoffice with bundled linguas -RDEPEND+=" - !=app-office/libreoffice-3.4.9999-r1 - !=app-office/libreoffice-9999-r1 - || ( - >=app-office/libreoffice-3.4.4.2-r1 - >=app-office/libreoffice-bin-3.4.4.2-r1 - ) -" - -RESTRICT="strip" - -S="${WORKDIR}" - -src_unpack() { - default - - local lang dir rpmdir i - local ooextused=() - - for lang in ${LANGUAGES}; do - # break away if not enabled; paludis support - use_if_iuse linguas_${lang} || continue - - dir=${lang/_/-} - - # for english we provide just helppack, as translation is always there - if [[ ${lang} != en ]]; then - rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_langpack-rpm_${dir}/RPMS/" - [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" - # First remove dictionaries, we want to use system ones. - rm -rf "${S}/${rpmdir}/"*dict*.rpm - rpm_unpack "./${rpmdir}/"*.rpm - fi - if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then - [[ ${lang} == en ]] && dir="en-US" - rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_helppack-rpm_${dir}/RPMS/" - [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" - rpm_unpack ./"${rpmdir}/"*.rpm - fi - if use templates; then - for i in ${OO_EXTENSIONS[@]}; do - lingua=${i/_*.oxt/} - lingua=${lingua/*Pack-/} - if [[ ${lang} == ${lingua} || ${lingua} == en-US ]]; then - if [[ ! -f "${S}/${i}" ]]; then - cp -v "${DISTDIR}/${i}" "${S}" - ooextused+=( "${i}" ) - fi - fi - done - fi - done - OO_EXTENSIONS=() - for i in ${ooextused[@]}; do - OO_EXTENSIONS+=( ${i} ) - done -} - -src_prepare() { :; } -src_configure() { :; } -src_compile() { :; } - -src_install() { - local dir="${S}"/opt/lodev$(get_version_component_range 1-2 ${MY_PV})/ - # Condition required for people that do not install anything eg no linguas - # or just english with no offlinehelp. - if [[ -d "${dir}" ]] ; then - insinto /usr/$(get_libdir)/${PN/-l10n/}/ - doins -r "${dir}"/* - fi - - echo "${OO_EXTENSIONS[@]}" - office-ext_src_install -} - -pkg_postinst() { - office-ext_pkg_postinst -} -pkg_prerm() { - office-ext_pkg_prerm -} diff --git a/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r4.ebuild b/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r4.ebuild new file mode 100644 index 000000000000..0ebdcb4d8687 --- /dev/null +++ b/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r4.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.0-r4.ebuild,v 1.1 2012/02/14 18:41:50 scarabeus Exp $ + +EAPI=4 + +MY_PV="3.5.0" + +RC_VERSION="rc3" # CHECK ME WITH EVERY BUMP! +BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/3.5.0/rpm" + +OO_EXTENSIONS=( + "472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt" + "53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt" + "4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt" + "a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt" + "09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt" + "b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt" +) +inherit rpm eutils versionator office-ext + +DESCRIPTION="Translations for the Libreoffice suite." +HOMEPAGE="http://www.libreoffice.org" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="offlinehelp templates" + +LANGUAGES_HELP="bg bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo es et eu +fi fr gl gu he hi hr hu id is it ja ka km ko lb mk nb ne nl nn om pl pt_BR pt +ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW" +LANGUAGES="${LANGUAGES_HELP} af ar as ast be br brx cy dgo fa ga gd kk kn kok ks +ku lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sh sr ss +st sw_TZ ta te th tn ts uz ve xh zu" + +for lang in ${LANGUAGES}; do + helppack="" + langpack="" + if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]]; then + [[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang} + helppack=" offlinehelp? ( ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_helppack-rpm_${lang2/_/-}.tar.gz ) " + fi + [[ ${lang} == en ]] \ + || langpack=" ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_langpack-rpm_${lang/_/-}.tar.gz " + SRC_URI+=" linguas_${lang}? ( + ${langpack} + ${helppack} + )" + IUSE+=" linguas_${lang}" +done +unset lang helppack langpack lang2 + +# dictionaries +SPELL_DICTS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk +nb nl nn pl pt ru sk sl sv tn zu" +for X in ${SPELL_DICTS} ; do + SPELL_DICTS_DEPEND+=" linguas_${X}? ( app-dicts/myspell-${X} )" +done +RDEPEND="${SPELL_DICTS_DEPEND}" +unset X SPELL_DICTS SPELL_DICTS_DEPEND + +# no need for iuse here as this needs to be written out and is subset +# of lignuas anyway +EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" +TDEPEND="" +for i in ${OO_EXTENSIONS[@]}; do + lingua=${i/_*.oxt/} + lingua=${lingua/*Pack-/} + if [[ ${lingua} == en-US ]]; then + TDEPEND+=" ${EXT_URI}/${i}" + else + TDEPEND+=" linguas_${lingua}? ( ${EXT_URI}/${i} )" + fi +done +SRC_URI+=" templates? ( ${TDEPEND} )" +unset i lingua TDEPEND EXT_URI + +# blockers for old libreoffice with bundled linguas +RDEPEND+=" + !=app-office/libreoffice-3.4.9999-r1 + !=app-office/libreoffice-9999-r1 + || ( + >=app-office/libreoffice-3.4.4.2-r1 + >=app-office/libreoffice-bin-3.4.4.2-r1 + ) +" + +RESTRICT="strip" + +S="${WORKDIR}" + +src_unpack() { + default + + local lang dir rpmdir i + local ooextused=() + + for lang in ${LANGUAGES}; do + # break away if not enabled; paludis support + use_if_iuse linguas_${lang} || continue + + dir=${lang/_/-} + + # for english we provide just helppack, as translation is always there + if [[ ${lang} != en ]]; then + rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_langpack-rpm_${dir}/RPMS/" + [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" + # First remove dictionaries, we want to use system ones. + rm -rf "${S}/${rpmdir}/"*dict*.rpm + rpm_unpack "./${rpmdir}/"*.rpm + fi + if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then + [[ ${lang} == en ]] && dir="en-US" + rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_helppack-rpm_${dir}/RPMS/" + [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" + rpm_unpack ./"${rpmdir}/"*.rpm + fi + if use templates; then + for i in ${OO_EXTENSIONS[@]}; do + lingua=${i/_*.oxt/} + lingua=${lingua/*Pack-/} + if [[ ${lang} == ${lingua} || ${lingua} == en-US ]]; then + if [[ ! -f "${S}/${i}" ]]; then + cp -v "${DISTDIR}/${i}" "${S}" + ooextused+=( "${i}" ) + fi + fi + done + fi + done + OO_EXTENSIONS=() + for i in ${ooextused[@]}; do + OO_EXTENSIONS+=( ${i} ) + done +} + +src_prepare() { :; } +src_configure() { :; } +src_compile() { :; } + +src_install() { + local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2 ${MY_PV})/ + # Condition required for people that do not install anything eg no linguas + # or just english with no offlinehelp. + if [[ -d "${dir}" ]] ; then + insinto /usr/$(get_libdir)/${PN/-l10n/}/ + doins -r "${dir}"/* + fi + + echo "${OO_EXTENSIONS[@]}" + office-ext_src_install +} + +pkg_postinst() { + office-ext_pkg_postinst +} +pkg_prerm() { + office-ext_pkg_prerm +} -- cgit v1.2.3-65-gdbad