~ubuntu-branches/ubuntu/trusty/libwx-perl/trusty

« back to all changes in this revision

Viewing changes to Wx.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-10-03 00:11:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081003001125-22dw55oo66k8is78
Tags: 0.86-2
debian/rules: run tests with -j1; this disables parallel make during tests
even if the build target was invoked with -jN (N>1).
Closes: #499740 -FTBFS: Failed 2/4 test scripts. 6/9 subtests failed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
## Author:      Mattia Barbon
5
5
## Modified by:
6
6
## Created:     01/10/2000
7
 
## RCS-ID:      $Id: Wx.pm 2401 2008-05-19 21:39:46Z mbarbon $
 
7
## RCS-ID:      $Id: Wx.pm 2448 2008-08-24 21:57:04Z mbarbon $
8
8
## Copyright:   (c) 2000-2008 Mattia Barbon
9
9
## Licence:     This program is free software; you can redistribute it and/or
10
10
##              modify it under the same terms as Perl itself
21
21
$_msw = 1; $_gtk = 2; $_motif = 3; $_mac = 4; $_x11 = 5;
22
22
 
23
23
@ISA = qw(Exporter);
24
 
$VERSION = '0.84';
 
24
$VERSION = '0.86';
25
25
$XS_VERSION = $VERSION;
26
26
$VERSION = eval $VERSION;
27
27
 
181
181
eval( "sub wxMAC() { $_platform == $_mac }" );
182
182
eval( "sub wxX11() { $_platform == $_x11 }" );
183
183
 
 
184
# Mac OS X warning
 
185
if( wxMAC() && $^X !~ m{/wxPerl\.app/} ) {
 
186
    warn "On Mac OS X please run scripts with the 'wxPerl' interpreter\n";
 
187
}
 
188
 
184
189
require Wx::App;
185
190
require Wx::Event;
186
191
require Wx::Locale;