README
changeset 143 5926b21bcb38
parent 93 3170a7cd7858
     1.1 --- a/README	Sat Sep 21 18:37:24 2013 +0100
     1.2 +++ b/README	Wed Oct 02 23:53:32 2013 +0100
     1.3 @@ -58,14 +58,29 @@
     1.4  You will need the command line tools for any of the procedures described
     1.5  below. If you don't already have them, install Xcode (it's a free download).
     1.6  
     1.7 -The least intrusive means to build on a Mac is to use Homebrew. However,
     1.8 -Homebrew is not compatible with Fink so if you have previously used Fink
     1.9 -then you need an alternative solution, such as MacPorts (see below).
    1.10 +The simplest and least intrusive means to build on a Mac is to use Frau Sma's
    1.11 +Homebrew formula. However, Homebrew is not compatible with Fink so if you
    1.12 +have previously used Fink then you need an alternative solution, such as
    1.13 +MacPorts (see below).
    1.14  
    1.15  It may also be possible to use Fink itself.
    1.16  
    1.17 -Mac using Homebrew
    1.18 -------------------
    1.19 +Mac using Frau Sma's Homebrew formula
    1.20 +-------------------------------------
    1.21 +
    1.22 +https://github.com/frau-sma/homebrew-bookloupe
    1.23 +
    1.24 +The README will be displayed by default. Follow its instructions to
    1.25 +install bookloupe on your Mac.
    1.26 +
    1.27 +Creating statically linked binaries on a Mac using Homebrew
    1.28 +-----------------------------------------------------------
    1.29 +
    1.30 +If you want to be able to distribute binaries of bookloupe to other Mac
    1.31 +users, then they need to be statically (rather than dynamically) linked.
    1.32 +Fundamentally this means that glib and its dependencies are included in
    1.33 +the binary rather than being linked into the program by the Operating
    1.34 +System each time it is run.
    1.35  
    1.36  http://mxcl.github.com/homebrew/
    1.37  
    1.38 @@ -79,22 +94,8 @@
    1.39  
    1.40  $ brew doctor
    1.41  
    1.42 -from your terminal.
    1.43 -
    1.44 -If you are building bookloupe for your own use, you can use dynamic linking
    1.45 -like this:
    1.46 -
    1.47 -$ brew install glib
    1.48 -
    1.49 -and then install bookloupe using:
    1.50 -
    1.51 -$ ./configure
    1.52 -$ make
    1.53 -$ make install
    1.54 -
    1.55 -If you want to build bookloupe for other people to use, you will probably
    1.56 -want to link staticly. To do this you need to edit the formula for glib
    1.57 -and each of its dependencies (gettext and libffi) using something like:
    1.58 +from your terminal. Then you need to edit the formula for glib and each of its
    1.59 +dependencies (gettext and libffi at the time of writing) using something like:
    1.60  
    1.61  $ brew edit gettext
    1.62