Skip to content
Snippets Groups Projects
Commit ecaad767 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

Added a patch to the custom commands plugin to fix the feed_child() call

parent e521d01b
No related branches found
No related tags found
No related merge requests found
diff -ura terminator-1.91.orig/terminatorlib/plugins/custom_commands.py terminator-1.91.new/terminatorlib/plugins/custom_commands.py
--- terminator-1.91.orig/terminatorlib/plugins/custom_commands.py 2017-02-26 14:45:29.000000000 -0300
+++ terminator-1.91.new/terminatorlib/plugins/custom_commands.py 2018-04-10 18:22:55.566435800 -0300
@@ -127,7 +127,7 @@
if command[-1] != '\n':
command = command + '\n'
for terminal in data['terminals']:
- terminal.vte.feed_child(command, len(command))
+ terminal.vte.feed_child(command)
def configure(self, widget, data = None):
ui = {}
......@@ -6,7 +6,7 @@
pkgname=terminator
pkgver=1.91
pkgrel=5
pkgrel=6
pkgdesc='Terminal emulator that supports tabs and grids'
arch=('any')
url='https://gnometerminator.blogspot.com/p/introduction.html'
......@@ -14,11 +14,14 @@ license=('GPL2')
depends=('gsettings-desktop-schemas' 'libkeybinder3' 'libnotify' 'python2-cairo' 'python2-dbus' 'python2-psutil' 'python2-gobject' 'vte3' 'xdg-utils')
makedepends=('intltool')
source=("https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
"https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz.asc")
"https://launchpad.net/terminator/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz.asc"
"001-custom_commands.patch")
md5sums=('2eed999d7a41f2e18eaa511bbbf80f58'
'SKIP')
'SKIP'
'd6c51930c0c741c327641de3adfe0aa1')
sha512sums=('6feee96cda08f913601d3b01e51632bed87712ddb5ce577df1daa8a5fe4e8dc39075d5e21f87b865d1f007c7e1070ee2c0c814540c9c7786f0f24fbee762a03d'
'SKIP')
'SKIP'
'db1e3bbc911afaedd07dae0d34301b15ae28ecec54f7ce10a9c0fd6e2ebd6eaac643e8b6c2a01942f76ba51a41c39eb164fa83e3c78f13ef8441c253a5408d4d')
validpgpkeys=('FE67C001C72200A71DE9EFA5DB69E1780B95EF32')
prepare() {
......@@ -32,6 +35,9 @@ prepare() {
# fix run without gconf
sed -i 's/except ImportError:/except ValueError:/' terminatorlib/config.py
# patch the custom commands plugin
patch -Np1 -i "${srcdir}/001-custom_commands.patch"
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment