This should be a quick howto for building growl 2.1.1 from source on Mountain Lion. (it was a real longer list, but tumblr ate my drafts, because they don’t autosave… meh, good for you, it’s shorter, and better sorted, I guess)
Required time: Download, installs, configuration and build should be done in less than an hour, depending on your connection speed.
Skills: medium (Terminal usage, clipboard)
You need to have an apple ID and a developer account and do NOT download anything from the app store. You do not want to create an apple-ID/developer account? Fine. Below you’ll find an alternate source from github but the two Xcode tools must be downloaded from the apple sites.
1a. download the following (external):
- Latest Xcode 4.6.x, (5.x versions will NOT work)
- Command Line Tools for Xcode (April 2013)
- Auxiliary Tools for Xcode* (Late July 2012) alternate download available – read later
- Git, latest release, forget about the GUIs
- Mercurial, latest
- SVN sources, latest
1b: My github, but I won’t update versions, since I don’t have the time to test them each time a new one gets released. When you’re not version-manic, get the ones that are known to work. If you already use git, just
git clone clone https://github.com/erdnuesse/build-tools.git
If you don’t use git, choose the zip download option here: github project page. No worries, git is still included.
CHECK the files for VIRUSES and MD5, since I don’t know about the security on github/filedropper/share4web.
The corresponding command in terminal is (run inside your downloads folder)
If your downloads folder has too many files, just replace the * with each downloaded filename. To make it easier, remember, <TAB> completes the filenames of the folder you’re in.
The results should be:
MD5 (build-tools-master.zip) = 2fd4e4268a77ca87f2307979793ecba6
Single files inside the archive:
MD5 (Mercurial-2.7.1-py2.7-macosx10.8.zip) = 75309c856349a0ea1125521e59bdf119
MD5 (README.md) = 77fa89b85c30851aaf4b70fed56c86a3
MD5 (git-126.96.36.199-intel-universal-snow-leopard.dmg) = 946c23e4906d942d9b994ceb886e1066
MD5 (subversion-1.8.3.tar.bz2) = 7d7bd97347a4491e1ffb529563ce2e9e
MD5 (xcode44auxtools6938114a.dmg) = b8f28bb4f631d21ebd10fc0f30ca6161
The two remaining from apple:
MD5 (xcode4630916281a.dmg) = c5088782d9742314835af1c3ba3fe8e7MD5 (xcode462_cltools_10_86938259a.dmg) = 90c5db99a589c269efa542ff0272fc28
2. Install the prerequisites (except svn, which gets compiled from source)
- Install Xcode
- Install Mercurial
- Install Git
- Install the command line tools for Xcode
- decompress the SVN sources
3. Configure your system
Open the Auxiliary Tools dmg, and run the following command in Terminal:
sudo cp /Volumes/Auxiliary Tools/PackageMaker.app/Contents/MacOS/PackageMaker /usr/bin/
You now no longer need the auxtools dmg.
Install SVN; run inside the SVN source directory:
4. Now, Growl itself:
Run the following to get the growl sources:
hg clone https://code.google.com/p/growl/
Now we want to know what we got:
hg tags | sort
hg tags | sort | grep Growl.app
hg update "Growl.app 2.1.1"
VERSION=2.1.1 rake setup
VERSION=2.1.1 rake build:growl
Name: 3rd Party Mac Developer Application: The Growl Project, LLC
Identity Type: Self Signed Root
Certificate Type: Code Signing
Please, when I missed something, or helped you, please comment. Thank you.