Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/icu: ChangeLog icu-4.8.1-r1.ebuild icu-4.8.1.ebuild icu-4.6.1.ebuild
Date: Mon, 05 Sep 2011 16:51:06
Message-Id: 20110905165052.2506120051@flycatcher.gentoo.org
1 scarabeus 11/09/05 16:50:52
2
3 Modified: ChangeLog
4 Added: icu-4.8.1-r1.ebuild
5 Removed: icu-4.8.1.ebuild icu-4.6.1.ebuild
6 Log:
7 Revision bump in order to fix font-crash problem in libreoffice. Bug #381327
8
9 (Portage version: 2.2.0_alpha53/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.159 dev-libs/icu/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.159&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.159&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.158&r2=1.159
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v
21 retrieving revision 1.158
22 retrieving revision 1.159
23 diff -u -r1.158 -r1.159
24 --- ChangeLog 20 Aug 2011 16:00:49 -0000 1.158
25 +++ ChangeLog 5 Sep 2011 16:50:52 -0000 1.159
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-libs/icu
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.158 2011/08/20 16:00:49 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.159 2011/09/05 16:50:52 scarabeus Exp $
31 +
32 +*icu-4.8.1-r1 (05 Sep 2011)
33 +
34 + 05 Sep 2011; Tomáš Chvátal <scarabeus@g.o> -icu-4.6.1.ebuild,
35 + -icu-4.8.1.ebuild, +icu-4.8.1-r1.ebuild,
36 + +files/icu-4.8.1-fix_binformat_fonts.patch:
37 + Revision bump in order to fix font-crash problem in libreoffice. Bug #381327
38
39 20 Aug 2011; Jeroen Roovers <jer@g.o> icu-4.8.ebuild:
40 Stable for HPPA (bug #374589).
41
42
43
44 1.1 dev-libs/icu/icu-4.8.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: icu-4.8.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.8.1-r1.ebuild,v 1.1 2011/09/05 16:50:52 scarabeus Exp $
54
55 EAPI="3"
56
57 inherit versionator
58
59 MAJOR_VERSION="$(get_version_component_range 1)"
60 MINOR_VERSION="$(get_version_component_range 2)"
61 if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then
62 MICRO_VERSION="0"
63 else
64 MICRO_VERSION="$(get_version_component_range 3)"
65 fi
66
67 DESCRIPTION="International Components for Unicode"
68 HOMEPAGE="http://www.icu-project.org/"
69
70 BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}"
71 SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
72 DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip"
73
74 SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
75 doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )"
76
77 LICENSE="BSD"
78 SLOT="0"
79 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
80 IUSE="debug doc examples static-libs"
81
82 DEPEND="doc? ( app-arch/unzip )"
83 RDEPEND=""
84
85 S="${WORKDIR}/${PN}/source"
86
87 QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}"
88
89 src_unpack() {
90 unpack "${SRC_ARCHIVE}"
91 if use doc; then
92 mkdir docs
93 pushd docs > /dev/null
94 unpack "${DOCS_ARCHIVE}"
95 popd > /dev/null
96 fi
97 }
98
99 src_prepare() {
100 # Do not hardcode flags into icu-config.
101 # https://ssl.icu-project.org/trac/ticket/6102
102 local variable
103 for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
104 sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed"
105 done
106
107 epatch "${FILESDIR}/icu-4.8.1-fix_binformat_fonts.patch"
108 }
109
110 src_configure() {
111 econf \
112 $(use_enable debug) \
113 $(use_enable examples samples) \
114 $(use_enable static-libs static)
115 }
116
117 src_test() {
118 # INTLTEST_OPTS: intltest options
119 # -e: Exhaustive testing
120 # -l: Reporting of memory leaks
121 # -v: Increased verbosity
122 # IOTEST_OPTS: iotest options
123 # -e: Exhaustive testing
124 # -v: Increased verbosity
125 # CINTLTST_OPTS: cintltst options
126 # -e: Exhaustive testing
127 # -v: Increased verbosity
128 emake -j1 check || die "emake check failed"
129 }
130
131 src_install() {
132 emake DESTDIR="${D}" install || die "emake install failed"
133
134 dohtml ../readme.html
135 dodoc ../unicode-license.txt
136 if use doc; then
137 insinto /usr/share/doc/${PF}/html/api
138 doins -r "${WORKDIR}/docs/"* || die "doins failed"
139 fi
140 }