From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 709FE138A1F for ; Thu, 7 Aug 2014 18:41:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1146FE0869; Thu, 7 Aug 2014 18:41:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F987E0869 for ; Thu, 7 Aug 2014 18:41:22 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FDA933F7E9 for ; Thu, 7 Aug 2014 18:41:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id EB6F018810 for ; Thu, 7 Aug 2014 18:41:19 +0000 (UTC) From: "Andrew John Hughes" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew John Hughes" Message-ID: <1407436812.08be7d8f6cf42dde49ef358b7a25af0ce2378906.gnu_andrew@gentoo> Subject: [gentoo-commits] proj/java:master commit in: dev-java/gcj-jdk/ X-VCS-Repository: proj/java X-VCS-Files: dev-java/gcj-jdk/ChangeLog dev-java/gcj-jdk/Manifest dev-java/gcj-jdk/gcj-jdk-4.9.0.ebuild X-VCS-Directories: dev-java/gcj-jdk/ X-VCS-Committer: gnu_andrew X-VCS-Committer-Name: Andrew John Hughes X-VCS-Revision: 08be7d8f6cf42dde49ef358b7a25af0ce2378906 X-VCS-Branch: master Date: Thu, 7 Aug 2014 18:41:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 479f00fc-a9a1-4587-97fb-d36bdfbab1c1 X-Archives-Hash: bcf12cae345124e2da557028cb0474cd Message-ID: <20140807184119.wcOKStsQASyKasXdtzmtcSS7rSmiH8ON4GyZo-r6cfE@z> commit: 08be7d8f6cf42dde49ef358b7a25af0ce2378906 Author: Andrew John Hughes member fsf org> AuthorDate: Thu Aug 7 18:40:12 2014 +0000 Commit: Andrew John Hughes member fsf org> CommitDate: Thu Aug 7 18:40:12 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/java.git;a=commit;h=08be7d8f Support gcc 4.9.0. Package-Manager: portage-2.2.10 Manifest-Sign-Key: 248BDC07 --- dev-java/gcj-jdk/ChangeLog | 8 ++- dev-java/gcj-jdk/Manifest | 31 +++++----- dev-java/gcj-jdk/gcj-jdk-4.9.0.ebuild | 105 ++++++++++++++++++++++++++++++++++ 3 files changed, 128 insertions(+), 16 deletions(-) diff --git a/dev-java/gcj-jdk/ChangeLog b/dev-java/gcj-jdk/ChangeLog index 7ee940d..f6c3896 100644 --- a/dev-java/gcj-jdk/ChangeLog +++ b/dev-java/gcj-jdk/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for dev-java/gcj-jdk -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*gcj-jdk-4.9.0 (07 Aug 2014) + + 07 Aug 2014; Andrew John Hughes + +gcj-jdk-4.9.0.ebuild: + Support gcc 4.9.0. + *gcj-jdk-4.6.4 (26 Dec 2013) 26 Dec 2013; Andrew John Hughes diff --git a/dev-java/gcj-jdk/Manifest b/dev-java/gcj-jdk/Manifest index 4eafc6d..07236ad 100644 --- a/dev-java/gcj-jdk/Manifest +++ b/dev-java/gcj-jdk/Manifest @@ -6,22 +6,23 @@ AUX javac.in 1739 SHA256 3bb23cff0a6e5a7a820e19cce4b9b0f51a7b84ee9e0eeb048b463a5 EBUILD gcj-jdk-4.6.4.ebuild 3680 SHA256 8c63f2ab224a7b39c73658cd92871ad012fcd91037dd5c9b8dc925774ab2f631 SHA512 6b5c62363400b2ed762de56e0a0921b6d90677ab21d35e3c59e8f83eeef0ebe8f069df37bb5399b92028c35d79336fe691a56d9c6b39395e2d57932c2f2b77d6 WHIRLPOOL da0f414ad5c1be2eb47b9e57697477d9de42119ea51b77e42b65fba8a0c0eb732af1465e82e6cc725b9dad52f0b34023c541750dc5968c5a0da98fafcae7cefd EBUILD gcj-jdk-4.7.3-r2.ebuild 3718 SHA256 a5513ece7a1efd99845b4252b234304fb71375602d68bb1110d9493c47c09721 SHA512 bbd6ddd58d17fec3cc67e39396f1922ae52ae49240c6effd1021d58e06c2c53499f034134894080eedb1f2ec7657bfbde05aeb945993b01de54cac2417fbe5cd WHIRLPOOL 5b94a0c0bf7e779fbc1fda00f1bfb01c1294a0b7b287787c404eaf682452c99e5f51525e3fa77a197ff29686e5ad2fc02e0a9510e485609d45b0e88471cc5798 EBUILD gcj-jdk-4.8.2.ebuild 3743 SHA256 9fd0d79e3df75a6dd28aa05fbc17cebc9845b9f7d7f20443c0563cb918c7d2b5 SHA512 ad8b039e2dcd091304e03abc7a2e9117b6c78faa05fa82041ff4229019622fbdd895f60f7ae2cd7a24090e7440dff5588736ea5d44c26e51572a99f14634465b WHIRLPOOL 0b1437ceae94f01bdf0b8c54695e8d541f18f733863513b0874be3cd39445d0da1246094b4fa2701ffcfc55dd924488beb1d8a110acc884183bb588557f23aef -MISC ChangeLog 10421 SHA256 5737c86bb8756c7d9c0b0d5191aa7e08d753f642a7a8b4068882715c7688f1ee SHA512 9b0535c9e5411440d2fb653e227e161940a6022d04e187d39aaa56d09d6066a68c5aa699099824eca7e0f62b0da62950c3be81a0b20c0c8e4ab0878df78fd097 WHIRLPOOL c690e976e0451e8f2ea1f826a5fce79872588adc1d7c80e3227e2acbfeb34809452b4ac3361d506bfefab4f9af0b6c9780152a6adfe07758ea18d9ccf9d203fd +EBUILD gcj-jdk-4.9.0.ebuild 3743 SHA256 3ede4e6fc641365759801c839f16fc641d5a68c05cea992cc8eb7ca335a79117 SHA512 403908b42964add0391bfb21e831c3659e22ed95fb060bd01e06d928e563fd1f12370b4edcfd9ed4d783176bb125766fadd4f08ca317af86a74f6bb57e23c4aa WHIRLPOOL c8cfba07354688702ff418668782525490b8a8773a071e8127a526b6d91801e0ca3341d4cbd77760538ddf8f52993e7049ce6f57aac10299c23604879fcafe88 +MISC ChangeLog 10560 SHA256 0a0e13599c0ba732e9d8d6a15343984cfb76e0baac17b61c5af3359af0955a79 SHA512 3309124b3ced6d1397456d7b985d764e12f96005f9c9695c2e4853ed1a82c993c7a4c528697ddbc7c019a440fcb995cad319aff7243ac916473595a670c63a01 WHIRLPOOL 62c615518fe5d7f75984b3542e0592ce6bc9cdd3c92b34a5537884ab31a7024ecc0d64a08d7a6d4fb2530c64dd5d3ad1938d4a0ca529400a129e3c00a08fa201 MISC metadata.xml 389 SHA256 a1a04237211b0bac3c7d591a283c41bd4ee9afcb2304f85cf15a9436a66c724b SHA512 8214632729e5d93013b28af2aadaa324b6fb14b7cae83816dee1fe612537e58150080df0ae940237d65f8e08e6df01b4eb281a2d4af9002f8e2a5db1aa715b5c WHIRLPOOL 52aca940bef6aa74d862f2ca3704afb79983cfbd4d33d7384f362548e0d7b1f8a1c9cdacd4bbe58f24d31e3938ff67af48bec88f9ecadc92a7a083da9798c314 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIbBAEBCAAGBQJSvE5gAAoJEDuWpXgki9wH9BsP907CN7DNxQgaQYlzam1p+fE+ -VDQvUnJD0Z6PE5awLhYrScaEliswHXqFfnCpe68KfQ+NCP3drjQtuqLJiW3ghzW6 -f5UItPJx9ESHzgT9O+3A6WzMOSEl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Nwdhoxj1HIxt8f0ZDJXCazTR4dzWpe9D8L +/b6apQq4pjzoVdLwPYXAfavYBqXO0Dwg5nVhJe+ZY+tVbmt52tOfcHFOqJcYv26f +B8cLA3bVdvlipe/PBQTZUhpBI3e/xEINE8ygzfUGW9cNkS0DAnFiraS3s1KzRsvS ++rp+44zQRV83xZ91HXftl7UYI5ECyroKYVoDOBlGggHsxOBwhXyhVXuuWDwCT3dR +HEpdMGf3UJuRPXJQbbQ= +=jR9f -----END PGP SIGNATURE----- diff --git a/dev-java/gcj-jdk/gcj-jdk-4.9.0.ebuild b/dev-java/gcj-jdk/gcj-jdk-4.9.0.ebuild new file mode 100644 index 0000000..7b06370 --- /dev/null +++ b/dev-java/gcj-jdk/gcj-jdk-4.9.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/gcj-jdk/gcj-jdk-4.7.2.ebuild,v 1.1 2013/01/23 10:30:56 sera Exp $ + +EAPI="5" + +inherit java-vm-2 multilib + +DESCRIPTION="Java wrappers around GCJ" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="" + +LICENSE="GPL-2" +KEYWORDS="" +SLOT="0" +IUSE="X" + +ECJ_GCJ_SLOT="4.2" + +RDEPEND=" + ~sys-devel/gcc-${PV}[gcj] + X? ( ~sys-devel/gcc-${PV}[awt] ) + dev-java/ecj-gcj:${ECJ_GCJ_SLOT}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_install() { + # jre lib paths ... + local libarch="$(get_system_arch)" + local gcc_version=${PV} + local gccbin=$(gcc-config -B ${gcc_version}) + gccbin=${gccbin#"${EPREFIX}"} + local gcclib=$(gcc-config -L ${gcc_version} | cut -d':' -f1) + gcclib=${gcclib#"${EPREFIX}"} + local gcjhome="/usr/$(get_libdir)/${P}" + local gccchost="${CHOST}" + local gcjlibdir=$(echo "${EPREFIX}"/usr/$(get_libdir)/gcj-${gcc_version}-*) + gcjlibdir=${gcjlibdir#"${EPREFIX}"} + + # links + dodir ${gcjhome}/bin + dodir ${gcjhome}/jre/bin + dosym ${gccbin}/gij ${gcjhome}/bin/java + dosym ${gccbin}/gij ${gcjhome}/jre/bin/java + dosym ${gccbin}/gjar ${gcjhome}/bin/jar + dosym ${gccbin}/gjdoc ${gcjhome}/bin/javadoc + dosym ${gccbin}/grmic ${gcjhome}/bin/rmic + dosym ${gccbin}/gjavah ${gcjhome}/bin/javah + dosym ${gccbin}/jcf-dump ${gcjhome}/bin/javap + dosym ${gccbin}/gappletviewer ${gcjhome}/bin/appletviewer + dosym ${gccbin}/gjarsigner ${gcjhome}/bin/jarsigner + dosym ${gccbin}/grmiregistry ${gcjhome}/bin/rmiregistry + dosym ${gccbin}/grmiregistry ${gcjhome}/jre/bin/rmiregistry + dosym ${gccbin}/gkeytool ${gcjhome}/bin/keytool + dosym ${gccbin}/gkeytool ${gcjhome}/jre/bin/keytool + dosym ${gccbin}/gnative2ascii ${gcjhome}/bin/native2ascii + dosym ${gccbin}/gorbd ${gcjhome}/bin/orbd + dosym ${gccbin}/gorbd ${gcjhome}/jre/bin/orbd + dosym ${gccbin}/grmid ${gcjhome}/bin/rmid + dosym ${gccbin}/grmid ${gcjhome}/jre/bin/rmid + dosym ${gccbin}/gserialver ${gcjhome}/bin/serialver + dosym ${gccbin}/gtnameserv ${gcjhome}/bin/tnameserv + dosym ${gccbin}/gtnameserv ${gcjhome}/jre/bin/tnameserv + + dodir ${gcjhome}/jre/lib/${libarch}/client + dodir ${gcjhome}/jre/lib/${libarch}/server + dosym ${gcjlibdir}/libjvm.so ${gcjhome}/jre/lib/${libarch}/client/libjvm.so + dosym ${gcjlibdir}/libjvm.so ${gcjhome}/jre/lib/${libarch}/server/libjvm.so + use X && dosym ${gcjlibdir}/libjawt.so ${gcjhome}/jre/lib/${libarch}/libjawt.so + + dosym /usr/share/gcc-data/${gccchost}/${gcc_version}/java/libgcj-${gcc_version/_/-}.jar \ + ${gcjhome}/jre/lib/rt.jar + dodir ${gcjhome}/lib + dosym /usr/share/gcc-data/${gccchost}/${gcc_version}/java/libgcj-tools-${gcc_version/_/-}.jar \ + ${gcjhome}/lib/tools.jar + dosym ${gcclib}/include ${gcjhome}/include + + local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)" + exeinto ${gcjhome}/bin + cat "${FILESDIR}"/javac.in | sed -e "s#@JAVA@#${gcjhome}/bin/java#" \ + -e "s#@ECJ_JAR@#${ecj_jar}#" \ + -e "s#@RT_JAR@#${gcjhome}/jre/lib/rt.jar#" \ + -e "s#@TOOLS_JAR@#${gcjhome}/lib/tools.jar#" \ + | newexe - javac + + set_java_env +} + +pkg_postinst() { + # Do not set as system VM (see below) + # java-vm-2_pkg_postinst + + ewarn "gcj does not currently provide all the 1.5 or 1.6 APIs." + ewarn "See http://fuseyism.com/japi/ibmjdk15-libgcj-${PV}.html" + ewarn "and http://fuseyism.com/japi/icedtea6-libgcj-${PV}.html" + ewarn "Check for existing bugs relating to missing APIs and file" + ewarn "new ones at http://gcc.gnu.org/bugzilla/" + ewarn + ewarn "Due to this and limited manpower, we currently cannot support" + ewarn "using gcj-jdk as a system VM. Its main purpose is to bootstrap" + ewarn "IcedTea without prior binary VM installation. To do that, execute:" + ewarn + ewarn "emerge -o icedtea && emerge icedtea" +}