From 9a4f86a57816783d1cb1a63e486175272b9fedd0 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Nov 06 2010 18:52:03 +0000 Subject: - Fix for libnotify 0.7.0 --- diff --git a/xfce4-volumed-0.1.10-libnotify-0.7.0.patch b/xfce4-volumed-0.1.10-libnotify-0.7.0.patch new file mode 100644 index 0000000..141712b --- /dev/null +++ b/xfce4-volumed-0.1.10-libnotify-0.7.0.patch @@ -0,0 +1,10 @@ +--- xfce4-volumed-0.1.10.orig/src/xvd_notify.c 2010-11-02 13:57:23.000000000 +0100 ++++ xfce4-volumed-0.1.10/src/xvd_notify.c 2010-11-06 19:47:43.473430070 +0100 +@@ -120,7 +120,6 @@ + Inst->notification = notify_notification_new ( + "Xfce4-Volumed", + NULL, +- NULL, + NULL); + } + diff --git a/xfce4-volumed.spec b/xfce4-volumed.spec index 3153af8..11d0d54 100644 --- a/xfce4-volumed.spec +++ b/xfce4-volumed.spec @@ -2,13 +2,14 @@ Name: xfce4-volumed Version: 0.1.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Daemon to add additional functionality to the volume keys of the keyboard Group: User Interface/Desktops License: GPLv3+ URL: https://launchpad.net/xfce4-volumed Source0: http://archive.xfce.org/src/apps/%{name}/0.1/%{name}-%{version}.tar.bz2 +Patch0: xfce4-volumed-0.1.10-libnotify-0.7.0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xfconf-devel @@ -29,6 +30,9 @@ The volume level is shown in a notification. # fixes for the desktop file sed -i 's|/usr/bin|%{_bindir}|g' data/%{name}.desktop echo "Icon=multimedia-volume-control" >> data/%{name}.desktop +%if 0%{?fedora} >= 15 +%patch0 -p1 -b .libnotify-0.7.0 +%endif %build @@ -59,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Nov 06 2010 Christoph Wickert - 0.1.10-2 +- Fix for libnotify 0.7.0 + * Wed Nov 03 2010 Christoph Wickert - 0.1.10-1 - Update to 0.1.10 (#631199) - Build requirements change: Require keybinder-devel instead of xcb-util-devel