diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-28 07:59:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-28 07:59:59 +0100 |
commit | b8325835c82367d22428eb41afa0f2d375338d3c (patch) | |
tree | c416b8853bd14fc346da5d0129843cc4a68a30a0 /dev-tex | |
parent | d2ed973482fdd800013658e83a61709b29e0a80f (diff) |
gentoo auto-resync : 28:06:2024 - 07:59:59
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/Manifest.gz | bin | 6534 -> 6532 bytes | |||
-rw-r--r-- | dev-tex/pdfannotextractor/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/pdfannotextractor/pdfannotextractor-0.2-r3.ebuild (renamed from dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild) | 34 |
3 files changed, 15 insertions, 21 deletions
diff --git a/dev-tex/Manifest.gz b/dev-tex/Manifest.gz Binary files differindex 4b60f89de91e..aefbc251d008 100644 --- a/dev-tex/Manifest.gz +++ b/dev-tex/Manifest.gz diff --git a/dev-tex/pdfannotextractor/Manifest b/dev-tex/pdfannotextractor/Manifest index 3641fee33709..1a77767c2b6f 100644 --- a/dev-tex/pdfannotextractor/Manifest +++ b/dev-tex/pdfannotextractor/Manifest @@ -2,5 +2,5 @@ AUX pdfannotextractor-0.2-javajars.patch 368 BLAKE2B 7a36af59d018a7682b1ef7ae297 DIST fontbox-1.7.1.jar 188471 BLAKE2B 88d2880e12bf99a2536b2ae21073e3f5eebeb8620e38158c971bcdd39da4f787fc9fca170183a2604ece8032cc3f3b379a763ebab472635b5b3feba1cad41855 SHA512 083d861ed254f92a66f9025ff63acd939ac93fc045d6c266b77b49ee8df483d8b93d8a75b25ec48bb9dc648cd6b49d8ef15858f1db1a2f367311331fc4a505a8 DIST pdfannotextractor-0.2.tar.gz 28922 BLAKE2B ca488a815762cdc9b3ee3dd240e21d105862a93e5d4cf0533a37ddf8e65ed1dea331dd5ddb4a4df33f757740bfa23ebb20a44ad69281c23d986cf596f9f4ea72 SHA512 8cbbc2cbfa71f9390955d9b9d563d6f936265d6f1216aa0d627fdb5867938cf6ca4e5a3dd80980376558ef1839cf38fd48697b26c743a3c4fca58d68b27632e5 DIST pdfbox-1.8.17.jar 4099777 BLAKE2B 05f777efd07f8189c6e0b2fd26d29b86e91e97c5a3351cf59e333d9a6c9b5512a856dacb469f643ebf6f607021217a63d214ad7632cf6d66a2e837d68d975b45 SHA512 44cd1f3d471d068b86e8bd06662365da34bb7d21e2a3080d9bc9bb0241661e61c2505294eeb40fc6983bdc2481ce09e60398b72a2a3d9b1ccaeec1536f428021 -EBUILD pdfannotextractor-0.2-r2.ebuild 1730 BLAKE2B bf2fe951c02ad3c9b832732b328dff73602334eadbe43ec9764416107a337b95cf043f5b70677cd1753dfc35b97422f36ef645a0ff3a3df86ede1e0c205d81ab SHA512 ac8cbf500653b60ae01cd1786ab6958ab3fae0b31a7095a80808b8ae861160da54ab8b6ba422f1e1b2b2a63de612ad8a897539578e8995ae9b68542c81a820be +EBUILD pdfannotextractor-0.2-r3.ebuild 1745 BLAKE2B 71fb4cb3671ee70a6c408c75d09615d6de617d84a180a3936501a21b01f38ef521e77dccb65b8dea44a1b898b3cc346e6c9f481062214d3d32f19d2feb8bfa65 SHA512 1995dc547ca900fa73b4923c0ff2782f3e1f5fd829c08f2f09136a2a79a761cd497f95deb5df84784dd51b589dfb85db626c795df48cab24005104e2684e4198 MISC metadata.xml 342 BLAKE2B f5ec5c53b9555b55c7f93f127a94bdabe9e5a533314652c00ee451d09e8e6528467764e0d4704390468b5c013f1b8c8516bbc81f6d100b08dbb7b8c6597fabfb SHA512 8c94253ae9aa1b42786d46d68f1763237e50fc766fc13f989d170a11b1701085de909415d748b0df6c0161c1d7de5dbee5db38fb71aeb38ef5c75a746a3a61c8 diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r3.ebuild index 2e8ffce4d1fc..b051b3741492 100644 --- a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild +++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r3.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit latex-package java-pkg-2 java-ant-2 +JAVA_PKG_IUSE="doc source" + +inherit latex-package java-pkg-2 java-pkg-simple MY_COMMIT_ID=718e18be0c8fd1dc5b7c974eb4fbe6d0774cd05e MY_PDFBOX_VER="1.8.17" @@ -27,7 +29,7 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos" COMMON_DEPEND="virtual/latex-base" DEPEND=" ${COMMON_DEPEND} - >=virtual/jdk-11 + >=virtual/jdk-1.8:* " BDEPEND="app-arch/unzip" RDEPEND=" @@ -35,38 +37,30 @@ RDEPEND=" ${COMMON_DEPEND} virtual/perl-Getopt-Long dev-perl/File-Which - >=virtual/jre-11 + >=virtual/jre-1.8:* !<dev-texlive/texlive-latexextra-2023_p69752-r4 " -JAVA_ANT_REWRITE_CLASSPATH="true" - PATCHES=( "${FILESDIR}"/${PN}-0.2-javajars.patch ) +JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/fontbox-${MY_FONTBOX_VER}.jar" +JAVA_GENTOO_CLASSPATH_EXTRA+=":${DISTDIR}/pdfbox-${MY_PDFBOX_VER}.jar" +JAVA_JAR_FILENAME="pax.jar" +JAVA_MAIN_CLASS="pax.PDFAnnotExtractor" +JAVA_SRC_DIR="source/src" + src_unpack() { unpack ${P}.tar.gz } -src_prepare() { - default - cp "${DISTDIR}"/pdfbox-${MY_PDFBOX_VER}.jar pdfbox.jar || die - cp "${DISTDIR}"/fontbox-${MY_FONTBOX_VER}.jar fontbox.jar || die -} - -src_compile() { - cd source || die - EANT_GENTOO_CLASSPATH_EXTRA="${S}/pdfbox.jar:${S}/fontbox.jar" eant || die -} - src_install() { - java-pkg_dojar scripts/pax.jar pdfbox.jar fontbox.jar - java-pkg_dolauncher ${PN} --main pax.PDFAnnotExtractor + java-pkg-simple_src_install + java-pkg_newjar "${DISTDIR}/pdfbox-${MY_PDFBOX_VER}.jar" pdfbox.jar + java-pkg_newjar "${DISTDIR}/fontbox-${MY_FONTBOX_VER}.jar" fontbox.jar java-pkg_addcp "$(java-pkg_getjars --runtime-only --with-dependencies commons-logging)" insinto ${TEXMF}/latex/pax doins tex/pax.sty - - dodoc README } |