Hi guys,
This weekend I've spent some time trying to build and bundle Geany for Mac OSX and have made some nice progress. I used latest gtk-osx-build-setup.sh and jhbuild and successfully built GTK+, Geany (from git master) & some extra plugins. (I had some hiccups at compiling GTK+ but luckily a work-around has been found.)
When it comes to bundle the Mac app, the scripts that Matthew published on github were of great help. Guess what, Copy & Patse shortcuts are corrected to Cmd-C, Cmd-V and works nicely. However, not all files in Mathew's osx repo are needed and some make files doesn't work with latest gtk-mac-bundler (maybe I quit too early) so I have created a new repo with updated scripts & bundle files. The instructions are mostly copied from Mathew's with some of my edits. (But I plan to write more details from what I've learned)
The new repo I've created here: https://github.com/trongthanh/geany-osx-essentials Besides, I have uploaded the bundle .app to the downloads sections so anyone can try on their Mac. Note that I'm building this with XCode 4.5 so the app require Mac OSX 10.7+
Next step is to enhance the bundled GTK theme to match modern Mac interface and fix the known issues. Honestly I'm a total noob with this stuff and sometimes I have no idea what I'm doing :D Any collaboration and contributions are appreciated.
Cheers, Thanh Tran - int3ractive.com-
On 17 Oct, 2012, at 12:22 PM, Trong Thanh trongthanh@gmail.com wrote:
Hi,
I'm also interested in using Geany on Mac OSX, and would like to help and/or contribute to create a workable bundle for Mac OSX.
I've downloaded the builds that you guys shared in last discussion[1] but don't like them because of out-dated version and poor OS integration.
I have tried to build latest Geany on Mountain Lion but faced an GTK+ build issue with Xcode 4 / SDK 10.7 [2]. They says that I have to download Xcode 3.2.5 in order to build GTK+ on Mac OSX 10.8 but I have delayed to do so due to lack of free time and the complicated process. I will try to build Geany again.
Please let me know what I can help.
Links: [1] http://thread.gmane.org/gmane.editors.geany.general/6930/focus=6931 [2] https://live.gnome.org/GTK+/OSX/Building#XCode4
Regards, Trần, Trọng Thanh
- int3ractive.com -
On Wed, Oct 17, 2012 at 9:42 AM, Matthew Brush mbrush@codebrainz.ca wrote: On 12-10-16 03:33 PM, Sean Felipe Wolfe wrote: Anybody using Geany on OSX lately?
I chimed in a few months ago ... my problem then was that Paste wasn't working, at least in my version. Matthew Brush had a working version but it wasn't readily available.
So ... I'm getting back into some python coding on osx and I'd love to use Geany, make some contributions to the project. Anbody doin it on osx?
I updated that branch I was talking about before with Geany's master branch and pushed it here:
https://github.com/codebrainz/geany/tree/wip/gtk-osx
I think the last commit in that branch is a dump of a bunch of unrelated changes and needs to be cleaned/split up properly.
You'll definitively want to read the README file in the "osx" directory and to allocate some spare time and patience before trying to get everything setup for GTK+/OSX building (if you don't already have jhbuild and stuff setup). It's incredibly painful, be warned, but once everything's all setup, it takes like 2 minutes to compile Geany and make the app bundle and it's easy to hack on and fix from there.
IIRC the main blockers were 1) some libraries might not be in bundle so on a not my computer it won't run (maybe it was libiconv or some such) and 2) there was a bug somewhere in Scintilla or Cairo that caused sometimes certain characters to completely crash down the app, losing any unsaved changes. The first one could be solved by people testing and reporting which libraries are missing (since they are fine on my dev computer and OSX version). The second one might already be fixed in newer Scintilla or Cairo versions or would require tracking down the actual problem.
If anyone feels like testing but not doing all the compiling and stuff, let me know and I can keep rebuilding the bundle here as we find out problems and put update it online somewhere.
Cheers, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users