update to 2.8.12.0 (#699207)

This commit is contained in:
Dan Horák 2011-04-30 16:08:20 +02:00
commit 1698277247
6 changed files with 33 additions and 43 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
wxPython-src-2.8.11.0.tar.bz2
/wxPython-src-2.8.12.0.tar.bz2

View file

@ -1 +1 @@
63f73aae49e530852db56a31b57529fa wxPython-src-2.8.11.0.tar.bz2
402e0b81e06f596d849e221a7a76acc6 wxPython-src-2.8.12.0.tar.bz2

View file

@ -1,24 +0,0 @@
diff -up wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_pages.py.aui wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_pages.py
--- wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_pages.py.aui 2010-05-27 15:38:42.000000000 +0200
+++ wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_pages.py 2010-05-27 15:38:50.000000000 +0200
@@ -36,7 +36,7 @@ import ed_txt
import ed_mdlg
import ebmlib
import eclib
-from extern import aui
+from wx.lib.agw import aui
#--------------------------------------------------------------------------#
# Globals
diff -up wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_shelf.py.aui wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_shelf.py
--- wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_shelf.py.aui 2010-05-27 15:38:20.000000000 +0200
+++ wxPython-src-2.8.11.0/wxPython/wx/tools/Editra/src/ed_shelf.py 2010-05-27 15:38:28.000000000 +0200
@@ -28,7 +28,7 @@ import ed_glob
from profiler import Profile_Get
import plugin
import iface
-import extern.aui as aui
+from wx.lib.agw import aui
#--------------------------------------------------------------------------#
# Globals

View file

@ -0,0 +1,24 @@
diff -up wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_pages.py.aui wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_pages.py
--- wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_pages.py.aui 2011-04-13 22:28:07.000000000 +0200
+++ wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_pages.py 2011-04-26 08:40:13.000000000 +0200
@@ -37,7 +37,7 @@ import ed_txt
import ed_mdlg
import ebmlib
import eclib
-from extern import aui
+from wx.lib.agw import aui
import ed_book
#--------------------------------------------------------------------------#
diff -up wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_shelf.py.aui wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_shelf.py
--- wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_shelf.py.aui 2011-04-13 22:28:07.000000000 +0200
+++ wxPython-src-2.8.12.0/wxPython/wx/tools/Editra/src/ed_shelf.py 2011-04-26 08:40:26.000000000 +0200
@@ -29,7 +29,7 @@ from profiler import Profile_Get
import ed_msg
import plugin
import iface
-from extern import aui
+from wx.lib.agw import aui
import ed_book
#--------------------------------------------------------------------------#

View file

@ -1,11 +0,0 @@
--- wxPython-src-2.8.9.2/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp.orig 2009-04-10 23:03:18.000000000 +0200
+++ wxPython-src-2.8.9.2/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp 2009-04-10 23:03:41.000000000 +0200
@@ -10321,7 +10321,7 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_
PyObject *resultobj = 0;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- wxTreeItemId const &arg3_defvalue = NULL ;
+ wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
bool arg4 = (bool) true ;
void *argp1 = 0 ;

View file

@ -4,8 +4,8 @@
%define buildflags WXPORT=gtk2 UNICODE=1
Name: wxPython
Version: 2.8.11.0
Release: 2%{?dist}
Version: 2.8.12.0
Release: 1%{?dist}
Summary: GUI toolkit for the Python programming language
@ -13,11 +13,9 @@ Group: Development/Languages
License: LGPLv2+ and wxWidgets
URL: http://www.wxpython.org/
Source0: http://downloads.sourceforge.net/wxpython/%{name}-src-%{version}.tar.bz2
# http://trac.wxwidgets.org/ticket/10703
Patch0: wxPython-2.8.9.2-treelist.patch
# fix aui imports
# http://trac.wxwidgets.org/ticket/12107
Patch1: wxPython-2.8.11.0-aui.patch
Patch0: wxPython-2.8.12.0-aui.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# make sure to keep this updated as appropriate
BuildRequires: wxGTK-devel >= 2.8.11
@ -59,8 +57,7 @@ Documentation, samples and demo application for wxPython.
%prep
%setup -q -n wxPython-src-%{version}
%patch0 -p1 -b .treelist
%patch1 -p1 -b .aui
%patch0 -p1 -b .aui
# fix libdir otherwise additional wx libs cannot be found
sed -i -e 's|/usr/lib|%{_libdir}|' wxPython/config.py
@ -119,6 +116,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Apr 26 2011 Dan Horák <dan[at]danny.cz> - 2.8.12.0-1
- update to 2.8.12.0 (#699207)
* Sun Jul 11 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.8.11.0-2
- Include egg-info when build on recent RHEL