summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-02 21:39:26 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-22 23:24:59 +0200
commit647ba3ab648c010ad8c2e6d18a07c0e260381ca8 (patch)
tree12aebfcdb2779e42699e2fa8bd2b27d1859b44da /libre
parente4c76d7926971b22232fb85b3fc65335264007cc (diff)
downloadabslibre-647ba3ab648c010ad8c2e6d18a07c0e260381ca8.tar.gz
abslibre-647ba3ab648c010ad8c2e6d18a07c0e260381ca8.tar.bz2
abslibre-647ba3ab648c010ad8c2e6d18a07c0e260381ca8.zip
[wip] libre: fop: update to 2.7
This currently fails with the following error: ==> Starting build()... Buildfile: /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop/build.xml [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1651520391 Trying to override old definition of task javac Trying to override old definition of task junit init-avail: [echo] ------------------- Apache FOP 2.7 [1999-2022] ---------------- [echo] See build.properties and build-local.properties for additional build settings [echo] Apache Ant(TM) version 1.10.9 compiled on December 22 1969 [echo] VM: 25.332-b09, Oracle Corporation [echo] JAVA_HOME: ${env.JAVA_HOME} [echo] JAI Support NOT Present [echo] JCE Support PRESENT [echo] JUnit Support PRESENT [echo] XMLUnit Support NOT Present - you can get it from http://xmlunit.sourceforge.net init: codegen: [echo] Generating the java files from xml resources [xslt] Transforming into /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop/build/gensrc/org/apache/fop/fonts/base14 compile-java: [javac] Compiling 1580 source files to /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/svg/SVGUtilities.java:32: error: package org.apache.batik.constants does not exist [javac] import org.apache.batik.constants.XMLConstants; [javac] ^ [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/fonts/LazyFont.java:106: warning: [deprecation] XMLFontMetricsReader in org.apache.fop.fonts has been deprecated [javac] XMLFontMetricsReader reader = null; [javac] ^ [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/fonts/LazyFont.java:110: warning: [deprecation] XMLFontMetricsReader in org.apache.fop.fonts has been deprecated [javac] reader = new XMLFontMetricsReader(src, resourceResolver); [javac] ^ [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/fonts/autodetect/FontFileFinder.java:74: warning: [deprecation] andFileFilter(IOFileFilter,IOFileFilter) in FileFilterUtils has been deprecated [javac] return FileFilterUtils.andFileFilter( [javac] ^ [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/fonts/autodetect/FontFileFinder.java:85: warning: [deprecation] andFileFilter(IOFileFilter,IOFileFilter) in FileFilterUtils has been deprecated [javac] return FileFilterUtils.andFileFilter( [javac] ^ [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/render/afp/AFPImageHandlerRawStream.java:47: error: cannot find symbol [javac] ImageFlavor.RAW_PDF [javac] ^ [javac] symbol: variable RAW_PDF [javac] location: class ImageFlavor [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/render/ps/PSDocumentHandler.java:166: error: cannot find symbol [javac] this.gen.setAcrobatDownsample(psUtil.isAcrobatDownsample()); [javac] ^ [javac] symbol: method setAcrobatDownsample(boolean) [javac] location: variable gen of type PSGenerator [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/render/ps/PSFontUtils.java:917: error: cannot find symbol [javac] painter.addFallbackFont(name, typeface); [javac] ^ [javac] symbol: method addFallbackFont(String,Typeface) [javac] location: variable painter of type GeneralGraphics2DImagePainter [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/render/ps/ResourceHandler.java:153: error: cannot find symbol [javac] gen.setAcrobatDownsample(psUtil.isAcrobatDownsample()); [javac] ^ [javac] symbol: method setAcrobatDownsample(boolean) [javac] location: variable gen of type PSGenerator [javac] /home/gnutoo/work/projects/parabola/abslibre/libre/fop/src/fop-2.7/fop-core/src/main/java/org/apache/fop/svg/SVGUtilities.java:226: error: cannot find symbol [javac] border.setAttributeNS(XMLConstants.XLINK_NAMESPACE_URI, "href", [javac] ^ [javac] symbol: variable XMLConstants [javac] location: class SVGUtilities [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 6 errors [javac] 5 warnings Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre')
-rw-r--r--libre/fop/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/libre/fop/PKGBUILD b/libre/fop/PKGBUILD
index cafd7fc36..67b4743c6 100644
--- a/libre/fop/PKGBUILD
+++ b/libre/fop/PKGBUILD
@@ -4,19 +4,24 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=fop
-pkgver=2.2
+pkgver=2.7
pkgrel=1.parabola1
pkgdesc='XSL-FO implementation in Java.'
arch=('any')
url='http://xmlgraphics.apache.org/fop/'
license=('APACHE')
depends=('java-xmlgraphics-commons' 'java-commons-logging' 'java-commons-io' 'java-batik'
- 'java-avalon-framework' 'java-qdox' 'fontbox' 'tomcat8')
+ 'java-qdox' 'fontbox' 'tomcat8')
makedepends=('apache-ant' 'jh')
-source=("http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/xmlgraphics/$pkgname/source/$pkgname-$pkgver-src.tar.gz"
+source=("https://dlcdn.apache.org/xmlgraphics/${pkgname}/source/${pkgname}-${pkgver}-src.tar.gz"{,.asc}
'fop.conf')
-sha256sums=('5052fef87fc4b888bd49d29bf626255c9d3443b628f21393c11ea121d44a6552'
+sha256sums=('b4f1a5212989cebc7d17c7275fbd23de73cc57259d9288c01436556254ad86d4'
+ 'SKIP'
'd2900605dc271f5938d0820ca30bdec8060724976b56e43d827157bd6975da96')
+sha512sums=('bffbc0a97db8bbc826cf9af89fbf4a7e6f705585ea4915c0954df57c6d7af50d323387bb4bb9e2d13047826352d9eb7cbf4f23d5146ce246965b4c531e015633'
+ 'SKIP'
+ 'dc180d2c36ef6843405238b41093b80d5b6088828f7e2bb2eb716102d7452d2cc8c6abe5abfd94e4fce9531202440e932250c80debb042a9bb51fa205c1df858')
+validpgpkeys=('5C9A30FF22B2C02F30261C305B93F1DF7CDB6DEA') # Simon Steiner
backup=('etc/fop.conf')
prepare() {
@@ -30,16 +35,15 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
ant -f "$pkgname/build.xml" package \
+ -lib /usr/share/java/commons-io.jar \
+ -lib /usr/share/java/commons-logging.jar \
+ -lib /usr/share/java/fontbox.jar \
-lib /usr/share/java/serializer.jar \
+ -lib /usr/share/java/xml-apis-ext.jar \
-lib /usr/share/java/xmlgraphics-commons.jar \
- -lib /usr/share/java/avalon-framework-api.jar \
- -lib /usr/share/java/avalon-framework-impl.jar \
- -lib /usr/share/java/commons-io.jar \
-lib /usr/share/java/batik/batik-all.jar \
-lib /usr/share/java/batik/batik-libs.jar \
- -lib /usr/share/java/tomcat8/servlet-api.jar \
- -lib /usr/share/java/xml-apis-ext.jar \
- -lib /usr/share/java/fontbox.jar
+ -lib /usr/share/java/tomcat8/servlet-api.jar
}
package() {