rpms/plymouth/devel plymouth-0.7.0-lose-power-function.patch, NONE, 1.1 plymouth.spec, 1.129, 1.130

Ray Strode rstrode at fedoraproject.org
Fri May 8 15:16:05 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10598

Modified Files:
	plymouth.spec 
Added Files:
	plymouth-0.7.0-lose-power-function.patch 
Log Message:
- Don't slow down progress updating at the end of boot


plymouth-0.7.0-lose-power-function.patch:

--- NEW FILE plymouth-0.7.0-lose-power-function.patch ---
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);


Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -p -r1.129 -r1.130
--- plymouth.spec	7 May 2009 05:21:33 -0000	1.129
+++ plymouth.spec	8 May 2009 15:15:34 -0000	1.130
@@ -5,7 +5,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.7.0
-Release: 0.2009.05.06.3%{?dist}
+Release: 0.2009.05.06.4%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -21,6 +21,8 @@ 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
@@ -215,6 +217,7 @@ 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 \
@@ -431,6 +434,9 @@ fi
 %defattr(-, root, root)
 
 %changelog
+* Fri May 08 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.05.06.4
+- Don't slow down progress updating at the end of boot
+
 * Thu May 07 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.05.06.3
 - Change colors to transition better to gdm
 




More information about the scm-commits mailing list