[minbar] rebuild against new libnotify

Mohd Izhar Firdaus Ismail izhar at fedoraproject.org
Tue Nov 16 11:29:27 UTC 2010


commit 5d12140dd97c6b4d3e3e018edd635143cfdb1f47
Author: Izhar Firdaus <izhar at inigo-tech.com>
Date:   Tue Nov 16 19:29:18 2010 +0800

    rebuild against new libnotify

 minbar-notificationfix.patch |   14 ++++++++++++++
 minbar.spec                  |    8 +++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/minbar-notificationfix.patch b/minbar-notificationfix.patch
new file mode 100644
index 0000000..58b75da
--- /dev/null
+++ b/minbar-notificationfix.patch
@@ -0,0 +1,14 @@
+diff -ruN minbar-0.2.1/src/main.c minbar-0.2.1-new/src/main.c
+--- minbar-0.2.1/src/main.c	2007-12-24 00:58:00.000000000 +0800
++++ minbar-0.2.1-new/src/main.c	2010-11-16 19:23:17.376384002 +0800
+@@ -1259,9 +1259,7 @@
+ 	notification = notify_notification_new
+                                             (program_name,
+                                              NULL,
+-                                             NULL,
+-					     NULL);
+-	notify_notification_attach_to_status_icon (notification, status_icon );
++                                             NULL);
+ 	notify_notification_set_timeout (notification, 8000);
+ }
+ #endif
diff --git a/minbar.spec b/minbar.spec
index e9d3ea4..adc996d 100644
--- a/minbar.spec
+++ b/minbar.spec
@@ -1,16 +1,18 @@
 Name:           minbar
 Version:        0.2.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Athan call and prayer times notification software
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://djihed.com/minbar/
 Source0:        http://files.djihed.com/%{name}/%{name}-%{version}.tar.lzma
+Patch0:         %{name}-notificationfix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libitl-devel libglade2-devel gstreamer-devel libgnomecanvas-devel
 BuildRequires:  GConf2-devel libnotify-devel gettext desktop-file-utils
+BuildRequires:  rarian-compat
 BuildRequires:  perl(XML::Parser)
 Requires(pre): GConf2
 Requires(post): GConf2
@@ -24,6 +26,7 @@ call and notifications for Islam prayer times.
 
 %prep
 %setup -q
+%patch0 -p 1
 sed -i -e "s|\(Utility;\)\1|\1|" %{name}.desktop.in
 rm data/minbar.schemas{,.in} # outdated in 0.2.1 lzma tarball
 
@@ -90,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/minbar/
 
 %changelog
+* Tue Nov 16 2010 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> - 0.2.1-10
+- rebuild against new libnotify
+
 * Wed Aug 12 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.2.1-9
 - Use lzma compressed upstream tarball.
 


More information about the scm-commits mailing list