From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/pdfannotextractor/
Date: Sat, 5 Dec 2015 19:49:37 +0000 (UTC) [thread overview]
Message-ID: <1449344551.1e1f7d2d794921bbc43ce494ec2b9d787b094ef1.monsieurp@gentoo> (raw)
commit: 1e1f7d2d794921bbc43ce494ec2b9d787b094ef1
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 19:42:31 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 19:42:31 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1f7d2d
dev-tex/pdfannotextractor: EAPI 5 bump + housekeeping. Fixes bug 545336.
Housekeeping includes:
- Stick patches in PATCHES array
- Remove useless dies
- Bump ebuild to EAPI 5 (was about time!)
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
| 62 ++++++++++++++++++++++
1 file changed, 62 insertions(+)
--git a/dev-tex/pdfannotextractor/pdfannotextractor-0.1l-r1.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l-r1.ebuild
new file mode 100644
index 0000000..be76d28
--- /dev/null
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.1l-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit latex-package java-utils-2 java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Extract annotations from pdf files"
+HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/pax/"
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
+IUSE=""
+
+CDEPEND="virtual/latex-base
+ dev-java/pdfbox:1.8
+ dev-java/fontbox:1.7"
+
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+RDEPEND="${CDEPEND}
+ virtual/perl-Getopt-Long
+ dev-perl/File-Which
+ >=virtual/jre-1.6
+ !<=dev-texlive/texlive-latexextra-2010"
+
+TEXMF=/usr/share/texmf-site
+S="${WORKDIR}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="
+ pdfbox-1.8
+ fontbox-1.7
+"
+
+PATCHES=(
+ "${FILESDIR}/javajars.patch"
+ "${FILESDIR}/PDFAnnotExtractor.java.patch"
+ "${FILESDIR}/StringVisitor.java.patch"
+)
+
+java_prepare() {
+ epatch "${PATCHES[@]}"
+}
+
+src_compile() {
+ cd "${S}/source/latex/pax" || die
+ eant || die
+}
+
+src_install() {
+ newbin scripts/pax/pdfannotextractor.pl pdfannotextractor
+ java-pkg_dojar "${S}/source/latex/pax/pax.jar"
+ insinto ${TEXMF}
+ doins -r tex
+ dodoc doc/latex/pax/README
+}
next reply other threads:[~2015-12-05 19:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-05 19:49 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-05 19:49 [gentoo-commits] repo/gentoo:master commit in: dev-tex/pdfannotextractor/ Patrice Clement
2015-12-05 19:49 Patrice Clement
2015-12-05 20:21 Patrice Clement
2016-02-14 22:51 James Le Cuirot
2016-02-14 22:51 James Le Cuirot
2017-07-13 22:26 Alexis Ballier
2018-03-01 15:09 Michał Górny
2024-06-20 9:42 Florian Schmaus
2024-06-20 9:42 Florian Schmaus
2024-06-20 9:49 Florian Schmaus
2024-06-21 12:38 Florian Schmaus
2024-06-26 6:24 Florian Schmaus
2024-06-27 9:24 Florian Schmaus
2024-06-27 9:24 Florian Schmaus
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=1449344551.1e1f7d2d794921bbc43ce494ec2b9d787b094ef1.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--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