From fbe07db5df30ad30115464e5ed76d726b1d0b24a8e61a53669147f9e1c4ad4b1 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Tue, 9 Apr 2024 12:19:55 +0000 Subject: [PATCH] Accepting request 1166439 from home:alarrosa:branches:KDE:Frameworks - Modify sddmtheme.diff to change the extension of the openSUSE branding wallpaper from jpg to png since the extension was changed in TW (boo#1222546) - Require the same wallpaper-branding version as used when building to make sure the png file exists OBS-URL: https://build.opensuse.org/request/show/1166439 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/plasma6-openSUSE?expand=0&rev=10 --- plasma6-openSUSE.changes | 9 +++++++++ plasma6-openSUSE.spec | 4 +++- sddmtheme.diff | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/plasma6-openSUSE.changes b/plasma6-openSUSE.changes index bd973c0..63e0926 100644 --- a/plasma6-openSUSE.changes +++ b/plasma6-openSUSE.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 9 11:56:21 UTC 2024 - Antonio Larrosa + +- Modify sddmtheme.diff to change the extension of the openSUSE + branding wallpaper from jpg to png since the extension was + changed in TW (boo#1222546) +- Require the same wallpaper-branding version as used when building + to make sure the png file exists + ------------------------------------------------------------------- Tue Mar 26 18:06:20 UTC 2024 - Fabian Vogt diff --git a/plasma6-openSUSE.spec b/plasma6-openSUSE.spec index 9f728c6..a56f670 100644 --- a/plasma6-openSUSE.spec +++ b/plasma6-openSUSE.spec @@ -16,6 +16,8 @@ # +%define wallpaper_branding_version %(rpm -q --queryformat '%%{VERSION}' wallpaper-branding-openSUSE) + # Plasma 6 pulls in Qt 5 as well, tell qml-autoreqprov what to use %global __qml_requires_opts --qtver 6 %global plasma_version 6.0.3 @@ -81,7 +83,7 @@ This package contains the Plasma 6 Look-and-feel package for openSUSE. Summary: SDDM theme for openSUSE Group: System/GUI/KDE Requires: sddm-qt6-branding-openSUSE -Requires: wallpaper-branding-openSUSE +Requires: wallpaper-branding-openSUSE = %{wallpaper_branding_version} Provides: sddm-theme-openSUSE = %{version} Obsoletes: sddm-theme-openSUSE < %{version} diff --git a/sddmtheme.diff b/sddmtheme.diff index 8d47af9..d357e21 100644 --- a/sddmtheme.diff +++ b/sddmtheme.diff @@ -7,5 +7,5 @@ index 35c2a13..4d0709a 100644 color=#1d99f3 fontSize=10 -background=/usr/share/wallpapers/Next/contents/images/5120x2880.png -+background=/usr/share/wallpapers/openSUSEdefault/contents/images/1920x1080.jpg ++background=/usr/share/wallpapers/openSUSEdefault/contents/images/1920x1080.png needsFullUserModel=false