Hello community, here is the log from the commit of package python-wxWidgets for openSUSE:Factory checked in at Mon Feb 7 12:11:58 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-wxWidgets/python-wxWidgets.changes 2010-12-21 19:37:31.000000000 +0100 @@ -0,0 +1,698 @@ +------------------------------------------------------------------- +Tue Dec 21 19:01:28 CET 2010 - sbrabec@suse.cz + +- Rename package to python-wxWidgets to follow upstream base name. +- Split wxPython to a separate package. +- Spec file completely rewritten. + +------------------------------------------------------------------- +Sun Aug 15 00:15:52 UTC 2010 - termim@gmail.com + +- Updated to version 2.8.11.0 + Adds Python 2.7 builds, PySlices, new pubsub implementation, + lots of updates to AGW, and lots of bugs fixed. +- Removed wxGTK-GSocket-clash.patch and wxGTK-editra-ebmlib.patch + as already fixed. + +------------------------------------------------------------------- +Tue Jun 15 16:15:11 CEST 2010 - sbrabec@suse.cz + +- Added --enable-graphics_ctx to fix Editra (bnc#580060). +- Added ebmlib file required by Editra (bnc#580060, + patch from Salix). + +------------------------------------------------------------------- +Mon Feb 22 14:58:36 UTC 2010 - crrodriguez@opensuse.org + +- build with PIC + +------------------------------------------------------------------- +Thu Jan 28 17:17:47 CET 2010 - sbrabec@suse.cz + +- Enabled media libraries (bnc#565039). + +------------------------------------------------------------------- +Fri Sep 25 17:53:00 CEST 2009 - sbrabec@suse.cz + +- Disabled STL (bnc#530027). See also + http://lists.opensuse.org/opensuse-factory/2009-09/msg00386.html +- Removed obsolete RPATH. +- The GSocket symbol clash fix replaced by the upstream one. + +------------------------------------------------------------------- +Thu Sep 17 18:33:20 CEST 2009 - matejcik@suse.cz + +- fixed pth file to point to platlib + +------------------------------------------------------------------- +Sat Sep 5 11:52:46 CEST 2009 - sbrabec@suse.cz + +- Fixed for the latest python package. + +------------------------------------------------------------------- +Fri Aug 7 16:51:39 CEST 2009 - sbrabec@suse.cz + +- Updated to version 2.8.10.1: + * Incompatible change in wxTreeCtrl behaviour! + * Added several functions forward compatible with wxWidgets 3.0. + * Add wxBU_EXACTFIT support to wxToggleButton XRC handler. + * wxHashMap::insert() doesn't update the value if it didn't + insert the element any more. + * Correct bug in wxTimeSpan::Format() for negative spans. + * Correct several bugs in wxList using end() iterators. + * Translation updates. + * Fix wxURL::GetInputStream() for URLs with special characters in + credentials. + * Fix wxURI::GetUser() for URIs without password. + * Correct wxDateTime DST computation for 2006 and later. + * wxRTC: fixed a problem with HTML list generation. + * wxRTC: no longer deletes a character when content is selected + before pressing Delete. + * wxRTC: fixed inability to select no superscript and no + subscript in formatting dialog. + * wxRTC: fixed centering and right-justification when combined + with left indentation. + * wxRTC: fixed lack of right margin when centering or + right-justifying. + * wxRTC: fixed wrong descent when wrapping lines with different + font sizes. + * wxRTC: fixed wrapping problem for long lines. + * wxRTC: all buffer margins now respected. + * wxRTC: Added wxRE_CENTRE_CARET to centre the caret line + vertically. + * Fixed wxHTML's pagebreaks computation in tables. + * Fixed wxHtmlWindow::SelectionToText() to correctly insert + newlines after single-cell paragraphs. + * Fixed wxHTML's line breaks handling in <pre> blocks. + * wxHTML: don't include extra whitespace in table cells. + * Implemented wxWindow::DragAcceptFiles() on all platforms. + * Added wxAUI_MGR_LIVE_RESIZE flag to wxAuiManager. + * Use bitmap mask in wxSplashScreen. + * Translate "(c)" and "(C)" to the real copyright sign in + wxAboutBox. + * Fix painting of highlight border for merged cells in wxGrid. + * Fix handling of long lines in wxGridCellAutoWrapStringRenderer. + * Return false from wxSingleInstanceChecker::IsAnotherRunning() + if an error occurred while opening or reading the lock file. + * Fixed printing to use fonts sizes adjustment consistent with + wxMSW. + * Make colours used by list, tree and status bar controls more + consistent with the system theme settings. + * Worked around bug in GTK+ < 2.14 where enabling some controls + such as wxButton didn't re-enable sensitivity until the mouse + was moved. + +------------------------------------------------------------------- +Thu Jun 18 19:16:27 CEST 2009 - sbrabec@suse.cz + +- Worked-around GSocket name conflict with GIO. + +------------------------------------------------------------------- +Tue Feb 17 17:29:57 CET 2009 - crrodriguez@suse.de + +- build require libexpat-devel so we dont use the bundled one + +------------------------------------------------------------------- +Wed Feb 4 13:58:35 CET 2009 - pth@suse.de + +- Disable the use of precompiled headers as the way wxWidgets uses + them is not supported by current GCC. + +------------------------------------------------------------------- +Tue Feb 3 13:03:20 CET 2009 - pth@suse.de + +- Update to 2.8.9.1: + * Optimize wxString::Replace() for single character arguments. + * Updated Hindi translation. + * Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available + in STL build; in particular do not use deprecated hash_{map,set} which + results in a lot of warnings from newer g++. + * Added support for reading alpha channel in BMP format. + * Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could + go underneath the left-hand pane, permanently, after resizing the + help window. + * Fixed wxHTML default font size for printing to be 12pt regardless of the + platform, instead of depending on GUI toolkit's screen configuration. + * Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version. + * Set wxKeyEvent::m_uniChar correctly in the events generated by generic + wxListCtrl. + * Fix changing size of merged cells in wxGrid. + * Fixed wrapping bug in wxRichTextCtrl when there were images present; + now sets the cursor to the next line after pressing Shift+Enter. + * Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl. + * Fix crash when reading malformed PCX images. + * Fix bug with wrong transparency in GIF animations. + * Store palette information for XPM images in wxImage. + * Fixed selection bugs and auto list numbering in wxRichTextCtrl. + * Significantly optimize wxGrid::BlockToDeviceRect() for large grids. + * Introduced new wxAuiToolBar class for better integration and look-and-feel. + * Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up + and mouse-down events + * wxAUI: added various NULL-ptr asserts. + * Fixed problem with Floatable(false) not working in wxAuiFrameManager. + * Fixed maximize bug in wxAUI. + * Allow period in link anchors in wxHTML. + * Fixed memory corruption in wxHTML when parsing "&;" in the markup. + * Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE. + * wxGrid doesn't steal focus when hiding editor any more. + * MIME types reading fixed when running under GNOME, reading .desktop + files and also the default application list. + * Added filesys.no-mimetypesmanager system option so that applications that + must load an XRC file at program startup don't have to incur the + mime types manager initialization penalty. + * Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap. + * Fixed generation of events for an initially empty wxDirPickerCtrl. + * Fixed detection of Meta key state so that NumLock isn't misdetected + as Meta (requires GTK+ 2.10). + * Fix changing font/colour of label in buttons with images. +- Make funtion return a value. + +------------------------------------------------------------------- +Wed Sep 3 17:38:50 CEST 2008 - sbrabec@suse.cz + +- Updated to version 2.8.8.1: + * many API-compatible fixes and improvements, see + docs/changes.txt for complete list + +------------------------------------------------------------------- +Mon Sep 1 15:16:05 CEST 2008 - sbrabec@suse.cz + +- Dropped obsolete ODBC support (bnc#397044). + +------------------------------------------------------------------- +Fri May 2 12:36:23 CEST 2008 - sbrabec@suse.cz + +- Don't unload libgnomevfs-2.so.0 on exit (bnc#380267). +- Removed obsolete configure options (bnc#380267#c7). + +------------------------------------------------------------------- +Fri Mar 28 15:19:40 CET 2008 - sbrabec@suse.cz + +- Updated to version 2.8.7.1: + * many API-compatible crash fixes, improvements and other fixes, + see docs/changes.txt for complete list + +------------------------------------------------------------------- +Tue Oct 2 15:54:24 CEST 2007 - sbrabec@suse.cz + ++++ 501 more lines (skipped) ++++ between /dev/null ++++ and /mounts/work_src_done/STABLE/python-wxWidgets/python-wxWidgets.changes calling whatdependson for head-i586 New: ---- pre_checkin.sh python-wxWidgets-extract-source python-wxWidgets.changes python-wxWidgets.spec rpmlintrc wxPython-2.8.11.0.tar.bz2 wxPython-abi.patch wxPython-missing_return.patch wxPython-no-GraphicsRenderer-CreateBitmap.patch wxPython-no-strict-aliasing.patch wxPython-platlib.patch wxPython-src-2.8.11.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wxWidgets.spec ++++++ # # spec file for package python-wxWidgets # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-wxWidgets %define srcname wxPython BuildRequires: fdupes gcc-c++ python-devel python-xml wxWidgets-devel License: GPLv2+ Group: System/Libraries Version: 2.8.11.0 Release: 1 %define wx_version %(echo %{version} | sed 's/\.[0-9][0-9]*\.[0-9][0-9]*$//') Summary: Python Bindings for wxWidgets # Trick: OSC checks for the first one, RPM for the second one. %if 0 # Source from http://www.wxpython.org/ Source: http://downloads.sourceforge.net/wxpython/%{srcname}-src-%{version}.tar.bz2 %else # WARNING: This is not a comment, but the real command to repack souce: #%(sh %{_sourcedir}/%{name}-extract-source %{srcname}-src-%{version}.tar.bz2) Source: %{srcname}-%{version}.tar.bz2 %endif Source1: rpmlintrc Source2: %{name}-extract-source Url: http://www.wxwidgets.org/ Provides: python-wxGTK = %{version} Obsoletes: python-wxGTK < %{version} # In fact it should be >= %{version} but only version < 2.9 Requires: python-wxWidgets-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch5: wxPython-missing_return.patch Patch7: wxPython-abi.patch Patch8: wxPython-no-strict-aliasing.patch Patch9: wxPython-no-GraphicsRenderer-CreateBitmap.patch Patch10: wxPython-platlib.patch %py_requires %define _use_internal_dependency_generator 0 %define __find_requires %wx_requires %description wxWidgets is a free C++ library for cross-platform GUI. This package contains python bindings for wxWidgets. %package devel License: GPLv2+ Summary: Everything needed for development with wxGTK Group: Development/Libraries/GNOME # Name up to openSUSE 11.3 and up to wxGTK-2.8.x: Provides: wxGTK-devel:%{_includedir}/wx-2.8/wx/wxPython/wxPython.h %description devel wxWidgets is a free C++ library for cross-platform GUI development. With wxWidgets, you can create applications for different GUIs (GTK+, Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. This package contains all files needed for developing with python bindings for wxGTK. %package lang License: GPLv2+ # We cannot use %%lang_package here. Editra translations use noarch incompatible path. Summary: Languages for package python-wxWidgets Group: System/Localization Requires: %{name} = %{version} Provides: %{name}-lang-all = %{version} Supplements: packageand(bundle-lang-other:%{name}) %description lang Provides translations to the package %{name} %prep %setup -q -n %{srcname}-src-%{version} %patch5 %patch7 %patch8 %patch9 %patch10 cp %{S:1} . %build cd wxPython python setup.py\ build %install cd wxPython python setup.py\ install\ --prefix=%{_prefix}\ --root=$RPM_BUILD_ROOT cd .. # Create %%lang tags for mo files in non-standard path: echo "%%defattr(-, root, root)" >Editra.lang for LNG_DIR in $RPM_BUILD_ROOT%{py_sitedir}/wx*/wx/tools/Editra/locale/* ; do LNG=${LNG_DIR##*/} echo "%%lang($LNG) %%{py_sitedir}${LNG_DIR#$RPM_BUILD_ROOT%{py_sitedir}}" >>Editra.lang done %fdupes $RPM_BUILD_ROOT%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc wxPython/docs/*.txt wxPython/docs/*.html wxPython/docs/screenshots wxPython/licence %{_bindir}/* %if %suse_version > 1110 %{python_sitearch}/* %{python_sitelib}/* %exclude %{python_sitearch}/wx*/wx/tools/Editra/locale/* %else %{py_sitedir}/* %exclude %{py_sitedir}/wx*/wx/tools/Editra/locale/* %endif %files lang -f Editra.lang %files devel %defattr(-, root, root) %{_includedir}/wx-%{wx_version}/wx/wxPython %changelog ++++++ pre_checkin.sh ++++++ #!/bin/sh for i in wxPython-*tar.bz2 ; do case $i in *clean*) continue ;; esac bash python-wxWidgets-extract-source $i done ++++++ python-wxWidgets-extract-source ++++++ #!/bin/bash # Upstream wxPython-src contain complete wxWidgets sources plus several # legally questionable files. That is why we repackage it here. set -x REMOVE_DIRS=( contrib/samples/applet/monitors.c "wxPython/distrib/msw/*.DLL" "wxPython/distrib/msw/*.dll" ) set -o errexit CMDNAME=${0##*/} SOURCEDIR=${0%$CMDNAME} BASENAME=${1%.tar.bz2} NEWNAME=${BASENAME/-src/}.tar.bz2 if ! test -f "$1" ; then exit 0 fi if test -f "$NEWNAME" ; then if test "$1" -ot "$NEWNAME" ; then if test $CMDNAME -ot "$NEWNAME" ; then exit 0 fi fi fi cd "$SOURCEDIR" trap "cd .. ; rm -rf $PWD/tmp$$.python-wxWidgets-extract-source" ERR rm -rf tmp$$.python-wxWidgets-extract-source mkdir tmp$$.python-wxWidgets-extract-source cd tmp$$.python-wxWidgets-extract-source tar -jxf "../$1" cd "$BASENAME" eval rm -rf "${REMOVE_DIRS[@]}" for ITEM in * ; do case "$ITEM" in wxPython | docs ) continue ;; * ) rm -r "$ITEM" esac done cd .. tar -jcf "$NEWNAME" "$BASENAME" mv "$NEWNAME" .. cd .. rm -r tmp$$.python-wxWidgets-extract-source ++++++ rpmlintrc ++++++ # Yes, editra has test files in the main package. addFilter("devel-file-in-non-devel-package") # We distribute files as upstream does. addFilter("non-executable-script") # We distribute files as upstream does. addFilter("script-without-shebang") # python-wxWidgets-lang does not need python-base addFilter("no-dependency-on") # python-wxWidgets-extract-source is definitely not a spec file. rpmlint seems to be broken and checks it as spec file. addFilter("specfile-error") ++++++ wxPython-abi.patch ++++++ --- wxPython/src/gtk/_gdi_wrap.cpp +++ wxPython/src/gtk/_gdi_wrap.cpp @@ -8,6 +8,7 @@ * interface file instead. * ----------------------------------------------------------------------------- */ +#define wxABI_VERSION 99999 #define SWIGPYTHON #define SWIG_PYTHON_DIRECTOR_NO_VTABLE ++++++ wxPython-missing_return.patch ++++++ --- wxPython/src/gtk/_gdi_wrap.cpp +++ wxPython/src/gtk/_gdi_wrap.cpp @@ -4080,7 +4080,7 @@ virtual void ResetClip() {} virtual void * GetNativeContext() { return NULL; } virtual int GetLogicalFunction() const { return 0; } - virtual bool SetLogicalFunction(int ) {} + virtual bool SetLogicalFunction(int ) {return false; } virtual void Translate( wxDouble , wxDouble ) {} virtual void Scale( wxDouble , wxDouble ) {} virtual void Rotate( wxDouble ) {} ++++++ wxPython-no-GraphicsRenderer-CreateBitmap.patch ++++++ --- wxPython/src/gtk/_gdi_wrap.cpp +++ wxPython/src/gtk/_gdi_wrap.cpp @@ -31375,46 +31375,6 @@ } -SWIGINTERN PyObject *_wrap_GraphicsRenderer_CreateBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxGraphicsRenderer *arg1 = (wxGraphicsRenderer *) 0 ; - wxBitmap *arg2 = 0 ; - wxGraphicsBitmap result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "bmp", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GraphicsRenderer_CreateBitmap",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGraphicsRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GraphicsRenderer_CreateBitmap" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'"); - } - arg1 = reinterpret_cast< wxGraphicsRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GraphicsRenderer_CreateBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GraphicsRenderer_CreateBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); - } - arg2 = reinterpret_cast< wxBitmap * >(argp2); - { - result = (arg1)->CreateBitmap((wxBitmap const &)*arg2); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((new wxGraphicsBitmap(static_cast< const wxGraphicsBitmap& >(result))), SWIGTYPE_p_wxGraphicsBitmap, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *GraphicsRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -40354,7 +40314,6 @@ { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction) _wrap_GraphicsRenderer_CreateLinearGradientBrush, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction) _wrap_GraphicsRenderer_CreateRadialGradientBrush, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GraphicsRenderer_CreateFont", (PyCFunction) _wrap_GraphicsRenderer_CreateFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"GraphicsRenderer_CreateBitmap", (PyCFunction) _wrap_GraphicsRenderer_CreateBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister, METH_VARARGS, NULL}, { (char *)"new_GCDC", _wrap_new_GCDC, METH_VARARGS, NULL}, { (char *)"delete_GCDC", (PyCFunction)_wrap_delete_GCDC, METH_O, NULL}, ++++++ wxPython-no-strict-aliasing.patch ++++++ --- wxPython/wx/tools/Editra/setup.py +++ wxPython/wx/tools/Editra/setup.py @@ -342,7 +342,7 @@ # Force optimization if 'install' in sys.argv and ('O1' not in sys.argv or '02' not in sys.argv): - sys.argv.append('-O2') + sys.argv.append('-O2 -fno-strict-aliasing') # Install the plugins for this version of Python DATA.append("plugins/*py%d.%d.egg" % sys.version_info[:2]) ++++++ wxPython-platlib.patch ++++++ --- wxPython/config.py +++ wxPython/config.py @@ -43,6 +43,8 @@ import distutils.command.install_headers import distutils.command.clean +import distutils.sysconfig + #---------------------------------------------------------------------- # flags and values that affect this script #---------------------------------------------------------------------- @@ -685,7 +687,7 @@ if FLAVOUR: ep += "-" + FLAVOUR - return ep + return os.path.join(distutils.sysconfig.get_python_lib(True), ep) #---------------------------------------------------------------------- # These functions and class are copied from distutils in Python 2.5 @@ -695,7 +697,6 @@ # the -arch and -isysroot args provided by Python. import distutils.unixccompiler -import distutils.sysconfig from distutils.errors import DistutilsExecError, CompileError def _darwin_compiler_fixup(compiler_so, cc_args): ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org