public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: app-text/jabref/
Date: Thu,  2 Jan 2014 23:29:11 +0000 (UTC)	[thread overview]
Message-ID: <1388705311.45fcff278faa2859bcd0e714cfdf6a08ac4fca6b.nicolasbock@gentoo> (raw)

commit:     45fcff278faa2859bcd0e714cfdf6a08ac4fca6b
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu Jan  2 23:28:31 2014 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jan  2 23:28:31 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=45fcff27

app-text/jabref-2.10_beta2-r1: Started to remove bundled libraries.

Package-Manager: portage-2.2.7

---
 app-text/jabref/ChangeLog                   |  6 +++
 app-text/jabref/jabref-2.10_beta2-r1.ebuild | 66 +++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/app-text/jabref/ChangeLog b/app-text/jabref/ChangeLog
index 3b42592..4eb41e0 100644
--- a/app-text/jabref/ChangeLog
+++ b/app-text/jabref/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*jabref-2.10_beta2-r1 (02 Jan 2014)
+
+  02 Jan 2014; Nicolas Bock <nicolasbock@gentoo.org>
+  +jabref-2.10_beta2-r1.ebuild:
+  app-text/jabref-2.10_beta2-r1: Started to remove bundled libraries.
+
 *jabref-2.10_beta2 (02 Jan 2014)
 
   02 Jan 2014; Nicolas Bock <nicolasbock@gentoo.org> +jabref-2.10_beta2.ebuild:

diff --git a/app-text/jabref/jabref-2.10_beta2-r1.ebuild b/app-text/jabref/jabref-2.10_beta2-r1.ebuild
new file mode 100644
index 0000000..d67b236
--- /dev/null
+++ b/app-text/jabref/jabref-2.10_beta2-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+inherit eutils java-pkg-2 java-ant-2 java-utils-2
+
+MY_PV="${PV/_beta/b}"
+
+DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
+HOMEPAGE="http://jabref.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+COMMON_DEP="
+	dev-java/fontbox:1.7
+	dev-java/spin:0
+	"
+
+DEPEND="
+	>=virtual/jdk-1.6
+	${COMMON_DEP}"
+
+RDEPEND="
+	>=virtual/jre-1.6
+	${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+java_prepare() {
+	# Remove bundled dependencies.
+	rm lib/fontbox*.jar || die
+	rm lib/spin.jar || die
+
+	# Remove unjarlib target.
+	sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
+}
+
+src_compile() {
+	local EXTERNAL_JARS="fontbox,spin"
+	local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
+	#einfo "setting classpath to ${CLASSPATH}"
+	eant \
+		-verbose \
+		-Dgentoo.classpath=${CLASSPATH} \
+		jars \
+		$(usex doc docs "")
+}
+
+src_install() {
+	java-pkg_newjar build/lib/JabRef-${MY_PV}.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
+	make_desktop_entry ${PN} JabRef JabRef-icon Office
+}


             reply	other threads:[~2014-01-02 23:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-02 23:29 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-16  6:38 [gentoo-commits] proj/sci:master commit in: app-text/jabref/ Justin Lecher
2014-03-11 21:41 Nicolas Bock
2014-01-28 16:34 Nicolas Bock
2014-01-28  7:55 Justin Lecher
2014-01-03 21:05 Nicolas Bock
2014-01-03 20:53 Nicolas Bock
2014-01-03 20:44 Nicolas Bock
2014-01-03 20:38 Nicolas Bock
2014-01-03 20:33 Nicolas Bock
2014-01-03 19:27 Nicolas Bock
2014-01-03 11:51 Justin Lecher
2014-01-02 17:52 Nicolas Bock
2014-01-02 17:52 Nicolas Bock
2013-12-20  4:08 Nicolas Bock
2013-12-13 19:07 Nicolas Bock
2013-06-17 18:35 Nicolas Bock
2013-06-17 17:38 Nicolas Bock
2013-04-08 18:42 Nicolas Bock
2013-04-05 18:01 Nicolas Bock
2013-02-20 16:50 Sebastien Fabbro
2013-02-15 17:31 Nicolas Bock
2013-02-14 18:39 Nicolas Bock
2013-02-14 18:39 Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388705311.45fcff278faa2859bcd0e714cfdf6a08ac4fca6b.nicolasbock@gentoo \
    --to=nicolasbock@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox