libgnomekbd/libgnomekbd-avoid-coredump-on-ibus-engines.patch
Bjørn Lie 27b62d8d42 Accepting request 999122 from GNOME:Next
- Rebase patches with quilt.
- Use ldconfig_scriptlets macro for post(un) handling.

- Update to version 3.28.0:
  + Require GLib 2.44
  + Modernize the codebase
  + Avoid several crashes
  + Fix RTL issues
  + Add meson build system
  + Updated translations.
- Add libtool BuildRequires and call autgen.sh in build phase: the
  tarball was geneated using meson and does not contain configure.
  It is not possible (yet) to use meson as build system though, as
  the installation turns out to be incomplete.
- Drop libgnomekbd_avoid_implicit_definition.patch: Fixed upstream.

  (bnc#1034390).

OBS-URL: https://build.opensuse.org/request/show/999122
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=89
2022-08-27 10:02:56 +00:00

14 lines
616 B
Diff

Index: libgnomekbd-3.28.0/libgnomekbd/gkbd-keyboard-display.c
===================================================================
--- libgnomekbd-3.28.0.orig/libgnomekbd/gkbd-keyboard-display.c
+++ libgnomekbd-3.28.0/libgnomekbd/gkbd-keyboard-display.c
@@ -82,7 +82,7 @@ main (int argc, char **argv)
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