Re: [Refdb-devel] Docs in split packages
Status: Beta
Brought to you by:
mhoenicka
From: David N. <dav...@sw...> - 2006-08-17 14:34:39
|
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. |