Importing the skeleton of system tray implementation and making sure it compiles and works
There was an interesting "problem" due to automatic reference counting
(-fobjc-arc flag). XCode includes this flag by default, so making sure
that wscript is doing the same thing.
diff --git a/waf-tools/sparkle.py b/waf-tools/sparkle.py
index 67cf6d9..3d628aa 100644
--- a/waf-tools/sparkle.py
+++ b/waf-tools/sparkle.py
@@ -7,8 +7,8 @@
@conf
def check_sparkle_base (self, *k, **kw):
self.check_cxx (framework_name="Sparkle", header_name=["Foundation/Foundation.h", "AppKit/AppKit.h"],
- uselib_store='OSX_SPARKLE', define_name='HAVE_SPARKLE',
- compile_filename='test.mm', use="OSX_FOUNDATION OSX_APPKIT",
+ uselib_store='SPARKLE', define_name='HAVE_SPARKLE',
+ compile_filename='test.mm', use="FOUNDATION APPKIT",
*k,
**kw
)