Commit Graph

16 Commits

Author SHA1 Message Date
Lily Ballard
7076369fd7 macvim: 181 -> 182
Update macvim to r182. This also teaches the tag logic to be correct if
overridden for a prerelease version (e.g. 181.2).
2025-11-02 19:11:19 -08:00
Lily Ballard
aee839d791 macvim: switch to building with the nixpkgs SDK
This uses the nixpkgs SDK to build, which means we can get rid of a lot
of our build hacks. This does mean we're now assuming that Xcode is in
`/Applications/Xcode.app` instead of letting xcode-select find it,
though this is configurable.

Reenable python3 support since using the nixpkgs SDK fixes the
incompatibility there.

Switch lua/perl/python/ruby/tcl support away from dynamic since vim
isn't finding the right libraries anymore, for some reason.

Remove some of the other old stuff like bits of the patchfile that don't
seem to be needed anymore.
2025-10-29 02:31:34 -07:00
Lily Ballard
9175b93e95 macvim: move Xcode 26 fix into a patch file
Also fix the hunk headers/contexts in the existing patch file to be
correct for the current version.
2025-10-26 01:54:40 -07:00
Lily Ballard
5ece9f37b1 macvim: 179 -> 181
Updates macvim to r181, including bumping the Ruby version to 3.4 since
that's what MacVim r181 is built against.

There's still 3 CVEs in the `knownVulnerabilities` list that are newer
than this release, but this is the latest MacVim release available right
now.
2025-10-23 02:49:57 -07:00
Lily Ballard
5c5dd69859 macvim: 8.2.3455 -> 178
MacVim now uses its own release number as its primary version, but this
is equivalent to 9.0.1897.
2024-06-26 17:39:23 -07:00
Brian Leung
e5307bdda5 macvim: 8.2.1719 -> 8.2.3455 2022-02-12 19:40:05 -08:00
Lily Ballard
9daf3b994b macvim: 8.2.539 -> 8.2.1719 2020-09-28 15:33:36 -07:00
Lily Ballard
ee28064389 macvim: Clean up hybrid compilation environment
MacVim compiles the Vim part using `/usr/bin/clang` and the GUI part
using Xcode. The Xcode portion always uses Xcode's own SDK and we have
no workable alternative. The Vim portion so far has been compiling using
a hybrid compilation environment, where it uses the SDK for most stuff
but picks up a bunch of library linker paths (including libSystem) by
virtue of Ruby's LDFLAGS. This hybrid compilation environment meant that
if the SDK headers referenced a symbol that the library itself didn't
have, this could produce link errors.

Previously we attempted to fix this by synthesizing an include path that
contained just the one header from Nix's Libsystem that referenced the
missing symbol, to get rid of the reference and allow linking to work
again, but this was very hacky and runs the risk of future Xcode SDK
changes producing the same errors with different headers, or of future
SDK versions expecting the intercepted header to contain a definition
that Nix's doesn't.

This new approach is to just clean up the compilation environment such
that the Vim portion is compiling against the Xcode SDK as well, by
sanitizing the LDFLAGS produced by the configure script so it stops
referencing Nix's versions of OS libraries. This means the resulting Vim
binary no longer depends at runtime on Nix for anything except the
scripting language support, but that's how it's been for the MacVim
binary all along anyway, and this approach should keep us insulated
against future Xcode SDK changes.
2020-04-28 13:54:33 -07:00
Lily Ballard
e4311a77b4 macvim: 8.2.319 -> 8.2.539 2020-04-15 11:16:24 -07:00
Lily Ballard
647ee3c2f0 macvim: snapshot-157 -> snapshot-161 2019-11-07 13:24:38 -08:00
Lily Ballard
4563496375 macvim: fix compatibility with Xcode 11
This fixes several Xcode 11 incompatibilities with MacVim, including an
issue where it wasn't inheriting the deployment target correctly to
begin with.
2019-09-11 20:13:36 -07:00
Lily Ballard
95bfb9938f macvim: 7.4.909 -> 8.1.1517
Fix up the macvim package to build again, with the latest snapshot. The
patchfile has been recreated by manually reapplying all of the changes
from the old patchfile, and the other changes in here were figured out
by trial and error (such as the need to unset `LD`).

Also tweak the package to use python37 by default, and add an option to
go back to python27 if desired.

Disable Sparkle so the user isn't prompted to update a readonly package.
2019-06-11 11:21:09 -07:00
Charles Strahan
23e5ffa2e5 macvim: 7.4.648 -> 7.4.909 (and fix build) 2015-11-15 02:04:27 -05:00
Charles Strahan
bad51b0b02 Fix MacVim by using clang. 2014-10-18 01:15:45 -04:00
Charles Strahan
03391f9894 Update macvim package to v7.4.355
MacVim's maintenance has stagnated, so this moves `macvim` to a new maintainer.
Additionally, the `-headerpad_max_install_names` linker flag is passed to
prevent problems when setting the rpaths.
2014-07-07 00:16:55 -04:00
Charles Strahan
72cd8ce56c add MacVim 2014-06-07 15:26:01 -04:00