rpms/plymouth/F-12 force-raw-mode.patch, NONE, 1.1 plymouth.spec, 1.167, 1.168

Ray Strode rstrode at fedoraproject.org
Tue Nov 10 20:15:29 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29519

Modified Files:
	plymouth.spec 
Added Files:
	force-raw-mode.patch 
Log Message:
- Force raw mode on every text draw.  This works around a bug where
  some program at startup is kicking the terminal out of raw mode.


force-raw-mode.patch:
 ply-terminal.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE force-raw-mode.patch ---
>From a30ec0193e387a1f75cc0b1847fe0c12859d5157 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode at redhat.com>
Date: Tue, 10 Nov 2009 15:05:59 -0500
Subject: [PATCH] Force terminal into raw mode on every write call

This is a76c5bc4b74b4f552641ed2fa847f4387163b25a but for
text plugins.
---
 src/libplybootsplash/ply-terminal.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libplybootsplash/ply-terminal.c b/src/libplybootsplash/ply-terminal.c
index 8147e86..bf1b0fe 100644
--- a/src/libplybootsplash/ply-terminal.c
+++ b/src/libplybootsplash/ply-terminal.c
@@ -218,6 +218,8 @@ ply_terminal_write (ply_terminal_t *terminal,
   assert (terminal != NULL);
   assert (format != NULL);
 
+  ply_terminal_set_unbuffered_input (terminal);
+
   string = NULL;
   va_start (args, format);
   vasprintf (&string, format, args);
-- 
1.6.5.2



Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/F-12/plymouth.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -p -r1.167 -r1.168
--- plymouth.spec	4 Nov 2009 05:50:58 -0000	1.167
+++ plymouth.spec	10 Nov 2009 20:15:29 -0000	1.168
@@ -6,7 +6,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.8.0
-Release: 0.2009.29.09.18%{?dist}
+Release: 0.2009.29.09.19%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -42,6 +42,7 @@ Patch7: fix-text-shutdown-crash.patch
 Patch8: fix-text-ask-for-password.patch
 Patch9: dont-unlink-devnull.patch
 Patch10: fix-hvc0-console.patch
+Patch11: force-raw-mode.patch
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -260,6 +261,7 @@ plugin.
 %patch8 -p1 -b .fix-text-ask-for-password
 %patch9 -p1 -b .dont-unlink-devnull
 %patch10 -p1 -b .fix-hvc0-console
+%patch11 -p1 -b .force-raw-mode
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -481,6 +483,10 @@ fi
 %defattr(-, root, root)
 
 %changelog
+* Tue Nov 10 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.19
+- Force raw mode on every text draw.  This works around a bug where
+  some program at startup is kicking the terminal out of raw mode.
+
 * Wed Nov 04 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.18
 - Make plymouth-update-initrd work with dracut
 




More information about the fedora-extras-commits mailing list