From: Crossfire C. r. messages.
<cro...@li...> - 2017-07-26 15:48:24
|
Revision: 20442 http://sourceforge.net/p/crossfire/code/20442 Author: partmedia Date: 2017-07-26 15:48:21 +0000 (Wed, 26 Jul 2017) Log Message: ----------- Remove old Windows build files Removed Paths: ------------- client/trunk/gtk-v2/win32/Building.msvc.txt client/trunk/gtk-v2/win32/Bundle.py client/trunk/gtk-v2/win32/CFInstall.bat client/trunk/gtk-v2/win32/Collect.py client/trunk/gtk-v2/win32/DailyBuild.py client/trunk/gtk-v2/win32/Running.txt client/trunk/gtk-v2/win32/Win32Changes.txt client/trunk/gtk-v2/win32/gdefaults2 client/trunk/gtk-v2/win32/gtk-v2.pos client/trunk/gtk-v2/win32/gtkclient.nsi.in client/trunk/gtk-v2/win32/keys client/trunk/gtk-v2/win32/msgs Deleted: client/trunk/gtk-v2/win32/Building.msvc.txt =================================================================== --- client/trunk/gtk-v2/win32/Building.msvc.txt 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/Building.msvc.txt 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,67 +0,0 @@ -Readme for building Crossfire's GTK client under Windows using MSVC (October 26th, 2003) ------------------------------------------------------------------------------ - -This file contains instructions for compiling Crossfire's GTK client under Win32. -More information about Crossfire can be found at http://crossfire.real-time.com - -Instructions for running the client can be found in Running.txt, in the same directory as this file. - - - -The compilation have been tested with: -* Microsoft Visual Studio 6, SP 5 ('MSVC in this document') -* GTK 2.2.4.1 - - -Requirements: -* you must have GTK installed, with development libraries. - -Installation instructions for GTK: -* goto http://www.dropline.net/gtk/ -* in 'download' sections, get 'GTK Runtime Environment' and 'GTK Development Environment' - current version is 2.2.4.1, released October 12th, 2003 -* install both somewhere (I suggest installing development libraries in the same base directory as runtime) - -Notes: -* some products like GAIM (gaim.sf.net) also install GTK for you, but only the runtime environment. -* if you already have GTK installed, you can omit reinstalling the runtime environment. - -**** WARNING **** -Use the same runtime environment and development environment, else you may have compatibilities issues. - - -Build instructions ------------------- -* launch MSVC -* open 'GTKClient' workspace (located in the same directory as this file) -* open project settings (alt-F7) -* in 'Debug' tab, adjust 'executable for debug session' and 'working directory' for your system -* in 'C++' tab, category 'preprocessor', change 'Additional include directories' to match your GTK development install path. - on my system, this gives: - .,c:\program files\fichiers communs\gtk\2.0\include,..\..\common,C:\Program Files\Fichiers communs\GTK\2.0\include\gtk-2.0,C:\Program Files\Fichiers communs\GTK\2.0\include\glib-2.0,C:\Program Files\Fichiers communs\GTK\2.0\lib\glib-2.0\include,C:\Program Files\Fichiers communs\GTK\2.0\include\pango-1.0,C:\Program Files\Fichiers communs\GTK\2.0\lib\gtk-2.0\include,C:\Program Files\Fichiers communs\GTK\2.0\include\atk-1.0,..\.. - (note: . is requires as include directory) -* in 'Link' tab, category 'input', change 'Additional library directories' to match GTK development path. - on my system this gives: - C:\Program Files\Fichiers communs\GTK\2.0\lib -* click 'ok' -* select either 'Win32 Debug' or 'Win32 Release' as target -* hit F7 to compile - -If everything works fine, you'll have a working GTKClient executable. - - -Running the client ------------------- -See the Running.txt for additional information. - - -Troubleshooting ---------------- -If something goes wrong, first check all include and libraries paths are correct. Check GTK version for runtime and development. - -If everything is fine, report your troubles to: -* Crossfire's messageboard: http://forum.metalforge.net/ -* Crossfire's mailing list: see http://crossfire.real-time.com for instructions on how to join it -* #crossfire on irc.freenode.org - -Also check Crossfire's bugs page at http://sourceforge.net/tracker/?group_id=13833&atid=113833 Deleted: client/trunk/gtk-v2/win32/Bundle.py =================================================================== --- client/trunk/gtk-v2/win32/Bundle.py 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/Bundle.py 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,47 +0,0 @@ -import os, sys, subprocess -import urllib2 as u -pwd=os.getcwd() -def system(cmd): - return subprocess.Popen(cmd.split(),env=os.environ,stdin=sys.stdin,stdout=sys.stdout,stderr=sys.stderr).wait() -def AskInstall(Name): - return Auto or 'Y' in raw_input('Install %s?' %Name).upper() -Auto='auto' in sys.argv - -def FetchFile(URL, Filename): - f=u.urlopen(URL) - o=open(Filename,'wb') - txt=f.read(1024*512) - ctr=0 - while txt: - if (ctr+1)/2*2==ctr+1: - print ctr*1024*512+len(txt), 'bytes downloaded' - o.write(txt) - txt=f.read() - ctr+=1 - f.close() - o.close() - - -#FetchFile('https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk/gtk-v2/win32/gtkclient.nsi', 'gtkclient.nsi') -system('copy %s\\gtk-2\\win32\\gtkclient.nsi.in .' %CFSOURCE) - -if not DB and AskInstall('Nsis'): - FetchFile('http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46-setup.exe?r=http%3A%2F%2Fnsis.sourceforge.net%2FDownload&ts=1316497068&use_mirror=superb-sea2', 'nsis.exe') - system('nsis.exe') - -NSIS=pwd+'\NSIS' if DB else raw_input('Path to nsis?') or pwd+'\NSIS' -NSIS+='\makensis.exe ' -if 'CFSOURCE' not in dir(): - CFSOURCE=raw_input("Path to client.svn? ") -f=open('gtkclient.nsi.in') -txt=f.read() -f.close() -txt=txt %(CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE,CFSOURCE) -f=open('gtkclient.nsi','w') -f.write(txt) -f.close() - -print NSIS - -system(NSIS + 'gtkclient.nsi') - Deleted: client/trunk/gtk-v2/win32/CFInstall.bat =================================================================== --- client/trunk/gtk-v2/win32/CFInstall.bat 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/CFInstall.bat 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,286 +0,0 @@ -""" -echo off -echo "Please Install Python http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi" -echo "If you choose a non default location for the install, please rerun this script with python CFInstall.bat" -pause -explorer http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi -echo "Press a key when python has finished installing" -pause -echo on -c:\python27\python CFInstall.bat auto -exit -""" -import urllib2 as u -import os, sys, subprocess - -subprocess.list2cmdline=(lambda x: ' '.join(x)) -def system(cmd): - try: - return subprocess.Popen(cmd.split(),env=os.environ,stdin=sys.stdin,stdout=sys.stdout,stderr=sys.stderr).wait() - except: - return 1 - -pwd=os.getcwd() -def FetchFile(URL, Filename): - f=u.urlopen(URL) - o=open(Filename,'wb') - txt=f.read(1024*512) - ctr=0 - while txt: - if (ctr+1)/2*2==ctr+1: - print ctr*1024*512+len(txt), 'bytes downloaded' - o.write(txt) - txt=f.read(1024*512) - ctr+=1 - f.close() - o.close() - -Auto='auto' in sys.argv -DB='db' in sys.argv -if not DB and (Auto or 'Y' in raw_input('Install MinGW?').upper()): - FetchFile('http://downloads.sourceforge.net/project/mingw/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110802/mingw-get-inst-20110802.exe?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmingw%2Ffiles%2FAutomated%2520MinGW%2520Installer%2Fmingw-get-inst%2Fmingw-get-inst-20110802%2F&ts=1316141182&use_mirror=superb-sea2', 'MinGWInstall.exe') - system('MinGWInstall.exe') - - -MINGW=DB or raw_input('Where is the MinGW install? ') -if MINGW=='' or MINGW is True: - MINGW='C:\\MinGW' -MINGWBIN=MINGW+'\\bin' -MSYS='' if DB else raw_input('Where is MSYS [%s\msys]? '%MINGW) -if MSYS=='': - MSYS=MINGW+'\\msys' -MSYSBIN=MSYS+'\\1.0\\bin' -def addPath(path): - os.environ['PATH']+=';'+path - -addPath(MSYSBIN) -addPath(MINGWBIN) -addPath(sys.executable.strip('python.exe')) - - - - -def AskInstall(Name): - return Auto or 'Y' in raw_input('Install %s?' %Name).upper() - -if not DB and AskInstall('Unzip'): - FetchFile('http://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Finfozip%2Ffiles%2FUnZip%25206.x%2520%2528latest%2529%2FUnZip%25206.0%2F&ts=1316144927&use_mirror=superb-sea2', 'unzip.tar.gz') - system('tar -zxf unzip.tar.gz') - os.chdir('unzip60') - system('make -f win32/Makefile.gcc') - system('make -f win32/Makefile.gcc install') - system('cp unzip.exe /bin') - os.chdir(pwd) - -if system('unzip -h'): - UZ=raw_input("Full path to unzip executable? ") -else: - UZ='unzip' -def unZip(File): - system('unzip %s' %File) - -if AskInstall('libcurl'): - if DB: system('rm -rf curl-7.22.0') - FetchFile('http://curl.haxx.se/download/curl-7.22.0.zip','curl-7.22.0.zip') - unZip('curl-7.22.0.zip') - os.chdir('curl-7.22.0') - f=open('lib/setup.h') - txt=f.read() - f.close() - txt='#define HTTP_ONLY\n'+txt - f=open('lib/setup.h','w') - f.write(txt) - f.close() - system('sh ./configure') - system('make') - system('make install') - LIBCURL=pwd+r'\curl-7.22.0' -else: - LIBCURL=raw_input('path to libcurl? ') - if LIBCURL=='': - LIBCURL=pwd+r'\curl-7.22.0' - -os.chdir(pwd) - - -if AskInstall('gtk2'): - if DB: system('rm -rf gtk2bundle') - if system('dir gtk2bundle'): - system('mkdir gtk2bundle') - FetchFile('http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.1-20101227_win32.zip', 'gtk2bundle/gtk2bundle.zip') - os.chdir('gtk2bundle') - unZip('gtk2bundle.zip') - os.chdir(pwd) - addPath(pwd+r'\gtk2bundle\bin') - GTK=pwd+r'\gtk2bundle\bin' -else: - GTK=raw_input('path to gtk library? ') - if GTK: - addPath(GTK) - else: - addPath(pwd+r'\gtk2bundle\bin') - GTK=pwd+r'\gtk2bundle\bin' - - -if AskInstall('libxml'): - if DB: system('rm -rf libxml2-2.7.8') - FetchFile('ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz', 'libxml2.tar.gz') - system('tar -zxf libxml2.tar.gz') - os.chdir('libxml2-2.7.8') - system('sh ./configure') - system('make') - system('make install') - system('cp libxml.h %s\include'%MINGW) - LIBXML=pwd+r'\libxml2-2.7.8' - -else: - LIBXML=raw_input('path to libxml library? ') - if LIBXML =='': - LIBXML=pwd+r'\libxml2-2.7.8' -os.environ.update({'PKG_CONFIG_PATH':LIBXML}) - -os.chdir(pwd) - - -if AskInstall('libglade'): - if DB: system('rm -rf libglade-2.6.4') - FetchFile('ftp://ftp.gnome.org/mirror/gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.gz','libglade.tar.gz') - system('tar -zxf libglade.tar.gz') - os.chdir('libglade-2.6.4') - system('sh configure') - system('make') - system('make install') - LIBGLADE=(pwd+r'\libglade-2.6.4').replace('\\','/') -else: - LIBGLADE=raw_input('path to libglade library? ') - if LIBGLADE=='': - LIBGLADE=pwd+r'\libglade-2.6.4' -LIBGLADE=LIBGLADE.replace('\\','/') -os.environ['PKG_CONFIG_PATH']+=';'+LIBGLADE -#os.environ['LIBGLADE_CFLAGS']=LIBGLADE -#os.environ['LIBGLADE_LIBS']=LIBGLADE+r'/glade' -os.chdir(pwd) - -if AskInstall('zlib'): - if DB: system('rm -rf zlib-1.2.6') - FetchFile('http://zlib.net/zlib126.zip','zlib.zip') - unZip('zlib.zip') - os.chdir('zlib-1.2.6') - system('make -f win32/Makefile.gcc') - system('cp zlib1.dll %s'%MINGWBIN) - system('cp zconf.h %s'%MINGW+'\\include') - system('cp zlib.h %s' %MINGW+'\\include') - system('cp libz.a %s'%MINGW+r'\lib') - system('cp libzdll.a %s'%MINGW+r'\lib\libz.dll.a') - ZLIB=pwd+'/zlib-1.2.6' -else: - ZLIB=raw_input("Path to zlib? ") or pwd+'/zlib-1.2.6' - -os.chdir(pwd) -LIBPNG='' -if AskInstall('libpng'): - if DB: system('rm -rf lpng148') - FetchFile('http://downloads.sourceforge.net/project/libpng/libpng14/1.4.8/lpng148.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng14%2F1.4.8%2F&ts=1316306163&use_mirror=superb-sea2','libpng.zip') -# system('tar -zxf libpng.tar.gz') - unZip('libpng.zip') - os.chdir('lpng148') - -# system('sh configure') - system('make -f scripts/makefile.gcc') - system('make -f scripts/makefile.gcc install') - LIBPNG=pwd+r'\lpng148' -if not LIBPNG: - LIBPNG=raw_input("location of libpng?") - -if not LIBPNG: - LIBPNG=pwd+r'\lpng148' - -os.chdir(pwd) - -CFSOURCE='' -SvnType='p' if DB else raw_input('Please select svn client [S]vn, [p]ysvn, [t]ortoiseSVN, [m]anual checkout:') -if not 'M' in SvnType.upper(): - if not DB and AskInstall('svn client'): - if 'S' in SvnType: - FetchFile('http://downloads.sourceforge.net/project/win32svn/1.6.17/Setup-Subversion-1.6.17.msi?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwin32svn%2F&ts=1316154613&use_mirror=superb-sea2','Subversion.msi') - system('Subversion.msi') - elif 'p' in SvnType: - FetchFile('http://pysvn.tigris.org/files/documents/1233/48847/py27-pysvn-svn1615-1.7.5-1360.exe','pysvn.exe') - system('pysvn.exe') - elif 't' in SvnType: - FetchFile('http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.16.21511-win32-svn-1.6.17.msi?download','tsvn.msi') - system('tsvn.msi') - - - if DB or AskInstall('cf client gtk2 code'): - if 'S' in SvnType: - system('svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk client.svn') - elif 'p' in SvnType: - import pysvn - pysvn.Client().checkout('http://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk', 'client.svn') - elif 't' in SvnType: - print 'Please check out http://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk into client.svn' - CFSOURCE=pwd+r'\client.svn' - -if not CFSOURCE: - CFSOURCE=raw_input("Path to client.svn?") or os.path.join(pwd,'client.svn') -os.chdir(CFSOURCE or 'client.svn') -# -if DB: - system('make distclean') -if 'configure' not in os.listdir('.'): - system('sh autogen.sh') - -t=subprocess.Popen('pkg-config --cflags gtk+-2.0',stdout=subprocess.PIPE) -t.wait() -GTKCF=t.stdout.read() -GTKCF=GTKCF.replace('C:','/C').replace('\\','/') -t=subprocess.Popen('pkg-config --cflags libglade-2.0',stdout=subprocess.PIPE) -t.wait() -GLADECF=t.stdout.read() -GLADECF=GLADECF.replace('C:','/C').replace('\\','/').replace('(top_builddir/)//','') -t=subprocess.Popen('pkg-config --libs libglade-2.0',stdout=subprocess.PIPE) -t.wait() -GLADELD=t.stdout.read() -GLADELD=GLADECF.replace('C:','/C').replace('\\','/').replace('(top_builddir/)//','').replace(r'(top_builddir)\c;c:','/c/').replace(r'glade\libglade-2.0.1a','glade/.libs').replace('\\','/').replace('//','/') - -GLADELD='' -print '''sh -c './configure --with-includes="%s %s -I %s" --with-ldflags="-L %s -L %s %s -L %s"' '''%(GLADECF, GTKCF, ('/'+LIBCURL+r'\include').replace('\\','/').replace(':',''),LIBCURL.replace('\\','/').replace('c:/','/c/').replace('//','/')+'lib/.libs', ('/'+LIBPNG).replace('\\','/').replace(':',''), GLADELD, LIBXML.replace('\\','/').replace(':','')+'/.libs') -if DB or raw_input('Compile gtk2 client?') or Auto: - - if not system('''sh -c './configure --with-includes="%s %s -I %s" --with-ldflags="-L %s -L %s %s -L %s -L %s"' '''%(GLADECF, GTKCF, ('/'+LIBCURL+r'\include').replace('\\','/').replace(':',''),LIBCURL.replace('\\','/').replace('c:/','/c/').replace('//','/')+'lib/.libs', ('/'+LIBPNG).replace('\\','/').replace(':',''), GLADELD, '/'+LIBXML.replace('\\','/').replace(':','')+'/.libs', ('/'+LIBCURL+r'/lib/.libs').replace('\\','/').replace(':',''))): - f=open('gtk-v2/src/Makefile') - txt=f.readlines() - t='' - for i in txt: - if i.startswith('crossfire_client_gtk2_LDADD '): - i=i.replace(r'\$\(top_builddir\)/C:','/c').replace('/glade/libglade-2.0.la','/glade/.libs/libglade-2.0-0.dll -l curl') - t+=i - f.close() - f=open('gtk-v2/src/Makefile','w') - f.write(t) - f.close() - f=open('common/config.h') - txt=f.read() - f.close() - txt='#define MINGW\n'+txt - f=open('common/config.h','w') - f.write(txt) - f.close() - if not system('make'): - system('make install') - - - - -if DB or Auto or 'Y' in raw_input('Prepare distro? ').upper(): - os.chdir(pwd) - execfile('Collect.py') -os.chdir(pwd) -if DB or Auto or 'Y' in raw_input('Prepare installer? ').upper(): - execfile('Bundle.py') - -if not DB: - if system('sh'): - print MSYSBIN - system(MSYSBIN+'\sh.exe') Deleted: client/trunk/gtk-v2/win32/Collect.py =================================================================== --- client/trunk/gtk-v2/win32/Collect.py 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/Collect.py 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,30 +0,0 @@ -#for i in [LIBCURL,GTK,LIBXML,LIBGLADE,LIBPNG]: -# print i -LIBCURL=LIBCURL.replace('C:\\','/c/').replace('\\','/').replace('//','/') -GTK=GTK.replace('C:\\','/c/').replace('\\','/').replace('//','/') -LIBXML=LIBXML.replace('C:\\','/c/').replace('\\','/').replace('//','/') -LIBGLADE=LIBGLADE.replace('C:\\','/c/').replace('\\','/').replace('//','/') -LIBPNG=LIBPNG.replace('C:\\','/c/').replace('\\','/').replace('//','/') -ZLIB=ZLIB.replace('C:\\','/c/').replace('\\','/').replace('//','/') -MINGWBIN=MINGWBIN.replace('C:\\','/c/').replace('\\','/').replace('//','/') -MINGW=MINGW.replace('C:\\','/c/').replace('\\','/').replace('//','/') - - - -DIST=pwd+'/Dist' -system('mkdir Dist') -os.chdir('client.svn/gtk-v2/src') - -system('cp crossfire-client-gtk2.exe %s/Dist' %pwd) -system('cp -r ../glade %s/glade-gtk2' %DIST) -system('cp %s/lib/.libs/libcurl-4.dll %s' %(LIBCURL, DIST)) -system('cp %s/zlib1.dll %s' %(ZLIB, DIST)) -system('cp %s/glade/.libs/libglade-2.0-0.dll %s' %(LIBGLADE,DIST)) -system('cp %s/libpthread-2.dll %s' %(MINGWBIN, DIST)) -system('cp %s/libiconv-2.dll %s' %(MINGWBIN, DIST)) -system('cp %s/.libs/libxml2-2.dll %s' %(LIBXML, DIST)) - -for i in ['libgdk-win32-2.0-0.dll', 'libpng14-14.dll', 'libcairo-2.dll', 'libfontconfig-1.dll', 'libexpat-1.dll', 'freetype6.dll', 'libgdk_pixbuf-2.0-0.dll', 'intl.dll', 'libgio-2.0-0.dll', 'libglib-2.0-0.dll','libgmodule-2.0-0.dll','libgobject-2.0-0.dll','libgthread-2.0-0.dll', 'libpango-1.0-0.dll','libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll', 'libgtk-win32-2.0-0.dll', 'libatk-1.0-0.dll']: - system('cp %s/%s %s' %(GTK, i, DIST)) - -system('rm -rf glade-gtk2/.svn') \ No newline at end of file Deleted: client/trunk/gtk-v2/win32/DailyBuild.py =================================================================== --- client/trunk/gtk-v2/win32/DailyBuild.py 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/DailyBuild.py 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,12 +0,0 @@ -import time, os - -while 1: - midnight=list(time.localtime()) - midnight[4]=midnight[5]=midnight[3]=0 - - midnight=time.mktime(midnight)+60*60*24 - print midnight-time.time() - time.sleep(midnight-time.time()) - if not os.system('c:\python27\python.exe CFInstall.bat db auto'): - os.system('scp *.exe 192.168.0.43:/home/perkins/svn/Perkins/CFCompiler/') - Deleted: client/trunk/gtk-v2/win32/Running.txt =================================================================== --- client/trunk/gtk-v2/win32/Running.txt 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/Running.txt 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,60 +0,0 @@ -Readme for Crossfire's GTK client under Windows (May, 19th, 2010) ---------------------------------------------------------------------- - -This document contains notes and information about running Crossfire's GTK client under Win32. -More information about Crossfire can be found at http://crossfire.real-time.com - -Building instructions can be found in Building.mingw.txt or Building.msvc.txt, located in the same directory. Building.msvc.txt is out of date. -Changes from previous versions are listed in 'Changes' or 'Full change log' files from -start menu. - - -This is release 1.60.2 of the client, only the GTK-v2 client is supported or maintained in -any way. - - -GTK Warning ------------ -People have reported many issues with GTK. If you experience any trouble, before asking for -help, check http://forum.metalforge.net/, the 'bugs' and/or 'Spoilers and help request' -forums. - -Installation ------------- -Note: if you installed via an installer, you can skip this section. - -The client can run from any directory. -A .crossfire directory will be created to store settings and cached images. -If the environment variable 'HOME' is set, .crossfire will be created as $HOME/.crossfire -Else your application's directory will be used. - -Release notes & known issues ----------------------------- -* There is no sound currently. -* The client isn't built with OpenGL or SDL support: pixmap support only. - -Display Options ---------------- - -This version of the client supports SDL and OpenGL rendering, but it makes no attempt to -detect which one is best for your system. It's strongly recommended that, before playing -for the first time, you open the configuration dialog (main menu, "Client", "Configure") -and change a few settings to your liking. In particular, "Enable smoothing", and on -"Display mode", select OpenGL. Save and restart (the client, not your system). If your -map display doesn't work or has artifacts, configure again and select SDL. - -If using SDL and if your computer is relatively recent, you should also set the -"Lighting options" to "Best Per Pixel". - -Finally, if you installed the extra layouts, you may want to try a few of them. -Changing layouts requires a client restart. - - -Troubleshooting ---------------- -If something goes wrong, report your troubles to: -* Crossfire's messageboard: http://forum.metalforge.net/ -* Crossfire's mailing list: see http://crossfire.real-time.com for instructions on how to join it -* #crossfire on irc.freenode.org - -Also check Crossfire's bugs page at http://sourceforge.net/tracker/?group_id=13833&atid=113833 Deleted: client/trunk/gtk-v2/win32/Win32Changes.txt =================================================================== --- client/trunk/gtk-v2/win32/Win32Changes.txt 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/Win32Changes.txt 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,24 +0,0 @@ -Changes for Win32 GTK client 1.60.2, May 2010 ---------------------------------------------------- -This document details changes between Win32 GTK client releases. -A full log of changes can be found in the 'ChangeLog.rtf' file ('Full change log' in start menu). - - - -From version 1.60.2 -------------------- -* GTK runtime bundled right into Crossfire directory, no need for a separate GTK install on the PATH -* SDL and OpenGL not included -* Built with MinGW instead of MSVC -* Removed gtkclient.nsi as it is now generated dynamically by Bundle.py from gtkclient.nsi.in - -From versions 1.50.0 ------------------- - * The windows client is now the gtk-v2 client, this has been in development over the last few releases, - and is now the only one that is now supported (jxclient is also supported, but is a separate sub-project). - -Major features to note in gtk-v2 - -* Account-based logins for new servers -* Support for multiple layouts -* More sophisticated message handling options Deleted: client/trunk/gtk-v2/win32/gdefaults2 =================================================================== --- client/trunk/gtk-v2/win32/gdefaults2 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/gdefaults2 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,41 +0,0 @@ -# crossfire-client-gtk2 automatically generates this file. -# Manual editing is allowed, but the client may be a bit -# finicky about the keys and values. Comparisons are case -# sensitive. 'True' and 'False' are the proper case, but -# have been replaced with 1 and 0 respectively. -# -server: (null) -theme: None -faceset: (null) -window_layout: gtk-v2.glade -download_all_images: 0 -echo_bindings: 0 -fasttcpsend: 1 -command_window: 10 -cacheimages: 0 -fog_of_war: 1 -iconscale: 100 -mapscale: 100 -popups: 0 -displaymode: 0 -showicon: 0 -tooltips: 1 -sound: 1 -splitinfo: 0 -split: 0 -show_grid: 0 -lighting: 1 -trim_info_window: 0 -map_width: 19 -map_height: 17 -foodbeep: 0 -darkness: 1 -port: 13327 -grad_color_bars: 0 -resistances: 0 -smoothing: 0 -nosplash: 1 -auto_apply_container: 1 -mapscroll: 1 -sign_popups: 1 -message_timestamping: 0 Deleted: client/trunk/gtk-v2/win32/gtk-v2.pos =================================================================== --- client/trunk/gtk-v2/win32/gtk-v2.pos 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/gtk-v2.pos 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,6 +0,0 @@ -window_root: +0+0x958x689 -hpaned_client: 619 -hpaned_statbars_statnotebook: 189 -vpaned_info_inventory: 294 -vpaned_map_stats: 515 -vpaned_inv_look: 176 Deleted: client/trunk/gtk-v2/win32/gtkclient.nsi.in =================================================================== --- client/trunk/gtk-v2/win32/gtkclient.nsi.in 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/gtkclient.nsi.in 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,306 +0,0 @@ -;NSIS Script For Crossfire GTK Client - -;This script can run just like that, doesn't need anything special... - -!include "MUI.nsh" - -!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Crossfire Client Gtkv2" -!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Crossfire GTK Client" -!define PRODUCT_VERSION "1.60.2" -!define PRODUCT_PUBLISHER "Crossfire Project" -!define PRODUCT_WEB_SITE "http://crossfire.real-time.com/" - -;Title Of Your Application -Name "Crossfire GTK2 Client" - -VIAddVersionKey "ProductName" "Crossfire GTK2 client installer" -VIAddVersionKey "FileDescription" "Crossfire GTK client installer" -VIAddVersionKey "LegalCopyright" "Crossfire is released under the GPL." -VIAddVersionKey "FileVersion" "${PRODUCT_VERSION}" -VIProductVersion "${PRODUCT_VERSION}.0" - -;Do A CRC Check -CRCCheck On - -;Output File Name -OutFile "crossfire-client-windows-${PRODUCT_VERSION}.exe" - - -;The Default Installation Directory -InstallDir "$PROGRAMFILES\Crossfire GTK Client" -InstallDirRegKey HKCU "Software\Crossfire GTK Client" "" - -!define MUI_ABORTWARNING - -!define MUI_ICON "%s\pixmaps\client.ico" -!define MUI_UNICON "%s\pixmaps\client.ico" - -!insertmacro MUI_PAGE_WELCOME -!insertmacro MUI_PAGE_LICENSE "%s\COPYING" -!insertmacro MUI_PAGE_DIRECTORY -;;!insertmacro MUI_PAGE_STARTMENU page_id variable -!insertmacro MUI_PAGE_INSTFILES - -!define MUI_FINISHPAGE_RUN $INSTDIR\crossfire-client-gtk2.exe -!define MUI_FINISHPAGE_SHOWREADME $INSTDIR\Running.txt - -!insertmacro MUI_PAGE_FINISH - -!insertmacro MUI_LANGUAGE "English" - -; GetWindowsVersion -; -; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ -; Updated by Joost Verburg -; -; Returns on top of stack -; -; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003) -; or -; '' (Unknown Windows Version) -; -; Usage: -; Call GetWindowsVersion -; Pop $R0 -; ; at this point $R0 is "NT 4.0" or whatnot - -Function GetWindowsVersion - - Push $R0 - Push $R1 - - ClearErrors - - ReadRegStr $R0 HKLM \ - "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion - - IfErrors 0 lbl_winnt - - ; we are not NT - ReadRegStr $R0 HKLM \ - "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber - - StrCpy $R1 $R0 1 - StrCmp $R1 '4' 0 lbl_error - - StrCpy $R1 $R0 3 - - StrCmp $R1 '4.0' lbl_win32_95 - StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 - - lbl_win32_95: - StrCpy $R0 '95' - Goto lbl_done - - lbl_win32_98: - StrCpy $R0 '98' - Goto lbl_done - - lbl_win32_ME: - StrCpy $R0 'ME' - Goto lbl_done - - lbl_winnt: - - StrCpy $R1 $R0 1 - - StrCmp $R1 '3' lbl_winnt_x - StrCmp $R1 '4' lbl_winnt_x - - StrCpy $R1 $R0 3 - - StrCmp $R1 '5.0' lbl_winnt_2000 - StrCmp $R1 '5.1' lbl_winnt_XP - StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error - - lbl_winnt_x: - StrCpy $R0 "NT $R0" 6 - Goto lbl_done - - lbl_winnt_2000: - Strcpy $R0 '2000' - Goto lbl_done - - lbl_winnt_XP: - Strcpy $R0 'XP' - Goto lbl_done - - lbl_winnt_2003: - Strcpy $R0 '2003' - Goto lbl_done - - lbl_error: - Strcpy $R0 '' - lbl_done: - - Pop $R1 - Exch $R0 - -FunctionEnd - -Function CheckWindows - ;Warn the user if under Windows 95 or Windows 98. - Call GetWindowsVersion - Pop $R0 - - StrCmp $R0 "95" +2 +1 - StrCmp $R0 "98" +1 windows_ok - MessageBox MB_YESNOCANCEL|MB_ICONEXCLAMATION "Warning!\rThe client cannot correctly work under Windows 95 or 98.\rContinue at your own risk!\rInstall anyway?" IDYES windows_ok - - ;User choosed to quit - Quit - - windows_ok: -FunctionEnd - -Function .onInit - - ;Check Windows version - Call CheckWindows - -FunctionEnd - -Section "Install" - ;Install Files - SetOutPath $INSTDIR - SetCompress Auto - SetOverwrite IfNewer - File "Dist\crossfire-client-gtk2.exe" - File "Dist\*.dll" - File "%s\gtk-v2\win32\Win32Changes.txt" - File /oname=ChangeLog.rtf "%s\ChangeLog" - File /oname=Copying.rtf "%s\Copying" - File "%s\gtk-v2\win32\Running.txt" - File "%s\gtk-v2\win32\Building.msvc.txt" - File "%s\gtk-v2\win32\Building.mingw.txt" - File "%s\pixmaps\client.ico" - -; File "%s\gtk-v2\src\bmaps.client" -; File "%s\gtk-v2\src\crossfire.base" - ; File "%s\gtk-v2\src\crossfire.clsc" - - SetOutPath $INSTDIR\.crossfire - File "%s\gtk-v2\win32\gtk-v2.pos" - File "%s\gtk-v2\win32\gdefaults2" - File "%s\gtk-v2\win32\keys" - File "%s\gtk-v2\win32\msgs" - - SetOutPath "$INSTDIR\themes" - File "%s\gtk-v2\themes\Black" - File "%s\gtk-v2\themes\Standard" - - SetOutPath $INSTDIR\glade-gtk2 - File "DIST\glade-gtk2\*.glade" - - ; Copy files to user's appdata directory - CreateDirectory "$APPDATA\.crossfire" - CopyFiles "$INSTDIR\.crossfire\*" "$APPDATA\.crossfire" - - ; Write AppPath key - WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "Path" $INSTDIR - - ; Write the uninstall keys for Windows - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayName" "Crossfire GTK Client (remove only)" - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninst.exe" - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\pixmaps\client.ico" - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" - WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" - WriteUninstaller "Uninst.exe" - -SectionEnd - -Section "Shortcuts" - ;Add Shortcuts - ;SetOutPath called so that shortcuts point to correct directory - SetOutPath $INSTDIR - CreateDirectory "$SMPROGRAMS\Crossfire GTK Client" - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\Crossfire GTK Client.lnk" "$INSTDIR\\crossfire-client-gtk2.exe" "" "$INSTDIR\client.ico" 0 - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\License.lnk" "$INSTDIR\\Copying.rtf" - CreateShortcut "$SMPROGRAMS\Crossfire GTK Client\Changes.lnk" "$INSTDIR\\Win32Changes.txt" - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\Full change log.lnk" "$INSTDIR\\ChangeLog.rtf" - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\Running the client.lnk" "$INSTDIR\\Running.txt" - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\Scripting Guide.lnk" "$INSTDIR\\Scripting.html" - CreateShortCut "$SMPROGRAMS\Crossfire GTK Client\Uninstall Crossfire GTK Client.lnk" "$INSTDIR\\Uninst.exe" "" "$INSTDIR\client.ico" 0 -SectionEnd - -UninstallText "This will uninstall Crossfire GTK Client from your system" - -Section Uninstall - - ;Delete Files - Delete "$INSTDIR\bmaps.client" - Delete "$INSTDIR\crossfire.base" - Delete "$INSTDIR\crossfire.clsc" - Delete "$INSTDIR\crossfire-client-gtk2.exe" - Delete "$INSTDIR\.CROSSFIRE\gtk-v2.pos" - Delete "$INSTDIR\.CROSSFIRE\gdefaults2" - Delete "$INSTDIR\.crossfire\keys" - Delete "$INSTDIR\.crossfire\msgs" - Delete "$INSTDIR\glade-gtk2\dialogs.glade" - Delete "$INSTDIR\glade-gtk2\chthonic.glade" - Delete "$INSTDIR\glade-gtk2\eureka.glade" - Delete "$INSTDIR\glade-gtk2\gtk-v2.glade" - Delete "$INSTDIR\glade-gtk2\sixforty.glade" - Delete "$INSTDIR\glade-gtk2\v1-redux.glade" - Delete "$INSTDIR\glade-gtk2\lobotomy.glade" - - Delete "$INSTDIR\themes\Standard" - Delete "$INSTDIR\themes\Black" - - Delete "$INSTDIR\Win32Changes.txt" - Delete "$INSTDIR\ChangeLog.rtf" - Delete "$INSTDIR\Copying.rtf" - Delete "$INSTDIR\Running.txt" - Delete "$INSTDIR\Building.mingw.txt" - Delete "$INSTDIR\Building.msvc.txt" - - Delete "$INSTDIR\client.ico" - - ; Delete the dlls that are needed - Delete "$INSTDIR\libcurl.dll" - Delete "$INSTDIR\pthreadGC2.dll" - Delete "$INSTDIR\zlib1.dll" - Delete "$INSTDIR\freetype6.dll" - Delete "$INSTDIR\libexpat-1.dll" - Delete "$INSTDIR\libglade-2.0-0.dll" - Delete "$INSTDIR\libgtk-win32-2.0-0.dll" - Delete "$INSTDIR\libpng12-0.dll" - Delete "$INSTDIR\libpng14-14.dll" - Delete "$INSTDIR\iconv.dll" - Delete "$INSTDIR\libfontconfig-1.dll" - Delete "$INSTDIR\libglib-2.0-0.dll" - Delete "$INSTDIR\libpango-1.0-0.dll" - Delete "$INSTDIR\SDL.dll" - Delete "$INSTDIR\libatk-1.0-0.dll" - Delete "$INSTDIR\libgdk_pixbuf-2.0-0.dll" - Delete "$INSTDIR\libgmodule-2.0-0.dll" - Delete "$INSTDIR\libpangocairo-1.0-0.dll" - Delete "$INSTDIR\libcairo-2.dll" - Delete "$INSTDIR\libgdk-win32-2.0-0.dll" - Delete "$INSTDIR\libgobject-2.0-0.dll" - Delete "$INSTDIR\libpangoft2-1.0-0.dll" - Delete "$INSTDIR\libgio-2.0-0.dll" - Delete "$INSTDIR\libgthread-2.0-0.dll" - Delete "$INSTDIR\libpangowin32-1.0-0.dll" - Delete "$INSTDIR\libxml2.dll" - - ;Delete directories, but only if empty - RmDir "$INSTDIR\glade-gtk2" - RmDir "$INSTDIR\crossfire-client" - RMDir "$INSTDIR\themes" - RmDir "$INSTDIR\.crossfire" - RmDir "$INSTDIR" - - ;Delete Start Menu Shortcuts - Delete "$SMPROGRAMS\Crossfire GTK Client\*.*" - RmDir "$SMPROGRAMS\Crossfire GTK Client" - - ;Delete Uninstaller And Unistall Registry Entries - Delete "$INSTDIR\Uninst.exe" - DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Crossfire GTK Client" - DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" - DeleteRegKey HKLM "${PRODUCT_UNINST_KEY}" - RMDir "$INSTDIR" -SectionEnd - Deleted: client/trunk/gtk-v2/win32/keys =================================================================== --- client/trunk/gtk-v2/win32/keys 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/keys 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,81 +0,0 @@ -! metakey0 Meta_L 0 -! metakey1 Meta_R 0 -! altkey0 Alt_L 0 -! altkey1 Alt_R 0 -Tab 0 NS rotatespells 1 -Tab 0 FRS rotatespells -1 -quotedbl 0 AES say -plus 0 NFS rotateshoottype -comma 0 AS take -minus 0 NS rotateshoottype -1 -period 0 NS stay fire -question 0 AS help -at 0 AS pickup -A 0 NS apply inventory -A 0 FRS apply -B 0 AS southwest -E 0 NS examine inventory -E 0 FRS examine -H 0 AS west -J 0 AS south -K 0 AS north -L 0 AS east -N 0 AS southeast -Left 0 AS west -Left 0 AS west -S 0 AS brace -Up 0 AS north -Up 0 AS north -U 0 AS northeast -Right 0 AS east -Right 0 AS east -Down 0 AS south -Down 0 AS south -Y 0 AS northwest -Z 0 F bar -a 0 NS apply -a 0 FRS apply -b 0 AS southwest -d 0 NS disarm -e 0 NS examine inventory -e 0 FRS examine -h 0 AS west -j 0 AS south -k 0 AS north -l 0 AS east -n 0 AS southeast -p 0 N use_skill praying -s 0 AS search -t 0 AS ready_skill throw -u 0 AS northeast -x 0 NFS show -y 0 AS northwest -z 0 A foo -KP_Home 0 AS northwest -KP_Left 0 AS west -KP_Up 0 AS north -KP_Right 0 AS east -KP_Down 0 AS south -KP_Page_Up 0 AS northeast -KP_Page_Down 0 AS southeast -KP_End 0 AS southwest -KP_Add 0 AS rotateshoottype -KP_Subtract 0 AS rotateshoottype - -KP_1 0 AS southwest -KP_2 0 AS south -KP_3 0 AS southeast -KP_4 0 AS west -KP_5 0 AS stay -KP_6 0 AS east -KP_7 0 AS northwest -KP_8 0 AS north -KP_9 0 AS northeast -F27 0 AS northwest -F28 0 AS north -F29 0 AS northeast -F30 0 AS west -F31 0 AS stay -F32 0 AS east -F33 0 AS southwest -F34 0 AS south -F35 0 AS southeast Deleted: client/trunk/gtk-v2/win32/msgs =================================================================== --- client/trunk/gtk-v2/win32/msgs 2017-07-24 17:26:55 UTC (rev 20441) +++ client/trunk/gtk-v2/win32/msgs 2017-07-26 15:48:21 UTC (rev 20442) @@ -1,36 +0,0 @@ -# Message Control System Configuration -# -# Count: 1-96 -# -C 16 -# -# Timer: 1-96 (8 ~= one second) -# -T 16 -# -# type, buffer, pane[0], pane[1]... -# Do not edit the 'type' field. -# 0 == disable; 1 == enable. -# -M 01 0 1 0 -M 02 0 1 0 -M 03 0 1 0 -M 04 0 1 0 -M 05 0 1 0 -M 06 0 1 0 -M 07 0 1 0 -M 08 0 1 0 -M 09 1 1 0 -M 10 0 1 0 -M 11 1 1 1 -M 12 1 1 0 -M 13 1 1 0 -M 14 1 1 0 -M 15 0 1 1 -M 16 1 1 0 -M 17 1 1 0 -M 18 1 1 0 -M 19 0 1 1 -M 20 0 1 0 -# -# End of Message Control System Configuration This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |