diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-05 17:25:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-05 17:25:42 +0100 |
commit | 4274bed0c1f1fd06a654f5816e30d82059f4cc39 (patch) | |
tree | cc4ccd86e6f201e537ac75afd01fd7d620b4085d /dev-java/fop | |
parent | ad77dc19e91d2c023f80e11e8974536d80e3a743 (diff) |
gentoo auto-resync : 05:04:2023 - 17:25:42
Diffstat (limited to 'dev-java/fop')
-rw-r--r-- | dev-java/fop/Manifest | 2 | ||||
-rw-r--r-- | dev-java/fop/fop-2.7.ebuild | 158 |
2 files changed, 0 insertions, 160 deletions
diff --git a/dev-java/fop/Manifest b/dev-java/fop/Manifest index 2fbd45ce2458..95ee32ee2057 100644 --- a/dev-java/fop/Manifest +++ b/dev-java/fop/Manifest @@ -1,6 +1,4 @@ DIST fop-2.7-jars.tar.xz 7348 BLAKE2B 79a5b4f1948bbc9628e571a9873494e2d2088d7a90296e81e03cafa6ecd8f9d1c8dd6779d15c47a0e110304aa07e706c56412e3766a84e0a66c8224fdd92f61c SHA512 71c39cbb20416dc29beb8628ae8bac2a663c0b0d1f0418a241f3795a2d5e01159572c210b5a2d2eff8274247dc3631980de50fea4f94182ddde095d0e5e605c6 -DIST fop-2.7-src.tar.gz 26799877 BLAKE2B 00bcbd4cc915aad67c0dac54e85b7c5d10576115a0a8a16517846af249137c73b10c8b0ff161c9957f7c49686eefbf9777dc452b038573c996e29cbad951176a SHA512 bffbc0a97db8bbc826cf9af89fbf4a7e6f705585ea4915c0954df57c6d7af50d323387bb4bb9e2d13047826352d9eb7cbf4f23d5146ce246965b4c531e015633 DIST fop-2.8-src.tar.gz 22855369 BLAKE2B 183649f531068b8f7513613c89f9f66a48894ab97a659e110b91853d5dffc1664d3830a8ced9ba221e22ca02fc51aed991ddee0e927cab59b9160a504f6dab02 SHA512 22e1737b5cd87dc5e014838e2ad867ccf46bdc564fb5c231cc6b4c1f8a9862864679ea7ddf143126058553ed90045941fb07aa2657db9e3ed35660ce11169357 -EBUILD fop-2.7.ebuild 4192 BLAKE2B 605530413f1d44ee7604c6115b3448a54a7bd171f234fea0145e445c98e68bcdbb7bc989fcd01ee2c950932687547d2e4dcd20aa8a1006fc339c8dd014489459 SHA512 0a022f9c1238760823f66299c78d13267a7168273630ca42b7bcf5c18527fcaeec153bb171ad10bc7c187620568ac03fbe901321ab1c960db56fc36f951ad50f EBUILD fop-2.8.ebuild 4393 BLAKE2B 7c5aa2c102b5300d830f5d6e35441050eeffbf2f1e5d3532c765c56cad3d5015a4b50b643cb55dd60bd02572b6e21ae68d7d26713bf3a05b5213cc392cb3f9cf SHA512 1f0778c3411a729120de6d56cfe73f701a28c8849588c606fb5e091949f1d7a87330369bb7bf1336abef9a01c3e054139fec62c989687079da6b82aae44733fa MISC metadata.xml 449 BLAKE2B 91dd2fd3b50581a408755aade7aa37406c527e9298bd0156cb18d363fef88cf60eb85f259ba443022fbd6c5377be0e0fc990cb2826d418347dc92bf7b6ff5ca9 SHA512 cf49f03d1ed992a7df7deebb7c00721895be45ff144da8c4b1777aecba5e17d86a7353a83ad8df8b356f70afda5fadcdc53350b2c5732a0f0469b18f501959d4 diff --git a/dev-java/fop/fop-2.7.ebuild b/dev-java/fop/fop-2.7.ebuild deleted file mode 100644 index a40189884199..000000000000 --- a/dev-java/fop/fop-2.7.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.xmlgraphics:fop:2.7" -JAVA_TESTING_FRAMEWORKS="junit-4" - -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/${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" - -CP_DEPEND=" - dev-java/batik:1.14 - dev-java/commons-io:1 - dev-java/fontbox:0 - dev-java/qdox:1.12 - dev-java/sun-jai-bin:0 - dev-java/xmlgraphics-commons:2 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - dev-java/ant-core:0 - dev-java/sun-jai-bin:0 - test? ( - dev-java/mockito:4 - dev-java/pdfbox:0 - dev-java/xmlunit:1 - ) -" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -DOCS=( NOTICE README ) - -S="${WORKDIR}/fop-${PV}" - -src_prepare() { - default - java-pkg_clean -} - -src_compile() { - JAVA_SRC_DIR="fop-util/src/main/java" - JAVA_JAR_FILENAME="fop-util.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-util.jar" - rm -r target || die - - JAVA_SRC_DIR="fop-events/src/main/java" - JAVA_RESOURCE_DIRS="fop-events/src/main/resources" - JAVA_JAR_FILENAME="fop-events.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-events.jar" - rm -r target || die - - JAVA_SRC_DIR="fop-core/src/main/java" - JAVA_RESOURCE_DIRS="fop-core/src/main/resources" - JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' fop-core/pom.xml ) - JAVA_JAR_FILENAME="fop-core.jar" - # Code generation according to - # https://github.com/apache/xmlgraphics-fop/blob/fop-2_7/fop-core/pom.xml#L150-L219 - pushd fop-core/src/main/codegen/fonts >/dev/null || die - local fonts=$(find . -name "Courier*.xml" \ - -o -name "Helvetica*.xml" \ - -o -name "Times*.xml" \ - -o -name "Symbol.xml" \ - -o -name "ZapfDingbats.xml" - ) - for font in ${fonts}; do \ - xalan -XSLTC \ - -IN $font \ - -XSL font-file.xsl \ - -OUT ../../java/org/apache/fop/fonts/base14/${font//.xml}.java || die - done - xalan -XSLTC \ - -IN encodings.xml \ - -XSL code-point-mapping.xsl \ - -OUT ../../java/org/apache/fop/fonts/base14/CodePointMapping.java || die - popd - java-pkg-simple_src_compile - rm -r target || die - - JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-core.jar" - - # Update "fop-core.jar" with "event-mode.xml" files produced manually - # by running "mvn package". - mkdir event-model && pushd $_ >/dev/null || die - 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: - # https://github.com/apache/xmlgraphics-fop/blob/fop-2_7/fop-core/pom.xml#L263-L284 - - # public class EventProducerCollectorTask extends Task { - # - # private List<FileSet> filesets = new java.util.ArrayList<FileSet>(); - # private File destDir; - # private File translationFile; - - if use doc; then \ - JAVA_SRC_DIR=( - "fop-util/src/main/java" - "fop-events/src/main/java" - "fop-core/src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { - JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4,pdfbox,xmlunit-1" - - JAVA_TEST_SRC_DIR="fop-events/src/test/java" - JAVA_TEST_RUN_ONLY="org.apache.fop.events.BasicEventTestCase" - - # This jar file was created manually from the output of "mvn test". - # Upstream does this with maven-antrun-plugin - jar -xf "${WORKDIR}/fop-2.7-test-event-model.jar" || die - - java-pkg-simple_src_test - - sed \ - -e 's:verifyZeroInteractions:verifyNoInteractions:' \ - -i fop-core/src/test/java/org/apache/fop/render/intermediate/BorderPainterTestCase.java || die - - JAVA_TEST_SRC_DIR="fop-core/src/test/java" - JAVA_TEST_RESOURCE_DIRS="fop-core/src/test/resources" - - java-pkg-simple_src_test -} - -src_install() { - for module in fop-util fop-events fop-core ; do - java-pkg_dojar $module.jar - if use source; then - java-pkg_dosrc "$module/src/main/java/*" - fi - done - if use doc; then - java-pkg_dojavadoc target/api - fi - java-pkg_dolauncher "fop-${SLOT}" --main "org.apache.fop.cli.Main" - einstalldocs -} |