From 37ef29ae8daeb13f112af6615b27b79377df6405 Mon Sep 17 00:00:00 2001 From: yeshanshan Date: Thu, 22 Jan 2026 19:47:46 +0800 Subject: [PATCH] fix: add missing DTK core binary packages to build dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added libdtkcore5-bin and libdtk6core-bin to Build-Depends in debian/ control file. These packages were missing but required for the build process when DTK5 or DTK6 is enabled. The build was failing due to missing binary dependencies needed for DTK core functionality during compilation. Influence: 1. Test building the package with both DTK5 and DTK6 configurations 2. Verify the build process completes successfully without missing dependency errors 3. Test building with nodtk5 and nodtk6 flags to ensure conditional dependencies work correctly 4. Check that all build tools and binaries are available during compilation fix: 添加缺失的DTK核心二进制包到构建依赖 在debian/control文件的Build-Depends中添加了libdtkcore5-bin和libdtk6core- bin包。这些包在启用DTK5或DTK6时是必需的,但在构建依赖中缺失。由于编译过 程中缺少DTK核心功能所需的二进制依赖,导致构建失败。 Influence: 1. 测试使用DTK5和DTK6配置构建软件包 2. 验证构建过程能成功完成,没有缺少依赖的错误 3. 测试使用nodtk5和nodtk6标志构建,确保条件依赖正常工作 4. 检查编译期间所有构建工具和二进制文件是否可用 --- debian/control | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 486a54c1..fed81b58 100644 --- a/debian/control +++ b/debian/control @@ -13,7 +13,9 @@ Build-Depends: debhelper-compat (= 12), libraw-dev, treeland-protocols, extra-cmake-modules, + libdtkdata, libdtkcore-dev , + libdtkcore5-bin , qtbase5-dev-tools , qtbase5-private-dev , qttools5-dev , @@ -25,6 +27,7 @@ Build-Depends: debhelper-compat (= 12), libkf5wayland-dev , qt5-image-formats-plugins , libdtk6core-dev , + libdtk6core-bin , qt6-base-dev-tools , qt6-base-dev , qt6-base-private-dev , @@ -38,7 +41,7 @@ Standards-Version: 3.9.8 Package: libdtk6gui Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libdtkdata, +Depends: ${shlibs:Depends}, ${misc:Depends}, qt6-image-formats-plugins Multi-Arch: same Build-Profiles: @@ -78,7 +81,7 @@ Description: Development ToolKit Gui (Document) Package: libdtkgui5 Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libdtkdata, +Depends: ${shlibs:Depends}, ${misc:Depends}, qt5-image-formats-plugins Multi-Arch: same Build-Profiles: