parent
f5a8423556
commit
eec544ee3e
5 changed files with 53 additions and 6 deletions
|
|
@ -1 +1 @@
|
|||
wxPython-src-2.6.3.2.tar.gz
|
||||
wxPython-src-2.8.11.0.tar.bz2
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
04fc1079430b18e6fd097b3287e9ae10 wxPython-src-2.8.7.1.tar.bz2
|
||||
63f73aae49e530852db56a31b57529fa wxPython-src-2.8.11.0.tar.bz2
|
||||
|
|
|
|||
24
wxPython-2.8.11.0-aui.patch
Normal file
24
wxPython-2.8.11.0-aui.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
11
wxPython-2.8.9.2-treelist.patch
Normal file
11
wxPython-2.8.9.2-treelist.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- 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 ;
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
%define buildflags WXPORT=gtk2 UNICODE=1
|
||||
|
||||
Name: wxPython
|
||||
Version: 2.8.7.1
|
||||
Release: 2%{?dist}
|
||||
Version: 2.8.11.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: GUI toolkit for the Python programming language
|
||||
|
||||
|
|
@ -13,9 +13,14 @@ Group: Development/Languages
|
|||
License: LGPL
|
||||
URL: http://www.wxpython.org/
|
||||
Source0: http://dl.sf.net/wxpython/wxPython-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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# make sure to keep this updated as appropriate
|
||||
BuildRequires: wxGTK-devel >= 2.8.7
|
||||
BuildRequires: wxGTK-devel >= 2.8.11
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel
|
||||
BuildRequires: libGL-devel, libGLU-devel
|
||||
|
|
@ -49,6 +54,11 @@ programs which use the wxPython toolkit.
|
|||
|
||||
%prep
|
||||
%setup -q -n wxPython-src-%{version}
|
||||
%patch0 -p1 -b .treelist
|
||||
%patch1 -p1 -b .aui
|
||||
|
||||
# fix libdir otherwise additional wx libs cannot be found
|
||||
sed -i -e 's|/usr/lib|%{_libdir}|' wxPython/config.py
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -84,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%dir %{python_sitearch}/wx-2.8-gtk2-unicode/
|
||||
%{python_sitearch}/wx-2.8-gtk2-unicode/wx
|
||||
%{python_sitearch}/wx-2.8-gtk2-unicode/wxPython
|
||||
%{python_sitelib}/wxaddons
|
||||
%if 0%{?fedora} >= 9
|
||||
%{python_sitelib}/*egg-info
|
||||
%{python_sitearch}/wx-2.8-gtk2-unicode/*egg-info
|
||||
|
|
@ -101,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon May 31 2010 Dan Horák <dan[at]danny.cz> - 2.8.11.0-1
|
||||
- update to 2.8.11.0 (#593837, #595936, #597639)
|
||||
|
||||
* Thu Feb 21 2008 Matthew Miller <mattdm@mattdm.org> - 2.8.7.1-2
|
||||
- include egg-info files for fedora 9 or greater
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue