rpms/pragha/devel pragha-0.8.4-libnotify-0.7.0.patch, NONE, 1.1 pragha.spec, 1.8, 1.9

Christoph Wickert cwickert at rpmfusion.org
Thu Dec 9 14:06:35 CET 2010


Author: cwickert

Update of /cvs/free/rpms/pragha/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27146

Modified Files:
	pragha.spec 
Added Files:
	pragha-0.8.4-libnotify-0.7.0.patch 
Log Message:
add patch for libnotify 0.7.0

pragha-0.8.4-libnotify-0.7.0.patch:
 statusicon.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

--- NEW FILE pragha-0.8.4-libnotify-0.7.0.patch ---
--- pragha-0.8.4.orig/src/statusicon.c	2010-11-24 15:49:26.000000000 +0100
+++ pragha-0.8.4/src/statusicon.c	2010-12-09 11:39:08.903924624 +0100
@@ -153,14 +153,7 @@
 			length);
 
 	/* Create notification instance */
-	if(cwin->cpref->osd_in_systray && gtk_status_icon_is_embedded(GTK_STATUS_ICON(cwin->status_icon))) {
-		osd = notify_notification_new_with_status_icon((const gchar *) summary,
-								body, NULL,
-								GTK_STATUS_ICON(cwin->status_icon));
-	}
-	else {
-		osd = notify_notification_new((const gchar *) summary, body, NULL, NULL);
-	}
+	osd = notify_notification_new((const gchar *) summary, body, NULL);
 
 	notify_notification_set_timeout(osd, OSD_TIMEOUT);
 


Index: pragha.spec
===================================================================
RCS file: /cvs/free/rpms/pragha/devel/pragha.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pragha.spec	9 Dec 2010 02:26:25 -0000	1.8
+++ pragha.spec	9 Dec 2010 13:06:34 -0000	1.9
@@ -7,6 +7,7 @@
 License:        GPLv3+
 URL:            http://pragha.wikispaces.com/
 Source0:        http://dissonance.googlecode.com/files/%{name}-%{version}.tar.bz2
+Patch0:         pragha-0.8.4-libnotify-0.7.0.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  alsa-lib-devel >= 1.0.15 
@@ -37,6 +38,9 @@
 
 %prep
 %setup -q
+%if 0%{?fedora} >= 15
+%patch1 -p1 -b .libnotify-0.7.0
+%endif
 # Fix spurious executable permissions
 chmod 0644 ChangeLog src/*.{c,h}
 
@@ -93,6 +97,7 @@
 %changelog
 * Thu Dec 09 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.4-1
 - Update to 0.8.4
+- Add patch for libnotify 0.7.0
 
 * Sun Oct 03 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.2-1
 - Update to 0.8.2



More information about the rpmfusion-commits mailing list