!9 [sync] PR-7: 修复中文字符无法在 journal 中显示的问题
From: @openeuler-sync-bot Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
f976171182
14
fix-journal_missing_chinese.patch
Normal file
14
fix-journal_missing_chinese.patch
Normal file
@ -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);
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: imsettings
|
Name: imsettings
|
||||||
Version: 1.7.3
|
Version: 1.7.3
|
||||||
Release: 9
|
Release: 10
|
||||||
License: LGPLv2.1
|
License: LGPLv2.1
|
||||||
Summary: Delivery framework for general Input Method configuration
|
Summary: Delivery framework for general Input Method configuration
|
||||||
URL: https://bitbucket.org/tagoh/imsettings/src/master/
|
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
|
Patch0004: imsettings-fix-unbound-var.patch
|
||||||
Patch0005: Fix-can-not-input-chinese-in-en-environment.patch
|
Patch0005: Fix-can-not-input-chinese-in-en-environment.patch
|
||||||
Patch0006: imsetting-fix-compile-error-sinal-multi-defined.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: 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
|
BuildRequires: libnotify-devel libX11-devel libgxim-devel >= 0.5.0 gtk3-devel >= 3.3.3
|
||||||
Requires: xorg-x11-xinit >= 1.0.2-22
|
Requires: xorg-x11-xinit >= 1.0.2-22
|
||||||
@ -144,6 +145,9 @@ fi
|
|||||||
%{_libdir}/imsettings/libimsettings-qt.so
|
%{_libdir}/imsettings/libimsettings-qt.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 27 2021 herengui <herengui@uniontech.com> - 1.7.3-10
|
||||||
|
- fix issue that chinese characters missing in the journal
|
||||||
|
|
||||||
* Fri Aug 20 2021 tanyulong <tanyulong@kylinos.cn> - 1.7.3-9
|
* Fri Aug 20 2021 tanyulong <tanyulong@kylinos.cn> - 1.7.3-9
|
||||||
- fix compile error sinal multi defined
|
- fix compile error sinal multi defined
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user