diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-05-20 16:03:46 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-05-20 16:03:46 +0000 |
commit | a4b14d320f7b4b774d8231e73ba9f48ee2d81442 (patch) | |
tree | 6f97a4875ce7997c91166fb905ce3eeed7d4b813 /dev-java/aspectwerkz | |
parent | Marking libkarma-0.1.0-r1 ppc for bug 269538 (diff) | |
download | historical-a4b14d320f7b4b774d8231e73ba9f48ee2d81442.tar.gz historical-a4b14d320f7b4b774d8231e73ba9f48ee2d81442.tar.bz2 historical-a4b14d320f7b4b774d8231e73ba9f48ee2d81442.zip |
Version bump, thanks to andrewktest@yandex.ru and other devs working on this in java-overlay.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java/aspectwerkz')
-rw-r--r-- | dev-java/aspectwerkz/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/aspectwerkz/Manifest | 6 | ||||
-rw-r--r-- | dev-java/aspectwerkz/aspectwerkz-2.0.ebuild | 80 | ||||
-rw-r--r-- | dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r2.ebuild | 73 | ||||
-rw-r--r-- | dev-java/aspectwerkz/files/aspectwerkz-2.0-gentoo.patch | 138 |
5 files changed, 230 insertions, 77 deletions
diff --git a/dev-java/aspectwerkz/ChangeLog b/dev-java/aspectwerkz/ChangeLog index 27e055765acf..0b10adfdf5d9 100644 --- a/dev-java/aspectwerkz/ChangeLog +++ b/dev-java/aspectwerkz/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/aspectwerkz -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/ChangeLog,v 1.27 2008/10/25 17:23:14 nixnut Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/ChangeLog,v 1.28 2009/05/20 16:03:46 caster Exp $ + + 20 May 2009; Vlastimil Babka <caster@gentoo.org> + -aspectwerkz-2.0_rc2-r2.ebuild, +aspectwerkz-2.0.ebuild, + +files/aspectwerkz-2.0-gentoo.patch: + Version bump, thanks to andrewktest@yandex.ru and other devs working on + this in java-overlay. 25 Oct 2008; nixnut <nixnut@gentoo.org> aspectwerkz-2.0_rc2-r3.ebuild: Stable on ppc wrt bug 242952 diff --git a/dev-java/aspectwerkz/Manifest b/dev-java/aspectwerkz/Manifest index 3895797f5829..0e0a009f87d4 100644 --- a/dev-java/aspectwerkz/Manifest +++ b/dev-java/aspectwerkz/Manifest @@ -1,7 +1,9 @@ +AUX aspectwerkz-2.0-gentoo.patch 8362 RMD160 8f670bdbc6a18068890abaf1fee6fadb4f8e083b SHA1 42aa28d84856b6b9cdef5c410e8a62d555839e70 SHA256 3ec2444b5bce5f43c6bebb1ee0dc74359b93424955f0dd7b521dc2cb5713fb05 AUX aspectwerkz-2.0_rc2-gentoo.patch 4866 RMD160 5f103ae10c843b0ebcf5f3e92f9a733c4fde5dd8 SHA1 601cfaf73827be015c20935e4d02a041a2e440b6 SHA256 262f71feb10fc60b4fd2d6c160041c9ade5388c7d6b885ef9da18d4f8e4a3b29 AUX aspectwerkz-2.0_rc2-jdk15.patch 4503 RMD160 ced2ad2d092e45c3671a1ddba8cf2868c90128c6 SHA1 d38a973cafca86a1b4c5794b1c4d53c3d52c1f56 SHA256 7e0efe23f8f831bf0e11cc1e252c37387eede1b770847b44d803e0aeef7820de DIST aspectwerkz-2.0.RC2.zip 9758873 RMD160 75fce715072b274432d8dee8b751675399f9e96b SHA1 fcbc31d1ee7073b7f561c3a84d0d327fe35a6cb6 SHA256 ca3786ee34d7b339bee93944a1c136dcb2aaf783fd60ea88948c3bf19894e1a8 -EBUILD aspectwerkz-2.0_rc2-r2.ebuild 1805 RMD160 e87da29b51ba3f7a4f89b2752f01d3c57dedba3d SHA1 3f90de4d19df9823948a95ea51dbb98b4d082450 SHA256 9f600b1565eb24f83a0669dfeb1ca1213522718c47084e44ff465b874c55e8f5 +DIST aspectwerkz-2.0.zip 14166266 RMD160 f4ec7306a3d8054dc5e4f639e84d856999b06d48 SHA1 b7ec22eda02610b63fa1842080b0326b138d77dc SHA256 6d0f94338539dd0cbb0837337f65a64f65495a4194647e93fa96b27829ba9b46 +EBUILD aspectwerkz-2.0.ebuild 1741 RMD160 896145db602fe52dd7ade67aaf91ff9f334f8ea5 SHA1 bd287d74c7bcffc88209a539f8417a9c81bd584f SHA256 e14b1aac407bd6916abda517ce465c37126129fcec0cfdb373132fa6352254b7 EBUILD aspectwerkz-2.0_rc2-r3.ebuild 1637 RMD160 a668732ede8c7c18f47a8d2ea48b8766858d0963 SHA1 7795ee631c1f7256f1f445d9c970d69acd879358 SHA256 8f6462855d5de1e686ca7d405fd9ec59b0faacb5ce57cc850de0e19cb4f4df2b -MISC ChangeLog 4194 RMD160 c01a87bbf57de1db5193b03da1d706b730e612ef SHA1 fc4c95797eca985f329b2120e1809195f6d494c4 SHA256 c147a22ce95644dd0a733f8a123b2689956bab1a2b66da6e9e85369c39310373 +MISC ChangeLog 4442 RMD160 b30b0737704276062eb699891b976cf8cc3b43df SHA1 f0d60aaa4b34f0ab310e18de260aeb57337e1d68 SHA256 176a1559106c78cbc28567eb73110b25842aa632de08f5738a24388cae192612 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb diff --git a/dev-java/aspectwerkz/aspectwerkz-2.0.ebuild b/dev-java/aspectwerkz/aspectwerkz-2.0.ebuild new file mode 100644 index 000000000000..6185763df96e --- /dev/null +++ b/dev-java/aspectwerkz/aspectwerkz-2.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/aspectwerkz-2.0.ebuild,v 1.3 2009/05/20 16:03:46 caster Exp $ + +EAPI=2 + +JAVA_PKG_IUSE="doc java5 source" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java." +SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.zip" +HOMEPAGE="http://aspectwerkz.codehaus.org" +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" +# bug 203268 +RESTRICT="test" + +COMMON_DEP=" + dev-java/asm:1.5 + dev-java/concurrent-util:0 + dev-java/dom4j:1 + dev-java/jrexx:0 + dev-java/trove:0 + dev-java/qdox:1.6 + dev-java/junit:0" +RDEPEND=" + !java5? ( >=virtual/jre-1.4 ) + java5? ( >=virtual/jre-1.5 ) + ${COMMON_DEP}" +DEPEND=" + !java5? ( >=virtual/jdk-1.4 ) + java5? ( >=virtual/jdk-1.5 ) + ${COMMON_DEP} + app-arch/unzip" + +java_prepare() { + # unit tests need this + chmod +x "bin/${PN}" || die + epatch "${FILESDIR}/${P}-gentoo.patch" + + find . -name '*.jar' -delete || die + + cd "${S}/lib" + java-pkg_jar-from asm-1.5 + java-pkg_jar-from concurrent-util + java-pkg_jar-from dom4j-1 + java-pkg_jar-from jrexx + java-pkg_jar-from junit + java-pkg_jar-from trove + java-pkg_jar-from qdox-1.6 +} + +_eant() { + local antflags + use java5 && antflags="-Djava.version=1.5" || antflags="-Djava.version=1.4" + eant ${antflags} "${@}" + +} + +src_compile() { + _eant dist #precompiled javadocs +} + +src_test() { + _eant test +} + +src_install() { + use source && java-pkg_dosrc src/* + # other stuff besides javadoc here too + use doc && java-pkg_dohtml -r docs/* + + cd lib + for jar in ${PN}*.jar; do + java-pkg_newjar ${jar} ${jar/-${PV}} + done +} diff --git a/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r2.ebuild b/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r2.ebuild deleted file mode 100644 index 671e2e88a5bd..000000000000 --- a/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2008 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-r2.ebuild,v 1.12 2008/03/30 17:12:41 corsair Exp $ - -JAVA_PKG_BSFIX="off" -# no rewriting required since we patch build.xml to contain target/source - -inherit java-pkg-2 eutils java-ant-2 - -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="amd64 ppc ~ppc64 x86" -RDEPEND=">=virtual/jre-1.3 - =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/junit-3.8* - >=dev-java/junitperf-1.9.1 - dev-java/trove - dev-java/qdox" -DEPEND="java5? ( >=virtual/jdk-1.5 ) - !java5? ( >=virtual/jdk-1.3 ) - >=dev-java/java-config-2.0.31 - ${RDEPEND} - >=dev-java/ant-core-1.5 - app-arch/unzip - source? ( app-arch/zip )" -IUSE="java5 source" - -S=${WORKDIR}/aw_2_0_2 - -# These fail -RESTRICT="test" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}"/${P}-gentoo.patch - epatch "${FILESDIR}"/${P}-jdk15.patch - - find . -name '*.jar' -exec rm {} \; || die - 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 junit - java-pkg_jar-from junitperf - java-pkg_jar-from trove - java-pkg_jar-from qdox-1.6 -} - -src_compile() { - local antflags - use "!java5" && antflags="-Dnojdk15=true" - eant ${antflags} dist || die "eant failed" -} - -src_install() { - java-pkg_dojar lib/${PN}*.jar - - use source && java-pkg_dosrc src/* -} diff --git a/dev-java/aspectwerkz/files/aspectwerkz-2.0-gentoo.patch b/dev-java/aspectwerkz/files/aspectwerkz-2.0-gentoo.patch new file mode 100644 index 000000000000..0c7e99a33817 --- /dev/null +++ b/dev-java/aspectwerkz/files/aspectwerkz-2.0-gentoo.patch @@ -0,0 +1,138 @@ +--- build.xml.orig 2005-03-10 12:05:48.000000000 +0300 ++++ build.xml 2006-01-28 12:22:12.436634250 +0300 +@@ -44,8 +44,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"/> + + <!-- =================================================== --> +@@ -124,7 +122,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"> +@@ -156,12 +154,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> + + <!-- ============================================================== --> +@@ -253,49 +245,36 @@ + <!-- ============================================================== --> + <!-- 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.4-snapshot.jar"/> +- <zipfileset src="${basedir}/lib/asm-attrs-1.5.4-snapshot.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-${version}.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-${version}.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.4-snapshot.jar"/> +- <zipfileset src="${basedir}/lib/asm-attrs-1.5.4-snapshot.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"/> +- +- <!-- extensions embeds ASM as well --> +- <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-${version}.jar" file="${build.dir}/aspectwerkz-core.jar" overwrite="true"/> + + <!-- build a jdk neutral nodeps for the main jar (extensions + deps) + (not core, jdk14, jdk15, Ant, JUnit,) --> +- <jar destfile="${build.dir}/aspectwerkz-nodeps-${version}.jar"> +- <zipfileset src="${build.dir}/aspectwerkz-${version}.jar"/> +- <zipfileset src="${build.dir}/aspectwerkz-extensions-${version}.jar"/> ++ <jar destfile="${build.dir}/aspectwerkz-nodeps.jar"> ++ <zipfileset src="${build.dir}/aspectwerkz.jar"/> + <zipgroupfileset dir="${lib.dir}"> + <exclude name="jarjar*"/> + <exclude name="aspectwerkz*"/> +@@ -308,32 +287,32 @@ + <exclude name="qdox*"/> + <include name="*.jar"/> + <!-- add qdox manually to remove its META-INF/LICENSE.txt that is not the one of AW --> +- <zipfileset src="${lib.dir}/qdox-1.4.jar" excludes="META-INF/*"/> ++ <zipfileset src="${lib.dir}/qdox.jar" excludes="META-INF/*"/> + </jar> + <!-- nodeps --> +- <jar destfile="${build.dir}/aspectwerkz-nodeps-jdk14-${version}.jar"> +- <zipfileset src="${build.dir}/aspectwerkz-nodeps-${version}.jar"/> +- <zipfileset src="${build.dir}/aspectwerkz-jdk14-${version}.jar"/> ++ <jar destfile="${build.dir}/aspectwerkz-nodeps-jdk14.jar"> ++ <zipfileset src="${build.dir}/aspectwerkz-nodeps.jar"/> ++ <zipfileset src="${build.dir}/aspectwerkz-jdk14.jar"/> + </jar> +- <copy tofile="${lib.dir}/aspectwerkz-nodeps-jdk14-${version}.jar" file="${build.dir}/aspectwerkz-nodeps-jdk14-${version}.jar" overwrite="true"/> ++ <copy tofile="${lib.dir}/aspectwerkz-nodeps-jdk14-${version}.jar" file="${build.dir}/aspectwerkz-nodeps-jdk14.jar" overwrite="true"/> + + <antcall target="dist:jdk15"/> + + </target> + + <target name="dist:jdk15" if="jdk15"> + <!-- Java 5 annotation and JVMTI agent if J2SE 5 build --> +- <jar destfile="${build.dir}/aspectwerkz-jdk5-${version}.jar" manifest="${lib.dir}/manifest-core.mf"> ++ <jar destfile="${build.dir}/aspectwerkz-jdk5.jar" manifest="${lib.dir}/manifest-core.mf"> + <fileset dir="${jdk15.classes}"/> + </jar> +- <copy tofile="${lib.dir}/aspectwerkz-jdk5-${version}.jar" file="${build.dir}/aspectwerkz-jdk5-${version}.jar" overwrite="true"/> ++ <copy tofile="${lib.dir}/aspectwerkz-jdk5-${version}.jar" file="${build.dir}/aspectwerkz-jdk5.jar" overwrite="true"/> + + <!-- nodeps --> +- <jar destfile="${build.dir}/aspectwerkz-nodeps-jdk5-${version}.jar" manifest="${lib.dir}/manifest-core.mf"> +- <zipfileset src="${build.dir}/aspectwerkz-nodeps-${version}.jar"/> +- <zipfileset src="${build.dir}/aspectwerkz-jdk5-${version}.jar"/> ++ <jar destfile="${build.dir}/aspectwerkz-nodeps-jdk5.jar" manifest="${lib.dir}/manifest-core.mf"> ++ <zipfileset src="${build.dir}/aspectwerkz-nodeps.jar"/> ++ <zipfileset src="${build.dir}/aspectwerkz-jdk5.jar"/> + </jar> +- <copy tofile="${lib.dir}/aspectwerkz-nodeps-jdk5-${version}.jar" file="${build.dir}/aspectwerkz-nodeps-jdk5-${version}.jar" overwrite="true"/> ++ <copy tofile="${lib.dir}/aspectwerkz-nodeps-jdk5-${version}.jar" file="${build.dir}/aspectwerkz-nodeps-jdk5.jar" overwrite="true"/> + </target> + + <!-- ============================================================== --> |