Gentoo Archives: gentoo-commits

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