From 66fdba6628078f242004bfe58068502724e7be03 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 9 Feb 2016 10:31:48 +0100 Subject: [PATCH] Fix mouse no longer works with info --- texinfo-6.0-mouse-protocol.patch | 12 ++++++++++++ texinfo.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 texinfo-6.0-mouse-protocol.patch diff --git a/texinfo-6.0-mouse-protocol.patch b/texinfo-6.0-mouse-protocol.patch new file mode 100644 index 0000000..5a0d8bc --- /dev/null +++ b/texinfo-6.0-mouse-protocol.patch @@ -0,0 +1,12 @@ +diff -up texinfo-6.0/info/terminal.c.orig texinfo-6.0/info/terminal.c +--- texinfo-6.0/info/terminal.c.orig 2016-02-09 10:08:15.890357366 +0100 ++++ texinfo-6.0/info/terminal.c 2016-02-09 10:09:52.240642939 +0100 +@@ -76,7 +76,7 @@ VFunction *terminal_write_chars_hook = N + VFunction *terminal_scroll_terminal_hook = NULL; + + /* User variable 'mouse'. Values can be MP_* constants in terminal.h. */ +-int mouse_protocol = MP_NORMAL_TRACKING; ++int mouse_protocol = MP_NONE; + + /* **************************************************************** */ + /* */ diff --git a/texinfo.spec b/texinfo.spec index f40d7cd..8b5d617 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -5,7 +5,7 @@ Summary: Tools needed to create Texinfo format documentation files Name: texinfo Version: 6.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -20,6 +20,8 @@ Source4: filter-provides-texinfo.sh Source5: macros.info Patch0: texinfo-4.12-zlib.patch Patch1: texinfo-6.0-disable-failing-info-test.patch +# bz#1305062 already upstream +Patch2: texinfo-6.0-mouse-protocol.patch Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Requires: perl >= 5.7.3, perl(Text::Unidecode) @@ -68,6 +70,7 @@ for printing using TeX. %setup -q %patch0 -p1 -b .zlib %patch1 -p1 -b .disable-failing-info-test +%patch2 -p1 -b .mouse-protocol %build %configure --with-external-Text-Unidecode \ @@ -170,6 +173,10 @@ fi %{_mandir}/man1/pdftexi2dvi.1* %changelog +* Tue Feb 09 2016 Vitezslav Crhonek - 6.0-2 +- Fix mouse no longer works with info + Resolves: #1305062 + * Tue Jul 14 2015 Vitezslav Crhonek - 6.0-1 - Update to texinfo-6.0 Resolves: #1236254