From 93172247c7dbddbbe8fb59b65607e2e41bb7f2e7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:21:50 +0100 Subject: [PATCH] update to 3.3.2 (endlessm fork) patched to fix crash in script-lib-sprite.c at quit (maybe with --retain-splash) [release 3.3.2-1mamba;Mon Dec 04 2017] --- plymouth-3.3.2-script-lib-sprite-fix-crash.patch | 10 ++++++++++ plymouth.spec | 16 ++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 plymouth-3.3.2-script-lib-sprite-fix-crash.patch diff --git a/plymouth-3.3.2-script-lib-sprite-fix-crash.patch b/plymouth-3.3.2-script-lib-sprite-fix-crash.patch new file mode 100644 index 0000000..5c2817c --- /dev/null +++ b/plymouth-3.3.2-script-lib-sprite-fix-crash.patch @@ -0,0 +1,10 @@ +--- plymouth-3.3.2/src/plugins/splash/script/script-lib-sprite.c.orig 2017-12-04 15:49:29.134059736 +0100 ++++ plymouth-3.3.2/src/plugins/splash/script/script-lib-sprite.c 2017-12-04 15:41:55.759372872 +0100 +@@ -450,6 +450,7 @@ + clip_area.height = height; + + node = ply_list_get_first_node (data->sprite_list); ++ if (!node) return; + sprite = ply_list_node_get_data (node); + + /* Check If the first sprite should be rendered opaque */ diff --git a/plymouth.spec b/plymouth.spec index bec9594..90b70dd 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -1,14 +1,15 @@ Name: plymouth Epoch: 2 -Version: 0.9.3.20171122git -Release: 2mamba +Version: 3.3.2 +Release: 1mamba Summary: Provides a graphical boot animation while the boot process happens in the background Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.freedesktop.org/wiki/Software/Plymouth -Source: https+git://anongit.freedesktop.org/git/plymouth/master/plymouth-%{version}.tar.bz2 +Source: https://github.com/endlessm/plymouth.git/Release_%{version}/plymouth-%{version}.tar.bz2 +#Source: https+git://anongit.freedesktop.org/git/plymouth/master/plymouth-%{version}.tar.bz2 Source1: initrd-functions Source2: plymouth-sddm.service Source3: plymouth-kdm.service @@ -23,6 +24,7 @@ Patch5: plymouth-0.9.2.20150815git-ensure-start-drm-before-plymouth.patch Patch6: plymouth-0.9.3.20160705git-disable_ShowDelay.patch Patch7: plymouth-0.9.3-quit-retain-splash.patch Patch8: plymouth-0.9.3.20171122git-no-systemd-vconsole-setup.patch +Patch9: plymouth-3.3.2-script-lib-sprite-fix-crash.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -114,9 +116,10 @@ This package contains the default themes provides with plymouth. %prep %setup -q %patch5 -p1 -%patch6 -p1 +#%patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %build ./autogen.sh @@ -213,6 +216,7 @@ fi /lib/systemd/system/reboot.target.wants/plymouth-reboot.service /lib/systemd/system/sysinit.target.wants/plymouth-read-write.service /lib/systemd/system/sysinit.target.wants/plymouth-start.service +/lib/systemd/system-shutdown/plymouth-poweroff.sh #%{_prefix}/lib/tmpfiles.d/plymouth.conf # NOTE: don't replace with %_libexecdir to avoid breaking x86_64 %{_prefix}/libexec/plymouth/plymouth-generate-initrd @@ -281,6 +285,10 @@ fi %{_datadir}/plymouth/themes/tribar/* %changelog +* Mon Dec 04 2017 Silvan Calarco 3.3.2-1mamba +- update to 3.3.2 (endlessm fork) +- patched to fix crash in script-lib-sprite.c at quit (maybe with --retain-splash) + * Wed Nov 22 2017 Silvan Calarco 0.9.3.20171122git-2mamba - plymouth-start.service: patched to not depend on systemd-vconsole-service which is being called too early