]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
updated the setup functionality on windows, new deps file, bumped version up
authortimo <timo@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 29 Nov 2010 01:12:35 +0000 (01:12 +0000)
committertimo <timo@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 29 Nov 2010 01:12:35 +0000 (01:12 +0000)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@344 8a3a26a2-13c4-0310-b231-cf6edde360e5

config.py
include/aboutmsg.h
include/version.default
include/version.h

index ad7ad9e924ec12074a2f1e3dc852ef9eb3ad67ab..e91e9f1f2e62843509e2799dcd6f9722d6ad7d50 100644 (file)
--- a/config.py
+++ b/config.py
@@ -273,25 +273,19 @@ 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-3.zip'
-                       # TMP
-                       #if ( not os.path.exists( depsfile ) ):
-                       if ( True ):
-                               cmd = 'wget http://zerowing.idsoftware.com/files/radiant/developer/1.6.1/%s' % depsfile
-                               print cmd
-                               ret = os.system( cmd )
-                               if ( ret != 0 ):
-                                       raise Exception( 'Failed to download dependencies file' )
+                       depsfile = 'GtkR-deps-1.6-4.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 ) )
+                               subprocess.check_call( cmd )
 
                                # extract one directoy above
                                f = os.path.abspath( depsfile )
                                backup_cwd = os.getcwd()
                                os.chdir( os.path.dirname( backup_cwd ) )
-                               cmd = 'unzip %s' % f
-                               print cmd
-                               ret = os.system( cmd )
-                               if ( ret != 0 ):
-                                       raise Exception( 'unzip dependencies file failed' )
+                               cmd = [ 'unzip', '-o', f ]
+                               print( repr( cmd ) )
+                               subprocess.check_call( cmd )
                                os.chdir( backup_cwd )
 
                                # copy all the dependent runtime data to the install directory
@@ -309,25 +303,30 @@ class Config:
                                        '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/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', ]:
-                                       cmd = 'cp -v "%s" installs' % os.path.join( srcdir, f )
-                                       print cmd
-                                       ret = os.system( cmd )
-                                       if ( ret != 0 ):
-                                               raise Exception( 'runtime file copy failed' )
+                                       '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',
+                                        ]:
+                                        cmd = [ 'cp', '-v', os.path.join( srcdir, f ), 'install' ]
+                                        print( repr( cmd ) )
+                                        subprocess.check_call( cmd )
                                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 "%s" install' % os.path.join( srcdir, d )
-                                       print cmd
-                                       ret = os.system( cmd )
-                                       if ( ret != 0 ):
-                                               raise Exception( 'runtime directory copy failed' )
+                                        cmd = [ 'cp', '-r', '-v', os.path.join( srcdir, d ), 'install' ]
+                                       print( repr( cmd ) )
+                                       subprocess.check_call( cmd )
 
 # parse the config statement line to produce/update an existing config list
 # the configs expose a list of keywords and accepted values, which the engine parses out
index 337484969558bcb25a1225fc1a35f3228610b868..765b712494514fb278649d3161ef121aa0745a19 100644 (file)
@@ -1,2 +1,2 @@
 // generated header, see makeversion.py
-#define RADIANT_ABOUTMSG "ZeroRadiant build"
+#define RADIANT_ABOUTMSG "Experimental Build - Official"
index 7455fe00c4b8e98919b66f5c506b5a64c34170cb..4bffc9ea913679653f369aee59e1637d1a60450d 100644 (file)
@@ -1 +1 @@
-1.4.0\r
+1.6.2\r
index 91f5e433a8dcc54783a1eee34d7a4f4c0db609f9..52bc65e7c8a80f648755212ba5ff721f06827c16 100644 (file)
@@ -1,4 +1,4 @@
 // generated header, see makeversion.py
-#define RADIANT_VERSION "1.6.0"
-#define RADIANT_MINOR_VERSION "0"
+#define RADIANT_VERSION "1.6.2"
+#define RADIANT_MINOR_VERSION "2"
 #define RADIANT_MAJOR_VERSION "6"