ChangeLog

# ChangeLog for dev-java/aspectj
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.23 2008/01/10 22:02:11 caster Exp $

10 Jan 2008; Vlastimil Babka aspectj-1.2-r2.ebuild:
Restrict junit dependency.

22 Apr 2007; Vlastimil Babka aspectj-1.2-r2.ebuild:
Add java-ant-2 to inherit and fix the deps a bit.

19 Mar 2007; Bryan Østergaard metadata.xml:
Remove mkennedy from metadata.xml due to retirement.

28 Feb 2007; Petteri Räty -aspectj-1.1.1.ebuild,
-aspectj-1.2-r1.ebuild:
Cleanup.

30 Nov 2006; Vlastimil Babka aspectj-1.2-r1.ebuild,
aspectj-1.2-r2.ebuild:
Update xerces dep for upcoming 2.6 slotmove.

*aspectj-1.2-r2 (02 Jul 2006)

02 Jul 2006; Joshua Nichols +aspectj-1.2-r2.ebuild:
Revision bump to support new Java system.

16 Jan 2006; Mark Loeser aspectj-1.2-r1.ebuild:
Whitespace fix

15 Jan 2006; Joshua Nichols aspectj-1.2-r1.ebuild:
Fixed jar-from call for saxon to fix bug #119089.

*aspectj-1.2-r1 (08 Jan 2006)

08 Jan 2006; Joshua Nichols +aspectj-1.2-r1.ebuild:
No longer uses bundled jars to build. Patch contributed by Julie Bovee Hill
(bug #63293).

08 Oct 2005; Petteri Räty
+files/aspectj-1.1.1.build.xml.patch, aspectj-1.1.1.ebuild,
aspectj-1.2.ebuild:
Fixed broken build.xml of 1.1.1. Both versions: removed DEPEND on full ant
and installation of LICENSE-AspectJ.html.

28 Dec 2004; Dylan Carlson aspectj-1.2.ebuild:
Stable on amd64.

22 Oct 2004; Dylan Carlson aspectj-1.1.1.ebuild,
aspectj-1.2.ebuild:
Keywords ~amd64.

*aspectj-1.1.1 (25 Aug 2004)

25 Aug 2004; Chris Aniszczyk +aspectj-1.1.1.ebuild:
Phoenix down

23 Aug 2004; Chris Aniszczyk -aspectj-1.1.1.ebuild,
aspectj-1.2.ebuild:
Marking x86 & cleanup

16 Jul 2004; David Holm aspectj-1.1.1.ebuild,
aspectj-1.2.ebuild:
Added to ~ppc.

*aspectj-1.2 (14 Jul 2004)

14 Jul 2004; Thomas Matthijs
+files/aspectj-1.2-fix-examples-build.xml.patch,
+files/aspectj-1.2-fix-javadoc.patch,
+files/aspectj-1.2-version-gentoo.patch, +aspectj-1.2.ebuild:
new version, closes 53959

27 Apr 2004; Aron Griffis aspectj-1.1.1.ebuild:
Add inherit eutils

*aspectj-1.1.1 (12 Apr 2004)

12 Apr 2004; aspectj-1.1.1.ebuild, metadata.xml,
files/ajbrowser, files/ajc, files/aspectj-1.1.1-version-gentoo.patch:
Initial port. Ebuild contributed by Matthew Kennedy

Manifest

AUX ajbrowser 149 RMD160 3c43e2534d4a3e6886d8eee7cd370144dbf14b09 SHA1 01b80efc40b252ebc32806eb9ee49a9c2e8637ef SHA256 902cc190b6d8e7221d6c818e8e34111a5308a1f222fa46db152b200de90826b3
AUX ajc 143 RMD160 e9e07201e61c32eff04371641761106b3608bbc9 SHA1 7ec9457e98899376fd191209d7740a2b8badebd0 SHA256 664e10ad435245281a66d03096ce3dbbd2d2ae0687f76fc64f172a369b5cbb44
AUX aspectj-1.1.1-version-gentoo.patch 1263 RMD160 0749b8cad9ce3b1ab12d471f884f88806d734c52 SHA1 7f552f0d6550427808787ea85f777d2596ef3974 SHA256 4a36c67f14d57cd9cfcabde35afebb7bac85dbcefdf431a0f8bb06bd1df7709d
AUX aspectj-1.1.1.build.xml.patch 545 RMD160 08993e6aa6bee132db550a877a7222bebb4d01e5 SHA1 5a660c0a3aafc6781c300f0fee6fce6921ab23b3 SHA256 0e623ec17f3bce879dd6f1632b4671312a957c78c907fb977328e0a539ced00e
AUX aspectj-1.2-fix-examples-build.xml.patch 649 RMD160 31e1241f18bcbf0ea98212b96a4d8550f237767c SHA1 a3ab0dc48153538e2f738ded80c720e6156cebaa SHA256 07938922d5a8535a3f1f13fae7c5475a5edf96e4916716df57a87edb3e8da0bf
AUX aspectj-1.2-fix-javadoc.patch 939 RMD160 adab5589b0f5e461c273ae6dcf2291dacd2e63de SHA1 63122fa731a9f8b21f019102ca6f87cf5985f2fa SHA256 4bf75e2447a37cc713e2503f4c0080a71335041e8de4bca1d39c69fca2b70c87
AUX aspectj-1.2-version-gentoo.patch 964 RMD160 e2f4c342135064634ce45658f798101c74fb6194 SHA1 57d2d3702c265742ee8da7b497040d2044ec0795 SHA256 33f7da3f307bc08664b5c34babaebf05e468c8d7a1f23083831b590e51c38570
DIST aspectj-CVS-V1_2_0.tar.bz2 25289180 RMD160 7bcb9935a2e9992ca8eadb48bebbfa6c83479260 SHA1 0b04be73d43f4a2f35df71c615a75ef901af78ba SHA256 51dae7feb7a3ce2e9c28c37d9440aa0cc7cb8c7d5731e593e466751f935cbef9
EBUILD aspectj-1.2-r2.ebuild 2909 RMD160 dc876e630b254452b6dded6b0b11583a0907c525 SHA1 c4d2c150d11cdc1d38ece4f3322f09ce0729dc2e SHA256 5563731753336b2da66f4014d5116fa0fefbf3d8fc456af0479a42469adb7838
EBUILD aspectj-1.2.ebuild 2383 RMD160 bef8b1d57c0b9e36d4f60d94de6c0cef8e68e028 SHA1 cc2a53112acf2a0577546ce6ebe3ee8811700041 SHA256 796a565d5b5cd3f10bbef89f4498474010183f7173da90d8d2691cffd139001e
MISC ChangeLog 2818 RMD160 d2a362ea522aa7302c5d982d3f611154e094b6ef SHA1 07c7d2633fc4e7de44a927ac1add9ce4352082db SHA256 efe61bc3a60d4c51f55a738c26e0dde431389979fa7c8d5e67b5cfac38b50ff7
MISC metadata.xml 599 RMD160 c965e7f006d5dbcab54a833a6da6458a862ba047 SHA1 9373732ec2c667341a1efff02a2f1a3cfb79d598 SHA256 ac9b79dca4d91c286e721a5b63cface5920cf6a7d2ea01e49c38d0df2a8477f2

aspectj-1.2-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/aspectj-1.2-r2.ebuild,v 1.4 2008/01/10 22:02:11 caster Exp $

inherit eutils java-pkg-2 java-ant-2

DESCRIPTION="AspectJ is a seemless extension to the Java programming language for Aspect Oriented Programming (AOP)"
SRC_URI="mirror://gentoo/aspectj-CVS-V1_2_0.tar.bz2"
HOMEPAGE="http://www.eclipse.org/aspectj/"
CDEPEND="dev-java/bcel
=dev-java/junit-3.8*
dev-java/jython
=dev-java/jakarta-regexp-1.3*
=dev-java/saxon-6.5*
dev-java/ant-core"
DEPEND=">=virtual/jdk-1.3
sys-apps/findutils
${CDEPEND}"
RDEPEND=">=virtual/jre-1.3
${CDEPEND}"

SLOT="0"
LICENSE="CPL-1.0 Apache-1.1"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="doc"

# Welcome to the AspectJ ebuild. An upstream source archive is not
# available directly. The AspectJ source .tar.bz2 snapshot is taken
# from CVS with the following command:
#
# cvs -z3 -d:pserver:anonymous@dev.eclipse.org:/home/technology \
# co -rV1_2_0 org.aspectj/modules
#
# The source is then patched so that the installed binaries have
# version information which reflects the tagged source release. The
# AspectJ build system does not do this automatically.
#
# Useful documentation for this port:
#
# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/readme-build-and-test-aspectj.html?rev=HEAD&content-type=text/html&cvsroot=Technology_Project
#
# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/release-checklist.txt?rev=HEAD&content-type=text/plain&cvsroot=Technology_Project
#

S=${WORKDIR}/org.aspectj/modules

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/aspectj-${PV}-version-gentoo.patch
epatch ${FILESDIR}/aspectj-${PV}-fix-javadoc.patch
epatch ${FILESDIR}/aspectj-${PV}-fix-examples-build.xml.patch
sed -i "s,DEVELOPMENT,${PV},g" build/build-properties.xml
sed -i -e "s,@PV@,${PV},g" -e "s,@PV_LONG@,${PV} (Gentoo Build),g" \
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties

cd lib/ant/lib
rm *.jar
java-pkg_jar-from ant-core

cd ../../commons
rm *.jar

cd ../bcel
rm *.jar
java-pkg_jar-from bcel

cd ../jdiff
rm *.jar

cd ../junit
rm *.jar
java-pkg_jar-from junit

cd ../jython
rm *.jar
java-pkg_jar-from jython

cd ../regexp
rm *.jar
java-pkg_jar-from jakarta-regexp-1.3

cd ../saxon
rm *.jar
java-pkg_jar-from saxon-6.5
}

src_compile() {
cd build
eant
}

src_install() {
mkdir aspectj-unpack
java -jar aj-build/dist/aspectj-${PV}.jar -to aspectj-unpack
cd aspectj-unpack
java-pkg_dojar lib/*.jar
dobin ${FILESDIR}/{ajc,ajbrowser}

dohtml doc/*.html
dohtml README-AspectJ.html
if use doc; then
cp -R doc/{devguide,api,progguide} ${D}/usr/share/doc/${PF}/html
cp -R doc/examples ${D}/usr/share/doc/${PF}
cp doc/*.pdf ${D}/usr/share/doc/${PF}
fi
}

aspectj-1.2.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/aspectj-1.2.ebuild,v 1.8 2005/10/08 10:55:35 betelgeuse Exp $

inherit java-pkg eutils

DESCRIPTION="AspectJ is a seemless extension to the Java programming language for Aspect Oriented Programming (AOP)"
SRC_URI="mirror://gentoo/aspectj-CVS-V1_2_0.tar.bz2"
HOMEPAGE="http://www.eclipse.org/aspectj/"
DEPEND=">=virtual/jdk-1.3
dev-java/ant-core"
RDEPEND=">=virtual/jre-1.3"
SLOT="0"
LICENSE="CPL-1.0 Apache-1.1"
KEYWORDS="x86 ~ppc amd64"
IUSE="doc"

# Welcome to the AspectJ ebuild. An upstream source archive is not
# available directly. The AspectJ source .tar.bz2 snapshot is taken
# from CVS with the following command:
#
# cvs -z3 -d:pserver:anonymous@dev.eclipse.org:/home/technology \
# co -rV1_2_0 org.aspectj/modules
#
# The source is then patched so that the installed binaries have
# version information which reflects the tagged source release. The
# AspectJ build system does not do this automatically.
#
# Useful documentation for this port:
#
# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/readme-build-and-test-aspectj.html?rev=HEAD&content-type=text/html&cvsroot=Technology_Project
#
# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/release-checklist.txt?rev=HEAD&content-type=text/plain&cvsroot=Technology_Project
#

S=${WORKDIR}/org.aspectj/modules

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/aspectj-${PV}-version-gentoo.patch
epatch ${FILESDIR}/aspectj-${PV}-fix-javadoc.patch
epatch ${FILESDIR}/aspectj-${PV}-fix-examples-build.xml.patch
sed -i "s,DEVELOPMENT,${PV},g" build/build-properties.xml
sed -i -e "s,@PV@,${PV},g" -e "s,@PV_LONG@,${PV} (Gentoo Build),g" \
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties
}

src_compile() {
cd build
ant -f build.xml || die "build failed"
}

src_install() {
mkdir aspectj-unpack
java -jar aj-build/dist/aspectj-${PV}.jar -to aspectj-unpack
cd aspectj-unpack
java-pkg_dojar lib/*.jar
dobin ${FILESDIR}/{ajc,ajbrowser}

dohtml doc/*.html
dohtml README-AspectJ.html
if use doc; then
cp -R doc/{devguide,api,progguide} ${D}/usr/share/doc/${PF}/html
cp -R doc/examples ${D}/usr/share/doc/${PF}
cp doc/*.pdf ${D}/usr/share/doc/${PF}
fi
}

files

metadata.xml




java

AspectJ is

- a seamless aspect-oriented extension to the Java(tm) programming language
- Java platform compatible
- easy to learn and use

AspectJ enables

- the clean modularization of crosscutting concerns such as: error
checking and handling, synchronization, context-sensitive behavior,
performance optimizations, monitoring and logging, debugging
support, multi-object protocols