From a674b579dd98100909d20c957a2b65962b8e5a57 Mon Sep 17 00:00:00 2001 From: David Schmidt Date: Tue, 13 Apr 2010 11:44:31 +0000 Subject: [PATCH] Name updates, Mac cleanup --- src/Info.plist | 10 +++++----- src/Makefile | 24 ++++++++++++------------ src/dis.c | 4 ++-- src/macdriver.c | 6 +++--- src/objects.xib | 6 +++--- src/xdriver.c | 6 +++--- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/Info.plist b/src/Info.plist index 43fed48..47860fd 100644 --- a/src/Info.plist +++ b/src/Info.plist @@ -41,9 +41,9 @@ CFBundleExecutable - GSPORTMAC + GSportMac CFBundleName - GSPORTMAC + GSportMac CFBundleIconFile kegsicon.icns CFBundleInfoDictionaryVersion @@ -51,13 +51,13 @@ CFBundlePackageType APPL CFBundleSignature - GSPORT + GSport CFBundleVersion 0.1 CFBundleShortVersionString - GSPORTMAC version 0.1 + GSportMac version 0.1 CFBundleGetInfoString - GSPORTMAC v0.1, Copyright 2010 GSport Contributors, http://gsport.sourceforge.net + GSportMac v0.1, Copyright 2010 GSport Contributors, http://gsport.sourceforge.net NSHumanReadableCopyright Copyright 2010 GSport Contributors diff --git a/src/Makefile b/src/Makefile index b53e763..af6a30b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -25,18 +25,18 @@ specials_clean: # Mac builds: gsportmac: $(OBJECTS) compile_time.o $(CC) $(CCOPTS) $(LDOPTS) -arch ppc $(OBJECTS) compile_time.o $(LDFLAGS) -o gsport $(EXTRA_LIBS) -prebind -framework Carbon -framework Quicktime - mkdir -p ../GSPORT.app/Contents/Resources/English.lproj/main.nib - mkdir -p ../GSPORT.app/Contents/MacOS - mv gsport ../GSPORT.app/Contents/MacOS/GSPORTMAC - echo "APPL????" > ../GSPORT.app/Contents/PkgInfo - cp -f Info.plist ../GSPORT.app/Contents/ - cp -f info.nib ../GSPORT.app/Contents/Resources/English.lproj/main.nib - cp -f classes.nib ../GSPORT.app/Contents/Resources/English.lproj/main.nib - cp -f objects.xib ../GSPORT.app/Contents/Resources/English.lproj/main.nib - cp -f kegsicon.icns ../GSPORT.app/Contents/Resources/ - cp -f 525.icns ../GSPORT.app/Contents/Resources/ - cp -f 2mg.icns ../GSPORT.app/Contents/Resources/ - touch '../GSPORT.app/Icon?' + mkdir -p ../GSport.app/Contents/Resources/English.lproj/main.nib + mkdir -p ../GSport.app/Contents/MacOS + mv gsport ../GSport.app/Contents/MacOS/GSportMac + echo "APPL????" > ../GSport.app/Contents/PkgInfo + cp -f Info.plist ../GSport.app/Contents/ + cp -f info.nib ../GSport.app/Contents/Resources/English.lproj/main.nib + cp -f classes.nib ../GSport.app/Contents/Resources/English.lproj/main.nib + cp -f objects.xib ../GSport.app/Contents/Resources/English.lproj/main.nib + cp -f kegsicon.icns ../GSport.app/Contents/Resources/ + cp -f 525.icns ../GSport.app/Contents/Resources/ + cp -f 2mg.icns ../GSport.app/Contents/Resources/ + touch '../GSport.app/Icon?' cp -f ../config.template ../config.txt # Linux for X builds: diff --git a/src/dis.c b/src/dis.c index 499bbaa..8ad99fa 100644 --- a/src/dis.c +++ b/src/dis.c @@ -106,7 +106,7 @@ get_num() void debugger_help() { - printf("KEGS Debugger help (courtesy Fredric Devernay\n"); + printf("GSport Debugger help (courtesy Fredric Devernay\n"); printf("General command syntax: [bank]/[address][command]\n"); printf("e.g. 'e1/0010B' to set a breakpoint at the interrupt jump pt\n"); printf("Enter all addresses using lower-case\n"); @@ -150,7 +150,7 @@ debugger_help() printf("[bank]/[addr1].[addr2]us[file] Save mem area to [file]\n"); printf("[bank]/[addr1].[addr2]ul[file] Load mem area from [file]\n"); printf("v Show video information\n"); - printf("q Exit Debugger (and KEGS)\n"); + printf("q Exit Debugger (and GSport)\n"); } void diff --git a/src/macdriver.c b/src/macdriver.c index d61909b..b41578d 100644 --- a/src/macdriver.c +++ b/src/macdriver.c @@ -136,7 +136,7 @@ printf(const char *fmt, ...) va_start(ap, fmt); if(g_debug_file_fd < 0) { - g_debug_file_fd = open("/tmp/kegs.out", + g_debug_file_fd = open("/tmp/GSport.out", O_CREAT | O_WRONLY | O_TRUNC, 0x1b6); fprintf(stdout, "g_debug_file_fd = %d, %d\n", g_debug_file_fd, errno); @@ -281,8 +281,8 @@ my_cmd_handler( EventHandlerCallRef handlerRef, EventRef event, void *userdata) break; case 'abou': show_simple_alert("GSportMac v", (char *)g_kegs_version_str, - ", Copyright 2004 Kent Dickey\n" - "Latest version at http://kegs.sourceforge.net/\n", 0); + ", Copyright 2010 GSport Contributors\n" + "Latest version at http://gsport.sourceforge.net/\n", 0); osresult = noErr; break; case 'KCFG': diff --git a/src/objects.xib b/src/objects.xib index aa104c0..f80dbc9 100644 --- a/src/objects.xib +++ b/src/objects.xib @@ -9,12 +9,12 @@ main - GSPORTMAC + GSportMac - GSPORTMAC + GSportMac - About GSPORTMAC + About GSportMac 0 abou diff --git a/src/xdriver.c b/src/xdriver.c index f812630..d4e6f8f 100644 --- a/src/xdriver.c +++ b/src/xdriver.c @@ -575,7 +575,7 @@ dev_video_init() g_installed_full_superhires_colormap = !g_needs_cmap; - myTextString[0] = "KEGS"; + myTextString[0] = "GSport"; XStringListToTextProperty(myTextString, 1, &my_winText); @@ -586,8 +586,8 @@ dev_video_init() my_winSizeHints.min_height = base_height; my_winSizeHints.max_width = BASE_WINDOW_WIDTH; my_winSizeHints.max_height = base_height; - my_winClassHint.res_name = "KEGS"; - my_winClassHint.res_class = "KEGS"; + my_winClassHint.res_name = "GSport"; + my_winClassHint.res_class = "GSport"; XSetWMProperties(g_display, g_a2_win, &my_winText, &my_winText, 0, 0, &my_winSizeHints, 0, &my_winClassHint);