Hello community, here is the log from the commit of package xchat for openSUSE:Factory checked in at Thu Apr 1 16:13:52 CEST 2010. -------- --- GNOME/xchat/xchat.changes 2009-11-13 23:20:18.000000000 +0100 +++ /mounts/work_src_done/STABLE/xchat/xchat.changes 2010-03-22 10:10:22.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Mar 22 09:10:04 UTC 2010 - dimstar@opensuse.org + +- Add xchat-gtk2.19.7.patch in order to fix build with gtk 2.19.7. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- xchat-gtk2.19.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xchat.spec ++++++ --- /var/tmp/diff_new_pack.6BVSSi/_old 2010-04-01 16:13:39.000000000 +0200 +++ /var/tmp/diff_new_pack.6BVSSi/_new 2010-04-01 16:13:39.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xchat (Version 2.8.6) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,11 +20,11 @@ Name: xchat BuildRequires: dbus-1-glib-devel fdupes gconf2-devel gnome-patch-translation gtk2-devel libsexy-devel libxml2-devel openssl-devel python-devel tcl-devel update-desktop-files -License: GPL v2 or later +License: GPLv2+ Group: Productivity/Networking/IRC Summary: An IRC Client Version: 2.8.6 -Release: 45 +Release: 46 Source: http://xchat.org/files/source/2.4/%name-%version.tar.bz2 Patch: %name-gettext.diff Patch1: %name-tabs_outgoing_msg.patch @@ -40,6 +40,8 @@ Patch11: %{name}-fix-build.diff # PATCH-FIX-UPSTREAM xchat-c_onnect-button.patch bnc#547747 dimstar@opensuse.org -- Fix button labeled C_onnect. Patch12: xchat-c_onnect-button.patch +# PATCH-FIX-UPSTREAM xchat-gtk2.19.7.patch sf#2974436 dimstar@opensuse.org -- Fix build with gtk 2.19.7 +Patch13: xchat-gtk2.19.7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://xchat.org AutoReqProv: on @@ -53,7 +55,7 @@ and it has a nicely designed interface. %package perl -License: GPL v2 or later +License: GPLv2+ Summary: An IRC Client - Support for perl plugins Group: Productivity/Networking/IRC Requires: %{name} = %{version} @@ -68,7 +70,7 @@ This package contains the files necessary to support perl plugins. %package python -License: GPL v2 or later +License: GPLv2+ Summary: An IRC Client - Support for python plugins Group: Productivity/Networking/IRC Requires: %{name} = %{version} @@ -82,7 +84,7 @@ This package contains the files necessary to support python plugins. %package tcl -License: GPL v2 or later +License: GPLv2+ Summary: An IRC Client - Support for tcl plugins Group: Productivity/Networking/IRC Requires: %{name} = %{version} @@ -112,6 +114,7 @@ %patch10 %patch11 -p1 %patch12 -p1 +%patch13 -p1 gnome-patch-translation-update %build ++++++ xchat-gtk2.19.7.patch ++++++ Index: xchat-2.8.6/src/fe-gtk/dccgui.c =================================================================== --- xchat-2.8.6.orig/src/fe-gtk/dccgui.c +++ xchat-2.8.6/src/fe-gtk/dccgui.c @@ -700,7 +700,7 @@ dcc_detail_label (char *text, GtkWidget static void dcc_exp_cb (GtkWidget *exp, GtkWidget *box) { - if (GTK_WIDGET_VISIBLE (box)) + if (gtk_widget_get_visible (box)) gtk_widget_hide (box); else gtk_widget_show (box); Index: xchat-2.8.6/src/fe-gtk/fe-gtk.c =================================================================== --- xchat-2.8.6.orig/src/fe-gtk/fe-gtk.c +++ xchat-2.8.6/src/fe-gtk/fe-gtk.c @@ -819,7 +819,7 @@ fe_gui_info (session *sess, int info_typ switch (info_type) { case 0: /* window status */ - if (!GTK_WIDGET_VISIBLE (GTK_WINDOW (sess->gui->window))) + if (!gtk_widget_get_visible (GTK_WINDOW (sess->gui->window))) return 2; /* hidden (iconified or systray) */ #if GTK_CHECK_VERSION(2,4,0) if (gtk_window_is_active (GTK_WINDOW (sess->gui->window))) Index: xchat-2.8.6/src/fe-gtk/maingui.c =================================================================== --- xchat-2.8.6.orig/src/fe-gtk/maingui.c +++ xchat-2.8.6/src/fe-gtk/maingui.c @@ -599,7 +599,7 @@ mg_show_generic_tab (GtkWidget *box) int num; GtkWidget *f = NULL; - if (current_sess && GTK_WIDGET_HAS_FOCUS (current_sess->gui->input_box)) + if (current_sess && gtk_widget_has_focus (current_sess->gui->input_box)) f = current_sess->gui->input_box; num = gtk_notebook_page_num (GTK_NOTEBOOK (mg_gui->note_book), box); @@ -809,8 +809,8 @@ mg_set_topic_tip (session *sess) static void mg_hide_empty_pane (GtkPaned *pane) { - if ((pane->child1 == NULL || !GTK_WIDGET_VISIBLE (pane->child1)) && - (pane->child2 == NULL || !GTK_WIDGET_VISIBLE (pane->child2))) + if ((pane->child1 == NULL || !gtk_widget_get_visible (pane->child1)) && + (pane->child2 == NULL || !gtk_widget_get_visible (pane->child2))) { gtk_widget_hide (GTK_WIDGET (pane)); return; @@ -2585,9 +2585,9 @@ mg_rightpane_cb (GtkPaned *pane, GParamS { int handle_size; -/* if (pane->child1 == NULL || (!GTK_WIDGET_VISIBLE (pane->child1))) +/* if (pane->child1 == NULL || (!gtk_widget_get_visible (pane->child1))) return; - if (pane->child2 == NULL || (!GTK_WIDGET_VISIBLE (pane->child2))) + if (pane->child2 == NULL || (!gtk_widget_get_visible (pane->child2))) return;*/ gtk_widget_style_get (GTK_WIDGET (pane), "handle-size", &handle_size, NULL); Index: xchat-2.8.6/src/fe-gtk/menu.c =================================================================== --- xchat-2.8.6.orig/src/fe-gtk/menu.c +++ xchat-2.8.6/src/fe-gtk/menu.c @@ -1670,7 +1670,7 @@ static gboolean menu_canacaccel (GtkWidget *widget, guint signal_id, gpointer user_data) { /* GTK2.2 behaviour */ - return GTK_WIDGET_IS_SENSITIVE (widget); + return gtk_widget_is_sensitive (widget); } #endif Index: xchat-2.8.6/src/fe-gtk/plugin-tray.c =================================================================== --- xchat-2.8.6.orig/src/fe-gtk/plugin-tray.c +++ xchat-2.8.6/src/fe-gtk/plugin-tray.c @@ -457,7 +457,7 @@ tray_toggle_visibility (gboolean force_h if (!win) return FALSE; - if (force_hide || GTK_WIDGET_VISIBLE (win)) + if (force_hide || gtk_widget_get_visible (win)) { gtk_window_get_position (win, &x, &y); screen = gtk_window_get_screen (win); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org