Hello community,
here is the log from the commit of package perl-Alien-wxWidgets for
openSUSE:Factory checked in at 2015-04-16 14:13:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Alien-wxWidgets (Old)
and /work/SRC/openSUSE:Factory/.perl-Alien-wxWidgets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Alien-wxWidgets"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Alien-wxWidgets/perl-Alien-wxWidgets.changes
2014-06-30 21:50:27.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Alien-wxWidgets.new/perl-Alien-wxWidgets.changes
2015-04-16 14:13:23.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Apr 14 08:45:38 UTC 2015 - [email protected]
+
+- updated to 0.67
+ see /usr/share/doc/packages/perl-Alien-wxWidgets/Changes
+
+ 0.66 Tue Mar 10 2015
+ - add support for wxWidgets 3.0.1 and 3.0.2
+ - make default wxWidgets 3.0.2
+ - graphics context included now default on Win32
+ - build on MacOSX - xcode 5.x/6.x
+
+-------------------------------------------------------------------
Old:
----
Alien-wxWidgets-0.65.tar.gz
New:
----
Alien-wxWidgets-0.67.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Alien-wxWidgets.spec ++++++
--- /var/tmp/diff_new_pack.rtKcai/_old 2015-04-16 14:13:23.000000000 +0200
+++ /var/tmp/diff_new_pack.rtKcai/_new 2015-04-16 14:13:23.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Alien-wxWidgets
#
-# 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,14 +17,19 @@
Name: perl-Alien-wxWidgets
-Version: 0.65
+Version: 0.67
Release: 0
%define cpan_name Alien-wxWidgets
-Summary: building, finding and using wxWidgets binaries
+Summary: Building, Finding and Using Wxwidgets Binaries
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Alien-wxWidgets/
-Source:
http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+Patch0: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
+Patch1: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
+# MANUAL
+#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -33,11 +38,10 @@
BuildRequires: perl(Module::Pluggable) >= 2.6
Requires: perl(Module::Pluggable) >= 2.6
%{perl_requires}
-# MANUAL
-Patch1: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
-Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
+# MANUAL BEGIN
BuildRequires: gcc-c++
BuildRequires: wxWidgets-ansi-devel
+# MANUAL END
%description
Please see the Alien manpage for the manifesto of the Alien namespace.
@@ -47,13 +51,14 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-%patch1 -p0
-%patch2 -p0
find . -type f -print0 | xargs -0 chmod 644
-# MANUAL
+%patch0
+%patch1
+# MANUAL BEGIN
# this copy of GNU patch is only used on win32, remove it for license clarity
# see https://build.opensuse.org/request/show/237465
rm -vf inc/src/patch*
+# MANUAL END
%build
yes no | %__perl ./Build.PL installdirs=vendor
++++++ Alien-wxWidgets-0.65.tar.gz -> Alien-wxWidgets-0.67.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/Build.PL
new/Alien-wxWidgets-0.67/Build.PL
--- old/Alien-wxWidgets-0.65/Build.PL 2014-03-23 15:48:03.000000000 +0100
+++ new/Alien-wxWidgets-0.67/Build.PL 2015-03-09 22:37:19.000000000 +0100
@@ -18,8 +18,10 @@
'2.9.1' => 'patches/data-2.9.1',
'2.9.2' => 'patches/data-2.9.2',
'2.9.3' => 'patches/data-2.9.3',
- '2.9.4' => 'patches/data-2.9.4',
+ '2.9.4' => 'patches/data-2.9.4',
'3.0.0' => 'patches/data-3.0.0',
+ '3.0.1' => 'patches/data-3.0.1',
+ '3.0.2' => 'patches/data-3.0.2',
);
my ($DEFAULT_VERSION, $DEFAULT_ARCHIVE_TYPE) =
_get_default_wxwidgets_version_and_type();
@@ -71,13 +73,13 @@
'wxWidgets-version' => { type => '=s' },
'wxWidgets-extraflags' => { type => '=s' },
'wxWidgets-userpatch' => { type => '=s' },
- 'wxWidgets-graphicscontext' => { type => '!',
- default => $^O ne
'MSWin32' },
+ 'wxWidgets-graphicscontext' => { type => '!', default
=> 1 },
},
+
create_makefile_pl => 'passthrough',
meta_merge =>
{ resources =>
- { 'license' => 'http://dev.perl.org/licenses/',
+ { 'license' => [ 'http://dev.perl.org/licenses/' ],
'homepage' => 'http://www.wxperl.it/',
'bugtracker' =>
'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-wxWidgets',
'repository' =>
'http://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets',
@@ -152,9 +154,9 @@
require My::Build::Base;
my $wx_config = My::Build::Base->awx_path_search( 'wx-config' );
if( $wx_config ) {
- my $ans = `wx-config --version`;
- if( $ans =~ /^2\./ ) {
- my $prefix = `wx-config --prefix`;
+ my $ans = `$wx_config --version`;
+ if( $ans =~ /^[23]\./ ) {
+ my $prefix = `$wx_config --prefix`;
chomp foreach $ans, $prefix;
if( _check_installed_widgets_ok($ans, $prefix) ) {
$build_wx_dflt = 'no' ;
@@ -178,7 +180,7 @@
if( $^O ne 'darwin' && $^O ne 'MSWin32' ) {
my $pkg_config = $ENV{PKG_CONFIG} || 'pkg-config';
my $ans = `$pkg_config --modversion gtk+-2.0 2>&1`;
- unless( $ans =~ /^2\./ ) {
+ unless( $ans =~ /^[23]\./ ) {
print <<EOT;
Could not detect GTK+ 2 by running '$pkg_config': aborting
@@ -215,7 +217,7 @@
'Which wxWidgets version?',
[ sort keys %VERSIONS ], $DEFAULT_VERSION );
- $DEFAULT_ARCHIVE_TYPE = 'tar.bz2' if $wx_version =~ /^2\.9/; # no tar.gz
at sourceforge site
+ $DEFAULT_ARCHIVE_TYPE = 'tar.bz2' if $wx_version =~ /^(2\.9|3\.)/; # no
tar.gz at sourceforge site
$TYPE = _ask( $build, 'wxWidgets-source', 'Which archive type?',
$DEFAULT_ARCHIVE_TYPE );
$URL = $ENV{AWX_URL};
@@ -223,7 +225,7 @@
$build->notes( 'build_data' => do $VERSIONS{$wx_version} );
}
-if( $build_wx && $wx_version !~ /^2\.9/ ) {
+if( $build_wx && $wx_version !~ /^(2\.9|3\.)/ ) {
my $build_wx_unicode = _askyn( $build, 'wxWidgets-unicode',
'Do you want to enable Unicode support',
'yes' );
@@ -286,7 +288,7 @@
sub _get_default_wxwidgets_version_and_type {
# default version and archive type
- my $defver = '3.0.0';
+ my $defver = '3.0.2';
my $deftype = 'tar.bz2';
if( $^O =~ /^linux/i) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/Changes
new/Alien-wxWidgets-0.67/Changes
--- old/Alien-wxWidgets-0.65/Changes 2014-03-31 15:06:22.000000000 +0200
+++ new/Alien-wxWidgets-0.67/Changes 2015-03-11 02:33:56.000000000 +0100
@@ -1,5 +1,11 @@
Revision history for Perl extension Alien::wxWidgets.
+0.66 Tue Mar 10 2015
+ - add support for wxWidgets 3.0.1 and 3.0.2
+ - make default wxWidgets 3.0.2
+ - graphics context included now default on Win32
+ - build on MacOSX - xcode 5.x/6.x
+
0.65 Mon Mar 31 2014
- Update default to wxWidgets 3.0.0
- build on MacOSX Mavericks with Xcode 4.6.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/MANIFEST
new/Alien-wxWidgets-0.67/MANIFEST
--- old/Alien-wxWidgets-0.65/MANIFEST 2014-03-24 04:14:19.000000000 +0100
+++ new/Alien-wxWidgets-0.67/MANIFEST 2014-11-02 20:02:16.000000000 +0100
@@ -43,6 +43,8 @@
patches/data-2.9.3
patches/data-2.9.4
patches/data-3.0.0
+patches/data-3.0.1
+patches/data-3.0.2
patches/wxGTK-2.8.12-dirdialog.patch
patches/wxGTK-2.9.4-dirdialog.patch
patches/wxMac-2.8.10-fontdlg.patch
@@ -83,6 +85,9 @@
patches/wxMSW-2.9.4-setup.patch
patches/wxMSW-2.9.4-setup_gctx.patch
patches/wxMSW-3.0.0-makefiles.patch
+patches/wxMSW-3.0.1-defs.patch
+patches/wxMSW-3.0.1-setup.patch
+patches/wxMSW-3.0.1-setup_gctx.patch
patches/wxWidgets-2.8.0-magic.patch
patches/wxWidgets-2.8.10-gsocket.patch
patches/wxWidgets-2.9.0-magic.patch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/META.json
new/Alien-wxWidgets-0.67/META.json
--- old/Alien-wxWidgets-0.65/META.json 2014-03-31 15:12:14.000000000 +0200
+++ new/Alien-wxWidgets-0.67/META.json 2015-03-11 02:42:38.000000000 +0100
@@ -4,7 +4,7 @@
"Mattia Barbon <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4004, CPAN::Meta::Converter
version 2.120630",
+ "generated_by" : "Module::Build version 0.4205",
"license" : [
"perl_5"
],
@@ -36,7 +36,7 @@
"provides" : {
"Alien::wxWidgets" : {
"file" : "lib/Alien/wxWidgets.pm",
- "version" : "0.65"
+ "version" : "0.67"
},
"Alien::wxWidgets::Utility" : {
"file" : "lib/Alien/wxWidgets/Utility.pm",
@@ -55,7 +55,7 @@
"repository" : {
"url" : "http://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets"
},
- "x_MailingList" : "http://lists.perl.org/list/wxperl-users.html"
+ "x_mailingList" : "http://lists.perl.org/list/wxperl-users.html"
},
- "version" : "0.65"
+ "version" : "0.67"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/META.yml
new/Alien-wxWidgets-0.67/META.yml
--- old/Alien-wxWidgets-0.65/META.yml 2014-03-31 15:12:14.000000000 +0200
+++ new/Alien-wxWidgets-0.67/META.yml 2015-03-11 02:42:38.000000000 +0100
@@ -3,32 +3,32 @@
author:
- 'Mattia Barbon <[email protected]>'
build_requires:
- ExtUtils::CBuilder: 0.24
- File::Spec: 1.50
- Module::Build: 0.28
+ ExtUtils::CBuilder: '0.24'
+ File::Spec: '1.50'
+ Module::Build: '0.28'
configure_requires:
- Module::Build: 0.28
+ Module::Build: '0.28'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4004, CPAN::Meta::Converter version
2.120630'
+generated_by: 'Module::Build version 0.4205, 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: Alien-wxWidgets
provides:
Alien::wxWidgets:
file: lib/Alien/wxWidgets.pm
- version: 0.65
+ version: '0.67'
Alien::wxWidgets::Utility:
file: lib/Alien/wxWidgets/Utility.pm
- version: 0.59
+ version: '0.59'
requires:
- Module::Pluggable: 2.6
- perl: 5.006
+ Module::Pluggable: '2.6'
+ perl: '5.006'
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-wxWidgets
homepage: http://www.wxperl.it/
license: http://dev.perl.org/licenses/
+ mailingList: http://lists.perl.org/list/wxperl-users.html
repository: http://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets
- x_MailingList: http://lists.perl.org/list/wxperl-users.html
-version: 0.65
+version: '0.67'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/Makefile.PL
new/Alien-wxWidgets-0.67/Makefile.PL
--- old/Alien-wxWidgets-0.65/Makefile.PL 2014-03-31 15:12:14.000000000
+0200
+++ new/Alien-wxWidgets-0.67/Makefile.PL 2015-03-11 02:42:37.000000000
+0100
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4004
+# Note: this file was auto-generated by Module::Build::Compat version 0.4205
require 5.006;
unless (eval "use Module::Build::Compat 0.02; 1" ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Alien-wxWidgets-0.65/inc/My/Build/MacOSX_wx_config.pm
new/Alien-wxWidgets-0.67/inc/My/Build/MacOSX_wx_config.pm
--- old/Alien-wxWidgets-0.65/inc/My/Build/MacOSX_wx_config.pm 2014-03-31
15:06:35.000000000 +0200
+++ new/Alien-wxWidgets-0.67/inc/My/Build/MacOSX_wx_config.pm 2015-03-10
03:08:02.000000000 +0100
@@ -70,40 +70,57 @@
OBJCFLAGS OBJCXXFLAGS);
}
- if ( $darwinver >= 13 ) {
- # we can't currently build with Xcode 5 on Mavericks
- my $xcodestring = qx(xcodebuild --version) || '';
- if ($xcodestring =~ /Xcode\s+(\d+)/ ) {
- my $xcodever = $1;
- if ( $xcodever >= 5) {
- print <<EOX;
-=======================================================================
-wxPerl does not currently support building on Mac OSX Mavericks and
-above with Xcode 5.x or greater.
-If you wish to develop using wxPerl on this machine you should remove
-XCode 5.x and download Xcode 4.6.3 from the Apple developer site.
-=======================================================================
-EOX
- exit 1;
- }
- }
- }
+# if ( $darwinver >= 13 ) {
+# # we can't currently build with Xcode 5 on Mavericks
+# my $xcodestring = qx(xcodebuild -version) || '';
+# if ($xcodestring =~ /Xcode\s+(\d+)/ ) {
+# my $xcodever = $1;
+# if ( $xcodever >= 5) {
+# print <<EOX;
+#=======================================================================
+#wxPerl does not currently support building on Mac OSX Mavericks and
+#above with Xcode 5.x or greater.
+#If you wish to develop using wxPerl on this machine you should remove
+#XCode 5.x and download Xcode 4.6.3 from the Apple developer site.
+#=======================================================================
+#EOX
+# exit 1;
+# }
+# }
+# }
# on Snow Leopard and above, force use of available SDK and min versions
+
if( $darwinver >= 10 ) {
+
# SDK 10.7 will not work if we have SDK 10.8 installed too - so reverse
order
- for my $sdkversion ( qw( 10.8 10.7 10.6 ) ) {
+ for my $sdkversion ( qw( 10.9 10.8 10.7 10.6 ) ) {
my $sdk1 = qq(/Developer/SDKs/MacOSX${sdkversion}.sdk);
my $sdk2 =
qq(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${sdkversion}.sdk);
my $macossdk = ( -d $sdk2 ) ? $sdk2 : $sdk1;
if( -d $macossdk ) {
- $extra_flags .= qq( --with-macosx-version-min=10.6
--with-macosx-sdk=$macossdk);
+ my $macosmin = ( $sdkversion =~ /^10\.(8|7|6)$/ ) ? '10.6' :
'10.7';
+ $extra_flags .= qq( --with-macosx-version-min=${macosmin}
--with-macosx-sdk=${macossdk});
last;
}
}
}
$extra_flags .= ' --enable-graphics_ctx';
+
+ # now check for flags needed for different xcode versions
+ {
+ my $xcodestring = qx(xcodebuild -version) || '';
+ if ($xcodestring =~ /Xcode\s+(\d+)\.(\d+)/ ) {
+ my $majorxcodever = $1;
+ my $minorxcodever = $2;
+
+ if (( $majorxcodever > 4 ) || ( $majorxcodever == 4 &&
$minorxcodever > 3 )) {
+ $extra_flags .= q( CC=clang CXX=clang++
CXXFLAGS="-stdlib=libc++ -std=c++11" OBJCXXFLAGS="-stdlib=libc++ -std=c++11"
LDFLAGS=-stdlib=libc++);
+ }
+ }
+ }
+
return $extra_flags;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/lib/Alien/wxWidgets/Utility.pm
new/Alien-wxWidgets-0.67/lib/Alien/wxWidgets/Utility.pm
--- old/Alien-wxWidgets-0.65/lib/Alien/wxWidgets/Utility.pm 2014-03-08
15:04:14.000000000 +0100
+++ new/Alien-wxWidgets-0.67/lib/Alien/wxWidgets/Utility.pm 2014-10-27
17:22:38.000000000 +0100
@@ -74,7 +74,7 @@
sub awx_cc_is_msvc {
my( $cc ) = @_;
- return $^O =~ /MSWin32/ and $cc =~ /^cl/i;
+ return ( $^O =~ /MSWin32/ and $cc =~ /^cl/i ) ? 1 : 0;
}
sub awx_cc_is_gcc {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/lib/Alien/wxWidgets.pm
new/Alien-wxWidgets-0.67/lib/Alien/wxWidgets.pm
--- old/Alien-wxWidgets-0.65/lib/Alien/wxWidgets.pm 2014-03-24
05:06:58.000000000 +0100
+++ new/Alien-wxWidgets-0.67/lib/Alien/wxWidgets.pm 2015-03-11
02:41:05.000000000 +0100
@@ -43,7 +43,7 @@
instantiate => 'config';
our $AUTOLOAD;
-our $VERSION = '0.65';
+our $VERSION = '0.67';
our %VALUES;
our $dont_remap;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/patches/data-3.0.1
new/Alien-wxWidgets-0.67/patches/data-3.0.1
--- old/Alien-wxWidgets-0.65/patches/data-3.0.1 1970-01-01 01:00:00.000000000
+0100
+++ new/Alien-wxWidgets-0.67/patches/data-3.0.1 2014-11-02 20:03:11.000000000
+0100
@@ -0,0 +1,28 @@
+my $VERSION = '3.0.1';
+$URL ||= "http://prdownloads.sourceforge.net/wxwindows";
+my $BASE = 'wxWidgets';
+# $TYPE from Build.PL
+
+my @common = qw(wxWidgets-2.9.0-magic.patch );
+
+my $winsetuppatch = ( $FORCE_GTX ) ? 'wxMSW-3.0.1-setup_gctx.patch' :
'wxMSW-3.0.1-setup.patch';
+
+{
+ msw => { unicode => [
+ 'wxMSW-3.0.0-makefiles.patch',
+ 'wxMSW-3.0.1-defs.patch',
+ $winsetuppatch,
+ @common
+ ],
+ },
+
+ mac => { unicode => [ @common ],
+ },
+ unix => { unicode => [ @common ],
+ },
+ data => { url => ( sprintf '%s/%s-%s.%s', $URL, $BASE, $VERSION, $TYPE ),
+ directory => ( sprintf '%s-%s', $BASE, $VERSION ),
+ archive => ( sprintf '%s-%s.%s', $BASE, $VERSION, $TYPE ),
+ version => $VERSION,
+ },
+ };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/patches/data-3.0.2
new/Alien-wxWidgets-0.67/patches/data-3.0.2
--- old/Alien-wxWidgets-0.65/patches/data-3.0.2 1970-01-01 01:00:00.000000000
+0100
+++ new/Alien-wxWidgets-0.67/patches/data-3.0.2 2014-11-02 20:03:19.000000000
+0100
@@ -0,0 +1,28 @@
+my $VERSION = '3.0.2';
+$URL ||= "http://prdownloads.sourceforge.net/wxwindows";
+my $BASE = 'wxWidgets';
+# $TYPE from Build.PL
+
+my @common = qw(wxWidgets-2.9.0-magic.patch );
+
+my $winsetuppatch = ( $FORCE_GTX ) ? 'wxMSW-3.0.1-setup_gctx.patch' :
'wxMSW-3.0.1-setup.patch';
+
+{
+ msw => { unicode => [
+ 'wxMSW-3.0.0-makefiles.patch',
+ 'wxMSW-3.0.1-defs.patch',
+ $winsetuppatch,
+ @common
+ ],
+ },
+
+ mac => { unicode => [ @common ],
+ },
+ unix => { unicode => [ @common ],
+ },
+ data => { url => ( sprintf '%s/%s-%s.%s', $URL, $BASE, $VERSION, $TYPE ),
+ directory => ( sprintf '%s-%s', $BASE, $VERSION ),
+ archive => ( sprintf '%s-%s.%s', $BASE, $VERSION, $TYPE ),
+ version => $VERSION,
+ },
+ };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-defs.patch
new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-defs.patch
--- old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-defs.patch 1970-01-01
01:00:00.000000000 +0100
+++ new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-defs.patch 2014-11-02
20:15:31.000000000 +0100
@@ -0,0 +1,17 @@
+--- include/wx/defs.h 2014-06-14 22:48:48.000000000 +0100
++++ include/wx/defs.h 2014-11-02 18:57:38.546856700 +0000
+@@ -356,8 +356,13 @@
+ #define HAVE_TR1_TYPE_TRAITS
+ #endif
+ #endif
++#if defined(__MINGW32__)
++ #if defined(HAVE_TR1_TYPE_TRAITS)
++ #undef HAVE_TR1_TYPE_TRAITS
++ #endif
++#endif
+
+-#if defined(__has_include)
++#if defined(__has_include) && !defined(__MINGW32__)
+ /*
+ Notice that we trust our configure tests more than __has_include(),
+ notably the latter can return true even if the header exists but isn't
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-setup.patch
new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-setup.patch
--- old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-setup.patch 1970-01-01
01:00:00.000000000 +0100
+++ new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-setup.patch 2014-10-27
18:21:58.000000000 +0100
@@ -0,0 +1,49 @@
+--- include/wx/msw/setup.h 2012-07-08 11:28:28.000000000 +0100
++++ include/wx/msw/setup.h 2012-07-13 04:03:31.764058400 +0100
+@@ -429,7 +429,7 @@
+ // Default is 1
+ //
+ // Recommended setting: 1 (but may be safely disabled if you don't use it)
+-#define wxUSE_FSVOLUME 1
++#define wxUSE_FSVOLUME 0
+
+ // Use wxStandardPaths class which allows to retrieve some standard locations
+ // in the file system
+@@ -571,7 +571,7 @@
+ #define wxUSE_FS_ARCHIVE 1
+
+ // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
+-#define wxUSE_FS_INET 1
++#define wxUSE_FS_INET 0
+
+ // wxArchive classes for accessing archives such as zip and tar
+ #define wxUSE_ARCHIVE_STREAMS 1
+@@ -617,8 +617,8 @@
+
+ // The settings for the individual URL schemes
+ #define wxUSE_PROTOCOL_FILE 1
+-#define wxUSE_PROTOCOL_FTP 1
+-#define wxUSE_PROTOCOL_HTTP 1
++#define wxUSE_PROTOCOL_FTP 0
++#define wxUSE_PROTOCOL_HTTP 0
+
+ // Define this to use wxURL class.
+ #define wxUSE_URL 1
+@@ -1367,7 +1367,7 @@
+
+ #define wxUSE_DRAGIMAGE 1
+
+-#define wxUSE_IPC 1
++#define wxUSE_IPC 1
+ // 0 for no interprocess comms
+ #define wxUSE_HELP 1
+ // 0 for no help facility
+@@ -1458,7 +1458,7 @@
+ #define wxUSE_PCX 1
+
+ // Set to 1 for IFF format support (Amiga format)
+-#define wxUSE_IFF 0
++#define wxUSE_IFF 1
+
+ // Set to 1 for XPM format support
+ #define wxUSE_XPM 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-setup_gctx.patch
new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-setup_gctx.patch
--- old/Alien-wxWidgets-0.65/patches/wxMSW-3.0.1-setup_gctx.patch
1970-01-01 01:00:00.000000000 +0100
+++ new/Alien-wxWidgets-0.67/patches/wxMSW-3.0.1-setup_gctx.patch
2014-10-27 18:21:26.000000000 +0100
@@ -0,0 +1,67 @@
+--- include/wx/msw/setup.h 2012-07-08 11:28:28.000000000 +0100
++++ include/wx/msw/setup.h 2012-07-13 04:03:31.764058400 +0100
+@@ -429,7 +429,7 @@
+ // Default is 1
+ //
+ // Recommended setting: 1 (but may be safely disabled if you don't use it)
+-#define wxUSE_FSVOLUME 1
++#define wxUSE_FSVOLUME 0
+
+ // Use wxStandardPaths class which allows to retrieve some standard locations
+ // in the file system
+@@ -571,7 +571,7 @@
+ #define wxUSE_FS_ARCHIVE 1
+
+ // Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
+-#define wxUSE_FS_INET 1
++#define wxUSE_FS_INET 0
+
+ // wxArchive classes for accessing archives such as zip and tar
+ #define wxUSE_ARCHIVE_STREAMS 1
+@@ -617,8 +617,8 @@
+
+ // The settings for the individual URL schemes
+ #define wxUSE_PROTOCOL_FILE 1
+-#define wxUSE_PROTOCOL_FTP 1
+-#define wxUSE_PROTOCOL_HTTP 1
++#define wxUSE_PROTOCOL_FTP 0
++#define wxUSE_PROTOCOL_HTTP 0
+
+ // Define this to use wxURL class.
+ #define wxUSE_URL 1
+@@ -771,7 +771,7 @@
+ # else
+ // MSVC 6 didn't include GDI+ headers so disable by default, enable it
+ // here if you use MSVC 6 with a newer SDK
+-# define wxUSE_GRAPHICS_CONTEXT 0
++# define wxUSE_GRAPHICS_CONTEXT 1
+ # endif
+ #else
+ // Disable support for other Windows compilers, enable it if your compiler
+@@ -779,7 +779,7 @@
+ //
+ // Notice that this will be set by configure under non-Windows platforms
+ // anyhow so the value there is not important.
+-# define wxUSE_GRAPHICS_CONTEXT 0
++# define wxUSE_GRAPHICS_CONTEXT 1
+ #endif
+
+ // Enable wxGraphicsContext implementation using Cairo library.
+@@ -1367,7 +1367,7 @@
+
+ #define wxUSE_DRAGIMAGE 1
+
+-#define wxUSE_IPC 1
++#define wxUSE_IPC 1
+ // 0 for no interprocess comms
+ #define wxUSE_HELP 1
+ // 0 for no help facility
+@@ -1458,7 +1458,7 @@
+ #define wxUSE_PCX 1
+
+ // Set to 1 for IFF format support (Amiga format)
+-#define wxUSE_IFF 0
++#define wxUSE_IFF 1
+
+ // Set to 1 for XPM format support
+ #define wxUSE_XPM 1
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
perl-Alien-wxWidgets-do_not_build_wxgtk.patch:
perl-Alien-wxWidgets-ignore_cbuilder_version.patch:
preamble: |-
BuildRequires: gcc-c++
BuildRequires: wxWidgets-ansi-devel
post_prep: |-
# this copy of GNU patch is only used on win32, remove it for license clarity
# see https://build.opensuse.org/request/show/237465
rm -vf inc/src/patch*
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
skip_noarch: 1
custom_build: |-
yes no | %__perl ./Build.PL installdirs=vendor
yes no | ./Build
./Build build flags=%{?_smp_mflags}