Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgnomekbd for openSUSE:Factory 
checked in at 2021-04-14 10:09:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgnomekbd (Old)
 and      /work/SRC/openSUSE:Factory/.libgnomekbd.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgnomekbd"

Wed Apr 14 10:09:28 2021 rev:58 rq:884644 version:3.26.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgnomekbd/libgnomekbd.changes  2020-01-28 
10:51:44.672790199 +0100
+++ /work/SRC/openSUSE:Factory/.libgnomekbd.new.2401/libgnomekbd.changes        
2021-04-14 10:09:32.705348409 +0200
@@ -1,0 +2,6 @@
+Fri Apr  2 12:03:02 UTC 2021 - Cliff Zhao <qz...@suse.com>
+
+- Add libgnomekbd-avoid-coredump-on-ibus-engines.patch: avoid libgnomekbd
+  crash when working with ibus(bnc#1160963, glgo#GNOME/libgnomekbd!6). 
+
+-------------------------------------------------------------------

New:
----
  libgnomekbd-avoid-coredump-on-ibus-engines.patch

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

Other differences:
------------------
++++++ libgnomekbd.spec ++++++
--- /var/tmp/diff_new_pack.2QML4g/_old  2021-04-14 10:09:33.137349138 +0200
+++ /var/tmp/diff_new_pack.2QML4g/_new  2021-04-14 10:09:33.141349145 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libgnomekbd
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Group:          System/GUI/GNOME
 URL:            https://gitlab.gnome.org/GNOME/libgnomekbd
 Source0:        
https://download.gnome.org/sources/libgnomekbd/3.26/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM libgnomekbd-avoid-coredump-on-ibus-engines.patch 
bnc#1160963, glgo#GNOME/libgnomekbd!6 qz...@suse.com -- To avoid crash when 
working with ibus.
+Patch0:         libgnomekbd-avoid-coredump-on-ibus-engines.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  intltool
@@ -86,7 +88,7 @@
 %lang_package
 
 %prep
-%autosetup
+%autosetup -p1
 translation-update-upstream
 
 %build

++++++ libgnomekbd-avoid-coredump-on-ibus-engines.patch ++++++
diff -Nura libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-display.c 
libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-display.c
--- libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-display.c      2019-02-07 
06:18:56.000000000 +0800
+++ libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-display.c  2021-04-02 
19:56:19.587280314 +0800
@@ -81,7 +81,7 @@
        dlg = gkbd_keyboard_drawing_dialog_new ();
        registry = xkl_config_registry_get_instance (engine);
        xkl_config_registry_load (registry, TRUE);
-       if (layout != NULL) {
+        if (layout != NULL && strcmp(layout, "default")) {
                gkbd_keyboard_drawing_dialog_set_layout (dlg, registry,
                                                         layout);
        } else

Reply via email to