summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-05 22:12:05 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-05 22:12:05 +0000
commit72121c89752a3d3f69c1e53a615c1fd4d8284f79 (patch)
tree2211882c1858118a0928e5aa7ded0f964babc27c /dev-java/aspectwerkz
parentslotted asm-1.5.2 as 1.5 and asm-1.4.3 as 1.4 since they are not fully api co... (diff)
downloadgentoo-2-72121c89752a3d3f69c1e53a615c1fd4d8284f79.tar.gz
gentoo-2-72121c89752a3d3f69c1e53a615c1fd4d8284f79.tar.bz2
gentoo-2-72121c89752a3d3f69c1e53a615c1fd4d8284f79.zip
Initial import. Needed as a dependency of #76738.
Diffstat (limited to 'dev-java/aspectwerkz')
-rw-r--r--dev-java/aspectwerkz/ChangeLog10
-rw-r--r--dev-java/aspectwerkz/Manifest5
-rw-r--r--dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild59
-rw-r--r--dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-gentoo.patch85
-rw-r--r--dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc21
-rw-r--r--dev-java/aspectwerkz/metadata.xml5
6 files changed, 165 insertions, 0 deletions
diff --git a/dev-java/aspectwerkz/ChangeLog b/dev-java/aspectwerkz/ChangeLog
new file mode 100644
index 000000000000..1a1ba78864b2
--- /dev/null
+++ b/dev-java/aspectwerkz/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/aspectwerkz
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/ChangeLog,v 1.1 2005/01/05 22:12:05 luckyduck Exp $
+
+*aspectwerkz-2.0_rc2 (05 Jan 2005)
+
+ 05 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/aspectwerkz-2.0_rc2-gentoo.patch, +aspectwerkz-2.0_rc2.ebuild:
+ Initial import. Needed as a dependency of #76738.
+
diff --git a/dev-java/aspectwerkz/Manifest b/dev-java/aspectwerkz/Manifest
new file mode 100644
index 000000000000..aab92f046238
--- /dev/null
+++ b/dev-java/aspectwerkz/Manifest
@@ -0,0 +1,5 @@
+MD5 4f65427c3ea0af16c25ae6f7ba256aeb aspectwerkz-2.0_rc2.ebuild 1703
+MD5 d30496b6c3eafce42ec8ea7ec33e8020 .aspectwerkz-2.0_rc2.ebuild.swp 12288
+MD5 73b4b625728773625feaa48050c520d1 files/digest-aspectwerkz-0.10 66
+MD5 bcdc865fc5fd73a8458c9dd9ebd31035 files/memusagetest.patch 1228
+MD5 b52e8ab0f4ac5139bc047f5f9a8844aa files/digest-aspectwerkz-2.0_rc2 69
diff --git a/dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild b/dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild
new file mode 100644
index 000000000000..2a62afc57c20
--- /dev/null
+++ b/dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild,v 1.1 2005/01/05 22:12:05 luckyduck Exp $
+
+inherit java-pkg eutils
+
+DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java."
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P/_rc/.RC}.zip"
+HOMEPAGE="http://aspectwerkz.codehaus.org"
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~x86 ~amd64"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/asm-1.5*
+ dev-java/bcel
+ dev-java/concurrent-util
+ =dev-java/dom4j-1*
+ =dev-java/javassist-2*
+ dev-java/jrexx
+ >=dev-java/junitperf-1.9.1
+ dev-java/trove
+ =dev-java/qdox-20050104"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.5
+ jikes? ( >=dev-java/jikes-1.21 )"
+IUSE="jikes"
+
+S=${WORKDIR}/aw_2_0_2
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ cd ${S}/lib
+ rm *.jar
+ java-pkg_jar-from asm-1.5
+ java-pkg_jar-from bcel
+ java-pkg_jar-from concurrent-util
+ java-pkg_jar-from dom4j-1
+ java-pkg_jar-from javassist-2
+ java-pkg_jar-from jrexx
+ java-pkg_jar-from junitperf
+ java-pkg_jar-from trove
+ java-pkg_jar-from qdox-1.6
+}
+
+src_compile() {
+ local antflags="dist"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar lib/${PN}*.jar
+
+ dodoc LICENSE.txt
+}
diff --git a/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-gentoo.patch b/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-gentoo.patch
new file mode 100644
index 000000000000..273bb22e7272
--- /dev/null
+++ b/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-gentoo.patch
@@ -0,0 +1,85 @@
+--- build.xml.orig 2005-01-05 22:09:52.421137168 +0100
++++ build.xml 2005-01-05 22:17:04.298481832 +0100
+@@ -42,8 +42,6 @@
+ <!-- <property name="aspectwerkz.classpath" refid="aspectwerkz.classpath" />-->
+
+ <!-- define the jarjar task we use to remap ASM -->
+- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${basedir}/lib/jarjar-0.3.jar"/>
+-
+ <target name="cleandist" depends="clean, dist"/>
+
+ <!-- =================================================== -->
+@@ -121,7 +119,7 @@
+ <!-- ============================================================== -->
+ <!-- compiles the distribution -->
+ <!-- ============================================================== -->
+- <target name="compile" depends="init">
++ <target name="compile" depends="clean">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${main.classes}"/>
+ <javac destdir="${jdk14.classes}" debug="on" source="1.3" target="1.3">
+@@ -153,12 +151,6 @@
+ <path refid="project.class.path"/>
+ </classpath>
+ </javac>
+- <!-- remap ASM since it is used directly in the tests for some -->
+- <jarjar destfile="${test.classes}.jar">
+- <fileset dir="${test.classes}" includes="**/*"/>
+- <rule pattern="org.objectweb.asm.**" result="org.codehaus.aspectwerkz.@0"/>
+- </jarjar>
+- <unjar src="${test.classes}.jar" dest="${test.classes}" overwrite="true"/>
+ </target>
+
+ <!-- ============================================================== -->
+@@ -250,42 +242,31 @@
+ <!-- ============================================================== -->
+ <!-- create distribution -->
+ <!-- ============================================================== -->
+- <target name="dist" depends="compile, compile:jdk15, compile:test, compile:extensions"><!-- not samples since Java 1.4 -->
++ <target name="dist" depends="compile, compile:jdk15"><!-- not samples since Java 1.4 -->
+ <copy file="${src.dir}/main/aspectwerkz2.dtd" todir="${main.classes}"/>
+
+ <!-- we embed jarjar version of ASM in it as well in case the aspectwerkz-core jar is not used -->
+- <jarjar destfile="${build.dir}/aspectwerkz-${version}.jar" manifest="${lib.dir}/manifest.mf">
++ <jar destfile="${build.dir}/aspectwerkz.jar" manifest="${lib.dir}/manifest.mf">
+ <fileset dir="${main.classes}">
+ <exclude name="**/aspectwerkz/hook/**/*"/>
+ </fileset>
+- <zipfileset src="${basedir}/lib/asm-1.5.2.jar"/>
+- <zipfileset src="${basedir}/lib/asm-attrs-1.5.2.jar"/>
+- <rule pattern="org.objectweb.asm.**" result="org.codehaus.aspectwerkz.@0"/>
+- </jarjar>
+- <copy tofile="${lib.dir}/aspectwerkz-${version}.jar" file="${build.dir}/aspectwerkz-${version}.jar" overwrite="true"/>
++ </jar>
++ <copy tofile="${lib.dir}/aspectwerkz.jar" file="${build.dir}/aspectwerkz.jar" overwrite="true"/>
+
+ <!-- JDK 1.4 annotations only -->
+- <jar destfile="${build.dir}/aspectwerkz-jdk14-${version}.jar">
++ <jar destfile="${build.dir}/aspectwerkz-jdk14.jar">
+ <fileset dir="${jdk14.classes}"/>
+ </jar>
+- <copy tofile="${lib.dir}/aspectwerkz-jdk14-${version}.jar" file="${build.dir}/aspectwerkz-jdk14-${version}.jar" overwrite="true"/>
++ <copy tofile="${lib.dir}/aspectwerkz-jdk14.jar" file="${build.dir}/aspectwerkz-jdk14.jar" overwrite="true"/>
+
+ <!-- core contains the hook part -->
+ <!-- we embed jarjar version of ASM in it as well so that it will be in the bootclasspath for the asm hook -->
+- <jarjar destfile="${build.dir}/aspectwerkz-core-${version}.jar">
++ <jar destfile="${build.dir}/aspectwerkz-core.jar">
+ <fileset dir="${main.classes}">
+ <include name="**/aspectwerkz/hook/**/*"/>
+ </fileset>
+- <zipfileset src="${basedir}/lib/asm-1.5.2.jar"/>
+- <zipfileset src="${basedir}/lib/asm-attrs-1.5.2.jar"/>
+- <rule pattern="org.objectweb.asm.**" result="org.codehaus.aspectwerkz.@0"/>
+- </jarjar>
+- <copy tofile="${lib.dir}/aspectwerkz-core-${version}.jar" file="${build.dir}/aspectwerkz-core-${version}.jar" overwrite="true"/>
+-
+- <jarjar jarfile="${build.dir}/aspectwerkz-extensions-${version}.jar" basedir="${extensions.classes}">
+- <rule pattern="org.objectweb.asm.**" result="org.codehaus.aspectwerkz.@0"/>
+- </jarjar>
+- <copy tofile="${lib.dir}/aspectwerkz-extensions-${version}.jar" file="${build.dir}/aspectwerkz-extensions-${version}.jar" overwrite="true"/>
++ </jar>
++ <copy tofile="${lib.dir}/aspectwerkz-core.jar" file="${build.dir}/aspectwerkz-core.jar" overwrite="true"/>
+
+ <antcall target="dist:jdk15"/>
+ </target>
diff --git a/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2 b/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2
new file mode 100644
index 000000000000..dc8e9a41cbb5
--- /dev/null
+++ b/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2
@@ -0,0 +1 @@
+MD5 7ca18b72216703d52cf1dcfefb87822f aspectwerkz-2.0.RC2.zip 9758873
diff --git a/dev-java/aspectwerkz/metadata.xml b/dev-java/aspectwerkz/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/aspectwerkz/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>