From 649f2e6e80100838a9a97947298add2a62841d83 Mon Sep 17 00:00:00 2001 From: Carlos Maddela Date: Thu, 22 Dec 2016 01:06:15 +1100 Subject: [PATCH] Fix path of GPL-2 license in 05-help-dialog.patch. The following path needed fixing: /usr/share/common/licenses/GPL-2 -> /usr/share/common-licenses/GPL-2 Also, ensured that the license is opened as a text file and not as an HTML file. Closes: #708384 --- debian/patches/05-help-dialog.patch | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/debian/patches/05-help-dialog.patch b/debian/patches/05-help-dialog.patch index a8f6d66..440a3a5 100644 --- a/debian/patches/05-help-dialog.patch +++ b/debian/patches/05-help-dialog.patch @@ -3,16 +3,20 @@ Date: Sun, 8 Apr 2012 21:53:29 +0900 Subject: Customizes the help-dialog according to README.MODIFYING. Description: Customizes the help-dialog according to README.MODIFYING. + . + * 2016-12-19 - Fixed path: + /usr/share/common/licenses/GPL-2 -> /usr/share/common-licenses/GPL-2 + and restored use of "GPL" label. Author: Daniel Baumann -Last-Update: 2012-04-08 +Last-Update: 2016-12-19 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- - help-dialogs.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) + help-dialogs.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/help-dialogs.c b/help-dialogs.c -index 793be52..1514a7a 100644 +index 793be52..ed86afe 100644 --- a/help-dialogs.c +++ b/help-dialogs.c @@ -402,7 +402,7 @@ void ShowGPL() @@ -20,7 +24,7 @@ index 793be52..1514a7a 100644 _("GNU General Public License\n" "The license terms of dvdisaster."), - "COPYING", NULL, NULL); -+ "/usr/share/common/licenses/GPL-2", NULL, NULL); ++ "/usr/share/common-licenses/GPL-2", NULL, NULL); } /* @@ -33,12 +37,8 @@ index 793be52..1514a7a 100644 } static gint about_cb(GtkWidget *widget, GdkEvent *event, gpointer data) -@@ -742,14 +742,14 @@ void AboutDialog() - AboutTextWithLink(vbox, _("This software comes with absolutely no warranty.\n" - "This is free software and you are welcome to redistribute it\n" - "under the conditions of the [GNU General Public License].\n"), -- "GPL"); -+ "/usr/share/common-licenses/GPL-2"); +@@ -745,11 +745,11 @@ void AboutDialog() + "GPL"); #ifdef MODIFIED_SOURCE - AboutTextWithLink(vbox, _("\nThis program is not the original. It is based on the\n"