added instructions how to build deps with Homebrew
It's a bit dirty, but it works.
This commit is contained in:
parent
336910e6f6
commit
6f91721714
57
README
57
README
|
@ -93,33 +93,68 @@ Run on Mac:
|
||||||
|
|
||||||
Just double-click the SparkleShare.app.
|
Just double-click the SparkleShare.app.
|
||||||
|
|
||||||
|
|
||||||
Build on Mac:
|
Build on Mac:
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Install the Mono Framework, Monodevelop (plus the MonoMac plugin), and MacPorts.
|
Install the Mono Framework, MonoDevelop and the MonoMac plugin (you find it in Add-in Manager).
|
||||||
Install git, automake, and intltool:
|
|
||||||
|
|
||||||
$ sudo port install git-core automake intltool
|
You may need to adjust some environment variables to let the make tools find mono:
|
||||||
|
|
||||||
You may need to adjust some environment variables to find mono:
|
|
||||||
|
|
||||||
$ export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH
|
$ export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH
|
||||||
$ export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config
|
$ export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config
|
||||||
$ export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
|
$ export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
|
||||||
|
|
||||||
|
Then you need either MacPorts or Homebrew. Go on and choose one of the next two sections.
|
||||||
|
|
||||||
|
Using MacPorts
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Install git, automake, and intltool:
|
||||||
|
|
||||||
|
$ sudo port install git-core automake intltool
|
||||||
|
|
||||||
Start the first part of the build:
|
Start the first part of the build:
|
||||||
|
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
The last step will give you some errors in SparkleShare.exe, ignore these, you only
|
The last step will give you some errors in SparkleShare.exe, ignore these and go on to the
|
||||||
need the libraries to be compiled. Now open 'SparkleShare/Mac/SparkleShare.sln' in
|
MonoDevelop section.
|
||||||
|
|
||||||
|
Using Homebrew
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Because there are old versions of autoconf and automake installed on OS X,
|
||||||
|
they are not in the official master branch. It's easy to create the formulas.
|
||||||
|
Just do a 'brew create $url' and then install them.
|
||||||
|
You can have a look at this branch where I created the Formulas:
|
||||||
|
https://github.com/toabi/homebrew/commits/sparkleshare
|
||||||
|
|
||||||
|
You also have to comment out the 'keg_only' in gettext and remove it if you already
|
||||||
|
installed it.
|
||||||
|
|
||||||
|
If you created the formulas install them:
|
||||||
|
|
||||||
|
$ brew install git autoconf automake intltool gettext
|
||||||
|
|
||||||
|
Now start the first part of the build:
|
||||||
|
|
||||||
|
$ export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"
|
||||||
|
$ cd SmartIrc4net
|
||||||
|
$ ./autogen.sh
|
||||||
|
$ cd ..
|
||||||
|
$ ./autogen.sh
|
||||||
|
$ make
|
||||||
|
|
||||||
|
Ignore the error and continue to the MonoDevelop-part.
|
||||||
|
|
||||||
|
Building the real thing in MonoDevelop
|
||||||
|
--------------------------------------
|
||||||
|
|
||||||
|
You now have compiled the libraries. Now open 'SparkleShare/Mac/SparkleShare.sln' in
|
||||||
MonoDevelop and start the build.
|
MonoDevelop and start the build.
|
||||||
|
|
||||||
To create the SparkleShare.app, select Project from the menu bar and
|
To create the SparkleShare.app, select Project from the menu bar and click "Create Mac Installer..."
|
||||||
click "Create Mac Installer..."
|
|
||||||
|
|
||||||
|
|
||||||
Info
|
Info
|
||||||
====
|
====
|
||||||
|
|
Loading…
Reference in a new issue