diff -Nru squaremap-1.0.4/debian/changelog squaremap-1.0.4/debian/changelog --- squaremap-1.0.4/debian/changelog 2014-07-06 23:16:54.000000000 +0000 +++ squaremap-1.0.4/debian/changelog 2014-08-17 20:12:51.000000000 +0000 @@ -1,3 +1,10 @@ +squaremap (1:1.0.4-2) unstable; urgency=low + + * Update to use wxPython 3.0 (Closes: #758436) thanks to Olly Betts + + New patch: wxpy3.0-compat.patch + + -- Federico Ceratto Sun, 17 Aug 2014 21:03:01 +0100 + squaremap (1:1.0.4-1) unstable; urgency=low * New upstream release diff -Nru squaremap-1.0.4/debian/control squaremap-1.0.4/debian/control --- squaremap-1.0.4/debian/control 2014-07-06 23:16:54.000000000 +0000 +++ squaremap-1.0.4/debian/control 2014-08-17 20:12:51.000000000 +0000 @@ -14,10 +14,9 @@ Package: python-squaremap Architecture: all Pre-Depends: dpkg (>= 1.15.6~) -Depends: python-wxversion +Depends: python-wxgtk3.0 , ${python:Depends} , ${misc:Depends} - , python-wxgtk2.8 Provides: ${python:Provides} Description: wxPython control to display hierarchic data as nested squares A simple wxPython control to display hierarchic data as a recursive set of diff -Nru squaremap-1.0.4/debian/patches/series squaremap-1.0.4/debian/patches/series --- squaremap-1.0.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ squaremap-1.0.4/debian/patches/series 2014-08-17 20:12:51.000000000 +0000 @@ -0,0 +1 @@ +wxpy3.0-compat.patch diff -Nru squaremap-1.0.4/debian/patches/wxpy3.0-compat.patch squaremap-1.0.4/debian/patches/wxpy3.0-compat.patch --- squaremap-1.0.4/debian/patches/wxpy3.0-compat.patch 1970-01-01 00:00:00.000000000 +0000 +++ squaremap-1.0.4/debian/patches/wxpy3.0-compat.patch 2014-08-17 20:12:51.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Fix deprecation warning + Patch maintains compatibility with wxPython 2.8 (wx.InitAllImageHandlers() + is a no-op there) +Author: Olly Betts +Forwarded: no +Last-Update: 2014-08-17 + +--- a/squaremap/squaremap.py ++++ b/squaremap/squaremap.py +@@ -486,7 +486,6 @@ + """Basic application for holding the viewing Frame""" + def OnInit(self): + """Initialise the application""" +- wx.InitAllImageHandlers() + self.frame = frame = wx.Frame( None, + ) + frame.CreateStatusBar()