Ticket #25431: patch-no-sparkle.diff
File patch-no-sparkle.diff, 8.8 KB (added by raimue (Rainer Müller), 14 years ago) |
---|
-
modules/gui/macosx/intf.m
old new 56 56 57 57 #import <AddressBook/AddressBook.h> /* for crashlog send mechanism */ 58 58 #import <IOKit/hidsystem/ev_keymap.h> /* for the media key support */ 59 #import <Sparkle/Sparkle.h> /* we're the update delegate */60 59 61 60 /***************************************************************************** 62 61 * Local prototypes. … … 900 899 } 901 900 902 901 #pragma mark - 903 #pragma mark Sparkle delegate904 /* received directly before the update gets installed, so let's shut down a bit */905 - (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update906 {907 [o_remote stopListening: self];908 var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_STOP );909 910 /* Close the window directly, because we do know that there911 * won't be anymore video. It's currently waiting a bit. */912 [[[o_controls voutView] window] orderOut:self];913 }914 915 #pragma mark -916 902 #pragma mark Toolbar delegate 917 903 918 904 /* Our item identifiers */ -
configure.ac
old new 4051 4051 VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,CoreServices]) 4052 4052 VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,AGL]) 4053 4053 VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,IOKit]) 4054 VLC_ADD_LDFLAGS([macosx], [-F${CONTRIB_DIR}/Sparkle -Wl,-framework,Sparkle])4055 VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}/Sparkle])4056 4054 dnl For bug report 4057 4055 VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,AddressBook]) 4058 4056 VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,WebKit]) -
modules/gui/macosx/simple_prefs.m
old new 29 29 #import "misc.h" 30 30 #import "intf.h" 31 31 #import "AppleRemote.h" 32 #import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl33 32 34 33 static NSString* VLCSPrefsToolbarIdentifier = @"Our Simple Preferences Toolbar Identifier"; 35 34 static NSString* VLCIntfSettingToolbarIdentifier = @"Intf Settings Item Identifier"; … … 462 461 [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"]; 463 462 [self setupButton: o_intf_mediakeys_bg_ckb forBoolValue: "macosx-mediakeys-background"]; 464 463 [o_intf_mediakeys_bg_ckb setEnabled: [o_intf_mediakeys_ckb state]]; 465 if( [[SUUpdater sharedUpdater] lastUpdateCheckDate] != NULL ) 466 [o_intf_last_update_lbl setStringValue: [NSString stringWithFormat: _NS("Last check on: %@"), [[[SUUpdater sharedUpdater] lastUpdateCheckDate] descriptionWithLocale: [[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]]]; 467 else 468 [o_intf_last_update_lbl setStringValue: _NS("No check was performed yet.")]; 464 [o_intf_last_update_lbl setStringValue: _NS("Please use MacPorts to check for updates.")]; 469 465 470 466 /****************** 471 467 * audio settings * -
Makefile.am
old new 447 447 for i in AUTHORS COPYING THANKS; do \ 448 448 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \ 449 449 done 450 mkdir -p $(top_builddir)/tmp/extras/contrib/Sparkle451 cp -R $(CONTRIB_DIR)/Sparkle/Sparkle.framework $(top_builddir)/tmp/extras/contrib/Sparkle452 450 mkdir -p $(top_builddir)/tmp/modules/audio_output 453 451 mkdir -p $(top_builddir)/tmp/modules/gui/macosx 454 452 for i in \ … … 600 598 for i in AUTHORS COPYING THANKS; do \ 601 599 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \ 602 600 done 603 mkdir -p $(top_builddir)/tmp/extras/contrib/Sparkle604 cp -R $(CONTRIB_DIR)/Sparkle/Sparkle.framework $(top_builddir)/tmp/extras/contrib/Sparkle605 601 mkdir -p $(top_builddir)/tmp/modules/audio_output 606 602 mkdir -p $(top_builddir)/tmp/modules/gui/macosx 607 603 for i in \ -
extras/package/macosx/vlc.xcodeproj/project.pbxproj
old new 133 133 CC402F420E00ABBB006A4BA4 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC3DC89B0A7CDB9600B53F32 /* ApplicationServices.framework */; }; 134 134 CC402F430E00ABBB006A4BA4 /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC1941240B9C1F8400635F6B /* QTKit.framework */; }; 135 135 CC402F440E00ABBB006A4BA4 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC962E2C0CC7992800A56695 /* WebKit.framework */; }; 136 CC426FD11020D44F00A32659 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC426FD01020D44F00A32659 /* Sparkle.framework */; };137 CC426FD71020D47100A32659 /* Sparkle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = CC426FD01020D44F00A32659 /* Sparkle.framework */; };138 136 CC62B8D00FC5787D0077BB8C /* aiff.icns in Resources */ = {isa = PBXBuildFile; fileRef = CC62B8C50FC5787D0077BB8C /* aiff.icns */; }; 139 137 CC62B8D10FC5787D0077BB8C /* audio.icns in Resources */ = {isa = PBXBuildFile; fileRef = CC62B8C60FC5787D0077BB8C /* audio.icns */; }; 140 138 CC62B8D20FC5787D0077BB8C /* flv.icns in Resources */ = {isa = PBXBuildFile; fileRef = CC62B8C70FC5787D0077BB8C /* flv.icns */; }; … … 183 181 dstPath = ""; 184 182 dstSubfolderSpec = 10; 185 183 files = ( 186 CC426FD71020D47100A32659 /* Sparkle.framework in Copy Frameworks */,187 184 ); 188 185 name = "Copy Frameworks"; 189 186 runOnlyForDeploymentPostprocessing = 0; … … 299 296 CC33C2500D2578F5008C4683 /* fullscreen_graphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fullscreen_graphite.png; path = Resources/fullscreen_graphite.png; sourceTree = "<group>"; }; 300 297 CC3DC89B0A7CDB9600B53F32 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; }; 301 298 CC402F4B0E00ABBB006A4BA4 /* VLC.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VLC.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 302 CC426FD01020D44F00A32659 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = ../../contrib/Sparkle/Sparkle.framework; sourceTree = SOURCE_ROOT; };303 299 CC4A33210F8CB017000FC4A7 /* coredialogs.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = coredialogs.m; path = ../../../modules/gui/macosx/coredialogs.m; sourceTree = SOURCE_ROOT; }; 304 300 CC4A33220F8CB017000FC4A7 /* coredialogs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = coredialogs.h; path = ../../../modules/gui/macosx/coredialogs.h; sourceTree = SOURCE_ROOT; }; 305 301 CC4ED9AC0ABE07C800CA4CC5 /* add_embedded_blue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded_blue.png; path = Resources/add_embedded_blue.png; sourceTree = "<group>"; }; … … 444 440 CC402F430E00ABBB006A4BA4 /* QTKit.framework in Frameworks */, 445 441 CC402F440E00ABBB006A4BA4 /* WebKit.framework in Frameworks */, 446 442 CCBE999F0F922C51000705F8 /* CoreServices.framework in Frameworks */, 447 CC426FD11020D44F00A32659 /* Sparkle.framework in Frameworks */,448 443 ); 449 444 runOnlyForDeploymentPostprocessing = 0; 450 445 }; … … 554 549 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 555 550 isa = PBXGroup; 556 551 children = ( 557 CC426FD01020D44F00A32659 /* Sparkle.framework */,558 552 CCBE999E0F922C51000705F8 /* CoreServices.framework */, 559 553 CC962E2C0CC7992800A56695 /* WebKit.framework */, 560 554 CC1941240B9C1F8400635F6B /* QTKit.framework */, … … 1199 1193 "$(inherited)", 1200 1194 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", 1201 1195 ); 1202 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = " \"$(SRCROOT)/../../contrib/Sparkle\"";1196 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = ""; 1203 1197 GCC_DYNAMIC_NO_PIC = NO; 1204 1198 GCC_ENABLE_FIX_AND_CONTINUE = YES; 1205 1199 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; … … 1233 1227 "$(inherited)", 1234 1228 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", 1235 1229 ); 1236 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = " \"$(SRCROOT)/../../contrib/Sparkle\"";1230 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = ""; 1237 1231 GCC_ENABLE_FIX_AND_CONTINUE = NO; 1238 1232 GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1239 1233 HEADER_SEARCH_PATHS = ""; … … 1263 1257 "$(inherited)", 1264 1258 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", 1265 1259 ); 1266 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = " \"$(SRCROOT)/../../contrib/Sparkle\"";1260 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = ""; 1267 1261 GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1268 1262 HEADER_SEARCH_PATHS = ""; 1269 1263 INFOPLIST_FILE = Info.plist;