AlmaLinux change: Adjust default values for AlmaLinux

This commit is contained in:
eabdullin 2024-12-10 11:07:16 +03:00
parent d9bb678266
commit 97e3a79a45
2 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,47 @@
From b1de707062a2478f9a980683db8a8fbf55881f8d Mon Sep 17 00:00:00 2001
From: Andrew Lukoshko <alukoshko@almalinux.org>
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 @@
<schema path="/org/fedorahosted/background-logo-extension/"
id="org.fedorahosted.background-logo-extension">
<key type="s" name="logo-file">
- <default>'/usr/share/fedora-logos/fedora_lightbackground.svg'</default>
+ <default>'/usr/share/almalinux-logos/fedora_logo_darkbackground.svg'</default>
<summary>Logo file</summary>
<description>The full logo file path</description>
</key>
<key type="s" name="logo-file-dark">
- <default>'/usr/share/fedora-logos/fedora_darkbackground.svg'</default>
+ <default>'/usr/share/almalinux-logos/fedora_logo_darkbackground.svg'</default>
<summary>Logo file in dark mode</summary>
<description>The full logo file path for dark mode</description>
</key>
<key name="logo-position"
enum="org.fedorahosted.background-logo-extension.Position">
- <default>'bottom-right'</default>
+ <default>'bottom-left'</default>
<summary>Logo position</summary>
<description>
The position logo of the logo; valid values are 'center',
@@ -34,7 +34,7 @@
</key>
<key type="d" name="logo-size">
<range min="5.0" max="15.0"/>
- <default>9.0</default>
+ <default>9.0</default>
<summary>Logo size</summary>
<description>The logo size in percent relative to the screen width</description>
</key>
--
2.43.5

View File

@ -9,6 +9,9 @@ Summary: Background logo extension for GNOME Shell
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://pagure.io/background-logo-extension URL: https://pagure.io/background-logo-extension
Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{tarball_version}.tar.xz Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{tarball_version}.tar.xz
Patch0: 0001-Adjust-default-values-for-AlmaLinux.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: meson BuildRequires: meson
@ -22,7 +25,7 @@ Requires: system-logos
Show your pride! Display the Fedora logo (or any other graphic) in the corner of your desktop. Show your pride! Display the Fedora logo (or any other graphic) in the corner of your desktop.
%prep %prep
%autosetup -n background-logo-extension-%{tarball_version} -S git %autosetup -n background-logo-extension-%{tarball_version} -S git -p1
%build %build
%meson %meson