- fix build with libnotify 0.7 auto/th/compiz-fusion-plugins-extra-0_8_6-2
authorlisu <lisu@pld-linux.org>
Thu, 7 Apr 2011 08:40:49 +0000 (08:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    compiz-fusion-plugins-extra-libnotify.patch -> 1.1
    compiz-fusion-plugins-extra.spec -> 1.20

compiz-fusion-plugins-extra-libnotify.patch [new file with mode: 0644]
compiz-fusion-plugins-extra.spec

diff --git a/compiz-fusion-plugins-extra-libnotify.patch b/compiz-fusion-plugins-extra-libnotify.patch
new file mode 100644 (file)
index 0000000..0bcbd8e
--- /dev/null
@@ -0,0 +1,15 @@
+--- compiz-plugins-extra-0.8.6/src/notification/notification.c~        2010-03-29 16:09:18.000000000 +0200
++++ compiz-plugins-extra-0.8.6/src/notification/notification.c 2011-04-07 10:38:05.312531742 +0200
+@@ -103,7 +103,11 @@
+     n = notify_notification_new (logLevel,
+                                  message,
+-                                 iconUri, NULL);
++                                 iconUri
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++                               , NULL
++#endif
++                               );
+     notify_notification_set_timeout (n, nd->timeout);
index d694ff8f487e440f82078c479023cc802581d3c4..6608aed07d67fd603215821071eb3901f18a6807 100644 (file)
@@ -12,6 +12,7 @@ Source1:      compizcap.png
 Source2:       fusioncap.png
 Source3:       splash_background.png
 Source4:       splash_logo.png
+Patch0:                %{name}-libnotify.patch
 URL:           http://www.compiz.org/
 BuildRequires: GConf2-devel
 BuildRequires: OpenGL-devel
@@ -103,6 +104,7 @@ Plik nagłówkowy wtyczki animation addon.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
+%patch0 -p1
 
 %build
 %{__glib_gettextize}
This page took 0.0653 seconds and 4 git commands to generate.