[audacious-plugins] - Patch for libnotify 0.7.0 API change.
Michael Schwendt
mschwendt at fedoraproject.org
Thu Nov 4 18:57:56 UTC 2010
commit b3a4d60ee0af570a9a207668def1808f6810c9b0
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Thu Nov 4 19:57:48 2010 +0100
- Patch for libnotify 0.7.0 API change.
audacious-plugins-2.4.0-libnotify07.patch | 12 ++++++++++++
audacious-plugins.spec | 10 +++++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/audacious-plugins-2.4.0-libnotify07.patch b/audacious-plugins-2.4.0-libnotify07.patch
new file mode 100644
index 0000000..52f794f
--- /dev/null
+++ b/audacious-plugins-2.4.0-libnotify07.patch
@@ -0,0 +1,12 @@
+diff -Nur audacious-plugins-fedora-2.4.0-orig/src/notify/libnotify-aosd_osd.c audacious-plugins-fedora-2.4.0/src/notify/libnotify-aosd_osd.c
+--- audacious-plugins-fedora-2.4.0-orig/src/notify/libnotify-aosd_osd.c 2010-08-26 01:07:50.000000000 +0200
++++ audacious-plugins-fedora-2.4.0/src/notify/libnotify-aosd_osd.c 2010-11-04 19:47:59.000000000 +0100
+@@ -44,7 +44,7 @@
+ GError *error = NULL;
+
+ if(notification == NULL) {
+- notification = notify_notification_new(text, NULL, icon, NULL);
++ notification = notify_notification_new(text, NULL, icon);
+ g_signal_connect(G_OBJECT(notification), "closed", G_CALLBACK(osd_closed_handler), NULL);
+ DEBUG_PRINT("[%s] osd_show: new osd created! (notification=%p)\n", __FILE__, notification);
+ } else {
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index 4aa1c69..43de87c 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -6,7 +6,7 @@
Name: audacious-plugins
Version: 2.4.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Plugins for the Audacious audio player
Group: Applications/Multimedia
URL: http://audacious-media-player.org/
@@ -35,6 +35,8 @@ Patch5: audacious-plugins-2.4.0-psf-update.patch
Patch6: audacious-plugins-2.4.0-blur-scope-update.patch
# submitted, AUDPLUG-299
Patch7: audacious-plugins-2.4.0-cue-crash-649645.patch
+#
+Patch8: audacious-plugins-2.4.0-libnotify07.patch
BuildRequires: audacious-devel >= %{aud_ver}
BuildRequires: gettext
@@ -148,6 +150,9 @@ providers may build it with libsidplay 2 instead.
%patch5 -p1 -b .psf-update
%patch6 -p1 -b .blur-scope-update
%patch7 -p1 -b .cue-crash-649645
+%if 0%{?fedora} > 14
+%patch8 -p1 -b .libnotify07
+%endif
for i in src/ladspa/ladspa.c
do
@@ -237,6 +242,9 @@ update-desktop-database &> /dev/null || :
%changelog
+* Thu Nov 4 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.0-8
+- Patch for libnotify 0.7.0 API change.
+
* Thu Nov 4 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 2.4.0-7
- Prevent buffer realloc crash in cue.c playlist_load_cue (#649645).
More information about the scm-commits
mailing list