From dbc4c2dbe8d502c6349c29d1beae271646fff4a4 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 25 Nov 2024 16:35:28 +0300 Subject: [PATCH] - Adjust default values for AlmaLinux --- ...-Adjust-default-values-for-AlmaLinux.patch | 47 +++++++++++++++++++ gnome-shell-extension-background-logo.spec | 10 +++- 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 0001-Adjust-default-values-for-AlmaLinux.patch diff --git a/0001-Adjust-default-values-for-AlmaLinux.patch b/0001-Adjust-default-values-for-AlmaLinux.patch new file mode 100644 index 0000000..fe3c547 --- /dev/null +++ b/0001-Adjust-default-values-for-AlmaLinux.patch @@ -0,0 +1,47 @@ +From b1de707062a2478f9a980683db8a8fbf55881f8d Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 10 Oct 2024 20:50:04 +0000 +Subject: [PATCH] Adjust default values for AlmaLinux + +--- + ...org.fedorahosted.background-logo-extension.gschema.xml | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/schemas/org.fedorahosted.background-logo-extension.gschema.xml b/schemas/org.fedorahosted.background-logo-extension.gschema.xml +index 14f6793..5e23b3a 100644 +--- a/schemas/org.fedorahosted.background-logo-extension.gschema.xml ++++ b/schemas/org.fedorahosted.background-logo-extension.gschema.xml +@@ -13,18 +13,18 @@ + + +- '/usr/share/fedora-logos/fedora_lightbackground.svg' ++ '/usr/share/almalinux-logos/fedora_logo_darkbackground.svg' + Logo file + The full logo file path + + +- '/usr/share/fedora-logos/fedora_darkbackground.svg' ++ '/usr/share/almalinux-logos/fedora_logo_darkbackground.svg' + Logo file in dark mode + The full logo file path for dark mode + + +- 'bottom-right' ++ 'bottom-left' + Logo position + + The position logo of the logo; valid values are 'center', +@@ -34,7 +34,7 @@ + + + +- 9.0 ++ 9.0 + Logo size + The logo size in percent relative to the screen width + +-- +2.43.5 + diff --git a/gnome-shell-extension-background-logo.spec b/gnome-shell-extension-background-logo.spec index 8629fc1..978bbb4 100644 --- a/gnome-shell-extension-background-logo.spec +++ b/gnome-shell-extension-background-logo.spec @@ -5,7 +5,7 @@ release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); -}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}.alma.1} ## END: Set by rpmautospec %global tarball_version %%(echo %{version} | tr '~' '.') @@ -21,6 +21,9 @@ URL: https://pagure.io/background-logo-extension Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{tarball_version}.tar.xz BuildArch: noarch +# AlmaLinux patches +Patch0: 0001-Adjust-default-values-for-AlmaLinux.patch + BuildRequires: meson BuildRequires: glib2-devel BuildRequires: git @@ -32,7 +35,7 @@ Requires: system-logos Show your pride! Display the Fedora logo (or any other graphic) in the corner of your desktop. %prep -%autosetup -n background-logo-extension-%{tarball_version} -S git +%autosetup -n background-logo-extension-%{tarball_version} -S git -p1 %build %meson @@ -48,6 +51,9 @@ Show your pride! Display the Fedora logo (or any other graphic) in the corner of %changelog ## START: Generated by rpmautospec +* Mon Nov 25 2024 Eduard Abdullin - 47~alpha-1.alma.1 +- Adjust default values for AlmaLinux + * Tue Jul 23 2024 Florian Müllner - 47~alpha-1 - Update to 47.alpha