corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [61/63] [abbrv] incubator-corinthia git commit: Add script to download dependencies for windows
Date Tue, 30 Dec 2014 14:45:25 GMT
Add script to download dependencies for windows


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/8da475b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/8da475b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/8da475b7

Branch: refs/heads/stable
Commit: 8da475b778581453d1da1bdbc20d72310106410c
Parents: 27e199b
Author: Peter Kelly <peter@uxproductivity.com>
Authored: Tue Dec 30 21:25:19 2014 +0700
Committer: Peter Kelly <peter@uxproductivity.com>
Committed: Tue Dec 30 21:25:19 2014 +0700

----------------------------------------------------------------------
 external/README.txt         | 22 +++++++++++++++-------
 external/fetch_downloads.sh | 21 +++++++++++++++++++++
 2 files changed, 36 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8da475b7/external/README.txt
----------------------------------------------------------------------
diff --git a/external/README.txt b/external/README.txt
index fa95d9a..4bf4836 100644
--- a/external/README.txt
+++ b/external/README.txt
@@ -2,14 +2,22 @@ Download external developer libraries to here, and you dont need to modify
CMake
 
 in order to compile on windows you need:
 
-Zlib developer files from http://gnuwin32.sourceforge.net/packages/zlib.htm
-Iconv developer files from http://gnuwin32.sourceforge.net/packages/libiconv.htm
-libxml2 developer files from ftp://ftp.zlatkovic.com/libxml/64bit/
-SDL2 developer files from https://www.libsdl.org/download-2.0.php
-SDL2_image developer files from https://www.libsdl.org/projects/SDL_image/
+Zlib developer files:
+    http://zlib.net/zlib128-dll.zip
 
-you might also need:
-unistd.h from http://sourceforge.net/p/mingw/mingw-org-wsl/ci/master/tree/include/
+Iconv developer files:
+    ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip
 
+libxml2 developer files:
+    ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.8.win32.zip
+
+SDL2 developer files:
+    https://www.libsdl.org/release/SDL2-devel-2.0.3-VC.zip
+
+SDL2_image developer files:
+    https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.0-VC.zip
 
 We are working on reducing these dependencies.
+
+On a Unix system (and possibly under cygwin), you can run the
+fetch_downloads.sh script to download these.

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8da475b7/external/fetch_downloads.sh
----------------------------------------------------------------------
diff --git a/external/fetch_downloads.sh b/external/fetch_downloads.sh
new file mode 100755
index 0000000..c03b9b3
--- /dev/null
+++ b/external/fetch_downloads.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -e
+if [ ! -d download ]; then
+    mkdir download
+fi
+
+URLS="http://zlib.net/zlib128-dll.zip \
+      ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip \
+      ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.8.win32.zip \
+      https://www.libsdl.org/release/SDL2-devel-2.0.3-VC.zip \
+      https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.0-VC.zip"
+
+cd download
+for url in $URLS; do
+    if [ ! -f $(basename $url) ]; then
+        wget $url
+    fi
+done
+
+cd ..


Mime
View raw message