Repository navigation
refactor(packaging): migrate dependencies to buildext - #434
deepin-bot[bot] merged 1 commit into
Conversation
1. Remove the manual install_dep/deploy_dep dependency handling from the Linglong build. 2. Declare the required build and runtime dependencies in buildext.apt. 3. Delete the obsolete install_dep and deploy_dep scripts. Log: Linglong dependencies are now resolved declaratively. Influence: 1. Verify ll-builder can parse and build the project with buildext.apt. 2. Confirm the application still starts and its runtime libraries are present. 3. Confirm no build script still references install_dep or deploy_dep. refactor(packaging): 将依赖迁移到 buildext 1. 移除 Linglong 构建中的 install_dep/deploy_dep 手动依赖处理。 2. 在 buildext.apt 中声明构建期和运行期依赖。 3. 删除不再使用的 install_dep 和 deploy_dep 脚本。 Log: Linglong 依赖改为声明式解析。 Influence: 1. 验证 ll-builder 能解析并构建项目。 2. 确认应用可正常启动且运行库齐全。 3. 确认构建脚本不再引用 install_dep 或 deploy_dep。 PMS:Task-396575 Multica: V-7089
|
Skipping CI for Draft Pull Request. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe Linglong packaging flow now delegates build-time and runtime dependency resolution to Linyaps through declarative buildext.apt entries, removing the legacy install/deploy scripts and generated manifest logic while leaving application code and Debian packaging unchanged. The build was validated through compilation and dependency resolution; the reported final-link failure is an existing runtime-layer Qt issue reproduced with the original configuration. Flow diagram for the updated Linglong buildflowchart TD
Start[Start Linglong build]
Resolve[Resolve buildext.apt dependencies]
Configure[Configure project with qmake]
Compile[Compile and install application]
Runtime[Declare runtime dependencies]
Finish[Produce package]
Start --> Resolve
Resolve --> Configure
Configure --> Compile
Compile --> Runtime
Runtime --> Finish
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: re2zero 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 |
|
/merge |
Summary
Remove the legacy manual
install_dep/deploy_dephandling from the Linglong build. Build-time and runtime dependencies are now declared inbuildext.aptand resolved by Linyaps.Changes
install_dep/deploy_depcalls and.installgeneration logic fromlinglong.yaml.install_depanddeploy_depscripts.buildext.apt.build_depends/dependsbased ondebian/control, base/runtime package lists, and actual usage evidence.Dependency Classification
build_depends (missing from base/runtime, with usage evidence):
libdjvulibre-dev— linked via-ldjvulibrein.prolibicu-dev— ICU supportliblcms2-dev— color managementlibopenjp2-7-dev— JPEG2000 supportlibchardet-dev—#include <chardet.h>in bundled deepin-pdfiumlibkf6globalaccel-dev—-lKF6GlobalAccelin.prolibkf6i18n-dev—-lKF6I18nin.prodepends (runtime, missing from base/runtime):
pandoc— runtime executablelibdjvulibre21,libchardet1,libkf6globalaccel6,libkf6i18n6Excluded (already in base/runtime or no usage evidence):
libgxps-dev/libcairo2-dev— XPS support is disabled by default in the qmake build (requiresCONFIG+=xps_support); no usage evidence in the active buildlibspectre-dev— no usage evidence in source code or build systemValidation
python3 -c 'import yaml; yaml.safe_load(open("linglong.yaml"))')git diff --checkpasses (no whitespace errors)install_depordeploy_depremain inlinglong.yamlll-builder build: dependencies resolved successfully viabuildext.apt; all build_depends packages installed; compilation completed successfully. The build fails at the final linking stage due to a pre-existing runtime layer issue (libQt6WaylandClient.so.6has an undefined reference to a Qt6 private API). This failure is not caused by this migration — it reproduces identically with the originallinglong.yaml(verified by testing the unmodified code).Notes
Multica issue: V-7089
Summary by Sourcery
Replace manual dependency and deployment handling with declarative buildext.apt dependency resolution for the Linglong package.
Enhancements:
Build:
Chores: