diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-java/fop | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-java/fop')
-rw-r--r-- | dev-java/fop/Manifest | 8 | ||||
-rw-r--r-- | dev-java/fop/files/fop-2.7-core-event-models.jar | bin | 8835 -> 0 bytes | |||
-rw-r--r-- | dev-java/fop/files/fop-2.7-test-event-model.jar | bin | 428 -> 0 bytes | |||
-rw-r--r-- | dev-java/fop/files/headless-launcher.bash | 1 | ||||
-rw-r--r-- | dev-java/fop/fop-2.0-r3.ebuild | 129 | ||||
-rw-r--r-- | dev-java/fop/fop-2.7.ebuild | 11 |
6 files changed, 9 insertions, 140 deletions
diff --git a/dev-java/fop/Manifest b/dev-java/fop/Manifest index c6d39023f5ea..23456a18e42a 100644 --- a/dev-java/fop/Manifest +++ b/dev-java/fop/Manifest @@ -1,8 +1,4 @@ -AUX fop-2.7-core-event-models.jar 8835 BLAKE2B d9bebf4dec77e79a5adf202929840b7333b6ce3c9b66654b2d14b229c08a092d7286c948a2a758ec52a3ab829badb4cc6c614bd111b741344281d87f5d215b92 SHA512 f2ceee4d98043084fbe0c4c1ef3a72513d782964e56acab2b9eadf10da707d951f13ad1fa60f8ad112f3a55d5c007a326b711e0a28d46c20194acf976687249b -AUX fop-2.7-test-event-model.jar 428 BLAKE2B 434f8bfa73b1702f14102c9bf10e435edc216b6ba643ed0ffb2097654532acb57c05697e142140a594dc8892f5c6973f617efc32f6e63fcc06c0573aa9caa333 SHA512 f7bfa500b37c902acfca46399fe86d7fa5e51701b3a568ad0081b2e33c0190de5c8b5e652ef08156119622833de63d2ca9f24fec871be8c61e425935e542bb69 -AUX headless-launcher.bash 67 BLAKE2B 29ea0750d057e9a914ce26a14f1d6d1c4d49967aa553d6f55b115df0ebf1b77d693e01a7a06dbe92de4a589ff5847b176ccb820c23acde06b336e302a763d089 SHA512 d3a6635105ea62a62f1ff690a457bfbdebe3d15f8fd220f5508a4ec20b8a5c46e66bf9189562661d5053c6ac31a6998d1f4a117e0ac6087b336a0475635d7d3a -DIST fop-2.0-src.zip 26381859 BLAKE2B 8500de6a23e93c14fdb4f27c59bafba27a64e6aaffb7a761f16de5bd523e2fdb83593ab53a66de79bf7b7d6c2b887ab97a34accb18be416b26448753babe2395 SHA512 428793303fcf143cffaecadc22cfdb8a065bad0108cceebcabc479d92dbe9834b4f81fd27f3e0314546d848e1960b2fe1a9d443999d8f336f7e87fce771beb7a +DIST fop-2.7-jars.tar.xz 7348 BLAKE2B 79a5b4f1948bbc9628e571a9873494e2d2088d7a90296e81e03cafa6ecd8f9d1c8dd6779d15c47a0e110304aa07e706c56412e3766a84e0a66c8224fdd92f61c SHA512 71c39cbb20416dc29beb8628ae8bac2a663c0b0d1f0418a241f3795a2d5e01159572c210b5a2d2eff8274247dc3631980de50fea4f94182ddde095d0e5e605c6 DIST fop-2.7-src.tar.gz 26799877 BLAKE2B 00bcbd4cc915aad67c0dac54e85b7c5d10576115a0a8a16517846af249137c73b10c8b0ff161c9957f7c49686eefbf9777dc452b038573c996e29cbad951176a SHA512 bffbc0a97db8bbc826cf9af89fbf4a7e6f705585ea4915c0954df57c6d7af50d323387bb4bb9e2d13047826352d9eb7cbf4f23d5146ce246965b4c531e015633 -EBUILD fop-2.0-r3.ebuild 3050 BLAKE2B 99e24888912fda8f6d9d2ca37ad03d6af2b4631e8bbf6d3fd3f2398c92636612afba50127fa1c627401b4a41b7f8c03632aea486e92c3c3c493a083a0b9d15b2 SHA512 debaeea4df79a274fe79c531e808e331f1995deb23c981224fe3f8dde57dd62c911494c86a578d314d373289d286d0475c96ad8bbeedf9227f87a4679c21ea45 -EBUILD fop-2.7.ebuild 4136 BLAKE2B 03c747bd16ae9a34e55e6ef90bf3655f3626b97a781bdd015ccaf938fafe1351f04d6fc7f855f401a9e6ea8b126b37deb7b30d3fea6d64dd0b9f71b11b241816 SHA512 3a0ee2ccf107c2e8925f6e6df6cdaef46bebaea64b45c79955409736d0e81c5eb3cd0fdfdfe112067fc8adeb127c0ab17e0d18ce9ced30924defa308412327a2 +EBUILD fop-2.7.ebuild 4192 BLAKE2B 605530413f1d44ee7604c6115b3448a54a7bd171f234fea0145e445c98e68bcdbb7bc989fcd01ee2c950932687547d2e4dcd20aa8a1006fc339c8dd014489459 SHA512 0a022f9c1238760823f66299c78d13267a7168273630ca42b7bcf5c18527fcaeec153bb171ad10bc7c187620568ac03fbe901321ab1c960db56fc36f951ad50f MISC metadata.xml 449 BLAKE2B 91dd2fd3b50581a408755aade7aa37406c527e9298bd0156cb18d363fef88cf60eb85f259ba443022fbd6c5377be0e0fc990cb2826d418347dc92bf7b6ff5ca9 SHA512 cf49f03d1ed992a7df7deebb7c00721895be45ff144da8c4b1777aecba5e17d86a7353a83ad8df8b356f70afda5fadcdc53350b2c5732a0f0469b18f501959d4 diff --git a/dev-java/fop/files/fop-2.7-core-event-models.jar b/dev-java/fop/files/fop-2.7-core-event-models.jar Binary files differdeleted file mode 100644 index 49bece365d93..000000000000 --- a/dev-java/fop/files/fop-2.7-core-event-models.jar +++ /dev/null diff --git a/dev-java/fop/files/fop-2.7-test-event-model.jar b/dev-java/fop/files/fop-2.7-test-event-model.jar Binary files differdeleted file mode 100644 index 7c2fff6a088d..000000000000 --- a/dev-java/fop/files/fop-2.7-test-event-model.jar +++ /dev/null diff --git a/dev-java/fop/files/headless-launcher.bash b/dev-java/fop/files/headless-launcher.bash deleted file mode 100644 index a01c56f5e6ef..000000000000 --- a/dev-java/fop/files/headless-launcher.bash +++ /dev/null @@ -1 +0,0 @@ -[[ "${!#}" = "-awt" ]] || gjl_java_args="-Djava.awt.headless=true" diff --git a/dev-java/fop/fop-2.0-r3.ebuild b/dev-java/fop/fop-2.0-r3.ebuild deleted file mode 100644 index 6265183f67ad..000000000000 --- a/dev-java/fop/fop-2.0-r3.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# TODO: if 'doc' use flag is used then should build also extra docs ('docs' ant target), currently it cannot -# be built as it needs forrest which we do not have -# TODO: package and use optional dependency jeuclid - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Formatting Objects Processor is a print formatter driven by XSL" -HOMEPAGE="https://xmlgraphics.apache.org/fop/" -SRC_URI="mirror://apache/xmlgraphics/${PN}/source/${P}-src.zip" - -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -LICENSE="Apache-2.0" -SLOT="0" - -# Tests are broken even in 2.0 -RESTRICT="test" - -CDEPEND=" - dev-java/batik:1.9 - dev-java/ant-core:0 - dev-java/fontbox:1.7 - dev-java/commons-io:1 - dev-java/commons-logging:0 - java-virtuals/servlet-api:3.0 - dev-java/avalon-framework:4.2 - dev-java/xmlgraphics-commons:2 - dev-java/xml-commons-external:1.3 - dev-java/qdox:1.12" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - ${CDEPEND}" - -# test? ( -# dev-java/ant-junit:0 -# dev-java/junit:4 -# dev-java/xmlunit:1 -# dev-java/mockito:0 -# )" - -JAVA_ANT_ENCODING="ISO-8859-1" -JAVA_ANT_REWRITE_CLASSPATH="true" - -EANT_GENTOO_CLASSPATH=" - ant-core - batik-1.9 - fontbox-1.7 - commons-io-1 - commons-logging - servlet-api-3.0 - avalon-framework-4.2 - xmlgraphics-commons-2 - xml-commons-external-1.3 -" - -TARGETS=( - resourcegen - jar-hyphenation - jar-sandbox - jar-main -) - -java_prepare() { - find "${S}"/lib -type f | xargs rm -v -} - -src_compile() { - # https://bugs.gentoo.org/show_bug.cgi?id=554386 - # http://wiki.apache.org/xmlgraphics-fop/HowTo/BuildFOPAlternatively - java-pkg_jar-from --into lib qdox-1.12 qdox.jar - java-pkg_jar-from --into lib xmlgraphics-commons-2 xmlgraphics-commons.jar - java-pkg_jar-from --into lib commons-logging commons-logging.jar - java-pkg_jar-from --into lib commons-io-1 commons-io.jar - java-pkg_jar-from --into lib fontbox-1.7 fontbox.jar - java-pkg_jar-from --into lib xml-commons-external-1.3 xml-apis-ext.jar - java-pkg_jar-from --into lib xml-commons-external-1.3 xml-apis.jar - java-pkg_jar-from --into lib avalon-framework-4.2 avalon-framework.jar - java-pkg_jar-from --virtual --into lib servlet-api-3.0 servlet-api.jar - - for target in ${TARGETS[@]}; do - EANT_BUILD_TARGET="${target}" \ - java-pkg-2_src_compile - done - - if use doc; then - sed -i -e 's/failonerror=\"true\"/failonerror=\"false\"/;' ./build.xml - EANT_BUILD_TARGET="javadocs" \ - java-pkg-2_src_compile - fi -} - -src_install() { - java-pkg_dojar \ - build/${PN}.jar \ - build/${PN}-sandbox.jar \ - build/${PN}-hyph.jar - - java-pkg_dolauncher \ - ${PN} --main org.apache.fop.cli.Main \ - -pre "${FILESDIR}/headless-launcher.bash" - - dodoc NOTICE README - - if use doc; then - java-pkg_dojavadoc \ - build/javadocs - fi - - if use examples; then - java-pkg_doexamples \ - examples/* conf - fi - - if use source; then - java-pkg_dosrc \ - src/java/org \ - src/sandbox/org - fi -} diff --git a/dev-java/fop/fop-2.7.ebuild b/dev-java/fop/fop-2.7.ebuild index e6aa1be68d31..a40189884199 100644 --- a/dev-java/fop/fop-2.7.ebuild +++ b/dev-java/fop/fop-2.7.ebuild @@ -11,11 +11,14 @@ inherit java-pkg-2 java-pkg-simple DESCRIPTION="XML Graphics Format Object Processor All-In-One" HOMEPAGE="https://xmlgraphics.apache.org/fop/" -SRC_URI="mirror://apache/xmlgraphics/fop/source/fop-${PV}-src.tar.gz" +SRC_URI=" + mirror://apache/xmlgraphics/fop/source/${P}-src.tar.gz + https://dev.gentoo.org/~flow/distfiles/fop/${P}-jars.tar.xz +" LICENSE="Apache-2.0" SLOT="2.7" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ppc64 x86" CP_DEPEND=" dev-java/batik:1.14 @@ -95,7 +98,7 @@ src_compile() { # Update "fop-core.jar" with "event-mode.xml" files produced manually # by running "mvn package". mkdir event-model && pushd $_ >/dev/null || die - jar -xf "${FILESDIR}/fop-2.7-core-event-models.jar" + jar -xf "${WORKDIR}/fop-2.7-core-event-models.jar" popd jar -uf "fop-core.jar" -C event-model . || die # Upstream does this with maven-antrun-plugin: @@ -126,7 +129,7 @@ src_test() { # This jar file was created manually from the output of "mvn test". # Upstream does this with maven-antrun-plugin - jar -xf ${FILESDIR}/fop-2.7-test-event-model.jar || die + jar -xf "${WORKDIR}/fop-2.7-test-event-model.jar" || die java-pkg-simple_src_test |