diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-04-25 00:41:35 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-04-25 00:41:35 +0000 |
commit | ab238abd702806a927a27eb15f0e15ea663861c5 (patch) | |
tree | 5da83c0552d2342dea8d6298495632dc908094e9 /app-text/jabref | |
parent | amd64 stable (diff) | |
download | gentoo-2-ab238abd702806a927a27eb15f0e15ea663861c5.tar.gz gentoo-2-ab238abd702806a927a27eb15f0e15ea663861c5.tar.bz2 gentoo-2-ab238abd702806a927a27eb15f0e15ea663861c5.zip |
Version bump, bug #166273. As usual dropped keywords because of new deps. Currently bundles antlr3beta5 jar because it makes no sense to have it in tree yet - newer beta7 is already incompatible and nothing else needs it yet.
(Portage version: 2.1.2.4)
Diffstat (limited to 'app-text/jabref')
-rw-r--r-- | app-text/jabref/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/jabref/files/digest-jabref-2.2 | 3 | ||||
-rw-r--r-- | app-text/jabref/files/jabref-2.2-build.xml.patch | 27 | ||||
-rw-r--r-- | app-text/jabref/jabref-2.2.ebuild | 68 |
4 files changed, 107 insertions, 1 deletions
diff --git a/app-text/jabref/ChangeLog b/app-text/jabref/ChangeLog index 1b72651cb91c..2abdd9ad2f87 100644 --- a/app-text/jabref/ChangeLog +++ b/app-text/jabref/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-text/jabref # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.44 2007/03/02 19:52:29 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.45 2007/04/25 00:41:35 caster Exp $ + +*jabref-2.2 (25 Apr 2007) + + 25 Apr 2007; Vlastimil Babka <caster@gentoo.org> + +files/jabref-2.2-build.xml.patch, +jabref-2.2.ebuild: + Version bump, bug #166273. As usual dropped keywords because of new deps. + Currently bundles antlr3beta5 jar because it makes no sense to have it in + tree yet - newer beta7 is already incompatible and nothing else needs it. 02 Mar 2007; Vlastimil Babka <caster@gentoo.org> -files/jabref-1.7.1-nojarbundler.patch, diff --git a/app-text/jabref/files/digest-jabref-2.2 b/app-text/jabref/files/digest-jabref-2.2 new file mode 100644 index 000000000000..ca7b95d44a57 --- /dev/null +++ b/app-text/jabref/files/digest-jabref-2.2 @@ -0,0 +1,3 @@ +MD5 e530bc2ddc504abc16832fb435d791a9 JabRef-2.2-src.tar.bz2 4150837 +RMD160 0b087c1d5de65223f055822469a448e5e60129eb JabRef-2.2-src.tar.bz2 4150837 +SHA256 96d6da2ce9893f5a117b4e3a748a6710b3b5dbf742382be9391d0867e11b0b38 JabRef-2.2-src.tar.bz2 4150837 diff --git a/app-text/jabref/files/jabref-2.2-build.xml.patch b/app-text/jabref/files/jabref-2.2-build.xml.patch new file mode 100644 index 000000000000..7a6cfb1a6e7f --- /dev/null +++ b/app-text/jabref/files/jabref-2.2-build.xml.patch @@ -0,0 +1,27 @@ +--- build.xml 2007-02-13 01:40:37.000000000 +0100 ++++ build.xml 2007-02-13 01:41:35.000000000 +0100 +@@ -105,7 +105,6 @@ + </and> + </condition> + +- <taskdef name="jarbundler" classpath="${library.directory}/jarbundler-1.4.jar" classname="com.loomcom.ant.tasks.jarbundler.JarBundler" /> + + + <!-- Build classpath --> +@@ -188,7 +187,7 @@ + </target> + + <!-- Jars up project --> +- <target name="jars" depends="build, unjarlib"> ++ <target name="jars" depends="build"> + <mkdir dir="${build.lib}" /> + <mkdir dir="${build.tmp}" /> + <jar destfile="${build.lib}/${build.jar}"> +@@ -373,6 +372,7 @@ + + + <target name="osxjar"> ++ <taskdef name="jarbundler" classpath="${library.directory}/jarbundler-1.4.jar" classname="com.loomcom.ant.tasks.jarbundler.JarBundler" /> + <jarbundler dir="${build.lib}" name="JabRef" mainclass="net.sf.jabref.JabRef" jars="${build.lib}/${build.jar}" icon="${images.dir}/JabRef-Logo.icns" version="${jabref.version}" jvmversion="1.4+" stubfile="${library.directory}/JavaApplicationStub" /> + </target> + diff --git a/app-text/jabref/jabref-2.2.ebuild b/app-text/jabref/jabref-2.2.ebuild new file mode 100644 index 000000000000..3ad0741e0805 --- /dev/null +++ b/app-text/jabref/jabref-2.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.2.ebuild,v 1.1 2007/04/25 00:41:35 caster Exp $ + +JAVA_PKG_IUSE="doc" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="GUI frontend for BibTeX, written in Java" +HOMEPAGE="http://${PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/JabRef-${PV}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +CDEPEND="dev-java/spin + >=dev-java/glazedlists-1.5.0 + >=dev-java/antlr-2.7.3 + dev-java/jgoodies-forms + =dev-java/jgoodies-looks-2.0* + >=dev-java/microba-0.4.3 + dev-java/jempbox + dev-java/pdfbox" + +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + cd "${S}" + # moves jarbundler definition to where it's needed (not by us) + # don't call unjarlib, don't want to absorb deps + epatch "${FILESDIR}/${P}-build.xml.patch" + + mkdir libs + mv lib/antlr-3* libs/antlr3.jar + rm -v lib/* + + java-ant_rewrite-classpath +} + +src_compile() { + java-pkg_filter-compiler jikes + + local gcp=$(java-pkg_getjars antlr,spin,glazedlists,jgoodies-looks-2.0,jgoodies-forms,microba,jempbox,pdfbox) + gcp="${gcp}:libs/antlr3.jar" + eant -Dgentoo.classpath="${gcp}" jars \ + $(use_doc -Dbuild.javadocs=build/docs/api javadocs) +} + +src_install() { + java-pkg_newjar build/lib/JabRef-${PV}.jar + java-pkg_dojar libs/antlr3.jar + + use doc && java-pkg_dojavadoc build/docs/api + dodoc src/txt/README + + java-pkg_dolauncher ${PN} \ + --main net.sf.jabref.JabRef + + newicon src/images/JabRef-icon-48.png JabRef-icon.png || die + make_desktop_entry jabref JabRef JabRef-icon.png Office +} |