1 |
scarabeus 14/02/25 20:55:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libreoffice-l10n-4.1.5.3.ebuild |
5 |
libreoffice-l10n-4.2.1.1.ebuild |
6 |
Log: |
7 |
Version to 4.1.5 and 4.2.1. Drop 4.2.0. |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.101 app-office/libreoffice-l10n/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.101&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.101&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?r1=1.100&r2=1.101 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v |
21 |
retrieving revision 1.100 |
22 |
retrieving revision 1.101 |
23 |
diff -u -r1.100 -r1.101 |
24 |
--- ChangeLog 22 Feb 2014 08:11:49 -0000 1.100 |
25 |
+++ ChangeLog 25 Feb 2014 20:55:04 -0000 1.101 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for app-office/libreoffice-l10n |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.100 2014/02/22 08:11:49 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.101 2014/02/25 20:55:04 scarabeus Exp $ |
31 |
+ |
32 |
+*libreoffice-l10n-4.1.5.3 (25 Feb 2014) |
33 |
+*libreoffice-l10n-4.2.1.1 (25 Feb 2014) |
34 |
+ |
35 |
+ 25 Feb 2014; Tomáš Chvátal <scarabeus@g.o> |
36 |
+ +libreoffice-l10n-4.1.5.3.ebuild, +libreoffice-l10n-4.2.1.1.ebuild, |
37 |
+ files/lo_gen_langs.sh: |
38 |
+ Version to 4.1.5 and 4.2.1. Drop 4.2.0. |
39 |
|
40 |
22 Feb 2014; Agostino Sarubbo <ago@g.o> |
41 |
libreoffice-l10n-4.1.4.2.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 app-office/libreoffice-l10n/libreoffice-l10n-4.1.5.3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.1.5.3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.1.5.3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: libreoffice-l10n-4.1.5.3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.1.5.3.ebuild,v 1.1 2014/02/25 20:55:04 scarabeus Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
|
58 |
inherit rpm eutils multilib versionator |
59 |
|
60 |
MY_PV=$(get_version_component_range 1-3) |
61 |
|
62 |
DESCRIPTION="Translations for the Libreoffice suite." |
63 |
HOMEPAGE="http://www.libreoffice.org" |
64 |
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm" |
65 |
|
66 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
69 |
IUSE="offlinehelp" |
70 |
|
71 |
# |
72 |
# when changing the language lists, please be careful to preserve the spaces (bug 491728) |
73 |
# |
74 |
LANGUAGES_HELP=" am ast bg bn_IN 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 mk nb ne nl nn om pl pt_BR pt ru si sid sk sl sq sv tg tr ug uk vi zh_CN zh_TW " |
75 |
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd kk kn kok ks ku lb 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 tt uz ve xh zu " |
76 |
|
77 |
for lang in ${LANGUAGES_HELP}; do |
78 |
helppack="" |
79 |
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang} |
80 |
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )" |
81 |
SRC_URI+=" linguas_${lang}? ( ${helppack} )" |
82 |
done |
83 |
for lang in ${LANGUAGES}; do |
84 |
langpack="" |
85 |
[[ ${lang} == en ]] \ |
86 |
|| langpack="${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz" |
87 |
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )" |
88 |
IUSE+=" linguas_${lang}" |
89 |
done |
90 |
unset lang helppack langpack lang2 |
91 |
|
92 |
RDEPEND+="app-text/hunspell" |
93 |
|
94 |
RESTRICT="strip" |
95 |
|
96 |
S="${WORKDIR}" |
97 |
|
98 |
src_unpack() { |
99 |
default |
100 |
|
101 |
local lang dir rpmdir i |
102 |
local ooextused=() |
103 |
|
104 |
for lang in ${LANGUAGES}; do |
105 |
# break away if not enabled; paludis support |
106 |
use_if_iuse linguas_${lang} || continue |
107 |
|
108 |
dir=${lang/_/-} |
109 |
|
110 |
# for english we provide just helppack, as translation is always there |
111 |
if [[ ${lang} != en ]]; then |
112 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/" |
113 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
114 |
# First remove dictionaries, we want to use system ones. |
115 |
rm -rf "${S}/${rpmdir}/"*dict*.rpm |
116 |
rpm_unpack "./${rpmdir}/"*.rpm |
117 |
fi |
118 |
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then |
119 |
[[ ${lang} == en ]] && dir="en-US" |
120 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/" |
121 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
122 |
rpm_unpack ./"${rpmdir}/"*.rpm |
123 |
fi |
124 |
done |
125 |
} |
126 |
|
127 |
src_prepare() { :; } |
128 |
src_configure() { :; } |
129 |
src_compile() { :; } |
130 |
|
131 |
src_install() { |
132 |
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ |
133 |
# Condition required for people that do not install anything eg no linguas |
134 |
# or just english with no offlinehelp. |
135 |
if [[ -d "${dir}" ]] ; then |
136 |
insinto /usr/$(get_libdir)/${PN/-l10n/}/ |
137 |
doins -r "${dir}"/* |
138 |
fi |
139 |
# remove extensions that are in the l10n for some weird reason |
140 |
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ |
141 |
} |
142 |
|
143 |
|
144 |
|
145 |
1.1 app-office/libreoffice-l10n/libreoffice-l10n-4.2.1.1.ebuild |
146 |
|
147 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.2.1.1.ebuild?rev=1.1&view=markup |
148 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.2.1.1.ebuild?rev=1.1&content-type=text/plain |
149 |
|
150 |
Index: libreoffice-l10n-4.2.1.1.ebuild |
151 |
=================================================================== |
152 |
# Copyright 1999-2014 Gentoo Foundation |
153 |
# Distributed under the terms of the GNU General Public License v2 |
154 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.2.1.1.ebuild,v 1.1 2014/02/25 20:55:04 scarabeus Exp $ |
155 |
|
156 |
EAPI=5 |
157 |
|
158 |
inherit rpm eutils multilib versionator |
159 |
|
160 |
MY_PV=$(get_version_component_range 1-3) |
161 |
|
162 |
DESCRIPTION="Translations for the Libreoffice suite." |
163 |
HOMEPAGE="http://www.libreoffice.org" |
164 |
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm" |
165 |
|
166 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
167 |
SLOT="0" |
168 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
169 |
IUSE="offlinehelp" |
170 |
|
171 |
# |
172 |
# when changing the language lists, please be careful to preserve the spaces (bug 491728) |
173 |
# |
174 |
LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_valencia 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 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 " |
175 |
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd kk kmr_Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sid sr_Latn sr ss st sw_TZ ta te th tn ts tt uz ve xh zu " |
176 |
|
177 |
for lang in ${LANGUAGES_HELP}; do |
178 |
helppack="" |
179 |
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang} |
180 |
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )" |
181 |
SRC_URI+=" linguas_${lang}? ( ${helppack} )" |
182 |
done |
183 |
for lang in ${LANGUAGES}; do |
184 |
langpack="" |
185 |
[[ ${lang} == en ]] \ |
186 |
|| langpack="${BASE_SRC_URI}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz" |
187 |
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )" |
188 |
IUSE+=" linguas_${lang}" |
189 |
done |
190 |
unset lang helppack langpack lang2 |
191 |
|
192 |
RDEPEND+="app-text/hunspell" |
193 |
|
194 |
RESTRICT="strip" |
195 |
|
196 |
S="${WORKDIR}" |
197 |
|
198 |
src_unpack() { |
199 |
default |
200 |
|
201 |
local lang dir rpmdir i |
202 |
local ooextused=() |
203 |
|
204 |
for lang in ${LANGUAGES}; do |
205 |
# break away if not enabled; paludis support |
206 |
use_if_iuse linguas_${lang} || continue |
207 |
|
208 |
dir=${lang/_/-} |
209 |
|
210 |
# for english we provide just helppack, as translation is always there |
211 |
if [[ ${lang} != en ]]; then |
212 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/" |
213 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
214 |
# First remove dictionaries, we want to use system ones. |
215 |
rm -rf "${S}/${rpmdir}/"*dict*.rpm |
216 |
rpm_unpack "./${rpmdir}/"*.rpm |
217 |
fi |
218 |
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then |
219 |
[[ ${lang} == en ]] && dir="en-US" |
220 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/" |
221 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
222 |
rpm_unpack ./"${rpmdir}/"*.rpm |
223 |
fi |
224 |
done |
225 |
} |
226 |
|
227 |
src_prepare() { :; } |
228 |
src_configure() { :; } |
229 |
src_compile() { :; } |
230 |
|
231 |
src_install() { |
232 |
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ |
233 |
# Condition required for people that do not install anything eg no linguas |
234 |
# or just english with no offlinehelp. |
235 |
if [[ -d "${dir}" ]] ; then |
236 |
insinto /usr/$(get_libdir)/${PN/-l10n/}/ |
237 |
doins -r "${dir}"/* |
238 |
fi |
239 |
# remove extensions that are in the l10n for some weird reason |
240 |
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ |
241 |
} |