X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=doc%2Fbuild-static-quassel;fp=doc%2Fbuild-static-quassel;h=0000000000000000000000000000000000000000;hp=1f367648f658300efc582195dc8edf0532e51518;hb=af9bfa0581dd3620f6fe300084262c55c7084046;hpb=8b07343ab53d37b5340a56bde2d71ff2a3afb14a diff --git a/doc/build-static-quassel b/doc/build-static-quassel deleted file mode 100644 index 1f367648..00000000 --- a/doc/build-static-quassel +++ /dev/null @@ -1,43 +0,0 @@ -These notes should help you to build a quasselcore statically linked to Qt -and OpenSSL. Note that these are just hints that work for me; ymmv. - -1.) Get a statically linked Qt - As of Qt 4.4, this configure line for building should probably work if - you only want to build a static core (since we disable most GUI - components here; you'd need to adjust that line for a full Qt!) - - ./configure -static -no-accessibility -qt-sql-sqlite -qt-zlib -no-qt3support \ - -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg -nomake demos -nomake examples \ - -nomake gui -nomake uic -nomake opengl -nomake tools -no-opengl -no-sm -no-xshape \ - -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-fontconfig -no-tablet \ - -no-xkb -no-glib -no-svg -openssl-linked -no-phonon -no-webkit -no-dbus -no-xmlpatterns \ - -prefix /usr/local/Trolltech/qt-4.4-static - - To only build non-X dependent parts of Qt: - - $> export QT4_TARGET_DIRECTORIES="src/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml \ - src/network src/sql src/plugins/codecs src/script" - $> for i in $QT4_TARGET_DIRECTORIES; do make -C $i; done - - NOTE: This has not really been tested and may or may not be working for - you. If in doubt, follow the official route and just do make - and make install. - -2.) Link some system libs into /path/to/builddir/staticlibs - (we need this, because otherwise your quasselcore wouldn't be - portable) - - On my system, I have this in staticlibs: - libcrypto.a -> /usr/lib/libcrypto.a - libssl.a -> /usr/lib/libssl.a - libstdc++.a -> /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.a - - YMMV depending on the exact versions installed on your system, of course. - -3.) Build Quassel Core: - - $> cd /path/to/builddir - $> cmake /path/to/source -DSTATIC=1 -DWANT_QTCLIENT=0 -DWANT_MONO=0 -DQT=/usr/local/Trolltech/qt-4.4-static - $> make - -4.) Enjoy.