1 |
scarabeus 13/01/30 17:21:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libreoffice-l10n-4.0.0.2.ebuild |
5 |
Removed: libreoffice-l10n-4.0.0.1.ebuild |
6 |
Log: |
7 |
Version bump to 4.0.0.2 to mitigate issue with the calc errors. Dep strings to be adjusted later. |
8 |
|
9 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.67 app-office/libreoffice-l10n/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.67&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.67&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?r1=1.66&r2=1.67 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v |
21 |
retrieving revision 1.66 |
22 |
retrieving revision 1.67 |
23 |
diff -u -r1.66 -r1.67 |
24 |
--- ChangeLog 23 Jan 2013 15:27:02 -0000 1.66 |
25 |
+++ ChangeLog 30 Jan 2013 17:21:34 -0000 1.67 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-office/libreoffice-l10n |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.66 2013/01/23 15:27:02 scarabeus Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.67 2013/01/30 17:21:34 scarabeus Exp $ |
31 |
+ |
32 |
+*libreoffice-l10n-4.0.0.2 (30 Jan 2013) |
33 |
+ |
34 |
+ 30 Jan 2013; Tomáš Chvátal <scarabeus@g.o> |
35 |
+ +libreoffice-l10n-4.0.0.2.ebuild, -libreoffice-l10n-4.0.0.1.ebuild: |
36 |
+ Version bump to 4.0.0.2 to mitigate issue with the calc errors. Dep strings to |
37 |
+ be adjusted later. |
38 |
|
39 |
*libreoffice-l10n-4.0.0.1 (23 Jan 2013) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-office/libreoffice-l10n/libreoffice-l10n-4.0.0.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.0.0.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.0.0.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: libreoffice-l10n-4.0.0.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-4.0.0.2.ebuild,v 1.1 2013/01/30 17:21:34 scarabeus Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
|
57 |
inherit rpm eutils multilib versionator |
58 |
|
59 |
MY_PV=$(get_version_component_range 1-3) |
60 |
|
61 |
DESCRIPTION="Translations for the Libreoffice suite." |
62 |
HOMEPAGE="http://www.libreoffice.org" |
63 |
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/testing/${MY_PV}/rpm" |
64 |
|
65 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
68 |
IUSE="offlinehelp" |
69 |
|
70 |
LANGUAGES_HELP="ast bg bn_IN bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo |
71 |
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 |
72 |
pt_BR pt ro ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW" |
73 |
LANGUAGES="${LANGUAGES_HELP} af am ar as be br brx cy dgo fa ga gd kk kn kok ks |
74 |
ku lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN rw sa_IN sat sd sh sr ss st |
75 |
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_${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_${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+=" |
93 |
app-text/hunspell |
94 |
!<app-office/libreoffice-$(get_version_component_range 1-2) |
95 |
!<app-office/libreoffice-bin-$(get_version_component_range 1-2) |
96 |
" |
97 |
|
98 |
RESTRICT="strip" |
99 |
|
100 |
S="${WORKDIR}" |
101 |
|
102 |
src_unpack() { |
103 |
default |
104 |
|
105 |
local lang dir rpmdir i |
106 |
local ooextused=() |
107 |
|
108 |
for lang in ${LANGUAGES}; do |
109 |
# break away if not enabled; paludis support |
110 |
use_if_iuse linguas_${lang} || continue |
111 |
|
112 |
dir=${lang/_/-} |
113 |
|
114 |
# for english we provide just helppack, as translation is always there |
115 |
if [[ ${lang} != en ]]; then |
116 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/" |
117 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
118 |
# First remove dictionaries, we want to use system ones. |
119 |
rm -rf "${S}/${rpmdir}/"*dict*.rpm |
120 |
rpm_unpack "./${rpmdir}/"*.rpm |
121 |
fi |
122 |
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then |
123 |
[[ ${lang} == en ]] && dir="en-US" |
124 |
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/" |
125 |
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
126 |
rpm_unpack ./"${rpmdir}/"*.rpm |
127 |
fi |
128 |
done |
129 |
} |
130 |
|
131 |
src_prepare() { :; } |
132 |
src_configure() { :; } |
133 |
src_compile() { :; } |
134 |
|
135 |
src_install() { |
136 |
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ |
137 |
# Condition required for people that do not install anything eg no linguas |
138 |
# or just english with no offlinehelp. |
139 |
if [[ -d "${dir}" ]] ; then |
140 |
insinto /usr/$(get_libdir)/${PN/-l10n/}/ |
141 |
doins -r "${dir}"/* |
142 |
fi |
143 |
# remove extensions that are in the l10n for some weird reason |
144 |
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ |
145 |
} |