diff --git a/files/utf8.patch b/files/utf8.patch new file mode 100644 --- /dev/null +++ b/files/utf8.patch @@ -0,0 +1,44 @@ +diff --git a/src/Widgets/TerminalBox.vala b/src/Widgets/TerminalBox.vala +index d1ae394a..8594fdcc 100755 +--- a/src/Widgets/TerminalBox.vala ++++ b/src/Widgets/TerminalBox.vala +@@ -100,7 +100,7 @@ namespace EasySSH { + #if UBUNTU_BIONIC_PATCHED_VTE + term.feed_child(cmd, cmd.length); + #else +- term.feed_child(cmd.to_utf8 ()); ++ term.feed_child((uint8[])cmd.to_utf8 ()); + #endif + } + +@@ -198,7 +198,7 @@ namespace EasySSH { + #if UBUNTU_BIONIC_PATCHED_VTE + term.feed_child(cmd, cmd.length); + #else +- term.feed_child(cmd.to_utf8 ()); ++ term.feed_child((uint8[])cmd.to_utf8 ()); + #endif + } + +@@ -207,7 +207,7 @@ namespace EasySSH { + #if UBUNTU_BIONIC_PATCHED_VTE + term.feed_child(n_cmd, cmd.length); + #else +- term.feed_child(n_cmd.to_utf8 ()); ++ term.feed_child((uint8[])n_cmd.to_utf8 ()); + #endif + } + +diff --git a/src/Widgets/TerminalWidget.vala b/src/Widgets/TerminalWidget.vala +index 0efc6945..f8784e08 100755 +--- a/src/Widgets/TerminalWidget.vala ++++ b/src/Widgets/TerminalWidget.vala +@@ -216,7 +216,7 @@ namespace EasySSH { + #if UBUNTU_BIONIC_PATCHED_VTE + this.feed_child(cmd, cmd.length); + #else +- this.feed_child(cmd.to_utf8 ()); ++ this.feed_child((uint8[])cmd.to_utf8 ()); + #endif + } + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,6 +1,6 @@ name : easyssh version : 1.6.6 -release : 19 +release : 20 source : - https://github.com/muriloventuroso/easyssh/archive/1.6.6.tar.gz : 9ca938b62c4adf2fe23e4b855b55fbc61297515434d1a042155efdb4ec60a371 license : GPL-3.0-or-later @@ -19,6 +19,7 @@ rundeps : - gpgme setup : | + %patch -p1 < $pkgfiles/utf8.patch %meson_configure -Dwith-gpg=true \ -Dlibunity=false \ -Dubuntu-bionic-patched-vte=false diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ easyssh - Pierre-Yves - pyu@riseup.net + Albert Krenz + albert.krenz+solus@mailbox.org GPL-3.0-or-later network.util @@ -232,12 +232,12 @@ - - 2020-02-09 + + 2020-06-17 1.6.6 Packaging update - Pierre-Yves - pyu@riseup.net + Albert Krenz + albert.krenz+solus@mailbox.org \ No newline at end of file