Hello community, here is the log from the commit of package terminus for openSUSE:Factory checked in at 2020-01-15 16:16:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/terminus (Old) and /work/SRC/openSUSE:Factory/.terminus.new.30080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terminus" Wed Jan 15 16:16:25 2020 rev:7 rq:764491 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/terminus/terminus.changes 2019-10-16 09:18:49.794919448 +0200 +++ /work/SRC/openSUSE:Factory/.terminus.new.30080/terminus.changes 2020-01-15 16:52:39.693411321 +0100 @@ -1,0 +2,7 @@ +Sat Jan 11 10:18:21 UTC 2020 - Alexei Podvalsky <avvi...@yandex.by> + +- Update to 1.8.0: + * Now, under wayland, opens guake window in the mouse monitor + * Fixed red color spilling outside the window + +------------------------------------------------------------------- Old: ---- terminus-1.7.1.tar.gz New: ---- terminus-1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ terminus.spec ++++++ --- /var/tmp/diff_new_pack.UxHul3/_old 2020-01-15 16:52:40.025411477 +0100 +++ /var/tmp/diff_new_pack.UxHul3/_new 2020-01-15 16:52:40.025411477 +0100 @@ -17,7 +17,7 @@ Name: terminus -Version: 1.7.1 +Version: 1.8.0 Release: 0 Summary: An X terminal written in Vala License: GPL-3.0-or-later ++++++ terminus-1.7.1.tar.gz -> terminus-1.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/HISTORY.md new/terminus-1.8.0/HISTORY.md --- old/terminus-1.7.1/HISTORY.md 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/HISTORY.md 2019-12-26 19:32:20.000000000 +0100 @@ -1,7 +1,9 @@ # History of versions # -* Version 1.7.1 (2019-10-14) +* Version 1.8.0 (2019-12-26) + * Now, under wayland, opens guake window in the mouse monitor * Fixed red color spilling outside the window + * Changed license to GPLv3 only * Version 1.7.0 (2019-10-11) * Fixed the right-click menu under Wayland * Fixed several compiling warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/PKGBUILD new/terminus-1.8.0/PKGBUILD --- old/terminus-1.7.1/PKGBUILD 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/PKGBUILD 2019-12-26 19:32:20.000000000 +0100 @@ -1,5 +1,5 @@ pkgname=terminus -pkgver=1.7.1 +pkgver=1.8.0 pkgrel=1 pkgdesc="A new terminal for XWindows " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/debian/changelog new/terminus-1.8.0/debian/changelog --- old/terminus-1.7.1/debian/changelog 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/debian/changelog 2019-12-26 19:32:20.000000000 +0100 @@ -1,8 +1,10 @@ -terminus (1.7.1-Debian1) sid; urgency=low +terminus (1.8.0-Debian1) sid; urgency=low + * Now, under wayland, opens guake window in the mouse monitor * Fixed red color spilling outside the window + * Changed license to GPLv3 only - -- Sergio Costas Rodriguez <ras...@rastersoft.com> Mon, 14 Oct 2019 23:55:00 +0200 + -- Sergio Costas Rodriguez <ras...@rastersoft.com> Thu, 26 Dec 2019 23:55:00 +0200 terminus (1.7.0-Debian1) sid; urgency=low diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/debian/control new/terminus-1.8.0/debian/control --- old/terminus-1.7.1/debian/control 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/debian/control 2019-12-26 19:32:20.000000000 +0100 @@ -8,7 +8,7 @@ Package: terminus Architecture: any -Version: 1.7.1 +Version: 1.8.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.7.1/rpmbuild/SPECS/terminus.spec new/terminus-1.8.0/rpmbuild/SPECS/terminus.spec --- old/terminus-1.7.1/rpmbuild/SPECS/terminus.spec 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/rpmbuild/SPECS/terminus.spec 2019-12-26 19:32:20.000000000 +0100 @@ -1,5 +1,5 @@ Name: terminus -Version: 1.7.1 +Version: 1.8.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.7.1/src/CMakeLists.txt new/terminus-1.8.0/src/CMakeLists.txt --- old/terminus-1.7.1/src/CMakeLists.txt 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/CMakeLists.txt 2019-12-26 19:32:20.000000000 +0100 @@ -7,13 +7,13 @@ set (RELEASE_NAME "terminus") set (CMAKE_C_FLAGS "") set (PREFIX ${CMAKE_INSTALL_PREFIX}) -set (VERSION "1.7.1") +set (VERSION "1.8.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.7.1") +set (VERSION "1.8.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.7.1/src/PanedPercentage.vala new/terminus-1.8.0/src/PanedPercentage.vala --- old/terminus-1.7.1/src/PanedPercentage.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/PanedPercentage.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/base.vala new/terminus-1.8.0/src/base.vala --- old/terminus-1.7.1/src/base.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/base.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/bindkeys.vala new/terminus-1.8.0/src/bindkeys.vala --- old/terminus-1.7.1/src/bindkeys.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/bindkeys.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/checkwayland.c new/terminus-1.8.0/src/checkwayland.c --- old/terminus-1.7.1/src/checkwayland.c 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/checkwayland.c 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/container.vala new/terminus-1.8.0/src/container.vala --- old/terminus-1.7.1/src/container.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/container.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/meson.build new/terminus-1.8.0/src/meson.build --- old/terminus-1.7.1/src/meson.build 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/meson.build 2019-12-26 19:32:20.000000000 +0100 @@ -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.7.1') +cfg_terminus.set('VERSION', '1.8.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.7.1/src/notetab.vala new/terminus-1.8.0/src/notetab.vala --- old/terminus-1.7.1/src/notetab.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/notetab.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/params.vala new/terminus-1.8.0/src/params.vala --- old/terminus-1.7.1/src/params.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/params.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/settings.vala new/terminus-1.8.0/src/settings.vala --- old/terminus-1.7.1/src/settings.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/settings.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/terminal.vala new/terminus-1.8.0/src/terminal.vala --- old/terminus-1.7.1/src/terminal.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/terminal.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/terminus.vala new/terminus-1.8.0/src/terminus.vala --- old/terminus-1.7.1/src/terminus.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/terminus.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,7 +19,7 @@ using Gtk; using Gee; -//project version = 1.7.1 +//project version = 1.8.0 namespace Terminus { TerminusRoot main_root; @@ -417,6 +416,7 @@ if (this.guake_window.visible) { this.guake_window.hide(); } else { + this.guake_window.set_screen(null); this.guake_window.present(); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/src/window.vala new/terminus-1.8.0/src/window.vala --- old/terminus-1.7.1/src/window.vala 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/src/window.vala 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/terminus.avprj new/terminus-1.8.0/terminus.avprj --- old/terminus-1.7.1/terminus.avprj 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/terminus.avprj 2019-12-26 19:32:20.000000000 +0100 @@ -11,7 +11,7 @@ *vapidir: src/vapidir vala_binary: src/terminus -*version: 1.7.1 +*version: 1.8.0 use_gresource: extras_gresource_xml vala_vapi: checkwayland.vapi *vala_package: posix diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminus-1.7.1/terminus_gnome_shell/extension.js new/terminus-1.8.0/terminus_gnome_shell/extension.js --- old/terminus-1.7.1/terminus_gnome_shell/extension.js 2019-10-14 20:24:47.000000000 +0200 +++ new/terminus-1.8.0/terminus_gnome_shell/extension.js 2019-12-26 19:32:20.000000000 +0100 @@ -5,8 +5,7 @@ * * Terminus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation; either version 3 of the License. * * Terminus is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -83,7 +82,25 @@ }); } + /** + * Enables the extension + */ enable() { + // If the desktop is still starting up, we wait until it is ready + if (Main.layoutManager._startingUp) { + this._startupPreparedId = Main.layoutManager.connect('startup-complete', () => { + this._innerEnable(); + }); + } else { + this._innerEnable(); + } + } + + _innerEnable() { + if (this._startupPreparedId) { + Main.layoutManager.disconnect(this._startupPreparedId); + this._startupPreparedId = null; + } this._settingsChangedConnect = this._settings.connect('changed', (st, name) => { this._settingsChanged(name); }); @@ -118,22 +135,28 @@ // This is the Guake Terminal window, so ensure that it is kept above and shown in all workspaces window.make_above(); window.stick(); - let ws = global.workspace_manager.get_workspace_by_index(0); - let area = ws.get_work_area_for_monitor(0); - let height = this._settings2.get_int('guake-height'); - if (height <= 0) { - height = int(area.height() * 3 / 7); - this._settings2.set_int('guake-height'); - } - if (height >= area.height) { - height = int(area.height() * 5 / 7); - this._settings2.set_int('guake-height'); - } - window.move_resize_frame(false, area.x, area.y, area.width, this._settings2.get_int('guake-height')); + this._set_window_position(window); + window.connect('position-changed', () => { + this._set_window_position(window); + }); } }); } + _set_window_position(window) { + let area = window.get_work_area_current_monitor(); + let height = this._settings2.get_int('guake-height'); + if (height <= 0) { + height = Math.floor(area.height * 3 / 7); + this._settings2.set_int('guake-height', height); + } + if (height >= area.height) { + height = Math.floor(area.height * 5 / 7); + this._settings2.set_int('guake-height', height); + } + window.move_resize_frame(false, area.x, area.y, area.width, height); + } + disable() { if (this._settingsChangedConnect) { this._settings.disconnect(this._settingsChangedConnect);