Description: Do not install examples in /usr/share/veusz/examples
 We install the examples to /usr/share/doc/veusz/examples, so do not install
 into /usr/share/veusz. Update the location of the examples in the Veusz
 code so that Veusz could find it to show in the menus.
Author: Jeremy Sanders <jeremy@jeremysanders.net>
Forwarded: not-needed
Last-Update: 2011-11-25
--- veusz-1.14.orig/setup.py
+++ veusz-1.14/setup.py
@@ -128,7 +128,6 @@
       data_files = [ ('veusz', ['VERSION']),
                      findData('dialogs', ('ui',)),
                      findData('windows/icons', ('png', 'svg')),
-                     findData('examples', ('vsz', 'py', 'csv', 'dat')),
                      ],
       packages = [ 'veusz',
                    'veusz.dialogs',
--- veusz-1.14.orig/utils/utilfuncs.py
+++ veusz-1.14/utils/utilfuncs.py
@@ -51,7 +51,7 @@
         return os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
 
 veuszDirectory = '/usr/share/veusz'
-exampleDirectory = os.path.join(veuszDirectory, 'examples')
+exampleDirectory = '/usr/share/doc/veusz/examples'
 
 id_re = re.compile('^[A-Za-z_][A-Za-z0-9_]*$')
 def validPythonIdentifier(name):
