Date: Wednesday, March 30, 2016 @ 19:51:00 Author: jelle Revision: 168923
upgpkg: vte3-ng 0.44.0.a-2 Added: vte3-ng/trunk/remove_cursor.patch Modified: vte3-ng/trunk/PKGBUILD ---------------------+ PKGBUILD | 13 ++++++++++--- remove_cursor.patch | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-03-30 17:41:27 UTC (rev 168922) +++ PKGBUILD 2016-03-30 17:51:00 UTC (rev 168923) @@ -4,7 +4,7 @@ pkgname=vte3-ng _basever=0.44.0 pkgver=$_basever.a -pkgrel=1 +pkgrel=2 pkgdesc="Enhanced Virtual Terminal Emulator widget for use with GTK3" arch=('i686' 'x86_64') license=('LGPL') @@ -12,12 +12,19 @@ depends=('gtk3' 'vte-common' 'pcre2') makedepends=('intltool' 'gobject-introspection' 'gtk3' 'vala' 'gtk-doc' 'gperf') url="https://github.com/thestinger/vte-ng" -source=(https://github.com/thestinger/vte-ng/archive/$pkgver.tar.gz) -sha256sums=('bfa4f4148a63e8b730ab272792f55d03c8afa632bb5c28a440e1a5a8134c4b1b') +source=(https://github.com/thestinger/vte-ng/archive/$pkgver.tar.gz remove_cursor.patch::https://github.com/GNOME/vte/commit/e5a00b5b71194be9f2881dee67d82c308406dea7.patch) +sha256sums=('bfa4f4148a63e8b730ab272792f55d03c8afa632bb5c28a440e1a5a8134c4b1b' + 'b5a3be5c66f363b106673ac79359fa8af3233512376ed6596ca5f4a2301dda7a') provides=(vte3=$_basever vte3-select-text=$_basever) conflicts=(vte3 vte3-select-text) replaces=(vte3-select-text) +prepare() { + cd "vte-ng-$pkgver" + # Add patch for https://bugzilla.gnome.org/show_bug.cgi?id=764299 + patch -Np1 -i $srcdir/remove_cursor.patch +} + build() { cd "vte-ng-$pkgver" ./autogen.sh --prefix=/usr --sysconfdir=/etc \ Added: remove_cursor.patch =================================================================== --- remove_cursor.patch (rev 0) +++ remove_cursor.patch 2016-03-30 17:51:00 UTC (rev 168923) @@ -0,0 +1,32 @@ +From e5a00b5b71194be9f2881dee67d82c308406dea7 Mon Sep 17 00:00:00 2001 +From: Egmont Koblinger <egm...@gmail.com> +Date: Wed, 30 Mar 2016 10:46:53 +0200 +Subject: [PATCH] widget: Properly remove the cursor from its old position + +https://bugzilla.gnome.org/show_bug.cgi?id=764299 +--- + src/vte.cc | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/src/vte.cc b/src/vte.cc +index ce54d89..23f2782 100644 +--- a/src/vte.cc ++++ b/src/vte.cc +@@ -4069,8 +4069,7 @@ VteTerminalPrivate::process_incoming() + if ((saved_cursor.col != m_screen->cursor.col) || + (saved_cursor.row != m_screen->cursor.row)) { + /* invalidate the old and new cursor positions */ +- // FIXMEchpe shouldn't this be old_cursor_visible with an 'auto old_cursor_visible = ...'above? +- if (m_cursor_visible) ++ if (saved_cursor_visible) + invalidate_cell(saved_cursor.col, saved_cursor.row); + invalidate_cursor_once(); + check_cursor_blink(); +@@ -4078,7 +4077,6 @@ VteTerminalPrivate::process_incoming() + queue_cursor_moved(); + } else if ((saved_cursor_visible != m_cursor_visible) || + (saved_cursor_style != m_cursor_style)) { +- // FIXMEchpe need to invalidate like invalidate_cursor_once() just for the saved_cursor coords! + invalidate_cell(saved_cursor.col, saved_cursor.row); + check_cursor_blink(); + }