Alien-wxWidgets

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

                         'Module::Pluggable'              => '2.6',
                        },
    build_requires  => { 'Module::Build'                  => '0.28',
                         'ExtUtils::CBuilder'             => '0.24',
                         'File::Spec'                     => '1.50',
                         'LWP::Protocol::https'           => '0',
                         },
    configure_requires => { 'Module::Build'               => '0.28',
                            },
    get_options     => { 'wxWidgets-debug'           => { type => '!' },
                         'wxWidgets-unicode'         => { type => '!' },
                         'wxWidgets-mslu'            => { type => '!' },
                         'wxWidgets-static'          => { type => '!' },
                         'wxWidgets-monolithic'      => { type => '!' },
                         'wxWidgets-universal'       => { type => '!' },
                         'wxWidgets-build'           => { type => '!' },
                         'wxWidgets-portable'        => { type => '!',
                                                        default => $^O eq 'MSWin32' },
                         'wxWidgets-build-opengl'    => { type => '!' },
                         'wxWidgets-source'          => { type => '=s' },
                         'wxWidgets-version'         => { type => '=s' },

Build.PL  view on Meta::CPAN

    
    $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};
    $FORCE_GTX = $build->args('wxWidgets-graphicscontext');
    $build->notes( 'build_data' => do $VERSIONS{$wx_version} );
}

if( $build_wx && $wx_version !~ /^(2\.9|3\.)/ ) {
    my $build_wx_unicode = _askyn( $build, 'wxWidgets-unicode',
                                   'Do you want to enable Unicode support',
                                   'yes' );
    $build->notes( 'build_wx_unicode' => $build_wx_unicode );
} elsif( $build_wx ) {
    # Unicode-only for 2.9.x and higher
    $build->notes( 'build_wx_unicode' => 1 );
}
if( $build_wx ) {
    my $build_wx_opengl = _askyn( $build, 'wxWidgets-build-opengl',
                                  'Do you want to include OpenGL support',
                                  $build_wx_opengl_dflt );
    $build->notes( 'build_wx_opengl' => $build_wx_opengl );
}

$build->create_build_script;

README.txt  view on Meta::CPAN

=head1 Installing wxWidgets

If you do not know how to do it, please answer 'yes' to the question 'Do you
want to build wxWidgets?'; Alien::wxWidgets will build and install a
copy of wxWidgets for you.

=head1 Installing Alien::wxWidgets

Please note that the steps below can be repeated multiple times in order
install multiple configurations (differing for the wxWidgets version,
compiler, compiler version, debug/unicode settings).

=head2 Unices and Mac OS X

Important: If you are going to use the system wxWidgets or your own build of 
wxWidgets then either your required wx-config must be the first wx-config in 
the PATH or the WX_CONFIG environment variable must be set to the full path 
to wx-config. The environment WX_CONFIG variable can also be used to specify 
a different wx-config.

    perl Build.PL

README.txt  view on Meta::CPAN


perl Build.PL --wxWidgets-graphicscontext

    For wxWidgets 2.8.x this flag will cause wxGraphicsContext to be built
    and used. On Windows, your compiler must support GDI+.
    For wxWidgets 2.9.x, the build system detects whether wxGraphicsContext
    is supported. However, the default for any flavour of MinGW or MSVC 6 
    is to assume that wxGraphicsContext is NOT supported. So if you know that
    wxGraphicsContext IS supported, you can use this flag to force inclusion.

perl Build.PL --wxWidgets-unicode=1

    Only relevant for wxWidgets 2.8.x, indicate if you want a unicode build.
    --wxWidgets-unicode=1|0, default is 1

perl Build.PL --wxWidgets-build=0

    Indicate if you want wxWidgets to be downloaded and built
    --wxWidgets-build=1|0, default depends on whether Aline-wxWidgets finds
    a usable wxWidgets installation on your system. An explict value always 
    overrides the default.
    Always use an explicit flag if you want to avoid prompts.
    
perl Build.PL --wxWidgets-version=2.8.12

inc/My/Build/Any_wx_config.pm  view on Meta::CPAN

our $WX_CONFIG_LIBSEP;
our @LIBRARIES = qw(base net xml adv animate aui core fl gizmos gl html
                    media propgrid qa ribbon richtext stc webview xrc);
our @MONO_LIBRARIES_2_9 = qw(core gl);
our @MONO_LIBRARIES_2_8 = qw(core stc gl);
our @CONTRIB_LIBRARIES = qw(gizmos_xrc ogl plot svg);
our @CRITICAL  = qw(base core);
our @IMPORTANT = qw(net xml adv aui gl html media richtext stc xrc );

my $initialized;
my( $wx_debug, $wx_unicode, $wx_monolithic );

sub _find {
    my( $name ) = @_;

    return $name if File::Spec->file_name_is_absolute( $name );
    foreach my $dir ( File::Spec->path ) {
        my $abs = File::Spec->catfile( $dir, $name );
        return $abs if -x $abs;
    }

inc/My/Build/Any_wx_config.pm  view on Meta::CPAN

    my $wx_config =    ( $build && $build->notes( 'wx_config' ) )
                    || $ENV{WX_CONFIG} || 'wx-config';
    my $ver = `$wx_config --version` or die "Can't execute '$wx_config': $!";

    $build->notes( 'wx_config' => _find( $wx_config ) )
        if $build && !$build->notes( 'wx_config' );
    $ver = __PACKAGE__->_version_2_dec( $ver );

    my $base = `$wx_config --basename`;
    $wx_debug = $base =~ m/d$/ ? 1 : 0;
    $wx_unicode = $base =~ m/ud?$/ ? 1 : 0;

    $WX_CONFIG_LIBSEP = `$wx_config --libs base > /dev/null 2>&1 || echo 'X'` eq "X\n" ? '=' : ' ';
    $wx_monolithic = `$wx_config --libs${WX_CONFIG_LIBSEP}adv` eq
                     `$wx_config --libs${WX_CONFIG_LIBSEP}core`;

    sub awx_is_debug {
        $_[0]->notes( 'build_wx' )
          ? $_[0]->SUPER::awx_is_debug
          : $wx_debug;
    }
    sub awx_is_unicode {
        $_[0]->notes( 'build_wx' )
          ? $_[0]->SUPER::awx_is_unicode
          : $wx_unicode;
    }
    sub awx_is_monolithic {
        $_[0]->notes( 'build_wx' )
          ? $_[0]->SUPER::awx_is_monolithic
          : $wx_monolithic;
    }
}

package My::Build::Any_wx_config::Base;

inc/My/Build/Any_wx_config.pm  view on Meta::CPAN

sub awx_dlext { $Config{dlext} }

sub _key {
    my $self = shift;
    my $compiler = $ENV{CXX} || $Config{ccname} || $Config{cc};
    my $key = $self->awx_get_name
      ( toolkit          => $self->awx_build_toolkit,
        version          => $self->_version_2_dec
                            ( $self->notes( 'build_data' )->{data}{version} ),
        debug            => $self->awx_is_debug,
        unicode          => $self->awx_is_unicode,
        mslu             => $self->awx_is_mslu,
        # it is unlikely it will ever be required under *nix
        $self->notes( 'build_wx' ) ? () :
        ( compiler         => $self->awx_compiler_kind( $compiler ),
          compiler_version => $self->awx_compiler_version( $compiler )
          ),
      );

    return $key;
}

inc/My/Build/Any_wx_config.pm  view on Meta::CPAN


sub build_wxwidgets {
    my $self = shift;
    my $extra_flags = $self->wxwidgets_configure_extra_flags;
    my $prefix_dir = $self->_key;
    my $prefix = awx_install_arch_dir( $self, $prefix_dir );
    my $opengl = $self->notes( 'build_wx_opengl' );
    my $args = sprintf '--with-%s %s--disable-compat24',
                       $self->awx_build_toolkit,
                       $opengl ? '--with-opengl ' : '';
    my $unicode = $self->awx_is_unicode ? 'enable' : 'disable';
    my $debug = '';
    
    if( $self->awx_version_type == 2 ) {
        $debug = ( $self->awx_debug ) ? '--enable-debug' : '--disable-debug';
    } else {
        $debug = ( $self->awx_debug ) ? '--enable-debug=max' : '';
    }

    my $monolithic = $self->awx_is_monolithic ? 'enable' : 'disable';
    my $universal = $self->awx_is_universal ? 'enable' : 'disable';
    my $dir = $self->notes( 'build_data' )->{data}{directory};
    my $cmd = "echo exit | " . # for OS X 10.3...
              "sh ../configure --prefix=$prefix $args --$unicode-unicode"
            . " $debug --$monolithic-monolithic"
            . " --$universal-universal_binary $extra_flags";
    my $old_dir = Cwd::cwd;

    chdir $dir;

    # do not reconfigure unless necessary
    mkdir 'bld' unless -d 'bld';
    chdir 'bld';
    # print $cmd, "\n";

inc/My/Build/Base.pm  view on Meta::CPAN

        local $TYPE = 'dummy';
        local $URL = 'dummy';

        do $file;
    };
    die "Unable to load data file '$file': $@" unless $data;

    foreach my $p ( qw(msw mac unix) ) {
        next unless exists $data->{$p};

        foreach my $c ( qw(unicode ansi) ) {
            next unless exists $data->{$p}{$c};

            foreach my $f ( @{$data->{$p}{$c}} ) {
                my $file = File::Spec->catfile( 'patches', $f );
                my $manifest_file = File::Spec::Unix->catfile( 'patches', $f );

                die 'Missing patch file: ', $file, "\n" unless -f $file;
                die 'Patch file ', $file, ' not in MANIFEST'
                  unless exists $manifest->{$manifest_file};
            }

inc/My/Build/Base.pm  view on Meta::CPAN

        $self->awx_compiler_kind( $config{compiler} );
    $config{config}{compiler_version} = $self->notes( 'compiler_version' ) ||
      $self->awx_compiler_version( $config{compiler} );
    $self->notes( 'compiler_kind' => $config{config}{compiler_kind} );
    $self->notes( 'compiler_version' => $config{config}{compiler_version} );

    my $base = $self->awx_get_name
      ( toolkit          => $config{config}{toolkit},
        version          => $config{version},
        debug            => $self->awx_is_debug,
        unicode          => $self->awx_is_unicode,
        mslu             => $self->awx_is_mslu,
        compiler         => $config{config}{compiler_kind},
        compiler_version => $config{config}{compiler_version},
      );

    $self->{awx_key} = $base;

    $config{wx_base_directory} = $self->awx_wx_config_data->{wxdir}
      if $self->awx_wx_config_data->{wxdir};
    $config{alien_base} = $self->{awx_base} = $base;

inc/My/Build/Base.pm  view on Meta::CPAN


sub install_system_wxwidgets { }

sub awx_configure {
    my $self = shift;
    return %{$self->{awx_config}} if $self->{awx_config};

    my %config;

    $config{config}{debug} = $self->awx_is_debug;
    $config{config}{unicode} = $self->awx_is_unicode;
    $config{config}{mslu} = $self->awx_is_mslu;
    $config{config}{build} = $self->awx_is_monolithic ? 'mono' : 'multi';
    $config{link_flags} = '';
    $config{c_flags} = '';

    return %config;
}

sub wx_config {
    my $self = shift;

inc/My/Build/Base.pm  view on Meta::CPAN

          unless defined $data->{$_};
    }

    return @{$data}{@_};
}

sub awx_monolithic { $_[0]->args( 'wxWidgets-monolithic' ) ? 1 : 0 }
sub awx_is_monolithic { $_[0]->awx_monolithic }
sub awx_debug { $_[0]->args( 'wxWidgets-debug' ) ? 1 : 0 }
sub awx_is_debug { $_[0]->awx_debug }
sub awx_unicode { $_[0]->notes( 'build_wx_unicode' )
                    || $_[0]->args( 'wxWidgets-unicode' ) ? 1 : 0 }
sub awx_is_unicode { $_[0]->awx_unicode }
sub awx_mslu { 0 }
sub awx_is_mslu { $_[0]->awx_mslu }
sub awx_static { $_[0]->args( 'wxWidgets-static' ) ? 1 : 0 }
sub awx_is_static { $_[0]->awx_static }
sub awx_universal { $_[0]->args( 'wxWidgets-universal' ) ? 1 : 0 }
sub awx_is_universal { $_[0]->awx_universal }
sub awx_get_package { local $_ = $_[0]; s/^My::Build:://; return $_ }

sub awx_wx_patches {
    my $self = shift;
    my $data = $self->notes( 'build_data' );
    my $toolkit = $^O eq 'MSWin32' ? 'msw' :
                  $^O eq 'darwin'  ? 'mac' :
                                     'unix';
    my $unicode = $self->awx_unicode ? 'unicode' : 'ansi';

    return unless exists $data->{$toolkit} and $data->{$toolkit}{$unicode};

    return map { File::Spec->rel2abs( File::Spec->catfile( 'patches', $_ ) ) }
               @{$data->{$toolkit}{$unicode}};
}

sub awx_version_type {
    my $self = shift;
    my $versiontype = ( $self->notes( 'build_data' )->{data}{version} =~ /^2\.(6|7|8)/ )
        ? 2 : 3;
    return $versiontype;
}

sub awx_get_name {
    my( $self, %args ) = @_;
    my $e = sub { defined $_[0] ? ( $_[0] ) : () };
    my $pv = sub { join '.', map { 0 + ( $_ || 0 ) }
                                 ( $_[0] =~ /(\d+)\.(\d{1,3})(\d{0,3})/ ) } ;
    my $base = join '-', $args{toolkit}, $pv->( $args{version} ),
                   $e->( $args{debug} ? 'dbg' : undef ),
                   $e->( $args{unicode} ? 'uni' : undef ),
                   $e->( $args{mslu} ? 'mslu' : undef ),
                   $e->( $args{compiler} ),
                   $e->( $args{compiler_version} ),
                   ;

    $base =~ s/\./_/g; $base =~ s/-/_/g;

    return $base;
}

inc/My/Build/Win32.pm  view on Meta::CPAN

    my $cmd = qq{perl -pe "" -- "$patch_file"} .
              qq{ | "$patch_exe" -N -p0 -u -b -z .bak};

    return $cmd;
}

sub awx_grep_dlls {
    my( $self, $libdir, $digits, $mono ) = @_;
    my $ret = {};
    my $ver = $self->_version_2_dec( $self->awx_w32_bakefile_version );
    my $suff = ( $self->awx_unicode ? 'u' : '' ) .
               ( $self->awx_debug && $ver <= 2.009 ? 'd' : '' );

    my @dlls = grep { m/${digits}\d*${suff}_/ }
               bsd_glob( File::Spec->catfile( $libdir, '*.dll' ) );
    my @libs = grep { m/(?:lib)?wx(?:wince|msw|base)[\w\.]+$/ }
               grep { m/${digits}\d*${suff}(_|\.)/ }
               bsd_glob( File::Spec->catfile( $libdir, "*$Config{lib_ext}" ) );
    # we want builtins on Win32 so that they are available for wxWidgets extensions
    my @builtins = grep { m/wx(zlib|regex|expat|png|jpeg|tiff)/ }
               bsd_glob( File::Spec->catfile( $libdir, "*$Config{lib_ext}" ) );

inc/My/Build/Win32.pm  view on Meta::CPAN


use strict;
use Carp;
use Config;
# mixin: no use base

sub build_wxwidgets {
    my $self = shift;
    my $old_dir = Cwd::cwd();

    my $uni = $self->awx_unicode ? 'UNICODE=1'   : 'UNICODE=0';
    my $mslu = $self->awx_mslu   ? 'MSLU=1'      : 'MSLU=0';
    my $dbg = $self->awx_debug   ? 'BUILD=debug' : 'BUILD=release';
    my $opt = join ' ', $uni, $mslu, $dbg, 'SHARED=1';
    
    if( my $xbuildflags = $self->awx_w32_extra_buildflags ) {
		$opt .= ' ' . $xbuildflags;
	}
    
    # help windres in x compiler
    local $ENV{GNUTARGET} = ( $Config{ptrsize} == 8 )  ? 'pe-x86-64' : 'pe-i386';

inc/My/Build/Win32_MSVC_Bakefile.pm  view on Meta::CPAN

    die "PANIC: you are not using nmake!" unless $make eq 'nmake';

    my $orig_libdir;
    my $final = $self->awx_debug ? 'BUILD=debug   DEBUG_RUNTIME_LIBS=0'
                                 : 'BUILD=release DEBUG_RUNTIME_LIBS=0';

	if( my $xbuildflags = $self->awx_w32_extra_buildflags ) {
		$final .= ' ' . $xbuildflags;
	}
    
    my $unicode = $self->awx_unicode ? 'UNICODE=1' : 'UNICODE=0';
    $unicode .= ' MSLU=1' if $self->awx_mslu;

    my $dir = Cwd::cwd;
    chdir File::Spec->catdir( $ENV{WXDIR}, 'samples', 'minimal' );

    my @t = qx(nmake /nologo /n /a /u /f makefile.vc $final $unicode SHARED=1);

    my( $accu, $libdir, $digits );
    foreach ( @t ) {
        chomp;
        m/^\s*echo\s+(.*)>\s*\S+\s*$/ and $accu .= ' ' . $1 and next;
        s/\@\S+\s*$/$accu/ and undef $accu;

        if( s/^\s*link\s+// ) {
            m/\swxmsw(\d+)\S+\.lib/ and $digits = $1;
            s/\s+\S+\.(exe|res|obj)/ /g;

inc/My/Build/Win32_MinGW_Bakefile.pm  view on Meta::CPAN


    my $cflags = 'CXXFLAGS=" -Os -DNO_GCC_PRAGMA "';
        
    my $final = $self->awx_debug ? 'BUILD=debug'
                                 : 'BUILD=release';
                                 
    if( my $xbuildflags = $self->awx_w32_extra_buildflags ) {
		$final .= ' ' . $xbuildflags;
	}
    
    my $unicode = $self->awx_unicode ? 'UNICODE=1' : 'UNICODE=0';
    $unicode .= ' MSLU=1' if $self->awx_mslu;

    my $dir = Cwd::cwd;
    my $make = $self->_find_make;
    chdir File::Spec->catdir( $ENV{WXDIR}, 'samples', 'minimal' );
    
    # help xcomp tools
    local $ENV{GNUTARGET} = ( $Config{ptrsize} == 8  ) ? 'pe-x86-64' : 'pe-i386';
    
    my @t = qx($make -n -B -f makefile.gcc $final $unicode $cflags SHARED=1);

    my( $orig_libdir, $libdir, $digits );
    foreach ( @t ) {
        chomp;

        if( m/\s-l\w+/ ) {
            m/-lwxbase(\d+)/ and $digits = $1;
            s/^[cg]\+\+//;
            s/(?:\s|^)-[co]//g;
            s/\s+\S+\.(exe|o)/ /gi;

inc/inc_Locale-Maketext-Simple/Locale/Maketext/Simple.pm  view on Meta::CPAN

    }

More sophisticated example:

    package Foo::Bar;
    use Locale::Maketext::Simple (
	Class	    => 'Foo',	    # search in auto/Foo/
	Style	    => 'gettext',   # %1 instead of [_1]
	Export	    => 'maketext',  # maketext() instead of loc()
	Subclass    => 'L10N',	    # Foo::L10N instead of Foo::I18N
	Decode	    => 1,	    # decode entries to unicode-strings
	Encoding    => 'locale',    # but encode lexicons in current locale
				    # (needs Locale::Maketext::Lexicon 0.36)
    );
    sub japh {
	print maketext("Just another %1 hacker", "Perl");
    }

=head1 DESCRIPTION

This module is a simple wrapper around B<Locale::Maketext::Lexicon>,

lib/Alien/wxWidgets.pm  view on Meta::CPAN

    $display{compiler_version} = '(any version)' unless $display{compiler_version};

    return _pretty_print_configuration( \%display );
}

sub _pretty_print_configuration {
    my $config = shift;
    my @options = map { !defined $config->{$_} ? () :
                                 $config->{$_} ? ( $_ ) :
                                                 ( "no $_" ) }
                      qw(debug unicode mslu);

    return "wxWidgets $config->{version} for $config->{toolkit}; " .
           "compiler compatibility: $config->{compiler_kind} " .
           $config->{compiler_version} . '; ' .
           ( @options ? 'options: ' . join( ', ', @options ) : '' ) .
           "\n";
}

sub show_configurations {
    my $class = shift;

lib/Alien/wxWidgets.pm  view on Meta::CPAN


=head1 METHODS

=head2 load/import

    use Alien::wxWidgets version          => 2.004 | [ 2.004, 2.005 ],
                         compiler_kind    => 'gcc' | 'cl', # Windows only
                         compiler_version => '3.3', # only GCC for now
                         toolkit          => 'gtk2',
                         debug            => 0 | 1,
                         unicode          => 0 | 1,
                         mslu             => 0 | 1,
                         key              => $key,
                         ;

    Alien::wxWidgets->load( <same as the above> );

Using C<Alien::wxWidgets> without parameters will load a default
configuration (for most people this will be the only installed
confiuration). Additional parameters allow to be more selective.

lib/Alien/wxWidgets.pm  view on Meta::CPAN


=head2 config

    my $config = Alien::wxWidgets->config;

Returns some miscellaneous configuration informations for wxWidgets
in the form

    { toolkit   => 'msw' | 'gtk' | 'motif' | 'x11' | 'cocoa' | 'mac',
      debug     => 1 | 0,
      unicode   => 1 | 0,
      mslu      => 1 | 0,
      }

=head2 include_path

    my $include_path = Alien::wxWidgets->include_path;

Returns the include paths to be used in a format suitable for the
compiler (usually something like "-I/usr/local/include -I/opt/wx/include").

lib/Alien/wxWidgets/Utility.pm  view on Meta::CPAN

    my( $cc ) = @_;

    _warn_nonworking_compiler( $cc );

    return 'gcc' if awx_cc_is_gcc( $cc );
    return 'cl'  if awx_cc_is_msvc( $cc );

    return 'nc'; # as in 'No Clue'
}

# sort a list of configurations by version, debug/release, unicode/ansi, mslu
sub awx_sort_config {
    # comparison functions treating undef as 0 or ''
    # numerico comparison
    my $make_cmpn = sub {
        my $k = shift;
        sub { exists $a->{$k} && exists $b->{$k} ? $a->{$k} <=> $b->{$k} :
              exists $a->{$k}                    ? 1                     :
              exists $b->{$k}                    ? -1                    :
                                                   0 }
    };

lib/Alien/wxWidgets/Utility.pm  view on Meta::CPAN

                my $cmp = &$_;
                return $cmp if $cmp;
            }

            return 0;
        }
    };

    my $cmp = $crit_sort->( $make_cmpn->( 'version' ),
                            $rev->( $make_cmpn->( 'debug' ) ),
                            $make_cmpn->( 'unicode' ),
                            $make_cmpn->( 'mslu' ) );

    return reverse sort $cmp @_;
}

sub awx_grep_config {
    my( $cfgs ) = shift;
    my( %a ) = @_;
    # compare to a numeric range or value
    # low extreme included, high extreme excluded

lib/Alien/wxWidgets/Utility.pm  view on Meta::CPAN

                                           $_->{toolkit};
        return $atk eq $btk;
    };

    # note tha if the criteria was not supplied, the comparison is a noop
    my $wver = $make_cmpr->( 'version' );
    my $ckind = $make_cmps->( 'compiler_kind' );
    my $cver = $make_cmpn->( 'compiler_version' );
    my $tkit = $compare_tk;
    my $deb = $make_cmpn->( 'debug' );
    my $uni = $make_cmpn->( 'unicode' );
    my $mslu = $make_cmpn->( 'mslu' );
    my $key = $make_cmps->( 'key' );

    grep { &$wver  } grep { &$ckind } grep { &$cver  }
    grep { &$tkit  } grep { &$deb   } grep { &$uni   }
    grep { &$mslu  } grep { &$key   }
         @{$cfgs}
}

# automatically add compiler data unless the key was supplied

patches/data-2.8.10  view on Meta::CPAN

my $VERSION = '2.8.10';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.8.0-magic.patch);

{ msw     => { unicode => [ qw(
wxMSW-2.8.0-setup_u.patch
wxMSW-2.8.10-config.patch
wxMSW-2.8.10-makefiles.patch
wxMSW-2.8.10-version.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.10-w64.patch
wxMSW-2.8.10-w64-stc.patch
wxMSW-2.9.0-w64-filefn.patch
                               ), @common ],

patches/data-2.8.10  view on Meta::CPAN

wxMSW-2.8.10-config.patch
wxMSW-2.8.10-makefiles.patch
wxMSW-2.8.10-version.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.10-w64.patch
wxMSW-2.8.10-w64-stc.patch
wxMSW-2.9.0-w64-filefn.patch
                               ), @common ],
               },
  mac     => { unicode => [ qw(
wxMac-2.8.3-brokengcc.patch
wxMac-2.8.10-fontdlg.patch
                               ), @common ],
               ansi    => [ qw(
wxMac-2.8.3-brokengcc.patch
wxMac-2.8.10-fontdlg.patch
                               ), @common ],
               },
  unix    => { unicode => [ qw(
wxWidgets-2.8.10-gsocket.patch
                               ), @common ],
               ansi    => [ qw(
wxWidgets-2.8.10-gsocket.patch
                               ), @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,

patches/data-2.8.11  view on Meta::CPAN

my $VERSION = '2.8.11';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.8.0-magic.patch);

{ msw     => { unicode => [ qw(
wxMSW-2.8.0-setup_u.patch
wxMSW-2.8.10-config.patch
wxMSW-2.8.11-makefiles.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.11-w64.patch
wxMSW-2.8.10-w64-stc.patch
wxMSW-2.8.11-filefn.patch
                               ), @common ],
               ansi    => [ qw(
wxMSW-2.8.0-setup.patch
wxMSW-2.8.10-config.patch
wxMSW-2.8.11-makefiles.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.11-w64.patch
wxMSW-2.8.10-w64-stc.patch
wxMSW-2.8.11-filefn.patch
                               ), @common ],
               },
  mac     => { unicode => [ qw(
wxMac-2.8.3-brokengcc.patch
                               ), @common ],
               ansi    => [ qw(
wxMac-2.8.3-brokengcc.patch
                               ), @common ],
               },
  unix    => { unicode => [ qw( 
  
  							   ), @common ],
               ansi    => [ qw(
               				   ), @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,
               },

patches/data-2.8.12  view on Meta::CPAN

my $VERSION = '2.8.12';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.8.0-magic.patch);

{ msw     => { unicode => [ qw(
wxMSW-2.8.0-setup_u.patch
wxMSW-2.8.10-config.patch
wxMSW-2.8.11-makefiles.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.12-w64.patch
wxMSW-2.8.12-w64-stc.patch
wxMSW-2.8.11-filefn.patch
                               ), @common ],
               ansi    => [ qw(

patches/data-2.8.12  view on Meta::CPAN

wxMSW-2.8.10-config.patch
wxMSW-2.8.11-makefiles.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.12-w64.patch
wxMSW-2.8.12-w64-stc.patch
wxMSW-2.8.11-filefn.patch

                               ), @common ],
               },
  mac     => { unicode => [ qw(
wxMac-2.8.3-brokengcc.patch
                               ), @common ],
               ansi    => [ qw(
wxMac-2.8.3-brokengcc.patch
                               ), @common ],
               },
  unix    => { unicode => [ qw(
wxGTK-2.8.12-dirdialog.patch
  							   ), @common ],
               ansi    => [ qw(
wxGTK-2.8.12-dirdialog.patch
               				   ), @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,

patches/data-2.9.0  view on Meta::CPAN

my $VERSION = '2.9.0';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.9.0-magic.patch
                wxWidgets-2.9.0-msgdlg.patch);

{ msw     => { unicode => [ qw(
wxMSW-2.9.0-setup.patch
wxMSW-2.9.0-config.patch
wxMSW-2.9.0-makefiles.patch
wxMSW-2.9.0-version.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.9.0-w64-filefn.patch
                               ), @common ],
               },
  mac     => { unicode => [ qw(wxMac-2.9.0-textctrl.patch
                               ), @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,
               },
  };

patches/data-2.9.1  view on Meta::CPAN

my $VERSION = '2.9.1';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.9.0-magic.patch);

{ msw     => { unicode => [ qw(
wxMSW-2.9.1-setup.patch
wxMSW-2.9.1-makefiles.patch
wxMSW-2.9.1-w64-mslu.patch 
                               ), @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,
               },
  };

patches/data-2.9.2  view on Meta::CPAN

my $VERSION = '2.9.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-2.9.2-setup_gctx.patch' : 'wxMSW-2.9.2-setup.patch';

{ msw     => { unicode => [ 
  'wxMSW-2.9.2-makefiles.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,
               },
  };

patches/data-2.9.3  view on Meta::CPAN

my $VERSION = '2.9.3';
   $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-2.9.3-setup_gctx.patch' : 'wxMSW-2.9.3-setup.patch';

{ msw     => { unicode => [ 
  'wxMSW-2.9.3-makefiles.patch',
  $winsetuppatch, 
  @common 
  ],
               },
  mac     => { unicode => [ 'cocoaoverlay-2-9-3.patch', @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,
               },
  };

patches/data-2.9.4  view on Meta::CPAN

my $VERSION = '2.9.4';
   $URL   ||= "http://prdownloads.sourceforge.net/wxwindows";
my $BASE    = 'wxWidgets';
# $TYPE from Build.PL

my @common = qw(wxWidgets-2.9.0-magic.patch wxWidgets-2.9.4-plugin.patch);

my $winsetuppatch = ( $FORCE_GTX ) ? 'wxMSW-2.9.4-setup_gctx.patch' : 'wxMSW-2.9.4-setup.patch';

{ msw     => { unicode => [ 
  'wxMSW-2.9.4-makefiles.patch',
  $winsetuppatch, 
  @common 
  ],
               },
  mac     => { unicode => [ 'cocoaoverlay-2-9-3.patch', @common ],
               },
  unix    => { unicode => [ 'wxGTK-2.9.4-dirdialog.patch', @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,
               },
  };

patches/data-3.0.0  view on Meta::CPAN

my $VERSION = '3.0.0';
$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-2.9.4-setup_gctx.patch' : 'wxMSW-2.9.4-setup.patch';

{   
  msw     => { unicode => [ 
  'wxMSW-3.0.0-makefiles.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,
               },
  };

patches/data-3.0.1  view on Meta::CPAN

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,
               },
  };

patches/data-3.0.2  view on Meta::CPAN

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 wxWidgets-3.0.2-webkit.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,
               },
  };



( run in 0.786 second using v1.01-cache-2.11-cpan-88abd93f124 )