make vim frameworks-compliant

This commit is contained in:
Jude Taylor 2015-06-30 17:34:13 -07:00
parent 5429e06f58
commit 857efa12fb
4 changed files with 122 additions and 144 deletions

View File

@ -17,11 +17,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs = [ ncurses pkgconfig ]
++ stdenv.lib.optional stdenv.isDarwin [ CoreData CoreServices Cocoa Foundation libobjc ];
++ stdenv.lib.optionals stdenv.isDarwin [ CoreData CoreServices Cocoa Foundation libobjc ];
nativeBuildInputs = [ gettext ];
__impureHostDeps = import ./impure-deps.nix;
configureFlags = [
"--enable-multibyte"
"--enable-nls"

View File

@ -1,129 +0,0 @@
[
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib"
"/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD"
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis"
"/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox"
"/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit"
"/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork"
"/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound"
"/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox"
"/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink"
"/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition"
"/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa"
"/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio"
"/System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth"
"/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData"
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"
"/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit"
"/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText"
"/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo"
"/System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN"
"/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration"
"/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation"
"/System/Library/Frameworks/GSS.framework/Versions/A/GSS"
"/System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth"
"/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit"
"/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib"
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib"
"/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos"
"/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS"
"/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL"
"/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory"
"/System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib"
"/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL"
"/System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage"
"/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore"
"/System/Library/Frameworks/Security.framework/Versions/A/Security"
"/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation"
"/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement"
"/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration"
"/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211"
"/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG"
"/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA"
"/System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup"
"/System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary"
"/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth"
"/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication"
"/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI"
"/System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi"
"/System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport"
"/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore"
"/System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols"
"/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
"/System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore"
"/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage"
"/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal"
"/System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices"
"/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling"
"/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport"
"/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth"
"/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis"
"/System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices"
"/System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing"
"/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore"
"/System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication"
"/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC"
"/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation"
"/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity"
"/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport"
"/usr/lib/libCRFSuite.dylib"
"/usr/lib/libOpenScriptingUtil.dylib"
"/usr/lib/libarchive.2.dylib"
"/usr/lib/libbsm.0.dylib"
"/usr/lib/libbz2.1.0.dylib"
"/usr/lib/libc++.1.dylib"
"/usr/lib/libc++abi.dylib"
"/usr/lib/libcmph.dylib"
"/usr/lib/libcups.2.dylib"
"/usr/lib/libextension.dylib"
"/usr/lib/libheimdal-asn1.dylib"
"/usr/lib/libiconv.2.dylib"
"/usr/lib/libicucore.A.dylib"
"/usr/lib/liblangid.dylib"
"/usr/lib/liblzma.5.dylib"
"/usr/lib/libmecabra.dylib"
"/usr/lib/libpam.2.dylib"
"/usr/lib/libresolv.9.dylib"
"/usr/lib/libsqlite3.dylib"
"/usr/lib/libxar.1.dylib"
"/usr/lib/libxml2.2.dylib"
"/usr/lib/libxslt.1.dylib"
"/usr/lib/libz.1.dylib"
]

View File

@ -10,7 +10,7 @@ with frameworks; with libs; {
AVKit = [];
Accounts = [];
AddressBook = [ Carbon CoreFoundation ];
AppKit = [ QuartzCore ];
AppKit = [ AudioToolbox QuartzCore ];
AppKitScripting = [];
AppleScriptKit = [];
AppleScriptObjC = [];
@ -27,7 +27,7 @@ with frameworks; with libs; {
CoreAudioKit = [ AudioUnit ];
CoreData = [];
CoreFoundation = [];
CoreGraphics = [ CoreFoundation IOKit IOSurface ];
CoreGraphics = [ Accelerate CoreFoundation IOKit IOSurface ];
CoreLocation = [];
CoreMIDI = [ CoreFoundation ];
CoreMIDIServer = [];
@ -35,7 +35,7 @@ with frameworks; with libs; {
CoreMediaIO = [ CoreFoundation CoreMedia ];
CoreText = [ CoreFoundation CoreGraphics ];
CoreVideo = [ ApplicationServices CoreFoundation CoreGraphics IOSurface OpenGL ];
CoreWLAN = [];
CoreWLAN = [ SecurityFoundation ];
DVComponentGlue = [ CoreServices QuickTime ];
DVDPlayback = [];
DirectoryService = [ CoreFoundation ];
@ -47,7 +47,7 @@ with frameworks; with libs; {
ExceptionHandling = [];
FWAUserLib = [];
ForceFeedback = [ CoreFoundation IOKit ];
Foundation = [ CoreFoundation Security ApplicationServices AppKit ];
Foundation = [ CoreFoundation Security ApplicationServices AppKit SystemConfiguration ];
GLKit = [ CoreFoundation ];
GLUT = [ GL OpenGL ];
GSS = [];
@ -75,7 +75,7 @@ with frameworks; with libs; {
NetFS = [ CoreFoundation ];
OSAKit = [ Carbon ];
OpenAL = [];
OpenCL = [ CL IOSurface OpenGL ];
OpenCL = [ IOSurface OpenGL ];
OpenGL = [];
PCSC = [];
PreferencePanes = [];
@ -107,13 +107,13 @@ with frameworks; with libs; {
WebKit = [ ApplicationServices Carbon JavaScriptCore OpenGL X11 ];
# Umbrellas
Accelerate = [ CoreGraphics ];
Accelerate = [ CoreWLAN IOBluetooth ];
ApplicationServices = [ CoreFoundation CoreServices CoreText ImageIO ];
Carbon = [ ApplicationServices CoreFoundation CoreServices IOKit Security ];
CoreServices = [ CFNetwork CoreFoundation DiskArbitration Security ];
CoreServices = [ CFNetwork CoreFoundation DiskArbitration Security NetFS OpenDirectory ServiceManagement ];
IOBluetooth = [ IOKit ];
JavaVM = [];
OpenDirectory = [ CoreFoundation Foundation ];
OpenDirectory = [];
Quartz = [ QuickLook ];
QuartzCore = [ ApplicationServices CoreFoundation CoreVideo ];
QuartzCore = [ ApplicationServices CoreFoundation CoreVideo OpenCL ];
}

View File

@ -32,17 +32,126 @@
ApplicationServices = [
"/System/Library/Frameworks/ApplicationServices.framework"
];
OpenGL = [];
CoreVideo = [];
QuartzCore = [];
OpenGL = [
"/System/Library/Frameworks/OpenGL.framework"
];
CoreVideo = [
"/System/Library/Frameworks/CoreVideo.framework"
];
QuartzCore = [
"/System/Library/Frameworks/QuartzCore.framework"
];
PCSC = [
"/System/Library/Frameworks/PCSC.framework"
];
AppKit = [
"/System/Library/Frameworks/AppKit.framework"
"/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211"
"/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG"
"/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA"
"/System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup"
"/System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary"
"/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth"
"/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication"
"/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI"
"/System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi"
"/System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport"
"/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore"
"/System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols"
"/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
"/System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore"
"/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage"
"/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal"
"/System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices"
"/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling"
"/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport"
"/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth"
"/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis"
"/System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices"
"/System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing"
"/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore"
"/System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication"
"/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC"
"/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation"
"/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity"
"/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport"
"/usr/lib/libCRFSuite.dylib"
"/usr/lib/libOpenScriptingUtil.dylib"
"/usr/lib/libarchive.2.dylib"
"/usr/lib/libbsm.0.dylib"
"/usr/lib/libbz2.1.0.dylib"
"/usr/lib/libc++.1.dylib"
"/usr/lib/libc++abi.dylib"
"/usr/lib/libcmph.dylib"
"/usr/lib/libcups.2.dylib"
"/usr/lib/libextension.dylib"
"/usr/lib/libheimdal-asn1.dylib"
"/usr/lib/libiconv.2.dylib"
"/usr/lib/libicucore.A.dylib"
"/usr/lib/liblangid.dylib"
"/usr/lib/liblzma.5.dylib"
"/usr/lib/libmecabra.dylib"
"/usr/lib/libpam.2.dylib"
"/usr/lib/libresolv.9.dylib"
"/usr/lib/libsqlite3.dylib"
"/usr/lib/libxar.1.dylib"
"/usr/lib/libxml2.2.dylib"
"/usr/lib/libxslt.1.dylib"
"/usr/lib/libz.1.dylib"
];
Foundation = [
"/System/Library/Frameworks/Foundation.framework"
"/usr/lib/libextension.dylib"
];
CoreData = [
"/System/Library/Frameworks/CoreData.framework"
];
Cocoa = [
"/System/Library/Frameworks/Cocoa.framework"
"/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation"
"/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A"
];
Carbon = [
"/System/Library/Frameworks/Carbon.framework"
];
CoreAudio = [
"/System/Library/Frameworks/CoreAudio.framework"
];
AudioUnit = [
"/System/Library/Frameworks/AudioUnit.framework"
];
CoreMIDI = [
"/System/Library/Frameworks/CoreMIDI.framework"
];
AudioToolbox = [
"/System/Library/Frameworks/AudioToolbox.framework"
];
SystemConfiguration = [
"/System/Library/Frameworks/SystemConfiguration.framework"
];
NetFS = [
"/System/Library/Frameworks/NetFS.framework"
];
Accelerate = [
"/System/Library/Frameworks/Accelerate.framework"
];
OpenDirectory = [
"/System/Library/Frameworks/OpenDirectory.framework"
];
ServiceManagement = [
"/System/Library/Frameworks/ServiceManagement.framework"
];
OpenCL = [
"/System/Library/Frameworks/OpenCL.framework"
];
CoreWLAN = [
"/System/Library/Frameworks/CoreWLAN.framework"
];
IOBluetooth = [
"/System/Library/Frameworks/IOBluetooth.framework"
"/System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth"
];
SecurityFoundation = [
"/System/Library/Frameworks/SecurityFoundation.framework"
];
}