packages: twitux/twitux.spec, twitux/twitux-libnotify.patch (NEW) - fixed b...

lisu lisu at pld-linux.org
Thu Apr 7 17:18:52 CEST 2011


Author: lisu                         Date: Thu Apr  7 15:18:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed build with libnotify 0.7

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

---- Diffs:

================================================================
Index: packages/twitux/twitux.spec
diff -u packages/twitux/twitux.spec:1.5 packages/twitux/twitux.spec:1.6
--- packages/twitux/twitux.spec:1.5	Thu Apr  7 17:13:07 2011
+++ packages/twitux/twitux.spec	Thu Apr  7 17:18:47 2011
@@ -8,6 +8,7 @@
 Group:		Applications/Communications
 Source0:	http://downloads.sourceforge.net/twitux/%{name}-%{version}.tar.bz2
 # Source0-md5:	e51162151cc59623d95a0cfe3624d254
+Patch0:		%{name}-libnotify.patch
 URL:		http://live.gnome.org/DanielMorales/Twitux
 BuildRequires:	GConf2-devel
 BuildRequires:	autoconf >= 2.59
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__glib_gettextize}
@@ -93,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/04/07 15:18:47  lisu
+- fixed build with libnotify 0.7
+
 Revision 1.5  2011/04/07 15:13:07  lisu
 - rel 3
 

================================================================
Index: packages/twitux/twitux-libnotify.patch
diff -u /dev/null packages/twitux/twitux-libnotify.patch:1.1
--- /dev/null	Thu Apr  7 17:18:52 2011
+++ packages/twitux/twitux-libnotify.patch	Thu Apr  7 17:18:47 2011
@@ -0,0 +1,16 @@
+--- twitux-0.69/src/twitux-app.c~	2009-01-25 02:24:00.000000000 +0100
++++ twitux-0.69/src/twitux-app.c	2011-04-07 17:16:43.453316407 +0200
+@@ -1446,8 +1446,11 @@
+ 
+ 		notification = notify_notification_new (PACKAGE_NAME,
+ 												msg,
+-												"twitux",
+-												NULL);
++												"twitux"
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++												, NULL
++#endif
++												);
+ 
+ 		notify_notification_set_timeout (notification, 8 * 1000);
+ 		notify_notification_show (notification, &error);
================================================================

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



More information about the pld-cvs-commit mailing list