Package: quilt
Version: 0.46-4
Severity: minor
Tags: patch
Attached below is a patch for the quilt package to make the HTML form of the
documentation (quilt.html) more readable. It replaces the \sh{<command>}
constructs by renditions of <command> in italics, like they appear in the
PDF form of the documentation.
Rafael
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to
en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages quilt depends on:
ii bzip2 1.0.4-3 high-quality block-sorting file co
ii diffstat 1.45-2 produces graph of changes introduc
ii gawk [awk] 1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii gettext 0.17-2 GNU Internationalization utilities
ii mawk [awk] 1.3.3-11 a pattern scanning and text proces
ii patch 2.5.9-4 Apply a diff file to an original
quilt recommends no packages.
-- no debconf information
diff -u quilt-0.46/debian/changelog quilt-0.46/debian/changelog
--- quilt-0.46/debian/changelog
+++ quilt-0.46/debian/changelog
@@ -1,10 +1,3 @@
-quilt (0.46-4.1) UNRELEASED; urgency=low
-
- * debian/rules: filter \sh{.*} constructs in the hevea output, such that
- HTML documentation is more readable
-
- -- Rafael Laboissiere <[EMAIL PROTECTED]> Tue, 18 Mar 2008 11:06:47 +0100
-
quilt (0.46-4) unstable; urgency=low
* Really remove the depend on gawk, sorry (only build-depend was
diff -u quilt-0.46/debian/rules quilt-0.46/debian/rules
--- quilt-0.46/debian/rules
+++ quilt-0.46/debian/rules
@@ -24,8 +24,7 @@
common-build-indep::
mkdir doc/tmp || true
cd doc/tmp; LC_ALL=C hevea ../main.tex ; LC_ALL=C hevea ../main.tex; LC_ALL=C hevea ../main.tex
- perl -pe 'if (/\\sh{.*}/) {s:\\sh{(.*)}:<I>$1</I>:}' \
- < doc/tmp/main.html > doc/quilt.html
+ cp doc/tmp/main.html doc/quilt.html
LC_ALL=C perl -e '$$/ = undef; $$f=<>; $$f =~ s|<A[^>]*?HREF="[^"]*#[^"]*">(.*?)</A>|$$1|msg; print $$f;' < doc/tmp/main.html > doc/tmp/tmp.html
LC_ALL=C lynx doc/tmp/tmp.html -dump > doc/quilt.txt