aboutsummaryrefslogtreecommitdiff
path: root/audio/padevchooser
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-08-23 18:39:19 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-08-23 18:39:19 +0000
commitfe61bf1eb4f2758636a3c065686a833eb412df25 (patch)
tree1474457ea487adcafec2ab29e99ab61897a3e479 /audio/padevchooser
parent5732783897145621b6af3ab08fba8d9af40f338b (diff)
downloadports-fe61bf1eb4f2758636a3c065686a833eb412df25.tar.gz
ports-fe61bf1eb4f2758636a3c065686a833eb412df25.zip
Notes
Diffstat (limited to 'audio/padevchooser')
-rw-r--r--audio/padevchooser/Makefile4
-rw-r--r--audio/padevchooser/files/patch-src_padevchooser.c11
2 files changed, 13 insertions, 2 deletions
diff --git a/audio/padevchooser/Makefile b/audio/padevchooser/Makefile
index 1cd295f67b91..1781c1eca8ed 100644
--- a/audio/padevchooser/Makefile
+++ b/audio/padevchooser/Makefile
@@ -7,7 +7,7 @@
PORTNAME= padevchooser
PORTVERSION= 0.9.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
@@ -16,7 +16,7 @@ COMMENT= GTK icon tray for PulseAudio
LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
pulse.0:${PORTSDIR}/audio/pulseaudio \
- notify.1:${PORTSDIR}/devel/libnotify \
+ notify.4:${PORTSDIR}/devel/libnotify \
avahi-core:${PORTSDIR}/net/avahi
RUN_DEPENDES= dbus-daemon:${PORTSDIR}/devel/dbus
diff --git a/audio/padevchooser/files/patch-src_padevchooser.c b/audio/padevchooser/files/patch-src_padevchooser.c
new file mode 100644
index 000000000000..c2f3046e8f69
--- /dev/null
+++ b/audio/padevchooser/files/patch-src_padevchooser.c
@@ -0,0 +1,11 @@
+--- src/padevchooser.c.orig 2011-08-11 21:41:17.000000000 +0200
++++ src/padevchooser.c 2011-08-11 21:41:42.000000000 +0200
+@@ -162,7 +162,7 @@ static void notify_event(const char *tit
+
+ if (!notification) {
+ s = g_strdup_printf("<i>%s</i>\n%s", title, text);
+- notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon));
++ notification = notify_notification_new(title, s, "audio-card");
+ notify_notification_set_category(notification, "device.added");
+ notify_notification_set_urgency(notification, NOTIFY_URGENCY_LOW);
+ g_signal_connect_swapped(G_OBJECT(notification), "closed", G_CALLBACK(notification_closed), NULL);