diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/asm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/asm')
-rw-r--r-- | dev-java/asm/Manifest | 7 | ||||
-rw-r--r-- | dev-java/asm/asm-1.4.3-r3.ebuild | 44 | ||||
-rw-r--r-- | dev-java/asm/asm-1.4.3-r4.ebuild | 38 | ||||
-rw-r--r-- | dev-java/asm/asm-1.5.3-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-java/asm/asm-1.5.3.ebuild | 37 | ||||
-rw-r--r-- | dev-java/asm/asm-2.0-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-java/asm/asm-2.2.3-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-java/asm/asm-3.3.1.ebuild | 35 | ||||
-rw-r--r-- | dev-java/asm/asm-4.0.ebuild | 38 | ||||
-rw-r--r-- | dev-java/asm/asm-5.0.3.ebuild | 45 | ||||
-rw-r--r-- | dev-java/asm/files/asm-2.2.3-build.xml.patch | 65 | ||||
-rw-r--r-- | dev-java/asm/files/asm-2.2.3-commons.patch | 13 | ||||
-rw-r--r-- | dev-java/asm/metadata.xml | 21 |
13 files changed, 459 insertions, 0 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest new file mode 100644 index 000000000000..9794b84a1b83 --- /dev/null +++ b/dev-java/asm/Manifest @@ -0,0 +1,7 @@ +DIST asm-1.4.3.tar.gz 135980 SHA256 45970ef619fb39d30c48379ef362b2e2738586382df1d8090519736219c22a01 SHA512 c8bbcd702bb8593cf31a313fc82c4951f8b46b2818ba93571f9fbb909dbb50e1766111e25e5bb6cc73f9929dff7caf55c05c0e4fc66331591a3ddf087ce75641 WHIRLPOOL 109e3ffb86df3c645bc8c74b0768b1632aad271234556793b0ca64bba35cd8558394d12bfd3a77baf8dd85d17a04d5db15e230dfb5848526b9d559684fdc3989 +DIST asm-1.5.3.tar.gz 151370 SHA256 e58fda42c5a539ba2a1b99aa68329c27f3732299cf0942f654799b9f1fed1d3a SHA512 85ecf5bf676dc2a0a1ec6486f0d89b2da86b6fa4226b18b729c0cd7c648a4ed567d34871aa480b08bab37897ddb0c120c05b4dc299ebd79524319c4072b45ccc WHIRLPOOL 5b4674e484718b950fed1129b2cb9f9be81bfce6de256fe1048ae5305c522d9ae686b6a99601a705dd25a491f8a85e9652e96d3349f937d00e284e6f959e533f +DIST asm-2.0.tar.gz 258426 SHA256 8c0b305819f123aa3333efb66acbeb8f5deb8cef5419c1d940310c7fbe7c194e SHA512 6736d7cccecfb6de999a2f5fdf527112206b056646da70f3597f272138b191b5b28ee620aa1a708c9941416eca7bb56c5dcf947ec377c9899f05aaf014186c4d WHIRLPOOL 779b1ea46fbd9458eb00ec59e035492f1fa1ec2f5fa03a01547f3ef1600a0f886d6f51b96b5e47e972db47d709f381788eaa023ce8cdbb3c36590339b632f4cc +DIST asm-2.2.3.tar.gz 287535 SHA256 56c5ce25bff92c3641b6435e28eee71718bc4eb62d4964faa9da6bb9d1002344 SHA512 765b145a42cc02ef3066a6922afacdc70e63d7713c971e76621e7e03bdfd7e9426ca61a4b302fa0ad78f88046bfda5382befe84b690eb8102c7df912c0f0b73a WHIRLPOOL aca2299cf522034685a3ac008067a30230aaa811fc96cc3451b81b937903e21759c512330638acfc48101680576d90db46b915d097abdd902b3a58825877c4bf +DIST asm-3.3.1.tar.gz 854626 SHA256 69a523d41c82d7979c9b47271e31187e23c064e1d2a93b52950463bcb80197f5 SHA512 b0dffde873dcdfd8328736cfaeb8a3fca2e0788fa642d3af0c995d55c6ca4b1847e35c24100277a453b518305c5fe234d1935fa8de9b25bddd5dee5f1d4a4d44 WHIRLPOOL 90158f7fd87eae641e20aaca736debbd34b70e22feae1021c5f47255b8b9e8305460444e1f070288292b64a6aef3c083c81b520343f97b570ec1799d56d13874 +DIST asm-4.0.tar.gz 752187 SHA256 feb2b078f10d420b6ab04cca136db1b57935170d53d12c64d381e118185c7b0e SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db WHIRLPOOL 8ac20fd836a97572c0b449637491e31a01d29f65eac71cf5412ae0948d1264ed098fd9fbe6ee51af386b78c25bef38c6878693144875e3f29692ad6daf320bd0 +DIST asm-5.0.3.tar.gz 781742 SHA256 36e8b760d40898cce83e913e78cf6e631a6a3dc3b448895bb35c02d298c21c4b SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af WHIRLPOOL e93cbf659b224d50b8a0971ceaacbcb72acfbf23347baf4a9875e647c5f43b70587a5e24ea01f3ecb57eee31e0550144b59d55e97daafba9d76158427518f667 diff --git a/dev-java/asm/asm-1.4.3-r3.ebuild b/dev-java/asm/asm-1.4.3-r3.ebuild new file mode 100644 index 000000000000..a2df87c9a54f --- /dev/null +++ b/dev-java/asm/asm-1.4.3-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="1.4" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +IUSE="" + +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + dev-java/ant-owanttask" +RDEPEND=">=virtual/jre-1.3" + +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \ + >> build.properties +} + +src_compile() { + eant jar $(use_doc jdoc) +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-1.4.3-r4.ebuild b/dev-java/asm/asm-1.4.3-r4.ebuild new file mode 100644 index 000000000000..410ba50a6d35 --- /dev/null +++ b/dev-java/asm/asm-1.4.3-r4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="1.4" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + dev-java/ant-owanttask" +RDEPEND=">=virtual/jre-1.3" +RESTRICT="test" + +src_prepare() { + echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \ + >> build.properties +} + +src_compile() { + eant jar $(use_doc jdoc) +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-1.5.3-r1.ebuild b/dev-java/asm/asm-1.5.3-r1.ebuild new file mode 100644 index 000000000000..bae27a980191 --- /dev/null +++ b/dev-java/asm/asm-1.5.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="1.5" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + dev-java/ant-owanttask + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" + +RESTRICT="test" + +src_prepare() { + echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \ + >> build.properties +} + +EANT_DOC_TARGET=jdoc + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-1.5.3.ebuild b/dev-java/asm/asm-1.5.3.ebuild new file mode 100644 index 000000000000..8f3ce183b087 --- /dev/null +++ b/dev-java/asm/asm-1.5.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="1.5" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + dev-java/ant-owanttask + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" + +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \ + >> build.properties +} + +EANT_DOC_TARGET=jdoc + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-2.0-r1.ebuild b/dev-java/asm/asm-2.0-r1.ebuild new file mode 100644 index 000000000000..f505db0b3a26 --- /dev/null +++ b/dev-java/asm/asm-2.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="2" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + dev-java/ant-owanttask + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" +RESTRICT="test" + +src_prepare() { + echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \ + >> build.properties +} + +src_compile() { + eant jar $(use_doc jdoc) +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-2.2.3-r1.ebuild b/dev-java/asm/asm-2.2.3-r1.ebuild new file mode 100644 index 000000000000..d9b888f3ddca --- /dev/null +++ b/dev-java/asm/asm-2.2.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="2.2" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + dev-java/ant-owanttask + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +# Needs unpackaged deps. +# http://bugs.gentoo.org/show_bug.cgi?id=212860 +RESTRICT="test" + +src_unpack() { + unpack ${A} + + cd "${S}" || die + # disables test coverage stuff + epatch "${FILESDIR}/${P}-build.xml.patch" + # see bug #153971 and http://forge.objectweb.org/tracker/index.php?func=detail&aid=306349&group_id=23&atid=100023 + epatch "${FILESDIR}/${P}-commons.patch" + echo "objectweb.ant.tasks.path = $(java-pkg_getjar --build-only ant-owanttask ow_util_ant_tasks.jar)" >> build.properties +} + +EANT_DOC_TARGET="jdoc" + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-3.3.1.ebuild b/dev-java/asm/asm-3.3.1.ebuild new file mode 100644 index 000000000000..809950ee4215 --- /dev/null +++ b/dev-java/asm/asm-3.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +WANT_ANT_TASKS="ant-owanttask" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="3" +IUSE="" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~sparc-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +# Needs deps we don't have yet +RESTRICT="test" + +EANT_DOC_TARGET="jdoc" + +# Fails if this property is not set +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar" + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-4.0.ebuild b/dev-java/asm/asm-4.0.ebuild new file mode 100644 index 000000000000..225d7825543a --- /dev/null +++ b/dev-java/asm/asm-4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_P="${PN}-${PV/rc/RC}" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.ow2.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="4" +IUSE="" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x64-macos" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +# Needs dependencies we don't have yet. +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +EANT_DOC_TARGET="jdoc" + +# Fails if this objectweb.ant.tasks.path is not set. +# Java generics seem to break unless product.noshrink is set. +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true" + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar "${x}" $(basename "${x%-*}.jar") + done + + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-5.0.3.ebuild b/dev-java/asm/asm-5.0.3.ebuild new file mode 100644 index 000000000000..d006b9f27836 --- /dev/null +++ b/dev-java/asm/asm-5.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +OLD_P="${PN}-4.0" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.ow2.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz + http://download.forge.objectweb.org/${PN}/${OLD_P}.tar.gz" +LICENSE="BSD" +SLOT="4" +IUSE="" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd ~x64-macos" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +# Needs dependencies we don't have yet. +RESTRICT="test" + +EANT_DOC_TARGET="jdoc" + +# Fails if this objectweb.ant.tasks.path is not set. +# Java generics seem to break unless product.noshrink is set. +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true" + +java_prepare() { + # Borrow some ant scripts from an old version to avoid requiring + # bndlib and friends. This may not work forever! + cp -vf "../${OLD_P}/archive"/*.xml archive/ || die +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar "${x}" $(basename "${x%-*}.jar") + done + + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/files/asm-2.2.3-build.xml.patch b/dev-java/asm/files/asm-2.2.3-build.xml.patch new file mode 100644 index 000000000000..b2c4a7e67190 --- /dev/null +++ b/dev-java/asm/files/asm-2.2.3-build.xml.patch @@ -0,0 +1,65 @@ +diff -Nur asm-2.2.3/build.xml asm-2.2.3_patched/build.xml +--- asm-2.2.3/build.xml 2006-07-05 18:32:20.000000000 +0300 ++++ asm-2.2.3_patched/build.xml 2008-09-25 23:12:06.000000000 +0300 +@@ -96,17 +96,6 @@ + <pathelement location="${out.build}"/>
+ </path>
+
+- <path id="cobertura.classpath">
+- <fileset dir="test/lib">
+- <include name="cobertura-1.7.jar"/>
+- <include name="log4j-1.2.9.jar"/>
+- <include name="jakarta-oro-2.0.8.jar"/>
+- <include name="asm-2.1.jar"/>
+- <include name="ccl.jar"/>
+- <include name="javancss.jar"/>
+- </fileset>
+- </path>
+-
+ <taskdef name="multipleAnt"
+ classname="org.objectweb.util.ant.MultipleAnt"
+ classpath="${objectweb.ant.tasks.path}"/>
+@@ -118,8 +107,6 @@ + <taskdef name="multipleCopy"
+ classname="org.objectweb.util.ant.MultipleCopy"
+ classpath="${objectweb.ant.tasks.path}"/>
+-
+- <taskdef classpathref="cobertura.classpath" resource="tasks.properties"/>
+ </target>
+
+ <!-- =================================== -->
+@@ -180,34 +167,6 @@ + </junitreport>
+ </target>
+
+- <target name="coverage" depends="compile">
+- <delete file="cobertura.ser"/>
+- <delete dir="${out.instr}"/>
+- <cobertura-instrument todir="${out.instr}">
+- <ignore regex="org.apache.log4j.*"/>
+- <fileset dir="${out.build}/tmp">
+- <include name="**/*.class"/>
+- <exclude name="**/optimizer/*.class" />
+- <exclude name="**/*Test*.class" />
+- </fileset>
+- </cobertura-instrument>
+- <copy todir="${out.instr}" preservelastmodified="yes">
+- <fileset dir="${out.build}/tmp"/>
+- </copy>
+- <property name="classes" value="${out.instr}"/>
+- <ant antfile="${test}/build.xml" target="test" inheritRefs="true"/>
+- </target>
+-
+- <target name="coverage.report" depends="init">
+- <cobertura-report destdir="${out}/coverage" srcdir="${src}" format="xml"/>
+- <cobertura-report destdir="${out}/coverage">
+- <fileset dir="${src}">
+- <include name="**/*.java"/>
+- <exclude name="**/asm/optimizer/**/*.java"/>
+- </fileset>
+- </cobertura-report>
+- </target>
+-
+ <!-- =================================== -->
+ <!-- ========== DIST ========== -->
+ <!-- =================================== -->
diff --git a/dev-java/asm/files/asm-2.2.3-commons.patch b/dev-java/asm/files/asm-2.2.3-commons.patch new file mode 100644 index 000000000000..f7b9d7931efa --- /dev/null +++ b/dev-java/asm/files/asm-2.2.3-commons.patch @@ -0,0 +1,13 @@ +diff -ru asm-2.2.3-orig/src/org/objectweb/asm/commons/SerialVersionUIDAdder.java asm-2.2.3/src/org/objectweb/asm/commons/SerialVersionUIDAdder.java +--- asm-2.2.3-orig/src/org/objectweb/asm/commons/SerialVersionUIDAdder.java 2006-11-19 00:21:09.000000000 -0500 ++++ asm-2.2.3/src/org/objectweb/asm/commons/SerialVersionUIDAdder.java 2006-11-19 00:22:12.000000000 -0500 +@@ -431,7 +431,7 @@ + try {
+ return MessageDigest.getInstance("SHA").digest(value);
+ } catch (Exception e) {
+- throw new UnsupportedOperationException(e);
++ throw new UnsupportedOperationException(e.toString());
+ }
+ }
+
+Only in asm-2.2.3/src/org/objectweb/asm/commons: SerialVersionUIDAdder.java.orig diff --git a/dev-java/asm/metadata.xml b/dev-java/asm/metadata.xml new file mode 100644 index 000000000000..d399bf77554e --- /dev/null +++ b/dev-java/asm/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <herd>java</herd> + + <longdescription> + ASM is a Java bytecode manipulation framework. It can be used to + dynamically generate stub classes or other proxy classes, directly in + binary form, or to dynamically modify classes at load time, i.e., just + before they are loaded into the Java Virtual Machine. + + ASM offers similar functionalities as BCEL or SERP, but is much more + smaller (25KB instead of 350KB for BCEL and 150KB for SERP) and faster + than these tools (the overhead of a load time class transformation is of + the order of 60% with ASM, 700% or more with BCEL, and 1100% or more + with SERP). Indeed ASM was designed to be used in a dynamic way* and was + therefore designed and implemented to be as small and as fast as + possible. + </longdescription> +</pkgmetadata> |