Hello community,

here is the log from the commit of package tsclient for openSUSE:Factory
checked in at Mon May 2 16:33:20 CEST 2011.



--------
--- tsclient/tsclient.changes   2011-02-16 19:32:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/tsclient/tsclient.changes      2011-04-22 
14:19:37.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 22 11:49:11 UTC 2011 - fcro...@novell.com
+
+- Add tsclient-libnotify07.patch: fix build with libnotify 0.7.x
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  tsclient-libnotify07.patch

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

Other differences:
------------------
++++++ tsclient.spec ++++++
--- /var/tmp/diff_new_pack.syLQt9/_old  2011-05-02 16:32:51.000000000 +0200
+++ /var/tmp/diff_new_pack.syLQt9/_new  2011-05-02 16:32:51.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           tsclient
 Version:        2.0.2
-Release:        25
+Release:        26
 Summary:        Terminal Server Client is a frontend for rdesktop
 License:        GPLv2+
 Url:            http://www.novell.com/
@@ -32,6 +32,8 @@
 Patch1:         tsclient-build-against-new-gnome.patch
 # PATCH-FIX-UPSTREAM - tsclient-nm-0.8.patch captain.mag...@opensuse.org -- 
Build against new NetworkManager
 Patch2:         tsclient-nm-0.8.patch
+# PATCH-FIX-UPSTREAM tsclient-libnotify07.patch fcro...@novell.com -- Fix 
build with libnotify 0.7.7
+Patch3:         tsclient-libnotify07.patch
 BuildRequires:  gnome-icon-theme
 BuildRequires:  intltool
 %if 0%{?suse_version}
@@ -83,6 +85,7 @@
 %patch -p1
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
 autoreconf -si

++++++ tsclient-libnotify07.patch ++++++
Index: tsclient-2.0.2/src/plugins/default/tsc-dmx-connection.c
===================================================================
--- tsclient-2.0.2.orig/src/plugins/default/tsc-dmx-connection.c
+++ tsclient-2.0.2/src/plugins/default/tsc-dmx-connection.c
@@ -42,7 +42,11 @@ notify_fullscreen_cb (TSCDmxConnection *
                                   tsc_connection_get_name (TSC_CONNECTION 
(connection)));
        body = g_strdup_printf (_("You are connected to '%s' in fullscreen 
mode.  Use F8 to switch to and from windowed mode."), tsc_connection_get_name 
(TSC_CONNECTION (connection)));
 
+#ifndef NOTIFY_CHECK_VERSION || if !NOTIFY_CHECK_VERSION(0,7,0)
        n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, 
NULL);
+#else
+       n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO);
+#endif
        g_free (summary);
        g_free (body);
        
Index: tsclient-2.0.2/src/plugins/default/tsc-rdp-connection.c
===================================================================
--- tsclient-2.0.2.orig/src/plugins/default/tsc-rdp-connection.c
+++ tsclient-2.0.2/src/plugins/default/tsc-rdp-connection.c
@@ -52,7 +52,11 @@ notify_fullscreen_cb (TSCRdpConnection *
                                   tsc_connection_get_name (TSC_CONNECTION 
(connection)));
        body = g_strdup_printf (_("You are connected to '%s' in fullscreen 
mode.  Use Control+Alt+Enter to switch to and from windowed mode."), 
tsc_connection_get_name (TSC_CONNECTION (connection)));
        
+#ifndef NOTIFY_CHECK_VERSION || if !NOTIFY_CHECK_VERSION(0,7,0)
        n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, 
NULL);
+#else
+       n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO);
+#endif
        g_free (summary);
        g_free (body);
        
Index: tsclient-2.0.2/src/plugins/default/tsc-vnc-connection.c
===================================================================
--- tsclient-2.0.2.orig/src/plugins/default/tsc-vnc-connection.c
+++ tsclient-2.0.2/src/plugins/default/tsc-vnc-connection.c
@@ -39,7 +39,11 @@ notify_fullscreen_cb (TSCVncConnection *
                                   tsc_connection_get_name (TSC_CONNECTION 
(connection)));
        body = g_strdup_printf (_("You are connected to '%s' in fullscreen 
mode.  Use F8 to switch to and from windowed mode."), tsc_connection_get_name 
(TSC_CONNECTION (connection)));
 
+#ifndef NOTIFY_CHECK_VERSION || if  !NOTIFY_CHECK_VERSION(0,7,0)
        n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, 
NULL);
+#else
+       n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO);
+#endif
        g_free (summary);
        g_free (body);
        

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to