1 |
scarabeus 14/08/23 10:17:39 |
2 |
|
3 |
Modified: icu-52.1.ebuild ChangeLog |
4 |
Added: icu-53.1.ebuild |
5 |
Log: |
6 |
Add patch to fix time-based test. Add icu 53, should work with lo 4.2.6. bug#520322 and bug#506916 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 dev-libs/icu/icu-52.1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-52.1.ebuild?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-52.1.ebuild?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-52.1.ebuild?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: icu-52.1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-52.1.ebuild,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- icu-52.1.ebuild 21 Aug 2014 10:38:58 -0000 1.11 |
24 |
+++ icu-52.1.ebuild 23 Aug 2014 10:17:39 -0000 1.12 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-52.1.ebuild,v 1.11 2014/08/21 10:38:58 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-52.1.ebuild,v 1.12 2014/08/23 10:17:39 scarabeus Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -27,7 +27,8 @@ |
34 |
|
35 |
src_prepare() { |
36 |
local variable |
37 |
- |
38 |
+ |
39 |
+ epatch "${FILESDIR}/icu-fix-tests-depending-on-date.patch" |
40 |
epatch_user |
41 |
|
42 |
# Do not hardcode flags in icu-config and icu-*.pc files. |
43 |
|
44 |
|
45 |
|
46 |
1.278 dev-libs/icu/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.278&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.278&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.277&r2=1.278 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v |
55 |
retrieving revision 1.277 |
56 |
retrieving revision 1.278 |
57 |
diff -u -r1.277 -r1.278 |
58 |
--- ChangeLog 21 Aug 2014 10:38:58 -0000 1.277 |
59 |
+++ ChangeLog 23 Aug 2014 10:17:39 -0000 1.278 |
60 |
@@ -1,6 +1,14 @@ |
61 |
# ChangeLog for dev-libs/icu |
62 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.277 2014/08/21 10:38:58 ago Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.278 2014/08/23 10:17:39 scarabeus Exp $ |
65 |
+ |
66 |
+*icu-53.1 (23 Aug 2014) |
67 |
+ |
68 |
+ 23 Aug 2014; Tomáš Chvátal <scarabeus@g.o> |
69 |
+ +files/icu-fix-tests-depending-on-date.patch, +icu-53.1.ebuild, |
70 |
+ icu-52.1.ebuild: |
71 |
+ Add patch to fix time-based test. Add icu 53, should work with lo 4.2.6. |
72 |
+ bug#520322 and bug#506916 |
73 |
|
74 |
21 Aug 2014; Agostino Sarubbo <ago@g.o> icu-52.1.ebuild: |
75 |
Stable for ppc64, wrt bug #512012 |
76 |
|
77 |
|
78 |
|
79 |
1.1 dev-libs/icu/icu-53.1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-53.1.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-53.1.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: icu-53.1.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2014 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-53.1.ebuild,v 1.1 2014/08/23 10:17:39 scarabeus Exp $ |
89 |
|
90 |
EAPI=5 |
91 |
|
92 |
inherit eutils toolchain-funcs autotools multilib-minimal |
93 |
|
94 |
DESCRIPTION="International Components for Unicode" |
95 |
HOMEPAGE="http://www.icu-project.org/" |
96 |
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" |
97 |
|
98 |
LICENSE="BSD" |
99 |
|
100 |
SLOT="0/52" |
101 |
|
102 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
103 |
IUSE="debug doc examples static-libs" |
104 |
|
105 |
DEPEND=" |
106 |
doc? ( |
107 |
app-doc/doxygen[dot] |
108 |
) |
109 |
" |
110 |
|
111 |
S="${WORKDIR}/${PN}/source" |
112 |
|
113 |
src_prepare() { |
114 |
local variable |
115 |
|
116 |
epatch "${FILESDIR}/icu-fix-tests-depending-on-date.patch" |
117 |
epatch_user |
118 |
|
119 |
# Do not hardcode flags in icu-config and icu-*.pc files. |
120 |
# https://ssl.icu-project.org/trac/ticket/6102 |
121 |
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do |
122 |
sed \ |
123 |
-e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" \ |
124 |
-i config/icu.pc.in \ |
125 |
-i config/Makefile.inc.in \ |
126 |
|| die |
127 |
done |
128 |
|
129 |
# Disable renaming as it is stupind thing to do |
130 |
sed -i \ |
131 |
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ |
132 |
common/unicode/uconfig.h || die |
133 |
|
134 |
# Fix linking of icudata |
135 |
sed -i \ |
136 |
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ |
137 |
config/mh-linux || die |
138 |
|
139 |
# Append doxygen configuration to configure |
140 |
sed -i \ |
141 |
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \ |
142 |
configure.ac || die |
143 |
eautoreconf |
144 |
} |
145 |
|
146 |
src_configure() { |
147 |
if tc-is-cross-compiler; then |
148 |
mkdir "${WORKDIR}"/host || die |
149 |
pushd "${WORKDIR}"/host >/dev/null || die |
150 |
|
151 |
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ |
152 |
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ |
153 |
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ |
154 |
"${S}"/configure --disable-renaming --disable-debug \ |
155 |
--disable-samples --enable-static || die |
156 |
emake |
157 |
|
158 |
popd >/dev/null || die |
159 |
fi |
160 |
|
161 |
multilib-minimal_src_configure |
162 |
} |
163 |
|
164 |
multilib_src_configure() { |
165 |
local myeconfargs=( |
166 |
--disable-renaming |
167 |
--disable-samples |
168 |
$(use_enable debug) |
169 |
$(use_enable static-libs static) |
170 |
) |
171 |
|
172 |
multilib_is_native_abi && myeconfargs+=( |
173 |
$(use_enable examples samples) |
174 |
) |
175 |
tc-is-cross-compiler && myeconfargs+=( |
176 |
--with-cross-build="${WORKDIR}"/host |
177 |
) |
178 |
|
179 |
# icu tries to use clang by default |
180 |
tc-export CC CXX |
181 |
|
182 |
ECONF_SOURCE=${S} \ |
183 |
econf "${myeconfargs[@]}" |
184 |
} |
185 |
|
186 |
multilib_src_compile() { |
187 |
default |
188 |
|
189 |
if multilib_is_native_abi && use doc; then |
190 |
doxygen -u Doxyfile || die |
191 |
doxygen Doxyfile || die |
192 |
fi |
193 |
} |
194 |
|
195 |
multilib_src_test() { |
196 |
# INTLTEST_OPTS: intltest options |
197 |
# -e: Exhaustive testing |
198 |
# -l: Reporting of memory leaks |
199 |
# -v: Increased verbosity |
200 |
# IOTEST_OPTS: iotest options |
201 |
# -e: Exhaustive testing |
202 |
# -v: Increased verbosity |
203 |
# CINTLTST_OPTS: cintltst options |
204 |
# -e: Exhaustive testing |
205 |
# -v: Increased verbosity |
206 |
emake -j1 VERBOSE="1" check |
207 |
} |
208 |
|
209 |
multilib_src_install() { |
210 |
default |
211 |
|
212 |
if multilib_is_native_abi && use doc; then |
213 |
dohtml -p api -r doc/html/ |
214 |
fi |
215 |
} |
216 |
|
217 |
multilib_src_install_all() { |
218 |
einstalldocs |
219 |
dohtml ../readme.html |
220 |
} |