diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-06-05 21:32:16 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-06-05 21:32:16 +0000 |
commit | 0ec4322e964411e0c5555da921b6c39ffb9f9f75 (patch) | |
tree | a767d9a428f148f7ecdb590865bd1e9b680a9004 /app-office/openoffice-bin | |
parent | Fixed bug where .ui files didn't get compiled on some systems. (diff) | |
download | gentoo-2-0ec4322e964411e0c5555da921b6c39ffb9f9f75.tar.gz gentoo-2-0ec4322e964411e0c5555da921b6c39ffb9f9f75.tar.bz2 gentoo-2-0ec4322e964411e0c5555da921b6c39ffb9f9f75.zip |
better fix for the LINGUAS-bug
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r-- | app-office/openoffice-bin/ChangeLog | 7 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild | 24 |
2 files changed, 18 insertions, 13 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index d45a9e7f7a6a..215c7891debe 100644 --- a/app-office/openoffice-bin/ChangeLog +++ b/app-office/openoffice-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-office/openoffice-bin # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.80 2005/05/21 07:24:06 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.81 2005/06/05 21:32:16 suka Exp $ + + 05 Jun 2005; Andreas Proschofsky <suka@gentoo.org> + openoffice-bin-1.9.104.ebuild: + Make the LINGUAS-stuff a little bit smarter to not break en_GB, closes bug + #93826 21 May 2005; Andreas Proschofsky <suka@gentoo.org> openoffice-bin-1.9.104.ebuild: diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild index 7de1d8fb9f44..45a93d5571f2 100644 --- a/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild +++ b/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild,v 1.4 2005/06/05 21:03:32 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.9.104.ebuild,v 1.5 2005/06/05 21:32:16 suka Exp $ inherit eutils fdo-mime rpm versionator @@ -86,19 +86,19 @@ src_unpack() { strip-linguas en af bg cs cy da de en_GB es et fi fr hu it ja km ko nb nl nn ns pt_BR sk sl sv tn xh zh_CN zh_TW zu - export LINGUAS_OOO="${LINGUAS/en }" - - for i in ${LINGUAS_OOO}; do + for i in ${LINGUAS}; do i="${i/_/-}" - if [ -e ${DISTDIR}/${LANGPACK}_${i}.sh ] ; then - tail -n +159 ${DISTDIR}/${LANGPACK}_${i}.sh > ${S}/${LANGPACK}_${i}.tar.gz || die - tar -xvf ${S}/${LANGPACK}_${i}.tar.gz || die - else - unpack openofficeorg-${i}-${LANGSUFFIX} + if [ ${i} != "en" ] ; then + if [ -e ${DISTDIR}/${LANGPACK}_${i}.sh ] ; then + tail -n +159 ${DISTDIR}/${LANGPACK}_${i}.sh > ${S}/${LANGPACK}_${i}.tar.gz || die + tar -xvf ${S}/${LANGPACK}_${i}.tar.gz || die + else + unpack openofficeorg-${i}-${LANGSUFFIX} + fi + rpm_unpack openofficeorg-${i}-1.9.${SNV}-1.i586.rpm + rpm_unpack openofficeorg-${i}-help-1.9.${SNV}-1.i586.rpm + rpm_unpack openofficeorg-${i}-res-1.9.${SNV}-1.i586.rpm fi - rpm_unpack openofficeorg-${i}-1.9.${SNV}-1.i586.rpm - rpm_unpack openofficeorg-${i}-help-1.9.${SNV}-1.i586.rpm - rpm_unpack openofficeorg-${i}-res-1.9.${SNV}-1.i586.rpm done } |