What is needed for a proper Mac support - Page 4

What is needed for a proper Mac support

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: What is needed for a proper Mac support

Post by lamer »

Uh oh, as i said earlier my tests were not clean. I still have proper libraries in /opt/local, thus i didn't encounter such problem when tested your bundle.
You can try omit stripping (for testing purpose), but i have no idea what errors you are talking about.
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: What is needed for a proper Mac support

Post by darklord42 »

Well the strip is part of the relinking process, if that fails there is no bundle
Thankfully the script got far enough to give me a clue.

After a bit of thinking, I came up with a solution. A little messy but works. And libunitsync.dylib is now bundled

Here is a new package
http://www.mediafire.com/download/528bg ... esting.dmg
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: What is needed for a proper Mac support

Post by lamer »

About springlobby

Code: Select all

[Spring/Paths]
[Spring/Paths/98.0.1-284-gae0a419\ develop]
SpringBinPath=/Applications/Spring.app/Contents/MacOS/spring
UnitSyncPath=/Applications/Spring.app/Contents/MacOS/libunitsync.dylib
SpringBundlePath=/Applications/Spring.app/Contents/MacOS
There is a workaround for unitsync search issue: https://github.com/springlobby/springlobby/pull/322
But its a bit dirty and sits there just for reference.
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: What is needed for a proper Mac support

Post by darklord42 »

Well, it's a start :)
moobyfr
Posts: 6
Joined: 24 Dec 2013, 12:25

Re: What is needed for a proper Mac support

Post by moobyfr »

As I'm tired of the ingame community, I won't give more time to help the spring developement nor I'll provide a buildbot for the OSX port.

Emmanuel
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: What is needed for a proper Mac support

Post by abma »

t nor I'll provide a buildbot for the OSX port.
when did you provide a buildbot for the OSX port? i missed this part... :-|
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: What is needed for a proper Mac support

Post by darklord42 »

Well I can't exactly fix the script, I know where it's failing but I have no idea how to write it so it can properly re-bundle the libraries by itself. (I'm just not knowledgeable enough)

But I'm more then happy to compile springlobby and spring for as long as I can, and bundle it. I wrote a simple script for my own use that makes it very simple to do, and uses dylibbundler to do the job that the buildbot fails at.
Post Reply

Return to “Mac OS X”