Hello community,

here is the log from the commit of package xchat-gnome for openSUSE:Factory
checked in at Mon May 2 16:30:29 CEST 2011.



--------
--- GNOME/xchat-gnome/xchat-gnome.changes       2011-02-12 20:27:42.000000000 
+0100
+++ /mounts/work_src_done/STABLE/xchat-gnome/xchat-gnome.changes        
2011-04-22 14:46:22.000000000 +0200
@@ -1,0 +2,15 @@
+Fri Apr 22 12:45:26 UTC 2011 - [email protected]
+
+- Update xchat-gnome-0.26.1-libnotify.patch to fix build with old
+  libnotify release.
+- Revert BuildRequires to libnotify-devel to fix build on old
+  release.
+
+-------------------------------------------------------------------
+Tue Mar 22 17:35:28 UTC 2011 - [email protected]
+
+- Add xchat-gnome-0.26.1-libnotify.patch: fix build with libnotify
+  0.7.x (from git).
+- Change libnotify-devel BuildRequires to pkgconfig(libnotify).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  xchat-gnome-0.26.1-libnotify.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xchat-gnome.spec ++++++
--- /var/tmp/diff_new_pack.b53lwo/_old  2011-05-02 16:29:30.000000000 +0200
+++ /var/tmp/diff_new_pack.b53lwo/_new  2011-05-02 16:29:30.000000000 +0200
@@ -23,12 +23,14 @@
 Group:          Productivity/Networking/IRC
 Summary:        A more simple IRC Client
 Version:        0.26.1
-Release:        12
+Release:        17
 Source:         
http://download.gnome.org/sources/%{name}/0.24/%{name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM xchat-gnome-gtk2.19.7.patch [email protected] -- Fix 
build with gtk 2.19.7. Patch taken from upstream git.
 Patch0:         xchat-gnome-gtk2.19.7.patch
 # PATCH-FIX-UPSTREAM xchat-gnome-make382.patch bgo#629382 [email protected] 
-- Fix build with make 3.82, requires autoreconf and gnome-common BuildRequires
 Patch1:         xchat-gnome-make382.patch
+# PATCH-FIX-UPSTREAM xchat-gnome-0.26.1-libnotify.patch [email protected] -- 
Fix build with libnotify 0.7.x. Patch taken from upstream git.
+Patch2:         xchat-gnome-0.26.1-libnotify.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  fdupes
 BuildRequires:  gconf2-devel
@@ -83,6 +85,7 @@
 %patch0 -p1
 %endif
 %patch1 -p1
+%patch2 -p1
 translation-update-upstream
 
 %build

++++++ xchat-gnome-0.26.1-libnotify.patch ++++++
>From 557c940ba6e5f181f1db50059aa9ce107f10cb2e Mon Sep 17 00:00:00 2001
From: Ritesh Khadgaray <[email protected]>
Date: Mon, 06 Dec 2010 18:03:02 +0000
Subject: libnotify has removed the ability to attach notifications to widgets 
or positions

update notify_notification_new call
---
diff --git a/plugins/notify-osd/notify-osd.c b/plugins/notify-osd/notify-osd.c
index cee221f..c7e8f77 100644
--- a/plugins/notify-osd/notify-osd.c
+++ b/plugins/notify-osd/notify-osd.c
@@ -67,7 +67,12 @@ add_notify (char *summary, char *message)
        gchar *escaped;
 
        escaped = g_markup_escape_text (message, strlen(message));
+#if !NOTIFY_CHECK_VERSION(0,7,0)
        notify = notify_notification_new (summary, escaped, NULL, NULL);
+#else
+       notify = notify_notification_new (summary, escaped, NULL);
+#endif
+
        notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL);
        notify_notification_set_icon_from_pixbuf (notify, notify_icon);
        if (!notify_notification_show (notify, &error)) {
--
cgit v0.9


>From 3d69d88f9f24fc63335ee2a4da6af0d9595510dd Mon Sep 17 00:00:00 2001
From: Frederic Crozat <[email protected]>
Date: Fri, 22 Apr 2011 14:31:12 +0200
Subject: [PATCH] Fix build when using libnotify < 0.7

---
 plugins/notify-osd/notify-osd.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/plugins/notify-osd/notify-osd.c b/plugins/notify-osd/notify-osd.c
index 9582529..c52c8fd 100644
--- a/plugins/notify-osd/notify-osd.c
+++ b/plugins/notify-osd/notify-osd.c
@@ -27,6 +27,10 @@
 #include "xchat-plugin.h"
 #include "xg-plugin.h"
 
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
 #define NOTIFY_OSD_NAME        _("On-screen display")
 #define NOTIFY_OSD_VERSION     "0.1"
 #define NOTIFY_OSD_DESCRIPTION _("Pops up notification of important messages 
when XChat-GNOME doesn't have the focus")
-- 
1.7.3.4


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to