From 3dff6225ee3981398cb2dc440b8a855c969349bd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:56:45 +0100 Subject: [PATCH] wider theme patched by Ercolinux for openmamba [release 5.16.3-2mamba;Fri Jul 19 2019] --- breeze-grub-5.16.3-theme-openmamba.patch | 57 ++++++++++++++++++++++++ breeze-grub.spec | 11 ++++- 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 breeze-grub-5.16.3-theme-openmamba.patch diff --git a/breeze-grub-5.16.3-theme-openmamba.patch b/breeze-grub-5.16.3-theme-openmamba.patch new file mode 100644 index 0000000..989df20 --- /dev/null +++ b/breeze-grub-5.16.3-theme-openmamba.patch @@ -0,0 +1,57 @@ +diff -Nru breeze-grub-5.16.3.orig/breeze/theme.txt breeze-grub-5.16.3/breeze/theme.txt +--- breeze-grub-5.16.3.orig/breeze/theme.txt 2019-07-09 17:10:07.000000000 +0200 ++++ breeze-grub-5.16.3/breeze/theme.txt 2019-07-19 19:59:00.165195819 +0200 +@@ -41,13 +41,13 @@ + text = "Select Operating System" + align = "center" + font = "Unifont Regular 32" +- color = "#ffffff" ++ color = "#35ff35" + } + + # Show the boot menu + + boot_menu { +- left = 50%-200 +- width = 400 ++ left = 50%-360 ++ width = 720 + # NB: this is scooped upwards from the middle. + # effectively 50px are below and the remaining 150 above + top = 50%-150 +@@ -63,17 +63,17 @@ + item_font = "Unifont Regular 16" + item_color = "#7f8c8d" + selected_item_font = "Unifont Bold 16" +- selected_item_color = "#ffffff" ++ selected_item_color = "#35ff35" + } + + + vbox { +- left = 50%-200 # same as menu ++ left = 50%-360 # same as menu + top = 50%+113 # (50+16+19+28) half menu + spacer + progress + spacer +- width = 400 # same as menu +- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Enter] Boot the selected OS" } +- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Up and Down Key] navigation" } +- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[E] Edit Selection" } +- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[C] GRUB Command Line" } ++ width = 720 # same as menu ++ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Enter] Boot the selected OS" } ++ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Up and Down Key] navigation" } ++ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[E] Edit Selection" } ++ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[C] GRUB Command Line" } + } + + # Show a styled horizontal progress bar +@@ -91,9 +91,9 @@ + # Show text progress bar + + progress_bar { + id = "__timeout__" +- left = 50%-200 # same as menu ++ left = 50%-360 # same as menu + top = 50%+66 # (50+16) half menu + spacer +- width = 400 # same as menu ++ width = 720 # same as menu + height = 19 # 14pt + show_text = true + font = "Unifont Regular 14" diff --git a/breeze-grub.spec b/breeze-grub.spec index 49e6c92..a62a026 100644 --- a/breeze-grub.spec +++ b/breeze-grub.spec @@ -2,7 +2,7 @@ Name: breeze-grub Version: 5.16.3 -Release: 1mamba +Release: 2mamba Summary: KDE Plasma 5 Breeze theme for the Grub boot loader Group: Graphical Desktop/Look 'n' feel Vendor: openmamba @@ -10,6 +10,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/plasma/%{version}/breeze-grub-%{version}.tar.xz +Patch0: breeze-grub-5.16.3-theme-openmamba.patch # Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN @@ -21,6 +22,7 @@ KDE Plasma 5 Breeze theme for the Grub boot loader. %prep %setup -q +%patch0 -p1 %build @@ -32,6 +34,10 @@ cp -a breeze %{buildroot}%{_datadir}/grub/themes %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%posttrans +[ -e %{_sbindir}/update-grub ] && update-grub &>/dev/null || true +: + %files %defattr(-,root,root) %dir %{_datadir}/grub/themes/breeze @@ -39,6 +45,9 @@ cp -a breeze %{buildroot}%{_datadir}/grub/themes %doc COPYING %changelog +* Fri Jul 19 2019 Silvan Calarco 5.16.3-2mamba +- wider theme patched by Ercolinux for openmamba + * Wed Jul 10 2019 Automatic Build System 5.16.3-1mamba - automatic version update by autodist