diff -r 3170a7cd7858 -r 7afb1e598abd README --- a/README Sat Sep 21 18:37:24 2013 +0100 +++ b/README Sat Sep 21 23:47:52 2013 +0100 @@ -58,14 +58,29 @@ You will need the command line tools for any of the procedures described below. If you don't already have them, install Xcode (it's a free download). -The least intrusive means to build on a Mac is to use Homebrew. However, -Homebrew is not compatible with Fink so if you have previously used Fink -then you need an alternative solution, such as MacPorts (see below). +The simplest and least intrusive means to build on a Mac is to use Frau Sma's +Homebrew formula. However, Homebrew is not compatible with Fink so if you +have previously used Fink then you need an alternative solution, such as +MacPorts (see below). It may also be possible to use Fink itself. -Mac using Homebrew ------------------- +Mac using Frau Sma's Homebrew formula +------------------------------------- + +https://github.com/frau-sma/homebrew-bookloupe + +The README will be displayed by default. Follow its instructions to +install bookloupe on your Mac. + +Creating statically linked binaries on a Mac using Homebrew +----------------------------------------------------------- + +If you want to be able to distribute binaries of bookloupe to other Mac +users, then they need to be statically (rather than dynamically) linked. +Fundamentally this means that glib and its dependencies are included in +the binary rather than being linked into the program by the Operating +System each time it is run. http://mxcl.github.com/homebrew/ @@ -79,22 +94,8 @@ $ brew doctor -from your terminal. - -If you are building bookloupe for your own use, you can use dynamic linking -like this: - -$ brew install glib - -and then install bookloupe using: - -$ ./configure -$ make -$ make install - -If you want to build bookloupe for other people to use, you will probably -want to link staticly. To do this you need to edit the formula for glib -and each of its dependencies (gettext and libffi) using something like: +from your terminal. Then you need to edit the formula for glib and each of its +dependencies (gettext and libffi at the time of writing) using something like: $ brew edit gettext