[Scummvm-cvs-logs] SF.net SVN: scummvm: [28632] tools/branches/gsoc2007-toolsgui

lightcast at users.sourceforge.net lightcast at users.sourceforge.net
Thu Aug 16 08:08:17 CEST 2007


Revision: 28632
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28632&view=rev
Author:   lightcast
Date:     2007-08-15 23:08:17 -0700 (Wed, 15 Aug 2007)

Log Message:
-----------
Initial support for building an OSX bundle.  It is completely untested and may not work correctly.

Modified Paths:
--------------
    tools/branches/gsoc2007-toolsgui/Makefile

Added Paths:
-----------
    tools/branches/gsoc2007-toolsgui/dist/macosx/
    tools/branches/gsoc2007-toolsgui/dist/macosx/Info.plist

Modified: tools/branches/gsoc2007-toolsgui/Makefile
===================================================================
--- tools/branches/gsoc2007-toolsgui/Makefile	2007-08-16 06:05:08 UTC (rev 28631)
+++ tools/branches/gsoc2007-toolsgui/Makefile	2007-08-16 06:08:17 UTC (rev 28632)
@@ -51,6 +51,17 @@
 
 all: $(TARGETS)
 
+bundle_name = ScummVM\ Tools GUI.app
+bundle: $(TARGETS)
+	mkdir -p $(bundle_name)
+	mkdir -p $(bundle_name)/Contents
+	mkdir -p $(bundle_name)/Contents/MacOS
+	mkdir -p $(bundle_name)/Contents/Resources
+	echo "APPL????" > $(bundle_name)/Contents/PkgInfo
+	cp $(SRC)/dists/macosx/Info.plist $(bundle_name)/Contents/
+	cp $(TARGETS) $(bundle_name)/Contents/Resources/
+	mv $(bundle_name)/Contents/Resources/tools_gui $(bundle_name)/Contents/MacOS/
+
 compress_agos$(EXEEXT): compress_agos.o compress.o util.o
 	$(CC) $(LDFLAGS) -o $@ $+ -lvorbis -logg -lvorbisenc -lFLAC
 
@@ -161,7 +172,7 @@
 
 
 tools_gui.o: tools_gui.cpp tools_gui.h
-	$(CXX) $(CFLAGS) $(CPPFLAGS) `wx-config --cppflags` -c tools_gui.cpp -o tools_gui.o
+	$(CXX) $(CFLAGS) $(CPPFLAGS) `wx-config --cxxflags` -c tools_gui.cpp -o tools_gui.o
 
 .cpp.o:
 	$(CXX) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o

Added: tools/branches/gsoc2007-toolsgui/dist/macosx/Info.plist
===================================================================
--- tools/branches/gsoc2007-toolsgui/dist/macosx/Info.plist	                        (rev 0)
+++ tools/branches/gsoc2007-toolsgui/dist/macosx/Info.plist	2007-08-16 06:08:17 UTC (rev 28632)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDisplayName</key>
+	<string>ScummVM Tools</string>
+	<key>CFBundleExecutable</key>
+	<string>tools_gui</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.ScummVM.ToolsGui</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>ScummVM Tools</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>0.1.0</string>
+	<key>CFBundleSignature</key>
+	<string>SVTG</string>
+	<key>CFBundleVersion</key>
+	<string>0.1.0</string>
+	<key>LSHasLocalizedDisplayName</key>
+	<false/>
+	<key>NSAppleScriptEnabled</key>
+	<false/>
+	<key>NSHumanReadableCopyright</key>
+	<string>Copyright 2001-2007 The ScummVM team</string>
+</plist>
\ No newline at end of file


Property changes on: tools/branches/gsoc2007-toolsgui/dist/macosx/Info.plist
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Date Rev Author URL Id
Name: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list