Hello community, here is the log from the commit of package terminus for openSUSE:Factory checked in at 2019-05-10 09:19:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/terminus (Old) and /work/SRC/openSUSE:Factory/.terminus.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terminus" Fri May 10 09:19:15 2019 rev:4 rq:701595 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/terminus/terminus.changes 2019-03-28 22:50:22.839034732 +0100 +++ /work/SRC/openSUSE:Factory/.terminus.new.5148/terminus.changes 2019-05-10 09:19:19.376421423 +0200 @@ -1,0 +2,6 @@ +Wed May 8 15:11:46 UTC 2019 - Alexei Podvalsky <[email protected]> + +- Update to 1.5.0: + * Now PASTE works with clipboard managers + +------------------------------------------------------------------- Old: ---- terminus-1.4.1.tar.gz New: ---- terminus-1.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ terminus.spec ++++++ --- /var/tmp/diff_new_pack.Q6VLhk/_old 2019-05-10 09:19:20.536423217 +0200 +++ /var/tmp/diff_new_pack.Q6VLhk/_new 2019-05-10 09:19:20.576423278 +0200 @@ -17,7 +17,7 @@ Name: terminus -Version: 1.4.1 +Version: 1.5.0 Release: 0 Summary: An X terminal written in Vala License: GPL-3.0-or-later ++++++ terminus-1.4.1.tar.gz -> terminus-1.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/HISTORY.md new/terminus-1.5.0/HISTORY.md --- old/terminus-1.4.1/HISTORY.md 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/HISTORY.md 2019-05-06 21:30:31.000000000 +0200 @@ -1,5 +1,7 @@ # History of versions # +* Version 1.5.0 (2019-05-06) + * Now PASTE works with clipboard managers * Version 1.4.1 (2019-03-26) * Fixed COPY keybinding * Version 1.4.0 (2019-02-28) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/PKGBUILD new/terminus-1.5.0/PKGBUILD --- old/terminus-1.4.1/PKGBUILD 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/PKGBUILD 2019-05-06 21:30:31.000000000 +0200 @@ -1,5 +1,5 @@ pkgname=terminus -pkgver=1.4.1 +pkgver=1.5.0 pkgrel=1 pkgdesc="A new terminal for XWindows " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/debian/changelog new/terminus-1.5.0/debian/changelog --- old/terminus-1.4.1/debian/changelog 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/debian/changelog 2019-05-06 21:30:31.000000000 +0200 @@ -1,3 +1,9 @@ +terminus (1.5.0-Debian1) sid; urgency=low + + * Now PASTE works with clipboard managers + + -- Sergio Costas Rodriguez <[email protected]> Mon, 06 May 2019 23:55:00 +0200 + terminus (1.4.1-Debian1) sid; urgency=low * Fixed COPY keybinding diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/debian/control new/terminus-1.5.0/debian/control --- old/terminus-1.4.1/debian/control 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/debian/control 2019-05-06 21:30:31.000000000 +0200 @@ -8,7 +8,7 @@ Package: terminus Architecture: any -Version: 1.4.1 +Version: 1.5.0 Depends: libgee-0.8-2, libkeybinder-3.0-0, libvte-2.91-0, libpcre3, libglib2.0-bin Description: A new terminal for X11 and Wayland both for classic, in-window terminal, and Guake-like (hot-key drop-down mode) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/rpmbuild/SPECS/terminus.spec new/terminus-1.5.0/rpmbuild/SPECS/terminus.spec --- old/terminus-1.4.1/rpmbuild/SPECS/terminus.spec 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/rpmbuild/SPECS/terminus.spec 2019-05-06 21:30:31.000000000 +0200 @@ -1,5 +1,5 @@ Name: terminus -Version: 1.4.1 +Version: 1.5.0 Release: 1 License: Unknown/not set Summary: A new terminal for XWindows and Wayland diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/src/CMakeLists.txt new/terminus-1.5.0/src/CMakeLists.txt --- old/terminus-1.4.1/src/CMakeLists.txt 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/src/CMakeLists.txt 2019-05-06 21:30:31.000000000 +0200 @@ -7,13 +7,13 @@ set (RELEASE_NAME "terminus") set (CMAKE_C_FLAGS "") set (PREFIX ${CMAKE_INSTALL_PREFIX}) -set (VERSION "1.4.1") +set (VERSION "1.5.0") set (TESTSRCDIR "${CMAKE_SOURCE_DIR}") set (DOLLAR "$") configure_file (${CMAKE_SOURCE_DIR}/src/Config.vala.base ${CMAKE_BINARY_DIR}/src/Config.vala) add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\") -set (VERSION "1.4.1") +set (VERSION "1.5.0") add_definitions (${DEPS_CFLAGS}) link_libraries ( ${DEPS_LIBRARIES} ) link_directories ( ${DEPS_LIBRARY_DIRS} ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/src/meson.build new/terminus-1.5.0/src/meson.build --- old/terminus-1.4.1/src/meson.build 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/src/meson.build 2019-05-06 21:30:31.000000000 +0200 @@ -4,7 +4,7 @@ cfg_terminus.set('GETTEXT_PACKAGE', 'terminus') cfg_terminus.set('RELEASE_NAME', 'terminus') cfg_terminus.set('PREFIX', get_option('prefix')) -cfg_terminus.set('VERSION', '1.4.1') +cfg_terminus.set('VERSION', '1.5.0') cfg_terminus.set('TESTSRCDIR', meson.source_root()) cfgfile_2 = configure_file( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/src/terminal.vala new/terminus-1.5.0/src/terminal.vala --- old/terminus-1.4.1/src/terminal.vala 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/src/terminal.vala 2019-05-06 21:30:31.000000000 +0200 @@ -72,6 +72,20 @@ this.container = container; } + private void do_copy() { + this.vte_terminal.copy_primary(); + var primary = Gtk.Clipboard.get(Gdk.SELECTION_PRIMARY); + var clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD); + clipboard.set_text(primary.wait_for_text(), -1); + } + + private void do_paste() { + var primary = Gtk.Clipboard.get(Gdk.SELECTION_PRIMARY); + var clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD); + primary.set_text(clipboard.wait_for_text(), -1); + this.vte_terminal.paste_primary(); + } + public Terminal(Terminus.Base main_container, Terminus.Container top_container, Terminus.Container container) { this.container = container; // when creating a new terminal, it must take the focus @@ -165,16 +179,13 @@ this.menu = new Gtk.Menu(); this.item_copy = new Gtk.MenuItem.with_label(_("Copy")); this.item_copy.activate.connect(() => { - this.vte_terminal.copy_primary(); - var primary = Gtk.Clipboard.get(Gdk.SELECTION_PRIMARY); - var clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD); - clipboard.set_text(primary.wait_for_text(), -1); + this.do_copy(); }); this.menu.add(this.item_copy); var item = new Gtk.MenuItem.with_label(_("Paste")); item.activate.connect(() => { - this.vte_terminal.paste_primary(); + this.do_paste(); }); this.menu.add(item); @@ -497,15 +508,12 @@ } if ((eventkey.keyval == this.copy.keyval) && (eventkey.state == this.copy.state)) { - this.vte_terminal.copy_primary(); - var primary = Gtk.Clipboard.get(Gdk.SELECTION_PRIMARY); - var clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD); - clipboard.set_text(primary.wait_for_text(), -1); + this.do_copy(); return true; } if ((eventkey.keyval == this.paste.keyval) && (eventkey.state == this.paste.state)) { - this.vte_terminal.paste_primary(); + this.do_paste(); return true; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/src/terminus.vala new/terminus-1.5.0/src/terminus.vala --- old/terminus-1.4.1/src/terminus.vala 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/src/terminus.vala 2019-05-06 21:30:31.000000000 +0200 @@ -19,7 +19,7 @@ using Gtk; using Gee; -//project version = 1.4.1 +//project version = 1.5.0 namespace Terminus { TerminusRoot main_root; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.4.1/terminus.avprj new/terminus-1.5.0/terminus.avprj --- old/terminus-1.4.1/terminus.avprj 2019-03-27 20:37:46.000000000 +0100 +++ new/terminus-1.5.0/terminus.avprj 2019-05-06 21:30:31.000000000 +0200 @@ -13,7 +13,7 @@ *vapidir: src/vapidir vala_binary: src/terminus -*version: 1.4.1 +*version: 1.5.0 use_gresource: extras_gresource_xml vala_vapi: checkwayland.vapi *vala_package: posix
