From 8f210cd6e3ae514fe838cb495f8e308b2c0947d2 Mon Sep 17 00:00:00 2001 From: liuzhilin Date: Thu, 21 Dec 2023 10:59:28 +0800 Subject: [PATCH] hide fcitx from DDE --- 0001-fix-nodisplay.patch | 21 +++++++++++++++++++++ fcitx.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 0001-fix-nodisplay.patch diff --git a/0001-fix-nodisplay.patch b/0001-fix-nodisplay.patch new file mode 100644 index 0000000..ece0591 --- /dev/null +++ b/0001-fix-nodisplay.patch @@ -0,0 +1,21 @@ +From 826dc1b6043fc7fca4504365b3e0a8d9b12ee777 Mon Sep 17 00:00:00 2001 +From: liuzhilin +Date: Thu, 21 Dec 2023 10:43:46 +0800 +Subject: [PATCH] fix-nodisplay + +--- + data/fcitx.desktop.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/data/fcitx.desktop.in b/data/fcitx.desktop.in +index 1f555f8..6c3bd92 100644 +--- a/data/fcitx.desktop.in ++++ b/data/fcitx.desktop.in +@@ -13,3 +13,4 @@ X-GNOME-Autostart-Notify=false + X-KDE-autostart-after=panel + X-KDE-StartupNotify=false + X-KIRAN-NoDisplay=true ++NoDisplay=true +-- +2.39.3 + diff --git a/fcitx.spec b/fcitx.spec index a7f07ad..e30c619 100755 --- a/fcitx.spec +++ b/fcitx.spec @@ -5,7 +5,7 @@ Name: fcitx Summary: An input method framework Version: 4.2.9.7 -Release: 2 +Release: 3 License: GPLv2+ URL: https://fcitx-im.org/wiki/Fcitx Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz @@ -19,6 +19,7 @@ Requires(post): %{_sbindir}/alternatives Requires(postun): %{_sbindir}/alternatives Patch1: 0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch +Patch2: 0001-fix-nodisplay.patch %description Fcitx is an input method framework with extension support. Currently it @@ -48,6 +49,7 @@ developing programs using Fcitx libraries. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build mkdir -p build @@ -195,6 +197,9 @@ fi %{_datadir}/gir-1.0/Fcitx-1.0.gir %changelog +* Thu Dec 21 2023 liuzhilin - 4.2.9.7-3 +- hide fcitx from DDE + * Wed Jul 27 2022 yuanxing - 4.2.9.7-2 - hide fcitx from kiran-menu of kiran-desktop -- Gitee