Update to 3.36.0

This commit is contained in:
Florian Müllner 2020-03-07 23:23:44 +01:00
parent 93e562141b
commit 9ffa1c334f
5 changed files with 8 additions and 66 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@
/background-logo-extension-3.24.0.tar.xz
/background-logo-extension-3.32.0.tar.xz
/background-logo-extension-3.34.0.tar.xz
/background-logo-extension-3.36.0.tar.xz

View File

@ -1,29 +0,0 @@
From 8696912871d9db88c8d81c8c7dde72f5926b70c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Tue, 26 Nov 2019 01:22:20 +0100
Subject: [PATCH] Adjust to gnome-shell changes
gnome-shell got mostly rid of the delegate pattern this cycle,
adjust to that.
https://pagure.io/background-logo-extension/issue/22
---
extension.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension.js b/extension.js
index 4a6cc69..f651432 100644
--- a/extension.js
+++ b/extension.js
@@ -207,7 +207,7 @@ var BackgroundLogo = GObject.registerClass({
}
_updateVisibility() {
- let background = this._bgManager.backgroundActor.background._delegate;
+ let { background } = this._bgManager.backgroundActor;
let defaultUri = background._settings.get_default_value('picture-uri');
let file = Gio.File.new_for_commandline_arg(defaultUri.deep_unpack());
--
2.24.1

View File

@ -1,30 +0,0 @@
From dfd48c8eec2cc29c92c5548cf1aed6764ddce98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Tue, 26 Nov 2019 01:25:41 +0100
Subject: [PATCH] Make sure :vignette-sharpness compatibility property is
initialized
Otherwise the overview's attempt to animate the property will result
in warnings.
https://pagure.io/background-logo-extension/pull-request/21
---
extension.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension.js b/extension.js
index 540e182..4a6cc69 100644
--- a/extension.js
+++ b/extension.js
@@ -55,7 +55,7 @@ var BackgroundLogo = GObject.registerClass({
0, 1, 1),
'vignette-sharpness': GObject.ParamSpec.double(
'vignette-sharpness', 'vignette-sharpness', 'vignette-sharpness',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
0, 1, 0),
},
}, class BackgroundLogo extends St.Widget {
--
2.24.1

View File

@ -1,8 +1,8 @@
%global shell_version 3.33.92
%global shell_version 3.36.0
Name: gnome-shell-extension-background-logo
Version: 3.34.0
Release: 3%{?dist}
Version: 3.36.0
Release: 1%{?dist}
Summary: Background logo extension for GNOME Shell
License: GPLv2+
@ -10,9 +10,6 @@ URL: https://pagure.io/background-logo-extension
Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{version}.tar.xz
BuildArch: noarch
Patch0: 0001-Make-sure-vignette-sharpness-compatibility-property-.patch
Patch1: 0001-Adjust-to-gnome-shell-changes.patch
BuildRequires: meson
BuildRequires: glib2-devel
BuildRequires: git
@ -38,6 +35,9 @@ Show your pride! Display the Fedora logo (or any other graphic) in the corner of
%{_datadir}/gnome-shell/extensions/background-logo@fedorahosted.org/
%changelog
* Sat Mar 07 2020 Florian Müllner <fmuellner@redhat.com> - 3.36.0-1
- Update to 3.36.0
* Thu Feb 20 2020 Florian Müllner <fmuellner@redhat.com> - 3.34.0-3
- Adjust to gnome-shell changes + shut up some warnings

View File

@ -1 +1 @@
SHA512 (background-logo-extension-3.34.0.tar.xz) = f9b109e05038bbbf156a28b5d397bd2e588aaff1ea18678fca31e178a0f34085b0bd2345358a778869a4f38a0663972ae65bffdce02c42192205c72f24a5e12b
SHA512 (background-logo-extension-3.36.0.tar.xz) = a19521ed54ac9b3cffd4c95134827aa64342556a995f36fd37758e1f6157444bcd7dd509c3a7f30bf345530af2ef94e56d0ce5fbf36856a292728b019a82201d