summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-17 19:43:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-17 19:43:44 +0000
commit9dea47a2266fb5ac1c9280bffb2937b78786b905 (patch)
treeb24204bc6d2a54e9650c1993c6384935e42541d9 /dev-tex
parentVersion bump, drop old (diff)
downloadhistorical-9dea47a2266fb5ac1c9280bffb2937b78786b905.tar.gz
historical-9dea47a2266fb5ac1c9280bffb2937b78786b905.tar.bz2
historical-9dea47a2266fb5ac1c9280bffb2937b78786b905.zip
initial import, split out of texlive-latexextra for getting proper building and deps, part of bug #342317
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/pdfannotextractor/ChangeLog11
-rw-r--r--dev-tex/pdfannotextractor/Manifest15
-rw-r--r--dev-tex/pdfannotextractor/files/javajars.patch13
-rw-r--r--dev-tex/pdfannotextractor/metadata.xml5
-rw-r--r--dev-tex/pdfannotextractor/pdfannotextractor-0.1i.ebuild52
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-tex/pdfannotextractor/ChangeLog b/dev-tex/pdfannotextractor/ChangeLog
new file mode 100644
index 000000000000..002a30082cde
--- /dev/null
+++ b/dev-tex/pdfannotextractor/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-tex/pdfannotextractor
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdfannotextractor/ChangeLog,v 1.1 2011/02/17 19:43:44 aballier Exp $
+
+*pdfannotextractor-0.1i (17 Feb 2011)
+
+ 17 Feb 2011; Alexis Ballier <aballier@gentoo.org>
+ +pdfannotextractor-0.1i.ebuild, +files/javajars.patch, +metadata.xml:
+ initial import, split out of texlive-latexextra for getting proper building
+ and deps, part of bug #342317
+
diff --git a/dev-tex/pdfannotextractor/Manifest b/dev-tex/pdfannotextractor/Manifest
new file mode 100644
index 000000000000..a83587e680d5
--- /dev/null
+++ b/dev-tex/pdfannotextractor/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX javajars.patch 403 RMD160 cb9a34a8c14c22a1828a7801e61842a0d52a8b37 SHA1 5a05b5c50b0d2870c19795ba641b5e059a785880 SHA256 b90d16b429a7390ac8d487e7ac396d1cb4030cac7ee4b765c3d4731788aa935c
+DIST pdfannotextractor-0.1i.zip 48165 RMD160 ff0b44fc01b3b04152f36f9574e090fbc6692a8d SHA1 d4d58228e00ee3ce039dc2e87ae7cd223ca9a3fa SHA256 2873d485525ed0db735e436feeb6b30c6a1a558df6f11f2edb0634f035007816
+EBUILD pdfannotextractor-0.1i.ebuild 1235 RMD160 f0958a750ad9705c8437cd648708deca24b7795f SHA1 8f8f08704b5de9e925d66df9ca04742768cca122 SHA256 9718cc3c347b4304464e711b9804064d627d8b3645b0ae0ca3f5f4a9d7128d2e
+MISC ChangeLog 499 RMD160 1f84860645011b112fde214d13f29a73e3d021a6 SHA1 e8cf8b1feb98d38f3047b938244ba84d1e6f9cfd SHA256 948b98df3b195fbf14fa841d1af21c3aad92cbd432b3bdd40520e80fa62990e7
+MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk1denUACgkQvFcC4BYPU0r0FgCghxNwQT0+t1+39nyi7O53Z6QB
+yo0AoKFv1Cgok5E/nxhxEGFeLYDdpVCG
+=6kRF
+-----END PGP SIGNATURE-----
diff --git a/dev-tex/pdfannotextractor/files/javajars.patch b/dev-tex/pdfannotextractor/files/javajars.patch
new file mode 100644
index 000000000000..bc52050e7b06
--- /dev/null
+++ b/dev-tex/pdfannotextractor/files/javajars.patch
@@ -0,0 +1,13 @@
+Index: work/scripts/pax/pdfannotextractor.pl
+===================================================================
+--- work.orig/scripts/pax/pdfannotextractor.pl
++++ work/scripts/pax/pdfannotextractor.pl
+@@ -84,6 +84,8 @@ my @jar_pdfbox = qw[
+ PDFBox-0.7.2.jar
+ ];
+ my @dir_jar = qw[
++ /usr/share/pdfannotextractor/lib
++ /usr/share/pdfbox/lib
+ /usr/share/java
+ /usr/local/share/java
+ ];
diff --git a/dev-tex/pdfannotextractor/metadata.xml b/dev-tex/pdfannotextractor/metadata.xml
new file mode 100644
index 000000000000..ba6a8a8800d5
--- /dev/null
+++ b/dev-tex/pdfannotextractor/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+</pkgmetadata>
diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.1i.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.1i.ebuild
new file mode 100644
index 000000000000..e9b4390281c1
--- /dev/null
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.1i.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdfannotextractor/pdfannotextractor-0.1i.ebuild,v 1.1 2011/02/17 19:43:44 aballier Exp $
+
+EAPI=3
+
+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"
+IUSE=""
+
+CDEPEND="virtual/latex-base
+ dev-java/pdfbox
+ dev-java/fontbox"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.5"
+RDEPEND="${CDEPEND}
+ virtual/perl-Getopt-Long
+ dev-perl/File-Which
+ >=virtual/jre-1.5
+ !<=dev-texlive/texlive-latexextra-2010"
+
+TEXMF=/usr/share/texmf-site
+S=${WORKDIR}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="pdfbox fontbox"
+
+src_prepare() {
+ epatch "${FILESDIR}/javajars.patch"
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ cd "${S}/source/latex/pax"
+ eant || die
+}
+
+src_install() {
+ newbin scripts/pax/pdfannotextractor.pl pdfannotextractor || die
+ java-pkg_dojar "${S}/source/latex/pax/pax.jar" || die
+ insinto ${TEXMF}
+ doins -r tex || die
+ dodoc doc/latex/pax/README || die
+}