Merge previous 7.2 changes back, remove debian/patches
Jonathan Carter
1 year, 6 months ago
0 | |
<<<<<<< HEAD
|
|
0 |
gnome-shell-extension-gamemode (8-2) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Re-introduce changes from 7-2 missing from previous upload
|
|
3 |
* Remove debian/patches (no longer needed)
|
|
4 |
|
|
5 |
-- Jonathan Carter <jcc@debian.org> Tue, 18 Oct 2022 16:56:59 +0200
|
|
6 |
|
1 | 7 |
gnome-shell-extension-gamemode (8-1) unstable; urgency=medium
|
2 | 8 |
|
3 | 9 |
* New upstream release
|
debian/patches/code-changes-for-gnome-shell-43.patch
less
more
0 | |
From: Jesus Soto <jesus.soto@canonical.com>
|
1 | |
Date: Thu, 08 Sept 2022 17:02:51 -0600
|
2 | |
Subject: metadata: Add support for GNOME Shell 43
|
3 | |
|
4 | |
---
|
5 | |
client.json | 8 +++-----
|
6 | |
1 file changed, 3 insertions(+), 5 deletion(-)
|
7 | |
|
8 | |
diff --git a/client.js b/client.js
|
9 | |
index 897cd27..3ca9382 100644
|
10 | |
--- a/client.js
|
11 | |
+++ b/client.js
|
12 | |
@@ -21,7 +21,7 @@
|
13 | |
const Gio = imports.gi.Gio;
|
14 | |
const GLib = imports.gi.GLib;
|
15 | |
const Lang = imports.lang;
|
16 | |
-const Signals = imports.signals;
|
17 | |
+const Signals = imports.misc.signals;
|
18 | |
|
19 | |
|
20 | |
const GameModeClientInterface = '<node> \
|
21 | |
@@ -43,9 +43,10 @@ const GAMEMODE_DBUS_NAME = 'com.feralinteractive.GameMode';
|
22 | |
const GAMEMODE_DBUS_IFACE = 'com.feralinteractive.GameMode';
|
23 | |
const GAMEMODE_DBUS_PATH = '/com/feralinteractive/GameMode';
|
24 | |
|
25 | |
-var Client = class {
|
26 | |
+var Client = class extends Signals.EventEmitter {
|
27 | |
|
28 | |
constructor(readyCallback) {
|
29 | |
+ super();
|
30 | |
this._readyCallback = readyCallback;
|
31 | |
this._proxy = null;
|
32 | |
|
33 | |
@@ -140,6 +141,3 @@ var Client = class {
|
34 | |
});
|
35 | |
}
|
36 | |
};
|
37 | |
-
|
38 | |
-Signals.addSignalMethods(Client.prototype);
|
39 | |
-
|
debian/patches/metadata-bump-to-GNOME-Shell-43.patch
less
more
0 | |
From: Jesus Soto <jesus.soto@canonical.com>
|
1 | |
Date: Thu, 08 Sept 2022 17:02:51 -0600
|
2 | |
Subject: metadata: Change extension to GNOME Shell 43
|
3 | |
|
4 | |
---
|
5 | |
metadata.json | 2 +-
|
6 | |
1 file changed, 1 insertions(+), 1 deletion(-)
|
7 | |
|
8 | |
diff --git a/metadata.json.in b/metadata.json.in
|
9 | |
index 8a9d005..684017f 100644
|
10 | |
--- a/metadata.json.in
|
11 | |
+++ b/metadata.json.in
|
12 | |
@@ -3,7 +3,7 @@
|
13 | |
"name": "GameMode",
|
14 | |
"description": "Status indicator for GameMode",
|
15 | |
"uuid": "@UUID@",
|
16 | |
- "shell-version": ["3.38", "40", "41", "42"],
|
17 | |
+ "shell-version": ["43"],
|
18 | |
"version": "@VERSION@",
|
19 | |
"url": "@URL@",
|
20 | |
"original-author": "ckellner@redhat.com",
|
0 | |
metadata-bump-to-GNOME-Shell-43.patch
|
1 | |
code-changes-for-gnome-shell-43.patch
|