- Add some fixes for shutdown
This commit is contained in:
parent
b126b84acf
commit
54bd14dea4
@ -1,2 +1 @@
|
||||
plymouth-0.7.0.tar.bz2
|
||||
charge.plymouth
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -up plymouth-0.7.0/src/plugins/splash/two-step/plugin.c.lose-power-function plymouth-0.7.0/src/plugins/splash/two-step/plugin.c
|
||||
--- plymouth-0.7.0/src/plugins/splash/two-step/plugin.c.lose-power-function 2009-05-08 11:13:16.136880758 -0400
|
||||
+++ plymouth-0.7.0/src/plugins/splash/two-step/plugin.c 2009-05-08 11:13:30.095874516 -0400
|
||||
@@ -599,9 +599,11 @@ on_boot_progress (ply_boot_splash_plugin
|
||||
percent_done *= (1 / SHOW_ANIMATION_PERCENT);
|
||||
total_duration = duration / percent_done;
|
||||
|
||||
+#if 0
|
||||
/* Fun made-up smoothing function to make the growth asymptotic:
|
||||
* fraction(time,estimate)=1-2^(-(time^1.45)/estimate) */
|
||||
percent_done = 1.0 - pow (2.0, -pow (duration, 1.45) / total_duration) * (1.0 - percent_done);
|
||||
+#endif
|
||||
|
||||
ply_progress_animation_set_percent_done (plugin->progress_animation,
|
||||
percent_done);
|
@ -5,7 +5,7 @@
|
||||
Summary: Graphical Boot Animation and Logger
|
||||
Name: plymouth
|
||||
Version: 0.7.0
|
||||
Release: 0.2009.05.06.4%{?dist}
|
||||
Release: 0.2009.05.08.1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Base
|
||||
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
|
||||
@ -21,8 +21,6 @@ Requires: initscripts >= 8.83-1
|
||||
|
||||
Obsoletes: plymouth-text-and-details-only < %{version}-%{release}
|
||||
|
||||
Patch0: plymouth-0.7.0-lose-power-function.patch
|
||||
|
||||
%description
|
||||
Plymouth provides an attractive graphical boot animation in
|
||||
place of the text messages that normally get shown. Text
|
||||
@ -217,7 +215,6 @@ and finally burst into into full form.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .loser-power-function
|
||||
|
||||
%build
|
||||
%configure --enable-tracing --disable-tests --without-boot-entry \
|
||||
@ -434,6 +431,9 @@ fi
|
||||
%defattr(-, root, root)
|
||||
|
||||
%changelog
|
||||
* Fri May 08 2009 Ray Strode <rstrode@redhat.com> 0.7.0-0.2009.05.08.1
|
||||
- Add some fixes for shutdown
|
||||
|
||||
* Fri May 08 2009 Ray Strode <rstrode@redhat.com> 0.7.0-0.2009.05.06.4
|
||||
- Don't slow down progress updating at the end of boot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user