mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Updated setup_boostbook scripts to download newer versions of apache fop
and docbook xsl, since the old versions are no longer posted for download. The newer version of apache fop is stricter about its input, and currently fails to validate its input when trying to build boost.pdf, due to various bits on invalid docbook. I have it working locally though, and will create tickets with patches in trac for the remaining issues in the library docs and tools. [SVN r40049]
This commit is contained in:
parent
ebff982ef1
commit
924b9589bc
@ -10,10 +10,11 @@
|
||||
# right now it is used only be release scripts
|
||||
|
||||
# User configuration
|
||||
DOCBOOK_XSL_VERSION = "1.67.2"
|
||||
DOCBOOK_XSL_VERSION = "1.73.2"
|
||||
DOCBOOK_DTD_VERSION = "4.2"
|
||||
FOP_VERSION = "0.20.5"
|
||||
FOP_MIRROR = "http://mirrors.ibiblio.org/pub/mirrors/apache/xml/fop/"
|
||||
FOP_VERSION = "0.94"
|
||||
FOP_JDK_VERSION="1.4"
|
||||
FOP_MIRROR = "http://mirrors.ibiblio.org/pub/mirrors/apache/xmlgraphics/fop"
|
||||
SOURCEFORGE_MIRROR = "http://puzzle.dl.sourceforge.net"
|
||||
|
||||
# No user configuration below this point-------------------------------------
|
||||
@ -206,13 +207,13 @@ def find_java():
|
||||
|
||||
def setup_fop( tools_directory ):
|
||||
print "FOP ..."
|
||||
FOP_TARBALL = os.path.join( tools_directory, "fop-%s-bin.tar.gz" % FOP_VERSION )
|
||||
FOP_TARBALL = os.path.join( tools_directory, "fop-%s-bin-jdk%s.tar.gz" % ( FOP_VERSION, FOP_JDK_VERSION ) )
|
||||
FOP_URL = "%s/%s" % ( FOP_MIRROR, os.path.basename( FOP_TARBALL ) )
|
||||
FOP_DIR = to_posix( "%s/fop-%s" % ( tools_directory, FOP_VERSION ) )
|
||||
if sys.platform == 'win32':
|
||||
fop_driver = "fop.bat"
|
||||
else:
|
||||
fop_driver = "fop.sh"
|
||||
fop_driver = "fop"
|
||||
|
||||
FOP = to_posix( os.path.join( FOP_DIR, fop_driver ) )
|
||||
|
||||
|
@ -6,10 +6,11 @@
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# User configuration
|
||||
DOCBOOK_XSL_VERSION=1.68.1
|
||||
DOCBOOK_XSL_VERSION=1.73.2
|
||||
DOCBOOK_DTD_VERSION=4.2
|
||||
FOP_VERSION=0.20.5
|
||||
FOP_MIRROR=http://mirrors.ibiblio.org/pub/mirrors/apache/xml/fop/
|
||||
FOP_VERSION=0.94
|
||||
FOP_JDK_VERSION=1.4
|
||||
FOP_MIRROR=http://mirrors.ibiblio.org/pub/mirrors/apache/xmlgraphics/fop
|
||||
SOURCEFORGE_MIRROR=http://dl.sourceforge.net
|
||||
HTTP_GET_CMD="curl -O"
|
||||
|
||||
@ -99,10 +100,10 @@ if test ! -f "$JAVA" && test ! -x "$JAVA"; then
|
||||
HAVE_FOP="no"
|
||||
else
|
||||
echo "Searching for Java... $JAVA.";
|
||||
FOP_TARBALL="fop-$FOP_VERSION-bin.tar.gz"
|
||||
FOP_TARBALL="fop-$FOP_VERSION-bin-jdk$FOP_JDK_VERSION.tar.gz"
|
||||
FOP_URL="$FOP_MIRROR/$FOP_TARBALL"
|
||||
FOP_DIR="$PWD/fop-$FOP_VERSION"
|
||||
FOP="$FOP_DIR/fop.sh"
|
||||
FOP="$FOP_DIR/fop"
|
||||
if test -f $FOP_TARBALL; then
|
||||
echo "Using existing FOP distribution (version $FOP_VERSION)."
|
||||
else
|
||||
|
@ -14,7 +14,7 @@
|
||||
<xsl:param name="chapter.autolabel" select="0"/>
|
||||
<xsl:param name="refentry.generate.name" select="0"/>
|
||||
<xsl:param name="refentry.generate.title" select="1"/>
|
||||
<xsl:param name="fop.extensions" select="1"/>
|
||||
<xsl:param name="fop1.extensions" select="1"/>
|
||||
<xsl:param name="make.year.ranges" select="1"/>
|
||||
<xsl:param name="ulink.show" select="0"/>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user