Hello community,
here is the log from the commit of package yast2-gtk for openSUSE:Factory
checked in at Wed Oct 20 23:25:24 CEST 2010.
--------
--- yast2-gtk/yast2-gtk.changes 2010-10-08 22:54:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-gtk/yast2-gtk.changes 2010-10-20 22:08:46.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 20 21:06:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.78
+- fixes crash on inetd when sorting table (bnc#620513)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-gtk-2.21.77.tar.bz2
New:
----
yast2-gtk-2.21.78.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-gtk.spec ++++++
--- /var/tmp/diff_new_pack.Tw9Lh4/_old 2010-10-20 23:24:57.000000000 +0200
+++ /var/tmp/diff_new_pack.Tw9Lh4/_new 2010-10-20 23:24:57.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-gtk (Version 2.21.77)
+# spec file for package yast2-gtk (Version 2.21.78)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,11 +18,11 @@
Name: yast2-gtk
-Version: 2.21.77
+Version: 2.21.78
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-gtk-2.21.77.tar.bz2
+Source0: yast2-gtk-2.21.78.tar.bz2
Url: http://en.opensuse.org/YaST2-GTK
Summary: YaST2 - GTK+ Graphical User Interface
Group: System/YaST
++++++ yast2-gtk-2.21.77.tar.bz2 -> yast2-gtk-2.21.78.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/ChangeLog new/yast2-gtk-2.21.78/ChangeLog
--- old/yast2-gtk-2.21.77/ChangeLog 2010-10-08 22:55:58.000000000 +0200
+++ new/yast2-gtk-2.21.78/ChangeLog 2010-10-20 22:10:41.000000000 +0200
@@ -1,3 +1,8 @@
+2010-10-20 Ricardo Cruz
+
+ * src/YGTable.cc: bug fix 640091: crash when modifying
+ a custom sorted table.
+
2010-10-04 Ricardo Cruz
* src/*.cc & src/pkg/*.cc: general string review,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/VERSION new/yast2-gtk-2.21.78/VERSION
--- old/yast2-gtk-2.21.77/VERSION 2010-10-08 22:55:58.000000000 +0200
+++ new/yast2-gtk-2.21.78/VERSION 2010-10-20 22:10:41.000000000 +0200
@@ -1 +1 @@
-2.21.77
+2.21.78
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/VERSION.cmake new/yast2-gtk-2.21.78/VERSION.cmake
--- old/yast2-gtk-2.21.77/VERSION.cmake 2010-10-08 22:55:58.000000000 +0200
+++ new/yast2-gtk-2.21.78/VERSION.cmake 2010-10-20 22:10:41.000000000 +0200
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "77")
+SET(VERSION_PATCH "78")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/package/yast2-gtk.changes new/yast2-gtk-2.21.78/package/yast2-gtk.changes
--- old/yast2-gtk-2.21.77/package/yast2-gtk.changes 2010-10-08 22:55:58.000000000 +0200
+++ new/yast2-gtk-2.21.78/package/yast2-gtk.changes 2010-10-20 22:10:41.000000000 +0200
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Oct 20 21:06:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.78
+- fixes crash on inetd when sorting table (bnc#620513)
+
+-------------------------------------------------------------------
Fri Oct 08 21:36:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
- 2.21.77
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/package/yast2-gtk.spec new/yast2-gtk-2.21.78/package/yast2-gtk.spec
--- old/yast2-gtk-2.21.77/package/yast2-gtk.spec 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-gtk-2.21.78/package/yast2-gtk.spec 2010-10-20 22:10:41.000000000 +0200
@@ -0,0 +1,69 @@
+#
+# spec file for package yast2-gtk (Version 2.21.77)
+#
+# norootforbuild;,
+
+
+Name: yast2-gtk
+Version: 2.21.77
+Release: 0
+
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source0: yast2-gtk-2.21.77.tar.bz2
+Url: http://en.opensuse.org/YaST2-GTK
+Summary: YaST2 - GTK+ Graphical User Interface
+Group: System/YaST
+License: GPL v2.1 or later
+BuildRequires: cmake
+BuildRequires: gcc-c++ blocxx-devel libxcrypt-devel
+BuildRequires: gtk2-devel
+%if 0%{?suse_version} > 1130
+BuildRequires: gdk-pixbuf-devel
+%endif
+BuildRequires: yast2-devtools >= 2.16.3
+BuildRequires: yast2-libyui-devel >= 2.18.8
+BuildRequires: libzypp-devel >= 6.3.0
+Requires: gtk2
+Requires: yast2-libyui >= 2.18.8
+Requires: yast2_theme >= 2.16.1
+Requires: libzypp >= 6.3.0
+Provides: yast2_ui yast2-ui-gtk
+Provides: yast2_ui_pkg
+Source1: yast2-gtk-rpmlintrc
+
+%description
+One of several user interfaces available for YaST2, based on GTK and
+the X Window System.
+
+%prep
+%setup
+
+%build
+mkdir build
+cd build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$CFLAGS"
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DLIB=%{_lib} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=1 \
+ ..
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+cd build
+make install DESTDIR=$RPM_BUILD_ROOT
+cd ..
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%defattr (-, root, root)
+%dir %_libdir/YaST2
+%_libdir/YaST2/plugin/
+# %_prefix/share/YaST2/gtk/
+
+%changelog
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/src/YGTable.cc new/yast2-gtk-2.21.78/src/YGTable.cc
--- old/yast2-gtk-2.21.77/src/YGTable.cc 2010-10-08 22:55:58.000000000 +0200
+++ new/yast2-gtk-2.21.78/src/YGTable.cc 2010-10-20 22:10:41.000000000 +0200
@@ -300,8 +300,8 @@
if (label == "X")
label = YUI::app()->glyph (YUIGlyph_CheckMark);
}
- setCellIcon (iter, index, icon);
- setCellLabel (iter, index+1, label);
+ setCellIcon (iter, index, icon);
+ setCellLabel (iter, index+1, label);
}
void setSortable (bool sortable)
@@ -425,9 +425,10 @@
gchar *str_a, *str_b;
gtk_tree_model_get (model, a, index, &str_a, -1);
gtk_tree_model_get (model, b, index, &str_b, -1);
+ if (!str_a) str_a = g_strdup ("");
+ if (!str_b) str_b = g_strdup ("");
int ret = strcmp (str_a, str_b);
- g_free (str_a);
- g_free (str_b);
+ g_free (str_a); g_free (str_b);
return ret;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.77/src/pkg/ygtkpkgmenubar.cc new/yast2-gtk-2.21.78/src/pkg/ygtkpkgmenubar.cc
--- old/yast2-gtk-2.21.77/src/pkg/ygtkpkgmenubar.cc 2010-10-08 22:55:57.000000000 +0200
+++ new/yast2-gtk-2.21.78/src/pkg/ygtkpkgmenubar.cc 2010-10-20 22:10:41.000000000 +0200
@@ -74,11 +74,11 @@
GtkWidget *item;
if (stock && text) {
GtkWidget *icon = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_MENU);
- item = gtk_image_menu_item_new_with_label (text);
+ item = gtk_image_menu_item_new_with_mnemonic (text);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), icon);
}
else if (text)
- item = gtk_menu_item_new_with_label (text);
+ item = gtk_menu_item_new_with_mnemonic (text);
else if (stock)
item = gtk_image_menu_item_new_from_stock (stock, NULL);
else
@@ -685,7 +685,7 @@
Flags flags;
GtkWidget *menu_bar = m_menu, *item, *submenu;
- item = append_menu_item (menu_bar, _("_File"), NULL, NULL, NULL);
+ item = append_menu_item (menu_bar, _("F_ile"), NULL, NULL, NULL);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new()));
append_menu_item (submenu, _("_Import..."), NULL,
G_CALLBACK (import_file_cb), this);
@@ -724,7 +724,7 @@
new AllowVendorChangeCheckItem (submenu, _("_Allow vendor change"), &flags);
}
- item = append_menu_item (menu_bar, _("_Extras"), NULL, NULL, NULL);
+ item = append_menu_item (menu_bar, _("E_xtras"), NULL, NULL, NULL);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new()));
append_menu_item (submenu, _("Show _Products"), NULL,
G_CALLBACK (show_products_cb), this);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org