1 |
scarabeus 12/02/27 16:19:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icu-4.8.1-r3.ebuild icu-4.8.1.1-r1.ebuild |
5 |
Removed: icu-4.8.1-r1.ebuild icu-4.8.ebuild |
6 |
icu-4.8.1.1.ebuild |
7 |
Log: |
8 |
Add patch to fix ltr ligatures issue. Wrt bug#405143. |
9 |
|
10 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.169 dev-libs/icu/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.169&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.169&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.168&r2=1.169 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v |
22 |
retrieving revision 1.168 |
23 |
retrieving revision 1.169 |
24 |
diff -u -r1.168 -r1.169 |
25 |
--- ChangeLog 28 Dec 2011 19:14:10 -0000 1.168 |
26 |
+++ ChangeLog 27 Feb 2012 16:19:35 -0000 1.169 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for dev-libs/icu |
29 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.168 2011/12/28 19:14:10 halcy0n Exp $ |
31 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.169 2012/02/27 16:19:35 scarabeus Exp $ |
33 |
+ |
34 |
+*icu-4.8.1.1-r1 (27 Feb 2012) |
35 |
+*icu-4.8.1-r3 (27 Feb 2012) |
36 |
+ |
37 |
+ 27 Feb 2012; Tomáš Chvátal <scarabeus@g.o> |
38 |
+ +files/icu-4.8.1-fix_ltr.patch, +icu-4.8.1-r3.ebuild, +icu-4.8.1.1-r1.ebuild, |
39 |
+ -icu-4.8.1-r1.ebuild, -icu-4.8.1.1.ebuild, -icu-4.8.ebuild: |
40 |
+ Add patch to fix ltr ligatures issue. Wrt bug#405143. |
41 |
|
42 |
28 Dec 2011; Mark Loeser <halcy0n@g.o> icu-4.8.1-r2.ebuild: |
43 |
Stable for ppc/ppc64; bug #387259 |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-libs/icu/icu-4.8.1-r3.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1-r3.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1-r3.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: icu-4.8.1-r3.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.8.1-r3.ebuild,v 1.1 2012/02/27 16:19:35 scarabeus Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
|
60 |
inherit versionator |
61 |
|
62 |
MAJOR_VERSION="$(get_version_component_range 1)" |
63 |
MINOR_VERSION="$(get_version_component_range 2)" |
64 |
if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then |
65 |
MICRO_VERSION="0" |
66 |
else |
67 |
MICRO_VERSION="$(get_version_component_range 3)" |
68 |
fi |
69 |
|
70 |
DESCRIPTION="International Components for Unicode" |
71 |
HOMEPAGE="http://www.icu-project.org/" |
72 |
|
73 |
BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}" |
74 |
SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" |
75 |
DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip" |
76 |
|
77 |
SRC_URI="${BASE_URI}/${SRC_ARCHIVE} |
78 |
doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )" |
79 |
|
80 |
LICENSE="BSD" |
81 |
SLOT="0" |
82 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
83 |
IUSE="debug doc examples static-libs" |
84 |
|
85 |
DEPEND="doc? ( app-arch/unzip )" |
86 |
RDEPEND="" |
87 |
|
88 |
S="${WORKDIR}/${PN}/source" |
89 |
|
90 |
QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}" |
91 |
|
92 |
src_unpack() { |
93 |
unpack "${SRC_ARCHIVE}" |
94 |
if use doc; then |
95 |
mkdir docs |
96 |
pushd docs > /dev/null |
97 |
unpack "${DOCS_ARCHIVE}" |
98 |
popd > /dev/null |
99 |
fi |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
# Do not hardcode flags into icu-config. |
104 |
# https://ssl.icu-project.org/trac/ticket/6102 |
105 |
local variable |
106 |
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do |
107 |
sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed" |
108 |
done |
109 |
|
110 |
epatch \ |
111 |
"${FILESDIR}/icu-4.8.1-fix_binformat_fonts.patch" \ |
112 |
"${FILESDIR}/icu-4.8.1-fix_nan.patch" \ |
113 |
"${FILESDIR}/icu-4.8.1-fix_ltr.patch" |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
econf \ |
118 |
$(use_enable debug) \ |
119 |
$(use_enable examples samples) \ |
120 |
$(use_enable static-libs static) |
121 |
} |
122 |
|
123 |
src_test() { |
124 |
# INTLTEST_OPTS: intltest options |
125 |
# -e: Exhaustive testing |
126 |
# -l: Reporting of memory leaks |
127 |
# -v: Increased verbosity |
128 |
# IOTEST_OPTS: iotest options |
129 |
# -e: Exhaustive testing |
130 |
# -v: Increased verbosity |
131 |
# CINTLTST_OPTS: cintltst options |
132 |
# -e: Exhaustive testing |
133 |
# -v: Increased verbosity |
134 |
emake -j1 check || die "emake check failed" |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
emake DESTDIR="${D}" install || die "emake install failed" |
139 |
|
140 |
dohtml ../readme.html |
141 |
dodoc ../unicode-license.txt |
142 |
if use doc; then |
143 |
insinto /usr/share/doc/${PF}/html/api |
144 |
doins -r "${WORKDIR}/docs/"* || die "doins failed" |
145 |
fi |
146 |
} |
147 |
|
148 |
|
149 |
|
150 |
1.1 dev-libs/icu/icu-4.8.1.1-r1.ebuild |
151 |
|
152 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.1-r1.ebuild?rev=1.1&view=markup |
153 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.1-r1.ebuild?rev=1.1&content-type=text/plain |
154 |
|
155 |
Index: icu-4.8.1.1-r1.ebuild |
156 |
=================================================================== |
157 |
# Copyright 1999-2012 Gentoo Foundation |
158 |
# Distributed under the terms of the GNU General Public License v2 |
159 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.8.1.1-r1.ebuild,v 1.1 2012/02/27 16:19:35 scarabeus Exp $ |
160 |
|
161 |
EAPI="4" |
162 |
|
163 |
inherit versionator |
164 |
|
165 |
MAJOR_VERSION="$(get_version_component_range 1)" |
166 |
MINOR_VERSION="$(get_version_component_range 2)" |
167 |
if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then |
168 |
MICRO_VERSION="0" |
169 |
else |
170 |
MICRO_VERSION="$(get_version_component_range 3)" |
171 |
fi |
172 |
|
173 |
DESCRIPTION="International Components for Unicode" |
174 |
HOMEPAGE="http://www.icu-project.org/" |
175 |
|
176 |
BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}" |
177 |
SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" |
178 |
DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip" |
179 |
|
180 |
SRC_URI="${BASE_URI}/${SRC_ARCHIVE} |
181 |
doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )" |
182 |
|
183 |
LICENSE="BSD" |
184 |
SLOT="0" |
185 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
186 |
IUSE="debug doc examples static-libs" |
187 |
|
188 |
DEPEND="doc? ( app-arch/unzip )" |
189 |
RDEPEND="" |
190 |
|
191 |
S="${WORKDIR}/${PN}/source" |
192 |
|
193 |
QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}.*" |
194 |
|
195 |
src_unpack() { |
196 |
unpack "${SRC_ARCHIVE}" |
197 |
if use doc; then |
198 |
mkdir docs |
199 |
pushd docs > /dev/null |
200 |
unpack "${DOCS_ARCHIVE}" |
201 |
popd > /dev/null |
202 |
fi |
203 |
} |
204 |
|
205 |
src_prepare() { |
206 |
# Do not hardcode flags into icu-config. |
207 |
# https://ssl.icu-project.org/trac/ticket/6102 |
208 |
local variable |
209 |
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do |
210 |
sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed" |
211 |
done |
212 |
|
213 |
epatch \ |
214 |
"${FILESDIR}/icu-4.8.1-fix_binformat_fonts.patch" \ |
215 |
"${FILESDIR}/icu-4.8.1-fix_nan.patch" \ |
216 |
"${FILESDIR}/icu-4.8.1-fix_ltr.patch" |
217 |
} |
218 |
|
219 |
src_configure() { |
220 |
econf \ |
221 |
$(use_enable debug) \ |
222 |
$(use_enable examples samples) \ |
223 |
$(use_enable static-libs static) |
224 |
} |
225 |
|
226 |
src_test() { |
227 |
# INTLTEST_OPTS: intltest options |
228 |
# -e: Exhaustive testing |
229 |
# -l: Reporting of memory leaks |
230 |
# -v: Increased verbosity |
231 |
# IOTEST_OPTS: iotest options |
232 |
# -e: Exhaustive testing |
233 |
# -v: Increased verbosity |
234 |
# CINTLTST_OPTS: cintltst options |
235 |
# -e: Exhaustive testing |
236 |
# -v: Increased verbosity |
237 |
emake -j1 check |
238 |
} |
239 |
|
240 |
src_install() { |
241 |
emake DESTDIR="${D}" install |
242 |
|
243 |
dohtml ../readme.html |
244 |
dodoc ../unicode-license.txt |
245 |
if use doc; then |
246 |
insinto /usr/share/doc/${PF}/html/api |
247 |
doins -r "${WORKDIR}/docs/"* |
248 |
fi |
249 |
} |