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