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
Yacin Nadji 2011-08-19 13:01:50 -04:00 committed by Adam Vandenberg
parent 2bcaa51501
commit 2927fab908
1 changed files with 16 additions and 9 deletions

View File

@ -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"