From 64e280c53f25e1995dbd0831883a68bb5f19c60d Mon Sep 17 00:00:00 2001 From: Yacin Nadji Date: Fri, 19 Aug 2011 13:01:50 -0400 Subject: 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 --- Library/Formula/rxvt-unicode.rb | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb index 4011fcd54..d812d6643 100644 --- a/Library/Formula/rxvt-unicode.rb +++ b/Library/Formula/rxvt-unicode.rb @@ -14,16 +14,23 @@ class RxvtUnicode < Formula DATA end + def options + [["--disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"]] + 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" + 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" -- cgit v1.2.3