Re: Docs in split packages
David Nebauer <[email protected]> Fri, 18 Aug 2006 00:20:08 +0930
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Markus,
> Is there any chance you could move to batik-rasterizer?
On debian batik is supplied as a library ('libbatik-java') with no
binaries. That's why the refdb configure check would always fail and
switch to 'convert'. Since it is a library there is no main executable
class supplied.
After a moderate amount of googling (whatever did we do before it
existed?) I've created my own 'batik-rasterizer' script which satisfies
'configure' and successfully converts all the SVG files.
To try and help those who come after me, here is the 'batik-rasterizer'
script for debian:
---------------------------------------------------------------------------------
#!/bin/sh
# Script: batik-rasterizer
# Date created: 2006-08-17
# Date last modified: 2006-08-17
# Function: Convert SVG images to PNG
# Wrapper for Debian 'libbatik-java' package
# Credits:
# David Nebauer
# author
# Petter Reinholdtsen
# for the basic script posted as part of debian bug report 152180
# accessible at
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152180>
# Michael F. Lamb
# for the tip on script security in his posting at
# <http://blog.gmane.org/gmane.text.xml.batik.devel/day=20060403>
# VARIABLES
[ "${DESTDIR}" ] || DESTDIR=""
[ "${JAVA}" ] || JAVA="java" # Java executable
XERCES="${DESTDIR}/usr/share/java/xercesImpl.jar" # Xerces
BATIK="${DESTDIR}/usr/share/java/batik-all.jar" # Batik
CLASSPATH="${XERCES}:${BATIK}" # Java classpath
# MAIN
${JAVA} \
-cp ${CLASSPATH} \
org.apache.batik.apps.rasterizer.Main \
-scriptSecurityOff \
$@
---------------------------------------------------------------------------------
Regards,
David.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642