summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-12-02 07:41:31 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-12-02 07:41:31 +0000
commitf6eedf885f59c91d1a1d40514e77ff64de9f93e5 (patch)
treedd75e1e161c069bfb50e86af05c78b1560f2b81d /dev-lang/nacl-toolchain-newlib
parentMigrate from Prefix overlay, add Prefix keywords (migration makes ~amd64-linu... (diff)
downloadhistorical-f6eedf885f59c91d1a1d40514e77ff64de9f93e5.tar.gz
historical-f6eedf885f59c91d1a1d40514e77ff64de9f93e5.tar.bz2
historical-f6eedf885f59c91d1a1d40514e77ff64de9f93e5.zip
Version bump to fix bug #392389 by Julien Sanchez.
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'dev-lang/nacl-toolchain-newlib')
-rw-r--r--dev-lang/nacl-toolchain-newlib/ChangeLog8
-rw-r--r--dev-lang/nacl-toolchain-newlib/Manifest13
-rw-r--r--dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p7311.ebuild87
3 files changed, 103 insertions, 5 deletions
diff --git a/dev-lang/nacl-toolchain-newlib/ChangeLog b/dev-lang/nacl-toolchain-newlib/ChangeLog
index f15262da8f0e..55aaa33b57f9 100644
--- a/dev-lang/nacl-toolchain-newlib/ChangeLog
+++ b/dev-lang/nacl-toolchain-newlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/nacl-toolchain-newlib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.9 2011/11/27 18:59:45 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.10 2011/12/02 07:41:31 phajdan.jr Exp $
+
+*nacl-toolchain-newlib-0_p7311 (02 Dec 2011)
+
+ 02 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ +nacl-toolchain-newlib-0_p7311.ebuild:
+ Version bump to fix bug #392389 by Julien Sanchez.
27 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
nacl-toolchain-newlib-0_p6869-r1.ebuild:
diff --git a/dev-lang/nacl-toolchain-newlib/Manifest b/dev-lang/nacl-toolchain-newlib/Manifest
index 73a92630efc1..f37e6704e5ac 100644
--- a/dev-lang/nacl-toolchain-newlib/Manifest
+++ b/dev-lang/nacl-toolchain-newlib/Manifest
@@ -4,17 +4,22 @@ Hash: SHA512
DIST binutils-2.20.1.tar.bz2 17591527 RMD160 aebf86b8ae126fabd52450a81c7d491c40ff851d SHA1 3f0e3746a15f806a95dd079be2a7f43c17b18818 SHA256 71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64
DIST gcc-4.4.3.tar.bz2 62944934 RMD160 b51afac3cb77ee3dc09d29c2f85936482ed82ab2 SHA1 619766282734728539ce58a5c383cb371f1999c7 SHA256 97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040
DIST naclbinutils-2.20.1-r6869.patch.bz2 25819 RMD160 4bf58463368cb169d2154b07f1d5e3d1f9079d8b SHA1 3f4d250e03e1327460bb664d046d6e017abc2e3b SHA256 ec34aff65f715a20ce093e20e70a8a1d94f2733e081383cc472fd37415565eb8
+DIST naclbinutils-2.20.1-r7311.patch.bz2 29190 RMD160 b9271bfd24e8244773c2cbd56416eea7f5bd6bdb SHA1 9fa7efe7be7480a78e8274ef41812dc8e36b02aa SHA256 37bc2a1faf68e6667cec3c1bae425a7ffac8b20586ec3d0269de7d579e714499
DIST naclgcc-4.4.3-r6869.patch.bz2 33769 RMD160 11d82b4a4309a881ae1f6e04fa05a5c6e21e7a56 SHA1 bcf14b4947726319449207bfe3227d5b2171ebd4 SHA256 2221586fd07a31015c8e8a8346043faed608f997b5e313c83164e0755019612b
+DIST naclgcc-4.4.3-r7311.patch.bz2 38041 RMD160 d6686a40bb702ffe5396906dc41bf0f8fe1c252a SHA1 e7a0f968d1480d07613746a106c9379b9a8aea05 SHA256 28a2ae1ffed512c29ef67689abe174b94e0cc6e0decd74a9637915b73953b432
DIST naclnewlib-1.18.0-r6869.patch.bz2 76563 RMD160 3d54c53616f8c0e04215c2852cf0c81866727b8e SHA1 bf215f10b9978ddd46f58e8e2a9125cef4bfeac4 SHA256 2fb33dedb1e337c49dc6a00a7390c91599f2d93faab0ab65c5843444dd47fc3a
+DIST naclnewlib-1.18.0-r7311.patch.bz2 109402 RMD160 54d3d1770b3dd9fb56cad8de2efb6451d2a115f5 SHA1 8729c772d4304b38ee7ca27ab409389d4591c141 SHA256 677aa08de6ee9391a234e3ab18a2a074745c72078d2c369747ddc3ec818b49cc
DIST nacltoolchain-buildscripts-r6869.tar.gz 20019 RMD160 5e897dbb4e5b629258d47213584619f7768c5fc3 SHA1 1dc71a19ad93eef3edd7bd5bdb18b0a3e1754cbc SHA256 71e48ff983fb4c88075aefcb62d77a033623ab263d766304eb64aa547340b375
+DIST nacltoolchain-buildscripts-r7311.tar.gz 20113 RMD160 bb5ac169c790bcca9f83785fea2c055d4f02aa13 SHA1 89d21c4bed2ff85531d690d98988e36ee02a98c3 SHA256 6f4d86b9979e045ca7898fc36fe00757051692b62962de957cccd518c633bcf4
DIST newlib-1.18.0.tar.gz 13598301 RMD160 69d96fd323a23857072f30cb51899040099857cd SHA1 a47d3b8a508304143334b36bdb5b33786a61ce94 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071
EBUILD nacl-toolchain-newlib-0_p6869-r1.ebuild 2717 RMD160 415853428f4b7fa0ed22a41230c56fad31e6ea4c SHA1 dc20d605733010b4766b34bdb423fb360b9ae301 SHA256 34adb6bb1cb812a57d10c4bb5bcad34c58a252f3413d3dca302131994184d6d6
-MISC ChangeLog 2056 RMD160 d677533494e4108ea00d0c2ffff67106c809a73e SHA1 bc8530f149a5dcab6f0e297bc42ecc96de6c4031 SHA256 70147be39946943af799c04bb0bb217c012c28e05357808853984b7fc3b1e8d3
+EBUILD nacl-toolchain-newlib-0_p7311.ebuild 2715 RMD160 d085208ad036197056e8874be39cf0c27955edf8 SHA1 6294a0c75ab06f23ec8821ae08f4d927a5eebcd2 SHA256 5e5450e79af961bb1a99f583bf8ee3e7dc4791a87063b08d2a19444b1f945fd5
+MISC ChangeLog 2253 RMD160 a7bea594bd90445a1a718226b6769774457878d6 SHA1 42eae9d3be579476219bd982159dbbdc3e6c76c6 SHA256 8cc07c751fbb88b616d7ba02ed06a17d258df85df2374b1f977eef0f8997fa84
MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk7SiLMACgkQuUQtlDBCeQKdGgCfTAEYqyu+CDhEh5sIk002a30a
-LK0AniEaQdTUiobhw9/xBy91sjmdv6Xg
-=vVY7
+iEYEAREKAAYFAk7YgTcACgkQuUQtlDBCeQLPcgCeKD/IYmnN4dcBS6GJUk/WConn
+zisAniAT8C/klSjP6sAdY8Cc4OtWBo8O
+=4N1u
-----END PGP SIGNATURE-----
diff --git a/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p7311.ebuild b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p7311.ebuild
new file mode 100644
index 000000000000..bb569173aede
--- /dev/null
+++ b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p7311.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p7311.ebuild,v 1.1 2011/12/02 07:41:31 phajdan.jr Exp $
+
+EAPI="4"
+
+inherit eutils flag-o-matic multilib
+
+BINUTILS_PV="2.20.1"
+NEWLIB_PV="1.18.0"
+GCC_PV="4.4.3"
+NACL_REVISION="${PV##*_p}"
+
+DESCRIPTION="Native Client newlib-based toolchain (only for compiling IRT)"
+HOMEPAGE="http://code.google.com/chrome/nativeclient/"
+SRC_URI="mirror://gnu/binutils/binutils-${BINUTILS_PV}.tar.bz2
+ ftp://sources.redhat.com/pub/newlib/newlib-${NEWLIB_PV}.tar.gz
+ mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2
+ http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/nacltoolchain-buildscripts-r${NACL_REVISION}.tar.gz
+ http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclbinutils-${BINUTILS_PV}-r${NACL_REVISION}.patch.bz2
+ http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclnewlib-${NEWLIB_PV}-r${NACL_REVISION}.patch.bz2
+ http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclgcc-${GCC_PV}-r${NACL_REVISION}.patch.bz2
+"
+
+LICENSE="BSD" # NaCl
+LICENSE+=" || ( GPL-3 LGPL-3 )" # binutils
+LICENSE+=" NEWLIB LIBGLOSS GPL-2" # newlib
+LICENSE+=" GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" # gcc
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping with a non-NaCl strip breaks the toolchain, bug #386931.
+# Tests are broken, bug #391761.
+RESTRICT="strip test"
+
+# Executable section checks do not make sense for newlib, bug #390383.
+QA_EXECSTACK="usr/lib*/nacl-toolchain-newlib/*/lib*/*"
+
+RDEPEND="
+ >=dev-libs/gmp-5.0.2
+ >=dev-libs/mpfr-3.0.1
+ >=sys-libs/glibc-2.8
+ >=sys-libs/zlib-1.1.4
+"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ app-arch/unzip
+ dev-libs/mpc
+ dev-libs/cloog-ppl
+ dev-libs/ppl
+ >=media-libs/libart_lgpl-2.1
+ >=sys-apps/texinfo-4.8
+ >=sys-devel/binutils-2.15.94
+ >=sys-devel/bison-1.875
+ >=sys-devel/flex-2.5.4
+ sys-devel/gnuconfig
+ sys-devel/m4
+ >=sys-libs/ncurses-5.2-r2
+ >=sys-apps/sed-4
+ sys-devel/gettext
+ virtual/libiconv
+ virtual/yacc
+"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ mkdir SRC || die
+ mv binutils-${BINUTILS_PV} SRC/binutils || die
+ mv newlib-${NEWLIB_PV} SRC/newlib || die
+ mv gcc-${GCC_PV} SRC/gcc || die
+ cd SRC || die
+ EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${S}"
+}
+
+src_compile() {
+ strip-flags # See bug #390589.
+ emake PREFIX="${PWD}/${PN}" CANNED_REVISION="yes" build-with-newlib
+}
+
+src_install() {
+ local TOOLCHAIN_HOME="/usr/$(get_libdir)"
+ dodir "${TOOLCHAIN_HOME}"
+ mv "${WORKDIR}/${PN}" "${ED}/${TOOLCHAIN_HOME}" || die
+}