Browse Source

ap/fop: Updated launcher scripts.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
0a39315272
  1. 4
      ap/fop/fop-ttfreader.sh
  2. 3
      ap/fop/fop.SlackBuild
  3. 5
      ap/fop/fop.sh

4
ap/fop/fop-ttfreader.sh

@ -0,0 +1,4 @@
#!/bin/sh
LIBS=/usr/lib/apache-xml:/usr/lib/apache-xml/*
java -cp $LIBS org.apache.fop.fonts.apps.TTFReader $@

3
ap/fop/fop.SlackBuild

@ -37,7 +37,7 @@ HYPH_WGET=${HYPH_WGET:-http://surfnet.dl.sourceforge.net/sourceforge/offo/$HYPH_
# Built package infos
NAMETGZ=${NAMETGZ:-fop}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-noarch}
EXT=${EXT:-txz}
@ -90,6 +90,7 @@ install -m 644 \
install -m 644 build/fop.jar $PKG/usr/lib/apache-xml/fop-$VERSION.jar
install -D -m 644 conf/fop.xconf $PKG/etc/fop.conf
install -D -m 755 $CWD/fop.sh $PKG/usr/bin/fop
install -m 755 $CWD/fop-ttfreader.sh $PKG/usr/bin/fop-ttfreader
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME/offo

5
ap/fop/fop.sh

@ -1,9 +1,8 @@
#!/bin/bash
#!/bin/sh
DB_EXT=/usr/share/xml/docbook/xsl-stylesheets-1.73.2/extensions/xalan27.jar
DB_EXT=/usr/share/xml/docbook/xsl-stylesheets-1.75.2/extensions/xalan27.jar
LIBS=/usr/lib/apache-xml:/usr/lib/apache-xml/*:$DB_EXT
PROGRAM_CLASS=org.apache.fop.cli.Main
RESOLVER_CLASS=org.apache.xml.resolver.tools.CatalogResolver
CONF=/etc/fop.conf
if [ ! "$1" ]; then

Loading…
Cancel
Save