Hello community, here is the log from the commit of package perl-Wx for openSUSE:Factory checked in at 2015-04-18 10:39:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Wx (Old) and /work/SRC/openSUSE:Factory/.perl-Wx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Wx" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Wx/perl-Wx.changes 2014-07-10 09:31:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Wx.new/perl-Wx.changes 2015-04-18 10:39:26.000000000 +0200 @@ -1,0 +2,25 @@ +Wed Apr 15 12:22:14 UTC 2015 - [email protected] + +- updated to 0.9927 + see /usr/share/doc/packages/perl-Wx/Changes + + 0.9927 Thu Mar 26 2015 + - Fix broken wxWidgets 2.8 builds + + 0.9926 Tue Mar 10 2015 + - pause indexing fix + + 0.9925 Tue Mar 10 2015 + - pause indexing fix + + 0.9924 Tue Mar 10 2015 + - added wxTimer::StartOnce + - some missing wxGrid constants added + - fixed Wx::AUI events broken since wxWidgets 2.9.5 + - rt96136 - added GetContentScaleFactor to Wx::DC && Wx::Window + - rt99038 - MACOSX_DEPLOYMENT_TARGET comparison fixed in Wx build + - wxMenuItem::SetBitmap available on OSX + - added some missing TextEntry methods to wxComboBox + - rt102269 - fix option handling + +------------------------------------------------------------------- Old: ---- Wx-0.9923.tar.gz New: ---- Wx-0.9927.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Wx.spec ++++++ --- /var/tmp/diff_new_pack.MugLDa/_old 2015-04-18 10:39:27.000000000 +0200 +++ /var/tmp/diff_new_pack.MugLDa/_new 2015-04-18 10:39:27.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Wx # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,33 @@ Name: perl-Wx -Version: 0.9923 +Version: 0.9927 Release: 0 %define cpan_name Wx -Summary: interface to the wxWidgets cross-platform GUI toolkit +Summary: Interface to the Wxwidgets Cross-Platform Gui Toolkit License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Wx/ -Source: http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz -Source100: perl-Wx-rpmlintrc +Source0: http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz +Source1: perl-Wx-rpmlintrc +Source2: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Alien::wxWidgets) >= 0.25 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.46 BuildRequires: perl(ExtUtils::ParseXS) >= 3.15 BuildRequires: perl(ExtUtils::XSpp) >= 0.1602 Requires: perl(Alien::wxWidgets) >= 0.25 +Requires: perl(ExtUtils::MakeMaker) >= 6.46 +Requires: perl(ExtUtils::ParseXS) >= 3.15 +Requires: perl(ExtUtils::XSpp) >= 0.1602 %{perl_requires} -# MANUAL +# MANUAL BEGIN BuildRequires: gcc-c++ BuildRequires: wxWidgets-ansi-devel BuildRequires: xspp +# MANUAL END %description The Wx module is a wrapper for the wxWidgets (formerly known as wxWindows) @@ -55,7 +61,7 @@ %{__make} %{?_smp_mflags} %check -# needs X display +# MANUAL no testing (needs X) #%{__make} test %install @@ -65,6 +71,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README.txt typemap.tmpl typemap.xsp wxpl.ico wxpl.xpm Wx.rc +%doc Changes docs README.txt samples typemap.tmpl typemap.xsp wxpl.ico wxpl.xpm Wx.rc %changelog ++++++ Wx-0.9923.tar.gz -> Wx-0.9927.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/Changes new/Wx-0.9927/Changes --- old/Wx-0.9923/Changes 2014-03-31 15:10:52.000000000 +0200 +++ new/Wx-0.9927/Changes 2015-03-26 18:43:52.000000000 +0100 @@ -1,5 +1,24 @@ Revision history for Perl extension Wx. +0.9927 Thu Mar 26 2015 + - Fix broken wxWidgets 2.8 builds + +0.9926 Tue Mar 10 2015 + - pause indexing fix + +0.9925 Tue Mar 10 2015 + - pause indexing fix + +0.9924 Tue Mar 10 2015 + - added wxTimer::StartOnce + - some missing wxGrid constants added + - fixed Wx::AUI events broken since wxWidgets 2.9.5 + - rt96136 - added GetContentScaleFactor to Wx::DC && Wx::Window + - rt99038 - MACOSX_DEPLOYMENT_TARGET comparison fixed in Wx build + - wxMenuItem::SetBitmap available on OSX + - added some missing TextEntry methods to wxComboBox + - rt102269 - fix option handling + 0.9923 Mon Mar 31 2014 - added wxWindow::InitDialog - updated wxComboBox::GetSelection diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/Constant.xs new/Wx-0.9927/Constant.xs --- old/Wx-0.9923/Constant.xs 2014-03-08 14:01:10.000000000 +0100 +++ new/Wx-0.9927/Constant.xs 2014-11-02 20:27:34.000000000 +0100 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 29/10/2000 -// RCS-ID: $Id: Constant.xs 3470 2013-04-13 08:38:19Z mdootson $ +// RCS-ID: $Id: Constant.xs 3527 2014-11-02 19:27:35Z mdootson $ // Copyright: (c) 2000-2011 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself @@ -124,6 +124,8 @@ #include <wx/propgrid/property.h> #include <wx/propgrid/propgriddefs.h> #endif +#include <wx/grid.h> + #if WXPERL_W_VERSION_GE( 2, 7, 0 ) && !WXWIN_COMPATIBILITY_2_6 #define wxCHB_DEFAULT wxBK_DEFAULT #define wxCHB_TOP wxBK_TOP @@ -3093,27 +3095,27 @@ wxPli_make_const_string( wxPG_ATTR_MIN ); wxPli_make_const_string( wxPG_ATTR_MAX ); */ - wxPli_make_const_string( wxPG_ATTR_AUTOCOMPLETE ); - wxPli_make_const_string( wxPG_BOOL_USE_CHECKBOX ); - wxPli_make_const_string( wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING ); - wxPli_make_const_string( wxPG_FLOAT_PRECISION ); - wxPli_make_const_string( wxPG_STRING_PASSWORD ); - wxPli_make_const_string( wxPG_UINT_BASE ); - wxPli_make_const_string( wxPG_UINT_PREFIX ); - wxPli_make_const_string( wxPG_FILE_WILDCARD ); - wxPli_make_const_string( wxPG_FILE_SHOW_FULL_PATH ); - wxPli_make_const_string( wxPG_FILE_SHOW_RELATIVE_PATH ); - wxPli_make_const_string( wxPG_FILE_INITIAL_PATH ); - wxPli_make_const_string( wxPG_FILE_DIALOG_TITLE ); - wxPli_make_const_string( wxPG_DIR_DIALOG_MESSAGE ); - wxPli_make_const_string( wxPG_ARRAY_DELIMITER ); - wxPli_make_const_string( wxPG_DATE_FORMAT ); - wxPli_make_const_string( wxPG_DATE_PICKER_STYLE ); - wxPli_make_const_string( wxPG_ATTR_SPINCTRL_STEP ); - wxPli_make_const_string( wxPG_ATTR_SPINCTRL_WRAP ); - wxPli_make_const_string( wxPG_ATTR_MULTICHOICE_USERSTRINGMODE ); - wxPli_make_const_string( wxPG_COLOUR_ALLOW_CUSTOM ); - wxPli_make_const_string( wxPG_COLOUR_HAS_ALPHA ); + wxPli_make_const_string( wxPG_ATTR_AUTOCOMPLETE ); // propgrid + wxPli_make_const_string( wxPG_BOOL_USE_CHECKBOX ); // propgrid + wxPli_make_const_string( wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING ); // propgrid + wxPli_make_const_string( wxPG_FLOAT_PRECISION ); // propgrid + wxPli_make_const_string( wxPG_STRING_PASSWORD ); // propgrid + wxPli_make_const_string( wxPG_UINT_BASE ); // propgrid + wxPli_make_const_string( wxPG_UINT_PREFIX ); // propgrid + wxPli_make_const_string( wxPG_FILE_WILDCARD ); // propgrid + wxPli_make_const_string( wxPG_FILE_SHOW_FULL_PATH ); // propgrid + wxPli_make_const_string( wxPG_FILE_SHOW_RELATIVE_PATH ); // propgrid + wxPli_make_const_string( wxPG_FILE_INITIAL_PATH ); // propgrid + wxPli_make_const_string( wxPG_FILE_DIALOG_TITLE ); // propgrid + wxPli_make_const_string( wxPG_DIR_DIALOG_MESSAGE ); // propgrid + wxPli_make_const_string( wxPG_ARRAY_DELIMITER ); // propgrid + wxPli_make_const_string( wxPG_DATE_FORMAT ); // propgrid + wxPli_make_const_string( wxPG_DATE_PICKER_STYLE ); // propgrid + wxPli_make_const_string( wxPG_ATTR_SPINCTRL_STEP ); // propgrid + wxPli_make_const_string( wxPG_ATTR_SPINCTRL_WRAP ); // propgrid + wxPli_make_const_string( wxPG_ATTR_MULTICHOICE_USERSTRINGMODE ); // propgrid + wxPli_make_const_string( wxPG_COLOUR_ALLOW_CUSTOM ); // propgrid + wxPli_make_const_string( wxPG_COLOUR_HAS_ALPHA ); // propgrid #endif wxPli_make_const( "wxTheClipboard" ); // clipboard @@ -3196,6 +3198,15 @@ #endif wxPli_make_const_string( wxFileSelectorDefaultWildcardStr ); // filedialog + + // grid + wxPli_make_const_string( wxGRID_VALUE_STRING ); // grid + wxPli_make_const_string( wxGRID_VALUE_BOOL ); // grid + wxPli_make_const_string( wxGRID_VALUE_NUMBER ); // grid + wxPli_make_const_string( wxGRID_VALUE_FLOAT ); // grid + wxPli_make_const_string( wxGRID_VALUE_CHOICE ); // grid + wxPli_make_const_string( wxGRID_VALUE_TEXT ); // grid + wxPli_make_const_string( wxGRID_VALUE_LONG ); // grid // these are correctly cloned SV* tmp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/META.json new/Wx-0.9927/META.json --- old/Wx-0.9923/META.json 2014-03-31 15:13:50.000000000 +0200 +++ new/Wx-0.9927/META.json 2015-03-26 18:47:10.000000000 +0100 @@ -4,7 +4,7 @@ "Mattia Barbon <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120630", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.140640", "license" : [ "perl_5" ], @@ -20,7 +20,9 @@ ], "package" : [ "MY", - "Parse::Yapp::Driver" + "Parse::Yapp::Driver", + "Wx::DropTarget", + "Wx::Droptarget" ] }, "prereqs" : { @@ -61,5 +63,5 @@ }, "x_MailingList" : "http://lists.perl.org/list/wxperl-users.html" }, - "version" : "0.9923" + "version" : "0.9927" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/META.yml new/Wx-0.9927/META.yml --- old/Wx-0.9923/META.yml 2014-03-31 15:13:47.000000000 +0200 +++ new/Wx-0.9927/META.yml 2015-03-26 18:47:07.000000000 +0100 @@ -3,22 +3,22 @@ author: - 'Mattia Barbon <[email protected]>' build_requires: - Alien::wxWidgets: 0.25 - ExtUtils::MakeMaker: 6.48 - ExtUtils::ParseXS: 3.15 - ExtUtils::XSpp: 0.1602 - File::Spec::Functions: 0.82 - Test::Harness: 2.26 - Test::More: 0.45 - if: 0.03 + Alien::wxWidgets: '0.25' + ExtUtils::MakeMaker: '6.48' + ExtUtils::ParseXS: '3.15' + ExtUtils::XSpp: '0.1602' + File::Spec::Functions: '0.82' + Test::Harness: '2.26' + Test::More: '0.45' + if: '0.03' configure_requires: - Alien::wxWidgets: 0.25 + Alien::wxWidgets: '0.25' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120630' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.140640' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Wx no_index: directory: @@ -27,12 +27,14 @@ package: - MY - Parse::Yapp::Driver + - Wx::DropTarget + - Wx::Droptarget requires: - Alien::wxWidgets: 0.25 + Alien::wxWidgets: '0.25' resources: + MailingList: http://lists.perl.org/list/wxperl-users.html bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Wx homepage: http://www.wxperl.it/ license: http://dev.perl.org/licenses/ repository: http://svn.code.sf.net/p/wxperl/code/wxPerl - x_MailingList: http://lists.perl.org/list/wxperl-users.html -version: 0.9923 +version: '0.9927' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/Makefile.PL new/Wx-0.9927/Makefile.PL --- old/Wx-0.9923/Makefile.PL 2014-03-08 14:01:10.000000000 +0100 +++ new/Wx-0.9927/Makefile.PL 2015-03-11 03:36:33.000000000 +0100 @@ -5,7 +5,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 01/10/2000 -## RCS-ID: $Id: Makefile.PL 3462 2013-04-11 12:28:19Z mdootson $ +## RCS-ID: $Id: Makefile.PL 3538 2015-03-11 02:36:34Z mdootson $ ## Copyright: (c) 2000-2012 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -80,7 +80,7 @@ 'MailingList' => 'http://lists.perl.org/list/wxperl-users.html', }, no_index => { directory => [ qw(samples script) ], - package => [ qw(MY Parse::Yapp::Driver) ], + package => [ qw(MY Parse::Yapp::Driver Wx::DropTarget Wx::Droptarget) ], }, }, PMLIBDIRS => [ 'lib', 'build' ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/Window.xs new/Wx-0.9927/Window.xs --- old/Wx-0.9923/Window.xs 2014-03-08 14:01:41.000000000 +0100 +++ new/Wx-0.9927/Window.xs 2014-10-28 02:36:33.000000000 +0100 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 29/10/2000 -// RCS-ID: $Id: Window.xs 3503 2013-06-19 06:39:27Z mdootson $ +// RCS-ID: $Id: Window.xs 3525 2014-10-28 01:36:38Z mdootson $ // Copyright: (c) 2000-2002, 2004-2010 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself @@ -667,6 +667,13 @@ #endif +#if WXPERL_W_VERSION_GE( 2, 9, 5 ) + +double +wxWindow::GetContentScaleFactor() + +#endif + void wxWindow::IsExposed( ... ) PPCODE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/Wx.pm new/Wx-0.9927/Wx.pm --- old/Wx-0.9923/Wx.pm 2014-03-08 14:01:42.000000000 +0100 +++ new/Wx-0.9927/Wx.pm 2015-03-11 03:38:32.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 01/10/2000 -## RCS-ID: $Id: Wx.pm 3502 2013-05-02 01:50:51Z mdootson $ +## RCS-ID: $Id: Wx.pm 3540 2015-03-11 02:38:35Z mdootson $ ## Copyright: (c) 2000-2013 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -21,7 +21,7 @@ $_msw = 1; $_gtk = 2; $_motif = 3; $_mac = 4; $_x11 = 5; @ISA = qw(Exporter); -$VERSION = '0.9923'; +$VERSION = '0.9927'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/XS/ComboBox.xs new/Wx-0.9927/XS/ComboBox.xs --- old/Wx-0.9923/XS/ComboBox.xs 2014-03-24 04:21:33.000000000 +0100 +++ new/Wx-0.9927/XS/ComboBox.xs 2015-03-26 17:30:00.000000000 +0100 @@ -4,8 +4,8 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 31/10/2000 -## RCS-ID: $Id: ComboBox.xs 3504 2013-06-28 04:18:43Z mdootson $ -## Copyright: (c) 2000-2004, 2006-2008, 2010-2011 Mattia Barbon +## RCS-ID: $Id: ComboBox.xs 3532 2015-03-11 01:27:54Z mdootson $ +## Copyright: (c) 2000-2004, 2006-2008, 2010-2011, 2014-2015 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself ############################################################################# @@ -223,3 +223,32 @@ void wxComboBox::SetValue( string ) wxString string + +#if WXPERL_W_VERSION_GE( 2, 9, 2 ) + +void +wxComboBox::RemoveSelection() + +void +wxComboBox::ChangeValue( string ) + wxString string + +#endif + +#if WXPERL_W_VERSION_GE( 2, 9, 3 ) + +bool +wxComboBox::AutoComplete( choices ) + wxArrayString choices + +#bool +#wxComboBox::AutoComplete( completer ) +# wxTextCompleter completer + +bool +wxComboBox::AutoCompleteFileNames() + +bool +wxComboBox::AutoCompleteDirectories() + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/XS/DC.xsp new/Wx-0.9927/XS/DC.xsp --- old/Wx-0.9923/XS/DC.xsp 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/XS/DC.xsp 2014-10-28 02:36:33.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 29/10/2000 -## RCS-ID: $Id: DC.xsp 3044 2011-03-24 16:19:55Z mdootson $ +## RCS-ID: $Id: DC.xsp 3525 2014-10-28 01:36:38Z mdootson $ ## Copyright: (c) 2000-2007, 2009-2010 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -357,6 +357,13 @@ #endif +#if WXPERL_W_VERSION_GE( 2, 9, 5 ) + +double +wxDC::GetContentScaleFactor() + +#endif + wxPen* wxDC::GetPen() CODE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/XS/Menu.xs new/Wx-0.9927/XS/Menu.xs --- old/Wx-0.9923/XS/Menu.xs 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/XS/Menu.xs 2015-03-11 02:27:53.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 29/10/2000 -## RCS-ID: $Id: Menu.xs 3137 2012-02-28 00:29:39Z mdootson $ +## RCS-ID: $Id: Menu.xs 3532 2015-03-11 01:27:54Z mdootson $ ## Copyright: (c) 2000-2004, 2006-2008, 2010 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -838,8 +838,7 @@ #endif -#if ( defined( __WXMSW__ ) && !defined( __WXWINCE__ ) ) || \ - defined( __WXGTK__ ) +#if !defined( __WXWINCE__ ) void wxMenuItem::SetBitmap( bitmap ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/XS/Timer.xs new/Wx-0.9927/XS/Timer.xs --- old/Wx-0.9923/XS/Timer.xs 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/XS/Timer.xs 2014-10-28 02:36:33.000000000 +0100 @@ -4,8 +4,8 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 14/02/2001 -## RCS-ID: $Id: Timer.xs 2125 2007-08-11 14:41:28Z mbarbon $ -## Copyright: (c) 2001-2004, 2006-2007 Mattia Barbon +## RCS-ID: $Id: Timer.xs 3525 2014-10-28 01:36:38Z mdootson $ +## Copyright: (c) 2001-2004, 2006-2007, 2014 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself ############################################################################# @@ -83,6 +83,14 @@ int milliseconds bool oneshot +#if WXPERL_W_VERSION_GE( 2, 9, 5 ) + +bool +wxTimer::StartOnce( milliseconds = -1) + int milliseconds + +#endif + void wxTimer::Stop() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/build/Wx/build/MakeMaker/MacOSX_GCC.pm new/Wx-0.9927/build/Wx/build/MakeMaker/MacOSX_GCC.pm --- old/Wx-0.9923/build/Wx/build/MakeMaker/MacOSX_GCC.pm 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/build/Wx/build/MakeMaker/MacOSX_GCC.pm 2015-03-10 04:19:58.000000000 +0100 @@ -6,12 +6,37 @@ use Config; -die "Please set MACOSX_DEPLOYMENT_TARGET to 10.3 or above" - if $ENV{MACOSX_DEPLOYMENT_TARGET} && $ENV{MACOSX_DEPLOYMENT_TARGET} < 10.3; +if ($ENV{MACOSX_DEPLOYMENT_TARGET}) { + my ($dt0, $dt1, @discard) = split(/[^0-9]+/,$ENV{MACOSX_DEPLOYMENT_TARGET} ); + if (($dt0 <= 10) && ( $dt1 < 3 )) { + die "Please set MACOSX_DEPLOYMENT_TARGET to 10.3 or above"; + } +} my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools'; my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools'; +sub get_flags { + my $this = shift; + my %config = $this->SUPER::get_flags; + + if ($config{CC} =~ /clang\+\+/ || $config{LD} =~ /clang\+\+/) { + my $sdkrepl = ''; + for my $sdkversion ( qw( 10.9 10.8 10.7 10.6 ) ) { + my $macossdk = qq(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${sdkversion}.sdk); + if( -d $macossdk ) { + $sdkrepl = 'clang++ -isysroot ' . $macossdk . ' -stdlib=libc++'; + last; + } + } + if ( $sdkrepl ) { + $config{CC} =~ s/clang\+\+/$sdkrepl/g; + $config{LD} =~ s/clang\+\+/$sdkrepl/g; + } + } + return %config; +} + sub configure_core { my $this = shift; my %config = $this->SUPER::configure_core( @_ ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/build/Wx/build/Options.pm new/Wx-0.9927/build/Wx/build/Options.pm --- old/Wx-0.9923/build/Wx/build/Options.pm 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/build/Wx/build/Options.pm 2015-03-09 23:07:19.000000000 +0100 @@ -11,7 +11,6 @@ =cut use Getopt::Long; -Getopt::Long::Configure( 'pass_through' ); my $help = 0; my $mksymlinks = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/cpp/app.h new/Wx-0.9927/cpp/app.h --- old/Wx-0.9923/cpp/app.h 2014-03-23 15:25:25.000000000 +0100 +++ new/Wx-0.9927/cpp/app.h 2014-03-31 16:07:39.000000000 +0200 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 29/10/2000 -// RCS-ID: $Id: app.h 3430 2013-02-05 10:18:36Z mdootson $ +// RCS-ID: $Id: app.h 3514 2014-03-31 14:07:45Z mdootson $ // Copyright: (c) 2000-2006 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/cpp/wxapi.h new/Wx-0.9927/cpp/wxapi.h --- old/Wx-0.9923/cpp/wxapi.h 2014-03-08 14:01:10.000000000 +0100 +++ new/Wx-0.9927/cpp/wxapi.h 2015-03-11 02:27:53.000000000 +0100 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 21/09/2002 -// RCS-ID: $Id: wxapi.h 3009 2011-02-20 16:25:26Z mbarbon $ +// RCS-ID: $Id: wxapi.h 3532 2015-03-11 01:27:54Z mdootson $ // Copyright: (c) 2002-2003, 2005-2011 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself @@ -55,6 +55,18 @@ WXPL_EXTERN_C_START #include <EXTERN.h> #include <perl.h> + +#if WXPERL_P_VERSION_GE( 5, 16, 0 ) && WXPERL_P_VERSION_LT( 5, 18, 0 ) && defined(__WXOSX_COCOA__) +#ifdef dNOOP +#undef dNOOP +#endif +#ifdef __cplusplus +#define dNOOP (void)0 +#else +#define dNOOP extern int Perl___notused(void) +#endif +#endif + #include <XSUB.h> WXPL_EXTERN_C_END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/aui/AUI.xs new/Wx-0.9927/ext/aui/AUI.xs --- old/Wx-0.9923/ext/aui/AUI.xs 2014-03-08 14:01:41.000000000 +0100 +++ new/Wx-0.9927/ext/aui/AUI.xs 2014-10-28 02:36:33.000000000 +0100 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 11/11/2006 -// RCS-ID: $Id: AUI.xs 3421 2012-12-30 06:48:15Z mdootson $ +// RCS-ID: $Id: AUI.xs 3525 2014-10-28 01:36:38Z mdootson $ // Copyright: (c) 2006, 2008-2010 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself @@ -38,6 +38,24 @@ #define wxEVT_AUI_PANE_RESTORE wxEVT_AUI_PANERESTORE #endif +#if WXPERL_W_VERSION_GE( 2, 9, 5 ) +#define wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE wxEVT_AUINOTEBOOK_PAGE_CLOSE +#define wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED wxEVT_AUINOTEBOOK_PAGE_CLOSED +#define wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED wxEVT_AUINOTEBOOK_PAGE_CHANGED +#define wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING wxEVT_AUINOTEBOOK_PAGE_CHANGING +#define wxEVT_COMMAND_AUINOTEBOOK_BUTTON wxEVT_AUINOTEBOOK_BUTTON +#define wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG wxEVT_AUINOTEBOOK_BEGIN_DRAG +#define wxEVT_COMMAND_AUINOTEBOOK_END_DRAG wxEVT_AUINOTEBOOK_END_DRAG +#define wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION wxEVT_AUINOTEBOOK_DRAG_MOTION +#define wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND wxEVT_AUINOTEBOOK_ALLOW_DND +#define wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE wxEVT_AUINOTEBOOK_DRAG_DONE +#define wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN +#define wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP +#define wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN +#define wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP wxEVT_AUINOTEBOOK_TAB_RIGHT_UP +#define wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK wxEVT_AUINOTEBOOK_BG_DCLICK +#endif + static wxPliEventDescription evts[] = { SEVT( EVT_AUI_PANE_BUTTON, 2 ) @@ -62,7 +80,7 @@ EVT( EVT_AUINOTEBOOK_TAB_MIDDLE_UP, 3, wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP ) EVT( EVT_AUINOTEBOOK_TAB_RIGHT_DOWN, 3, wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN ) EVT( EVT_AUINOTEBOOK_TAB_RIGHT_UP, 3, wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP ) - EVT( EVT_AUINOTEBOOK_BG_DCLICK, 3, wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK ) + EVT( EVT_AUINOTEBOOK_BG_DCLICK, 3, wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK ) { 0, 0, 0 } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/dnd/lib/Wx/DND.pm new/Wx-0.9927/ext/dnd/lib/Wx/DND.pm --- old/Wx-0.9923/ext/dnd/lib/Wx/DND.pm 2014-03-08 14:01:25.000000000 +0100 +++ new/Wx-0.9927/ext/dnd/lib/Wx/DND.pm 2015-03-11 03:36:33.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 12/08/2001 -## RCS-ID: $Id: DND.pm 3083 2011-07-04 16:44:05Z mdootson $ +## RCS-ID: $Id: DND.pm 3538 2015-03-11 02:36:34Z mdootson $ ## Copyright: (c) 2001-2004, 2007 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -38,7 +38,7 @@ package Wx::FileDataObject; @ISA = qw(Wx::DataObjectSimple); package Wx::TextDataObject; @ISA = qw(Wx::DataObjectSimple); package Wx::BitmapDataObject; @ISA = qw(Wx::DataObjectSimple); -package Wx::Droptarget; + package Wx::PlDropTarget; @ISA = qw(Wx::DropTarget); package Wx::TextDropTarget; @ISA = qw(Wx::DropTarget); package Wx::FileDropTarget; @ISA = qw(Wx::DropTarget); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/grid/XS/GridCellEditor.xs new/Wx-0.9927/ext/grid/XS/GridCellEditor.xs --- old/Wx-0.9923/ext/grid/XS/GridCellEditor.xs 2014-03-23 17:24:44.000000000 +0100 +++ new/Wx-0.9927/ext/grid/XS/GridCellEditor.xs 2014-03-31 16:07:39.000000000 +0200 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 13/12/2001 -## RCS-ID: $Id: GridCellEditor.xs 2533 2009-03-08 19:03:35Z mbarbon $ +## RCS-ID: $Id: GridCellEditor.xs 3514 2014-03-31 14:07:45Z mdootson $ ## Copyright: (c) 2001-2007, 2009 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/grid/cpp/editor.h new/Wx-0.9927/ext/grid/cpp/editor.h --- old/Wx-0.9923/ext/grid/cpp/editor.h 2014-03-23 17:51:05.000000000 +0100 +++ new/Wx-0.9927/ext/grid/cpp/editor.h 2014-03-31 16:07:39.000000000 +0200 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 28/05/2003 -// RCS-ID: $Id: editor.h 2533 2009-03-08 19:03:35Z mbarbon $ +// RCS-ID: $Id: editor.h 3514 2014-03-31 14:07:45Z mdootson $ // Copyright: (c) 2003-2005, 2009 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/grid/cpp/gr_constants.cpp new/Wx-0.9927/ext/grid/cpp/gr_constants.cpp --- old/Wx-0.9923/ext/grid/cpp/gr_constants.cpp 2014-03-08 14:01:19.000000000 +0100 +++ new/Wx-0.9927/ext/grid/cpp/gr_constants.cpp 2014-09-16 18:26:12.000000000 +0200 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 04/12/2001 -// RCS-ID: $Id: gr_constants.cpp 2170 2007-08-17 22:53:11Z mbarbon $ +// RCS-ID: $Id: gr_constants.cpp 3522 2014-09-16 16:26:19Z mdootson $ // Copyright: (c) 2001-2004, 2007 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself @@ -34,7 +34,19 @@ r( wxGRIDTABLE_NOTIFY_COLS_INSERTED ); r( wxGRIDTABLE_NOTIFY_COLS_APPENDED ); r( wxGRIDTABLE_NOTIFY_COLS_DELETED ); - +#if WXPERL_W_VERSION_GE( 2, 8, 8 ) + r( wxGRID_AUTOSIZE ); +#endif +#if WXPERL_W_VERSION_GE( 3, 0, 0 ) + r( wxGRID_COLUMN ); + r( wxGRID_ROW ); + r( wxGRID_DRAW_ROWS_HEADER ); + r( wxGRID_DRAW_COLS_HEADER ); + r( wxGRID_DRAW_CELL_LINES ); + r( wxGRID_DRAW_BOX_RECT ); + r( wxGRID_DRAW_SELECTION ); + r( wxGRID_DRAW_DEFAULT ); +#endif // !export: wxGridSelectCells wxGridSelectRows wxGridSelectColumns if( strEQ( name, "wxGridSelectCells" ) ) return wxGrid::wxGridSelectCells; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/richtext/Makefile.PL new/Wx-0.9927/ext/richtext/Makefile.PL --- old/Wx-0.9923/ext/richtext/Makefile.PL 2014-03-08 14:01:21.000000000 +0100 +++ new/Wx-0.9927/ext/richtext/Makefile.PL 2015-03-11 02:27:53.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 05/11/2006 -## RCS-ID: $Id: Makefile.PL 2927 2010-06-06 08:06:10Z mbarbon $ +## RCS-ID: $Id: Makefile.PL 3532 2015-03-11 01:27:54Z mdootson $ ## Copyright: (c) 2006, 2010 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -19,5 +19,5 @@ wxWriteMakefile( NAME => 'Wx::RichText', VERSION_FROM => 'lib/Wx/RichText.pm', REQUIRE_WX => 2.007000, - WX_CORE_LIB => 'richtext html adv core base', + WX_CORE_LIB => 'richtext html xml adv core base', ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/stc/cpp/st_constants.cpp new/Wx-0.9927/ext/stc/cpp/st_constants.cpp --- old/Wx-0.9923/ext/stc/cpp/st_constants.cpp 2014-03-23 18:49:36.000000000 +0100 +++ new/Wx-0.9927/ext/stc/cpp/st_constants.cpp 2014-03-31 16:07:39.000000000 +0200 @@ -3,7 +3,7 @@ // Purpose: constants for Wx::STC // Author: Marcus Friedlaender and Mattia Barbon // Created: 23/05/2002 -// RCS-ID: $Id: st_constants.cpp 3404 2012-10-01 15:44:18Z mdootson $ +// RCS-ID: $Id: st_constants.cpp 3514 2014-03-31 14:07:45Z mdootson $ // Copyright: (c) 2002-2006, 2008, 2010 Marcus Friedlaender and Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/ext/xrc/cpp/xr_constants.cpp new/Wx-0.9927/ext/xrc/cpp/xr_constants.cpp --- old/Wx-0.9923/ext/xrc/cpp/xr_constants.cpp 2014-03-23 16:21:03.000000000 +0100 +++ new/Wx-0.9927/ext/xrc/cpp/xr_constants.cpp 2014-03-31 16:07:39.000000000 +0200 @@ -4,7 +4,7 @@ // Author: Mattia Barbon // Modified by: // Created: 04/04/2002 -// RCS-ID: $Id: xr_constants.cpp 2057 2007-06-18 23:03:00Z mbarbon $ +// RCS-ID: $Id: xr_constants.cpp 3514 2014-03-31 14:07:45Z mdootson $ // Copyright: (c) 2002-2005 Mattia Barbon // Licence: This program is free software; you can redistribute it and/or // modify it under the same terms as Perl itself diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/lib/Wx/Mini.pm new/Wx-0.9927/lib/Wx/Mini.pm --- old/Wx-0.9923/lib/Wx/Mini.pm 2014-03-08 14:01:42.000000000 +0100 +++ new/Wx-0.9927/lib/Wx/Mini.pm 2015-03-11 03:37:50.000000000 +0100 @@ -12,7 +12,7 @@ $Wx::dlls = XXXDLLSXXX; } -$VERSION = '0.9923'; # bootstrap will catch wrong versions +$VERSION = '0.9927'; # bootstrap will catch wrong versions $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/typemap new/Wx-0.9927/typemap --- old/Wx-0.9923/typemap 2014-03-23 15:50:51.000000000 +0100 +++ new/Wx-0.9927/typemap 2014-10-27 20:25:51.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 29/10/2000 -## RCS-ID: $Id: typemap.tmpl 3485 2013-04-16 15:28:22Z mdootson $ +## RCS-ID: $Id: typemap.tmpl 3521 2014-05-12 10:09:20Z mdootson $ ## Copyright: (c) 2000-2013 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -352,6 +352,7 @@ wxWindowDisabler * O_NON_WXOBJECT_THR wxBusyCursor * O_NON_WXOBJECT_THR wxBusyInfo * O_NON_WXOBJECT_THR +wxTimerRunner * O_NON_WXOBJECT_THR wxLayoutConstraints * O_WXOBJECT wxIndividualLayoutConstraint * O_WXOBJECT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Wx-0.9923/typemap.tmpl new/Wx-0.9927/typemap.tmpl --- old/Wx-0.9923/typemap.tmpl 2014-03-08 14:01:15.000000000 +0100 +++ new/Wx-0.9927/typemap.tmpl 2014-10-27 20:25:43.000000000 +0100 @@ -4,7 +4,7 @@ ## Author: Mattia Barbon ## Modified by: ## Created: 29/10/2000 -## RCS-ID: $Id: typemap.tmpl 3485 2013-04-16 15:28:22Z mdootson $ +## RCS-ID: $Id: typemap.tmpl 3521 2014-05-12 10:09:20Z mdootson $ ## Copyright: (c) 2000-2013 Mattia Barbon ## Licence: This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself @@ -352,6 +352,7 @@ wxWindowDisabler * O_NON_WXOBJECT_THR wxBusyCursor * O_NON_WXOBJECT_THR wxBusyInfo * O_NON_WXOBJECT_THR +wxTimerRunner * O_NON_WXOBJECT_THR wxLayoutConstraints * O_WXOBJECT wxIndividualLayoutConstraint * O_WXOBJECT ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 no_testing: needs X sources: - perl-Wx-rpmlintrc #patches: # foo.patch: -p1 # bar.patch: preamble: |- BuildRequires: gcc-c++ BuildRequires: wxWidgets-ansi-devel BuildRequires: xspp #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag
