Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package vncmanager-controller for
openSUSE:Factory checked in at 2021-08-28 22:29:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vncmanager-controller (Old)
and /work/SRC/openSUSE:Factory/.vncmanager-controller.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vncmanager-controller"
Sat Aug 28 22:29:27 2021 rev:8 rq:914767 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/vncmanager-controller/vncmanager-controller.changes
2020-09-23 18:48:26.557765238 +0200
+++
/work/SRC/openSUSE:Factory/.vncmanager-controller.new.1899/vncmanager-controller.changes
2021-08-28 22:29:51.486021287 +0200
@@ -1,0 +2,10 @@
+Fri Aug 6 06:53:54 UTC 2021 - Ali Abdallah <[email protected]>
+
+- 0001-fix-js-code-incompatibility-with-gnome-3.34.patch: Fix JS code
+ code incompatibility with newer gnome-shell versions such as gnome-shell
+ 3.34 (bsc#1188118)
+- Explicitly declare newer gnome-shell versions as supported.
+ * Added
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch
+ * Deleted
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.26-as-supported.patch
+
+-------------------------------------------------------------------
Old:
----
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.26-as-supported.patch
New:
----
0001-fix-js-code-incompatibility-with-gnome-3.34.patch
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vncmanager-controller.spec ++++++
--- /var/tmp/diff_new_pack.fKdUoA/_old 2021-08-28 22:29:51.970021826 +0200
+++ /var/tmp/diff_new_pack.fKdUoA/_new 2021-08-28 22:29:51.974021830 +0200
@@ -1,7 +1,7 @@
#
# spec file for package vncmanager-controller
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,8 +35,9 @@
License: MIT
Group: System/X11/Utilities
Source: vncmanager-controller-%{version}.tar.gz
-Patch1:
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.26-as-supported.patch
+Patch1:
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch
Patch2: n_UsrEtc.patch
+Patch3: 0001-fix-js-code-incompatibility-with-gnome-3.34.patch
Requires: vncmanager
%description
@@ -58,6 +59,7 @@
%if 0%{?suse_version} >= 1550
%patch2 -p1
%endif
+%patch3 -p1
%build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=ON
++++++ 0001-fix-js-code-incompatibility-with-gnome-3.34.patch ++++++
>From 4188469706d567e810caac74d221e065c52084b1 Mon Sep 17 00:00:00 2001
From: Ali Abdallah <[email protected]>
Date: Fri, 9 Jul 2021 14:32:50 +0200
Subject: [PATCH] Make it work with newer gnome-shell
Fix JS code incompatibility with newer gnome-shell versions such as
3.34, see bsc#1188118.
---
extension.js | 37 +++++++++++++------------------------
1 file changed, 13 insertions(+), 24 deletions(-)
diff --git a/extension.js b/extension.js
index e42f4fe..ec660a8 100644
--- a/gnome-shell-extension/extension.js
+++ b/gnome-shell-extension/extension.js
@@ -1,5 +1,6 @@
const Clutter = imports.gi.Clutter;
const GLib = imports.gi.GLib;
+const GObject = imports.gi.GObject;
const Main = imports.ui.main;
const PanelMenu = imports.ui.panelMenu;
const St = imports.gi.St;
@@ -11,30 +12,18 @@ const CONTROLLER_CMD = ['/usr/bin/vncmanager-controller',
'--start-setup', '--st
let controller;
let stdoutChannel;
-function VNCController() {
- this._init();
-}
-
-VNCController.prototype = {
- __proto__: PanelMenu.Button.prototype,
-
- _init: function() {
- PanelMenu.Button.prototype._init.call(this, St.Align.START);
-
- this.label = new St.Label({ text: 'VNC', y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
- this.actor.add_child(this.label);
- this.actor.connect('button-release-event', this._handleToggle);
- },
-
- _handleToggle: function(actor, event) {
- stdoutChannel.write_chars("TOGGLE\n", 7);
- stdoutChannel.flush();
- },
-}
-
-function init() {
-
-}
+const VNCController = GObject.registerClass(
+class VNCController extends PanelMenu.Button {
+ _init() {
+ super._init(St.Align.START);
+ let label = new St.Label({ text: 'VNC', y_expand: true,
y_align: Clutter.ActorAlign.CENTER });
+ this.add_actor(label);
+ this.connect('button-release-event', () => {
+ stdoutChannel.write_chars("TOGGLE\n", 7);
+ stdoutChannel.flush();
+ });
+ }
+});
function enable() {
let process = GLib.spawn_async_with_pipes(null, CONTROLLER_CMD, null,
GLib.SpawnFlags.DEFAULT, null);
--
2.31.1
++++++
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.26-as-supported.patch
->
U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch
++++++
---
/work/SRC/openSUSE:Factory/vncmanager-controller/U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.26-as-supported.patch
2018-07-18 22:56:00.658548809 +0200
+++
/work/SRC/openSUSE:Factory/.vncmanager-controller.new.1899/U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch
2021-08-28 22:29:51.470021270 +0200
@@ -1,7 +1,7 @@
From cf9313d2415961efceb503fda94705548d22849f Mon Sep 17 00:00:00 2001
From: Michal Srb <[email protected]>
Date: Tue, 17 Jul 2018 10:58:54 +0200
-Subject: [PATCH] Declare gnome shell versions 3.10 to 3.26 as supported.
+Subject: [PATCH] Declare gnome shell versions 3.10 to 3.34 as supported.
Newer versions may work as well, but were not tested.
---
@@ -34,6 +34,12 @@
+ "3.24",
+ "3.25",
+ "3.26"
++ "3.29",
++ "3.30",
++ "3.31",
++ "3.32",
++ "3.33",
++ "3.34",
+ ],
+ "uuid": "[email protected]",
+ "name": "VNC Session Configuration",