Changeset 5601


Ignore:
Timestamp:
06/26/09 09:06:01 (3 years ago)
Author:
CSJewell
Message:

First pass at updating Perl::Dist::Padre to work with Perl::Dist::WiX and newest Perl::Dist::Strawberry.

Location:
trunk/Perl-Dist-Padre
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Perl-Dist-Padre

    • Property svn:ignore
      •  

        old new  
        11META.yml 
         2Makefile 
         3blib 
        24inc 
        3 Makefile 
         5pm_to_blib 
  • trunk/Perl-Dist-Padre/Makefile.PL

    r2771 r5601  
    1 use inc::Module::Install 0.77; 
     1use inc::Module::Install 0.91; 
    22 
    33all_from      'lib/Perl/Dist/Padre.pm'; 
    4 requires      'Perl::Dist::Strawberry' => '1.07'; 
     4requires      'Perl::Dist::Strawberry' => '1.11'; 
     5requires      'Perl::Dist::WiX'        => '0.185'; 
    56test_requires 'Test::More'             => '0.42'; 
    67test_requires 'LWP::Online'            => '1.07'; 
  • trunk/Perl-Dist-Padre/lib/Perl/Dist/Padre.pm

    r4933 r5601  
    2626use Perl::Dist::Strawberry (); 
    2727 
    28 our $VERSION = '0.25'; 
     28our $VERSION = '0.260_001'; 
    2929our @ISA     = 'Perl::Dist::Strawberry'; 
    3030 
     
    3939    shift->SUPER::new( 
    4040        app_id            => 'padre', 
    41         app_name          => 'Padre Standalone Win32', 
     41        app_name          => 'Padre Standalone', 
    4242        app_publisher     => 'Padre', 
    4343        app_publisher_url => 'http://padre.perlide.org/', 
    44         image_dir         => 'C:\\padre', 
    45  
     44        image_dir         => 'C:\strawberry', 
     45 
     46        # Set e-mail to something Strawberry-specific. 
     47        perl_config_cf_email => 'perl.padre@csjewell.fastmail.us', 
     48 
     49        # Program version. 
     50        build_number         => 1, 
     51        beta_number          => 1, 
     52         
    4653        # Build both exe and zip versions 
    47         exe               => 1, 
     54        msi               => 1, 
    4855        zip               => 1, 
    4956        @_, 
     
    5360sub app_ver_name { 
    5461    $_[0]->{app_ver_name} or 
    55     $_[0]->app_name . ' ' . $_[0]->perl_version_human . ' Alpha 1'; 
     62    $_[0]->app_name 
     63        . ' ' . $_[0]->perl_version_human 
     64        . '.' . $_[0]->build_number 
     65        . ($_[0]->beta_number ? ' Beta ' . $_[0]->beta_number : ''); 
    5666} 
    5767 
    5868sub output_base_filename { 
    5969    $_[0]->{output_base_filename} or 
    60     'padre-standalone-' . $_[0]->perl_version_human . '-alpha-1'; 
     70    'padre-standalone' 
     71        . '-' . $_[0]->perl_version_human 
     72        . '.' . $_[0]->build_number 
     73        . ($_[0]->beta_number ? '-beta-' . $_[0]->beta_number : '') 
    6174} 
    6275 
     
    7083sub install_perl_588 { 
    7184    my $self = shift; 
    72     die "Perl 5.8.8 is not available in Chocolate Perl"; 
     85    die "Perl 5.8.8 is not available in Padre Standalone"; 
     86} 
     87 
     88sub install_perl_589 { 
     89    my $self = shift; 
     90    die "Perl 5.8.9 is not available in Padre Standalone"; 
    7391} 
    7492 
     
    8098    # them from the Wx problems 
    8199    $self->install_modules( qw{ 
     100        File::Next 
    82101        App::Ack 
    83102        Class::Adapter 
     103        Class::Inspector 
    84104        Class::Unload 
     105        AutoXS::Header 
    85106        Class::XSAccessor 
    86107        Devel::Dumpvar 
    87         Encode 
    88108        File::Copy::Recursive 
    89109        File::ShareDir 
    90110        File::ShareDir::PAR 
    91         IPC::Cmd 
     111        Win32::Process 
    92112        IPC::Run 
     113        Test::Object 
     114        Config::Tiny 
     115        Test::ClassAPI 
     116        Clone 
     117        Hook::LexWrap 
     118        Test::SubCalls 
     119        List::MoreUtils 
     120        Task::Weaken 
     121        PPI 
     122        File::Find::Rule::Perl 
     123        File::Find::Rule::VCS 
     124        Module::Extract 
     125        Module::Manifest 
     126        Module::Math::Depends 
    93127        Module::Inspector 
    94128        Module::Refresh 
     129        Devel::Symdump 
     130        Pod::Coverage 
     131        Test::Pod::Coverage 
    95132        Module::Starter 
    96133        ORLite 
    97134        ORLite::Migrate 
    98         PPI 
     135        Text::Diff 
     136        Test::Differences 
     137        File::Slurp 
     138        Pod::POM 
    99139        Parse::ErrorString::Perl 
    100         Pod::POM 
    101140        Pod::Simple 
    102141        Pod::Simple::XHTML 
    103         Text::Diff 
    104142        Text::FindIndent 
    105         threads 
    106         threads::shared 
    107143        Thread::Queue 
    108         Clone 
    109         List::MoreUtils 
    110         Task::Weaken 
    111         Test::Object 
    112         Class::Inspector 
    113         Config::Tiny 
    114         Hook::LexWrap 
     144        Pod::Abstract 
     145        Test::Most 
     146        Devel::StackTrace 
     147        Class::Data::Inheritable 
     148        Exception::Class 
     149        Text::Balanced 
     150        Class::XSAccessor::Array 
    115151    } ); 
    116152 
     
    148184should be reported to their respective distributions. 
    149185 
    150 =head1 AUTHOR 
     186=head1 AUTHORS 
     187 
     188Curtis Jewell E<lt>csjewell@cpan.orgE<gt> 
    151189 
    152190Adam Kennedy E<lt>adamk@cpan.orgE<gt> 
     
    154192=head1 COPYRIGHT 
    155193 
    156 Copyright 2009 Adam Kennedy. 
     194Copyright 2009 Adam Kennedy and Curtis Jewell. 
    157195 
    158196This program is free software; you can redistribute 
Note: See TracChangeset for help on using the changeset viewer.