Changeset 10460


Ignore:
Timestamp:
02/02/10 01:09:20 (2 years ago)
Author:
CSJewell
Message:

1) Make a bit more self-documenting
2) Change branding
3) Get modules list correct.

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

Legend:

Unmodified
Added
Removed
  • trunk/Perl-Dist-Padre/lib/Perl/Dist/Padre.pm

    r10394 r10460  
    1919 
    2020 
    21  
    2221###################################################################### 
    2322# Configuration 
     
    2625    my $dist_dir = File::ShareDir::dist_dir('Perl-Dist-Padre'); 
    2726 
    28  
    2927    return shift->SUPER::new( 
     28        # Define the distribution information and where it goes. 
    3029        app_id            => 'padre', 
    3130        app_name          => 'Strawberry Perl plus Padre', 
     
    3837        perl_config_cf_email => 'padre-dev@perlide.org', 
    3938 
     39        # The MSI stuff. 
    4040        msi_product_icon => catfile( $dist_dir, 'padre.ico' ), 
    4141        msi_help_url     => undef, 
     
    5252        trace => 1, 
    5353 
    54         # Build both exe and zip versions 
     54        # Build both exe and zip versions. 
    5555        msi => 1, 
    5656        zip => 1, 
     
    5959        msm_to_use => 'http://strawberryperl.com/download/strawberry-msm/strawberry-perl-5.10.1.1.msm', 
    6060        msm_zip    => 'http://strawberryperl.com/download/strawberry-perl-5.10.1.1.zip', 
    61         msm_code   => '12345678-1111-122345678-1111-1111-1111', 
    62  
    63         # Tasks to complete to create Strawberry 
     61        msm_code   => '25668C6A-4ECB-3842-B85F-6F663B4E3A38', 
     62 
     63        # Tasks to complete to create Strawberry + Padre. 
    6464        tasklist => [ 
    6565            'final_initialization', 
     
    7272            'install_padre_extras', 
    7373            'remove_waste', 
    74             'add_forgotten_files', 
    7574            'regenerate_fragments', 
    7675            'write', 
    7776        ], 
    7877 
     78        # Other parameters passed in override the ones  
     79        # here and in Strawberrry.  
    7980        @_, 
    8081    ); 
     
    8283} ## end sub new 
    8384 
     85 
     86 
    8487sub output_base_filename { 
    85     return 'padre-strawberry-0.56'; 
     88    return 'strawberry-plus-padre-0.56'; 
    8689} 
     90 
     91 
    8792 
    8893##################################################################### 
     
    95100} 
    96101 
     102 
     103 
    97104sub install_perl_589 { 
    98105    my $self = shift; 
     
    101108} 
    102109 
     110 
     111 
    103112sub install_perl_5100 { 
    104113    my $self = shift; 
     
    106115    return; 
    107116} 
     117 
     118 
    108119 
    109120sub install_padre_prereq_modules_1 { 
     
    136147 
    137148 
     149 
    138150sub install_padre_prereq_modules_2 { 
    139151    my $self = shift; 
     
    141153    # Manually install our non-Wx dependencies first to isolate 
    142154    # them from the Wx problems 
    143     # Note: ORLite::Migrate goes after ORLite once they don't clone it privately. 
     155    # NOTE: ORLite::Migrate goes after ORLite once they don't clone it privately. 
     156    # NOTE: Test::Exception goes before Test::Most when it's not in Strawberry. 
    144157    $self->install_modules( qw{ 
    145158          Test::SubCalls 
     
    163176          Class::Data::Inheritable 
    164177          Exception::Class 
    165           Test::Exception 
    166178          Test::Most 
    167179          Parse::ExuberantCTags 
     
    195207} ## end sub install_padre_prereq_modules_2 
    196208 
     209 
     210 
    197211sub install_padre_modules { 
    198212    my $self = shift; 
    199213 
    200214    # The rest of the modules are order-specific, 
    201     # for reasons maybe involving CPAN.pm but not fully understodd. 
     215    # for reasons maybe involving CPAN.pm but not fully understood. 
    202216 
    203217    # Install the Alien::wxWidgets module from a precompiled .par 
     
    261275} ## end sub install_padre_extras 
    262276 
     277 
     278 
    263279sub dist_dir { 
    264280    my $self = shift; 
     
    295311=head1 NAME 
    296312 
    297 Perl::Dist::Padre - Padre Standalone for Win32 builder 
     313Perl::Dist::Padre - Strawberry + Padre for Win32 builder 
    298314 
    299315=head1 VERSION 
     
    305321=head1 DESCRIPTION 
    306322 
    307 This is the distribution builder used to create Padre Standalone for Win32. 
     323This is the distribution builder used to create Strawberry + Padre Standalone for Win32. 
    308324 
    309325=begin readme 
     
    324340=head1 SYNOPSIS 
    325341 
    326     # This module is only used to build Padre Standalone.  
     342    # This module is only used to build Strawberry + Padre.  
    327343    # See below if you want to try it yourself. 
    328344 
    329345=head2 Building Padre Standalone 
    330346 
    331 Unlike Strawberry, Padre Standalone does not have a standalone build script. 
    332  
    333 To build Padre Standalone, run the following. 
     347Unlike Strawberry, Strawberry + Padre does not have a standalone build script. 
     348 
     349To build Strawberry + Padre, run the following. 
    334350 
    335351    perldist_w Padre 
     
    404420=head1 COPYRIGHT AND LICENSE 
    405421 
    406 Copyright (c) 2009 Adam Kennedy and Curtis Jewell. 
     422Copyright 2009 - 2010 Adam Kennedy and Curtis Jewell. 
    407423 
    408424This module is free software; you can redistribute it and/or 
  • trunk/Perl-Dist-Padre/share/Main.wxs.tt

    r9183 r10460  
    77    Name="[% dist.app_name %]" 
    88    UpgradeCode="[% dist.msi_upgrade_code %]" 
    9     Version="0.45.0" > 
     9    Version="0.56.0" > 
    1010 
    1111    [% IF dist.msi_debug %] 
     
    1919    [% END %] 
    2020 
    21     <Media Id="1" Cabinet="Perl.cab" CompressionLevel="high" EmbedCab="yes" /> 
     21    <Media Id="1" Cabinet="Padre.cab" CompressionLevel="high" EmbedCab="yes" /> 
    2222     
    2323    [%# Upgrade Support %] 
     
    2727    <Upgrade Id="[% dist.msi_upgrade_code %]"> 
    2828      <UpgradeVersion 
    29         Minimum="0.45.0" 
     29        Minimum="0.56.0" 
    3030        IncludeMinimum="yes" 
    3131        OnlyDetect="yes" 
     
    3535        Minimum="0.0.0" 
    3636        IncludeMinimum="yes" 
    37         Maximum="0.45.0" 
     37        Maximum="0.56.0" 
    3838        IncludeMaximum="no" 
    3939        Language="1033" 
     
    8080[% dist.icons.as_string %] 
    8181 
    82 <CustomAction Id='CA_ClearFolder' BinaryKey='B_ClearFolder' DllEntry='ClearFolder' /> 
     82    <CustomAction Id='CA_ClearSiteFolder' BinaryKey='B_ClearFolder' DllEntry='ClearSiteFolder' /> 
     83    <InstallExecuteSequence> 
     84      <Custom Action='CA_ClearSiteFolder' Before='InstallInitialize'> 
     85        <![CDATA[UNINSTALL_SITE OR (Installed AND NOT OLDERVERSIONBEINGUPGRADED)]]> 
     86      </Custom> 
     87    </InstallExecuteSequence> 
    8388 
    84 <InstallExecuteSequence> 
    85   <Custom Action='CA_ClearFolder' Before='InstallInitialize'>REMOVE="ALL"</Custom> 
    86   <ScheduleReboot After="InstallFinalize"/> 
    87 </InstallExecuteSequence> 
    88  
    89 <Binary Id='B_ClearFolder' SourceFile='[% dist.wix_dist_dir %]\ClearFolderCA.dll' /> 
    90 <UI><ProgressText Action="CA_ClearFolder">Scanning for added files to delete... (please wait a minute)</ProgressText></UI> 
     89    <Binary Id='B_ClearFolder' SourceFile='[% dist.wix_dist_dir %]\ClearFolderCA.dll' /> 
     90    <UI> 
     91      <ProgressText Action="CA_ClearSiteFolder">Preparing the site folder for cleaning... (please wait a while)</ProgressText> 
     92    </UI> 
    9193 
    9294[% IF dist.msi_feature_tree.defined %] 
     
    9496[% END %] 
    9597    <Property Id='ARPNOREPAIR'>1</Property> 
     98    <Property Id='MSIFASTINSTALL'>1</Property> 
     99    <!-- Property Id='MSIDEPLOYMENTCOMPLIANT'>1</Property --> 
     100    <Property Id='PerlModuleID'>[% dist.msm_code_property %]</Property> 
    96101    <Property Id='ALLUSERS'>1</Property> 
    97     <Property Id='ARPCOMMENTS'>[% dist.app_name %] 0.41 on Perl 5.10.0</Property> 
     102    <Property Id='ARPCOMMENTS'>[% dist.app_name %] 0.56 on Perl 5.10.1</Property> 
    98103    <Property Id='ARPCONTACT'>[% dist.app_publisher %]</Property> 
    99104    <Property Id='ARPURLINFOABOUT'>[% dist.app_publisher_url %]</Property> 
Note: See TracChangeset for help on using the changeset viewer.