ap/fop: Upgraded to fop-2.0.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent d69afd165a
commit 0f2fe9fe9a
  1. 1
      ap/fop/fop-1.1-bin.tar.gz.sha1
  2. 1
      ap/fop/fop-2.0-bin.tar.gz.sha1
  3. 17
      ap/fop/fop.SlackBuild
  4. 2
      ap/fop/fop.sh

@ -1 +0,0 @@
6b96c3f3fd5efe9f2b6b54bfa96161ec3f6a1dbc fop-1.1-bin.tar.gz

@ -0,0 +1 @@
f54750e12ccdaa2e08c1c4f2b66f27580c84d1e4 fop-2.0-bin.tar.gz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2010,2011,2012 Damien Goutte-Gattat
# Copyright (C) 2008,2010,2011,2012,2015 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,10 @@
# Source package infos
NAMESRC=${NAMESRC:-fop}
VERSION=${VERSION:-1.1}
VERSION=${VERSION:-2.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-bin.tar.gz}
WGET=${WGET:-http://apache.mirrors.hoobly.com/xmlgraphics/fop/binaries/$ARCHIVE}
WGET=${WGET:-http://mirrors.gigenet.com/apache/xmlgraphics/fop/binaries/$ARCHIVE}
HYPH_SRC=${HYPH_SRC:-offo-hyphenation-binary_v2.0.zip}
HYPH_WGET=${HYPH_WGET:-http://downloads.sourceforge.net/offo/$HYPH_SRC}
@ -81,11 +82,12 @@ unzip $CWD/$HYPH_SRC
mkdir -p $PKG/usr/lib/apache-xml
install -m 644 \
lib/avalon-framework-4.2.0.jar \
lib/batik-all-1.7.jar \
lib/batik-all-1.8.jar \
lib/commons-io-1.3.1.jar \
lib/commons-logging-1.0.4.jar \
lib/fontbox-1.8.5.jar \
lib/xml-apis-ext-1.3.04.jar \
lib/xmlgraphics-commons-1.5.jar \
lib/xmlgraphics-commons-2.0.1.jar \
offo-hyphenation-binary/fop-hyph.jar \
$PKG/usr/lib/apache-xml
install -m 644 build/fop.jar $PKG/usr/lib/apache-xml/fop-$VERSION.jar
@ -98,10 +100,7 @@ install -m 755 $CWD/ttf2fop.sh $PKG/usr/bin/ttf2fop
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME/offo
install -m 644 LICENSE README $PKG/usr/doc/$NAME
find docs -type f -name '*.xml' -delete
find docs -type f -name '*.pdf' -delete
mv docs $PKG/usr/doc/$NAME/html
mv javadocs $PKG/usr/doc/$NAME/html/apidocs
mv javadocs $PKG/usr/doc/$NAME/apidocs
mv examples $PKG/usr/doc/$NAME
install -m 644 offo-hyphenation-binary/*.html $PKG/usr/doc/$NAME/offo
cp -r offo-hyphenation-binary/{images,skin} $PKG/usr/doc/$NAME/offo

@ -1,6 +1,6 @@
#!/bin/sh
DB_EXT=/usr/share/xml/docbook/xsl-stylesheets-1.76.1/extensions/xalan27.jar
DB_EXT=/usr/share/xml/docbook/xsl-stylesheets-1.78.1/extensions/xalan27.jar
LIBS=/usr/lib/apache-xml:/usr/lib/apache-xml/*:$DB_EXT
PROGRAM_CLASS=org.apache.fop.cli.Main
CONF=/etc/fop.conf

Loading…
Cancel
Save