From 1d412f04b6e137f20cbe616b3203d2cbc8dfd5ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 May 2023 11:43:22 +0100 Subject: gentoo auto-resync : 10:05:2023 - 11:43:22 --- dev-java/fop/Manifest | 1 - dev-java/fop/fop-2.8.ebuild | 166 -------------------------------------------- 2 files changed, 167 deletions(-) delete mode 100644 dev-java/fop/fop-2.8.ebuild (limited to 'dev-java/fop') diff --git a/dev-java/fop/Manifest b/dev-java/fop/Manifest index e7349f896780..6c16895b0e5a 100644 --- a/dev-java/fop/Manifest +++ b/dev-java/fop/Manifest @@ -4,5 +4,4 @@ DIST fop-2.8-src.tar.gz 22855369 BLAKE2B 183649f531068b8f7513613c89f9f66a48894ab DIST fop-2.8-src.tar.gz.asc 833 BLAKE2B f761b427bac89249ab4ab5f2194468e44f997e28ed77392a785764fb60dd2fbbc716ef881e2009a3dbad416ef195fc8ae4d2ebdbd63c3fb3f47d355acab8389b SHA512 c25e94ac4a72c9ff9bfa487369ee1510ab5b19a6178f14f5076b9cf0548044e79eca707025e962c63d268d0f48661cc7110f604036957e447f8413cdb582d3de DIST fop-hyph-2.0.jar 6655933 BLAKE2B bfbefcc2ebd9a9a467c23a70d7cef256f83cf2335f6e17db6bbefceaf8a3cee78de0302f269d096eb3238b3f4883429e09cc640bed11a42da4ef67ab9f0cb164 SHA512 3d5f27623008c7beba5332387bd42c501b7ae1dddfc98014b3fb35273394ca5f0a4ce69e7726090ec468c9b4f7983fb8b1a5759f49e81ea342c81c61311d87b3 EBUILD fop-2.8-r1.ebuild 5403 BLAKE2B 943f54ecf29f2e15f9aae6ce833d03abc2be03ecd4b6a5507fc6e68306772043878abe6570ba9daa249041719ce820506635528d8f06c2c7958fe5402c911a3b SHA512 a90e0f53bd70f92776b148b2f0493dd212db0d3652ead61b1e87c3faab2145a8a3cf77762abafb25b4f8639121407889d3b57ff437a351e36217e9e99d1880be -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.8.ebuild b/dev-java/fop/fop-2.8.ebuild deleted file mode 100644 index e78205ca474e..000000000000 --- a/dev-java/fop/fop-2.8.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2023 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:${PV}" -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/fop-2.7-jars.tar.xz -" -S="${WORKDIR}/fop-${PV}" - -LICENSE="Apache-2.0" -SLOT="2.8" -KEYWORDS="amd64 ~arm64 ppc64 x86" - -CP_DEPEND=" - dev-java/batik:1.16 - dev-java/commons-io:1 - dev-java/commons-logging:0 - dev-java/fontbox:0 - dev-java/qdox:1.12 - dev-java/xmlgraphics-commons:2 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - dev-java/ant-core:0 - dev-java/javax-servlet-api:2.2 - 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:*" - -BDEPEND="dev-java/xalan:0" - -DOCS=( NOTICE README ) - -JAVA_CLASSPATH_EXTRA=" - ant-core - javax-servlet-api-2.2 - sun-jai-bin -" - -src_prepare() { - java-pkg_clean - java-pkg-2_src_prepare -} - -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:.*\(.*\):\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_8/fop-core/pom.xml#L156-L225 - 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 > /dev/null || die - 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 > /dev/null || die - 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_8/fop-core/pom.xml#L269-L290 - - # public class EventProducerCollectorTask extends Task { - # - # private List filesets = new java.util.ArrayList(); - # 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 -} -- cgit v1.2.3