diff --git a/fix-journal_missing_chinese.patch b/fix-journal_missing_chinese.patch new file mode 100644 index 0000000..ba598c0 --- /dev/null +++ b/fix-journal_missing_chinese.patch @@ -0,0 +1,14 @@ +diff --git a/imsettings-daemon/main.c b/imsettings-daemon/main.c +index f72b822..254e683 100644 +--- a/imsettings-daemon/main.c ++++ b/imsettings-daemon/main.c +@@ -175,7 +175,8 @@ main(int argc, char **argv) + NULL); + loop_in_object = g_quark_from_static_string("imsettings-daemon-loop"); + g_object_set_qdata(G_OBJECT (server), loop_in_object, loop); +- ++ // Set language ++ setlocale(LC_ALL, ""); + imsettings_server_start(server, arg_replace); + g_main_loop_run(loop); + diff --git a/imsettings.spec b/imsettings.spec index d223580..0213879 100644 --- a/imsettings.spec +++ b/imsettings.spec @@ -1,6 +1,6 @@ Name: imsettings Version: 1.7.3 -Release: 9 +Release: 10 License: LGPLv2.1 Summary: Delivery framework for general Input Method configuration URL: https://bitbucket.org/tagoh/imsettings/src/master/ @@ -12,6 +12,7 @@ Patch0003: imsettings-force-enable-for-cinnamon.patch Patch0004: imsettings-fix-unbound-var.patch Patch0005: Fix-can-not-input-chinese-in-en-environment.patch Patch0006: imsetting-fix-compile-error-sinal-multi-defined.patch +Patch0007: fix-journal_missing_chinese.patch BuildRequires: desktop-file-utils intltool gettext libtool automake autoconf glib2 >= 2.32.0 gobject-introspection-devel BuildRequires: libnotify-devel libX11-devel libgxim-devel >= 0.5.0 gtk3-devel >= 3.3.3 Requires: xorg-x11-xinit >= 1.0.2-22 @@ -144,6 +145,9 @@ fi %{_libdir}/imsettings/libimsettings-qt.so %changelog +* Fri Aug 27 2021 herengui - 1.7.3-10 +- fix issue that chinese characters missing in the journal + * Fri Aug 20 2021 tanyulong - 1.7.3-9 - fix compile error sinal multi defined