Changeset 10460
- Timestamp:
- 02/02/10 01:09:20 (2 years ago)
- Location:
- trunk/Perl-Dist-Padre
- Files:
-
- 2 edited
-
lib/Perl/Dist/Padre.pm (modified) (19 diffs)
-
share/Main.wxs.tt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Perl-Dist-Padre/lib/Perl/Dist/Padre.pm
r10394 r10460 19 19 20 20 21 22 21 ###################################################################### 23 22 # Configuration … … 26 25 my $dist_dir = File::ShareDir::dist_dir('Perl-Dist-Padre'); 27 26 28 29 27 return shift->SUPER::new( 28 # Define the distribution information and where it goes. 30 29 app_id => 'padre', 31 30 app_name => 'Strawberry Perl plus Padre', … … 38 37 perl_config_cf_email => 'padre-dev@perlide.org', 39 38 39 # The MSI stuff. 40 40 msi_product_icon => catfile( $dist_dir, 'padre.ico' ), 41 41 msi_help_url => undef, … … 52 52 trace => 1, 53 53 54 # Build both exe and zip versions 54 # Build both exe and zip versions. 55 55 msi => 1, 56 56 zip => 1, … … 59 59 msm_to_use => 'http://strawberryperl.com/download/strawberry-msm/strawberry-perl-5.10.1.1.msm', 60 60 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. 64 64 tasklist => [ 65 65 'final_initialization', … … 72 72 'install_padre_extras', 73 73 'remove_waste', 74 'add_forgotten_files',75 74 'regenerate_fragments', 76 75 'write', 77 76 ], 78 77 78 # Other parameters passed in override the ones 79 # here and in Strawberrry. 79 80 @_, 80 81 ); … … 82 83 } ## end sub new 83 84 85 86 84 87 sub output_base_filename { 85 return ' padre-strawberry-0.56';88 return 'strawberry-plus-padre-0.56'; 86 89 } 90 91 87 92 88 93 ##################################################################### … … 95 100 } 96 101 102 103 97 104 sub install_perl_589 { 98 105 my $self = shift; … … 101 108 } 102 109 110 111 103 112 sub install_perl_5100 { 104 113 my $self = shift; … … 106 115 return; 107 116 } 117 118 108 119 109 120 sub install_padre_prereq_modules_1 { … … 136 147 137 148 149 138 150 sub install_padre_prereq_modules_2 { 139 151 my $self = shift; … … 141 153 # Manually install our non-Wx dependencies first to isolate 142 154 # 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. 144 157 $self->install_modules( qw{ 145 158 Test::SubCalls … … 163 176 Class::Data::Inheritable 164 177 Exception::Class 165 Test::Exception166 178 Test::Most 167 179 Parse::ExuberantCTags … … 195 207 } ## end sub install_padre_prereq_modules_2 196 208 209 210 197 211 sub install_padre_modules { 198 212 my $self = shift; 199 213 200 214 # The rest of the modules are order-specific, 201 # for reasons maybe involving CPAN.pm but not fully understo dd.215 # for reasons maybe involving CPAN.pm but not fully understood. 202 216 203 217 # Install the Alien::wxWidgets module from a precompiled .par … … 261 275 } ## end sub install_padre_extras 262 276 277 278 263 279 sub dist_dir { 264 280 my $self = shift; … … 295 311 =head1 NAME 296 312 297 Perl::Dist::Padre - Padre Standalone for Win32 builder313 Perl::Dist::Padre - Strawberry + Padre for Win32 builder 298 314 299 315 =head1 VERSION … … 305 321 =head1 DESCRIPTION 306 322 307 This is the distribution builder used to create Padre Standalone for Win32.323 This is the distribution builder used to create Strawberry + Padre Standalone for Win32. 308 324 309 325 =begin readme … … 324 340 =head1 SYNOPSIS 325 341 326 # This module is only used to build Padre Standalone.342 # This module is only used to build Strawberry + Padre. 327 343 # See below if you want to try it yourself. 328 344 329 345 =head2 Building Padre Standalone 330 346 331 Unlike Strawberry, Padre Standalone does not have a standalone build script.332 333 To build Padre Standalone, run the following.347 Unlike Strawberry, Strawberry + Padre does not have a standalone build script. 348 349 To build Strawberry + Padre, run the following. 334 350 335 351 perldist_w Padre … … 404 420 =head1 COPYRIGHT AND LICENSE 405 421 406 Copyright (c) 2009Adam Kennedy and Curtis Jewell.422 Copyright 2009 - 2010 Adam Kennedy and Curtis Jewell. 407 423 408 424 This module is free software; you can redistribute it and/or -
trunk/Perl-Dist-Padre/share/Main.wxs.tt
r9183 r10460 7 7 Name="[% dist.app_name %]" 8 8 UpgradeCode="[% dist.msi_upgrade_code %]" 9 Version="0. 45.0" >9 Version="0.56.0" > 10 10 11 11 [% IF dist.msi_debug %] … … 19 19 [% END %] 20 20 21 <Media Id="1" Cabinet="P erl.cab" CompressionLevel="high" EmbedCab="yes" />21 <Media Id="1" Cabinet="Padre.cab" CompressionLevel="high" EmbedCab="yes" /> 22 22 23 23 [%# Upgrade Support %] … … 27 27 <Upgrade Id="[% dist.msi_upgrade_code %]"> 28 28 <UpgradeVersion 29 Minimum="0. 45.0"29 Minimum="0.56.0" 30 30 IncludeMinimum="yes" 31 31 OnlyDetect="yes" … … 35 35 Minimum="0.0.0" 36 36 IncludeMinimum="yes" 37 Maximum="0. 45.0"37 Maximum="0.56.0" 38 38 IncludeMaximum="no" 39 39 Language="1033" … … 80 80 [% dist.icons.as_string %] 81 81 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> 83 88 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> 91 93 92 94 [% IF dist.msi_feature_tree.defined %] … … 94 96 [% END %] 95 97 <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> 96 101 <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> 98 103 <Property Id='ARPCONTACT'>[% dist.app_publisher %]</Property> 99 104 <Property Id='ARPURLINFOABOUT'>[% dist.app_publisher_url %]</Property>
Note: See TracChangeset
for help on using the changeset viewer.
