-
Notifications
You must be signed in to change notification settings - Fork 42
refactor: unify DTK5 and DTK6 build system #555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @18202781743, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
CMakeLists.txt
Outdated
| set(EnableQt5 on) | ||
| set(EnableDtk5 on) | ||
| set(EnableQt6 off) | ||
| set(EnableDtk6 off) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些选项现在没用了,可以删除了。
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1 similar comment
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin pr auto review我来对这份 CMakeLists.txt 的修改进行审查:
这些修改总体上是积极的,使代码更加清晰、可维护,但需要注意测试和文档的完善。 |
1. Replaced automatic DTK version detection with explicit DTK5 option
for unified build configuration
2. Introduced DTK_NAME_SUFFIX variable to differentiate between DTK5
(empty) and DTK6 ("6") builds
3. Updated all CMake configuration files to use DTK_VERSION_MAJOR and
DTK_NAME_SUFFIX consistently
4. Modified Debian packaging to support both DTK5 and DTK6 with separate
build profiles
5. Added DTK6-specific Debian package definitions and installation
scripts
6. Updated debian/rules to handle separate builds for DTK5 and DTK6 with
proper version mapping
7. Fixed include paths, library names, and configuration file names to
follow DTK naming conventions
8. Ensured proper Qt version selection (Qt5 for DTK5, Qt6 for DTK6)
throughout the build system
Log: Unified build system now supports both DTK5 and DTK6 with explicit
configuration options
Influence:
1. Test building with DTK5=ON to ensure DTK5 compatibility
2. Test building with DTK5=OFF to ensure DTK6 compatibility
3. Verify library naming: dtkdeclarative for DTK5, dtk6declarative for
DTK6
4. Check include paths: /usr/include/dtk5/ for DTK5, /usr/include/dtk6/
for DTK6
5. Test Debian packaging with different build profiles (nodtk5, nodtk6,
nodoc)
6. Verify CMake configuration files are generated with correct names
7. Ensure QML plugin installation paths are correct for both Qt5 and Qt6
8. Test example applications (dtk-exhibition and dtk6-exhibition)
functionality
refactor: 统一 DTK5 和 DTK6 构建系统
1. 将自动 DTK 版本检测改为显式 DTK5 选项,实现统一构建配置
2. 引入 DTK_NAME_SUFFIX 变量区分 DTK5(空)和 DTK6("6")构建
3. 更新所有 CMake 配置文件以一致使用 DTK_VERSION_MAJOR 和
DTK_NAME_SUFFIX
4. 修改 Debian 打包以支持 DTK5 和 DTK6 的独立构建配置
5. 添加 DTK6 特定的 Debian 包定义和安装脚本
6. 更新 debian/rules 以处理 DTK5 和 DTK6 的独立构建及版本映射
7. 修复包含路径、库名称和配置文件名称以遵循 DTK 命名约定
8. 确保整个构建系统中正确选择 Qt 版本(DTK5 用 Qt5,DTK6 用 Qt6)
Log: 统一构建系统现在支持通过显式配置选项构建 DTK5 和 DTK6
Influence:
1. 测试使用 DTK5=ON 构建以确保 DTK5 兼容性
2. 测试使用 DTK5=OFF 构建以确保 DTK6 兼容性
3. 验证库命名:DTK5 为 dtkdeclarative,DTK6 为 dtk6declarative
4. 检查包含路径:DTK5 为 /usr/include/dtk5/,DTK6 为 /usr/include/dtk6/
5. 测试使用不同构建配置(nodtk5、nodtk6、nodoc)的 Debian 打包
6. 验证 CMake 配置文件是否以正确名称生成
7. 确保 QML 插件安装路径对 Qt5 和 Qt6 都正确
8. 测试示例应用程序(dtk-exhibition 和 dtk6-exhibition)的功能
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#555
for unified build configuration
(empty) and DTK6 ("6") builds
DTK_NAME_SUFFIX consistently
build profiles
scripts
proper version mapping
follow DTK naming conventions
throughout the build system
Log: Unified build system now supports both DTK5 and DTK6 with explicit
configuration options
Influence:
DTK6
for DTK6
nodoc)
functionality
refactor: 统一 DTK5 和 DTK6 构建系统
DTK_NAME_SUFFIX
Log: 统一构建系统现在支持通过显式配置选项构建 DTK5 和 DTK6
Influence: