Commit 6f8d5cb
committed
refactor: unify dtk5 and dtk6 version handling
Removed version mapping logic for DTK5 and DTK6 as part of unified build
transformation. The changes include:
1. Removed DTK5_VERSION, DTK6_VERSION, and DTK5_MAJOR_MINOR variable
definitions
2. Removed VERSION, PACK_VER, and BUILD_VER variable definitions
3. Removed -DBUILD_VERSION and -DDTK_VERSION CMake arguments from both
DTK5 and DTK6 build configurations
4. Removed override_dh_makeshlibs target that used version-specific
dependency specifications
This refactoring is necessary because dtk5 and dtk6 now share the same
version numbers, eliminating the need for separate version mapping
logic. The unified build approach simplifies the build system and
reduces maintenance complexity.
Influence:
1. Verify that both DTK5 and DTK6 packages build successfully without
version mapping
2. Test that the resulting packages have correct version numbers
3. Check that shared library dependencies are properly handled without
version-specific overrides
4. Validate that Build-Profiles (nodtk5, nodtk6, nodoc) still work
correctly
5. Test package installation and runtime functionality
refactor: 统一dtk5和dtk6版本处理逻辑
作为统一构建改造的一部分,移除了DTK5和DTK6的版本映射逻辑。具体变更包括:
1. 移除了DTK5_VERSION、DTK6_VERSION和DTK5_MAJOR_MINOR变量定义
2. 移除了VERSION、PACK_VER和BUILD_VER变量定义
3. 从DTK5和DTK6构建配置中移除了-DBUILD_VERSION和-DDTK_VERSION CMake参数
4. 移除了使用版本特定依赖规范的override_dh_makeshlibs目标
此次重构是必要的,因为dtk5和dtk6现在使用相同的版本号,不再需要单独的版本
映射逻辑。统一构建方法简化了构建系统并降低了维护复杂度。
Influence:
1. 验证DTK5和DTK6包在没有版本映射的情况下能否成功构建
2. 测试生成的包是否具有正确的版本号
3. 检查共享库依赖关系在没有版本特定覆盖的情况下是否正确处理
4. 验证Build-Profiles(nodtk5、nodtk6、nodoc)是否仍能正常工作
5. 测试软件包安装和运行时功能1 parent bbe233a commit 6f8d5cb
1 file changed
Lines changed: 0 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 21 | | |
32 | 22 | | |
33 | 23 | | |
| |||
38 | 28 | | |
39 | 29 | | |
40 | 30 | | |
41 | | - | |
42 | | - | |
43 | 31 | | |
44 | 32 | | |
45 | 33 | | |
| |||
48 | 36 | | |
49 | 37 | | |
50 | 38 | | |
51 | | - | |
52 | | - | |
53 | 39 | | |
54 | 40 | | |
55 | 41 | | |
| |||
69 | 55 | | |
70 | 56 | | |
71 | 57 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 58 | | |
81 | 59 | | |
82 | 60 | | |
| |||
0 commit comments