summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-06-22 22:33:35 +0000
committerVlastimil Babka <caster@gentoo.org>2009-06-22 22:33:35 +0000
commit6190ba5e33afb67637ea12f3572891bb4597f4d0 (patch)
tree6f6dfa47a97716b8a47000ae2b04d854b2d1d828 /app-text
parentVersion bump. Improve handling of Apache-dependent tests (bug #273442). (diff)
downloadgentoo-2-6190ba5e33afb67637ea12f3572891bb4597f4d0.tar.gz
gentoo-2-6190ba5e33afb67637ea12f3572891bb4597f4d0.tar.bz2
gentoo-2-6190ba5e33afb67637ea12f3572891bb4597f4d0.zip
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/jabref/ChangeLog8
-rw-r--r--app-text/jabref/jabref-2.5.ebuild (renamed from app-text/jabref/jabref-2.4.2.ebuild)19
2 files changed, 17 insertions, 10 deletions
diff --git a/app-text/jabref/ChangeLog b/app-text/jabref/ChangeLog
index b03a5154f5e3..83ffe8859dc1 100644
--- a/app-text/jabref/ChangeLog
+++ b/app-text/jabref/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/jabref
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.76 2009/05/20 22:13:55 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.77 2009/06/22 22:33:35 caster Exp $
+
+*jabref-2.5 (22 Jun 2009)
+
+ 22 Jun 2009; Vlastimil Babka <caster@gentoo.org> -jabref-2.4.2.ebuild,
+ +jabref-2.5.ebuild:
+ Version bump.
*jabref-2.5_beta2 (20 May 2009)
diff --git a/app-text/jabref/jabref-2.4.2.ebuild b/app-text/jabref/jabref-2.5.ebuild
index 06fe910d432e..ecf01eac86ac 100644
--- a/app-text/jabref/jabref-2.4.2.ebuild
+++ b/app-text/jabref/jabref-2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.4.2.ebuild,v 1.4 2009/04/27 01:59:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.5.ebuild,v 1.1 2009/06/22 22:33:35 caster Exp $
EAPI=2
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="mysql"
CDEPEND="dev-java/spin:0
@@ -31,27 +31,28 @@ CDEPEND="dev-java/spin:0
dev-java/jpfcodegen:0
mysql? ( dev-java/jdbc-mysql:0 )"
-RDEPEND=">=virtual/jre-1.5
+RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
+DEPEND=">=virtual/jdk-1.6
${CDEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
-src_prepare() {
+java_prepare() {
# moves jarbundler definition to where it's needed (not by us)
# don't call unjarlib, don't want to absorb deps
# failonerror in jpfcodegen
epatch "${FILESDIR}/${PN}-2.4-build.xml.patch"
+ # bug #268252
+ java-ant_xml-rewrite -f build.xml -d -e javac -a encoding -v UTF-8
+
mkdir libs || die
mv lib/antlr-3.0b5.jar libs/ || die
rm -v lib/*.jar lib/plugin/*.jar \
src/java/net/sf/jabref/plugin/core/generated/*.java || die
-
- java-utils-2_src_prepare
}
JAVA_ANT_REWRITE_CLASSPATH="true"
@@ -75,11 +76,11 @@ src_install() {
java-pkg_dolauncher ${PN} \
--main net.sf.jabref.JabRef
- java-pkg_register-optional-dependency jdbc-mysql
-
dodir /usr/share/${PN}/lib/plugins
keepdir /usr/share/${PN}/lib/plugins
+ java-pkg_register-optional-dependency jdbc-mysql
+
newicon src/images/JabRef-icon-48.png JabRef-icon.png || die
make_desktop_entry jabref JabRef JabRef-icon Office
}