Description: Make Veusz install and read data files from /usr/share/veusz.
 Without this patch Veusz installs its data files within the Python directory.
 This patch makes Veusz compliant with FHS.
 .
 This is difficult to put upstream because of the inflexibility of Python 2.x
 distutils and compatibility with other operating systems.
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
@@ -50,7 +50,7 @@
     def run(self):
         # need to change self.install_dir to the library dir
         install_cmd = self.get_finalized_command('install')
-        self.install_dir = getattr(install_cmd, 'install_lib')
+        self.install_dir = 'debian/veusz/usr/share'
         return install_data.run(self)
 
 descr = '''Veusz is a scientific plotting package, designed to create
--- veusz-1.14.orig/utils/utilfuncs.py
+++ veusz-1.14/utils/utilfuncs.py
@@ -50,7 +50,7 @@
         # standard installation
         return os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
 
-veuszDirectory = _getVeuszDirectory()
+veuszDirectory = '/usr/share/veusz'
 exampleDirectory = os.path.join(veuszDirectory, 'examples')
 
 id_re = re.compile('^[A-Za-z_][A-Za-z0-9_]*$')
