Package: playonlinux
Version: 4.2.3-1
Severity: important
Tags: patch sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wxpy3.0
Control: block 755757 by -1
We're aiming to migrate the archive to using wxpython3.0 instead of
wxwidgets2.8, and hope to drop wxwidgets2.8 before jessie is released.
I've attached a patch which updates the dependency on python-wxgtk2.8 to
python-wxgtk3.0, and updates a constant to be compatible with
wxpython3.0. I didn't test the rebuilt package due to the scary
disclaimer (and it would be much better tested by someone who actually
uses it and owns some windows games):
| Disclaimer: PlayOnLinux downloads and execute unchecked third-party
| scripts.
If you hit any problems you can't easily solve, let me know and I can
try to help.
Cheers,
Olly
diff -Nru playonlinux-4.2.3/debian/changelog playonlinux-4.2.3/debian/changelog
--- playonlinux-4.2.3/debian/changelog 2014-07-13 22:15:31.0 +1200
+++ playonlinux-4.2.3/debian/changelog 2014-08-08 12:46:55.0 +1200
@@ -1,3 +1,11 @@
+playonlinux (4.2.3-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Update to depend on python-wxgtk3.0 rather than python-wxgtk2.8.
++ New patch wxpy3.0-compat.patch.
+
+ -- Olly Betts o...@survex.com Fri, 08 Aug 2014 12:46:39 +1200
+
playonlinux (4.2.3-1) unstable; urgency=medium
* New upstream release (Closes: #749135).
diff -Nru playonlinux-4.2.3/debian/control playonlinux-4.2.3/debian/control
--- playonlinux-4.2.3/debian/control 2014-01-26 00:54:03.0 +1300
+++ playonlinux-4.2.3/debian/control 2014-08-08 12:45:30.0 +1200
@@ -11,7 +11,7 @@
Package: playonlinux
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, wine|wine-unstable, unzip, wget, xterm|x-terminal-emulator, python-wxgtk2.8, imagemagick, cabextract, mesa-utils, gettext-base, binutils, gnupg, icoutils, x11-utils, curl, netcat, bzip2, p7zip-full
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, wine|wine-unstable, unzip, wget, xterm|x-terminal-emulator, python-wxgtk3.0, imagemagick, cabextract, mesa-utils, gettext-base, binutils, gnupg, icoutils, x11-utils, curl, netcat, bzip2, p7zip-full
Suggests: ttf-mscorefonts-installer, scrot
Description: front-end for Wine
PlayOnLinux is a front-end for wine. It permits you to easily install Windows
diff -Nru playonlinux-4.2.3/debian/patches/series playonlinux-4.2.3/debian/patches/series
--- playonlinux-4.2.3/debian/patches/series 2013-05-05 04:34:34.0 +1200
+++ playonlinux-4.2.3/debian/patches/series 2014-08-08 12:44:21.0 +1200
@@ -1,2 +1,3 @@
set_debian_env.diff
remove_binary_plugin.diff
+wxpy3.0-compat.patch
diff -Nru playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch
--- playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch 1970-01-01 12:00:00.0 +1200
+++ playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch 2014-08-08 12:46:30.0 +1200
@@ -0,0 +1,17 @@
+Description: Compatibility fixes for wxPython 3.0
+ Note: This change maintains compatibility with 2.8.
+Author: Olly Betts o...@survex.com
+Forwarded: no
+Last-Update: 2014-08-07
+
+--- playonlinux-4.2.3.orig/python/mainwindow.py
playonlinux-4.2.3/python/mainwindow.py
+@@ -688,7 +688,7 @@ class MainWindow(wx.Frame):
+ \|JPG (*.jpg)|*.jpg;*.JPG\
+ \|BMP (*.bmp)|*.bmp;*.BMP\
+ \|JPEG (*.jpeg)|*.jpeg;*JPEG
+-self.IconDialog = wx.FileDialog(self, Choose a icon file, self.IconDir, , self.SupprotedIconExt, wx.OPEN | wx.FD_PREVIEW)
++self.IconDialog = wx.FileDialog(self, Choose a icon file, self.IconDir, , self.SupprotedIconExt, wx.FD_OPEN | wx.FD_PREVIEW)
+ if self.IconDialog.ShowModal() == wx.ID_OK:
+ self.IconFilename=self.IconDialog.GetFilename()
+ self.IconDirname=self.IconDialog.GetDirectory()