[med-svn] r22820 - in trunk/packages/invesalius/trunk/debian: . patches

Thiago Franco Moraes tfmoraes-guest at moszumanska.debian.org
Thu Sep 22 17:35:17 UTC 2016


Author: tfmoraes-guest
Date: 2016-09-22 17:35:15 +0000 (Thu, 22 Sep 2016)
New Revision: 22820

Modified:
   trunk/packages/invesalius/trunk/debian/changelog
   trunk/packages/invesalius/trunk/debian/control
   trunk/packages/invesalius/trunk/debian/invesalius-bin.install
   trunk/packages/invesalius/trunk/debian/invesalius.install
   trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch
   trunk/packages/invesalius/trunk/debian/patches/series
   trunk/packages/invesalius/trunk/debian/rules
Log:
Preparing to new invesalius version

Modified: trunk/packages/invesalius/trunk/debian/changelog
===================================================================
--- trunk/packages/invesalius/trunk/debian/changelog	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/changelog	2016-09-22 17:35:15 UTC (rev 22820)
@@ -1,3 +1,8 @@
+invesalius (3.1.0-1) unstable; urgency=low
+  * Version 3.1.0
+
+ -- Thiago Franco de Moraes <tfmoraes at cti.gov.br>  Wed, 21 Sep 2016 11:43:34 -0300
+
 invesalius (3.0.1-1) unstable; urgency=low
 
   [ Thiago Franco de Moraes ]

Modified: trunk/packages/invesalius/trunk/debian/control
===================================================================
--- trunk/packages/invesalius/trunk/debian/control	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/control	2016-09-22 17:35:15 UTC (rev 22820)
@@ -31,6 +31,7 @@
          python-nibabel,
          python-serial,
          python-psutil,
+         python-concurrent.futures,
          invesalius-bin
 Description: 3D medical imaging reconstruction software
  InVesalius generates 3D medical imaging reconstructions based on a sequence of
@@ -44,6 +45,8 @@
     etc)
   * Segmentation based on 2D slices
   * Pre-defined threshold ranges according to tissue of interest
+  * Segmentation based on watershed
+  * Region growing segmentation
   * Edition tools (similar to Paint Brush) based on 2D slices
   * Semi-automatic segmentation based on Watershed
   * 3D surface creation

Modified: trunk/packages/invesalius/trunk/debian/invesalius-bin.install
===================================================================
--- trunk/packages/invesalius/trunk/debian/invesalius-bin.install	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/invesalius-bin.install	2016-09-22 17:35:15 UTC (rev 22820)
@@ -1 +1 @@
-invesalius/data/mips.so /usr/lib/invesalius/
+invesalius/data/*.so /usr/share/invesalius/invesalius/data/

Modified: trunk/packages/invesalius/trunk/debian/invesalius.install
===================================================================
--- trunk/packages/invesalius/trunk/debian/invesalius.install	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/invesalius.install	2016-09-22 17:35:15 UTC (rev 22820)
@@ -4,14 +4,16 @@
 presets /usr/share/invesalius/
 docs/user_guide_pt_BR.pdf /usr/share/invesalius/docs/
 
+app.py /usr/share/invesalius/
+
+invesalius/__init__.py /usr/share/invesalius/invesalius
 invesalius/session.py /usr/share/invesalius/invesalius
+invesalius/style.py /usr/share/invesalius/invesalius
 invesalius/version.py /usr/share/invesalius/invesalius
 invesalius/presets.py /usr/share/invesalius/invesalius
-invesalius/style.py /usr/share/invesalius/invesalius
 invesalius/utils.py /usr/share/invesalius/invesalius
 invesalius/constants.py /usr/share/invesalius/invesalius
 invesalius/math_utils.py /usr/share/invesalius/invesalius
-invesalius/invesalius.py /usr/share/invesalius/invesalius
 invesalius/i18n.py /usr/share/invesalius/invesalius
 invesalius/project.py /usr/share/invesalius/invesalius
 invesalius/control.py /usr/share/invesalius/invesalius

Modified: trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch
===================================================================
--- trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/patches/10_sample_path.patch	2016-09-22 17:35:15 UTC (rev 22820)
@@ -2,15 +2,15 @@
 Description: Adjust path to samples to the known Debian location
 
 diff --git a/invesalius/constants.py b/invesalius/constants.py
-index 3dfc5df..610c3bd 100644
+index 64745ae..ff76a89 100644
 --- a/invesalius/constants.py
 +++ b/invesalius/constants.py
-@@ -295,7 +295,7 @@ WINDOW_LEVEL = {_("Abdomen"):(350,50),
- REDUCE_IMAGEDATA_QUALITY = 0
+@@ -332,7 +332,7 @@ if hasattr(sys,"frozen") and (sys.frozen == "windows_exe"\
+     folder=RAYCASTING_PRESETS_DIRECTORY= os.path.join(abs_path, "presets", "raycasting")
+ else:
+     ICON_DIR = os.path.abspath(os.path.join(FILE_PATH, '..', 'icons'))
+-    SAMPLE_DIR = os.path.abspath(os.path.join(FILE_PATH,'..', 'samples'))
++    SAMPLE_DIR = "/usr/share/doc/invesalius-examples/examples/"
+     DOC_DIR = os.path.abspath(os.path.join(FILE_PATH,'..', 'docs'))
  
- 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'))
- 
- 
+     folder=RAYCASTING_PRESETS_DIRECTORY= os.path.abspath(os.path.join(".",

Modified: trunk/packages/invesalius/trunk/debian/patches/series
===================================================================
--- trunk/packages/invesalius/trunk/debian/patches/series	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/patches/series	2016-09-22 17:35:15 UTC (rev 22820)
@@ -1,2 +1 @@
 10_sample_path.patch
-10_import_mips.patch

Modified: trunk/packages/invesalius/trunk/debian/rules
===================================================================
--- trunk/packages/invesalius/trunk/debian/rules	2016-09-17 14:44:37 UTC (rev 22819)
+++ trunk/packages/invesalius/trunk/debian/rules	2016-09-22 17:35:15 UTC (rev 22820)
@@ -28,10 +28,9 @@
 
 create-launcher:
 	echo '#!/bin/sh' > invesalius-3.0
-	echo 'export PYTHONPATH=$$PYTHONPATH:"/usr/lib/invesalius"' >> invesalius-3.0
-	echo 'export INVESALIUS_LIBRARY_PATH="/usr/share/invesalius/invesalius"' >> invesalius-3.0
+	echo 'export INVESALIUS_LIBRARY_PATH="/usr/share/invesalius/"' >> invesalius-3.0
 	echo 'cd $$INVESALIUS_LIBRARY_PATH' >> invesalius-3.0
-	echo 'python invesalius.py $$@' >> invesalius-3.0
+	echo 'python app.py $$@' >> invesalius-3.0
 
 override_dh_install: create-launcher
 	dh_install




More information about the debian-med-commit mailing list