aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2011-08-22 21:02:12 +0200
committerOlivier Tilloy <olivier@tilloy.net>2011-08-22 21:02:12 +0200
commit8fc533518b205beea032fc2e545245bf681db78f (patch)
tree0ec6b49a61ac3dabc0b644b41e007f9bcc3ee223
parentd16f4aab750bd594e0f4c0ed3c215cbcaacccc42 (diff)
parent55d80dbb90b78e1da13dbcf90e7e0228edb2eddb (diff)
downloadpyexiv2-8fc533518b205beea032fc2e545245bf681db78f.tar.gz
Updated windows build dependencies:
• iconv 1.13.1 → 1.14 • exiv2 0.21 → 0.21.1 • python 2.7.1 → 2.7.2 • boost 1.45.0 → 1.47.0
-rwxr-xr-xcross-compile.sh29
-rw-r--r--doc/developers.rst3
2 files changed, 16 insertions, 16 deletions
diff --git a/cross-compile.sh b/cross-compile.sh
index 5f9ce27..7668ce5 100755
--- a/cross-compile.sh
+++ b/cross-compile.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2010 Olivier Tilloy <olivier@tilloy.net>
+# Copyright (C) 2010-2011 Olivier Tilloy <olivier@tilloy.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
# pyexiv2 for windows on a linux host.
#
# Typical dependencies (of this script) on an Ubuntu system:
-# wget unzip tar build-essential mingw32 p7zip-full bjam
+# wget unzip tar build-essential mingw32 p7zip-full
#
# After execution is complete, copy the following file and folder to the
# site-packages directory of a Python 2.6 windows setup:
@@ -48,9 +48,9 @@ wget --trust-server-names=on http://gnuwin32.sourceforge.net/downlinks/zlib-lib-
unzip -d zlib zlib-*.zip
# iconv (for exiv2)
-wget ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
-tar xf libiconv-1.13.1.tar.gz
-cd libiconv-1.13.1
+wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
+tar xf libiconv-1.14.tar.gz
+cd libiconv-1.14
./configure --enable-static --disable-visibility --target=$PLATFORM --host=$PLATFORM --build=$BUILD --prefix=$BASE/libiconv
make -j3 install
cd ..
@@ -64,24 +64,25 @@ make -j3 install
cd ..
# exiv2
-wget http://exiv2.org/exiv2-0.21.tar.gz
-tar xf exiv2-0.21.tar.gz
-cd exiv2-0.21
+wget http://www.exiv2.org/exiv2-0.21.1.tar.gz
+tar xf exiv2-0.21.1.tar.gz
+cd exiv2-0.21.1
./configure --disable-shared --disable-visibility --target=$PLATFORM --host=$PLATFORM --build=$BUILD --disable-nls --with-zlib=$BASE/zlib --with-libiconv-prefix=$BASE/libiconv --with-expat=$BASE/expat --prefix=$BASE/exiv2
make -j3 install
cd ..
# python
-wget http://python.org/ftp/python/2.7.1/python-2.7.1.msi
-7z x python-2.7.1.msi -opython
+wget http://python.org/ftp/python/2.7.2/python-2.7.2.msi
+7z x python-2.7.2.msi -opython
7z x python/python -opython
# boost-python
-wget --trust-server-names=on http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.tar.bz2/download
-tar xf boost_1_45_0.tar.bz2
-cd boost_1_45_0
+wget --trust-server-names=on http://sourceforge.net/projects/boost/files/boost/1.47.0/boost_1_47_0.tar.bz2/download
+tar xf boost_1_47_0.tar.bz2
+cd boost_1_47_0
echo "using gcc : : $COMPILER : <compileflags>-I$BASE/python <archiver>$ARCHIVER ;" >> tools/build/v2/user-config.jam
-bjam install -j 3 --prefix=$BASE/boost --with-python toolset=gcc link=static
+./bootstrap.sh
+./bjam install -j 3 --prefix=$BASE/boost --with-python toolset=gcc link=static
cd ..
# pyexiv2
diff --git a/doc/developers.rst b/doc/developers.rst
index c6eb15c..9bf3c67 100644
--- a/doc/developers.rst
+++ b/doc/developers.rst
@@ -62,12 +62,11 @@ Windows installer, you will need the following dependencies:
* `MinGW <http://www.mingw.org/>`_
* `7-Zip <http://7-zip.org/>`_
-* `BJam <http://boost.org/boost-build2/doc/html/index.html>`_
* `NSIS <http://nsis.sourceforge.net/>`_
A typical list of packages to install on a Debian/Ubuntu system is::
- mingw32 p7zip-full bjam nsis
+ mingw32 p7zip-full nsis
Building and installing
#######################