!5 hide fcitx from kiran menu of Kiran desktop

From: @yuan__xing 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-08-05 01:53:51 +00:00 committed by Gitee
commit da2f345a17
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 0f36ded2d5a9425f78d506c25a064578ef377d56 Mon Sep 17 00:00:00 2001
From: yuanxing <yuanxing@kylinos.com.cn>
Date: Wed, 27 Jul 2022 15:21:36 +0800
Subject: [PATCH] fix(fcitx-desktop):hide fcitx from kiran-menu of Kiran
desktop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在kiran桌面环境的开始菜单中隐藏fcitx启动器
---
data/fcitx.desktop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/fcitx.desktop.in b/data/fcitx.desktop.in
index 97b042d..1f555f8 100644
--- a/data/fcitx.desktop.in
+++ b/data/fcitx.desktop.in
@@ -12,3 +12,4 @@ X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
+X-KIRAN-NoDisplay=true
--
2.27.0

View File

@ -5,7 +5,7 @@
Name: fcitx Name: fcitx
Summary: An input method framework Summary: An input method framework
Version: 4.2.9.7 Version: 4.2.9.7
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
URL: https://fcitx-im.org/wiki/Fcitx URL: https://fcitx-im.org/wiki/Fcitx
Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
@ -18,6 +18,8 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires(post): %{_sbindir}/alternatives Requires(post): %{_sbindir}/alternatives
Requires(postun): %{_sbindir}/alternatives Requires(postun): %{_sbindir}/alternatives
Patch1: 0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch
%description %description
Fcitx is an input method framework with extension support. Currently it Fcitx is an input method framework with extension support. Currently it
supports Linux and Unix systems like FreeBSD. supports Linux and Unix systems like FreeBSD.
@ -45,6 +47,7 @@ developing programs using Fcitx libraries.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
mkdir -p build mkdir -p build
@ -192,5 +195,8 @@ fi
%{_datadir}/gir-1.0/Fcitx-1.0.gir %{_datadir}/gir-1.0/Fcitx-1.0.gir
%changelog %changelog
* Wed Jul 27 2022 yuanxing <yuanxing@kylinsec.com.cn> - 4.2.9.7-2
- hide fcitx from kiran-menu of kiran-desktop
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 4.2.9.7-1 * Tue Dec 22 2020 weidong <weidong@uniontech.com> - 4.2.9.7-1
- Initial Package - Initial Package