Modified Package: apache-fop more correctness in files distribution
in the various directory. Created /usr7share/doc/fop-${version} and modified INSTALL file. Added README.void. Regards Carlo
This commit is contained in:
parent
b3ffc0a10e
commit
8616b64367
3 changed files with 97 additions and 22 deletions
|
@ -15,7 +15,7 @@ post)
|
|||
it is preconfigured as follow:
|
||||
|
||||
FOP_OPTS="-Xmx512m"
|
||||
FOP_HOME="/usr/share/fop-1.1"
|
||||
FOP_HOME="/usr/share/fop"
|
||||
|
||||
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
|
||||
|
@ -25,7 +25,7 @@ post)
|
|||
the part that produce the documentations reside in a different file in
|
||||
XML format, see an example in:
|
||||
|
||||
/usr/share/fop-<version>/conf/
|
||||
/usr/share/doc/fop/conf/
|
||||
|
||||
For hint about this configurations see the proper page at:
|
||||
|
||||
|
@ -38,11 +38,9 @@ post)
|
|||
In this package I've included the full documentation in HTML format
|
||||
in:
|
||||
|
||||
/usr/share/fop-<version>/javadocs/
|
||||
/usr/share/doc/fop/javadocs/
|
||||
|
||||
Happy FOPping!
|
||||
|
||||
=====================================================================
|
||||
=============
|
||||
|
||||
You may need to reboot to ensure that PATH is update correctly,
|
||||
for the impatients, if you want you can type
|
||||
|
@ -51,13 +49,28 @@ post)
|
|||
|
||||
and check the PATH.
|
||||
|
||||
=====================================================================
|
||||
=============
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Some part of the code of FOP are not licensed under Apache-2.0,
|
||||
see in /usr/share/fop-<version>/lib/ for the licenses of this parts
|
||||
see in /usr/share/fop/lib/ for the licenses of this parts
|
||||
of code that for convenience are in the distribution of FOP.
|
||||
|
||||
Happy FOPping!
|
||||
|
||||
=====================================================================
|
||||
|
||||
|
||||
_EOF
|
||||
;;
|
||||
esac
|
||||
|
|
60
srcpkgs/apache-fop/files/README.void
Normal file
60
srcpkgs/apache-fop/files/README.void
Normal file
|
@ -0,0 +1,60 @@
|
|||
|
||||
- FOP environment configuration file is:
|
||||
|
||||
/etc/fop.conf
|
||||
|
||||
it is preconfigured as follow:
|
||||
|
||||
FOP_OPTS="-Xmx512m"
|
||||
FOP_HOME="/usr/share/fop"
|
||||
|
||||
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:
|
||||
|
||||
/usr/share/fop/conf/
|
||||
|
||||
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:
|
||||
|
||||
/usr/share/fop/javadocs/
|
||||
|
||||
=============
|
||||
|
||||
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.
|
||||
|
||||
=============
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Some part of the code of FOP are not licensed under Apache-2.0,
|
||||
see in /usr/share/fop/lib/ for the licenses of this parts
|
||||
of code that for convenience are in the distribution of FOP.
|
||||
|
||||
Happy FOPping!
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'apache-fop'
|
||||
pkgname="apache-fop"
|
||||
version="1.1"
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Java print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter"
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
license="Apache-2.0"
|
||||
|
@ -13,7 +13,7 @@ hostmakedepends="jdk"
|
|||
makedepends="apache-ant"
|
||||
depends="jre "
|
||||
wrksrc="fop-${version}"
|
||||
_prefix="usr/share/fop"
|
||||
|
||||
conf_files="/etc/fop.conf"
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
|
@ -30,26 +30,28 @@ do_build(){
|
|||
}
|
||||
|
||||
do_install() {
|
||||
_prefix="usr/share/fop"
|
||||
_docs="usr/share/doc/fop-${version}"
|
||||
vmkdir ${_prefix}
|
||||
vmkdir ${_docs}
|
||||
vmkdir ${_prefix}/build
|
||||
vcopy "build/fop*.jar" ${_prefix}/build
|
||||
vmkdir ${_prefix}/lib
|
||||
vcopy "lib/*" ${_prefix}/lib
|
||||
vmkdir ${_prefix}/conf
|
||||
vcopy "conf/*" ${_prefix}/conf
|
||||
vmkdir ${_prefix}/examples
|
||||
vcopy "examples/*" ${_prefix}/examples
|
||||
vmkdir ${_prefix}/hyph
|
||||
vcopy "hyph/*" ${_prefix}/hyph
|
||||
vmkdir ${_prefix}/javadocs
|
||||
vcopy "build/javadocs/*" ${_prefix}/javadocs
|
||||
vmkdir ${_docs}/conf
|
||||
vcopy "conf/*" ${_docs}/conf
|
||||
vmkdir ${_docs}/examples
|
||||
vcopy "examples/*" ${_docs}/examples
|
||||
vmkdir ${_docs}/javadocs
|
||||
vcopy "build/javadocs/*" ${_docs}/javadocs
|
||||
vcopy fop ${_prefix}
|
||||
vcopy fop.js ${_prefix}
|
||||
vcopy KEYS ${_prefix}
|
||||
vcopy LICENSE ${_prefix}
|
||||
vcopy NOTICE ${_prefix}
|
||||
vcopy README ${_prefix}
|
||||
vcopy KEYS ${_docs}
|
||||
vcopy LICENSE ${_docs}
|
||||
vcopy NOTICE ${_docs}
|
||||
vcopy README ${_docs}
|
||||
vcopy status.xml ${_prefix}
|
||||
vcopy ${FILESDIR}/README.void ${_docs}
|
||||
vinstall ${FILESDIR}/fop.conf 644 etc/
|
||||
#create a handy symlink
|
||||
vmkdir usr/bin
|
||||
|
|
Loading…
Reference in a new issue