ooo-build r11930 - trunk
- From: jholesovsky svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r11930 - trunk
- Date: Tue, 18 Mar 2008 10:32:29 +0000 (GMT)
Author: jholesovsky
Date: Tue Mar 18 10:32:29 2008
New Revision: 11930
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11930&view=rev
Log:
2008-03-17 Jan Holesovsky <kendy suse cz>
* download.in: Support for dev300-*, implemented --all that downloads
all the OOo tarballs (core, system, sdk_oo, ...).
Modified:
trunk/ChangeLog
trunk/download.in
Modified: trunk/download.in
==============================================================================
--- trunk/download.in (original)
+++ trunk/download.in Tue Mar 18 10:32:29 2008
@@ -10,10 +10,11 @@
sub usage {
print STDERR "\ndownload\n";
- print STDERR "Syntax: download [--help] \n\n";
- print STDERR " download's behavior is coded by your configure options eg.\n";
- print STDERR " if you configure with --with-system-gcc it will not download\n";
- print STDERR " gcc & binutils\n";
+ print STDERR "Syntax: download [--all] [--help]\n\n";
+ print STDERR " --all downloads all the OOo source packges\n\n";
+ print STDERR "download's behavior is coded by your configure options eg.\n";
+ print STDERR "if you configure with --with-system-gcc it will not download\n";
+ print STDERR "gcc & binutils\n";
};
@@ -21,6 +22,7 @@
'http:\/\/.*' => '',
'binutils-.*' => '@MIRROR@/support',
'gcc-.*' => '@MIRROR@/support',
+ 'dev300-m.*' => '@MIRROR@/DEV300',
'src680-m.*' => '@MIRROR@/SRC680',
'ooa680-m.*' => '@MIRROR@/OOA680',
'oob680-m.*' => '@MIRROR@/OOB680',
@@ -160,10 +162,15 @@
# Files to download
@files = ();
+my $download_all = 0;
+
while ($arg = shift @ARGV) {
if ( $arg eq '--help' ) {
&usage and exit(0);
}
+ elsif ( $arg eq '--all' ) {
+ $download_all = 1;
+ }
}
# Defaults
@@ -175,11 +182,15 @@
push @files, ( 'gcc-3.4.1.tar.bz2', 'gcc-3.4.1-Enums.diff', 'gcc-3.4.1-VisibilityPatch2.diff' );
}
+if ($download_all || '@BUILD_WIN32@' ne '')
+{
+ push @files, ( source_file( "system" ) );
+}
+
# Misc. bits for Win32
if ('@BUILD_WIN32@' ne '')
{
push @files, ( 'unicows.exe', 'dbghinst.EXE' );
- push @files, ( source_file( "system" ) );
# push @files, ( '5_11_98Odma20.zip' ); # - ODMA - for when it works.
push @files, ( "apache-ant-1.6.5-bin.tar.gz" );
push @files, ( '@BUILD_MOZILLA_SOURCE@' );
@@ -226,7 +237,7 @@
# Temporary utf-8ization of bibliograpy bits
push @files, ( "biblio.tar.bz2" );
-if ('@ENABLE_BINFILTER@' eq 'TRUE') {
+if ($download_all || '@ENABLE_BINFILTER@' eq 'TRUE') {
push @files, ( source_file( "binfilter" ) );
}
@@ -234,7 +245,7 @@
push @files, ( "unowinreg.dll" );
}
-if ('@OOO_LANGS@' ne 'en-US' || '@BUILD_WIN32@' ne '' ) {
+if ($download_all || '@OOO_LANGS@' ne 'en-US' || '@BUILD_WIN32@' ne '' ) {
push @files, ( source_file( "l10n" ) );
}
@@ -290,7 +301,8 @@
push @files, ( source_file( "system" ) );
}
-if ($distro =~ m/Debian/ ||
+if ($download_all ||
+ $distro =~ m/Debian/ ||
$distro =~ m/Ubuntu/ ||
$distro eq 'OxygenOfficeLinux' || $distro eq 'OxygenOfficeWindows' ||
'@BUILD_WIN32@' ne '') {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]