Author: lisu                         Date: Fri Apr  8 08:45:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added libnotify 0.7 support

---- Files affected:
packages/parole:
   parole.spec (1.4 -> 1.5) , parole-libnotify.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/parole/parole.spec
diff -u packages/parole/parole.spec:1.4 packages/parole/parole.spec:1.5
--- packages/parole/parole.spec:1.4     Fri Apr  8 10:41:14 2011
+++ packages/parole/parole.spec Fri Apr  8 10:45:45 2011
@@ -9,6 +9,7 @@
 Source0:       
http://www.xfce.org/archive/src/apps/parole/0.2/%{name}-%{version}.tar.bz2
 # Source0-md5: c304b07c3f17feefe3879bacd6e54515
 Patch0:                %{name}-ui.patch
+Patch1:                %{name}-libnotify.patch
 URL:           http://www.xfce.org/projects/parole/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -19,7 +20,7 @@
 BuildRequires: glib2-devel >= 1:2.16.0
 BuildRequires: gtk+2-devel >= 2:2.16.0
 BuildRequires: intltool >= 0.35.0
-BuildRequires: libnotify-devel
+BuildRequires: libnotify-devel >= 0.7
 BuildRequires: libtool
 BuildRequires: libxfce4ui-devel >= 4.8.0
 BuildRequires: libxfce4util-devel >= 4.8.0
@@ -39,6 +40,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -87,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/04/08 08:45:45  lisu
+- added libnotify 0.7 support
+
 Revision 1.4  2011/04/08 08:41:14  lisu
 - rel 3
 

================================================================
Index: packages/parole/parole-libnotify.patch
diff -u /dev/null packages/parole/parole-libnotify.patch:1.1
--- /dev/null   Fri Apr  8 10:45:50 2011
+++ packages/parole/parole-libnotify.patch      Fri Apr  8 10:45:45 2011
@@ -0,0 +1,12 @@
+diff -Nur parole-0.2.0.2.orig/plugins/tray/tray-provider.c 
parole-0.2.0.2/plugins/tray/tray-provider.c
+--- parole-0.2.0.2.orig/plugins/tray/tray-provider.c   2010-01-25 
04:22:07.000000000 -0700
++++ parole-0.2.0.2/plugins/tray/tray-provider.c        2010-11-05 
16:51:49.170270398 -0600
+@@ -261,7 +261,7 @@
+     
+     message = g_strdup_printf ("%s %s %s %s", _("<b>Playing:</b>"), title, 
_("<b>Duration:</b>"), timestring);
+     
+-    tray->n = notify_notification_new (title, message, NULL, NULL);
++    tray->n = notify_notification_new (title, message, NULL);
+     g_free (title);
+     g_free (message);
+     
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/parole/parole.spec?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to