Created
July 22, 2011 16:40
-
-
Save ogawa/1099812 to your computer and use it in GitHub Desktop.
emacs.rb with emacs-inline and fullscreen patches.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb | |
index 856a34a..20654fd 100644 | |
--- a/Library/Formula/emacs.rb | |
+++ b/Library/Formula/emacs.rb | |
@@ -28,6 +28,7 @@ class Emacs < Formula | |
def patches | |
p = [] | |
+ p0 = [] | |
# Fix for building with Xcode 4; harmless on Xcode 3.x. | |
unless ARGV.build_head? | |
@@ -36,17 +37,23 @@ class Emacs < Formula | |
# http://repo.or.cz/w/emacs.git/patch/f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3 | |
p << "https://raw.github.com/gist/1098107" | |
# Fix for the titlebar issue on Mac OS X 10.7 | |
- p << "https://raw.github.com/gist/1102744" | |
+ # p << "https://raw.github.com/gist/1102744" | |
# Fix for Shift key for IME users | |
- p << "https://raw.github.com/gist/1212776" | |
+ # p << "https://raw.github.com/gist/1212776" | |
end | |
if ARGV.include? "--cocoa" | |
# Fullscreen patch, works against 23.3 and HEAD. | |
p << "https://raw.github.com/gist/1012927" | |
+ | |
+ # MacEmacs JP patches | |
+ p0 << "http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk/emacs-inline.patch" | |
+ p0 << "http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk/font.patch" | |
end | |
+ | |
+ p << "https://raw.github.com/gist/1101856" | |
- return p | |
+ return { :p0 => p0, :p1 => p } | |
end | |
def install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment