- Adjust default values for AlmaLinux

This commit is contained in:
eabdullin 2024-11-25 16:35:28 +03:00
parent d5f776d499
commit dbc4c2dbe8
2 changed files with 55 additions and 2 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

@ -5,7 +5,7 @@
release_number = 1; release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 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 ## END: Set by rpmautospec
%global tarball_version %%(echo %{version} | tr '~' '.') %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 Source0: https://releases.pagure.org/background-logo-extension/background-logo-extension-%{tarball_version}.tar.xz
BuildArch: noarch BuildArch: noarch
# AlmaLinux patches
Patch0: 0001-Adjust-default-values-for-AlmaLinux.patch
BuildRequires: meson BuildRequires: meson
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: git 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. 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
@ -48,6 +51,9 @@ Show your pride! Display the Fedora logo (or any other graphic) in the corner of
%changelog %changelog
## START: Generated by rpmautospec ## START: Generated by rpmautospec
* Mon Nov 25 2024 Eduard Abdullin <eabdullin@almalinux.org> - 47~alpha-1.alma.1
- Adjust default values for AlmaLinux
* Tue Jul 23 2024 Florian Müllner <fmuellner@redhat.com> - 47~alpha-1 * Tue Jul 23 2024 Florian Müllner <fmuellner@redhat.com> - 47~alpha-1
- Update to 47.alpha - Update to 47.alpha