rpms/xmlto/devel xmlto-0.0.23-Lchapterpassivetex.patch, NONE, 1.1 xmlto.spec, 1.52, 1.53

Ondrej Vasik ovasik at fedoraproject.org
Tue Oct 13 12:21:52 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/xmlto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17168

Modified Files:
	xmlto.spec 
Added Files:
	xmlto-0.0.23-Lchapterpassivetex.patch 
Log Message:
workaround passivetex limitation for chapter titles starting with L(#526273)

xmlto-0.0.23-Lchapterpassivetex.patch:
 dvi |    5 ++++-
 pdf |    5 ++++-
 ps  |    5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

--- NEW FILE xmlto-0.0.23-Lchapterpassivetex.patch ---
diff -urNp xmlto-0.0.23-orig/format/fo/dvi xmlto-0.0.23/format/fo/dvi
--- xmlto-0.0.23-orig/format/fo/dvi	2009-09-18 12:06:23.000000000 +0200
+++ xmlto-0.0.23/format/fo/dvi	2009-10-13 14:08:46.000000000 +0200
@@ -13,7 +13,10 @@ post-process)
   fi
   # Work around stupid tetex bug with '_' in filenames
   # Also work around stupid tetex limitation with long lines (bug #101055)
-  sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+  # and workaround passivetex limitation for chapter titles starting with L
+  # (#526273)
+  sed -e "s,/>,/>\n,g" \
+      -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
   OUT=output
   TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
   export TEXINPUTS
diff -urNp xmlto-0.0.23-orig/format/fo/pdf xmlto-0.0.23/format/fo/pdf
--- xmlto-0.0.23-orig/format/fo/pdf	2009-09-18 12:06:23.000000000 +0200
+++ xmlto-0.0.23/format/fo/pdf	2009-10-13 14:09:08.000000000 +0200
@@ -15,7 +15,10 @@ DEFAULT|DBLATEX)
 	  fi
 	  # Work around stupid tetex bug with '_' in filenames
 	  # Also work around stupid tetex limitation with long lines (bug #101055)
-	  sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+    # and workaround passivetex limitation for chapter titles starting with L
+    # (#526273)
+	  sed -e "s,/>,/>\n,g" \
+        -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
 	  OUT=output
 	  TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
 	  export TEXINPUTS
diff -urNp xmlto-0.0.23-orig/format/fo/ps xmlto-0.0.23/format/fo/ps
--- xmlto-0.0.23-orig/format/fo/ps	2009-03-17 17:39:52.000000000 +0100
+++ xmlto-0.0.23/format/fo/ps	2009-10-13 14:01:39.000000000 +0200
@@ -10,7 +10,10 @@ DEFAULT|DBLATEX)
 	  fi
 	  # Work around stupid tetex bug with '_' in filenames
 	  # Also work around stupid tetex limitation with long lines (bug #101055)
-	  sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+    # and workaround passivetex limitation for chapter titles starting with L
+    # (#526273)
+	  sed -e "s,/>,/>\n,g" \
+        -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
 	  OUT=output
 	  TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
 	  export TEXINPUTS


Index: xmlto.spec
===================================================================
RCS file: /cvs/extras/rpms/xmlto/devel/xmlto.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- xmlto.spec	24 Sep 2009 15:24:09 -0000	1.52
+++ xmlto.spec	13 Oct 2009 12:21:52 -0000	1.53
@@ -1,7 +1,7 @@
 Summary: A tool for converting XML files to various formats
 Name: xmlto
 Version: 0.0.23
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 #Older versions up to xmlto-0.0.20
@@ -22,6 +22,7 @@ Requires: text-www-browser
 Requires: libxslt
 Requires: docbook-dtds
 Requires: util-linux, flex
+Patch1:   xmlto-0.0.23-Lchapterpassivetex.patch
 
 %description
 This is a package for converting XML files to various formats using XSL
@@ -58,6 +59,7 @@ xhtml1 source format.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure BASH=/bin/bash
@@ -99,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 13 2009 Ondrej Vasik <ovasik at redhat.com> - 0.0.23-3
+- workaround passivetex limitation for chapter titles starting
+  with L(#526273)
+
 * Fri Sep 24 2009 Ondrej Vasik <ovasik at redhat.com> - 0.0.23-2
 - ensure the default shell is /bin/bash instead of /bin/sh
 




More information about the fedora-extras-commits mailing list