HACKING.OSX

Sat, 26 Jan 2019 11:20:48 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 26 Jan 2019 11:20:48 -0600
branch
develop
changeset 1315
f1511cc83ae5
parent 1003
c7cd2fceb281
child 1358
e83ba902ad4a
permissions
-rw-r--r--

Merging

There are a few notes about building on OSX.

First off, building has *ONLY* been tested against homebrew.  If you want to
support fink or macports, please let me know and I will merge your pull
request.

Lua
===

For the Lua loader to work, you need to install lgi from luarocks either
systemwide or to a virtual environment created by LuaDist, vert, or something
along those lines.

When you're building lgi against homebrew you'll have to set the
PKG_CONFIG_PATH environment variable since homebrew does not install libffi
systemwide.  This is easily done via:

	export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig

and then running "luarocks install lgi"

PYTHON
======

If you're using homebrew, you need to install pygobject3 with

    brew install pygobject3 --with-python3

mercurial