[gnumeric] win32: more automation.



commit a07da0af051f068b399bbc0488d2d2cdae558b81
Author: Morten Welinder <terra gnome org>
Date:   Sat Jun 5 08:57:41 2010 -0400

    win32: more automation.

 tools/ChangeLog   |    4 ++++
 tools/win32/build |   14 ++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 4aa3185..0fa4ca9 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-05  Morten Welinder <terra gnome org>
+
+	* win32/build (archive_dir): Download and install NSIS.
+
 2010-05-30  Morten Welinder <terra gnome org>
 
 	* Release 1.10.5
diff --git a/tools/win32/build b/tools/win32/build
index c763336..f861724 100755
--- a/tools/win32/build
+++ b/tools/win32/build
@@ -58,6 +58,12 @@ setup_html_help() {
     wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll'
 }
 
+setup_nsis() {
+    cd "${archive_dir}"
+
+    wine nsis-2.46-setup.exe
+}
+
 # Setup up the JH_PREFIX/deploy
     build_mkdir "${JH_PREFIX}/deploy" ; cd "${JH_PREFIX}/deploy"
     build_mkdir "bin"
@@ -92,6 +98,14 @@ setup_html_help() {
 	( setup_html_help )
     fi
 
+# Download NSIS
+    if [ ! -f "${archive_dir}/nsis-2.46-setup.exe" ]; then
+	( download 'http://sourceforge.net/projects/nsis/files/NSIS%202/2.46/nsis-2.46-setup.exe/download' )
+    fi
+    if [ ! -d "${WINEDIR}/Program Files/NSIS" ]; then
+	( setup_nsis )
+    fi
+
 # example usage:
 #	make debug
 #	make start=foo debug



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]