diff --git a/debian/changelog b/debian/changelog index f3b1b7d8..5b009de0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +vim (2:9.2.0218-1deepin1) unstable; urgency=medium + + * Set NoDisplay=true for vim.desktop + + -- lichenggang Mon, 23 Mar 2026 10:45:09 +0800 + vim (2:9.2.0218-1) unstable; urgency=medium * New upstream tag diff --git a/debian/patches/Set-NoDisplay-true-for-vim-desktop.patch b/debian/patches/Set-NoDisplay-true-for-vim-desktop.patch new file mode 100644 index 00000000..62f7cbda --- /dev/null +++ b/debian/patches/Set-NoDisplay-true-for-vim-desktop.patch @@ -0,0 +1,36 @@ +From: Tianyu Chen +Date: Thu, 15 Jan 2026 10:17:18 +0800 +Subject: Set NoDisplay=true for vim.desktop + +Origin: vendor +Bug-deepin: https://pms.uniontech.com/bug-view-285241.html +Forwarded: not-needed +--- + runtime/vim.desktop | 1 + + src/po/vim.desktop.in | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/runtime/vim.desktop b/runtime/vim.desktop +index a8672cb..715d071 100644 +--- a/runtime/vim.desktop ++++ b/runtime/vim.desktop +@@ -111,6 +111,7 @@ Comment[zh_TW]=編輯文字檔 + TryExec=vim + Exec=vim %F + Terminal=true ++NoDisplay=true + Type=Application + # Translators: Search terms to find this application. Do NOT change the semicolons! The list MUST also end with a semicolon! + Keywords[ca]=Text;editor; +diff --git a/src/po/vim.desktop.in b/src/po/vim.desktop.in +index 874fa6a..958f66e 100644 +--- a/src/po/vim.desktop.in ++++ b/src/po/vim.desktop.in +@@ -69,6 +69,7 @@ Comment[zh_TW]=編輯文字檔 + TryExec=vim + Exec=vim %F + Terminal=true ++NoDisplay=true + Type=Application + # Translators: Search terms to find this application. Do NOT change the semicolons! The list MUST also end with a semicolon! + Keywords=Text;editor; diff --git a/debian/patches/series b/debian/patches/series index ebea3657..567810f1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch Revert-patch-9.1.0949-popups-inconsistently-shifted-to-th.patch +Set-NoDisplay-true-for-vim-desktop.patch