diff --git a/bz-1573927.patch b/bz-1573927.patch new file mode 100644 index 0000000..421f98c --- /dev/null +++ b/bz-1573927.patch @@ -0,0 +1,12 @@ +diff -uNr terminator-1.91.orig/terminatorlib/plugins/custom_commands.py terminator-1.91/terminatorlib/plugins/custom_commands.py +--- terminator-1.91.orig/terminatorlib/plugins/custom_commands.py 2019-12-20 22:12:24.475810054 -0500 ++++ terminator-1.91/terminatorlib/plugins/custom_commands.py 2019-12-20 22:18:07.372918068 -0500 +@@ -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_binary(command.encode(terminal.vte.get_encoding())) + + def configure(self, widget, data = None): + ui = {} diff --git a/terminator.spec b/terminator.spec index 467bd18..e63093d 100644 --- a/terminator.spec +++ b/terminator.spec @@ -1,6 +1,6 @@ Name: terminator Version: 1.91 -Release: 12%{?dist} +Release: 14%{?dist} Summary: Store and run multiple GNOME terminals in one window License: GPLv2 @@ -20,6 +20,7 @@ Requires: python3-psutil Patch0: 0000-terminator-fix-desktop-file.patch Patch1: python3.patch Patch2: terminator-py3-dnd.patch +Patch3: bz-1573927.patch %description Multiple GNOME terminals in one window. This is a project to produce @@ -35,6 +36,7 @@ arrangements of terminals for different tasks. %patch0 -p0 %patch1 -p1 %patch2 -p0 +%patch3 -p1 %build @@ -70,6 +72,8 @@ desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications data/%{name %{_datadir}/pixmaps/%{name}.png %changelog +* Fri Dec 20 2019 Matt Rose - 1.91-14 +- fix bug 1573927 * Tue Dec 17 2019 Matt Rose - 1.91-12 - Fix url Drag and Drop. Thanks to Egmont Koblinger