Changeset 513 for AE/Installer/trunk/projects
- Timestamp:
- Apr 25, 2010, 2:23:40 PM (15 years ago)
- Location:
- AE/Installer/trunk/projects
- Files:
-
- 3 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/projects/README-Mac.txt
r386 r513 1 1 == Building the AE Installer for the Macintosh == 2 last updated June.06.20092 last updated April.25.2010 3 3 by Iritscen (iritscen@oni2.net) 4 4 5 5 Requirements: An Intel Macintosh computer, preferably with Mac OS X 10.5 or higher, and an administrator password. Mono must be installed to run the built product. 6 7 Note: At the moment, the project is still in flux. I am planning to eventually set up the project to build a Universal application, not an Intel-only one. However, such a project may still require an Intel Mac to build the Installer.8 6 9 7 1. Preparing to build the Installer. … … 24 22 1. mkdir build-dynamic-universal 25 23 2. cd build-dynamic-universal 26 3. ../configure --with-opengl --enable-universal_binary --with-macosx-version-min=10.3.9 --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin24 3. ../configure CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0 --with-opengl --enable-universal_binary --with-macosx-version-min=10.4 --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin 27 25 4. sudo make 28 26 After all above commands have finished, check in build-dynamic-universal/lib/ for files that start with "libwx_mac" to ensure the build was successful. … … 31 29 The libiconv project is at http://www.gnu.org/software/libiconv/. From the expanded folder's directory, use the commands: 32 30 1. mkdir build-static-universal 33 2. ./configure --enable-static --prefix= /Users/mloudon/Programming/Third-Party/Development/libiconv-1.13/build-static-universalCC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" CPP="gcc -E" CXXCPP="g++ -E"31 2. ./configure --enable-static --prefix=[full path to build-static-universal] CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" CPP="gcc -E" CXXCPP="g++ -E" 34 32 3. sudo make 35 33 4. make install … … 41 39 3. Building the Installer. 42 40 If you are able to use the included .xcodeproj file, then you will need to change the directory in which the build takes place. Get info on the project and change the settings "Per-configuration Build Products Path" and "Installation Directory" to point to the folders of your choosing. 43 Once built, Installer.app must be moved to the edition/install/ folder inside your Oni installation, alongside the packages/ folder and OniSplit.exe, in order to work. 41 The next thing you need to do before building is update the path strings in fix_dylibs.sh to reflect the locations of your project files and supporting libraries. 42 Once built, Installer.app must be moved to the Edition/install/ folder inside your Oni installation, alongside the packages/ folder and OniSplit.exe, in order to work. -
AE/Installer/trunk/projects/xcode/AE_Installer-GUI/AE Installer (GUI).xcodeproj/project.pbxproj
r386 r513 9 9 /* Begin PBXBuildFile section */ 10 10 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; 11 303936B310A260EA00501722 /* installer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 306C16690FD1EA10009C7CA3 /* installer.cpp */; }; 11 12 3057E8FB0FFC054B00299C97 /* libwx_base_carbon_net-2.8.0.6.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3057E8F00FFC054B00299C97 /* libwx_base_carbon_net-2.8.0.6.0.dylib */; }; 12 13 3057E8FC0FFC054B00299C97 /* libwx_base_carbon_xml-2.8.0.6.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3057E8F10FFC054B00299C97 /* libwx_base_carbon_xml-2.8.0.6.0.dylib */; }; … … 30 31 3057E95A0FFC505800299C97 /* libboost_system-xgcc40-mt-1_39.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3057E93E0FFC502600299C97 /* libboost_system-xgcc40-mt-1_39.dylib */; }; 31 32 3057EA2310017F9D00299C97 /* AE Button.icns in Resources */ = {isa = PBXBuildFile; fileRef = 3057EA2210017F9D00299C97 /* AE Button.icns */; }; 32 306C16710FD1EA10009C7CA3 /* about_window.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 306C16630FD1EA10009C7CA3 /* about_window.cpp */; };33 33 306C16720FD1EA10009C7CA3 /* app_resources.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 306C16650FD1EA10009C7CA3 /* app_resources.cpp */; }; 34 34 306C16730FD1EA10009C7CA3 /* fileopen.xpm in Resources */ = {isa = PBXBuildFile; fileRef = 306C16670FD1EA10009C7CA3 /* fileopen.xpm */; }; … … 39 39 308C556E0FEC412F00225AAD /* aeinstallerapp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 308C556C0FEC412F00225AAD /* aeinstallerapp.cpp */; }; 40 40 30C26B550FE08F1A003C85EA /* oni_special.ico in Resources */ = {isa = PBXBuildFile; fileRef = 30C26B540FE08F1A003C85EA /* oni_special.ico */; }; 41 30E66657100540F80040501B /* about.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 30E66655100540F70040501B /* about.cpp */; }; 41 42 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 42 43 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; … … 88 89 3057E9430FFC502600299C97 /* libboost_wserialization-xgcc40-mt-1_39.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libboost_wserialization-xgcc40-mt-1_39.dylib"; path = "../../../../../Third-Party/Development/boost_1_39_0/build-dynamic-universal/libboost_wserialization-xgcc40-mt-1_39.dylib"; sourceTree = SOURCE_ROOT; }; 89 90 3057EA2210017F9D00299C97 /* AE Button.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "AE Button.icns"; sourceTree = "<group>"; }; 90 306C16630FD1EA10009C7CA3 /* about_window.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 2; name = about_window.cpp; path = ../../../source/about_window.cpp; sourceTree = SOURCE_ROOT; }; 91 306C16640FD1EA10009C7CA3 /* about_window.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 2; name = about_window.h; path = ../../../source/about_window.h; sourceTree = SOURCE_ROOT; }; 91 305BF37810E907C20044A9B1 /* globals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = globals.h; path = ../../../source/globals.h; sourceTree = SOURCE_ROOT; }; 92 92 306C16650FD1EA10009C7CA3 /* app_resources.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 2; name = app_resources.cpp; path = ../../../source/app_resources.cpp; sourceTree = SOURCE_ROOT; }; 93 93 306C16660FD1EA10009C7CA3 /* app_resources.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 2; name = app_resources.h; path = ../../../source/app_resources.h; sourceTree = SOURCE_ROOT; }; … … 96 96 306C16690FD1EA10009C7CA3 /* installer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 2; name = installer.cpp; path = ../../../source/installer.cpp; sourceTree = SOURCE_ROOT; }; 97 97 306C166A0FD1EA10009C7CA3 /* installer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 2; name = installer.h; path = ../../../source/installer.h; sourceTree = SOURCE_ROOT; }; 98 306C166B0FD1EA10009C7CA3 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 2; name = main.cpp; path = ../../../source/main.cpp; sourceTree = SOURCE_ROOT; };99 306C166C0FD1EA10009C7CA3 /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 2; name = main.h; path = ../../../source/main.h; sourceTree = SOURCE_ROOT; };100 98 306C166D0FD1EA10009C7CA3 /* main_window.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 2; name = main_window.cpp; path = ../../../source/main_window.cpp; sourceTree = SOURCE_ROOT; }; 101 99 306C166E0FD1EA10009C7CA3 /* main_window.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 2; name = main_window.h; path = ../../../source/main_window.h; sourceTree = SOURCE_ROOT; }; … … 105 103 308C556D0FEC412F00225AAD /* aeinstallerapp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = aeinstallerapp.h; path = ../../../source/aeinstallerapp.h; sourceTree = SOURCE_ROOT; }; 106 104 30C26B540FE08F1A003C85EA /* oni_special.ico */ = {isa = PBXFileReference; lastKnownFileType = image.ico; name = oni_special.ico; path = ../../../source/oni_special.ico; sourceTree = SOURCE_ROOT; }; 105 30E66655100540F70040501B /* about.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = about.cpp; path = ../../../source/about.cpp; sourceTree = SOURCE_ROOT; }; 106 30E66656100540F70040501B /* about.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = about.h; path = ../../../source/about.h; sourceTree = SOURCE_ROOT; }; 107 107 32CA4F630368D1EE00C91783 /* AE Installer (GUI)_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "AE Installer (GUI)_Prefix.pch"; sourceTree = "<group>"; }; 108 108 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; … … 182 182 isa = PBXGroup; 183 183 children = ( 184 305BF37810E907C20044A9B1 /* globals.h */, 184 185 308C556C0FEC412F00225AAD /* aeinstallerapp.cpp */, 185 186 308C556D0FEC412F00225AAD /* aeinstallerapp.h */, 186 30 6C16630FD1EA10009C7CA3 /* about_window.cpp */,187 30 6C16640FD1EA10009C7CA3 /* about_window.h */,187 30E66655100540F70040501B /* about.cpp */, 188 30E66656100540F70040501B /* about.h */, 188 189 306C16650FD1EA10009C7CA3 /* app_resources.cpp */, 189 190 306C16660FD1EA10009C7CA3 /* app_resources.h */, 190 191 306C16690FD1EA10009C7CA3 /* installer.cpp */, 191 192 306C166A0FD1EA10009C7CA3 /* installer.h */, 192 306C166B0FD1EA10009C7CA3 /* main.cpp */,193 306C166C0FD1EA10009C7CA3 /* main.h */,194 193 306C166D0FD1EA10009C7CA3 /* main_window.cpp */, 195 194 306C166E0FD1EA10009C7CA3 /* main_window.h */, … … 330 329 runOnlyForDeploymentPostprocessing = 0; 331 330 shellPath = /bin/bash; 332 shellScript = "/Users/mloudon/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/fix_dylibs.sh";331 shellScript = "/Users/mloudon/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/fix_dylibs.sh"; 333 332 }; 334 333 /* End PBXShellScriptBuildPhase section */ … … 339 338 buildActionMask = 2147483647; 340 339 files = ( 341 306C16710FD1EA10009C7CA3 /* about_window.cpp in Sources */,342 340 306C16720FD1EA10009C7CA3 /* app_resources.cpp in Sources */, 343 341 306C16770FD1EA10009C7CA3 /* main_window.cpp in Sources */, 344 342 308C556E0FEC412F00225AAD /* aeinstallerapp.cpp in Sources */, 343 30E66657100540F80040501B /* about.cpp in Sources */, 344 303936B310A260EA00501722 /* installer.cpp in Sources */, 345 345 ); 346 346 runOnlyForDeploymentPostprocessing = 0; … … 405 405 GCC_PREFIX_HEADER = "AE Installer (GUI)_Prefix.pch"; 406 406 INFOPLIST_FILE = Info.plist; 407 INSTALL_PATH = "/Games/Oni-Test/ edition/install";407 INSTALL_PATH = "/Games/Oni-Test/Edition/install"; 408 408 LIBRARY_SEARCH_PATHS = ( 409 409 "$(inherited)", … … 432 432 buildSettings = { 433 433 ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 434 CONFIGURATION_BUILD_DIR = "/Games/Oni-Test/ edition/install";434 CONFIGURATION_BUILD_DIR = "/Games/Oni-Test/Edition/install"; 435 435 DEPLOYMENT_LOCATION = YES; 436 436 DSTROOT = /; … … 446 446 "\"/Users/mloudon/Programming/Third-Party/Development/boost_1_39_0\"", 447 447 ); 448 INSTALL_PATH = "/Games/Oni-Test/ edition/install";448 INSTALL_PATH = "/Games/Oni-Test/Edition/install"; 449 449 LD_RUNPATH_SEARCH_PATHS = ""; 450 450 MACH_O_TYPE = mh_execute; 451 451 MACOSX_DEPLOYMENT_TARGET = 10.3; 452 452 OTHER_CFLAGS = ( 453 "-I/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal /lib/wx/include/mac-ansi-release-2.8",453 "-I/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal-10.6/lib/wx/include/mac-ansi-release-2.8", 454 454 "-I/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/include", 455 455 "-I/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/contrib/include", … … 459 459 ); 460 460 OTHER_LDFLAGS = ( 461 "-L/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal /lib",461 "-L/Users/mloudon/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal-10.6/lib", 462 462 "-framework", 463 463 IOKit, -
AE/Installer/trunk/projects/xcode/AE_Installer-GUI/fix_dylibs.sh
r386 r513 9 9 APPNAME="Installer" 10 10 11 WXLIBDIR=~/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal /lib11 WXLIBDIR=~/Programming/Third-Party/Development/wxMac-2.8.10/build-dynamic-universal-10.6/lib 12 12 BOOSTLIBDIR=~/Programming/Third-Party/Development/boost_1_39_0/build-dynamic-universal 13 BINDIR=/Games/Oni-Test/ edition/install/$APPNAME.app/Contents/MacOS13 BINDIR=/Games/Oni-Test/Edition/install/$APPNAME.app/Contents/MacOS 14 14 SYSLIBDIR=/usr/local/lib 15 15 … … 18 18 cp -R $WXLIBDIR/$WXLIBNAME_ALL $BINDIR 19 19 20 for file in `cat ~/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt`20 for file in `cat ~/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt` 21 21 do 22 22 cp -R $BOOSTLIBDIR/$file$BOOST_SUFFIX $BINDIR … … 26 26 cp ~/Programming/Third-Party/Development/libiconv-1.13/build-static-universal/lib/libiconv.2.dylib $BINDIR 27 27 28 for file in `cat ~/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-wx.txt`28 for file in `cat ~/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-wx.txt` 29 29 do 30 30 echo "Patching " $file "..." 31 for fileother in `cat ~/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-wx.txt`31 for fileother in `cat ~/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-wx.txt` 32 32 do 33 33 # patch all library internal cross references … … 42 42 done 43 43 44 for file in `cat ~/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt`44 for file in `cat ~/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt` 45 45 do 46 46 echo "Patching " $file "..." 47 for fileother in `cat ~/Programming/ Pre-Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt`47 for fileother in `cat ~/Programming/Release/AE_Installer/projects/xcode/AE_Installer-GUI/libnames-boost.txt` 48 48 do 49 49 # patch all library internal cross references
Note:
See TracChangeset
for help on using the changeset viewer.