summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-15 23:31:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-15 23:31:43 +0000
commitc096a69aae1999c99f37b2f6ced4b21469c933a8 (patch)
tree7e5fbac6d36c794f836c5f4a210538ce7173dfe2 /dev-libs/icu
parentImport Gentoo Prefix changes, convert to EAPI3, add keywords. bug 315513 (diff)
downloadhistorical-c096a69aae1999c99f37b2f6ced4b21469c933a8.tar.gz
historical-c096a69aae1999c99f37b2f6ced4b21469c933a8.tar.bz2
historical-c096a69aae1999c99f37b2f6ced4b21469c933a8.zip
Set QA_DT_NEEDED (bug #215729). Install libicutest (bug #310297).
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/icu')
-rw-r--r--dev-libs/icu/ChangeLog8
-rw-r--r--dev-libs/icu/Manifest4
-rw-r--r--dev-libs/icu/files/icu-4.4-install_libicutest.patch42
-rw-r--r--dev-libs/icu/icu-4.4-r1.ebuild75
4 files changed, 127 insertions, 2 deletions
diff --git a/dev-libs/icu/ChangeLog b/dev-libs/icu/ChangeLog
index 443bc3cb7b82..93b682b8f503 100644
--- a/dev-libs/icu/ChangeLog
+++ b/dev-libs/icu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/icu
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.105 2010/03/19 12:01:01 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.106 2010/04/15 23:31:43 arfrever Exp $
+
+*icu-4.4-r1 (15 Apr 2010)
+
+ 15 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +icu-4.4-r1.ebuild, +files/icu-4.4-install_libicutest.patch:
+ Set QA_DT_NEEDED (bug #215729). Install libicutest (bug #310297).
*icu-4.4 (19 Mar 2010)
diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
index 44011977f25a..4df84495e208 100644
--- a/dev-libs/icu/Manifest
+++ b/dev-libs/icu/Manifest
@@ -6,6 +6,7 @@ AUX icu-4.0.1-fix_parallel_building.patch 145 RMD160 d7e74631383b01a7cd9d18f9fda
AUX icu-4.2.1-fix_misoptimizations.patch 792 RMD160 e2057694f0e29ab4cd121811e1dcd727252589ef SHA1 805e3f9f2396d49d7212d1ef6e76a211f3c9e222 SHA256 b464091bc0f0f018b7597400851f628b1236938e090a9b3fe49c0baa45d2b60f
AUX icu-4.2.1-pkgdata-build_data_without_assembly.patch 378 RMD160 37f147df705c906f9af47b4c865fe7c865952313 SHA1 a5228b4587915d3ff89d81bad1ba0ae0566dd2e4 SHA256 7ee4dafc261b569229e86553248da738a8bb8ab758dd0c557e69eb891c667e5c
AUX icu-4.2.1-pkgdata.patch 4823 RMD160 3ab8ac44294ca6133429fdfbf962ac7b73fdfe72 SHA1 55c618ac12906b3778b129b83cc1db0d153accd3 SHA256 f8dd5dcd0f2a01e6b5859e05cc21bb8a3469b940a918903fc086c58643ecbd55
+AUX icu-4.4-install_libicutest.patch 1626 RMD160 7b96c085fc73a0477613d49484584acef53959e4 SHA1 9c869f8ffcead44193c2678869e6967e983ccd9e SHA256 c734852b18b0b70f66a6c5975354b5f1ef8ab2f5172e9f096e4cc4fdf15b0695
DIST icu-3_8-userguide.zip 2611858 RMD160 8fa028c73aedb9ef5fe2ff895469088ee0a4b5af SHA1 de16e72a8f53da466223ea34fb7385fe52b06736 SHA256 c61a3c2c923e08b5e0ee544b5e417058e4566878f8144a745924c5693ca160bb
DIST icu-4_0-userguide.zip 2201832 RMD160 efbde385d89be4f91f4945c963d3abc118121f50 SHA1 a4c7bbe4ce0b99bf907b598620aa58daf51d6883 SHA256 db9accfdfdb6536881513d8d0c09ff53cee0340804f0f06ed4fb303cceed1092
DIST icu4c-3_6-src.tgz 10183358 RMD160 b227ac9ff6019362bc4d01c18433869b0e0ff1c2 SHA1 b580c2802e74eb6af7e5e19b05c7d7c5d8c623f9 SHA256 5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041
@@ -21,6 +22,7 @@ EBUILD icu-3.6-r2.ebuild 951 RMD160 9bbf921a1e5cdf0c14d3cbc6319f15c99c9fd255 SHA
EBUILD icu-3.8.1-r1.ebuild 2305 RMD160 6b6537758e8ff7038e362b02d412afb3d4e267b4 SHA1 1d37dd15f7c899010807726bf25a723776f80ba1 SHA256 a766cd6d4950c0fe44126c53a8fa14704a7293cf0b1120b0ba9611247b84e6e0
EBUILD icu-4.0.1.ebuild 2172 RMD160 bf0956acfe882128b7be0508b473cc45d2fa5827 SHA1 90f225176c33db740be4f0a7eade80bf9a3b5f1c SHA256 89ec96ebcbe1520c215887b127c3b1b6cf71a0d68af43f975f086cc3e6257a3a
EBUILD icu-4.2.1.ebuild 2092 RMD160 1bcd9e0b51536bd5726d8b7fbd7065cdd81a37ba SHA1 18ebdeb5a06bc3087bd25984c2f930a015d71d09 SHA256 63d07ed11f3009af74eb0f266b7df17f6f757eb7e40d5512b47100e48a6dd60d
+EBUILD icu-4.4-r1.ebuild 1906 RMD160 317ae46be84eebc8af1e747b7d96586921add441 SHA1 ee0e032d0ee4c51fa9740acbd6ca96835671a3d9 SHA256 f3a007e0fdf560d9a70a7f49c602ffc0c5b4c70ff4b565123a7d568017854d94
EBUILD icu-4.4.ebuild 1783 RMD160 eddba60e1bc9a8705dab48de7d736a5872fd1503 SHA1 c33373f04c1797db68197839c84d535d382728b2 SHA256 c8c959c76144f06395c2853d11cf1fe00dc4a72ca344baaae09ba9108d6bdc30
-MISC ChangeLog 12777 RMD160 a584de890097e8efcaa483ace123f8b35fedc854 SHA1 ed5b0e2261505eb8f37ad8ef212f01ab28e8de81 SHA256 502433d889ece806fd92a717f8ff6c90e88466586c863c4ecbc8050df42db915
+MISC ChangeLog 13009 RMD160 1faa3bfae51933dbc9c84bc95001505da55a02d7 SHA1 26d8515a6348822c456b4cfb12518fd7759472c2 SHA256 13333cc3c0ce6331e84efb30324c8a56a0a652cf5e611863c5c412c1c21bee75
MISC metadata.xml 274 RMD160 c5ce174bf40a37d632d003bab5e2c5b97777a1c6 SHA1 ccf8f018b8d3a49a1557b5f77e29802cbbc6140d SHA256 b2c70fe9d0595a367c5d41793662a02d301f77b09b6dc70f5b675c2725419a6a
diff --git a/dev-libs/icu/files/icu-4.4-install_libicutest.patch b/dev-libs/icu/files/icu-4.4-install_libicutest.patch
new file mode 100644
index 000000000000..e38b49ca26fd
--- /dev/null
+++ b/dev-libs/icu/files/icu-4.4-install_libicutest.patch
@@ -0,0 +1,42 @@
+https://bugs.icu-project.org/trac/ticket/7567
+https://bugs.icu-project.org/trac/changeset/27878
+
+--- tools/ctestfw/Makefile.in
++++ tools/ctestfw/Makefile.in
+@@ -1,6 +1,6 @@
+ #******************************************************************************
+ #
+-# Copyright (C) 1999-2009, International Business Machines
++# Copyright (C) 1999-2010, International Business Machines
+ # Corporation and others. All Rights Reserved.
+ #
+ #******************************************************************************
+@@ -79,6 +79,28 @@
+ install-local: install-library
+
+ install-library: all-local
++ $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
++ifneq ($(ENABLE_STATIC),)
++ $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++endif
++ifneq ($(ENABLE_SHARED),)
++ $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
++ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
++ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
++ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
++ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
++endif
++endif
++ifneq ($(IMPORT_LIB_EXT),)
++ $(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
++ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
++ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
++endif
++ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
++ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
++endif
++endif
++endif
+
+ dist-local:
+
diff --git a/dev-libs/icu/icu-4.4-r1.ebuild b/dev-libs/icu/icu-4.4-r1.ebuild
new file mode 100644
index 000000000000..9806fcf5e71c
--- /dev/null
+++ b/dev-libs/icu/icu-4.4-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.4-r1.ebuild,v 1.1 2010/04/15 23:31:43 arfrever Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic versionator
+
+MAJOR_MINOR_VERSION="$(get_version_component_range 1-2)"
+
+DESCRIPTION="International Components for Unicode"
+HOMEPAGE="http://www.icu-project.org/"
+
+BASE_URI="http://download.icu-project.org/files/icu4c/${PV}"
+DOCS_BASE_URI="http://download.icu-project.org/files/icu4c/${MAJOR_MINOR_VERSION}"
+SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
+DOCS_ARCHIVE="icu4c-${MAJOR_MINOR_VERSION//./_}-docs.zip"
+
+SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
+ doc? ( ${DOCS_BASE_URI}/${DOCS_ARCHIVE} )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc examples"
+
+DEPEND="doc? ( app-arch/unzip )"
+RDEPEND=""
+
+S="${WORKDIR}/${PN}/source"
+
+QA_DT_NEEDED="/usr/lib.*/libicudata.so.${MAJOR_MINOR_VERSION/./}.0"
+
+src_unpack() {
+ unpack "${SRC_ARCHIVE}"
+ if use doc; then
+ mkdir docs
+ pushd docs > /dev/null
+ unpack "${DOCS_ARCHIVE}"
+ popd > /dev/null
+ fi
+}
+
+src_prepare() {
+ # Do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
+ # Bug 202059
+ # https://bugs.icu-project.org/trac/ticket/6102
+ for x in ARFLAGS CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
+ sed -i -e "/^${x} =.*/s:@${x}@::" "config/Makefile.inc.in" || die "sed failed"
+ done
+
+ epatch "${FILESDIR}/${P}-install_libicutest.patch"
+}
+
+src_configure() {
+ econf \
+ --enable-static \
+ $(use_enable debug) \
+ $(use_enable examples samples)
+}
+
+src_test() {
+ emake check || die "emake check failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dohtml ../readme.html
+ dodoc ../unicode-license.txt
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html/api
+ doins -r "${WORKDIR}/docs/"*
+ fi
+}