From: timo Date: Mon, 13 Dec 2010 04:21:05 +0000 (+0000) Subject: rebuilt gtk binary dependencies file X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4ea003d7f4682007117bbfcd19254a49fbbb2785;p=xonotic%2Fnetradiant.git rebuilt gtk binary dependencies file fixed/optimized a number of VC9 project settings fixed sprintf being hijacked by intl.dll stuff git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@345 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/config.py b/config.py index e91e9f1f..5ae584be 100644 --- a/config.py +++ b/config.py @@ -273,7 +273,7 @@ class Config: self.FetchGamePaks( self.install_directory ) # NOTE: unrelated to self.setup_platforms - grab support files and binaries and install them if ( self.platform == 'Windows' ): - depsfile = 'GtkR-deps-1.6-4.zip' + depsfile = 'GtkR-deps-1.6-5.zip' if ( not os.path.exists( depsfile ) ): cmd = [ 'wget', '-N', 'http://zerowing.idsoftware.com/files/radiant/developer/1.6.1/%s' % depsfile ] print( repr( cmd ) ) @@ -291,28 +291,37 @@ class Config: # copy all the dependent runtime data to the install directory srcdir = os.path.dirname( backup_cwd ) for f in [ + # USE THE DEPENDENCY WALKER + # tier 1: radiant.exe direct deps + # tier 2: deps of tier 1 DLLs + # etc. + # tier 1 'libxml2/bin/libxml2.dll', + 'libxml2/bin/iconv.dll', 'gtk2/bin/libglib-2.0-0.dll', 'gtk2/bin/libgobject-2.0-0.dll', 'gtk2/bin/libgdk-win32-2.0-0.dll', 'gtk2/bin/libgtk-win32-2.0-0.dll', 'gtk2/bin/intl.dll', - 'gtk2/bin/libatk-1.0-0.dll', - 'gtk2/bin/libcairo-2.dll', - 'gtk2/bin/libgdk_pixbuf-2.0-0.dll', - 'gtk2/bin/libgmodule-2.0-0.dll', - 'gtk2/bin/libpng13.dll', 'gtk2/bin/libpango-1.0-0.dll', 'gtk2/bin/libpangoft2-1.0-0.dll', + 'gtk2/lib/gtkglext-1.2.0/lib/libgtkglext-win32-1.0-0.dll', + 'gtk2/lib/gtkglext-1.2.0/lib/libgdkglext-win32-1.0-0.dll', + # tier 2 + 'gtk2/bin/libgthread-2.0-0.dll', + 'gtk2/bin/libcairo-2.dll', + 'gtk2/bin/libgdk_pixbuf-2.0-0.dll', 'gtk2/bin/libpangocairo-1.0-0.dll', 'gtk2/bin/libpangowin32-1.0-0.dll', - 'gtk2/lib/libgtkglext-win32-1.0-0.dll', - 'gtk2/lib/libgdkglext-win32-1.0-0.dll', - 'gtk2/lib/iconv.dll', - 'gtk2/zlib1.dll', - 'freetype-dev_2.4.2-1_win32/bin/freetype6.dll', - 'fontconfig-dev_2.8.0-2_win32/bin/libfontconfig-1.dll', - 'expat_2.0.1-1_win32/bin/libexpat-1.dll', + 'gtk2/bin/libatk-1.0-0.dll', + 'gtk2/bin/libgmodule-2.0-0.dll', + 'gtk2/bin/libfontconfig-1.dll', + 'gtk2/bin/freetype6.dll', + # tier 3 + 'gtk2/bin/libexpat-1.dll', + 'gtk2/bin/libpng14-14.dll', + 'gtk2/bin/zlib1.dll', + 'gtk2/bin/libgio-2.0-0.dll', ]: cmd = [ 'cp', '-v', os.path.join( srcdir, f ), 'install' ] print( repr( cmd ) ) @@ -320,9 +329,6 @@ class Config: for d in [ 'gtk2/etc', 'gtk2/share', - 'fontconfig-dev_2.8.0-2_win32/etc', - 'fontconfig-dev_2.8.0-2_win32/share', - 'freetype-dev_2.4.2-1_win32/share', ]: cmd = [ 'cp', '-r', '-v', os.path.join( srcdir, d ), 'install' ] print( repr( cmd ) ) diff --git a/contrib/camera/camera.def b/contrib/camera/camera.def index 6a597438..ddec12c7 100644 --- a/contrib/camera/camera.def +++ b/contrib/camera/camera.def @@ -1,7 +1,6 @@ ; camera.def : Declares the module parameters for the DLL. LIBRARY "CAMERA" -DESCRIPTION 'CAMERA Windows Dynamic Link Library' EXPORTS ; Explicit exports can go here diff --git a/contrib/camera/camera_VC9.vcproj b/contrib/camera/camera_VC9.vcproj index e10dbd77..bf1b24cd 100755 --- a/contrib/camera/camera_VC9.vcproj +++ b/contrib/camera/camera_VC9.vcproj @@ -40,7 +40,7 @@ #define X_OK 0 @@ -3359,7 +3366,7 @@ void CGameInstall::BuildDialog() { void CGameInstall::Run() { ScanGames(); - if (m_availGames[0] == GAME_NONE) { + if ( m_availGames[0] == GAME_NONE ) { return; } if ( DoModal() == IDCANCEL ) { @@ -3375,8 +3382,8 @@ void CGameInstall::Run() { gameFilePath += ".game"; Sys_Printf( "game file: %s\n", gameFilePath.GetBuffer() ); - FILE *fg = fopen( gameFilePath.GetBuffer(), "w" ); - if ( fg == NULL || ferror( fg ) ) { + FILE * fg = fopen( gameFilePath.GetBuffer(), "w" ); + if ( fg == NULL ) { Error( "Failed to open %s for writing\n", gameFilePath.GetBuffer() ); } fprintf( fg, "\n - - @@ -2428,6 +2424,10 @@ RelativePath="..\..\src\gtk+\gdk\makefile.msc" > + +