Package: boa-constructor
Version: 0.6.1-11
Tags: patch
User: freewx-ma...@lists.alioth.debian.org
Usertags: wx2.6to2.8

I'm trying to get packages to migrate from wxwidgets2.6 to wxwidgets2.8
so we can remove the former from the archive - it's no longer supported
upstream, and wxwidgets3.0 is supposed to be out early next year.

I updated boa-constructor as per the attached patch to see what might
be needed.

I'm not familiar with the package, but it generally seems to work fine
except that if I create a new PythonApp then exit the application and
say "No" to saving, I get a segfault.  I don't get that with 0.6.1-11 (the
version currently in unstable).

I think the segfault really needs investigating before upload, and more
thorough testing would be appropriate anyway, but hopefully the attached
patch is a useful start.

Cheers,
    Olly
diff -Nru boa-constructor-0.6.1/debian/changelog boa-constructor-0.6.1/debian/changelog
--- boa-constructor-0.6.1/debian/changelog	2011-03-22 11:07:11.000000000 +1300
+++ boa-constructor-0.6.1/debian/changelog	2011-10-19 00:50:53.000000000 +1300
@@ -1,3 +1,10 @@
+boa-constructor (0.6.1-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update to use python-wxgtk2.8.
+
+ -- Olly Betts <o...@survex.com>  Tue, 18 Oct 2011 11:50:11 +0000
+
 boa-constructor (0.6.1-11) unstable; urgency=low
 
   * debian/source:
diff -Nru boa-constructor-0.6.1/debian/control boa-constructor-0.6.1/debian/control
--- boa-constructor-0.6.1/debian/control	2011-03-22 11:05:53.000000000 +1300
+++ boa-constructor-0.6.1/debian/control	2011-10-19 00:49:55.000000000 +1300
@@ -13,7 +13,7 @@
 
 Package: boa-constructor
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, pychecker, python-wxgtk2.6
+Depends: ${misc:Depends}, ${python:Depends}, pychecker, python-wxgtk2.8
 Suggests: python-pyparsing
 Description: RAD tool for Python and wxWindows application
  Boa-constructor is an IDE oriented towards creating cross-platform
diff -Nru boa-constructor-0.6.1/debian/patches/debian-changes-0.6.1-11.1 boa-constructor-0.6.1/debian/patches/debian-changes-0.6.1-11.1
--- boa-constructor-0.6.1/debian/patches/debian-changes-0.6.1-11.1	1970-01-01 12:00:00.000000000 +1200
+++ boa-constructor-0.6.1/debian/patches/debian-changes-0.6.1-11.1	2011-10-19 00:55:49.000000000 +1300
@@ -0,0 +1,37 @@
+Description: Upstream changes introduced in version 0.6.1-11.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ boa-constructor (0.6.1-11.1) unstable; urgency=low
+ .
+   * Non-maintainer upload.
+   * Update to use python-wxgtk2.8.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Olly Betts <o...@survex.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- boa-constructor-0.6.1.orig/Boa.py
++++ boa-constructor-0.6.1/Boa.py
+@@ -229,7 +229,7 @@ try:
+     if not hasattr(sys, 'frozen'):
+         import wxversion
+         if wxVersionSelect is None:
+-            wxversion.select('2.8')
++            wxversion.ensureMinimal('2.5')
+         else:
+             wxversion.select(wxVersionSelect)
+ except ImportError:
diff -Nru boa-constructor-0.6.1/debian/patches/select_wxpython_2_6.patch boa-constructor-0.6.1/debian/patches/select_wxpython_2_6.patch
--- boa-constructor-0.6.1/debian/patches/select_wxpython_2_6.patch	2009-07-31 09:17:45.000000000 +1200
+++ boa-constructor-0.6.1/debian/patches/select_wxpython_2_6.patch	1970-01-01 12:00:00.000000000 +1200
@@ -1,17 +0,0 @@
-Description:	Use xwpython 2.6.
-Origin:		Debian
-Forwarded:	not-needed
-
-Index: boa-constructor-0.6.1/Boa.py
-===================================================================
---- boa-constructor-0.6.1.orig/Boa.py	2009-04-11 15:57:01.000000000 +0200
-+++ boa-constructor-0.6.1/Boa.py	2009-04-11 15:57:09.000000000 +0200
-@@ -230,7 +230,7 @@
-     if not hasattr(sys, 'frozen'):
-         import wxversion
-         if wxVersionSelect is None:
--            wxversion.ensureMinimal('2.5')
-+            wxversion.select('2.6')
-         else:
-             wxversion.select(wxVersionSelect)
- except ImportError:
diff -Nru boa-constructor-0.6.1/debian/patches/select_wxpython_2_8.patch boa-constructor-0.6.1/debian/patches/select_wxpython_2_8.patch
--- boa-constructor-0.6.1/debian/patches/select_wxpython_2_8.patch	1970-01-01 12:00:00.000000000 +1200
+++ boa-constructor-0.6.1/debian/patches/select_wxpython_2_8.patch	2011-10-19 00:53:23.000000000 +1300
@@ -0,0 +1,30 @@
+Description:	Use wxpython 2.8.
+Origin:		Debian
+Forwarded:	not-needed
+
+Index: boa-constructor-0.6.1/Boa.py
+===================================================================
+--- boa-constructor-0.6.1.orig/Boa.py	2009-04-11 15:57:01.000000000 +0200
++++ boa-constructor-0.6.1/Boa.py	2009-04-11 15:57:09.000000000 +0200
+@@ -230,7 +230,7 @@
+     if not hasattr(sys, 'frozen'):
+         import wxversion
+         if wxVersionSelect is None:
+-            wxversion.ensureMinimal('2.5')
++            wxversion.select('2.8')
+         else:
+             wxversion.select(wxVersionSelect)
+ except ImportError:
+Index: boa-constructor-0.6.1/Examples/Everything.py
+===================================================================
+--- boa-constructor-0.6.1.orig/Examples/Everything.py
++++ boa-constructor-0.6.1/Examples/Everything.py
+@@ -3,7 +3,7 @@
+ """ Frame containing all controls available on the Palette. """
+ 
+ import wxversion
+-wxversion.select('2.5')
++wxversion.select('2.8')
+ 
+ import wx
+ from wx.lib.anchors import LayoutAnchors
diff -Nru boa-constructor-0.6.1/debian/patches/series boa-constructor-0.6.1/debian/patches/series
--- boa-constructor-0.6.1/debian/patches/series	2010-06-07 21:54:28.000000000 +1200
+++ boa-constructor-0.6.1/debian/patches/series	2011-10-19 00:55:49.000000000 +1300
@@ -1,6 +1,7 @@
-select_wxpython_2_6.patch
+select_wxpython_2_8.patch
 executable_script_fixup.patch
 no_maxint.patch
 no_double_free.patch
 stdlib.patch
 string_exceptions.patch
+debian-changes-0.6.1-11.1

Reply via email to