diff -u ghostscript-8.71.dfsg.1/debian/changelog ghostscript-8.71.dfsg.1/debian/changelog --- ghostscript-8.71.dfsg.1/debian/changelog +++ ghostscript-8.71.dfsg.1/debian/changelog @@ -1,8 +1,15 @@ -ghostscript (8.71.dfsg.1-0ubuntu5.2~ppa1~jaunty1) jaunty; urgency=low +ghostscript (8.71.dfsg.1-0ubuntu5.3~ppa1~jaunty1) jaunty; urgency=low - * Backport to Jaunty. + * Backport to jauntybleed ppa. - -- Nicola Ferralis Wed, 14 Jul 2010 15:04:21 -0700 + -- Nicola Ferralis Wed, 25 Aug 2010 18:10:49 -0700 + +ghostscript (8.71.dfsg.1-0ubuntu5.3) lucid-proposed; urgency=low + + * debian/patches/ps2pdf-hyperlinks.dpatch: Let ps2pdf create proper hyperlinks + (LP: #583990, upstream bug #691344). + + -- Till Kamppeter Mon, 19 Jul 2010 19:15:20 +0200 ghostscript (8.71.dfsg.1-0ubuntu5.2) lucid-security; urgency=low diff -u ghostscript-8.71.dfsg.1/debian/patches/00list ghostscript-8.71.dfsg.1/debian/patches/00list --- ghostscript-8.71.dfsg.1/debian/patches/00list +++ ghostscript-8.71.dfsg.1/debian/patches/00list @@ -11,0 +12 @@ +ps2pdf-hyperlinks only in patch2: unchanged: --- ghostscript-8.71.dfsg.1.orig/debian/patches/ps2pdf-hyperlinks.dpatch +++ ghostscript-8.71.dfsg.1/debian/patches/ps2pdf-hyperlinks.dpatch @@ -0,0 +1,55 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ps2pdf-hyperlinks.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' ghostscript-8.71.dfsg.2~/base/gdevpdfm.c ghostscript-8.71.dfsg.2/base/gdevpdfm.c +--- ghostscript-8.71.dfsg.2~/base/gdevpdfm.c 2009-10-06 09:33:33.000000000 +0200 ++++ ghostscript-8.71.dfsg.2/base/gdevpdfm.c 2010-07-19 18:57:12.914899588 +0200 +@@ -125,7 +125,7 @@ + static int + pdfmark_make_dest(char dstr[MAX_DEST_STRING], gx_device_pdf * pdev, + const char *Page_key, const char *View_key, +- const gs_param_string * pairs, uint count) ++ const gs_param_string * pairs, uint count, uint RequirePage) + { + gs_param_string page_string, view_string; + int present = +@@ -135,7 +135,7 @@ + gs_param_string action; + int len; + +- if (present) ++ if (present || RequirePage) + page = pdfmark_page_number(pdev, &page_string); + if (view_string.size == 0) + param_string_from_string(view_string, "[/XYZ null null null]"); +@@ -485,7 +485,7 @@ + /* Make a destination even if this is for an outline. */ + if (Dest.data == 0) { + code = pdfmark_make_dest(dest, params->pdev, "/Page", "/View", +- pairs, count); ++ pairs, count, 0); + if (code < 0) + return code; + param_string_from_string(Dest, dest); +@@ -1100,7 +1100,7 @@ + + if (!pdfmark_find_key("/Dest", pairs, count, &key) || + (present = +- pdfmark_make_dest(dest, pdev, "/Page", "/View", pairs, count)) < 0 ++ pdfmark_make_dest(dest, pdev, "/Page", "/View", pairs, count, 1)) < 0 + ) + return_error(gs_error_rangecheck); + cos_string_value(&value, (byte *)dest, strlen(dest)); +@@ -1523,7 +1523,7 @@ + + if (count & 1) + return_error(gs_error_rangecheck); +- if (pdfmark_make_dest(dest, pdev, "/Page", "/View", pairs, count)) { ++ if (pdfmark_make_dest(dest, pdev, "/Page", "/View", pairs, count, 0)) { + int i; + + code = cos_dict_put_c_key_string(pdev->Catalog, "/OpenAction",