mirror of
https://github.com/david-schmidt/gsport.git
synced 2025-01-01 15:30:50 +00:00
Name updates, Mac cleanup
This commit is contained in:
parent
6198222ee8
commit
a674b579dd
@ -41,9 +41,9 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>GSPORTMAC</string>
|
||||
<string>GSportMac</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>GSPORTMAC</string>
|
||||
<string>GSportMac</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>kegsicon.icns</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
@ -51,13 +51,13 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>GSPORT</string>
|
||||
<string>GSport</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.1</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>GSPORTMAC version 0.1</string>
|
||||
<string>GSportMac version 0.1</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>GSPORTMAC v0.1, Copyright 2010 GSport Contributors, http://gsport.sourceforge.net</string>
|
||||
<string>GSportMac v0.1, Copyright 2010 GSport Contributors, http://gsport.sourceforge.net</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright 2010 GSport Contributors</string>
|
||||
</dict>
|
||||
|
24
src/Makefile
24
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:
|
||||
|
@ -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
|
||||
|
@ -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':
|
||||
|
@ -9,12 +9,12 @@
|
||||
<string name="title">main</string>
|
||||
<array count="3" name="items">
|
||||
<object class="IBCarbonMenuItem" id="185">
|
||||
<string name="title">GSPORTMAC</string>
|
||||
<string name="title">GSportMac</string>
|
||||
<object name="submenu" class="IBCarbonMenu" id="184">
|
||||
<string name="title">GSPORTMAC</string>
|
||||
<string name="title">GSportMac</string>
|
||||
<array count="3" name="items">
|
||||
<object class="IBCarbonMenuItem" id="187">
|
||||
<string name="title">About GSPORTMAC</string>
|
||||
<string name="title">About GSportMac</string>
|
||||
<int name="keyEquivalentModifier">0</int>
|
||||
<ostype name="command">abou</ostype>
|
||||
</object>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user