mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 13:06:38 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2548191f1
|
|||
|
8ed16b27c0
|
|||
|
14f7aa13d9
|
|||
| 59ebbdaa2b | |||
|
d98c14dde5
|
|||
|
590b0ac21a
|
|||
|
8c84ef128f
|
|||
|
8b447b6237
|
|||
|
c3d19694e7
|
1
Brewfile
1
Brewfile
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
brew 'autoconf'
|
brew 'autoconf'
|
||||||
brew 'coreutils'
|
brew 'coreutils'
|
||||||
brew 'curl'
|
|
||||||
brew 'dbus'
|
brew 'dbus'
|
||||||
brew 'expat'
|
brew 'expat'
|
||||||
brew 'gcc'
|
brew 'gcc'
|
||||||
|
|||||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
### [0.6.41](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.40...v0.6.41) (2023-01-16)
|
||||||
|
|
||||||
|
### [0.6.40](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.39...v0.6.40) (2023-01-08)
|
||||||
|
|
||||||
|
### [0.6.39](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.38...v0.6.39) (2022-12-04)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **deprecate:** posix-spawn patch is no longer supported ([c3d1969](https://github.com/jimeh/build-emacs-for-macos/commit/c3d19694e7e4d33d462c9917683c2d63f69002f5))
|
||||||
|
* **version:** correctly handle Emacs 30.x builds ([8b447b6](https://github.com/jimeh/build-emacs-for-macos/commit/8b447b6237fbbd94c4e72af8ee79969c7cfc9363))
|
||||||
|
|
||||||
### [0.6.38](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.37...v0.6.38) (2022-12-01)
|
### [0.6.38](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.37...v0.6.38) (2022-12-01)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -658,8 +658,10 @@ class Build
|
|||||||
'emacs-27'
|
'emacs-27'
|
||||||
when /^emacs-28.*/
|
when /^emacs-28.*/
|
||||||
'emacs-28'
|
'emacs-28'
|
||||||
else
|
when /^emacs-29.*/
|
||||||
'emacs-29'
|
'emacs-29'
|
||||||
|
else
|
||||||
|
'emacs-30'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -667,14 +669,14 @@ class Build
|
|||||||
def patches(opts = {})
|
def patches(opts = {})
|
||||||
p = []
|
p = []
|
||||||
|
|
||||||
if %w[emacs-26 emacs-27 emacs-28 emacs-29].include?(effective_version)
|
if %w[emacs-26 emacs-27 emacs-28 emacs-29 emacs-30].include?(effective_version)
|
||||||
p << {
|
p << {
|
||||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||||
"patches/#{effective_version}/fix-window-role.patch"
|
"patches/#{effective_version}/fix-window-role.patch"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
if %w[emacs-27 emacs-28 emacs-29].include?(effective_version)
|
if %w[emacs-27 emacs-28 emacs-29 emacs-30].include?(effective_version)
|
||||||
p << {
|
p << {
|
||||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||||
"patches/#{effective_version}/system-appearance.patch"
|
"patches/#{effective_version}/system-appearance.patch"
|
||||||
@@ -695,7 +697,7 @@ class Build
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if effective_version == 'emacs-29'
|
if %w[emacs-29 emacs-30].include?(effective_version)
|
||||||
p << {
|
p << {
|
||||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||||
"patches/#{effective_version}/round-undecorated-frame.patch"
|
"patches/#{effective_version}/round-undecorated-frame.patch"
|
||||||
@@ -708,15 +710,6 @@ class Build
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if %w[emacs-28 emacs-29].include?(effective_version)
|
|
||||||
if options[:posix_spawn]
|
|
||||||
p << {
|
|
||||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
|
||||||
"patches/#{effective_version}/posix-spawn.patch"
|
|
||||||
}
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if effective_version == 'emacs-28'
|
if effective_version == 'emacs-28'
|
||||||
p << {
|
p << {
|
||||||
replace: [
|
replace: [
|
||||||
@@ -1346,8 +1339,8 @@ if __FILE__ == $PROGRAM_NAME
|
|||||||
cli_options[:no_titlebar] = true
|
cli_options[:no_titlebar] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on('--posix-spawn', 'Apply posix-spawn patch (default: disabled)') do
|
opts.on('--posix-spawn', 'Apply posix-spawn patch (deprecated)') do
|
||||||
cli_options[:posix_spawn] = true
|
warn '==> WARN: posix-spawn patch is deprecated as has no effect.'
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on('--no-frame-refocus',
|
opts.on('--no-frame-refocus',
|
||||||
|
|||||||
Reference in New Issue
Block a user