* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2011-11-10 20:35 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-11-10 20:35 UTC (permalink / raw
To: gentoo-commits
scarabeus 11/11/10 20:35:58
Added: lo_gen_langs.sh
Log:
Version bump, fill all the missing langs.
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
Revision Changes Path
1.1 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.1&content-type=text/plain
Index: lo_gen_langs.sh
===================================================================
#!/bin/bash
# Licensed under the GNU General Public License, v2
#
# Author: Ralph Sennhauser
#
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
VERSION=${1:-3.4.4}
BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
# needs lxml
print_available_tarballs() {
python << EOL
import sys, urllib
from xml.dom.minidom import parseString
from BeautifulSoup import BeautifulSoup
opener = urllib.urlopen("${BASE_SRC_URI}")
html = opener.read()
opener.close()
# broken html, try to sanitize
html = BeautifulSoup(html).prettify()
dom = parseString(html)
for elem in dom.getElementsByTagName('a'):
attr = elem.getAttribute("href")
if attr.endswith('tar.gz'):
if "install" in attr: continue
print(attr)
EOL
}
tarballs=( $(print_available_tarballs) )
help_packs=()
lang_packs=()
lang_packs_reduced=()
for tb in "${tarballs[@]}"; do
pack=${tb%.tar.gz}
pack=${pack##*rpm_}
pack=${pack/en-US/en}
pack=${pack/-/_}
if [[ ${tb} =~ helppack ]]; then
help_packs+=( ${pack/en-US/en} )
else
lang_packs+=( ${pack/en-US/en} )
fi
done
for lpack in "${lang_packs[@]}"; do
for hpack in "${help_packs[@]}"; do
if [[ ${hpack} == ${lpack} ]]; then
continue 2
fi
done
lang_packs_reduced+=( ${lpack} )
done
echo "LANGUAGES_HELP=\"${help_packs[@]}\""
echo "LANGUAGES=\"\${LANGUAGES_HELP} ${lang_packs_reduced[@]}\""
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2012-01-11 12:06 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-01-11 12:06 UTC (permalink / raw
To: gentoo-commits
scarabeus 12/01/11 12:06:26
Modified: lo_gen_langs.sh
Log:
Revsion bump to use updated rpms.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Revision Changes Path
1.2 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.1&r2=1.2
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lo_gen_langs.sh 10 Nov 2011 20:35:58 -0000 1.1
+++ lo_gen_langs.sh 11 Jan 2012 12:06:26 -0000 1.2
@@ -7,8 +7,8 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-3.4.4}
-BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
+VERSION=${1:-3.4.5-rc2}
+BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
# needs lxml
print_available_tarballs() {
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2012-03-17 17:33 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-03-17 17:33 UTC (permalink / raw
To: gentoo-commits
scarabeus 12/03/17 17:33:56
Modified: lo_gen_langs.sh
Log:
Revbump with translations from 3.5.1. (anyone knows what tt lingua is for?)
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Revision Changes Path
1.3 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.2&r2=1.3
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lo_gen_langs.sh 11 Jan 2012 12:06:26 -0000 1.2
+++ lo_gen_langs.sh 17 Mar 2012 17:33:56 -0000 1.3
@@ -7,8 +7,8 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-3.4.5-rc2}
-BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
+VERSION=${1:-3.5.1}
+BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
# needs lxml
print_available_tarballs() {
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2012-08-08 12:00 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-08-08 12:00 UTC (permalink / raw
To: gentoo-commits
scarabeus 12/08/08 12:00:29
Modified: lo_gen_langs.sh
Log:
Version bump to 3.6 release.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.4 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.3&r2=1.4
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lo_gen_langs.sh 17 Mar 2012 17:33:56 -0000 1.3
+++ lo_gen_langs.sh 8 Aug 2012 12:00:29 -0000 1.4
@@ -7,7 +7,7 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-3.5.1}
+VERSION=${1:-3.6.0}
BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
# needs lxml
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2013-01-23 15:27 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2013-01-23 15:27 UTC (permalink / raw
To: gentoo-commits
scarabeus 13/01/23 15:27:02
Modified: lo_gen_langs.sh
Log:
Add 4.0 langpacks to fix weird crashers.
(Portage version: 2.2.0_alpha158/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Revision Changes Path
1.5 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.4&r2=1.5
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lo_gen_langs.sh 8 Aug 2012 12:00:29 -0000 1.4
+++ lo_gen_langs.sh 23 Jan 2013 15:27:02 -0000 1.5
@@ -7,8 +7,8 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-3.6.0}
-BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
+VERSION=${1:-4.0.0}
+BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
# needs lxml
print_available_tarballs() {
@@ -42,10 +42,13 @@
pack=${pack##*rpm_}
pack=${pack/en-US/en}
pack=${pack/-/_}
+ pack=${pack/en-US/en}
if [[ ${tb} =~ helppack ]]; then
- help_packs+=( ${pack/en-US/en} )
- else
- lang_packs+=( ${pack/en-US/en} )
+ pack=${pack/helppack_/}
+ help_packs+=( ${pack} )
+ elif [[ ${tb} =~ langpack ]]; then
+ pack=${pack/langpack_/}
+ lang_packs+=( ${pack} )
fi
done
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2013-03-06 12:51 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2013-03-06 12:51 UTC (permalink / raw
To: gentoo-commits
scarabeus 13/03/06 12:51:26
Modified: lo_gen_langs.sh
Log:
Bump to 4.0.1.2.
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Revision Changes Path
1.6 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.5&r2=1.6
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- lo_gen_langs.sh 23 Jan 2013 15:27:02 -0000 1.5
+++ lo_gen_langs.sh 6 Mar 2013 12:51:26 -0000 1.6
@@ -7,7 +7,7 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-4.0.0}
+VERSION=${1:-4.0.1}
BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
# needs lxml
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2013-06-23 15:34 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2013-06-23 15:34 UTC (permalink / raw
To: gentoo-commits
scarabeus 13/06/23 15:34:31
Modified: lo_gen_langs.sh
Log:
Add l10n for 4.1 rc1 release.
(Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Revision Changes Path
1.7 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.6&r2=1.7
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- lo_gen_langs.sh 6 Mar 2013 12:51:26 -0000 1.6
+++ lo_gen_langs.sh 23 Jun 2013 15:34:31 -0000 1.7
@@ -7,7 +7,7 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-4.0.1}
+VERSION=${1:-4.1.0}
BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
# needs lxml
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh
@ 2014-02-25 20:55 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2014-02-25 20:55 UTC (permalink / raw
To: gentoo-commits
scarabeus 14/02/25 20:55:04
Modified: lo_gen_langs.sh
Log:
Version to 4.1.5 and 4.2.1. Drop 4.2.0.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Revision Changes Path
1.8 app-office/libreoffice-l10n/files/lo_gen_langs.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh?r1=1.7&r2=1.8
Index: lo_gen_langs.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/files/lo_gen_langs.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- lo_gen_langs.sh 23 Jun 2013 15:34:31 -0000 1.7
+++ lo_gen_langs.sh 25 Feb 2014 20:55:04 -0000 1.8
@@ -7,8 +7,8 @@
# Find l10n packs for libreoffice and format it for use in ebuilds.
#
-VERSION=${1:-4.1.0}
-BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86"
+VERSION=${1:-4.1.5}
+BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86"
# needs lxml
print_available_tarballs() {
@@ -61,5 +61,5 @@
lang_packs_reduced+=( ${lpack} )
done
-echo "LANGUAGES_HELP=\"${help_packs[@]}\""
-echo "LANGUAGES=\"\${LANGUAGES_HELP} ${lang_packs_reduced[@]}\""
+echo "LANGUAGES_HELP=\" ${help_packs[@]} \""
+echo "LANGUAGES=\"\${LANGUAGES_HELP}${lang_packs_reduced[@]} \""
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-02-25 20:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-23 15:34 [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n/files: lo_gen_langs.sh Tomas Chvatal (scarabeus)
-- strict thread matches above, loose matches on Subject: below --
2014-02-25 20:55 Tomas Chvatal (scarabeus)
2013-03-06 12:51 Tomas Chvatal (scarabeus)
2013-01-23 15:27 Tomas Chvatal (scarabeus)
2012-08-08 12:00 Tomas Chvatal (scarabeus)
2012-03-17 17:33 Tomas Chvatal (scarabeus)
2012-01-11 12:06 Tomas Chvatal (scarabeus)
2011-11-10 20:35 Tomas Chvatal (scarabeus)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox