[Pkg-opt-media-team] [dvdisaster] 52/61: Fix display of manual.pdf.

Takaki Taniguchi takaki at moszumanska.debian.org
Thu Feb 2 13:48:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

takaki pushed a commit to branch master
in repository dvdisaster.

commit 71f4bac5621f05c4d8c9037b40146cf3f3f9841d
Author: Carlos Maddela <e7appew at gmail.com>
Date:   Thu Jan 5 19:04:42 2017 +1100

    Fix display of manual.pdf.
    
    The PDF file is automatically compressed by Debhelper, so we need to
    account for this.
---
 debian/patches/26-fix-display-of-manual.pdf.patch | 48 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 49 insertions(+)

diff --git a/debian/patches/26-fix-display-of-manual.pdf.patch b/debian/patches/26-fix-display-of-manual.pdf.patch
new file mode 100644
index 0000000..9a94114
--- /dev/null
+++ b/debian/patches/26-fix-display-of-manual.pdf.patch
@@ -0,0 +1,48 @@
+From: Carlos Maddela <e7appew at gmail.com>
+Date: Thu, 5 Jan 2017 18:59:30 +1100
+Subject: Fix display of manual.pdf.
+
+Description: Fix display of manual.pdf.
+ The PDF file is automatically compressed by Debhelper, so we need to
+ account for this.
+Author: Carlos Maddela <e7appew at gmail.com>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2017-01-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+---
+ show-manual.c    | 4 ++--
+ welcome-window.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/show-manual.c b/show-manual.c
+index d53c9a5..ecb0922 100644
+--- a/show-manual.c
++++ b/show-manual.c
+@@ -287,8 +287,8 @@ void ShowPDF(char *target)
+ 
+    /* If no target is given, show the manual. */
+ 
+-   if(!target) 
+-   {    bi->path = g_strdup_printf("%s/manual.pdf",Closure->docDir); 
++   if(!target)
++   {    bi->path = g_strdup_printf("%s/manual.pdf.gz",Closure->docDir);
+    }
+    else 
+       if(*target != '/') bi->path = g_strdup_printf("%s/%s",Closure->docDir, target); 
+diff --git a/welcome-window.c b/welcome-window.c
+index 1046bc8..3261b7c 100644
+--- a/welcome-window.c
++++ b/welcome-window.c
+@@ -138,8 +138,8 @@ void CreateWelcomePage(GtkNotebook *notebook)
+    AboutText(box, _("\ndvdisaster creates error correction data to protect\n"
+ 		    "optical media (CD,DVD,BD) against data loss.\n"));
+ 
+-   AboutTextWithLink(box, _("Please see the [manual] for typical uses of dvdisaster.\n\n"), 
+-		     "manual.pdf");
++   AboutTextWithLink(box, _("Please see the [manual] for typical uses of dvdisaster.\n\n"),
++		     "manual.pdf.gz");
+ 
+    AboutText(box, _("<i>New in this Version:</i>"));
+ 
diff --git a/debian/patches/series b/debian/patches/series
index c471f8d..efb177c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -17,3 +17,4 @@
 23-add-bdrom-support.patch
 24-show-gpl3-license.patch
 25-fix-man-pages.patch
+26-fix-display-of-manual.pdf.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opt-media/dvdisaster.git



More information about the Pkg-opt-media-team mailing list