diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2014-08-09 17:01:42 +0200 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2015-01-20 15:40:34 -0500 |
commit | 7f18c690ad18949227aad848382805fa89612cdc (patch) | |
tree | ce5a2dde2406dd40d89526a30098eb14c4fef59d /debian | |
parent | 308c00ab2ef1bae4c627873bb753cc567846f04f (diff) |
Use Debian license paths
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/debian-copying.diff | 22 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/debian-copying.diff b/debian/patches/debian-copying.diff new file mode 100644 index 00000000..fd1f8ac8 --- /dev/null +++ b/debian/patches/debian-copying.diff @@ -0,0 +1,22 @@ +Description: Use Debian's licence path +Author: Mateusz Łukasik <mati75@linuxmint.pl> +--- a/plugins/gtkui/callbacks.c ++++ b/plugins/gtkui/callbacks.c +@@ -376,7 +376,7 @@ on_gpl1_activate ( + gpointer user_data) + { + char fname[PATH_MAX]; +- snprintf (fname, sizeof (fname), "%s/%s", deadbeef->get_doc_dir (), "COPYING.GPLv2"); ++ snprintf (fname, sizeof (fname), "%s", "/usr/share/common-licenses/GPL-2"); + gtkui_show_info_window (fname, "GNU GENERAL PUBLIC LICENSE Version 2", &gplwindow); + } + +@@ -387,7 +387,7 @@ on_lgpl1_activate ( + gpointer user_data) + { + char fname[PATH_MAX]; +- snprintf (fname, sizeof (fname), "%s/%s", deadbeef->get_doc_dir (), "COPYING.LGPLv2.1"); ++ snprintf (fname, sizeof (fname), "%s", "/usr/share/common-licenses/LGPL-2.1"); + gtkui_show_info_window (fname, "GNU LESSER GENERAL PUBLIC LICENSE Version 2.1", &lgplwindow); + } + diff --git a/debian/patches/series b/debian/patches/series index e476505e..870bc28d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ mp4ff-spelling-psychedelic.diff gtkui-grammar-allows-setting.diff gtkui-grammar-allows-setting-2.diff desktop-keywords.diff +debian-copying.diff |