diff options
author | Lars Engels <lme@FreeBSD.org> | 2013-07-02 20:10:38 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2013-07-02 20:10:38 +0000 |
commit | aad5f9af942b3af149ac911c1782a5a2fd0d8df1 (patch) | |
tree | cbca8454ec8509d43640bfb17d7a760c7bcdb894 /deskutils/cairo-dock/files | |
parent | 71c502582a74cd3e10400ed3fa0bd7f71b77a499 (diff) | |
download | ports-aad5f9af942b3af149ac911c1782a5a2fd0d8df1.tar.gz ports-aad5f9af942b3af149ac911c1782a5a2fd0d8df1.zip |
- Fix sound playback
- Bump PORTREVISION
- Whitespace fixes
PR: ports/180091
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=322200
Diffstat (limited to 'deskutils/cairo-dock/files')
-rw-r--r-- | deskutils/cairo-dock/files/patch-cairo-dock-applet-facility.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/deskutils/cairo-dock/files/patch-cairo-dock-applet-facility.c b/deskutils/cairo-dock/files/patch-cairo-dock-applet-facility.c new file mode 100644 index 000000000000..79b6d208189f --- /dev/null +++ b/deskutils/cairo-dock/files/patch-cairo-dock-applet-facility.c @@ -0,0 +1,23 @@ +--- ./src/gldit/cairo-dock-applet-facility.c.orig 2013-06-29 16:54:06.000000000 +0300 ++++ ./src/gldit/cairo-dock-applet-facility.c 2013-06-29 16:55:44.000000000 +0300 +@@ -225,14 +225,14 @@ + } + + gchar *cSoundCommand = NULL; +- if (g_file_test ("/usr/bin/paplay", G_FILE_TEST_EXISTS)) +- cSoundCommand = g_strdup_printf("paplay --client-name=cairo-dock \"%s\"", cSoundPath); ++ if (g_file_test ("%%LOCALBASE%%/bin/play", G_FILE_TEST_EXISTS)) ++ cSoundCommand = g_strdup_printf("play \"%s\"", cSoundPath); + +- else if (g_file_test ("/usr/bin/aplay", G_FILE_TEST_EXISTS)) ++ else if (g_file_test ("%%LOCALBASE%%/bin/paplay", G_FILE_TEST_EXISTS)) ++ cSoundCommand = g_strdup_printf("paplay --client-name=cairo-dock \"%s\"", cSoundPath); ++ ++ else if (g_file_test ("%%LOCALBASE%%/bin/aplay", G_FILE_TEST_EXISTS)) + cSoundCommand = g_strdup_printf("aplay \"%s\"", cSoundPath); +- +- else if (g_file_test ("/usr/bin/play", G_FILE_TEST_EXISTS)) +- cSoundCommand = g_strdup_printf("play \"%s\"", cSoundPath); + + + cairo_dock_launch_command (cSoundCommand); |