Because of the new OpenSSL exception in the license, patching out OpenSSL dependencies is no longer required.
This commit is contained in:
@@ -10,13 +10,7 @@ on your Linux system.
|
||||
2. Download the latest release of MXE and extract it to /opt/mingw
|
||||
(if this does not work, as some packages might be broken, try the latest development release)
|
||||
|
||||
3. Patch OpenSSL dependencies out of Qt build file (OpenSSL license is not compatible with the GPL)
|
||||
For your convenience, a patch file is included to remove at least one OpenSSL dependency. This patch
|
||||
is without warranty, you need to make sure for yourself that you do not link to OpenSSL.
|
||||
Within /opt/mingw, run
|
||||
patch -p1 < /path/to/pokerth/docs/win32_rm_openssl.diff
|
||||
|
||||
4. Within /opt/mingw, run
|
||||
3. Within /opt/mingw, run
|
||||
make gcc
|
||||
make qt
|
||||
make boost
|
||||
@@ -28,17 +22,17 @@ make libircclient
|
||||
make protobuf
|
||||
(this takes quite some time)
|
||||
|
||||
5. As the user you would like to use to compile PokerTH for Windows,
|
||||
4. As the user you would like to use to compile PokerTH for Windows,
|
||||
add the cross compiler to your path; e.g.:
|
||||
PATH="/opt/mingw/usr/bin:$PATH"
|
||||
(in .profile)
|
||||
Alternatively, run
|
||||
export PATH="/opt/mingw/usr/bin:$PATH"
|
||||
|
||||
6. Download and extract whichever source version of PokerTH you wish to compile.
|
||||
5. Download and extract whichever source version of PokerTH you wish to compile.
|
||||
http://pokerth.net/download.html
|
||||
|
||||
7. Within the pokerth directory, run
|
||||
6. Within the pokerth directory, run
|
||||
i686-pc-mingw32-qmake DEFINES+=BOOST_THREAD_USE_LIB pokerth.pro
|
||||
make release
|
||||
|
||||
@@ -46,4 +40,4 @@ PokerTH can also be built using MinGW or Visual Studio on Windows,
|
||||
but neither method is supported, because it takes too much time to keep
|
||||
several methods updated.
|
||||
|
||||
2011 by Lothar May
|
||||
2012 by Lothar May
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
--- a/src/qt.mk Thu Dec 29 19:46:44 2011 +0100
|
||||
+++ b/src/qt.mk Fri Dec 30 23:44:38 2011 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
$(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_WEBSITE := http://qt.nokia.com/
|
||||
$(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE)
|
||||
-$(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl zlib libpng jpeg libmng tiff sqlite dbus
|
||||
+$(PKG)_DEPS := gcc libodbc++ freetds zlib libpng jpeg libmng tiff sqlite dbus
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://qt.gitorious.org/qt/qt/commits' | \
|
||||
@@ -23,8 +23,6 @@
|
||||
cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
|
||||
|
||||
cd '$(1)' && \
|
||||
- OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
|
||||
- PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \
|
||||
SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \
|
||||
./configure \
|
||||
-opensource \
|
||||
@@ -45,6 +43,7 @@
|
||||
-no-gstreamer \
|
||||
-no-phonon \
|
||||
-no-phonon-backend \
|
||||
+ -no-openssl \
|
||||
-accessibility \
|
||||
-no-reduce-exports \
|
||||
-no-rpath \
|
||||
@@ -54,7 +53,6 @@
|
||||
-nomake examples \
|
||||
-qt-sql-sqlite \
|
||||
-qt-sql-odbc \
|
||||
- -qt-sql-psql \
|
||||
-qt-sql-tds -D Q_USE_SYBASE \
|
||||
-system-zlib \
|
||||
-system-libpng \
|
||||
@@ -62,7 +60,6 @@
|
||||
-system-libtiff \
|
||||
-system-libmng \
|
||||
-system-sqlite \
|
||||
- -openssl-linked \
|
||||
-dbus-linked \
|
||||
-v
|
||||
Reference in New Issue
Block a user