[152003] trunk/dports/editors/MacVim
raimue at macports.org
raimue at macports.org
Fri Aug 26 04:29:34 PDT 2016
Revision: 152003
https://trac.macports.org/changeset/152003
Author: raimue at macports.org
Date: 2016-08-26 04:29:34 -0700 (Fri, 26 Aug 2016)
Log Message:
-----------
editors/MacVim: remove Sparkle
Remove Sparkle.framework for automatic updates and related preferences as
MacPorts will be responsible for updating the application.
Modified Paths:
--------------
trunk/dports/editors/MacVim/Portfile
Added Paths:
-----------
trunk/dports/editors/MacVim/files/patch-remove-sparkle.diff
Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile 2016-08-26 11:02:11 UTC (rev 152002)
+++ trunk/dports/editors/MacVim/Portfile 2016-08-26 11:29:34 UTC (rev 152003)
@@ -9,6 +9,7 @@
github.setup macvim-dev macvim ${snapshot} snapshot-
name MacVim
version ${vim_version}.snapshot${snapshot}
+revision 1
categories editors
platforms darwin
license Vim GPL-2+
@@ -28,7 +29,8 @@
port:gettext \
port:libiconv
-patchfiles patch-MacVim-GCC-VERSION.diff
+patchfiles patch-MacVim-GCC-VERSION.diff \
+ patch-remove-sparkle.diff
pre-fetch {
if {${os.platform} eq "darwin" && ${os.major} < 10} {
@@ -50,6 +52,9 @@
post-patch {
reinplace "s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=${applications_dir}|" \
${worksrcpath}/src/MacVim/mvim
+
+ # recompile patched .nib
+ system -W ${worksrcpath} "ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib"
}
autoconf.dir ${worksrcpath}/src
Added: trunk/dports/editors/MacVim/files/patch-remove-sparkle.diff
===================================================================
--- trunk/dports/editors/MacVim/files/patch-remove-sparkle.diff (rev 0)
+++ trunk/dports/editors/MacVim/files/patch-remove-sparkle.diff 2016-08-26 11:29:34 UTC (rev 152003)
@@ -0,0 +1,72 @@
+--- src/MacVim/English.lproj/Preferences.nib/designable.nib 2016-08-26 12:38:42.000000000 +0200
++++ src/MacVim/English.lproj/Preferences.nib/designable.nib 2016-08-26 12:42:49.000000000 +0200
+@@ -73,26 +73,6 @@
+ <binding destination="58" name="selectedTag" keyPath="values.MMOpenLayout" id="441"/>
+ </connections>
+ </popUpButton>
+- <textField verticalHuggingPriority="750" id="124">
+- <rect key="frame" x="17" y="187" width="187" height="17"/>
+- <autoresizingMask key="autoresizingMask"/>
+- <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="When MacVim launches:" id="976">
+- <font key="font" metaFont="system"/>
+- <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+- <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+- </textFieldCell>
+- </textField>
+- <button id="122">
+- <rect key="frame" x="207" y="186" width="258" height="18"/>
+- <autoresizingMask key="autoresizingMask"/>
+- <buttonCell key="cell" type="check" title="Check for updates" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="975">
+- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+- <font key="font" metaFont="system"/>
+- </buttonCell>
+- <connections>
+- <binding destination="58" name="value" keyPath="values.SUCheckAtStartup" id="169"/>
+- </connections>
+- </button>
+ <textField verticalHuggingPriority="750" id="121">
+ <rect key="frame" x="209" y="47" width="243" height="58"/>
+ <autoresizingMask key="autoresizingMask"/>
+--- src/MacVim/MacVim.xcodeproj/project.pbxproj 2016-08-26 12:38:42.000000000 +0200
++++ src/MacVim/MacVim.xcodeproj/project.pbxproj 2016-08-26 12:39:32.000000000 +0200
+@@ -64,8 +64,6 @@
+ 1DE9B9500D341AB8008FEDD4 /* MMWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DE9B94E0D341AB8008FEDD4 /* MMWindow.m */; };
+ 1DED78600C6DE43D0079945F /* vimrc in Copy Vim Runtime Files */ = {isa = PBXBuildFile; fileRef = 1DED785F0C6DE43D0079945F /* vimrc */; };
+ 1DFE25A50C527BC4003000F7 /* PSMTabBarControl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D493DB90C52533B00AB718C /* PSMTabBarControl.framework */; };
+- 52A364731C4A5789005757EC /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52A364721C4A5789005757EC /* Sparkle.framework */; };
+- 52A364761C4A57C1005757EC /* Sparkle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 52A364721C4A5789005757EC /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 52B7ED9B1C4A4D6900AFFF15 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 52B7ED9A1C4A4D6900AFFF15 /* dsa_pub.pem */; };
+ 52818B031C1C08CE00F59085 /* QLStephen.qlgenerator in Copy QuickLookPlugin */ = {isa = PBXBuildFile; fileRef = 52818AFF1C1C075300F59085 /* QLStephen.qlgenerator */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
+ 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
+@@ -123,7 +121,6 @@
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+- 52A364761C4A57C1005757EC /* Sparkle.framework in Copy Frameworks */,
+ 1D493DBA0C52534300AB718C /* PSMTabBarControl.framework in Copy Frameworks */,
+ );
+ name = "Copy Frameworks";
+@@ -237,7 +234,6 @@
+ 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
+ 32CA4F630368D1EE00C91783 /* MacVim_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MacVim_Prefix.pch; sourceTree = "<group>"; };
+ 52818AFA1C1C075300F59085 /* QuickLookStephen.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = QuickLookStephen.xcodeproj; path = qlstephen/QuickLookStephen.xcodeproj; sourceTree = "<group>"; };
+- 52A364721C4A5789005757EC /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
+ 52B7ED9A1C4A4D6900AFFF15 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dsa_pub.pem; sourceTree = "<group>"; };
+ 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
+ 8D1107320486CEB800E47090 /* MacVim.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MacVim.app; sourceTree = BUILT_PRODUCTS_DIR; };
+@@ -251,7 +247,6 @@
+ 1DFE25A50C527BC4003000F7 /* PSMTabBarControl.framework in Frameworks */,
+ 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
+ 1D8B5A53104AF9FF002E59D5 /* Carbon.framework in Frameworks */,
+- 52A364731C4A5789005757EC /* Sparkle.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+@@ -429,7 +424,6 @@
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+- 52A364721C4A5789005757EC /* Sparkle.framework */,
+ 1D8B5A52104AF9FF002E59D5 /* Carbon.framework */,
+ 1D493DB30C52533B00AB718C /* PSMTabBarControl.xcodeproj */,
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160826/1ff91632/attachment.html>
More information about the macports-changes
mailing list