Add gnome-shell-43

e9
Takao Fujiwara 2 years ago
parent fbe6c87a94
commit d739645fc2

@ -1,7 +1,7 @@
From bf0f84bb7f4b02b2d15d8c09f02c5116e6128dd8 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Tue, 24 Aug 2021 14:02:24 +0900
Subject: [PATCH] Add gnome-shell-41
Subject: [PATCH] Add gnome-shell-43
---
metadata.json | 2 +-
@ -11,74 +11,16 @@ diff --git a/metadata.json b/metadata.json
index ab541d3..84ade0f 100644
--- a/metadata.json
+++ b/metadata.json
@@ -6,7 +6,7 @@
"fthx"
],
@@ -8,7 +8,8 @@
"shell-version": [
- "40"
+ "40", "41"
"40",
"41",
- "42"
+ "42",
+ "43"
],
"url": "https://github.com/fthx/no-overview",
"uuid": "no-overview@fthx",
--
2.28.0
From 9f7d9039a151c1ce5b6ab4592f93569e31b01d19 Mon Sep 17 00:00:00 2001
From: fthx <23138504+fthx@users.noreply.github.com>
Date: Wed, 6 Oct 2021 09:58:49 +0200
Subject: [PATCH] Handle Ubuntu GS 40+ modifications
---
extension.js | 12 ++++++++++++
metadata.json | 8 +++++---
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/extension.js b/extension.js
index b13d9fc..3fb99dd 100644
--- a/extension.js
+++ b/extension.js
@@ -22,10 +22,22 @@ class Extension {
Main.layoutManager.connect('startup-complete', () => {
Main.sessionMode.hasOverview = this._realHasOverview
});
+ // handle Ubuntu's modified GNOME Shell for Dock
+ try {
+ Main.layoutManager.startInOverview = false;
+ } catch(e) {
+ log("No-Overview extension warning: command not found because not running Ubuntu");
+ }
}
disable() {
Main.sessionMode.hasOverview = this._realHasOverview;
+ // handle Ubuntu's modified GNOME Shell for Dock
+ try {
+ Main.layoutManager.startInOverview = true;
+ } catch(e) {
+ log("No Overview extension warning: command not found because not running Ubuntu");
+ }
}
}
diff --git a/metadata.json b/metadata.json
index 84ade0f..66625e9 100644
--- a/metadata.json
+++ b/metadata.json
@@ -6,9 +6,11 @@
"fthx"
],
"shell-version": [
- "40", "41"
+ "40",
+ "41",
+ "42"
],
"url": "https://github.com/fthx/no-overview",
"uuid": "no-overview@fthx",
- "version": 8
+ "version": 9
}
\ No newline at end of file
--
2.33.1

@ -3,7 +3,7 @@
Name: gnome-shell-extension-%{extension}
Version: 11
Release: 3%{?dist}
Release: 4%{?dist}
Summary: GNOME Shell extension for no overview at start-up
License: GPLv3
URL: https://extensions.gnome.org/extension/4099/no-overview/
@ -11,17 +11,19 @@ Source0: https://extensions.gnome.org/extension-data/no-overviewfthx.v%{v
Source1: https://raw.githubusercontent.com/fthx/no-overview/main/LICENSE#/%{extension}-LICENSE
Source2: https://raw.githubusercontent.com/fthx/no-overview/main/README.md#/%{extension}-README.md
#Patch0: %%{name}-HEAD.patch
Patch0: %{name}-HEAD.patch
BuildArch: noarch
# rhbz#2001561 Delete to require gnome-shell-extension-common
#Requires: gnome-shell-extension-common
Recommends: gnome-extensions-app
BuildRequires: git
%description
GNOME Shell extension for no overview at start-up. For GNOME Shell 40+.
%prep
%autosetup -cn %{name}-%{version}
%autosetup -cn %{name}-%{version} -S git
cp -p %SOURCE1 LICENSE
cp -p %SOURCE2 README.md
@ -42,6 +44,9 @@ cp -rp *.js metadata.json \
%changelog
* Sat Aug 13 2022 Takao Fujiwara <tfujiwar@redhat.com> - 11-4
- Add gnome-shell-43
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

Loading…
Cancel
Save