[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#529976: luatex: texdoc fails to find pgfmanual as it is zipped



tags 529976 patch pending
thanks

Julian Gilbey <jdg@debian.org> wrote:

>   - /!\ zip support disabled by default (not portable) (see comments below)
>

Yep. Patch attached, essentially it's just

+--- luatex-0.40.1.orig/debian/texdoc/texdoclua 2009-05-25 21:59:55.000000000 +0200
++++ luatex-0.40.1/debian/texdoc/texdoclua      2009-05-25 22:00:46.000000000 +0200
+@@ -77,7 +77,7 @@
+ -- everything  works for them (look for support_zipped in the code).
+ -- If you use this feature, please let us know: if nobody uses it,
+ -- we'll drop it at some point.
+-support_zipped = false
++support_zipped = true

I've already checked it into the svn repository, but I think I'll leave
the building to Norbert.

Regards, Frank

Index: debian/changelog
===================================================================
--- debian/changelog	(revision 3950)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+luatex (0.40.1-2~1) unstable; urgency=low
+
+  * Re-add support for zipped documentation in the lua version of texdoc,
+    thanks to Julian Gilbey <jdg@debian.org> [fk]
+
+ -- Frank KÃŒster <frank@debian.org>  Mon, 25 May 2009 22:03:31 +0200
+
 luatex (0.40.1-1) unstable; urgency=low
 
   * new upstream release
Index: debian/patches/series
===================================================================
--- debian/patches/series	(revision 3950)
+++ debian/patches/series	(working copy)
@@ -1,3 +1,4 @@
+texdoclua-supportzipped
 build-script
 #system-zlib-build-fixes
 # for etch backport
Index: debian/patches/texdoclua-supportzipped
===================================================================
--- debian/patches/texdoclua-supportzipped	(revision 0)
+++ debian/patches/texdoclua-supportzipped	(revision 0)
@@ -0,0 +1,26 @@
+---
+ debian/texdoc/texdoclua |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: luatex-0.40.1/debian/texdoc/texdoclua
+===================================================================
+--- luatex-0.40.1.orig/debian/texdoc/texdoclua	2009-05-25 21:59:55.000000000 +0200
++++ luatex-0.40.1/debian/texdoc/texdoclua	2009-05-25 22:00:46.000000000 +0200
+@@ -77,7 +77,7 @@
+ -- everything  works for them (look for support_zipped in the code).
+ -- If you use this feature, please let us know: if nobody uses it,
+ -- we'll drop it at some point.
+-support_zipped = false
++support_zipped = true
+ 
+ 
+ -- BEGIN function definitions (till the 'END' mark)
+@@ -598,7 +598,7 @@
+         'dvi,dvi.gz,dvi.bz2, ps,ps.gz,ps.bz2, ,gz,bz2')
+         set_config_list {
+             unzip_gz    = 'gzip -d -c ',
+-            unzip_bz2   = 'bzip -d -c ',
++            unzip_bz2   = 'bzip2 -d -c ',
+             rm_file     = 'rm -f',
+             rm_dir      = 'rmdir'
+         }



-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg

Reply to: