rpms/libcanberra/F-10 0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch, NONE, 1.1 libcanberra.spec, 1.16, 1.17

Lennart Poettering lennart at fedoraproject.org
Sun Dec 14 21:34:22 UTC 2008


Author: lennart

Update of /cvs/pkgs/rpms/libcanberra/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21208

Modified Files:
	libcanberra.spec 
Added Files:
	0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch 
Log Message:
Moved login sound to Application startup phase.

0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch:

--- NEW FILE 0001-Run-lc-l-s-in-Application-phase-of-gnome-session.patch ---
>From 5081594cb8cbb69fc282260388b2bb0164ce31dd Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart at 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



Index: libcanberra.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcanberra/F-10/libcanberra.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- libcanberra.spec	10 Oct 2008 15:42:07 -0000	1.16
+++ libcanberra.spec	14 Dec 2008 21:33:52 -0000	1.17
@@ -1,6 +1,6 @@
 Name: libcanberra
 Version: 0.10
-Release: 2%{?dist}
+Release: 3%{?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: 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 @@
 
 %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,7 +116,10 @@
 %{_libdir}/pkgconfig/libcanberra.pc
 
 %changelog
-* Fri Oct 10 2008 Lennart Poettering <lpoetter at redhat.com> 0.10.2
+* Sun Dec 14 2008 Lennart Poettering <lpoetter at redhat.com> 0.10-3
+- Moved login sound to "Application" startup phase.
+
+* Fri Oct 10 2008 Lennart Poettering <lpoetter at 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 at redhat.com> 0.10-1




More information about the fedora-extras-commits mailing list