aboutsummaryrefslogtreecommitdiff
path: root/audio/libcanberra
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-12 20:08:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-12 20:08:54 +0000
commitef4bfe5e6bd4fc4b79d31e14bf6fe584eba30447 (patch)
treeb0d266a73843968dd555e5fb09c8502d63754388 /audio/libcanberra
parent8b814e91a105b1f2a9592d53698373486aced36a (diff)
downloadports-ef4bfe5e6bd4fc4b79d31e14bf6fe584eba30447.tar.gz
ports-ef4bfe5e6bd4fc4b79d31e14bf6fe584eba30447.zip
Notes
Diffstat (limited to 'audio/libcanberra')
-rw-r--r--audio/libcanberra/Makefile2
-rw-r--r--audio/libcanberra/files/patch-src_libcanberra-login-sound.desktop.in30
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
+