1 |
scarabeus 12/08/31 14:02:58 |
2 |
|
3 |
Modified: libreoffice-l10n-3.5.6.ebuild ChangeLog |
4 |
Added: libreoffice-l10n-3.6.1.2.ebuild |
5 |
Removed: libreoffice-l10n-3.6.0.4.ebuild |
6 |
libreoffice-l10n-3.5.5.ebuild |
7 |
Log: |
8 |
Version bump langs to 3.6.1. Stabilise 3.5.6. Drop older. |
9 |
|
10 |
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.2 app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild?rev=1.2&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild?rev=1.2&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild?r1=1.1&r2=1.2 |
18 |
|
19 |
Index: libreoffice-l10n-3.5.6.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild,v |
22 |
retrieving revision 1.1 |
23 |
retrieving revision 1.2 |
24 |
diff -u -r1.1 -r1.2 |
25 |
--- libreoffice-l10n-3.5.6.ebuild 21 Aug 2012 10:12:56 -0000 1.1 |
26 |
+++ libreoffice-l10n-3.5.6.ebuild 31 Aug 2012 14:02:58 -0000 1.2 |
27 |
@@ -1,6 +1,6 @@ |
28 |
# Copyright 1999-2012 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild,v 1.1 2012/08/21 10:12:56 scarabeus Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.5.6.ebuild,v 1.2 2012/08/31 14:02:58 scarabeus Exp $ |
32 |
|
33 |
EAPI=4 |
34 |
|
35 |
@@ -16,7 +16,7 @@ |
36 |
|
37 |
LICENSE="LGPL-3" |
38 |
SLOT="0" |
39 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
40 |
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" |
41 |
IUSE="offlinehelp" |
42 |
|
43 |
LANGUAGES_HELP="bg bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo es et eu |
44 |
|
45 |
|
46 |
|
47 |
1.58 app-office/libreoffice-l10n/ChangeLog |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.58&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.58&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?r1=1.57&r2=1.58 |
52 |
|
53 |
Index: ChangeLog |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v |
56 |
retrieving revision 1.57 |
57 |
retrieving revision 1.58 |
58 |
diff -u -r1.57 -r1.58 |
59 |
--- ChangeLog 21 Aug 2012 10:12:56 -0000 1.57 |
60 |
+++ ChangeLog 31 Aug 2012 14:02:58 -0000 1.58 |
61 |
@@ -1,6 +1,13 @@ |
62 |
# ChangeLog for app-office/libreoffice-l10n |
63 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.57 2012/08/21 10:12:56 scarabeus Exp $ |
65 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.58 2012/08/31 14:02:58 scarabeus Exp $ |
66 |
+ |
67 |
+*libreoffice-l10n-3.6.1.2 (31 Aug 2012) |
68 |
+ |
69 |
+ 31 Aug 2012; Tomáš Chvátal <scarabeus@g.o> |
70 |
+ +libreoffice-l10n-3.6.1.2.ebuild, -libreoffice-l10n-3.5.5.ebuild, |
71 |
+ -libreoffice-l10n-3.6.0.4.ebuild, libreoffice-l10n-3.5.6.ebuild: |
72 |
+ Version bump langs to 3.6.1. Stabilise 3.5.6. Drop older. |
73 |
|
74 |
*libreoffice-l10n-3.5.6 (21 Aug 2012) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.1 app-office/libreoffice-l10n/libreoffice-l10n-3.6.1.2.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.6.1.2.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.6.1.2.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: libreoffice-l10n-3.6.1.2.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2012 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.6.1.2.ebuild,v 1.1 2012/08/31 14:02:58 scarabeus Exp $ |
89 |
|
90 |
EAPI=4 |
91 |
|
92 |
inherit rpm eutils multilib versionator |
93 |
|
94 |
MY_PV=$(get_version_component_range 1-3) |
95 |
|
96 |
DESCRIPTION="Translations for the Libreoffice suite." |
97 |
HOMEPAGE="http://www.libreoffice.org" |
98 |
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm" |
99 |
|
100 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
101 |
SLOT="0" |
102 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
103 |
IUSE="offlinehelp" |
104 |
|
105 |
LANGUAGES_HELP="ast bg bn_IN bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo |
106 |
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 |
107 |
pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW" |
108 |
LANGUAGES="${LANGUAGES_HELP} af am ar as be br brx cy dgo fa ga gd kk kn kok ks |
109 |
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 |
110 |
st sw_TZ ta te th tn ts tt uz ve xh zu" |
111 |
|
112 |
for lang in ${LANGUAGES_HELP}; do |
113 |
helppack="" |
114 |
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang} |
115 |
helppack="offlinehelp? ( ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_helppack-rpm_${lang2/_/-}.tar.gz )" |
116 |
SRC_URI+=" linguas_${lang}? ( ${helppack} )" |
117 |
done |
118 |
for lang in ${LANGUAGES}; do |
119 |
langpack="" |
120 |
[[ ${lang} == en ]] \ |
121 |
|| langpack="${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_langpack-rpm_${lang/_/-}.tar.gz" |
122 |
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )" |
123 |
IUSE+=" linguas_${lang}" |
124 |
done |
125 |
unset lang helppack langpack lang2 |
126 |
|
127 |
RDEPEND+=" |
128 |
app-text/hunspell |
129 |
!<app-office/libreoffice-$(get_version_component_range 1-2) |
130 |
!<app-office/libreoffice-bin-$(get_version_component_range 1-2) |
131 |
" |
132 |
|
133 |
RESTRICT="strip" |
134 |
|
135 |
S="${WORKDIR}" |
136 |
|
137 |
src_unpack() { |
138 |
default |
139 |
|
140 |
local lang dir rpmdir i |
141 |
local ooextused=() |
142 |
|
143 |
for lang in ${LANGUAGES}; do |
144 |
# break away if not enabled; paludis support |
145 |
use_if_iuse linguas_${lang} || continue |
146 |
|
147 |
dir=${lang/_/-} |
148 |
|
149 |
# for english we provide just helppack, as translation is always there |
150 |
if [[ ${lang} != en ]]; then |
151 |
rpmdir="LibO_${PV}_Linux_x86_langpack-rpm_${dir}/RPMS/" |
152 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
153 |
# First remove dictionaries, we want to use system ones. |
154 |
rm -rf "${S}/${rpmdir}/"*dict*.rpm |
155 |
rpm_unpack "./${rpmdir}/"*.rpm |
156 |
fi |
157 |
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then |
158 |
[[ ${lang} == en ]] && dir="en-US" |
159 |
rpmdir="LibO_${PV}_Linux_x86_helppack-rpm_${dir}/RPMS/" |
160 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
161 |
rpm_unpack ./"${rpmdir}/"*.rpm |
162 |
fi |
163 |
done |
164 |
} |
165 |
|
166 |
src_prepare() { :; } |
167 |
src_configure() { :; } |
168 |
src_compile() { :; } |
169 |
|
170 |
src_install() { |
171 |
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ |
172 |
# Condition required for people that do not install anything eg no linguas |
173 |
# or just english with no offlinehelp. |
174 |
if [[ -d "${dir}" ]] ; then |
175 |
insinto /usr/$(get_libdir)/${PN/-l10n/}/ |
176 |
doins -r "${dir}"/* |
177 |
fi |
178 |
# remove extensions that are in the l10n for some weird reason |
179 |
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ |
180 |
} |