Changeset 97719
- Timestamp:
- Sep 12, 2012, 11:38:30 PM (12 years ago)
- Location:
- trunk/dports/multimedia/VLC-devel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/VLC-devel/Portfile
r97709 r97719 6 6 name VLC-devel 7 7 version 2.0.99 8 revision 18 revision 2 9 9 10 10 categories multimedia … … 27 27 fetch.type git 28 28 git.url git://git.videolan.org/vlc.git 29 git.branch 8cdc20d360fbefa12671abf8ff30c41384d110c729 git.branch ac2ccb3a7f28b4771758b0169ac0c6367eab327d 30 30 31 31 #master_sites http://download.videolan.org/pub/videolan/vlc/${version}/ … … 41 41 depends_lib port:lame port:a52dec port:libogg port:flac \ 42 42 port:libdca port:libcddb port:libcdio port:libmad \ 43 port:lib vorbis port:libmatroska port:libid3tag \43 port:libopus port:libvorbis port:libmatroska port:libid3tag \ 44 44 port:ncurses port:lua port:libpng port:jpeg \ 45 45 port:gnutls port:taglib port:libxml2 port:faad2 \ … … 130 130 configure.args-append \ 131 131 --enable-a52 --enable-faad --enable-flac --disable-live555 \ 132 --enable- vorbis --enable-ogg --enable-mad --disable-libass \132 --enable-opus --enable-vorbis --enable-ogg --enable-mad --disable-libass \ 133 133 --enable-dca --enable-png --disable-quicktime --enable-twolame \ 134 134 --disable-speex --enable-theora --enable-x264 --enable-postproc \ -
trunk/dports/multimedia/VLC-devel/files/configure.ac-no-arch.patch
r94341 r97719 1 --- configure.ac.orig 2012-0 5-03 18:38:38.000000000 -07002 +++ configure.ac 2012-0 5-03 18:40:40.000000000 -07001 --- configure.ac.orig 2012-09-12 15:42:02.000000000 -0700 2 +++ configure.ac 2012-09-12 15:48:28.000000000 -0700 3 3 @@ -126,35 +126,11 @@ case "${host_os}" in 4 4 SYS=dragonfly … … 38 38 + OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu99" 39 39 + LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names" 40 VLC_ADD_LIBS([m kv mp4 motion], [-Wl,-framework,IOKit,-framework,CoreFoundation])41 VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup ])42 VLC_ADD_LIBS([avcodec a vformat access_avio swscale postproc i420_rgb_mmx x264 x26410b],[-Wl,-read_only_relocs,suppress])40 VLC_ADD_LIBS([motion], [-Wl,-framework,IOKit,-framework,CoreFoundation]) 41 VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,Appkit]) 42 VLC_ADD_LIBS([avcodec access_avio swscale postproc i420_rgb_mmx x264 x26410b],[-Wl,-read_only_relocs,suppress]) -
trunk/dports/multimedia/VLC-devel/files/no-sparkle.patch
r94341 r97719 1 diff -Naurp vlc-2.0.1.orig/configure.ac vlc-2.0.1/configure.ac2 --- configure.ac 2012-0 3-08 04:18:41.000000000 -08003 +++ configure.ac 2012-0 5-01 23:51:46.000000000 -07004 @@ -3 766,13 +3766,6 @@ then1 diff -Naurp configure.ac configure.ac 2 --- configure.ac 2012-09-12 15:56:25.000000000 -0700 3 +++ configure.ac 2012-09-12 16:13:44.000000000 -0700 4 @@ -3614,13 +3614,6 @@ then 5 5 6 VLC_ADD_LIBS([macosx], [-Wl,-framework,QTKit -Wl,-framework,IOKit -Wl,-framework,AddressBook -Wl,-framework,WebKit ])6 VLC_ADD_LIBS([macosx], [-Wl,-framework,QTKit -Wl,-framework,IOKit -Wl,-framework,AddressBook -Wl,-framework,WebKit -Wl,-framework,CoreAudio -Wl,-framework,SystemConfiguration]) 7 7 8 8 - if test ! -d ${CONTRIB_DIR}/Sparkle.framework … … 16 16 then 17 17 AC_MSG_ERROR([BGHUDAppKit framework is required and was not found in ${CONTRIB_DIR}]) 18 diff -Naurp vlc-2.0.1.orig/modules/gui/macosx/intf.m vlc-2.0.1/modules/gui/macosx/intf.m 19 --- modules/gui/macosx/intf.m 2012-03-14 04:07:48.000000000 -0700 20 +++ modules/gui/macosx/intf.m 2012-05-01 23:53:28.000000000 -0700 21 @@ -62,7 +62,6 @@ 22 #import "TrackSynchronization.h" 23 24 #import <AddressBook/AddressBook.h> /* for crashlog send mechanism */ 25 -#import <Sparkle/Sparkle.h> /* we're the update delegate */ 26 27 /***************************************************************************** 28 * Local prototypes. 29 @@ -788,16 +787,6 @@ static VLCMain *_o_sharedMainInstance = 30 } 31 32 #pragma mark - 33 -#pragma mark Sparkle delegate 34 -/* received directly before the update gets installed, so let's shut down a bit */ 35 -- (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update 36 -{ 37 - [NSApp activateIgnoringOtherApps:YES]; 38 - [o_remote stopListening: self]; 39 - [[VLCCoreInteraction sharedInstance] stop]; 40 -} 41 - 42 -#pragma mark - 43 #pragma mark Media Key support 44 45 -(void)mediaKeyTap:(SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event 46 diff -Naurp vlc-2.0.1.orig/modules/gui/macosx/simple_prefs.m vlc-2.0.1/modules/gui/macosx/simple_prefs.m 47 --- modules/gui/macosx/simple_prefs.m 2012-03-15 16:55:17.000000000 -0700 48 +++ modules/gui/macosx/simple_prefs.m 2012-05-01 23:54:38.000000000 -0700 49 @@ -36,8 +36,6 @@ 50 #import "intf.h" 51 #import "AppleRemote.h" 52 53 -#import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl 54 - 55 static NSString* VLCSPrefsToolbarIdentifier = @"Our Simple Preferences Toolbar Identifier"; 56 static NSString* VLCIntfSettingToolbarIdentifier = @"Intf Settings Item Identifier"; 57 static NSString* VLCAudioSettingToolbarIdentifier = @"Audio Settings Item Identifier"; 58 @@ -483,10 +481,6 @@ static inline char * __config_GetLabel( 59 [self setupButton: o_intf_appleremote_ckb forBoolValue: "macosx-appleremote"]; 60 61 [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"]; 62 - if( [[SUUpdater sharedUpdater] lastUpdateCheckDate] != NULL ) 63 - [o_intf_last_update_lbl setStringValue: [NSString stringWithFormat: _NS("Last check on: %@"), [[[SUUpdater sharedUpdater] lastUpdateCheckDate] descriptionWithLocale: [[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]]]; 64 - else 65 - [o_intf_last_update_lbl setStringValue: _NS("No check was performed yet.")]; 66 psz_tmp = config_GetPsz( p_intf, "control" ); 67 if (psz_tmp) { 68 [o_intf_enableGrowl_ckb setState: (NSInteger)strstr( psz_tmp, "growl")]; 69 diff --git a/extras/package/macosx/Resources/English.lproj/Preferences.xib b/extras/package/macosx/Resources/English.lproj/Preferences.xib 70 index 8682829..29e653a 100644 71 --- extras/package/macosx/Resources/English.lproj/Preferences.xib 72 +++ extras/package/macosx/Resources/English.lproj/Preferences.xib 73 @@ -4423,9 +4423,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes> 18 diff -Naurp extras/package/macosx/Resources/English.lproj/Preferences.xib extras/package/macosx/Resources/English.lproj/Preferences.xib 19 --- extras/package/macosx/Resources/English.lproj/Preferences.xib 2012-09-12 15:56:18.000000000 -0700 20 +++ extras/package/macosx/Resources/English.lproj/Preferences.xib 2012-09-12 16:13:44.000000000 -0700 21 @@ -4467,9 +4467,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAI 74 22 <string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string> 75 23 <bool key="NSWindowIsRestorable">YES</bool> … … 81 29 <object class="IBObjectContainer" key="IBDocument.Objects"> 82 30 <object class="NSMutableArray" key="connectionRecords"> 83 @@ -5 783,22 +5780,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>31 @@ -5803,22 +5800,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAI 84 32 <int key="connectionID">3554</int> 85 33 </object> … … 104 52 <string key="label">o_intf_update_ckb</string> 105 53 <reference key="source" ref="150917409"/> 106 @@ -83 73,12 +8354,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>54 @@ -8384,12 +8365,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAI 107 55 <reference key="parent" ref="492678965"/> 108 56 </object> … … 117 65 <reference key="object" ref="243384014"/> 118 66 <object class="NSMutableArray" key="children"> 67 diff -Naurp modules/gui/macosx/intf.m modules/gui/macosx/intf.m 68 --- modules/gui/macosx/intf.m 2012-09-12 15:56:20.000000000 -0700 69 +++ modules/gui/macosx/intf.m 2012-09-12 16:13:44.000000000 -0700 70 @@ -65,7 +65,6 @@ 71 #import "TrackSynchronization.h" 72 73 #import <AddressBook/AddressBook.h> /* for crashlog send mechanism */ 74 -#import <Sparkle/Sparkle.h> /* we're the update delegate */ 75 76 /***************************************************************************** 77 * Local prototypes. 78 @@ -821,16 +820,6 @@ static VLCMain *_o_sharedMainInstance = 79 } 80 81 #pragma mark - 82 -#pragma mark Sparkle delegate 83 -/* received directly before the update gets installed, so let's shut down a bit */ 84 -- (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update 85 -{ 86 - [NSApp activateIgnoringOtherApps:YES]; 87 - [o_remote stopListening: self]; 88 - [[VLCCoreInteraction sharedInstance] stop]; 89 -} 90 - 91 -#pragma mark - 92 #pragma mark Media Key support 93 94 -(void)mediaKeyTap:(SPMediaKeyTap*)keyTap receivedMediaKeyEvent:(NSEvent*)event 95 diff -Naurp modules/gui/macosx/simple_prefs.m modules/gui/macosx/simple_prefs.m 96 --- modules/gui/macosx/simple_prefs.m 2012-09-12 15:56:20.000000000 -0700 97 +++ modules/gui/macosx/simple_prefs.m 2012-09-12 16:15:31.000000000 -0700 98 @@ -39,8 +39,6 @@ 99 #import "AppleRemote.h" 100 #import "CoreInteraction.h" 101 102 -#import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl 103 - 104 static NSString* VLCSPrefsToolbarIdentifier = @"Our Simple Preferences Toolbar Identifier"; 105 static NSString* VLCIntfSettingToolbarIdentifier = @"Intf Settings Item Identifier"; 106 static NSString* VLCAudioSettingToolbarIdentifier = @"Audio Settings Item Identifier"; 107 @@ -229,7 +227,6 @@ create_toolbar_item(NSString * o_itemIde 108 [o_intf_appleremote_sysvol_ckb setTitle: _NS("Control system volume with the Apple Remote")]; 109 [o_intf_mediakeys_ckb setTitle: _NS("Control playback with media keys")]; 110 [o_intf_update_ckb setTitle: _NS("Automatically check for updates")]; 111 - [o_intf_last_update_lbl setStringValue: @""]; 112 [o_intf_enableGrowl_ckb setTitle: _NS("Enable Growl notifications (on playlist item change)")]; 113 [o_intf_autoresize_ckb setTitle: _NS("Resize interface to the native video size")]; 114 [o_intf_pauseminimized_ckb setTitle: _NS("Pause the video playback when minimized")]; 115 @@ -433,10 +430,6 @@ static inline char * __config_GetLabel(v 116 [self setupButton: o_intf_appleremote_sysvol_ckb forBoolValue: "macosx-appleremote-sysvol"]; 117 118 [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"]; 119 - if ([[SUUpdater sharedUpdater] lastUpdateCheckDate] != NULL) 120 - [o_intf_last_update_lbl setStringValue: [NSString stringWithFormat: _NS("Last check on: %@"), [[[SUUpdater sharedUpdater] lastUpdateCheckDate] descriptionWithLocale: [[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]]]; 121 - else 122 - [o_intf_last_update_lbl setStringValue: _NS("No check was performed yet.")]; 123 psz_tmp = config_GetPsz(p_intf, "control"); 124 if (psz_tmp) { 125 [o_intf_enableGrowl_ckb setState: (NSInteger)strstr(psz_tmp, "growl")];
Note: See TracChangeset
for help on using the changeset viewer.