Package: treeviewx
Version: 0.5.1-6
Severity: wishlist
Tags: patch
User: freewx-ma...@lists.alioth.debian.org
Usertags: wx2.6

Attached is a patch which switches treeviewx to build against
wxwidgets 2.8. It's been tested to build correctly and to run the
application.

Please apply it to the package and test that the package still works
as expected.

Please also test whether this bug still happens:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392365

Cheers,
Ryan

-- 
_________________________
Ryan Niebur
ryanrya...@gmail.com
diff -u treeviewx-0.5.1/debian/control treeviewx-0.5.1/debian/control
--- treeviewx-0.5.1/debian/control
+++ treeviewx-0.5.1/debian/control
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Charles Plessy <ple...@debian.org>,
  Andreas Tille <ti...@debian.org>
-Build-Depends: debhelper (>= 7.1), cdbs, autotools-dev, quilt, libwxgtk2.6-dev
+Build-Depends: debhelper (>= 7.1), cdbs, autotools-dev, quilt, libwxgtk2.8-dev
 Standards-Version: 3.8.3
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/treeviewx/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/treeviewx/trunk/
diff -u treeviewx-0.5.1/debian/changelog treeviewx-0.5.1/debian/changelog
--- treeviewx-0.5.1/debian/changelog
+++ treeviewx-0.5.1/debian/changelog
@@ -1,3 +1,10 @@
+treeviewx (0.5.1-6.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * switch to wxwidgets 2.8
+
+ -- Ryan Niebur <r...@debian.org>  Wed, 27 Jan 2010 19:27:27 -0800
+
 treeviewx (0.5.1-6) unstable; urgency=low
 
   [ Charles Plessy ]
diff -u treeviewx-0.5.1/debian/patches/series treeviewx-0.5.1/debian/patches/series
--- treeviewx-0.5.1/debian/patches/series
+++ treeviewx-0.5.1/debian/patches/series
@@ -6,0 +7 @@
+90_fix_for_wx2.8.diff
only in patch2:
unchanged:
--- treeviewx-0.5.1.orig/debian/patches/90_fix_for_wx2.8.diff
+++ treeviewx-0.5.1/debian/patches/90_fix_for_wx2.8.diff
@@ -0,0 +1,11 @@
+--- treeviewx-0.5.1.orig/tview.cpp
++++ treeviewx-0.5.1/tview.cpp
+@@ -994,7 +994,7 @@
+ MyCanvas::MyCanvas(wxView *v, wxMDIChildFrame *frame, const wxPoint& pos, const wxSize& size, long style):
+  wxScrolledWindow(frame, -1, pos, size, style)
+ {
+-	SetBackgroundColour(wxColour("WHITE"));
++    SetBackgroundColour(wxColour(wxT("WHITE")));
+ 	view = v;
+ 	magnification = 1;
+ }

Attachment: signature.asc
Description: Digital signature

Reply via email to