Re: [hatari-devel] Test needed to build OSX version

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 23/06/13 19:10, Bob Carpenter a écrit :
You have to change the Xcode project in order to replace the SDL pop-ups with the OS X dialogs. You have to add an ALERT_FLAGS parameter to make that happen. I would have to look at my old Xcode project to remember where it goes and the exact syntax. My compilation of the most recent code just shows the SDL pop-ups.  I do not have time prior to my holiday to make the Xcode project changes to show the OS X dialogs along with embedding the SDL framework and EmuTOS into the application bundle.
You need to define somewhere ALERT_HOOKS=1 to have all the MacOSX GUI OK (with translation in cocoa style alert box). CMAKE system does'nt set this.



At some point, I would like to see a separate OS X compiling tips section added to the manual. I had to get help from Jerome on getting those alerts to appear. I also had to do a Google search to learn how to embed the SDL framework.

You simply have to add a "Copy Files Build Phase" wich will copy SDL.framework into the Frameworks folder of the App. I also used a libpng.framework of my own build. I also have a libzip.framework.


My XCode project is'nt perfect (need to run first ./configure and make on command line to have a good build). For exemple, each separate part of Hatari can be converted into a Framework, as for CMAKE wich will produce libfloppy.a, libGuiSDL.a, etc.

Jerome

Bob C

On Sunday, June 23, 2013, Troed Sångberg wrote:
There's one change between the 1.7 beta I downloaded from someone else and the one I compiled just now though, maybe Bob can verify if it's the same for him as well. When I quit Hatari (close window or quit in terminal) the popup dialog is SDL in the one I compiled and a regular Mac OS X dialog in the one I downloaded.

Just an observation, not really an issue I assume.

/Troed



On Sun, Jun 23, 2013 at 4:48 PM, Bob Carpenter <bcripon89@xxxxxxxxx> wrote:
Troed,

Thanks for the secondary confirmation. Hopefully, 1.7 will be released very soon. 

Bob C


On Sunday, June 23, 2013, Troed Sångberg wrote:
On Sun, Jun 23, 2013 at 2:42 PM, Bob Carpenter <bcripon89@xxxxxxxxx> wrote:
Nicolas,

I just compiled Hatari with the updated English and French lproj directories. Hatari does compile and I see the Info.plist file inside the bundle. I would say you could update these directories and the OS X version will compile.


... and secondary verification from me. I replace the lproj directories with the files Jerome sent and I have the Mac menus now. The installed application bundle contains both the xib and nib-files as well as Info.plist.

Many thanks!

/Troed




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/