summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-01-04 13:34:11 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-01-04 13:34:11 +0000
commit1b506013c05e817dea4c7e44d27281e38e7da709 (patch)
tree7044eaaf768b00db5ae7ec25518a8d6cf9b54b41 /dev-libs/icu
parentVersion bump from project overlay (diff)
downloadgentoo-2-1b506013c05e817dea4c7e44d27281e38e7da709.tar.gz
gentoo-2-1b506013c05e817dea4c7e44d27281e38e7da709.tar.bz2
gentoo-2-1b506013c05e817dea4c7e44d27281e38e7da709.zip
Version bump from project overlay
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-libs/icu')
-rw-r--r--dev-libs/icu/ChangeLog10
-rw-r--r--dev-libs/icu/files/digest-icu-3.8.19
-rw-r--r--dev-libs/icu/files/icu-3.8-setBreakType-public.diff24
-rw-r--r--dev-libs/icu/icu-3.8.1.ebuild80
4 files changed, 121 insertions, 2 deletions
diff --git a/dev-libs/icu/ChangeLog b/dev-libs/icu/ChangeLog
index 83a2c2138874..eb5cdd410fd0 100644
--- a/dev-libs/icu/ChangeLog
+++ b/dev-libs/icu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/icu
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.66 2007/11/14 20:04:35 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.67 2008/01/04 13:34:10 jokey Exp $
+
+*icu-3.8.1 (04 Jan 2008)
+
+ 04 Jan 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/icu-3.8-setBreakType-public.diff, +icu-3.8.1.ebuild:
+ Version bump from project overlay
14 Nov 2007; Samuli Suominen <drac@gentoo.org> icu-3.6-r1.ebuild:
amd64 stable wrt #198580
diff --git a/dev-libs/icu/files/digest-icu-3.8.1 b/dev-libs/icu/files/digest-icu-3.8.1
new file mode 100644
index 000000000000..c8145483254e
--- /dev/null
+++ b/dev-libs/icu/files/digest-icu-3.8.1
@@ -0,0 +1,9 @@
+MD5 cd01020cd3cc40f98fc7a062024795dd icu-3_8-userguide.zip 2611858
+RMD160 8fa028c73aedb9ef5fe2ff895469088ee0a4b5af icu-3_8-userguide.zip 2611858
+SHA256 c61a3c2c923e08b5e0ee544b5e417058e4566878f8144a745924c5693ca160bb icu-3_8-userguide.zip 2611858
+MD5 677b218cbca2acc304b9771c63bd69bf icu4c-3_8-docs.zip 4001018
+RMD160 927f4466758722e958b90a2bae873b11da222e88 icu4c-3_8-docs.zip 4001018
+SHA256 6d920a2cd7b54d8ccb2ccc417f0a0c0c55a615cf461bffbd4d5103c0182835d6 icu4c-3_8-docs.zip 4001018
+MD5 a827dbc9d909febd4ec39b90386868ba icu4c-3_8_1-src.tgz 10998841
+RMD160 d297330ff0eb91bff5ac91e59188f1751f899032 icu4c-3_8_1-src.tgz 10998841
+SHA256 16dda09dff3f770e629313a4c50a82fee88baf87d89a3bb2a28806be07766cee icu4c-3_8_1-src.tgz 10998841
diff --git a/dev-libs/icu/files/icu-3.8-setBreakType-public.diff b/dev-libs/icu/files/icu-3.8-setBreakType-public.diff
new file mode 100644
index 000000000000..3320b92282bc
--- /dev/null
+++ b/dev-libs/icu/files/icu-3.8-setBreakType-public.diff
@@ -0,0 +1,24 @@
+This patch makes setBreakType public (needed for OO.org),
+pending a better upstream solution in 4.0. For details, see:
+http://qa.openoffice.org/issues/show_bug.cgi?id=83146
+http://bugs.icu-project.org/trac/ticket/5498
+http://bugs.gentoo.org/show_bug.cgi?id=200010
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448745
+diff -Nau common/unicode.rbbi.h.orig common/unicode/rbbi.h
+--- common/unicode/rbbi.h.orig 2007-10-31 15:52:08.000000000 +0100
++++ common/unicode/rbbi.h 2007-10-31 15:52:47.000000000 +0100
+@@ -611,12 +611,14 @@
+ virtual int32_t getBreakType() const;
+ #endif
+
++public:
+ /**
+ * Set the type of the break iterator.
+ * @internal
+ */
+ virtual void setBreakType(int32_t type);
+
++protected:
+ /**
+ * Common initialization function, used by constructors and bufferClone.
+ * (Also used by DictionaryBasedBreakIterator::createBufferClone().)
diff --git a/dev-libs/icu/icu-3.8.1.ebuild b/dev-libs/icu/icu-3.8.1.ebuild
new file mode 100644
index 000000000000..2bee14d98e49
--- /dev/null
+++ b/dev-libs/icu/icu-3.8.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-3.8.1.ebuild,v 1.1 2008/01/04 13:34:10 jokey Exp $
+
+inherit eutils versionator
+
+DESCRIPTION="International Components for Unicode"
+HOMEPAGE="http://www.icu-project.org/ http://ibm.com/software/globalization/icu/"
+
+BASEURI="http://download.icu-project.org/files/${PN}4c/${PV}"
+DOCS_PV="$(get_version_component_range 1-2)"
+DOCS_BASEURI="http://download.icu-project.org/files/${PN}4c/${DOCS_PV}"
+DOCS_PV="${DOCS_PV/./_}"
+SRCPKG="${PN}4c-${PV//./_}-src.tgz"
+USERGUIDE="${PN}-${DOCS_PV}-userguide.zip"
+APIDOCS="${PN}4c-${DOCS_PV}-docs.zip"
+
+SRC_URI="${BASEURI}/${SRCPKG}
+ doc? ( ${DOCS_BASEURI}/${USERGUIDE}
+ ${DOCS_BASEURI}/${APIDOCS} )"
+
+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
+
+src_unpack() {
+ unpack ${SRCPKG}
+ if use doc ; then
+ mkdir userguide
+ pushd ./userguide > /dev/null
+ unpack ${USERGUIDE}
+ popd
+
+ mkdir apidocs
+ pushd ./apidocs > /dev/null
+ unpack ${APIDOCS}
+ popd
+ fi
+
+ # See http://qa.openoffice.org/issues/show_bug.cgi?id=83146
+ # and http://bugs.icu-project.org/trac/ticket/5498 for details
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.8-setBreakType-public.diff
+
+ # do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
+ # Bug 202059
+ # http://bugs.icu-project.org/trac/ticket/6102
+ for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
+ sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in || die "sed failed"
+ done
+}
+
+src_compile() {
+ econf \
+ --enable-static \
+ $(use_enable debug) \
+ $(use_enable examples samples)
+
+ emake -j1 || die "emake 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/userguide
+ doins -r "${WORKDIR}"/userguide/*
+
+ insinto /usr/share/doc/${PF}/html/apidocs
+ doins -r "${WORKDIR}"/apidocs/*
+ fi
+}