From c09db8a8591f30976ce0787b1b98df71ef5667d2 Mon Sep 17 00:00:00 2001 From: yuanxing Date: Wed, 27 Jul 2022 15:25:11 +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启动器 (cherry picked from commit 41087d88b861dcc5fd598eafcb2026694286f76b) --- ...p-hide-fcitx-from-kiran-menu-of-Kira.patch | 26 +++++++++++++++++++ fcitx.spec | 8 +++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch diff --git a/0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch b/0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch new file mode 100644 index 0000000..1bda078 --- /dev/null +++ b/0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch @@ -0,0 +1,26 @@ +From 0f36ded2d5a9425f78d506c25a064578ef377d56 Mon Sep 17 00:00:00 2001 +From: yuanxing +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 + diff --git a/fcitx.spec b/fcitx.spec index 3e3dda6..a7f07ad 100755 --- a/fcitx.spec +++ b/fcitx.spec @@ -5,7 +5,7 @@ Name: fcitx Summary: An input method framework Version: 4.2.9.7 -Release: 1 +Release: 2 License: GPLv2+ URL: https://fcitx-im.org/wiki/Fcitx 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(postun): %{_sbindir}/alternatives +Patch1: 0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch + %description Fcitx is an input method framework with extension support. Currently it supports Linux and Unix systems like FreeBSD. @@ -45,6 +47,7 @@ developing programs using Fcitx libraries. %prep %setup -q +%patch1 -p1 %build mkdir -p build @@ -192,5 +195,8 @@ fi %{_datadir}/gir-1.0/Fcitx-1.0.gir %changelog +* Wed Jul 27 2022 yuanxing - 4.2.9.7-2 +- hide fcitx from kiran-menu of kiran-desktop + * Tue Dec 22 2020 weidong - 4.2.9.7-1 - Initial Package -- Gitee