Hello community, here is the log from the commit of package python-wxWidgets-2_9 for openSUSE:Factory checked in at 2012-11-12 07:05:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wxWidgets-2_9 (Old) and /work/SRC/openSUSE:Factory/.python-wxWidgets-2_9.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wxWidgets-2_9", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2012-10-22 00:44:18.403455820 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxWidgets-2_9.new/python-wxWidgets-2_9.changes 2012-11-12 07:05:14.000000000 +0100 @@ -0,0 +1,734 @@ +------------------------------------------------------------------- +Mon Oct 29 18:20:03 CET 2012 - [email protected] + +- Branch new package for the new version: python-wxWidgets-2_9. +- Update to version 2.9.4.0. + * New branch. + * Compatible with wxWidgets-2_9-2.9.4. + * See CHANGES.txt for details. +- Copy wxWidgets includes in python-wxWidgets-2_9-extract-source. + +------------------------------------------------------------------- +Fri Oct 26 16:33:02 CEST 2012 - [email protected] + +- Recommend lang package instead of Requires. + +------------------------------------------------------------------- +Mon Apr 2 14:01:14 CEST 2012 - [email protected] + +- Update to version 2.8.12.1: + * Compatible with wxWidgets-2.8.12 (bnc#740950). + * Added ToolTipString property to wx.Window. + * Bug and typo fixes. +- Require exact version of wxWidgets for build and runtime + (bnc#740950). + +------------------------------------------------------------------- +Fri Mar 4 12:58:56 CET 2011 - [email protected] + +- Provide symbol wxPython2.8-gtk2-unicode that is required by some + third party packages. + +------------------------------------------------------------------- +Wed Feb 16 14:32:34 CET 2011 - [email protected] + +- Provide symbol wxPython as package did in past. + +------------------------------------------------------------------- +Tue Dec 21 19:01:28 CET 2010 - [email protected] + +- 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 - [email protected] + +- 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 - [email protected] + +- 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 - [email protected] + +- build with PIC + +------------------------------------------------------------------- +Thu Jan 28 17:17:47 CET 2010 - [email protected] + +- Enabled media libraries (bnc#565039). + +------------------------------------------------------------------- +Fri Sep 25 17:53:00 CEST 2009 - [email protected] + +- 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 - [email protected] + +- fixed pth file to point to platlib + +------------------------------------------------------------------- +Sat Sep 5 11:52:46 CEST 2009 - [email protected] + +- Fixed for the latest python package. + +------------------------------------------------------------------- +Fri Aug 7 16:51:39 CEST 2009 - [email protected] + +- 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 - [email protected] + +- Worked-around GSocket name conflict with GIO. + +------------------------------------------------------------------- +Tue Feb 17 17:29:57 CET 2009 - [email protected] + +- build require libexpat-devel so we dont use the bundled one + +------------------------------------------------------------------- +Wed Feb 4 13:58:35 CET 2009 - [email protected] + +- 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 - [email protected] + +- 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 ++++ 537 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.python-wxWidgets-2_9.new/python-wxWidgets-2_9.changes New: ---- pre_checkin.sh python-wxWidgets-2_9-extract-source python-wxWidgets-2_9.changes python-wxWidgets-2_9.spec rpmlintrc wxPython-2.9.4.0.tar.bz2 wxPython-platlib.patch wxPython-src-2.9.4.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wxWidgets-2_9.spec ++++++ # # spec file for package python-wxWidgets # # Copyright (c) 2012 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-2_9 %define srcname wxPython BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-devel BuildRequires: python-xml BuildRequires: wxWidgets-2_9-devel Version: 2.9.4.0 Release: 0 %define wx_version %(echo %{version} | sed 's/\.[0-9][0-9]*\.[0-9][0-9]*$//') %define wx_release %(echo %{version} | sed 's/\.[0-9][0-9]*$//') Summary: Python Bindings for wxWidgets License: GPL-2.0+ Group: System/Libraries # Trick: OSC checks for the first one, RPM for the second one. %if 0 # Source from http://www.wxpython.org/ contains complete wxWidgets # source tree and proprietary Microsoft Visual Studio DLLs. # We will repackage only a needed subset of files. 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.wxpython.org/ # Used up to openSUSE 11.3: Provides: python-wxGTK = %{version} Obsoletes: python-wxGTK < %{version} # Upstream name, never used in SUSE: Provides: wxPython = %{version} # Third party packages name, never used in SUSE: Provides: wxPython%{wx_version}-gtk2-unicode = %{version} # In fact it should be >= %{version} but only version < 3.1 Recommends: python-wxWidgets-2_9-lang = %{version} Provides: python-wxWidgets = %{version} Conflicts: python-wxWidgets < %{version} # Stable name of this branch will be 3.0: Provides: python-wxWidgets-3_0 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build # PATCH-FIX-UPSTREAM wxPython-platlib.patch widgets#14779 [email protected] -- Do not expect platform dependent and platform independent paths being equal. http://trac.wxwidgets.org/ticket/14779 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 Summary: Everything needed for development with wxGTK Group: Development/Libraries/GNOME Provides: python-wxWidgets-devel = %{version} Conflicts: python-wxWidgets-devel < %{version} # Stable name of this branch will be 3.0: Provides: python-wxWidgets-3_0-devel = %{version} %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 # 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 # osc does not support BuildRequires with exact version defined by macro. Check it now. if test "`rpm -q --queryformat=%{VERSION} wxWidgets-2_9-devel`" != "%{wx_release}" ; then echo "To compile %{name} = %{version}, you need wxWidgets-2_9-devel = %{wx_version}" # exit 1 fi %setup -q -n %{srcname}-src-%{version} %patch10 cp %{S:1} . %build cd wxPython python setup.py\ build %install # python-wxWidgets requires exact release of wxWidgets (bnc#740950). cat >pywx_requires <<EOF #!/bin/sh %wx_requires | while read ; do case "\$REPLY" in libwx_* ) echo "\$REPLY" = %{wx_release} ;; * ) echo "\$REPLY" ;; esac done EOF chmod +x pywx_requires %define __find_requires %{_builddir}/%{srcname}-src-%{version}/pywx_requires 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-src-*tar.bz2 ; do bash python-wxWidgets-2_9-extract-source $i done ++++++ python-wxWidgets-2_9-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[@]}" # wxpython now requires private headers that are not installed in the wxWidgets installation: mv include/wx/* wxPython/include/wx/ rmdir include/wx rmdir include 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-platlib.patch ++++++ --- wxPython/config.py +++ wxPython/config.py @@ -48,6 +48,8 @@ import distutils.command.clean from cfg_version import * +import distutils.sysconfig + #---------------------------------------------------------------------- # flags and values that affect this script #---------------------------------------------------------------------- @@ -691,7 +693,7 @@ def getExtraPath(shortVer=True, addOpts= if FLAVOUR: ep += "-" + FLAVOUR - return ep + return os.path.join(distutils.sysconfig.get_python_lib(True), ep) def getoutput(cmd): @@ -724,7 +726,6 @@ def getVisCVersion(): # 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): -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
