mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-13 00:24:29 +00:00
put q3map2.exe x64 in install/x64, and copy the dependent DLLs
This commit is contained in:
parent
4c9f5c5229
commit
0241ec6d9b
4 changed files with 64 additions and 48 deletions
90
config.py
90
config.py
|
@ -6,6 +6,7 @@ if __name__ != '__main__':
|
||||||
import utils, urllib2, zipfile, shutil, pprint, subprocess, re, os.path
|
import utils, urllib2, zipfile, shutil, pprint, subprocess, re, os.path
|
||||||
|
|
||||||
GTK_PREFIX='gtk-2.24.10'
|
GTK_PREFIX='gtk-2.24.10'
|
||||||
|
GTK64_PREFIX='gtk-2.22.1_win64'
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
# aliases
|
# aliases
|
||||||
|
@ -313,49 +314,56 @@ class Config:
|
||||||
|
|
||||||
# copy all the dependent runtime data to the install directory
|
# copy all the dependent runtime data to the install directory
|
||||||
srcdir = os.path.dirname( backup_cwd )
|
srcdir = os.path.dirname( backup_cwd )
|
||||||
for dll in [
|
# for dll in [
|
||||||
'%s/bin/freetype6.dll' % GTK_PREFIX,
|
# '%s/bin/freetype6.dll' % GTK_PREFIX,
|
||||||
'%s/bin/intl.dll' % GTK_PREFIX,
|
# '%s/bin/intl.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libasprintf-0.dll' % GTK_PREFIX,
|
# '%s/bin/libasprintf-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libatk-1.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libatk-1.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libcairo-2.dll' % GTK_PREFIX,
|
# '%s/bin/libcairo-2.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libexpat-1.dll' % GTK_PREFIX,
|
# '%s/bin/libexpat-1.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libfontconfig-1.dll' % GTK_PREFIX,
|
# '%s/bin/libfontconfig-1.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgailutil-18.dll' % GTK_PREFIX,
|
# '%s/bin/libgailutil-18.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgcc_s_dw2-1.dll' % GTK_PREFIX,
|
# '%s/bin/libgcc_s_dw2-1.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgdk-win32-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgdk-win32-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgdk_pixbuf-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgdk_pixbuf-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgio-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgio-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libglib-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libglib-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgmodule-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgmodule-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgobject-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgobject-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgthread-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgthread-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libgtk-win32-2.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libgtk-win32-2.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libpango-1.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libpango-1.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libpangocairo-1.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libpangocairo-1.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libpangoft2-1.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libpangoft2-1.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libpangowin32-1.0-0.dll' % GTK_PREFIX,
|
# '%s/bin/libpangowin32-1.0-0.dll' % GTK_PREFIX,
|
||||||
'%s/bin/libpng14-14.dll' % GTK_PREFIX,
|
# '%s/bin/libpng14-14.dll' % GTK_PREFIX,
|
||||||
'%s/bin/zlib1.dll' % GTK_PREFIX,
|
# '%s/bin/zlib1.dll' % GTK_PREFIX,
|
||||||
'%s/lib/GNU.Gettext.dll' % GTK_PREFIX,
|
# '%s/lib/GNU.Gettext.dll' % GTK_PREFIX,
|
||||||
'%s/lib/gtk-2.0/2.10.0/engines/libpixmap.dll' % GTK_PREFIX,
|
# '%s/lib/gtk-2.0/2.10.0/engines/libpixmap.dll' % GTK_PREFIX,
|
||||||
'%s/lib/gtk-2.0/2.10.0/engines/libwimp.dll' % GTK_PREFIX,
|
# '%s/lib/gtk-2.0/2.10.0/engines/libwimp.dll' % GTK_PREFIX,
|
||||||
'%s/lib/gtk-2.0/modules/libgail.dll' % GTK_PREFIX,
|
# '%s/lib/gtk-2.0/modules/libgail.dll' % GTK_PREFIX,
|
||||||
'gtkglext-1.2.0/bin/libgdkglext-win32-1.0-0.dll',
|
# 'gtkglext-1.2.0/bin/libgdkglext-win32-1.0-0.dll',
|
||||||
'gtkglext-1.2.0/bin/libgtkglext-win32-1.0-0.dll',
|
# 'gtkglext-1.2.0/bin/libgtkglext-win32-1.0-0.dll',
|
||||||
# going static
|
## going static
|
||||||
# 'libxml2-2.7.3/bin/libxml2-2.dll'
|
## 'libxml2-2.7.3/bin/libxml2-2.dll'
|
||||||
]:
|
# ]:
|
||||||
shutil.copy( os.path.join( srcdir, dll ), 'install' )
|
# shutil.copy( os.path.join( srcdir, dll ), 'install' )
|
||||||
|
#
|
||||||
|
# for extra in [
|
||||||
|
# '%s/etc' % GTK_PREFIX,
|
||||||
|
# '%s/share' % GTK_PREFIX,
|
||||||
|
# 'gtkglext-1.2.0/share',
|
||||||
|
## TODO
|
||||||
|
## 'libxml2-2.7.3/share'
|
||||||
|
# ]:
|
||||||
|
# self.CopyTree( os.path.join( srcdir, extra ), 'install' )
|
||||||
|
|
||||||
for extra in [
|
for x64_dll in [
|
||||||
'%s/etc' % GTK_PREFIX,
|
'%s/bin/libpng14-14.dll' % GTK64_PREFIX,
|
||||||
'%s/share' % GTK_PREFIX,
|
'%s/bin/libglib-2.0-0.dll' % GTK64_PREFIX,
|
||||||
'gtkglext-1.2.0/share',
|
'%s/bin/libintl-8.dll' % GTK64_PREFIX,
|
||||||
# TODO
|
|
||||||
# 'libxml2-2.7.3/share'
|
|
||||||
]:
|
]:
|
||||||
self.CopyTree( os.path.join( srcdir, extra ), 'install' )
|
shutil.copy( os.path.join( srcdir, x64_dll ), 'install/x64' )
|
||||||
|
|
||||||
def FinishBuild( self, target, source, env ):
|
def FinishBuild( self, target, source, env ):
|
||||||
print( 'Lookup and bundle the PNG and JPEG libraries' )
|
print( 'Lookup and bundle the PNG and JPEG libraries' )
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
/* version */
|
/* version */
|
||||||
#define Q3MAP_VERSION "2.5.17"
|
#define Q3MAP_VERSION "2.5.17"
|
||||||
#define Q3MAP_MOTD "Last one turns the lights off"
|
#define Q3MAP_MOTD "We're still here"
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------------
|
/* -------------------------------------------------------------------------------
|
||||||
|
|
|
@ -60,14 +60,20 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<OutDir>$(SolutionDir)\install\</OutDir>
|
<OutDir>$(SolutionDir)\install\</OutDir>
|
||||||
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)\install\$(Platform)\</OutDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<OutDir>$(SolutionDir)\install\</OutDir>
|
<OutDir>$(SolutionDir)\install\</OutDir>
|
||||||
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)\install\$(Platform)\</OutDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
|
|
|
@ -72,19 +72,21 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<OutDir>$(SolutionDir)\install\</OutDir>
|
<OutDir>$(SolutionDir)\install\</OutDir>
|
||||||
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<OutDir>$(SolutionDir)\install\</OutDir>
|
<OutDir>$(SolutionDir)\install\</OutDir>
|
||||||
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(SolutionDir)\build\intermediate\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
|
|
Loading…
Reference in a new issue