Date: Tuesday, April 10, 2018 @ 21:31:42 Author: grazzolini Revision: 315638
upgpkg: terminator 1.91-6 Added a patch to the custom commands plugin to fix the feed_child() call Added: terminator/trunk/001-custom_commands.patch Modified: terminator/trunk/PKGBUILD ---------------------------+ 001-custom_commands.patch | 12 ++++++++++++ PKGBUILD | 14 ++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) Added: 001-custom_commands.patch =================================================================== --- 001-custom_commands.patch (rev 0) +++ 001-custom_commands.patch 2018-04-10 21:31:42 UTC (rev 315638) @@ -0,0 +1,12 @@ +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 = {} Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-10 21:26:47 UTC (rev 315637) +++ PKGBUILD 2018-04-10 21:31:42 UTC (rev 315638) @@ -7,7 +7,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' @@ -15,11 +15,14 @@ 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() { @@ -33,6 +36,9 @@ # 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() {