From 95aaa6269dcdb6795852668e2ae062e89f3d1fc8 Mon Sep 17 00:00:00 2001 From: Xin Xu Date: Tue, 8 Aug 2023 16:18:00 -0400 Subject: [PATCH] casks for emacs-29.1-mac-10.0 --- Casks/emacs-mac-spacemacs-icon.rb | 25 +++++++++++++++++-------- Casks/emacs-mac.rb | 21 +++++++++++++-------- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/Casks/emacs-mac-spacemacs-icon.rb b/Casks/emacs-mac-spacemacs-icon.rb index 7336292..8e0e618 100644 --- a/Casks/emacs-mac-spacemacs-icon.rb +++ b/Casks/emacs-mac-spacemacs-icon.rb @@ -1,23 +1,28 @@ cask 'emacs-mac-spacemacs-icon' do - version 'emacs-28.2-mac-9.1' + version 'emacs-29.1-mac-10.0' if Hardware::CPU.intel? depends_on macos: ">= :big_sur" if MacOS.version <= :big_sur - sha256 '8bd96c3500d8cbb02a9102baac76e34c88a1b9fd2ac6af295ceb0410788be712' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-11.6.8-spacemacs-icon.zip' + sha256 '7f8f4923c38fefcb18ebb5922fb983bcca3b6328c75f6f8812787a7cdf77b9ee' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-x86_64-11.7.8-spacemacs-icon.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" else # for macOS version is or newer than Big Sur - sha256 '7693e13cab343f081210f78973cb8b13b9bf768734a989afb87c64adb1e5902b' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-12.6-spacemacs-icon.zip' + sha256 '0d724e7bcd67ac8b16c50055df033220ffba570bd669ae209769d63e3dbe2a59' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-x86_64-12.6.7-spacemacs-icon.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" end else # Apple Silicon depends_on macos: ">= :monterey" - # for macOS version is or newer than Monterey - sha256 '90f8c924e3dabe9e5344190c8e841f4d918b447a47899011f1909728dd79b64b' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-arm64-12.5.1-spacemacs-icon.zip' + if MacOS.version <= :monterey + sha256 'dd3caddf159e855395abfa60561833af8bbb436354a27cd25df44b2b737da494' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-arm64-12.5.1-spacemacs-icon.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + else + # for macOS version is or newer than Monterey + sha256 'd47dddbf74a15d509a8217ed27a1a51bc9f19a35e7554d14dcdc7fbf4cb65f3e' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-arm64-13.4-spacemacs-icon.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + end end name 'Emacs-mac with spacemacs icon' @@ -36,6 +41,10 @@ binary "#{appdir}/Emacs.app/Contents/MacOS/bin/etags" binary "#{appdir}/Emacs.app/Contents/Resources/include/emacs-module.h", target: "#{HOMEBREW_PREFIX}/include/emacs-module.h" binary "#{appdir}/Emacs.app/Contents/Resources/site-lisp/subdirs.el", target: "#{HOMEBREW_PREFIX}/share/emacs/site-lisp/subdirs.el" + manpage "#{appdir}/Emacs.app/Contents/Resources/man/man1/ebrowse.1.gz" + manpage "#{appdir}/Emacs.app/Contents/Resources/man/man1/emacs.1.gz" + manpage "#{appdir}/Emacs.app/Contents/Resources/man/man1/emacsclient.1.gz" + manpage "#{appdir}/Emacs.app/Contents/Resources/man/man1/etags.1.gz" zap trash: [ '~/Library/Caches/org.gnu.Emacs', diff --git a/Casks/emacs-mac.rb b/Casks/emacs-mac.rb index 6237b59..d3bf911 100644 --- a/Casks/emacs-mac.rb +++ b/Casks/emacs-mac.rb @@ -1,23 +1,28 @@ cask 'emacs-mac' do - version 'emacs-28.2-mac-9.1' + version 'emacs-29.1-mac-10.0' if Hardware::CPU.intel? depends_on macos: ">= :big_sur" if MacOS.version <= :big_sur - sha256 '6a62f75894475fa3d9474cb5b7a9a596c5c5466b94398687b8a71d84fc3af6d8' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-11.6.8.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + sha256 'f2f7f8230cb9db9db24fde1cde07928a99c05eb8d949662e761fe04cce029ca7' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-x86_64-11.7.8.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" else # for macOS version is or newer than Monterey - sha256 '484690f89fceaa03f686b38bff6c12f462bf26e1e8d61283fe22df30d1481482' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-12.6.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + sha256 'ac86abc88d66000bf92c845664d643f1c5f3595da9a328366952683e070d0d55' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-x86_64-12.6.7.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" end else # Apple Silicon depends_on macos: ">= :monterey" - # for macOS version is or newer than Monterey - sha256 '488a1bf68a87a3dd304a25f2a1fe2f0b4ae95c2c80bfe4e53bdbeff0e3a2c5d4' - url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-28.2-mac-9.1/emacs-28.2-mac-9.1-arm64-12.5.1.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + if MacOS.version <= :monterey + sha256 '5224bb69e1f36d52284f22368507664096d7ab2cec360b370f08c29e0f3a9000' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-arm64-12.5.1.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + else + # for macOS version is or newer than ventura + sha256 '0caf0dd36115a2b648abc94ce715ca844071ced0ff6bac6dbed5c1d2fa66df24' + url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-arm64-13.4.zip', verified: "github.com/railwaycat/homebrew-emacsmacport" + end end name 'Emacs-mac'