2014-06-15 15:04:47 +02:00
|
|
|
#
|
|
|
|
# This script will advise the user of the needed steps to
|
|
|
|
# configure apache-fop
|
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
|
|
|
|
|
|
|
cat << _EOF
|
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
- FOP environment configuration file is:
|
|
|
|
|
|
|
|
/etc/fop.conf
|
|
|
|
|
|
|
|
it is preconfigured as follow:
|
|
|
|
|
|
|
|
FOP_OPTS="-Xmx512m"
|
2014-06-20 12:26:30 +02:00
|
|
|
FOP_HOME="/usr/share/fop"
|
2014-06-15 15:04:47 +02:00
|
|
|
|
|
|
|
note in FOPS_OPTS="-Xmx<your memory size>m" is preconfigured as 512 Mb
|
|
|
|
if you want use a different amount of memory modify it according your
|
|
|
|
needs.
|
|
|
|
|
|
|
|
According to my limited knowledge of FOP the configuration file for
|
|
|
|
the part that produce the documentations reside in a different file in
|
|
|
|
XML format, see an example in:
|
|
|
|
|
2014-06-20 12:26:30 +02:00
|
|
|
/usr/share/doc/fop/conf/
|
2014-06-15 15:04:47 +02:00
|
|
|
|
|
|
|
For hint about this configurations see the proper page at:
|
|
|
|
|
|
|
|
http://xmlgraphics.apache.org/fop/1.1/configuration.html
|
|
|
|
|
|
|
|
For hints on usign fop see:
|
|
|
|
|
|
|
|
http://wiki.apache.org/xmlgraphics-fop/FrontPage
|
|
|
|
|
|
|
|
In this package I've included the full documentation in HTML format
|
|
|
|
in:
|
|
|
|
|
2014-06-20 12:26:30 +02:00
|
|
|
/usr/share/doc/fop/javadocs/
|
2014-06-15 15:04:47 +02:00
|
|
|
|
2014-06-20 12:26:30 +02:00
|
|
|
=============
|
2014-06-15 15:04:47 +02:00
|
|
|
|
|
|
|
You may need to reboot to ensure that PATH is update correctly,
|
|
|
|
for the impatients, if you want you can type
|
|
|
|
|
|
|
|
$ source /etc/profile
|
|
|
|
|
|
|
|
and check the PATH.
|
|
|
|
|
2014-06-20 12:26:30 +02:00
|
|
|
=============
|
|
|
|
|
|
|
|
The dictionaries for the hyphenationa are available on the package:
|
|
|
|
|
|
|
|
offo-hyphenation
|
|
|
|
|
|
|
|
The package install it in:
|
|
|
|
|
|
|
|
/usr/share/fop/lib
|
|
|
|
|
|
|
|
as a jar file, see the offo-hyphenation documentation for more info.
|
|
|
|
|
2014-06-15 15:04:47 +02:00
|
|
|
|
|
|
|
Some part of the code of FOP are not licensed under Apache-2.0,
|
2014-06-20 12:26:30 +02:00
|
|
|
see in /usr/share/fop/lib/ for the licenses of this parts
|
2014-06-15 15:04:47 +02:00
|
|
|
of code that for convenience are in the distribution of FOP.
|
|
|
|
|
2014-06-20 12:26:30 +02:00
|
|
|
Happy FOPping!
|
|
|
|
|
2014-06-15 15:04:47 +02:00
|
|
|
=====================================================================
|
2014-06-20 12:26:30 +02:00
|
|
|
|
|
|
|
|
2014-06-15 15:04:47 +02:00
|
|
|
_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|