[xml/sgml-commit] r2132 - /packages/refdb/trunk/debian/patches/fixfopjava.patch

malat at users.alioth.debian.org malat at users.alioth.debian.org
Fri Dec 28 16:22:56 UTC 2012


Author: malat
Date: Fri Dec 28 16:22:55 2012
New Revision: 2132

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=2132
Log:
Fix fop+PDF generation

Modified:
    packages/refdb/trunk/debian/patches/fixfopjava.patch

Modified: packages/refdb/trunk/debian/patches/fixfopjava.patch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/refdb/trunk/debian/patches/fixfopjava.patch?rev=2132&op=diff
==============================================================================
--- packages/refdb/trunk/debian/patches/fixfopjava.patch (original)
+++ packages/refdb/trunk/debian/patches/fixfopjava.patch Fri Dec 28 16:22:55 2012
@@ -1,10 +1,18 @@
 Description: bogus fop calling convention
+ Since fop > 0.25 is shipped within debian, use fop1 extension
+ This patch also uses a work-around to solve bug #696875
+ indeed this is the well known empty anchor problem in fop:
+ https://issues.apache.org/bugzilla/show_bug.cgi?id=48765
+ which is solved using trick:
+ https://issues.apache.org/bugzilla/show_bug.cgi?id=48765#c1
 Author: Mathieu Malaterre <malat at debian.org>
 Forwarded: no
 
---- refdb-0.9.9.orig/scripts/refdbxml.in
-+++ refdb-0.9.9/scripts/refdbxml.in
-@@ -199,7 +199,7 @@ process_print () {
+Index: refdb-0.9.9/scripts/refdbxml.in
+===================================================================
+--- refdb-0.9.9.orig/scripts/refdbxml.in	2012-12-28 17:18:11.000000000 +0100
++++ refdb-0.9.9/scripts/refdbxml.in	2012-12-28 17:18:29.000000000 +0100
+@@ -199,7 +199,7 @@
  		done
  		rm $basename.aux.$$;;
  	fop )
@@ -13,3 +21,17 @@
  	xep )
  		${xep_path}xep.sh -fo $1 -pdf $2;;
  	esac
+Index: refdb-0.9.9/doc/include/manual-fo.xsl
+===================================================================
+--- refdb-0.9.9.orig/doc/include/manual-fo.xsl	2012-12-28 17:18:11.000000000 +0100
++++ refdb-0.9.9/doc/include/manual-fo.xsl	2012-12-28 17:18:54.000000000 +0100
+@@ -70,7 +70,8 @@
+   <xsl:param name="paper.type" select="'A4'"/>
+   <xsl:param name="section.autolabel" select="1"/>
+   <xsl:param name="section.label.includes.component.label" select="1"/>
+-  <xsl:param name="fop.extensions" select="1"/>
++  <xsl:param name="fop1.extensions" select="1"/>
++  <xsl:param name="hyphenate" select="0"/>
+   <xsl:param name="callout.unicode" select="1"/>
+   <xsl:param name="callout.graphics" select="0"/>
+   <xsl:param name="variablelist.as.blocks" select="1"/>




More information about the debian-xml-sgml-commit mailing list