diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2014-05-07 08:02:17 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2014-05-07 08:02:17 +0000 |
commit | 12cfd6c05b1f366e1326914262d91b2fa74ceaf4 (patch) | |
tree | 562f74f102c1f68679339a35ecee32929928c28e | |
parent | fix decrypt on windows and remove debugging output (diff) | |
download | gpg4usb-12cfd6c05b1f366e1326914262d91b2fa74ceaf4.tar.gz gpg4usb-12cfd6c05b1f366e1326914262d91b2fa74ceaf4.zip |
added howtos folder and howto for building qt and gpgme
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1108 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | howto_build_static_qt_and_gpgme.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/howto_build_static_qt_and_gpgme.txt b/howto_build_static_qt_and_gpgme.txt new file mode 100644 index 0000000..3cf2bb5 --- /dev/null +++ b/howto_build_static_qt_and_gpgme.txt @@ -0,0 +1,35 @@ +####################################### +# build static Qt +####################################### +apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev + +wget http://alfred.qt-project.org/qt/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz +tar xfv qt-everywhere-opensource-src-4.8.5.tar.gz +cd qt-everywhere-opensource-src-4.8.5 +./configure -no-xrandr -no-xinerama -no-glib -no-sm -no-webkit -qt-zlib -qt-libpng -qt-libmng -qt-libjpeg -no-qt3support -no-phonon -no-phonon-backend -no-gtkstyle -static -nomake examples -nomake demos -nomake docs -opensource -prefix /home/gpg4usb/qt-4.8.5 + + +####################################### +# build libgpg error +####################################### +mkdir ~/gpgme-build +cd +wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.gz +tar -zxvf libgpg-error-1.7.tar.gz +cd libgpg-error-1.7 +./configure --enable-static --prefix=/home/gpg4usb/gpgme-build +make +make install + +####################################### +# build gpgme +####################################### +cd +iwget ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.6.tar.gz +tar -zxvf gpgme-1.1.6.tar.gz +cd gpgme-1.1.6 +export LDFLAGS="-s -static" +./configure --enable-static --prefix=/home/gpg4usb/gpgme-build --without-gpgsm --without-gpgconf --with-gpg-error-prefix=/home/gpg4usb/gpgme-build/ +make +make install + |