comparison INSTALL @ 577:4ccae6acfaec

Document qt linguist tools build
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 27 May 2014 10:26:51 +0000
parents ab2d62fe2815
children 21f8d32f2d2a
comparison
equal deleted inserted replaced
576:a677cffcaed4 577:4ccae6acfaec
6 The following commands build qt5 and polarssl which are dependencies of the Software. 6 The following commands build qt5 and polarssl which are dependencies of the Software.
7 For build dependencies please refer to the Qt documentation 7 For build dependencies please refer to the Qt documentation
8 ( qtbase/src/plugins/platforms/xcb/README ). Polarssl needs cmake and build-essentials. 8 ( qtbase/src/plugins/platforms/xcb/README ). Polarssl needs cmake and build-essentials.
9 9
10 export YOURPREFIX=<Prefix of your choice (default /usr)> 10 export YOURPREFIX=<Prefix of your choice (default /usr)>
11 export PATH=$YOURPREFIX/bin:$PATH
11 12
12 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.0/single/qt-everywhere-opensource-src-5.3.0.tar.xz.mirrorlist | grep SHA-256 13 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.0/single/qt-everywhere-opensource-src-5.3.0.tar.xz.mirrorlist | grep SHA-256
13 14
14 e6f47e69a5ce707452dd4bad1fd1919201a71e88be1b06afe1d302a3935daf1f 15 e6f47e69a5ce707452dd4bad1fd1919201a71e88be1b06afe1d302a3935daf1f
15 16
29 -release -nomake tests -nomake examples -confirm-license \ 30 -release -nomake tests -nomake examples -confirm-license \
30 -static -no-cups -no-nis -no-icu -no-fontconfig \ 31 -static -no-cups -no-nis -no-icu -no-fontconfig \
31 -no-directfb -no-opengl -no-kms -no-eglfs -no-egl -no-openssl -no-glib 32 -no-directfb -no-opengl -no-kms -no-eglfs -no-egl -no-openssl -no-glib
32 nice make -j8 33 nice make -j8
33 make install 34 make install
35
36 cd qttools/src/linguist
37 qmake
38 nice make -j8
39 make install -k
34 40
35 curl -O https://polarssl.org/download/polarssl-1.3.7-gpl.tgz 41 curl -O https://polarssl.org/download/polarssl-1.3.7-gpl.tgz
36 6beef0281160bf07fefefd6b412dd1ce4c39261cf5300835aef442253f0400e5 polarssl-1.3.7-gpl.tgz 42 6beef0281160bf07fefefd6b412dd1ce4c39261cf5300835aef442253f0400e5 polarssl-1.3.7-gpl.tgz
37 43
38 tar -xf polarssl-1.3.7-gpl.tgz 44 tar -xf polarssl-1.3.7-gpl.tgz
63 libffi-dev libtool libltdl-dev libssl-dev \ 69 libffi-dev libtool libltdl-dev libssl-dev \
64 libxml-parser-perl make openssl patch perl \ 70 libxml-parser-perl make openssl patch perl \
65 pkg-config scons sed unzip wget xz-utils autopoint \ 71 pkg-config scons sed unzip wget xz-utils autopoint \
66 gperf 72 gperf
67 73
68 Build the windows: 74 Build the windows binaries:
69 MXEPATH=$YOURPREFIX/win 75 MXEPATH=$YOURPREFIX/win
70 git clone https://github.com/mxe/mxe.git $MXEPATH 76 git clone https://github.com/mxe/mxe.git $MXEPATH
71 cd $MXEPATH 77 cd $MXEPATH
72 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk 78 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk
73 make polarssl 79 make polarssl

http://wald.intevation.org/projects/trustbridge/