From 1744c100d83e84146638cefe2b58dc360ec620a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 18 Aug 2021 15:18:48 +0200 Subject: [PATCH] Update to 40.4 Resolves: #1995094 --- .gitignore | 1 + 0001-appDisplay-Avoid-a-warning.patch | 37 --------------------------- gnome-shell.spec | 11 +++++--- sources | 1 + 4 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 0001-appDisplay-Avoid-a-warning.patch diff --git a/.gitignore b/.gitignore index c18c38a..76c77d5 100644 --- a/.gitignore +++ b/.gitignore @@ -194,3 +194,4 @@ gnome-shell-2.31.5.tar.bz2 /gnome-shell-40.1.tar.xz /gnome-shell-40.2.tar.xz /gnome-shell-40.3.tar.xz +/gnome-shell-40.4.tar.xz diff --git a/0001-appDisplay-Avoid-a-warning.patch b/0001-appDisplay-Avoid-a-warning.patch deleted file mode 100644 index 9cb50ae..0000000 --- a/0001-appDisplay-Avoid-a-warning.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 40ea93396d99726bf8fbb31ef4bf83585592e80b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= -Date: Fri, 6 Aug 2021 18:15:40 +0200 -Subject: [PATCH] appDisplay: Avoid a warning - -At least the last stable release of gjs has an issue with async -handlers for custom (i.e. defined in JS) GObject signals. - -The handler still works, but evoking it prints the following warning: - - JS ERROR: Error: Could not guess unspecified GValue type - -We can avoid the warning by using the addAction() convenience -method, which makes for a small nice cleanup anyway. - -https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4531 ---- - js/ui/appDisplay.js | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js -index f86a7bb67..012e88bd0 100644 ---- a/js/ui/appDisplay.js -+++ b/js/ui/appDisplay.js -@@ -3531,8 +3531,7 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu { - - if (Shell.AppSystem.get_default().lookup_app('org.gnome.Software.desktop')) { - this._appendSeparator(); -- let item = this._appendMenuItem(_("Show Details")); -- item.connect('activate', async () => { -+ this.addAction(_('Show Details'), async () => { - let id = this._source.app.get_id(); - let args = GLib.Variant.new('(ss)', [id, '']); - const bus = await Gio.DBus.get(Gio.BusType.SESSION, null); --- -2.31.1 - diff --git a/gnome-shell.spec b/gnome-shell.spec index cc4d699..8fd2a15 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,8 +1,8 @@ %global tarball_version %%(echo %{version} | tr '~' '.') Name: gnome-shell -Version: 40.3 -Release: 4%{?dist} +Version: 40.4 +Release: 1%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ @@ -31,8 +31,7 @@ Patch34: 0001-extensionDownloader-Refuse-to-override-system-extens.patch Patch35: fix-some-js-warnings.patch Patch36: 0001-st-texture-cache-purge-on-resume.patch Patch37: 0001-Update-generated-stylesheets.patch -Patch38: 0001-appDisplay-Avoid-a-warning.patch -Patch39: add-power-profiles-menu.patch +Patch38: add-power-profiles-menu.patch %define eds_version 3.33.1 %define gnome_desktop_version 3.35.91 @@ -251,6 +250,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/gnome-shell.1* %changelog +* Wed Aug 18 2021 Florian Müllner - 40.4-1 +- Update to 40.4 + Resolves: #1995094 + * Wed Aug 18 2021 Florian Müllner - 40.3-4 - Add power profiles menu Resolves: #1994471 diff --git a/sources b/sources index 01c8599..e333081 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gnome-shell-40.3.tar.xz) = 05d47e1b0f8ec27f0ae7564476012f21dcb2ec8e6da61a589b7fe17df1a23035cb6e261805250a410737502b9bdbb25f56432a618de88881d7e15b6432e52770 +SHA512 (gnome-shell-40.4.tar.xz) = 305d12cc7273f23e4a0c294f532cbf951816fd2de81959bef769048f4d5717e9e1886b64fe17b2f5ef6ee216ea67a6b913293a8903ec5dc5214bd29fbb1d3b32