Page 1 of 1

Compiling Xboard on Mac

PostPosted: 17 May 2019, 11:06
by PulsarMike
With regard to my post in Winboard General Topics on how to display typed text in XBoard, viewtopic.php?f=2&t=54390 I thought since it may be open longer i'd move any comments now here.

At the moment two things. Is there an exact web URL for where the Mac XBoard code is kept and the compile instructions and can it be posted when it's fixed in that repo?

The other is that i've placed a lower priority on this right now. I"m ok at the moment not seeing typed text when in ICS mode on FICS. I'd like to have a way over time to address it however if i want to or find the problem troubling enough.

thank you
Mike Adams

Re: Compiling Xboard on Mac

PostPosted: 18 Jun 2020, 11:40
by PulsarMike
any news on this? I remember on one post i got a place where the git repo was but i got there and there was a maze of git repos in long lists and could not find it.

Re: Compiling Xboard on Mac

PostPosted: 18 Jun 2020, 11:50
by PulsarMike
While I don't want to be the Xboard on mac developer, I may be able to contribute in the continual integration step of building Xboard on Mac with the current changes in the repo that are not related to the Mac UI. I"m also a registered developer and can code sign.

Re: Compiling Xboard on Mac

PostPosted: 23 Jun 2020, 13:52
by Josh Pettus
Hi Mike,

Sorry I don't regularly frequent this forum. I fear I no longer have a mac to play on. :( I didn't know HGM started development again.

That said code for the OSX version is already in the main source. The code changes when building the GTK for OSX make use of the quartz version of GTK2 and GTK2's OSX integration library. Also there is a build script built into the makefile to bundle everything into an .app and is triggered by "--with-osxapp." It makes use of the old dylibbuilder utility (which can be gotten on macports) to relink the dylib libraries from macports into the app bundle. You may want to take a look at that script to see what packages I used. I remember there was also the GTK2 maureen theme and probably a few other random dependencies.. The script is very rudimentary as I'm no programmer myself, but at least simple to understand. Honestly I have no idea how well everything from 5 years ago still translates to current OSX. I usually built on an old 10.6 VM that was on my macbook making use of GTK2's age for maximum compatibility, but that went with the macbook. :(

I'll pm you my email so I don't lose touch if you need any help.