Moved login sound to Application startup phase.
This commit is contained in:
parent
c6f9967666
commit
01e3253ec0
30
0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch
Normal file
30
0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From 5081594cb8cbb69fc282260388b2bb0164ce31dd Mon Sep 17 00:00:00 2001
|
||||
From: Lennart Poettering <lennart@poettering.net>
|
||||
Date: Sun, 14 Dec 2008 22:04:01 +0100
|
||||
Subject: [PATCH] Run lc-l-s in "Application" phase of gnome-session
|
||||
|
||||
There is no need to make g-s wait for this lc-l-s when it plays the
|
||||
welcome tune. Hence move it to "Application" phase instead of "Desktop"
|
||||
phase.
|
||||
|
||||
This is a result of a discussion with Behdad Esfahbod to optimize the
|
||||
login time.
|
||||
---
|
||||
src/libcanberra-login-sound.desktop.in | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/libcanberra-login-sound.desktop.in b/src/libcanberra-login-sound.desktop.in
|
||||
index 5b4cf7f..9fcf357 100644
|
||||
--- a/src/libcanberra-login-sound.desktop.in
|
||||
+++ b/src/libcanberra-login-sound.desktop.in
|
||||
@@ -4,6 +4,6 @@ Name=GNOME Login Sound
|
||||
Exec=@bindir@/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
|
||||
OnlyShowIn=GNOME;
|
||||
AutostartCondition=GNOME /desktop/gnome/sound/event_sounds
|
||||
-X-GNOME-Autostart-Phase=Desktop
|
||||
+X-GNOME-Autostart-Phase=Application
|
||||
X-GNOME-Provides=login-sound
|
||||
X-GNOME-Autostart-Notify=true
|
||||
--
|
||||
1.6.0.5
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: libcanberra
|
||||
Version: 0.10
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Portable Sound Event Library
|
||||
Group: System Environment/Libraries
|
||||
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
||||
@ -18,6 +18,7 @@ BuildRequires: libtdb-devel
|
||||
BuildRequires: GConf2-devel
|
||||
Requires: sound-theme-freedesktop
|
||||
Requires: pulseaudio-libs >= 0.9.11-1
|
||||
Patch1: 0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch
|
||||
|
||||
%description
|
||||
A small and lightweight implementation of the XDG Sound Theme Specification
|
||||
@ -68,6 +69,7 @@ fi
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .0001-Run-lc-l-s-in-Application-phase-of-gnome-session
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath --enable-pulse --enable-alsa --enable-null --with-builtin=dso
|
||||
@ -114,10 +116,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/libcanberra.pc
|
||||
|
||||
%changelog
|
||||
* Sun Dec 14 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-4
|
||||
- Moved login sound to "Application" startup phase.
|
||||
|
||||
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 0.10-3
|
||||
- Rebuild
|
||||
|
||||
* Fri Oct 10 2008 Lennart Poettering <lpoetter@redhat.com> 0.10.2
|
||||
* Fri Oct 10 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-2
|
||||
- Drop libcanberra-gtk-module.sh since the gconf stuff is supported just fine in current gnome-session already.
|
||||
|
||||
* Mon Oct 6 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-1
|
||||
|
Loading…
Reference in New Issue
Block a user