From d548c48f4d1050ab3fd621b238fad34d1c5c4979 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 28 Feb 2022 10:31:54 -0500 Subject: [PATCH] Depend on and use background extension Related: #2057150 --- ...-enabled-extensions-background-logos.patch | 67 +++++++++++++++++++ gnome-shell.spec | 12 +++- 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 gnome-shell-enabled-extensions-background-logos.patch diff --git a/gnome-shell-enabled-extensions-background-logos.patch b/gnome-shell-enabled-extensions-background-logos.patch new file mode 100644 index 0000000..c511c66 --- /dev/null +++ b/gnome-shell-enabled-extensions-background-logos.patch @@ -0,0 +1,67 @@ +From 1f8252470ce43dc8a0680871013e2f4492764302 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Mon, 28 Feb 2022 10:27:09 -0500 +Subject: [PATCH] data: Enable logo extension out of the box + +Our brand team would like the logo extension to be used on new +installs. + +This commit makes sure it gets enabled out of the box. +--- + data/org.gnome.shell.gschema.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in +index d5ea1e3..e3f440c 100644 +--- a/data/org.gnome.shell.gschema.xml.in ++++ b/data/org.gnome.shell.gschema.xml.in +@@ -1,45 +1,45 @@ + + + + true + + Enable internal tools useful for developers and testers from Alt-F2 + + + Allows access to internal debugging and monitoring tools + using the Alt-F2 dialog. + + + +- [] ++ ['background-logo@fedorahosted.org'] + UUIDs of extensions to enable + + GNOME Shell extensions have a UUID property; this key lists extensions + which should be loaded. Any extension that wants to be loaded needs + to be in this list. You can also manipulate this list with the + EnableExtension and DisableExtension D-Bus methods on org.gnome.Shell. + + + + [] + UUIDs of extensions to force disabling + + GNOME Shell extensions have a UUID property; this key lists extensions + which should be disabled, even if loaded as part of the current mode. + You can also manipulate this list with the EnableExtension and + DisableExtension D-Bus methods on org.gnome.Shell. + This key takes precedence over the “enabled-extensions” setting. + + + + false + Disable user extensions + + Disable all extensions the user has enabled without affecting + the “enabled-extension” setting. + + + + false + Disables the validation of extension version compatibility +-- +2.35.1 + diff --git a/gnome-shell.spec b/gnome-shell.spec index 0a88114..bc17abd 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -2,17 +2,21 @@ Name: gnome-shell Version: 40.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ URL: https://wiki.gnome.org/Projects/GnomeShell Source0: http://download.gnome.org/sources/gnome-shell/40/%{name}-%{tarball_version}.tar.xz -# Replace Epiphany with Firefox in the default favourite apps list +Recommends: gnome-shell-extension-background-logo + +# Replace Epiphany with Firefox in the default favourite apps list, etc +# and enable background extension by default Patch1: gnome-shell-favourite-apps-firefox.patch Patch2: gnome-shell-favourite-apps-yelp.patch Patch3: gnome-shell-favourite-apps-terminal.patch +Patch4: gnome-shell-enabled-extensions-background-logos.patch # GDM/Lock stuff Patch10: 0001-screenShield-unblank-when-inserting-smartcard.patch @@ -254,6 +258,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/gnome-shell.1* %changelog +* Mon Feb 28 2022 Ray Strode - 40.9-2 +- Depend on and use background extension + Related: #2057150 + * Tue Feb 22 2022 Florian Müllner - 40.9-1 - Update to 40.9 Resolves: #2056411