Use gtk-mac-integration so app bundle can be created on OS X
commit18d517bd95ea29cb04e7652631c56a0376e6f098
authorJiří Techet <techet@gmail.com>
Tue, 3 Feb 2015 23:27:34 +0000 (4 00:27 +0100)
committerJiří Techet <techet@gmail.com>
Wed, 4 Mar 2015 11:40:27 +0000 (4 12:40 +0100)
tree5d8c9313b3548a60a26b569a2cfe021cd2645a56
parent87af9597fc66dc87e7a5aea21d9dec91f6d4b684
Use gtk-mac-integration so app bundle can be created on OS X

This patch adds the gtk-mac-integration library and uses it to
adjust various paths in Geany to point it inside the app bundle
if Geany runs from inside the bundle.

It adds the utils_resource_dir() utility function to return
correct directories for various kinds of resources for all supported
operating systems. Using this function the patch adjusts all Geany
resource, plugin, icon, doc, and locale paths.
configure.ac
m4/geany-mac-integration.m4 [new file with mode: 0644]
src/Makefile.am
src/main.c
src/osx.h [new file with mode: 0644]
src/plugins.c
src/utils.c
src/utils.h
wscript