[Python-apps-commits] r11020 - in packages/terminator/trunk/debian/patches (1 file)

julian at users.alioth.debian.org julian at users.alioth.debian.org
Tue Jul 1 20:32:06 UTC 2014


    Date: Tuesday, July 1, 2014 @ 20:32:05
  Author: julian
Revision: 11020

fix -e parameter to work as x-terminal-emulator

Added:
  packages/terminator/trunk/debian/patches/x-terminal-emulator-fix.diff

Added: packages/terminator/trunk/debian/patches/x-terminal-emulator-fix.diff
===================================================================
--- packages/terminator/trunk/debian/patches/x-terminal-emulator-fix.diff	                        (rev 0)
+++ packages/terminator/trunk/debian/patches/x-terminal-emulator-fix.diff	2014-07-01 20:32:05 UTC (rev 11020)
@@ -0,0 +1,22 @@
+Description: Fix -e parameter to comply Policy 11.8.3.
+ Based on patch from Neal Fultz <nfultz at gmail.com>
+Forwarded: https://bugs.launchpad.net/bugs/366644
+Author: Julián Moreno Patiño <julian at debian.org>
+Origin: http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/revision/1446
+Last-Update: 2014-01-16
+--- a/terminatorlib/optionparse.py
++++ b/terminatorlib/optionparse.py
+@@ -59,8 +59,11 @@
+     parser.add_option('--geometry', dest='geometry', type='string', 
+                       help=_('Set the preferred size and position of the window'
+                              '(see X man page)'))
+-    parser.add_option('-e', '--command', dest='command', 
+-            help=_('Specify a command to execute inside the terminal'))
++    parser.add_option('--command', dest='command', 
++                      help=_('Specify a command to execute inside the terminal'))
++    parser.add_option('-e', '--execute2', dest='execute', action='callback', callback=execute_cb, 
++                      help=_('Use the rest of the command line as a command to '
++                       'execute inside the terminal, and its arguments'))
+     parser.add_option('-g', '--config', dest='config', 
+                       help=_('Specify a config file'))
+     parser.add_option('-x', '--execute', dest='execute', action='callback',




More information about the Python-apps-commits mailing list