diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-04-06 11:06:52 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-04-06 11:06:52 -0400 |
commit | 231cd4840dcc99ec39e7e118d2c3467407376690 (patch) | |
tree | 1ec41102b37c54b43c93184a374b995abe67d0eb /dev-libs | |
parent | media-libs/mesa: switch sys-fs/udev to virtual/udev (diff) | |
download | hardened-dev-231cd4840dcc99ec39e7e118d2c3467407376690.tar.gz hardened-dev-231cd4840dcc99ec39e7e118d2c3467407376690.tar.bz2 hardened-dev-231cd4840dcc99ec39e7e118d2c3467407376690.zip |
dev-libs/icu: testing 51.1 for bug #436364
Package-Manager: portage-2.1.11.55
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/icu/Manifest | 22 | ||||
-rw-r--r-- | dev-libs/icu/icu-51.1.ebuild | 118 |
2 files changed, 140 insertions, 0 deletions
diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest index 546b1c66..2dc6b3ee 100644 --- a/dev-libs/icu/Manifest +++ b/dev-libs/icu/Manifest @@ -1,8 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX icu-4.8.1-fix_binformat_fonts.patch 530 SHA256 17eae8386e720cc86c4305d29dca8e393111fbc899cc550ae9eb2db91b810bfe SHA512 517d22146cf95d5c104f399084593a4c98cb6214473606b3f86545b83d81288ac3858bf6f2f2d1487107fc58c7ba94d1ca3f7939ef93a30e68f406e6810284a0 WHIRLPOOL ad4f426c50c348d28f65ded02369436f40a5095894865310bcb694fabf019cc7b1e2730515ab4513429bc7d61a03271e559c3928552086c1d2ffe5b160bb1b16 AUX icu-4.8.1.1-fix_ltr.patch 2175 SHA256 ecef8b305a8ab43c9164a2aaa39b3509e042008d374d6661900efea78372946a SHA512 c4557debcb3e40f821fd8291e0eb631085941c4ac6ee24f408c9e0b0c368b71232aef2c24203073228af39d2e7a7e4b377b2f29c109adc17ac2f127e2fbb150e WHIRLPOOL 31f41cd3070ac0f1f267e5fc9e66ede1f31e7537dc934466cac65cfbbe3681b59109bc0683184a18a43078d656b9f52c3eb30ed9026e3b7144e63f9e0f8f2150 AUX icu-49.1.2-fix_uclibc_timezone.patch 401 SHA256 995eb4f8665b21a0ae0f50487d31ef259c9fd8dec63a519aaa018d64b7007ce0 SHA512 0e7001bd3aac14954c919873dd6799264c711967247476d4944dbe247ba008a80b2972a3bde494062bf83be2c128fe1f40e547e8bcd55f4f0f86027ee5a5959f WHIRLPOOL e091e09622d90dc6a39485e5e0ad6be4901fc27c8728837ef2b0d390e60b30056fe3d430d0f0e228565975627e6c15c7d873c7a1abdaa19883baf4eeeb79df96 AUX icu-49.1.2-platforms.patch 2368 SHA256 e90a4c2c11b25fd511a754b4c8f7b2a491f75bd7a72dc03fc1c8821f6c8fe004 SHA512 30266ed021df921e4c502ec453e842c9aec607281dcd542a76680c0be72724a0c596542043580d96ae4098f7b08cb42827757d630cb6e12aaea0d1e034104891 WHIRLPOOL 2ff2499d6306db27866487a90014e330d7bda25fb671aa6dd238130d2255f1551a2337270a20731ea9fcf5ce15914c9cc939ca76e30aac246c807495ba439883 DIST icu4c-49_1_2-docs.zip 4245617 SHA256 50fcc81a797b20ebaf12167479f24eac323bad21d012ca366701f62eccdabb94 SHA512 84ddc1e4cc3e4617e6a93c6ada3e7e5fa470fb34fed3ca4e3c57a741bbdd279d402d3fd313543230f2c73c3197300311eafd2d91c207ff64d3eca9833907a32b WHIRLPOOL 44fde7cfc560bb29e16f32ab4ca300c87469747719ba5a0e0622ed5eb64911e5f5969328a9cef71f0c4aee455093233d0a5c0f8719559d705c2698de2f457662 DIST icu4c-49_1_2-src.tgz 19010646 SHA256 cce83cc88a2ff79d65c05426facbf30530bbe13a1cfda04b3ab81b55414cf5a3 SHA512 83997878222ada25be281c35b766906a9997da350068d4f7400874ea37133baeef0e8277dc117219c37ab486b643125b4b73ace956507d2237c1c9002173a140 WHIRLPOOL 68ff12ab0b3b5e471ced5d07c7170494e24526591587669b86a2a732ce3d0dda4abd74e2dcfdc3dd2e66a30b28d897836a6b0c1f1148101e1b51ffc87a87f080 +DIST icu4c-51_1-src.tgz 21815174 SHA256 87e5ae513bd29f25f8648044af01d5ab77460912f375f9fe11f58a54e783666b SHA512 e6ee38f8e380db41803bf5291f2abd88d2efd27a322fa2345111fee3b58b852e3c079fc5408d0da379f86540f1a20131916a598f2a14bd57edd2f15cd64935f3 WHIRLPOOL adbd1f35697fea0544bec6a5453ae0f1f9b3e22288f8d33ae239c5d06fc9ed96a2d1d737cb8d03031c747628f1d54f0786c71af4f0f03153c9d1daf1f7623715 EBUILD icu-49.1.2-r99.ebuild 2300 SHA256 41a6d21bc472b19eec28ca7804a25cc282ae340077d56fcd9a5b29a220db554e SHA512 8f3ccb9fca7710bffb556ce139297cbb3100f096b0df224235cad2962de3f6b7a6c9c5645506cfc41c84414397b15dbcf9223313acabe46f4acd5ca3ff352d2f WHIRLPOOL 580da105c7ad185b6e4fd5c8f3db4b9551a23417421b192bbc17e6ba35ffb9cd9d6eb3912601e1e817208f993816b0932aef0b69c0f8c54f93e9dab6044ebd0d +EBUILD icu-51.1.ebuild 2823 SHA256 112fce16a3769a1d8d6bfc545fe4a0b320bd1c0361b2c0cafda2146723770d3f SHA512 2e30c7de9845c9f7ae94f1075ce154a1fe18a6a297c7fec31cd511e3166b2cc29c130417a03fef9960dae722b19f0e94268d5058546f345055f63ffd86b7a911 WHIRLPOOL d14391c107e8cc92f7977cc148277dc7c14cd29384c2564b6eee9506a52a651f78ffcb6f7a9238920ee428cf1422aa1eb67d3f27df6ae0a0a02aae0c6b60a409 MISC metadata.xml 294 SHA256 501a5b0d4dc6215cd3302bdbdd6aa8e8037036996fadbe48f20acd2e037a31d9 SHA512 2ee4ee252b4391df3ee227351028eeea0309ff928f58d67d5dd2b807a1fca714be7dd5b892aea9b8061263d0c6d3729e114fb8b0b0c7f3322cef49be0deae2ea WHIRLPOOL 555ce5514834036d90b287c4ffea668f534ffae1a060430934b8278d9e23f92a260fd1af0baf083af1fd8cd9b786623cc1a0e26ff08f1eff6fa52891f64f104b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJRYDoMAAoJEJOE+m71LUu6D5kP/RnJaD1RWVgcej90gnIazMR/ +lXnYPRkYWQf7II3WygXsHmI32JZzcRkI75qcDr1DMYXLv36QKKAW5IcsGgzm33mh +e2sOShvu6yoAsoARzINcfMSCoFp08g5UVzTHxYCLXkaVsZrd5AQIjml7YZK1Cpr1 +LM4zSn1msXC4X2ekWRsXJKZlsQhWGvm9PdKFrS4ysuLuKsFri6LQ53Hh9SYH/5ci +59rSv6TgzyMZwGrAgTK0X3Ysxk97aUhZchGocJZJvtTVVXm69f75b3HpRUWIiKKk +rGtGx4fD+9PC1yveO7yHyBAwE+GMBFvgEJ5cs76Um4t2JnEhBNA8sjfDd5im4CH5 +KsU7vVtW16+69wQFjQSMoObdDzm1zVKeNnwy93sCqMPfxcT5vr1tav4okHwvRnMS +tmmjMyaVDSLUdSJrOacGvptjhSYSl6/QsPUgvkdKZHev7wt1KKT+rXjEtlm0UlPf +wqCk2pVaHtC3uGUaRutc8Q/qolpZ8NstxHnlvij1MlddJWFKmugzsmFXe/iUhg5f +f81wawERTFc2fVYTOhxRm/6F13a1bwzEjfyPlg4Fb5g92tuiLQKZRWAmAdaeCuqh +xDxIeykt6oXR4WmdPlaPn1ilbcJXc3Dg8RvOCMU65a9qEFDt3hCTP1T+UhbGkjVh +EpvVdevVXYbfmoBWZ07Y +=Nu7p +-----END PGP SIGNATURE----- diff --git a/dev-libs/icu/icu-51.1.ebuild b/dev-libs/icu/icu-51.1.ebuild new file mode 100644 index 00000000..13ec208e --- /dev/null +++ b/dev-libs/icu/icu-51.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50.1-r2.ebuild,v 1.6 2013/03/06 21:41:31 scarabeus Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs base autotools + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" +SLOT="0/50.1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -x86-fbsd" +IUSE="debug doc examples static-libs" + +DEPEND=" + doc? ( + app-doc/doxygen[dot] + ) +" + +S="${WORKDIR}/${PN}/source" + +PATCHES=( + "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch" + "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch" +) + +src_prepare() { + local variable + + base_src_prepare + + # Do not hardcode flags in icu-config and icu-*.pc files. + # https://ssl.icu-project.org/trac/ticket/6102 + for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do + sed \ + -e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" \ + -i config/icu.pc.in \ + -i config/Makefile.inc.in \ + || die + done + + # Disable renaming as it is stupind thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + # Append doxygen configuration to configure + sed -i \ + -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ + configure.in || die + eautoreconf +} + +src_configure() { + local cross_opts + + # bootstrap for cross compilation + if tc-is-cross-compiler; then + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + ./configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + mkdir -p "${WORKDIR}/host/" + cp -a {bin,lib,config,tools} "${WORKDIR}/host/" + emake clean + + cross_opts="--with-cross-build=${WORKDIR}/host" + fi + + econf \ + --disable-renaming \ + $(use_enable debug) \ + $(use_enable examples samples) \ + $(use_enable static-libs static) \ + ${cross_opts} +} + +src_compile() { + default + + if use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + emake -j1 VERBOSE="1" check +} + +src_install() { + default + + dohtml ../readme.html + + use doc && dohtml -p api -r doc/html/ +} |