Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/icu: ChangeLog icu-4.4.2.ebuild
Date: Sat, 02 Oct 2010 22:31:45
Message-Id: 20101002223141.6477320051@flycatcher.gentoo.org
1 arfrever 10/10/02 22:31:41
2
3 Modified: ChangeLog
4 Added: icu-4.4.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc88_p72/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.122 dev-libs/icu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.122&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.122&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.121&r2=1.122
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v
20 retrieving revision 1.121
21 retrieving revision 1.122
22 diff -u -r1.121 -r1.122
23 --- ChangeLog 30 Sep 2010 20:35:42 -0000 1.121
24 +++ ChangeLog 2 Oct 2010 22:31:41 -0000 1.122
25 @@ -1,6 +1,17 @@
26 # ChangeLog for dev-libs/icu
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.121 2010/09/30 20:35:42 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.122 2010/10/02 22:31:41 arfrever Exp $
30 +
31 +*icu-4.4.2 (02 Oct 2010)
32 +
33 + 02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -icu-4.0.1.ebuild, -files/icu-4.0.1-TestDisplayNamesMeta.patch,
35 + -files/icu-4.0.1-fix_parallel_building.patch, -icu-4.2.1.ebuild,
36 + -files/icu-4.2.1-fix_misoptimizations.patch,
37 + -files/icu-4.2.1-pkgdata.patch,
38 + -files/icu-4.2.1-pkgdata-build_data_without_assembly.patch,
39 + +icu-4.4.2.ebuild:
40 + Version bump.
41
42 30 Sep 2010; Brent Baude <ranger@g.o> icu-4.4.1.ebuild:
43 stable ppc64, bug 322297
44
45
46
47 1.1 dev-libs/icu/icu-4.4.2.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.4.2.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.4.2.ebuild?rev=1.1&content-type=text/plain
51
52 Index: icu-4.4.2.ebuild
53 ===================================================================
54 # Copyright 1999-2010 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.4.2.ebuild,v 1.1 2010/10/02 22:31:41 arfrever Exp $
57
58 EAPI="3"
59
60 inherit eutils flag-o-matic versionator
61
62 MAJOR_MINOR_VERSION="$(get_version_component_range 1-2)"
63 MICRO_VERSION="$(get_version_component_range 3)"
64
65 DESCRIPTION="International Components for Unicode"
66 HOMEPAGE="http://www.icu-project.org/"
67
68 BASE_URI="http://download.icu-project.org/files/icu4c/${PV}"
69 DOCS_BASE_URI="http://download.icu-project.org/files/icu4c/${MAJOR_MINOR_VERSION}"
70 SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
71 DOCS_ARCHIVE="icu4c-${MAJOR_MINOR_VERSION//./_}-docs.zip"
72
73 SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
74 doc? ( ${DOCS_BASE_URI}/${DOCS_ARCHIVE} )"
75
76 LICENSE="BSD"
77 SLOT="0"
78 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
79 IUSE="debug doc examples static-libs"
80
81 DEPEND="doc? ( app-arch/unzip )"
82 RDEPEND=""
83
84 S="${WORKDIR}/${PN}/source"
85
86 QA_DT_NEEDED="/usr/lib.*/libicudata.so.${MAJOR_MINOR_VERSION/./}.${MICRO_VERSION:-0}"
87
88 src_unpack() {
89 unpack "${SRC_ARCHIVE}"
90 if use doc; then
91 mkdir docs
92 pushd docs > /dev/null
93 unpack "${DOCS_ARCHIVE}"
94 popd > /dev/null
95 fi
96 }
97
98 src_prepare() {
99 # Do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
100 # Bug 202059
101 # https://bugs.icu-project.org/trac/ticket/6102
102 for x in ARFLAGS CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
103 sed -i -e "/^${x} =.*/s:@${x}@::" "config/Makefile.inc.in" || die "sed failed"
104 done
105
106 epatch "${FILESDIR}/${PN}-4.4.1-pkgdata.patch"
107 epatch "${FILESDIR}/${PN}-4.4.1-et_EE.patch"
108 epatch "${FILESDIR}/${PN}-4.4.1-arm.patch"
109 }
110
111 src_configure() {
112 append-flags -fno-strict-aliasing
113
114 econf \
115 $(use_enable debug) \
116 $(use_enable examples samples) \
117 $(use_enable static-libs static)
118 }
119
120 src_test() {
121 emake check || die "emake check failed"
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "emake install failed"
126
127 dohtml ../readme.html
128 dodoc ../unicode-license.txt
129 if use doc; then
130 insinto /usr/share/doc/${PF}/html/api
131 doins -r "${WORKDIR}/docs/"*
132 fi
133 }