Growl 2 1 3

broken image


Call of Duty 4: Modern Warfare 1.7.1 Call of Duty 4: Modern Warfare; Safari 7.0.4 Safari offers you a superior Web experience. SugarSync 1.9.81 All your digital stuff is safe! JDownloader 2.0 jDownloader is a file downloader; VLC Media Player 3.0.12 Highly portable multimedia player. If you are still using Skype 2.8 and switched to Growl 1.3, you need to update the Growl framework that Skype uses. Go to the Growl download page and get the Growl SDK (1.2.2 does work, at the moment there is no 1.3 version). Open the downloaded dmg and change to the Frameworks folder.

What's that? You want to install Growl latest (2.1.3) without shelling out $4.99? I hear ya. Fortunately, Growl is open sourced under the bsd-license, which includes binary redistribution. I went ahead and put together Growl-2.1.3 and GrowlNotify-2.1.3 in a binary bundle below. I also document my patch process with compiling Growl-2.1.3 on unsupported XCode 5, complete with full bash install script.

First things first, I am not responsible for ANYTHING that happens to your computer. This is an experiment. I'm willing to run it on my computer and, it's your decision if you are as well. Don't trust me? Well, go ahead and compile yourself for all I care! I detail the instructions below with a full installation script!

Goodies

Now, For the kiddies and lazy people (that's most of you, right?): Growl2.1.3-Mavericks Binary With GrowlNotify! Sounds too good to be true, well most people say that about me!

Manual Compile/Install

Software Prerequisites

I'm not sure. Because I run on a development system, I satisfy most dependencies out of the box. Things just worked for me, but I know you'll need rake (Ruby Make) and XCode for starters. My rake is version 0.9.6, probs outdated.

You will likely need Auxiliary tools for Xcode. I tried only and was successfuly with the Late July 2012 version. The 2013 will not work, it does not have PackageMaker.app, which is what we need from it. Get Late July 2012 from https://developer.apple.com/downloads/index.action — you need an Apple ID for this or create one on the spot. After you open the DMG/download, move the PackageMaker.app into /Applications. If you neglect to install PackageMaker.app, you will get an error when you compile Growl like the following:

Create Self Signed Certificate

Open the Keychain Access.app, go to Keychain Access menu then go to ‘Certificate Assistant' and finally click on ‘Create a Certificate…'.

Here are the details –
Name: 3rd Party Mac Developer Application: The Growl Project, LLC
Identity Type: Self Signed Root
Certificate Type: Code Signing

Above tips are from http://www.nyayapati.com/srao/2013/03/how-to-build-growl-2-0-1-from-source-on-mountain-lion-10-8-2/

growl_patch.sh

You can run the script without any arguments to get usage info, but I would just do:

The build will appear to FAIL. But that's alright, it's only because of the Code-Signing that we don't care about anyways:

That's OK, the app still compiled, it just isn't signed, whatever. I think that's only for submitting to App store anyways. Capture one pro 8 3 4 download free. So we are good to go :)

Old 'Update'

Below are notes from when I started this adventure.

Below I manually patched a lot of files with some Warning Flags. I thought 'man, couldnt I just pass this stuff globally into the 'make' process?

At first, I saw this great post for adding flags to an xcodebuild command, including preserving the previous contents of the flag. Great, but it wasn't working :(. I tried everything from OTHER_CFLAGS to OTHER_MFLAGS, WARNING_FLAGS, and I tried CXX_FLAGS and the OBJC variant (not the CXX one tho). ie WARNING_CFLAGS='-Wunused-property-ivar -Wundeclared-selector ${inherited}'. Funny enough, the warning flags were showing up on the compiler execution but it wasn't actually stopping the errors from halting the build. So, after that crap, I got fed up, and found my secret sauce:

Growl 2 1 300

BINGO. Then, no file patching for warnings is necessary, save for the Garbage Collection patches and the toolchain version mismatch patch.

Growl 2 1 3

Growl 2.1.3

  • Compiled Growl 2.1.3 for my Mavericks.
    • hg clone https://code.google.com/p/growl/
    • hg update tip
    • VERSION=2.1.3 rake setup
    • VERSION=2.1.3 rake build:growl
    • many files had to be patched with either of the following at the top (.m files)
      • Core/Source/GrowlTicketDatabase.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Core/Source/GrowlDisplaysViewController.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Core/Source/GrowlApplicationController.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Core/Source/GrowlPreferencesController.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Displays/WebKit/GrowlWebKitWindowController.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Displays/WebKit/GrowlWebKitWindowView.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Actions/MailMe/MailMe/GrowlMailMePreferencePane.m
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
      • Plugins/Actions/SoundAction/SoundAction/GrowlSoundActionPreferencePane.h
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
          #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Actions/SoundAction/SoundAction/GrowlSoundActionPreferencePane.h
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
          #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Displays/MusicVideo/GrowlMusicVideoPrefs.m
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
      • Plugins/Actions/Speech/GrowlSpeechPrefs.m
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
      • Plugins/PluginFramework/GrowlIdleStatusObserver.m
        • #pragma GCC diagnostic ignored '-Wunused-property-ivar'
      • Plugins/PluginFramework/GrowlPluginPreferencePane.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Displays/GrowlDisplayWindowController.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
      • Plugins/Displays/GrowlNotificationView.m
        • #pragma GCC diagnostic ignored '-Wundeclared-selector'
    • Comment out #error in GrowlToolChainSupport.h
    • Disable Garbage Collecting — grep -r 'GCC_ENABLE_OBJC_GC'
      • remove or change ‘supported' to ‘unsupported'
    • Release/distribution/build/growl/Release/Growl.app




broken image