From a106382ab4c005dbf364d827a454abc3cea1c736 Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Tue, 10 Feb 2026 16:15:07 +0800 Subject: [PATCH] chore: update build dependencies for Qt6 migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated debian/control file to remove Qt5 build dependencies and focus exclusively on Qt6 packages Added new debian/control.1 file containing Qt5-specific build dependencies for compatibility Removed conditional package selections (qt6-* | qt5-*) to simplify dependency management Eliminated placeholder packages (hello) that were used as fallbacks This change prepares the build system for full Qt6 migration while maintaining Qt5 support through separate configuration Influence: 1. Verify build process works with Qt6 dependencies 2. Test that Qt5 builds still work using debian/control.1 3. Check package installation and dependency resolution 4. Validate that all required development tools are available 5. Test cross-compilation scenarios if applicable chore: 更新构建依赖以支持 Qt6 迁移 更新 debian/control 文件,移除 Qt5 构建依赖,专注于 Qt6 包 新增 debian/control.1 文件,包含 Qt5 特定构建依赖以保持兼容性 移除条件包选择(qt6-* | qt5-*)以简化依赖管理 消除用作回退的占位包(hello) 此更改使构建系统为完全迁移到 Qt6 做好准备,同时通过单独配置保持 Qt5 支持 Influence: 1. 验证使用 Qt6 依赖的构建过程是否正常 2. 测试使用 debian/control.1 的 Qt5 构建是否仍能工作 3. 检查包安装和依赖解析 4. 验证所有必需的开发工具是否可用 5. 测试交叉编译场景(如果适用) --- debian/control | 24 ++++++++-------- debian/control.1 | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 13 deletions(-) create mode 100644 debian/control.1 diff --git a/debian/control b/debian/control index 7be96cdcf..15aea7cb2 100644 --- a/debian/control +++ b/debian/control @@ -5,19 +5,17 @@ Maintainer: Deepin Packages Builder Build-Depends: debhelper (>=9), cmake, - qt6-qmake | qt5-qmake, - qt6-base-dev | qtbase5-dev, - qt6-tools-dev-tools | qttools5-dev-tools, - qt6-tools-dev | qttools5-dev, - qt6-webengine-dev | qtwebengine5-dev, - libdtk6widget-dev | libdtkwidget-dev, - libdtk6gui-dev | libdtkgui-dev, - libdtk6core-dev | libdtkcore-dev, - libdtk6core5-bin |libdtkcore5-bin, - libkf6syntaxhighlighting-dev | libkf5syntaxhighlighting-dev, - qt6-script-dev | qtscript5-dev, - qt6-5compat-dev | hello, - libqt5scripttools5 | hello, + qt6-qmake, + qt6-base-dev, + qt6-tools-dev-tools, + qt6-tools-dev, + qt6-webengine-dev, + libdtk6widget-dev, + libdtk6gui-dev, + libdtk6core-dev, + libdtk6core5-bin, + libkf6syntaxhighlighting-dev, + qt6-5compat-dev, lxqt-build-tools (>= 0.6.0~), libssl-dev, llvm (>=1:7~), diff --git a/debian/control.1 b/debian/control.1 new file mode 100644 index 000000000..e761abf53 --- /dev/null +++ b/debian/control.1 @@ -0,0 +1,71 @@ +Source: deepin-unioncode +Section: libdevel +Priority: optional +Maintainer: Deepin Packages Builder +Build-Depends: + debhelper (>=9), + cmake, + qt5-qmake, + qtbase5-dev, + qttools5-dev-tools, + qttools5-dev, + qtwebengine5-dev, + libdtkwidget-dev, + libdtkgui-dev, + libdtkcore-dev, + libdtkcore5-bin, + libkf5syntaxhighlighting-dev, + qtscript5-dev, + libqt5scripttools5, + lxqt-build-tools (>= 0.6.0~), + libssl-dev, + llvm (>=1:7~), + llvm-dev (>=1:7~), + libclang-dev (>=1:7~), + libutf8proc-dev, + libmicrohttpd-dev, + libjsoncpp-dev, + libargtable2-dev, + libhiredis-dev, + catch, + libzstd-dev, + libjson-c-dev, + libelf-dev, + libcapstone-dev, + libunwind-dev, + libelfin-dev, + libdbus-1-dev, + libxi-dev, + clang[!mips64], + doxygen, + libyaml-cpp-dev, + libcmark-dev, + libchardet-dev, + libuchardet-dev (>= 0.0.6), + libicu-dev +Standards-version: 3.9.8 +Homepage: http://www.deepin.org + +Package: deepin-unioncode +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Recommends: cmake, + make, + gdb, + g++, + gcc, + git, + clangd-13|clangd, + python3-pip +Description: IDE 'Deepin Union Code' + Lightweight cross-platform integrated development environment + +Package: libdeepin-unioncode-dev +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends},deepin-unioncode +Description: IDE 'Union Code' devel library + IDE 'Union Code' development can be carried out through this library