[med-svn] r13251 - trunk/packages/invesalius/trunk/debian/patches

Thiago Franco Moraes tfmoraes-guest at alioth.debian.org
Tue Apr 2 13:46:53 UTC 2013


Author: tfmoraes-guest
Date: 2013-04-02 13:46:53 +0000 (Tue, 02 Apr 2013)
New Revision: 13251

Added:
   trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch
Modified:
   trunk/packages/invesalius/trunk/debian/patches/series
Log:
Added a patch to make invesalius opens the sample file located at /usr/share/doc/invesalius-examples/examples/

Added: trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch
===================================================================
--- trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch	                        (rev 0)
+++ trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch	2013-04-02 13:46:53 UTC (rev 13251)
@@ -0,0 +1,13 @@
+diff --git a/invesalius/constants.py b/invesalius/constants.py
+index 3dfc5df..610c3bd 100644
+--- a/invesalius/constants.py
++++ b/invesalius/constants.py
+@@ -295,7 +295,7 @@ WINDOW_LEVEL = {_("Abdomen"):(350,50),
+ REDUCE_IMAGEDATA_QUALITY = 0
+ 
+ ICON_DIR = os.path.abspath(os.path.join('..', 'icons'))
+-SAMPLE_DIR = os.path.abspath(os.path.join('..', 'samples'))
++SAMPLE_DIR = "/usr/share/doc/invesalius-examples/examples/"
+ DOC_DIR = os.path.abspath(os.path.join('..', 'docs'))
+ 
+ 

Modified: trunk/packages/invesalius/trunk/debian/patches/series
===================================================================
--- trunk/packages/invesalius/trunk/debian/patches/series	2013-04-02 13:13:45 UTC (rev 13250)
+++ trunk/packages/invesalius/trunk/debian/patches/series	2013-04-02 13:46:53 UTC (rev 13251)
@@ -1 +1,2 @@
 10_change_casmoothing_import.patch
+10_sample_path.patch




More information about the debian-med-commit mailing list