From 26d06054911e39fd2795cd34f2f1015b2c630add Mon Sep 17 00:00:00 2001 From: Ivy233 Date: Wed, 19 Aug 2026 11:40:48 +0800 Subject: [PATCH] chore(debian): remove unneeded fonts-noto-cjk runtime dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The dependency was introduced in 2018 along with adjust-grub-theme, whose GRUB themes then used "Noto Sans CJK SC" for menu text, resolved via fc-match and rendered with grub-mkfont - Since the V25 theme migration, the active deepin/deepin-fallback themes use Unifont only and ship a pre-generated unifont-regular-16.pf2, so no runtime font generation is needed anymore - The Noto-based v20 theme path (adjustThemeNormalV20) is dead code now, and the font-generation code (findFont/genPF2Font) has already been eliminated by the linker in released binaries - No other dde-api binary renders text, and language_support installs fonts-noto-cjk on demand via pkg_depends when adding ja/ko/zh locales --- chore(debian): 移除不再需要的 fonts-noto-cjk 运行时依赖 - 该依赖于 2018 年随 adjust-grub-theme 一并引入,当时 GRUB 主题的菜单文字 使用 "Noto Sans CJK SC" 字体,需通过 fc-match 查找字体文件并用 grub-mkfont 生成 pf2 字体 - V25 主题迁移后,当前生效的 deepin/deepin-fallback 主题仅使用 Unifont 字体,且自带预生成的 unifont-regular-16.pf2,运行时不再需要生成字体 - 基于 Noto 字体的 v20 主题路径(adjustThemeNormalV20)已成为死代码,字体 生成相关代码(findFont/genPF2Font)在已发布的二进制中已被链接器消除 - 其余二进制均不进行文本渲染;language_support 在添加 ja/ko/zh 语言时会 通过 pkg_depends 按需安装 fonts-noto-cjk Log: 移除 dde-api 不再需要的 fonts-noto-cjk 运行时依赖 Influence: 打包依赖,不影响运行时功能 PMS: TASK-394379 --- debian/control | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/control b/debian/control index adab42a..f0751b4 100644 --- a/debian/control +++ b/debian/control @@ -48,7 +48,6 @@ Depends: blur-effect, coreutils(>=8.30), fontconfig, - fonts-noto-cjk, libcanberra-pulse, locales, rfkill,