[plymouth] jlaska test

Ray Strode rstrode at fedoraproject.org
Fri Mar 4 20:08:11 UTC 2011


commit e17a8d331a65849d08b3d8f9e4e7af61128c1674
Author: Ray Strode <rstrode at redhat.com>
Date:   Tue Mar 1 17:28:39 2011 -0500

    jlaska test

 jlaska-test.patch |   34 ++++++++++++++++++++++++++++++++++
 plymouth.spec     |    8 +++++++-
 2 files changed, 41 insertions(+), 1 deletions(-)
---
diff --git a/jlaska-test.patch b/jlaska-test.patch
new file mode 100644
index 0000000..b08ef28
--- /dev/null
+++ b/jlaska-test.patch
@@ -0,0 +1,34 @@
+From 502d5951aa5b8ece34fa21032d513254ef146f69 Mon Sep 17 00:00:00 2001
+From: Ray Strode <rstrode at redhat.com>
+Date: Tue, 1 Mar 2011 17:26:16 -0500
+Subject: [PATCH] terminal: apply terminal settings immediately
+
+---
+ src/libply-splash-core/ply-terminal.c |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c
+index 3f126bc..3e6e8cc 100644
+--- a/src/libply-splash-core/ply-terminal.c
++++ b/src/libply-splash-core/ply-terminal.c
+@@ -272,7 +272,7 @@ ply_terminal_set_buffered_input (ply_terminal_t *terminal)
+       term_attributes.c_oflag |= OPOST;
+       term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;
+ 
+-      if (tcsetattr (terminal->fd, TCSAFLUSH, &term_attributes) != 0)
++      if (tcsetattr (terminal->fd, TCSANOW, &term_attributes) != 0)
+         return false;
+ 
+       terminal->is_unbuffered = false;
+@@ -280,7 +280,7 @@ ply_terminal_set_buffered_input (ply_terminal_t *terminal)
+       return true;
+     }
+ 
+-  if (tcsetattr (terminal->fd, TCSAFLUSH, &terminal->original_term_attributes) != 0)
++  if (tcsetattr (terminal->fd, TCSANOW, &terminal->original_term_attributes) != 0)
+     return false;
+ 
+   terminal->is_unbuffered = false;
+-- 
+1.7.4.1
+
diff --git a/plymouth.spec b/plymouth.spec
index c941d78..5886d95 100644
--- a/plymouth.spec
+++ b/plymouth.spec
@@ -6,7 +6,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.8.4
-Release: 0.20110419.1%{?dist}
+Release: 0.20110419.1.jlaskatest%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -34,6 +34,8 @@ Obsoletes: plymouth-theme-pulser < 0.7.0-0.2009.05.08.2
 Obsoletes: plymouth-gdm-hooks < 0.8.4-0.20101119.4
 Obsoletes: plymouth-utils < 0.8.4-0.20101119.4
 
+Patch0: jlaska-test.patch
+
 %description
 Plymouth provides an attractive graphical boot animation in
 place of the text messages that normally get shown.  Text
@@ -225,6 +227,7 @@ plugin.
 
 %prep
 %setup -q
+%patch0 -p1 -b .jlaska-test
 
 # Change the default theme
 sed -i -e 's/fade-in/charge/g' src/plymouthd.defaults
@@ -468,6 +471,9 @@ fi
 %defattr(-, root, root)
 
 %changelog
+* Tue Mar 01 2011 Ray Strode <rstrode at redhat.com> 0.8.4-0.20110419.1.jlaskatest
+- jlaska test
+
 * Fri Feb 18 2011 Ray Strode <rstrode at redhat.com> 0.8.4-0.20110419.1
 - unlock tty when reopening in case it spontaenously goes bonkers
   and we need to fix it up


More information about the scm-commits mailing list