07 December 2013, 02:14 | #1 |
Posts: n/a
|
Building dev versions on OS X -- creating Launcher.app & how to link to FSUAE.app
I've managed to get FSUAE.app built on OS X.
It was a bit of an adventure because I don't use Mac Ports and don't trust Fink to stick around in its current form to keep fsuae running. I'm on os x 10.8.5; and maybe I could have built things using X Code UI but there's no instructions for fsuae for that, and I'm not familiar with X Code's UI at all. So I tried to get the command line build going. This meant that a number of things for which Frameworks are already installed couldn't be used for building. Ultimately I built and installed, from source tarballs, the following tools in order, to /usr/local
Code:
cp libfs-capsimage-4.2/CAPSImage/libfs-capsimage.dylib fs-uae-2.3.11dev Code:
cd fs-uae-2.3.11dev/macosx; make However I don't know realistically how to try it out. All the configurations I've made so far have been via the launcher app. That comes with instructions to run python setup; but i don't really want to install the launcher into the system site-packages, and I'm not too familiar with the details of python setup. Nor do I believe it will create a launcher app. So the question 1 is: is there an established method of building the launcher as an app? Question 2 is: how does the launcher decide how to find the fs uae app? I have two at this point (the 2.2.3 release and the one I just built), but I don't know how to tell the launcher to use one or the other. |
07 December 2013, 11:14 | #2 | |||
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
Quote:
Quote:
FS-UAE Launcher.app/Contents/FS-UAE.app (They can instead just be placed alongside each other if you like that better) |
|||
07 December 2013, 14:24 | #3 | |
Posts: n/a
|
Quote:
In any event I can certainly satisfy either one. Now I encounter another problem: Code:
running py2app error: argv-emulation is not supported for 64-bit executables make: *** [launcher] Error 1 Yes; as per https://wiki.python.org/moin/MacPython/py2app , I requested my system python to fetch an updated py2app like so: Code:
easy_install-2.7 -U py2app But the FS-UAE Launcher.app exits with code 255. Oh dear. So running the internal command manually we can see it's a python exception: Code:
jrodman@50-0-83-49:~/var/dock_app_ext/games/emu/fs-uae-2.3.11dev> FS-UAE\ Launcher.app/Contents/MacOS/FS-UAE\ Launcher Traceback (most recent call last): File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fsgs/Archive.py", line 15, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/lhafile/__init__.py", line 2, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/lhafile/lhafile.py", line 45, in <module> ImportError: No module named lzhlib LhaFile module import problem checking /Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/MacOS/Portable.ini checking /Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Portable.ini checking /Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Portable.ini checking /Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/Portable.ini checking /Users/jrodman/var/dock_app_ext/games/emu/Portable.ini checking /Users/jrodman/var/dock_app_ext/games/Portable.ini checking /Users/jrodman/var/dock_app_ext/Portable.ini checking /Users/jrodman/var/Portable.ini checking /Users/jrodman/Portable.ini checking /Users/Portable.ini checking /Portable.ini no Portable.ini found in search path base_dir not decided yet, checking FS_UAE_BASE_DIR using default base_dir - checking /Users/jrodman/Library/Preferences/fs-uae-launcher/base-dir - checking /Users/jrodman/Library/Preferences/fs-uae/base-dir base dir is /Users/jrodman/Documents/FS-UAE fs-uae-launcher 2.3.11dev devel enabling except hook enable tread exception handler ('Darwin', '50-0-83-49.dsl.static.sonic.net', '12.5.0', 'Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64', 'x86_64', 'i386') [u'/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/fs-uae-launcher'] FS-UAE Launcher 2.3.11dev Unhandled exception detected in thread MainThread: ImportError:__init__.py:<module>:17 Traceback (most recent call last): File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/__boot__.py", line 338, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/__boot__.py", line 333, in _run File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/fs-uae-launcher", line 71, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fs_uae_launcher/FSUAELauncher.py", line 21, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fsui/__init__.py", line 24, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fsui/qt/__init__.py", line 17, in <module> ImportError: No module named PySide.QtCore Unhandled exception detected in thread MainThread: ImportError:__init__.py:<module>:17 Traceback (most recent call last): File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/__boot__.py", line 338, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/__boot__.py", line 333, in _run File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/fs-uae-launcher", line 71, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fs_uae_launcher/FSUAELauncher.py", line 21, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fsui/__init__.py", line 24, in <module> File "/Users/jrodman/var/dock_app_ext/games/emu/fs-uae-2.3.11dev/FS-UAE Launcher.app/Contents/Resources/lib/python2.7/fsui/qt/__init__.py", line 17, in <module> ImportError: No module named PySide.QtCore 2013-12-07 05:34:12.812 FS-UAE Launcher[35316:707] FS-UAE Launcher Error Last edited by jrodman; 07 December 2013 at 14:37. |
|
07 December 2013, 14:33 | #4 | ||
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
Quote:
|
||
07 December 2013, 14:52 | #5 | ||
Posts: n/a
|
Quote:
Quote:
But in any event for FS-UAE launcher, I've moved on to installing QT 4.7 + PySide which seems to be the project-maintained wrappers. As far as I can tell (I haven't worked with Qt much) osx 10.8 doesn't ship with Qt installed, although I seem to have a variety of apps with bundled versions. So I'm currently downloading both of those. |
||
07 December 2013, 19:53 | #6 |
Posts: n/a
|
OK, with QT 4.7 + PySide from http://qt-project.org/wiki/PySide , the launcher is now running!
Only one little problem, in FS-UAE.app the F12 menu seems to be empty of all widgets and controls. Is it still being constructed or did I somehow fail to give freetype2 what it needs, etc? |
07 December 2013, 20:24 | #7 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What App Do I Need | chrispy | support.Apps | 8 | 18 September 2010 12:31 |
Scrolling windows app | Foul | project.ClassicWB | 1 | 30 March 2010 08:55 |
app name from icon | frsoldier | request.Other | 5 | 06 October 2008 08:33 |
Help...App Id | theledge | support.Apps | 4 | 18 September 2006 08:25 |
An app from tosec 0.23 | amiga | request.Apps | 2 | 30 May 2006 09:52 |
|
|