Windows build scripts are now obsolete.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2008 by Lothar May *
|
||||
* *
|
||||
* 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 *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
// Test file to check if the compiler is working.
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
string s("PokerTH test");
|
||||
cout << s << endl;
|
||||
return 42;
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
@echo off
|
||||
echo PokerTH Win32 mingw build script version 1.0.
|
||||
echo Copyright (C) 2008-2010 Lothar May. License: GPL 2 or later
|
||||
echo BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
echo FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
echo.
|
||||
|
||||
SET PKTH_OldDir=%CD%
|
||||
SET PKTH_BaseDir=%1
|
||||
if not defined PKTH_BaseDir goto noDir
|
||||
if not exist %PKTH_BaseDir% goto dirDoesNotExist
|
||||
cd /d %PKTH_BaseDir%
|
||||
echo test > pokerth123_delete_me.txt
|
||||
if not exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
del %PKTH_BaseDir%\pokerth123_delete_me.txt
|
||||
if exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
echo.
|
||||
echo Using "%PKTH_BaseDir%" as base directory.
|
||||
echo.
|
||||
echo This script should be run AFTER pokerth_download_libs.cmd.
|
||||
echo.
|
||||
echo It will perform the following steps:
|
||||
echo - Clean the current build of PokerTH
|
||||
echo - Update the PokerTH sources from svn
|
||||
echo - Build PokerTH from the sources
|
||||
echo.
|
||||
echo You may run this script again at any time, in case you
|
||||
echo wish to update your version.
|
||||
echo.
|
||||
echo Press Ctrl+c to abort.
|
||||
echo The process will start if you press any other key.
|
||||
pause
|
||||
echo.
|
||||
echo Checking for an installation of Qt
|
||||
if not exist %PKTH_BaseDir%\qt\bin\qmake.exe goto noQmake
|
||||
if not exist %PKTH_BaseDir%\svn\bin\svn.exe goto noSvn
|
||||
if not exist %PKTH_BaseDir%\pokerth goto otherScriptFirst
|
||||
if exist %PKTH_BaseDir%\mingw64\bin\mingw32-make.exe goto mingw64
|
||||
SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw32\bin;%PATH%
|
||||
SET PKTH_Conf=""
|
||||
goto postmingw
|
||||
:mingw64
|
||||
SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw64\bin;%PATH%
|
||||
SET PKTH_Conf=pkth_win64
|
||||
:postmingw
|
||||
SET QMAKESPEC=win32-g++
|
||||
SET QTDIR=%PKTH_BaseDir%\qt
|
||||
|
||||
cd pokerth
|
||||
if exist Makefile. (
|
||||
echo.
|
||||
echo Cleaning the current build
|
||||
mingw32-make distclean
|
||||
)
|
||||
echo.
|
||||
echo Running svn update
|
||||
%PKTH_BaseDir%\svn\bin\svn update
|
||||
echo.
|
||||
echo Building PokerTH
|
||||
qmake "CONFIG+=release %PKTH_Conf%" DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro
|
||||
mingw32-make release
|
||||
move release\pokerth.exe .\pokerth.exe
|
||||
move release\bin\pokerth_server.exe .\pokerth_server.exe
|
||||
echo.
|
||||
echo Done compiling PokerTH. Have a lot of fun!
|
||||
goto end
|
||||
|
||||
:noSvn
|
||||
echo Could not find svn.exe
|
||||
goto otherScriptFirst
|
||||
|
||||
:noQmake
|
||||
echo Could not find qmake.exe
|
||||
goto otherScriptFirst
|
||||
|
||||
:otherScriptFirst
|
||||
echo Make sure to run pokerth_download_libs.cmd BEFORE this script.
|
||||
echo Also make sure that you use the same base directory for both scripts.
|
||||
goto end
|
||||
|
||||
:noWriteAccess
|
||||
echo Could not write files to directory "%PKTH_BaseDir%".
|
||||
echo Make sure the directory name is correct (do not use spaces or non-ASCII).
|
||||
goto end
|
||||
|
||||
:dirDoesNotExist
|
||||
echo The directory "%PKTH_BaseDir%" does not exist.
|
||||
echo Please provide a valid directory.
|
||||
goto end
|
||||
|
||||
:noDir
|
||||
echo Usage: compile_pokerth_win32.cmd ^<BaseDir^>.
|
||||
echo Make sure that the base directory exists and is writable.
|
||||
echo Use a FULL PATH without trailing slash for the base directory.
|
||||
goto end
|
||||
|
||||
:end
|
||||
cd /d %PKTH_OldDir%
|
||||
@@ -0,0 +1,325 @@
|
||||
@echo off
|
||||
echo PokerTH Win32 mingw download script version 1.0.
|
||||
echo Copyright (C) 2008-2010 Lothar May. License: GPL 2 or later
|
||||
echo BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
echo FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
echo.
|
||||
echo This script uses and downloads other software.
|
||||
echo Please mind their licenses.
|
||||
echo.
|
||||
echo Press enter to confirm, Ctrl+c to abort. Further information will follow.
|
||||
pause
|
||||
echo.
|
||||
|
||||
SET SOURCEFORGE_MIRROR=heanet.dl
|
||||
SET PKTH_OldDir=%CD%
|
||||
SET PKTH_BaseDir=%1
|
||||
if not defined PKTH_BaseDir goto noDir
|
||||
if not exist %PKTH_BaseDir% goto dirDoesNotExist
|
||||
cd /d %PKTH_BaseDir%
|
||||
echo test > pokerth123_delete_me.txt
|
||||
if not exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
del %PKTH_BaseDir%\pokerth123_delete_me.txt
|
||||
if exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
if not exist %PKTH_OldDir%\third_party_apps\wget.exe goto noTools
|
||||
if not exist %PKTH_OldDir%\third_party_apps\7za.exe goto noTools
|
||||
|
||||
echo Using "%PKTH_BaseDir%" as base directory.
|
||||
echo.
|
||||
echo This script will download and install the prerequisites for building PokerTH
|
||||
echo - mingw-w64 (sezero's 4.5.2 prerelease with target Win32), mingw-utils
|
||||
echo - Qt - will be compiled from the sources
|
||||
echo - GnuTLS - using the binary release
|
||||
echo - gsasl - using the binary release
|
||||
echo - zlib and libcurl - will be compiled from the sources
|
||||
echo - boost - will be compiled from the sources
|
||||
echo - SDL, SDL_mixer - using binary releases
|
||||
echo - subversion
|
||||
echo.
|
||||
echo Downloading all and building some of these libraries might require up to
|
||||
echo 5 (five) GB hard disc space. Roughly 350 MB will be downloaded.
|
||||
echo ONLY continue, if you are SURE that you have enough disc space available.
|
||||
echo.
|
||||
echo Files within the base directory might be OVERWRITTEN WITHOUT WARNING.
|
||||
echo Make sure that you have FULL RIGHTS in the base directory!
|
||||
echo.
|
||||
echo You need to run this script only once (if successful).
|
||||
echo It might take SEVERAL HOURS.
|
||||
echo.
|
||||
echo If unsure, press Ctrl+c and abort.
|
||||
echo The process will start if you press any other key.
|
||||
pause
|
||||
echo.
|
||||
echo Downloading mingw packages
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw-w64/mingw-w32-bin_i686-mingw_20101002_4.5_sezero.zip
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingw-utils-0.3.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking mingw packages
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y mingw-w32-bin_i686-mingw_20101002_4.5_sezero.zip
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y mingw-utils-0.3.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -omingw32 mingw-utils-0.3.tar
|
||||
del mingw-utils-0.3.tar
|
||||
cd /d %PKTH_BaseDir%
|
||||
echo.
|
||||
echo Testing g++
|
||||
set PATH=%PKTH_BaseDir%\mingw32\bin;%PKTH_OldDir%\third_party_apps;%PATH%
|
||||
g++ %PKTH_OldDir%\helper_src\pkth_test.cpp -o pkth_test
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto gppFailure
|
||||
pkth_test
|
||||
IF NOT "%ERRORLEVEL%"=="42" goto gppFailure
|
||||
del pkth_test.exe
|
||||
echo Successful
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\qt. (
|
||||
echo.
|
||||
echo Downloading Qt
|
||||
%PKTH_OldDir%\third_party_apps\wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.1.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking Qt
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y qt-everywhere-opensource-src-4.7.1.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren qt-everywhere-opensource-src-4.7.1 qt
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\qt goto qtFailure
|
||||
echo.
|
||||
echo Compiling Qt
|
||||
SET PATH=%PKTH_BaseDir%\qt\bin;%PATH%
|
||||
SET QMAKESPEC=win32-g++
|
||||
SET QTDIR=%PKTH_BaseDir%\qt
|
||||
cd qt
|
||||
configure -static -fast -no-qt3support -qt-sql-sqlite -no-dbus -no-opengl -no-openssl -no-phonon -no-webkit
|
||||
qmake projects.pro -o Makefile -spec win32-g++
|
||||
mingw32-make sub-src
|
||||
echo.
|
||||
echo Done compiling Qt
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\zlib. (
|
||||
echo.
|
||||
echo Downloading zlib
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/libpng/zlib-1.2.5.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking zlib
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y zlib-1.2.5.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y zlib-1.2.5.tar
|
||||
del zlib-1.2.5.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren zlib-1.2.5 zlib
|
||||
)
|
||||
echo.
|
||||
echo Compiling zlib
|
||||
cd zlib
|
||||
mingw32-make -fwin32\makefile.gcc
|
||||
echo.
|
||||
echo Done compiling zlib
|
||||
SET ZLIB_PATH=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_LIBPATH=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_SOURCE=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_BINARY=zlib
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\GnuTLS. (
|
||||
echo.
|
||||
echo Downloading GnuTLS
|
||||
%PKTH_OldDir%\third_party_apps\wget http://josefsson.org/gnutls4win/gnutls-2.10.1.zip
|
||||
mkdir GnuTLS
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -oGnuTLS gnutls-2.10.1.zip
|
||||
REM Wait 5 seconds for the file cache.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
REM Remove files for dynamic linking, we do not want to accidently use them
|
||||
mkdir GnuTLS\lib\unused
|
||||
move GnuTLS\lib\*.dll.a GnuTLS\lib\unused
|
||||
move GnuTLS\lib\*.la GnuTLS\lib\unused
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\gsasl. (
|
||||
echo.
|
||||
echo Downloading gsasl
|
||||
%PKTH_OldDir%\third_party_apps\wget http://josefsson.org/gnutls4win/gsasl-1.4.4.zip
|
||||
mkdir gsasl
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -ogsasl gsasl-1.4.4.zip
|
||||
REM Wait 5 seconds for the file cache.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
REM Remove files for dynamic linking, we do not want to accidently use them
|
||||
mkdir gsasl\lib\unused
|
||||
move gsasl\lib\*.dll.a gsasl\lib\unused
|
||||
move gsasl\lib\*.la gsasl\lib\unused
|
||||
)
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\curl. (
|
||||
echo.
|
||||
echo Downloading curl
|
||||
%PKTH_OldDir%\third_party_apps\wget http://curl.haxx.se/download/curl-7.21.3.tar.bz2
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking curl
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y curl-7.21.3.tar.bz2
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y curl-7.21.3.tar
|
||||
del curl-7.21.3.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren curl-7.21.3 curl
|
||||
)
|
||||
echo.
|
||||
echo Compiling curl
|
||||
cd curl
|
||||
mingw32-make mingw32-zlib
|
||||
echo.
|
||||
echo Done compiling curl
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\boost. (
|
||||
echo.
|
||||
echo Downloading boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_45_0.7z
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_45_0.7z
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren boost_1_45_0 boost
|
||||
)
|
||||
echo.
|
||||
echo Compiling boost
|
||||
cd boost\tools\build\v2\engine\src
|
||||
call .\build.bat gcc
|
||||
move bin.ntx86\bjam.exe ..\..\..\..\..\
|
||||
cd /d %PKTH_BaseDir%
|
||||
cd boost
|
||||
bjam link=shared --build-dir=%PKTH_BaseDir%\pkth_boost_delete_me_after_build --toolset=gcc define=BOOST_USE_WINDOWS_H stage
|
||||
echo.
|
||||
echo Done compiling boost
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\sqlite. (
|
||||
echo.
|
||||
echo Downloading sqlite
|
||||
%PKTH_OldDir%\third_party_apps\wget http://www.sqlite.org/sqlite-amalgamation-3070400.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y sqlite-amalgamation-3070400.zip
|
||||
ren sqlite-amalgamation-3070400 sqlite
|
||||
)
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\SDL. (
|
||||
echo.
|
||||
echo Downloading SDL precompiled
|
||||
%PKTH_OldDir%\third_party_apps\wget http://www.libsdl.org/release/SDL-devel-1.2.14-mingw32.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking SDL
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL-devel-1.2.14-mingw32.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL-devel-1.2.14-mingw32.tar
|
||||
del SDL-devel-1.2.14-mingw32.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren SDL-1.2.14 SDL
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\SDL_mixer. (
|
||||
echo.
|
||||
echo Downloading SDL_mixer precompiled
|
||||
%PKTH_OldDir%\third_party_apps\wget http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11.zip http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11-win32.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking SDL_mixer
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL_mixer-1.2.11.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren SDL_mixer-1.2.11 SDL_mixer
|
||||
mkdir SDL_mixer\bin
|
||||
mkdir SDL_mixer\lib
|
||||
mkdir SDL_mixer\include
|
||||
mkdir SDL_mixer\include\SDL
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -oSDL_mixer\bin SDL_mixer-1.2.11-win32.zip
|
||||
cd SDL_mixer
|
||||
copy SDL_mixer.h include\SDL
|
||||
echo.
|
||||
echo Creating import library
|
||||
cd bin
|
||||
pexports SDL_mixer.dll > SDL_mixer.def
|
||||
dlltool -d SDL_mixer.def -D SDL_mixer.dll -l libsdl_mixer.a
|
||||
move libsdl_mixer.a ..\lib
|
||||
cd /d %PKTH_BaseDir%
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\svn. (
|
||||
echo.
|
||||
echo Downloading subversion
|
||||
%PKTH_OldDir%\third_party_apps\wget http://subversion.tigris.org/files/documents/15/47914/svn-win32-1.6.6.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking subversion
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y svn-win32-1.6.6.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren svn-win32-1.6.6 svn
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\svn\bin\svn.exe goto svnFailure
|
||||
if not exist %PKTH_BaseDir%\pokerth. (
|
||||
echo.
|
||||
echo Checking out latest PokerTH sources from svn
|
||||
%PKTH_BaseDir%\svn\bin\svn co http://pokerth.svn.sourceforge.net/svnroot/pokerth/trunk/pokerth
|
||||
echo.
|
||||
echo Done checking out latest PokerTH sources
|
||||
)
|
||||
echo.
|
||||
echo Copying DLLs
|
||||
copy /Y %PKTH_BaseDir%\SDL\bin\SDL.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\SDL_mixer.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y "%PKTH_BaseDir%\mingw32\bin\libgcc_s_sjlj-1.dll" %PKTH_BaseDir%\pokerth\
|
||||
copy /Y "%PKTH_BaseDir%\mingw32\bin\libstdc++-6.dll" %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_filesystem-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_iostreams-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_system-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_thread-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_zlib-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
echo.
|
||||
echo This script has finished. You may run the pokerth_build.cmd now.
|
||||
goto pkth_end
|
||||
|
||||
:svnFailure
|
||||
echo Could not find svn.exe
|
||||
echo subversion installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:perlFailure
|
||||
echo Could not find perl.exe
|
||||
echo perl installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:qtFailure
|
||||
echo Could not unzip qt and/or rename qt folder.
|
||||
echo Check that you have full rights.
|
||||
goto pkth_end
|
||||
|
||||
:gppFailure
|
||||
echo Could not compile/run test.cpp.
|
||||
echo mingw installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:downloadFailed
|
||||
echo Download failed.
|
||||
goto pkth_end
|
||||
|
||||
:noWriteAccess
|
||||
echo Could not write files to directory "%PKTH_BaseDir%".
|
||||
echo Make sure the directory name is correct (do not use spaces or non-ASCII).
|
||||
goto pkth_end
|
||||
|
||||
:dirDoesNotExist
|
||||
echo The directory "%PKTH_BaseDir%" does not exist.
|
||||
echo Please provide a valid directory.
|
||||
goto pkth_end
|
||||
|
||||
:noDir
|
||||
echo Usage: compile_pokerth_win32.cmd ^<BaseDir^>.
|
||||
echo Make sure that the base directory exists and is writable.
|
||||
echo Use a FULL PATH without trailing slash for the base directory.
|
||||
goto pkth_end
|
||||
|
||||
:noTools
|
||||
echo Tools are missing. Please download and extract the full package
|
||||
echo before running this script.
|
||||
goto pkth_end
|
||||
|
||||
:pkth_end
|
||||
cd /d %PKTH_OldDir%
|
||||
@@ -0,0 +1,324 @@
|
||||
@echo off
|
||||
echo PokerTH Win64 mingw download script version 1.0.
|
||||
echo Copyright (C) 2008-2010 Lothar May. License: GPL 2 or later
|
||||
echo BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
echo FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
echo.
|
||||
echo This script uses and downloads other software.
|
||||
echo Please mind their licenses.
|
||||
echo.
|
||||
echo Press enter to confirm, Ctrl+c to abort. Further information will follow.
|
||||
pause
|
||||
echo.
|
||||
|
||||
SET SOURCEFORGE_MIRROR=heanet.dl
|
||||
SET PKTH_OldDir=%CD%
|
||||
SET PKTH_BaseDir=%1
|
||||
if not defined PKTH_BaseDir goto noDir
|
||||
if not exist %PKTH_BaseDir% goto dirDoesNotExist
|
||||
cd /d %PKTH_BaseDir%
|
||||
echo test > pokerth123_delete_me.txt
|
||||
if not exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
del %PKTH_BaseDir%\pokerth123_delete_me.txt
|
||||
if exist %PKTH_BaseDir%\pokerth123_delete_me.txt goto noWriteAccess
|
||||
if not exist %PKTH_OldDir%\third_party_apps\wget.exe goto noTools
|
||||
if not exist %PKTH_OldDir%\third_party_apps\7za.exe goto noTools
|
||||
|
||||
echo Using "%PKTH_BaseDir%" as base directory.
|
||||
echo.
|
||||
echo This script will download and install the prerequisites for building PokerTH
|
||||
echo - mingw-w64 (sezero's 4.5.2 prerelease with target Win64)
|
||||
echo - Qt - will be compiled from the sources
|
||||
echo - openssl - using the binary release
|
||||
echo - gsasl - using the binary release
|
||||
echo - zlib and libcurl - will be compiled from the sources
|
||||
echo - boost - will be compiled from the sources
|
||||
echo - SDL, SDL_mixer - using binary releases
|
||||
echo - subversion
|
||||
echo.
|
||||
echo Downloading all and building some of these libraries might require up to
|
||||
echo 5 (five) GB hard disc space. Roughly 350 MB will be downloaded.
|
||||
echo ONLY continue, if you are SURE that you have enough disc space available.
|
||||
echo.
|
||||
echo Files within the base directory might be OVERWRITTEN WITHOUT WARNING.
|
||||
echo Make sure that you have FULL RIGHTS in the base directory!
|
||||
echo.
|
||||
echo You need to run this script only once (if successful).
|
||||
echo It might take SEVERAL HOURS.
|
||||
echo.
|
||||
echo If unsure, press Ctrl+c and abort.
|
||||
echo The process will start if you press any other key.
|
||||
pause
|
||||
echo.
|
||||
echo Downloading mingw packages
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw-w64/mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking mingw packages
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero.zip
|
||||
echo.
|
||||
cd /d %PKTH_BaseDir%
|
||||
echo.
|
||||
echo Testing g++
|
||||
set PATH=%PKTH_BaseDir%\mingw64\bin;%PKTH_OldDir%\third_party_apps;%PATH%
|
||||
g++ %PKTH_OldDir%\helper_src\pkth_test.cpp -o pkth_test
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto gppFailure
|
||||
pkth_test
|
||||
IF NOT "%ERRORLEVEL%"=="42" goto gppFailure
|
||||
del pkth_test.exe
|
||||
echo Successful
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\qt. (
|
||||
echo.
|
||||
echo Downloading Qt
|
||||
%PKTH_OldDir%\third_party_apps\wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.1.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking Qt
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y qt-everywhere-opensource-src-4.7.1.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren qt-everywhere-opensource-src-4.7.1 qt
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\qt goto qtFailure
|
||||
echo.
|
||||
echo Compiling Qt
|
||||
SET PATH=%PKTH_BaseDir%\qt\bin;%PATH%
|
||||
SET QMAKESPEC=win32-g++
|
||||
SET QTDIR=%PKTH_BaseDir%\qt
|
||||
cd qt
|
||||
configure -static -fast -no-qt3support -qt-sql-sqlite -no-dbus -no-opengl -no-openssl -no-phonon -no-webkit
|
||||
qmake projects.pro -o Makefile -spec win32-g++
|
||||
mingw32-make sub-src
|
||||
echo.
|
||||
echo Done compiling Qt
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\zlib. (
|
||||
echo.
|
||||
echo Downloading zlib
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/libpng/zlib-1.2.5.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking zlib
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y zlib-1.2.5.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y zlib-1.2.5.tar
|
||||
del zlib-1.2.5.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren zlib-1.2.5 zlib
|
||||
)
|
||||
echo.
|
||||
echo Compiling zlib
|
||||
cd zlib
|
||||
mingw32-make -fwin32\makefile.gcc
|
||||
echo.
|
||||
echo Done compiling zlib
|
||||
SET ZLIB_PATH=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_LIBPATH=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_SOURCE=%PKTH_BaseDir%\zlib
|
||||
SET ZLIB_BINARY=zlib
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\gsasl. (
|
||||
echo.
|
||||
echo Downloading gsasl
|
||||
%PKTH_OldDir%\third_party_apps\wget http://alpha.gnu.org/gnu/gsasl/gsasl-1.5.2-x64.zip
|
||||
mkdir gsasl
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -ogsasl gsasl-1.5.2-x64.zip
|
||||
REM Wait 5 seconds for the file cache.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
REM Remove files, we do not want to accidently use them
|
||||
mkdir gsasl\lib\unused
|
||||
move gsasl\lib\libgsasl.a gsasl\lib\unused
|
||||
)
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\openssl. (
|
||||
echo.
|
||||
echo Downloading OpenSSL
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw-w64/OpenSSL-1.0.0a-bin-x64.zip
|
||||
mkdir openssl
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y -oopenssl OpenSSL-1.0.0a-bin-x64.zip
|
||||
REM Wait 5 seconds for the file cache.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
REM Move some files.
|
||||
move openssl\x86_64-w64-mingw32\bin openssl\bin
|
||||
move openssl\x86_64-w64-mingw32\include openssl\include
|
||||
move openssl\x86_64-w64-mingw32\lib openssl\lib
|
||||
move openssl\x86_64-w64-mingw32\ssl openssl\ssl
|
||||
)
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\curl. (
|
||||
echo.
|
||||
echo Downloading curl
|
||||
%PKTH_OldDir%\third_party_apps\wget http://curl.haxx.se/download/curl-7.21.3.tar.bz2
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking curl
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y curl-7.21.3.tar.bz2
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y curl-7.21.3.tar
|
||||
del curl-7.21.3.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren curl-7.21.3 curl
|
||||
)
|
||||
echo.
|
||||
echo Compiling curl
|
||||
cd curl
|
||||
mingw32-make mingw32-zlib
|
||||
echo.
|
||||
echo Done compiling curl
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\boost. (
|
||||
echo.
|
||||
echo Downloading boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_45_0.7z
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_45_0.7z
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren boost_1_45_0 boost
|
||||
)
|
||||
echo.
|
||||
echo Compiling boost
|
||||
cd boost\tools\build\v2\engine\src
|
||||
call .\build.bat gcc
|
||||
move bin.ntx86_64\bjam.exe ..\..\..\..\..\
|
||||
cd /d %PKTH_BaseDir%
|
||||
cd boost
|
||||
bjam link=shared --build-dir=%PKTH_BaseDir%\pkth_boost_delete_me_after_build --toolset=gcc address-model=64 define=BOOST_USE_WINDOWS_H stage
|
||||
echo.
|
||||
echo Done compiling boost
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\sqlite. (
|
||||
echo.
|
||||
echo Downloading sqlite
|
||||
%PKTH_OldDir%\third_party_apps\wget http://www.sqlite.org/sqlite-amalgamation-3070400.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y sqlite-amalgamation-3070400.zip
|
||||
ren sqlite-amalgamation-3070400 sqlite
|
||||
)
|
||||
cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\SDL. (
|
||||
echo.
|
||||
echo Downloading SDL precompiled
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw-w64/SDL-1.2-20100604-win64.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking SDL
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL-1.2-20100604-win64.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL-1.2-20100604-win64.tar
|
||||
del SDL-1.2-20100604-win64.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren SDL-1.2-20100604-win64 SDL
|
||||
mkdir SDL\lib\unused
|
||||
move SDL\lib\libSDL.a SDL\lib\unused
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\SDL_mixer. (
|
||||
echo.
|
||||
echo Downloading SDL_mixer precompiled
|
||||
%PKTH_OldDir%\third_party_apps\wget http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw-w64/SDL_mixer-20100427-win64.tar.gz
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking SDL_mixer
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL_mixer-20100427-win64.tar.gz
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y SDL_mixer-20100427-win64.tar
|
||||
del SDL_mixer-20100427-win64.tar
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren SDL_mixer-20100427-win64 SDL_mixer
|
||||
mkdir SDL_mixer\lib\unused
|
||||
move SDL_mixer\lib\libmad.a SDL_mixer\lib\unused
|
||||
move SDL_mixer\lib\libogg.a SDL_mixer\lib\unused
|
||||
move SDL_mixer\lib\libSDL_mixer.a SDL_mixer\lib\unused
|
||||
move SDL_mixer\lib\libvorbis.a SDL_mixer\lib\unused
|
||||
move SDL_mixer\lib\libvorbisfile.a SDL_mixer\lib\unused
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\svn. (
|
||||
echo.
|
||||
echo Downloading subversion
|
||||
%PKTH_OldDir%\third_party_apps\wget http://subversion.tigris.org/files/documents/15/47914/svn-win32-1.6.6.zip
|
||||
IF NOT "%ERRORLEVEL%"=="0" goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking subversion
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y svn-win32-1.6.6.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
ren svn-win32-1.6.6 svn
|
||||
)
|
||||
if not exist %PKTH_BaseDir%\svn\bin\svn.exe goto svnFailure
|
||||
if not exist %PKTH_BaseDir%\pokerth. (
|
||||
echo.
|
||||
echo Checking out latest PokerTH sources from svn
|
||||
%PKTH_BaseDir%\svn\bin\svn co http://pokerth.svn.sourceforge.net/svnroot/pokerth/trunk/pokerth
|
||||
echo.
|
||||
echo Done checking out latest PokerTH sources
|
||||
)
|
||||
echo.
|
||||
echo Copying DLLs
|
||||
copy /Y %PKTH_BaseDir%\gsasl\bin\libgsasl-7.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL\bin\SDL.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\SDL_mixer.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\libmad-0.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\libogg-0.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\libvorbis-0.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\SDL_mixer\bin\libvorbisfile-3.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y "%PKTH_BaseDir%\mingw64\bin\libgcc_s_sjlj-1.dll" %PKTH_BaseDir%\pokerth\
|
||||
copy /Y "%PKTH_BaseDir%\mingw64\bin\libstdc++-6.dll" %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_filesystem-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_iostreams-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_system-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_thread-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
copy /Y %PKTH_BaseDir%\boost\stage\lib\libboost_zlib-mgw45-mt-1_45.dll %PKTH_BaseDir%\pokerth\
|
||||
echo.
|
||||
echo This script has finished. You may run the pokerth_build.cmd now.
|
||||
goto pkth_end
|
||||
|
||||
:svnFailure
|
||||
echo Could not find svn.exe
|
||||
echo subversion installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:perlFailure
|
||||
echo Could not find perl.exe
|
||||
echo perl installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:qtFailure
|
||||
echo Could not unzip qt and/or rename qt folder.
|
||||
echo Check that you have full rights.
|
||||
goto pkth_end
|
||||
|
||||
:gppFailure
|
||||
echo Could not compile/run test.cpp.
|
||||
echo mingw installation failed.
|
||||
goto pkth_end
|
||||
|
||||
:downloadFailed
|
||||
echo Download failed.
|
||||
goto pkth_end
|
||||
|
||||
:noWriteAccess
|
||||
echo Could not write files to directory "%PKTH_BaseDir%".
|
||||
echo Make sure the directory name is correct (do not use spaces or non-ASCII).
|
||||
goto pkth_end
|
||||
|
||||
:dirDoesNotExist
|
||||
echo The directory "%PKTH_BaseDir%" does not exist.
|
||||
echo Please provide a valid directory.
|
||||
goto pkth_end
|
||||
|
||||
:noDir
|
||||
echo Usage: compile_pokerth_win32.cmd ^<BaseDir^>.
|
||||
echo Make sure that the base directory exists and is writable.
|
||||
echo Use a FULL PATH without trailing slash for the base directory.
|
||||
goto pkth_end
|
||||
|
||||
:noTools
|
||||
echo Tools are missing. Please download and extract the full package
|
||||
echo before running this script.
|
||||
goto pkth_end
|
||||
|
||||
:pkth_end
|
||||
cd /d %PKTH_OldDir%
|
||||
@@ -0,0 +1,71 @@
|
||||
These are some tools to help compiling the development version of PokerTH on Windows
|
||||
using the mingw g++ compiler.
|
||||
|
||||
This script has been tested on Windows 7 x64. When updating this script from a
|
||||
previous version, delete the base pokerth directory first, and start from the scratch.
|
||||
|
||||
Compiling all libraries and PokerTH itself could take SEVERAL HOURS, and uses up a lot of disc space.
|
||||
You need up to 5 GB of free disc space to perform a full build.
|
||||
|
||||
Direct internet access (without proxy) is required!
|
||||
Please note that there is a known conflict if cygwin is installed on the system.
|
||||
There is no workaround available except uninstalling cygwin and removing its environment variables.
|
||||
|
||||
Please follow these instructions:
|
||||
|
||||
1. Create a base directory for all PokerTH related projects.
|
||||
This should be an empty directory. There should be no spaces or non-ASCII characters in the directory name.
|
||||
Example: C:\pokerth_root
|
||||
The directory must be fully writable.
|
||||
|
||||
2. Open a command line window (Start -> Run -> "cmd.exe")
|
||||
|
||||
3. Change directory to where you have unpacked the package which contains this readme.
|
||||
There should be no spaces or non-ASCII characters in the directory name.
|
||||
Example: "cd /d C:\Tools\pokerth_win32_build"
|
||||
|
||||
4. Run the script which downloads and builds all required libraries, and provide
|
||||
the base directory as parameter. Interaction is required at the beginning after
|
||||
downloading Qt.
|
||||
Example: "pokerth_download_libs.cmd C:\pokerth_root"
|
||||
|
||||
In order to build the x64 version, run "pokerth_download_libs64.cmd c:\pokerth_root".
|
||||
|
||||
This could take several hours. If you need to interrupt the script, you can do so
|
||||
by pressing Ctrl+c. After interrupting, you may
|
||||
- start from the scratch (delete everything within the base directory)
|
||||
- if you know what happened when you interrupted the script, you might delete
|
||||
the folder from the current step which was running (e.g. the "boost"-folder
|
||||
or whichever) and restart the script.
|
||||
Please keep the command line open for step 6.
|
||||
|
||||
5. You may delete the directory "pkth_boost_delete_me_after_build" within the base
|
||||
directory, but you should keep all other directories for step 6.
|
||||
|
||||
6. If the script was successful, you can finally build PokerTH. This takes only a few minutes.
|
||||
Run the script which updates and builds the current PokerTH svn version.
|
||||
Example: "pokerth_build.cmd C:\pokerth_root"
|
||||
You will find the executable file in C:\pokerth_root\pokerth.
|
||||
|
||||
7. At a later time, if you wish to update your development version of PokerTH, you only
|
||||
need to repeat step 6.
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2008-2010 by Lothar May *
|
||||
* *
|
||||
* 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 *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
Reference in New Issue
Block a user