From 1cc7c82e42834ecffc2eaf0afb03f2a163518cac Mon Sep 17 00:00:00 2001 From: Dustin Brothers Date: Thu, 12 Sep 2024 16:39:13 -0600 Subject: [PATCH 1/3] Updating the current macvim formula with the correct checksum. --- Library/Formula/macvim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 777f66e0d3c..71c258a0c6a 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -17,7 +17,7 @@ class Macvim < Formula homepage "https://code.google.com/p/macvim/" url "https://github.com/macvim-dev/macvim/archive/snapshot-77.tar.gz" version "7.4-77" - sha256 "6b7f4b48ecef4a00dca17efef551884fcea1aa9897005497d31f52da7304bc5f" + sha256 "4696b2cd6f69093c8a619daee9a0db441ce1a124edfddd3b0b3fed3ac96f8e8d" head "https://github.com/macvim-dev/macvim.git" From 31e98603e7a9860c8b3fc1c1cca027c3d5bbec7d Mon Sep 17 00:00:00 2001 From: Dustin Brothers Date: Wed, 25 Sep 2024 11:57:13 -0600 Subject: [PATCH 2/3] Checking in macvim formula for latest version possible to install (v7.4.909, tag 80). --- Library/Formula/macvim.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 71c258a0c6a..eb99175650e 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -15,9 +15,9 @@ def message class Macvim < Formula desc "GUI for vim, made for OS X" homepage "https://code.google.com/p/macvim/" - url "https://github.com/macvim-dev/macvim/archive/snapshot-77.tar.gz" - version "7.4-77" - sha256 "4696b2cd6f69093c8a619daee9a0db441ce1a124edfddd3b0b3fed3ac96f8e8d" + url "https://github.com/macvim-dev/macvim/archive/snapshot-80.tar.gz" + version "7.4-80" + sha256 "b07e0fe35e22f30ad2be5f9700e0fca9d3f4a1e91c68b0fdd607f0f732912923" head "https://github.com/macvim-dev/macvim.git" @@ -104,14 +104,14 @@ def install system "./configure", *args - if build.with? "custom-icons" - # Get the custom font used by the icons - system "make", "-C", "src/MacVim/icons", "getenvy" - else - # Building custom icons fails for many users, so off by default. - inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", "" - inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True" - end + #if build.with? "custom-icons" + # # Get the custom font used by the icons + # system "make", "-C", "src/MacVim/icons", "getenvy" + #else + # # Building custom icons fails for many users, so off by default. + # inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", "" + # inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True" + #end system "make" From 19bacac788bda9dea4cd2a86fc4a8b24fd8b3236 Mon Sep 17 00:00:00 2001 From: Dustin Brothers Date: Wed, 25 Sep 2024 12:32:42 -0600 Subject: [PATCH 3/3] Adding back in the branch for custom-icons, didn't mean to leave this commented out. --- Library/Formula/macvim.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index eb99175650e..d533322a353 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -104,14 +104,14 @@ def install system "./configure", *args - #if build.with? "custom-icons" - # # Get the custom font used by the icons - # system "make", "-C", "src/MacVim/icons", "getenvy" - #else - # # Building custom icons fails for many users, so off by default. - # inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", "" - # inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True" - #end + if build.with? "custom-icons" + # Get the custom font used by the icons + system "make", "-C", "src/MacVim/icons", "getenvy" + else + # Building custom icons fails for many users, so off by default. + inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", "" + inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True" + end system "make"