diff options
author | marcus <marcus@FreeBSD.org> | 2009-04-13 04:08:54 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-04-13 04:08:54 +0800 |
commit | 006c6d4ee226e9a079ac476b7dd6603e43c899c4 (patch) | |
tree | 3908265eb9db5a4192d230c182a6a03e333d5d8d | |
parent | b25e4b2ad07eef8ca42871bb315a08bdb3f5524f (diff) | |
download | freebsd-ports-gnome-006c6d4ee226e9a079ac476b7dd6603e43c899c4.tar.gz freebsd-ports-gnome-006c6d4ee226e9a079ac476b7dd6603e43c899c4.tar.zst freebsd-ports-gnome-006c6d4ee226e9a079ac476b7dd6603e43c899c4.zip |
Fix application timeout issues with gnome-session.
Obtained from: Fedora CVS
-rw-r--r-- | audio/libcanberra/Makefile | 2 | ||||
-rw-r--r-- | audio/libcanberra/files/patch-src_libcanberra-login-sound.desktop.in | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index 9d9dc6b923f4..96f691f11897 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -7,7 +7,7 @@ PORTNAME= libcanberra PORTVERSION= 0.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ diff --git a/audio/libcanberra/files/patch-src_libcanberra-login-sound.desktop.in b/audio/libcanberra/files/patch-src_libcanberra-login-sound.desktop.in new file mode 100644 index 000000000000..c779f3f6e450 --- /dev/null +++ b/audio/libcanberra/files/patch-src_libcanberra-login-sound.desktop.in @@ -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 +--- src/libcanberra-login-sound.desktop.in ++++ 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 + |