[med-svn] r16835 - in trunk/packages/mgltools/networkeditor/trunk/debian: . patches
Steffen Möller
moeller at moszumanska.debian.org
Mon Apr 28 16:07:45 UTC 2014
Author: moeller
Date: 2014-04-28 16:07:45 +0000 (Mon, 28 Apr 2014)
New Revision: 16835
Added:
trunk/packages/mgltools/networkeditor/trunk/debian/patches/
trunk/packages/mgltools/networkeditor/trunk/debian/patches/series
trunk/packages/mgltools/networkeditor/trunk/debian/patches/split_coords.patch
Modified:
trunk/packages/mgltools/networkeditor/trunk/debian/README.source
trunk/packages/mgltools/networkeditor/trunk/debian/changelog
Log:
Fix crash at startup.
Modified: trunk/packages/mgltools/networkeditor/trunk/debian/README.source
===================================================================
--- trunk/packages/mgltools/networkeditor/trunk/debian/README.source 2014-04-28 15:05:37 UTC (rev 16834)
+++ trunk/packages/mgltools/networkeditor/trunk/debian/README.source 2014-04-28 16:07:45 UTC (rev 16835)
@@ -19,4 +19,8 @@
packaging, please refer to
http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/BUILD?op=file&rev=0&sc=0
+The package 'NetworkEditor' received a patch to convert a
+string of four integers into an array of integers, most likely
+because of differences in the Tk interface.
+
-- Steffen Moeller <moeller at debian.org>
Modified: trunk/packages/mgltools/networkeditor/trunk/debian/changelog
===================================================================
--- trunk/packages/mgltools/networkeditor/trunk/debian/changelog 2014-04-28 15:05:37 UTC (rev 16834)
+++ trunk/packages/mgltools/networkeditor/trunk/debian/changelog 2014-04-28 16:07:45 UTC (rev 16835)
@@ -1,6 +1,8 @@
mgltools-networkeditor (1.5.7~rc1+cvs.20140424-1) unstable; urgency=medium
* New upstream version.
+ * Introduced patch to prevent crash at startup for interpreting window
+ coordinates.
-- Steffen Moeller <moeller at debian.org> Thu, 24 Apr 2014 17:40:46 +0200
Added: trunk/packages/mgltools/networkeditor/trunk/debian/patches/series
===================================================================
--- trunk/packages/mgltools/networkeditor/trunk/debian/patches/series (rev 0)
+++ trunk/packages/mgltools/networkeditor/trunk/debian/patches/series 2014-04-28 16:07:45 UTC (rev 16835)
@@ -0,0 +1 @@
+split_coords.patch
Added: trunk/packages/mgltools/networkeditor/trunk/debian/patches/split_coords.patch
===================================================================
--- trunk/packages/mgltools/networkeditor/trunk/debian/patches/split_coords.patch (rev 0)
+++ trunk/packages/mgltools/networkeditor/trunk/debian/patches/split_coords.patch 2014-04-28 16:07:45 UTC (rev 16835)
@@ -0,0 +1,13 @@
+Index: NetworkEditor-1.5.7~rc1+cvs.20140424/NetworkEditor/naviMap.py
+===================================================================
+--- NetworkEditor-1.5.7~rc1+cvs.20140424.orig/NetworkEditor/naviMap.py
++++ NetworkEditor-1.5.7~rc1+cvs.20140424/NetworkEditor/naviMap.py
+@@ -33,7 +33,7 @@
+ self.scaleFactor = scaleFactor
+ canvas = self.netCanvas = scrolledCanvas.component('canvas')
+ # find total size of the canvas
+- bbox = map(int, canvas.configure('scrollregion')[-1])
++ bbox = map(int, canvas.configure('scrollregion')[-1].split(' ',-1)
+ # compute map width and height
+ self.width = (bbox[2]-bbox[0])*scaleFactor
+ self.height = (bbox[3]-bbox[1])*scaleFactor
More information about the debian-med-commit
mailing list