jlaska test

This commit is contained in:
Ray Strode 2011-03-01 17:28:39 -05:00
parent b0b22aa792
commit e17a8d331a
2 changed files with 41 additions and 1 deletions

34
jlaska-test.patch Normal file
View File

@ -0,0 +1,34 @@
From 502d5951aa5b8ece34fa21032d513254ef146f69 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@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

View File

@ -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@redhat.com> 0.8.4-0.20110419.1.jlaskatest
- jlaska test
* Fri Feb 18 2011 Ray Strode <rstrode@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