urxvt: add --disable-iso14755
There's an annoying hardcoded key combination (Ctrl+Shift) that starts ISO 14755 mode for i18n support. Given the ubiquity of UTF-8, this mode is largely useless and can only be disabled with a command-line option. A simple search on google shows how many people find this annoying: http://www.google.com/search?q=disable+iso14755&oq=disable+iso14755 Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
2bcaa51501
commit
2927fab908
|
@ -14,16 +14,23 @@ class RxvtUnicode < Formula
|
|||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--mandir=#{man}",
|
||||
"--disable-afterimage",
|
||||
"--enable-perl",
|
||||
"--enable-256-color",
|
||||
"--with-term=rxvt-unicode-256color",
|
||||
"--with-terminfo=/usr/share/terminfo",
|
||||
"--enable-smart-resize"
|
||||
def options
|
||||
[["--disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"]]
|
||||
end
|
||||
|
||||
def install
|
||||
args = ["--prefix=#{prefix}",
|
||||
"--mandir=#{man}",
|
||||
"--disable-afterimage",
|
||||
"--enable-perl",
|
||||
"--enable-256-color",
|
||||
"--with-term=rxvt-unicode-256color",
|
||||
"--with-terminfo=/usr/share/terminfo",
|
||||
"--enable-smart-resize"]
|
||||
|
||||
args << "--disable-iso14755" if ARGV.include? "--disable-iso14755"
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
# `make` won't work unless we rename this because of HFS's default case-insensitivity
|
||||
system "mv INSTALL README.install"
|
||||
|
|
Loading…
Reference in New Issue