veusz (1.10-2) license-file-location.patch

Summary

 dialogs/aboutdialog.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Use standard location of license file to fill in text in about
 dialog box.
 .
 Veusz ships its own COPYING file. Debian does not want extra license files
 installed.
Author: Jeremy Sanders <jeremy@jeremysanders.net>
Forwarded: not-needed
Last-Update: 2011-03-24
--- veusz-1.9.orig/dialogs/aboutdialog.py
+++ veusz-1.9/dialogs/aboutdialog.py
@@ -59,7 +59,7 @@
         VeuszDialog.__init__(self, parent, 'license.ui')
 
         try:
-            f = open(os.path.join(utils.veuszDirectory, 'COPYING'), 'rU')
+            f = open('/usr/share/common-licenses/GPL-2', 'rU')
             text = f.read()
         except IOError:
             text = 'Could not open the license file.'