diffstat for fcitx-4.2.9.1 fcitx-4.2.9.1 changelog | 6 ++++++ patches/add-chrome-to-avoid-preedit.patch | 10 ++++++++++ patches/not-display-fcitx-desktop.patch | 7 +++++++ patches/series | 4 ++++ 4 files changed, 27 insertions(+) diff -Nru fcitx-4.2.9.1/debian/changelog fcitx-4.2.9.1/debian/changelog --- fcitx-4.2.9.1/debian/changelog 2016-12-21 14:21:06.000000000 +0000 +++ fcitx-4.2.9.1/debian/changelog 2018-12-05 05:09:44.000000000 +0000 @@ -1,3 +1,9 @@ +fcitx (1:4.2.9.1-6deepin) unstable; urgency=medium + + * add patch + + -- Packages Wed, 05 Dec 2018 13:09:44 +0800 + fcitx (1:4.2.9.1-6) unstable; urgency=medium * Cherry-pick from upstream: diff -Nru fcitx-4.2.9.1/debian/patches/add-chrome-to-avoid-preedit.patch fcitx-4.2.9.1/debian/patches/add-chrome-to-avoid-preedit.patch --- fcitx-4.2.9.1/debian/patches/add-chrome-to-avoid-preedit.patch 1970-01-01 00:00:00.000000000 +0000 +++ fcitx-4.2.9.1/debian/patches/add-chrome-to-avoid-preedit.patch 2018-12-05 05:09:15.000000000 +0000 @@ -0,0 +1,10 @@ +--- fcitx-4.2.9.1.orig/CMakeLists.txt ++++ fcitx-4.2.9.1/CMakeLists.txt +@@ -49,7 +49,7 @@ if(NOT NO_SNOOPER_APPS) + endif() + + if(NOT NO_PREEDIT_APPS) +- set(NO_PREEDIT_APPS "gvim" ++ set(NO_PREEDIT_APPS ".*chrome.*,.*chromium.*,gvim" + CACHE STRING "Disable Preedit for the following apps") + endif() diff -Nru fcitx-4.2.9.1/debian/patches/not-display-fcitx-desktop.patch fcitx-4.2.9.1/debian/patches/not-display-fcitx-desktop.patch --- fcitx-4.2.9.1/debian/patches/not-display-fcitx-desktop.patch 1970-01-01 00:00:00.000000000 +0000 +++ fcitx-4.2.9.1/debian/patches/not-display-fcitx-desktop.patch 2018-12-05 05:09:15.000000000 +0000 @@ -0,0 +1,7 @@ +--- fcitx-4.2.9.orig/data/fcitx.desktop.in ++++ fcitx-4.2.9/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 ++NoDisplay=true diff -Nru fcitx-4.2.9.1/debian/patches/series fcitx-4.2.9.1/debian/patches/series --- fcitx-4.2.9.1/debian/patches/series 2016-12-21 14:17:53.000000000 +0000 +++ fcitx-4.2.9.1/debian/patches/series 2018-12-05 05:09:40.000000000 +0000 @@ -12,3 +12,7 @@ 0012-Use-ANSI-C-typeof-defination.patch 0013-Add-locale.h-to-include.patch 0014-exit-the-loop-after-trying-20-times.patch + +#deepin +add-chrome-to-avoid-preedit.patch +not-display-fcitx-desktop.patch