summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-02-13 21:04:12 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-02-13 21:04:12 +0000
commitd2328844f8744a19f83856549fcd3c6b3cc859a2 (patch)
tree5852ab81937bb9b940c3b1419588b62bc274ffbd /media-sound/rhythmbox/files
parentBumped 5.5 to latest development release (diff)
downloadgentoo-2-d2328844f8744a19f83856549fcd3c6b3cc859a2.tar.gz
gentoo-2-d2328844f8744a19f83856549fcd3c6b3cc859a2.tar.bz2
gentoo-2-d2328844f8744a19f83856549fcd3c6b3cc859a2.zip
Fix excessive notifications from some streams; bug #166484
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-sound/rhythmbox/files')
-rw-r--r--media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r23
-rw-r--r--media-sound/rhythmbox/files/rhythmbox-0.9.7-excessive-notification.patch16
2 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r2 b/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r2
new file mode 100644
index 000000000000..9b731a17d661
--- /dev/null
+++ b/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r2
@@ -0,0 +1,3 @@
+MD5 3ca989c655c5931ce056af7ff311885b rhythmbox-0.9.7.tar.bz2 3231718
+RMD160 547643b40b36e4e0c18b6d817c37426ce585119f rhythmbox-0.9.7.tar.bz2 3231718
+SHA256 2fac1912a15c19841d4ca3188df7aa8c7aaa37dbbffb279b24259cc1281ff995 rhythmbox-0.9.7.tar.bz2 3231718
diff --git a/media-sound/rhythmbox/files/rhythmbox-0.9.7-excessive-notification.patch b/media-sound/rhythmbox/files/rhythmbox-0.9.7-excessive-notification.patch
new file mode 100644
index 000000000000..ace510e2e0d0
--- /dev/null
+++ b/media-sound/rhythmbox/files/rhythmbox-0.9.7-excessive-notification.patch
@@ -0,0 +1,16 @@
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN rhythmbox-0.9.7.orig/sources/rb-streaming-source.c rhythmbox-0.9.7/sources/rb-streaming-source.c
+--- rhythmbox-0.9.7.orig/sources/rb-streaming-source.c 2006-10-30 08:51:11.000000000 -0500
++++ rhythmbox-0.9.7/sources/rb-streaming-source.c 2007-02-13 15:53:31.000000000 -0500
+@@ -360,6 +360,12 @@ set_streaming_metadata (RBStreamingSourc
+ const char *value)
+ {
+ GValue v = {0,};
++
++ /* don't do anything if the value isn't changing */
++ if (*field != NULL && strcmp (*field, value) == 0) {
++ return;
++ }
++
+ g_free (*field);
+ *field = g_strdup (value);
+