diff --git configure.ac configure.ac
index fd31f16..af37c4c 100644
|
|
then |
3685 | 3685 | |
3686 | 3686 | VLC_ADD_LIBS([macosx], [-Wl,-framework,QTKit -Wl,-framework,IOKit -Wl,-framework,AddressBook -Wl,-framework,WebKit -Wl,-framework,CoreAudio -Wl,-framework,SystemConfiguration -Wl,-framework,ScriptingBridge]) |
3687 | 3687 | |
3688 | | if test ! -d ${CONTRIB_DIR}/Sparkle.framework |
3689 | | then |
3690 | | AC_MSG_ERROR([Sparkle framework is required and was not found in ${CONTRIB_DIR}]) |
3691 | | fi |
3692 | | VLC_ADD_LIBS([macosx], [-F${CONTRIB_DIR} -Wl,-framework,Sparkle]) |
3693 | | VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}]) |
3694 | | |
3695 | 3688 | if test ! -d ${CONTRIB_DIR}/BGHUDAppKit.framework |
3696 | 3689 | then |
3697 | 3690 | AC_MSG_ERROR([BGHUDAppKit framework is required and was not found in ${CONTRIB_DIR}]) |
diff --git extras/package/macosx/Resources/English.lproj/Preferences.xib extras/package/macosx/Resources/English.lproj/Preferences.xib
index a932b0e..5f58bbd 100644
|
|
AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes> |
4682 | 4682 | <string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string> |
4683 | 4683 | <bool key="NSWindowIsRestorable">YES</bool> |
4684 | 4684 | </object> |
4685 | | <object class="NSCustomObject" id="761483302"> |
4686 | | <string key="NSClassName">SUUpdater</string> |
4687 | | </object> |
4688 | 4685 | <object class="NSWindowTemplate" id="898680423"> |
4689 | 4686 | <int key="NSWindowStyleMask">15</int> |
4690 | 4687 | <int key="NSWindowBacking">2</int> |
… |
… |
AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes> |
6833 | 6830 | <int key="connectionID">3554</int> |
6834 | 6831 | </object> |
6835 | 6832 | <object class="IBConnectionRecord"> |
6836 | | <object class="IBBindingConnection" key="connection"> |
6837 | | <string key="label">value: automaticallyChecksForUpdates</string> |
6838 | | <reference key="source" ref="243384014"/> |
6839 | | <reference key="destination" ref="761483302"/> |
6840 | | <object class="NSNibBindingConnector" key="connector"> |
6841 | | <reference key="NSSource" ref="243384014"/> |
6842 | | <reference key="NSDestination" ref="761483302"/> |
6843 | | <string key="NSLabel">value: automaticallyChecksForUpdates</string> |
6844 | | <string key="NSBinding">value</string> |
6845 | | <string key="NSKeyPath">automaticallyChecksForUpdates</string> |
6846 | | <int key="NSNibBindingConnectorVersion">2</int> |
6847 | | </object> |
6848 | | </object> |
6849 | | <int key="connectionID">3559</int> |
6850 | | </object> |
6851 | | <object class="IBConnectionRecord"> |
6852 | 6833 | <object class="IBOutletConnection" key="connection"> |
6853 | 6834 | <string key="label">o_intf_update_ckb</string> |
6854 | 6835 | <reference key="source" ref="150917409"/> |
… |
… |
AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes> |
9560 | 9541 | <reference key="parent" ref="492678965"/> |
9561 | 9542 | </object> |
9562 | 9543 | <object class="IBObjectRecord"> |
9563 | | <int key="objectID">3555</int> |
9564 | | <reference key="object" ref="761483302"/> |
9565 | | <reference key="parent" ref="0"/> |
9566 | | <string key="objectName">Sparkle Updater</string> |
9567 | | </object> |
9568 | | <object class="IBObjectRecord"> |
9569 | 9544 | <int key="objectID">3556</int> |
9570 | 9545 | <reference key="object" ref="243384014"/> |
9571 | 9546 | <object class="NSMutableArray" key="children"> |
diff --git a/extras/package/macosx/Resources/English.lproj/MainMenu.xib b/extras/package/macosx/Resources/English.lproj/MainMenu.xib
index 9c133df..8a2f5bd 100644
|
|
LCAuLi4</string> |
4418 | 4418 | <string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string> |
4419 | 4419 | <bool key="NSWindowIsRestorable">YES</bool> |
4420 | 4420 | </object> |
4421 | | <object class="NSCustomObject" id="1040926652"> |
4422 | | <string key="NSClassName">SUUpdater</string> |
4423 | | </object> |
4424 | 4421 | <object class="NSCustomView" id="560875128"> |
4425 | 4422 | <nil key="NSNextResponder"/> |
4426 | 4423 | <int key="NSvFlags">268</int> |
… |
… |
LCAuLi4</string> |
5907 | 5904 | <int key="connectionID">4256</int> |
5908 | 5905 | </object> |
5909 | 5906 | <object class="IBConnectionRecord"> |
5910 | | <object class="IBActionConnection" key="connection"> |
5911 | | <string key="label">checkForUpdates:</string> |
5912 | | <reference key="source" ref="1040926652"/> |
5913 | | <reference key="destination" ref="354414928"/> |
5914 | | </object> |
5915 | | <int key="connectionID">4371</int> |
5916 | | </object> |
5917 | | <object class="IBConnectionRecord"> |
5918 | 5907 | <object class="IBOutletConnection" key="connection"> |
5919 | 5908 | <string key="label">o_outline_view</string> |
5920 | 5909 | <reference key="source" ref="998338913"/> |
… |
… |
LCAuLi4</string> |
9989 | 9978 | <string key="objectName">Application</string> |
9990 | 9979 | </object> |
9991 | 9980 | <object class="IBObjectRecord"> |
9992 | | <int key="objectID">4370</int> |
9993 | | <reference key="object" ref="1040926652"/> |
9994 | | <reference key="parent" ref="0"/> |
9995 | | </object> |
9996 | | <object class="IBObjectRecord"> |
9997 | 9981 | <int key="objectID">4397</int> |
9998 | 9982 | <reference key="object" ref="629699013"/> |
9999 | 9983 | <object class="NSMutableArray" key="children"> |
diff --git modules/gui/macosx/intf.m modules/gui/macosx/intf.m
index c5fced6..da7d001 100644
|
|
|
69 | 69 | #import "AudioEffects.h" |
70 | 70 | |
71 | 71 | #import <AddressBook/AddressBook.h> /* for crashlog send mechanism */ |
72 | | #import <Sparkle/Sparkle.h> /* we're the update delegate */ |
73 | 72 | |
74 | 73 | #import "iTunes.h" |
75 | 74 | |
… |
… |
static VLCMain *_o_sharedMainInstance = nil; |
916 | 915 | } |
917 | 916 | |
918 | 917 | #pragma mark - |
919 | | #pragma mark Sparkle delegate |
920 | | /* received directly before the update gets installed, so let's shut down a bit */ |
921 | | - (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update |
922 | | { |
923 | | [NSApp activateIgnoringOtherApps:YES]; |
924 | | [o_remote stopListening: self]; |
925 | | [[VLCCoreInteraction sharedInstance] stop]; |
926 | | } |
927 | | |
928 | | #pragma mark - |
929 | 918 | #pragma mark Media Key support |
930 | 919 | |
931 | 920 | -(void)mediaKeyTap:(SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event |
diff --git modules/gui/macosx/simple_prefs.m modules/gui/macosx/simple_prefs.m
index a91fe3a..4407d25 100644
|
|
|
38 | 38 | #import "AppleRemote.h" |
39 | 39 | #import "CoreInteraction.h" |
40 | 40 | |
41 | | #import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl |
42 | | |
43 | 41 | static const char *const ppsz_language[] = |
44 | 42 | { |
45 | 43 | "auto", |
… |
… |
create_toolbar_item(NSString * o_itemIde |
365 | 363 | [o_intf_appleremote_sysvol_ckb setTitle: _NS("Control system volume with the Apple Remote")]; |
366 | 364 | [o_intf_mediakeys_ckb setTitle: _NS("Control playback with media keys")]; |
367 | 365 | [o_intf_update_ckb setTitle: _NS("Automatically check for updates")]; |
368 | | [o_intf_last_update_lbl setStringValue: @""]; |
369 | 366 | [o_intf_enableGrowl_ckb setTitle: _NS("Enable Growl notifications (on playlist item change)")]; |
370 | 367 | [o_intf_autoresize_ckb setTitle: _NS("Resize interface to the native video size")]; |
371 | 368 | [o_intf_pauseminimized_ckb setTitle: _NS("Pause the video playback when minimized")]; |
… |
… |
static inline char * __config_GetLabel(v |
585 | 582 | [self setupButton: o_intf_appleremote_sysvol_ckb forBoolValue: "macosx-appleremote-sysvol"]; |
586 | 583 | |
587 | 584 | [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"]; |
588 | | if ([[SUUpdater sharedUpdater] lastUpdateCheckDate] != NULL) |
589 | | [o_intf_last_update_lbl setStringValue: [NSString stringWithFormat: _NS("Last check on: %@"), [[[SUUpdater sharedUpdater] lastUpdateCheckDate] descriptionWithLocale: [[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]]]; |
590 | | else |
591 | | [o_intf_last_update_lbl setStringValue: _NS("No check was performed yet.")]; |
592 | 585 | psz_tmp = config_GetPsz(p_intf, "control"); |
593 | 586 | if (psz_tmp) { |
594 | 587 | [o_intf_enableGrowl_ckb setState: (NSInteger)strstr(psz_tmp, "growl")]; |