Merge lp:~jshholland/ubuntu/lucid/ghostscript/preview-pdf-patch into lp:ubuntu/lucid/ghostscript

Proposed by Josh Holland
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jshholland/ubuntu/lucid/ghostscript/preview-pdf-patch
Merge into: lp:ubuntu/lucid/ghostscript
Diff against target: 48 lines (+28/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/00list (+1/-0)
debian/patches/pdf2dsc-fix-for-pdflatex-preview.dpatch (+19/-0)
To merge this branch: bzr merge lp:~jshholland/ubuntu/lucid/ghostscript/preview-pdf-patch
Reviewer Review Type Date Requested Status
James Westby (community) Approve
Review via email: mp+22683@code.launchpad.net

Description of the change

Include the patch from the bug report.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) wrote :

Upladed after adding DEP-3 headers.

Thanks,

James

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-03-23 10:22:23 +0000
3+++ debian/changelog 2010-04-02 11:45:27 +0000
4@@ -1,3 +1,11 @@
5+ghostscript (8.71.dfsg.1-0ubuntu5) karmic; urgency=low
6+
7+ * debian/patches/pdf2dsc-fix-for-pdflatex-preview.dpatch:
8+ Fix pdflatex preview mode using the patch from http://svn.ghostscript.com/viewvc?view=rev&revision=10778
9+ by William Bader (LP: #543266)
10+
11+ -- Josh Holland <jrh@joshh.co.uk> Fri, 02 Apr 2010 08:25:31 +0100
12+
13 ghostscript (8.71.dfsg.1-0ubuntu4) lucid; urgency=low
14
15 * debian/patches/cups-raster-error-out-without-segfault-and-force-banding.dpatch:
16
17=== modified file 'debian/patches/00list'
18--- debian/patches/00list 2010-03-23 10:22:23 +0000
19+++ debian/patches/00list 2010-04-02 11:45:27 +0000
20@@ -6,3 +6,4 @@
21 cups-raster-error-out-without-segfault-and-force-banding
22 fix-broken-korean-example
23 pdftoraster-wait-for-ghostscript
24+pdf2dsc-fix-for-pdflatex-preview
25
26=== added file 'debian/patches/pdf2dsc-fix-for-pdflatex-preview.dpatch'
27--- debian/patches/pdf2dsc-fix-for-pdflatex-preview.dpatch 1970-01-01 00:00:00 +0000
28+++ debian/patches/pdf2dsc-fix-for-pdflatex-preview.dpatch 2010-04-02 11:45:27 +0000
29@@ -0,0 +1,19 @@
30+#! /bin/sh /usr/share/dpatch/dpatch-run
31+## pdf2dsc-fix-for-pdflatex-preview.dpatch by Josh Holland <jrh@joshh.co.uk>
32+##
33+## All lines beginning with `## DP:' are a description of the patch.
34+## DP: No description.
35+
36+@DPATCH@
37+diff -urNad ghostscript~/lib/pdf2dsc.ps ghostscript/lib/pdf2dsc.ps
38+--- ghostscript~/lib/pdf2dsc.ps 2010-04-02 00:01:11.000000000 +0100
39++++ ghostscript/lib/pdf2dsc.ps 2010-04-02 08:24:56.430323772 +0100
40+@@ -116,7 +116,7 @@
41+ DSCfile PDFname write==only
42+ ( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts
43+ ( pdfopen begin\n) puts
44+- ( copy_trailer_attrs\n) puts
45++ ( process_trailer_attrs\n) puts
46+ (%%EndSetup\n) puts
47+
48+ /.hasPageLabels false def % see "Page Labels" in the PDF Reference

Subscribers

People subscribed via source and target branches

to all changes: