Skip to content

[kcmutils] New port - #55059

Draft
Daniele E. Domenichelli (drdanz) wants to merge 1 commit into
microsoft:masterfrom
drdanz:kcmutils
Draft

Daniele E. Domenichelli (drdanz) wants to merge 1 commit into
microsoft:masterfrom
drdanz:kcmutils

Conversation

@drdanz

Copy link
Copy Markdown
Contributor
  • Changes comply with the maintainer guide.
  • The packaged project is mature and ready for broad sharing with vcpkg users
    • Has a release at least 6 months old or 6 months of demonstrated public development
    • Is an official component of something else meeting that criteria
    • Some other reason (please explain)
  • The packaged project shows strong association with the chosen port name. Check this box if at least one of the following criteria is met:
    • The project is in Repology: https://repology.org/project/kcmutils/versions
    • The project is amongst the first web search results for "kcmutils" or "kcmutils C++". Include a screenshot of the search engine results in the PR.
    • The port name follows the 'GitHubOrg-GitHubRepo' form or equivalent Owner-Project form.
  • Optional dependencies of the build are all controlled by the port. A dependency is controlled if it is declared an unconditional dependency in vcpkg.json, or explicitly disabled through patches or build system arguments such as CMAKE_DISABLE_FIND_PACKAGE_Xxx or VCPKG_LOCK_FIND_PACKAGE
  • The versioning scheme in vcpkg.json matches what upstream says.
  • The license declaration in vcpkg.json matches what upstream says.
  • The installed as the "copyright" file matches what upstream says.
  • The source code of the component installed comes from an authoritative source.
  • The generated "usage text" is brief and accurate. See adding-usage for context. Don't add a usage file if the automatically generated usage is correct.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

Blocked by #54899

Copilot AI balanced review requested due to automatic review settings November 13, 2026 23:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The port omits the required ki18n[qml] dependency, breaking clean builds, and lacks a native host generator for cross-compiling consumers.

2 open issues
What changed in this PR

Adds KDE Frameworks 6.31.0 KCMUtils to vcpkg for applications using KDE configuration modules. The PR also includes its KIO dependency from the blocking PR #54899.

Changes:

  • Adds KCMUtils and KIO ports with dependencies, feature controls, and tool packaging.
  • Patches KCMUtils exports and static-link dependencies; documents KIO runtime deployment.
  • Registers both ports in the version database and KDE update script.

Validation covered the supplied changes and targeted upstream source inspection; builds and consumer examples were not run.

File Description
versions/​k-/​kio.json Registers KIO 6.31.0.
versions/​k-/​kcmutils.json Registers KCMUtils 6.31.0.
versions/​baseline.json Adds both ports to the baseline.
scripts/​update_kf6.py Includes both ports in KDE updates.
ports/​kio/​vcpkg.json Declares KIO dependencies and features.
ports/​kio/​usage Documents targets and runtime deployment limitations.
ports/​kio/​portfile.cmake Configures and packages KIO libraries and helpers.
ports/​kcmutils/​vcpkg.json Declares KCMUtils dependencies and translations feature.
ports/​kcmutils/​portfile.cmake Packages KCMUtils libraries, QML modules, and tools.
ports/​kcmutils/​install-static-logging-library.patch Installs the logging library for static consumers.
ports/​kcmutils/​fix-static-dependencies.patch Adds KIO discovery for static consumers.
ports/​kcmutils/​export-qml-modules.patch Adds QML modules to the CMake export set.

Review effort: Balanced

Comment thread ports/kcmutils/vcpkg.json Resolved
Comment thread ports/kcmutils/portfile.cmake Resolved
@BillyONeal

Copy link
Copy Markdown
Member

GPT 6.2 Sol suggests that the build failures are caused by:

  • On x64-windows-static-md, both kcmutils[core] and kcmutils[core,translations] fail during CMake configuration. The required org.kde.kirigami module is sought in the package staging directory and the x64-windows host Qt installation, not in the target dependency tree. Make the KCMUtils configuration resolve Kirigami from the target triplet in both Release and Debug without requiring Kirigami on the host. CI results.

Drafting due to build failures, feel free to mark ready for review when you want us to take another look.

@BillyONeal
Billy O'Neal (BillyONeal) marked this pull request as draft November 21, 2026 05:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants