Repository navigation
[modemmanager-qt] New port - #54950
Daniele E. Domenichelli (drdanz) wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The port installs a shared library when static linkage is requested and accepts older ModemManager versions that leave installed cell-broadcast headers unusable.
2 open issues
What changed in this PR
Adds modemmanager-qt 6.31.0, KDE’s Qt wrapper for the ModemManager D-Bus API, as a Linux-only vcpkg port.
Changes:
- Adds the port recipe and metadata, including a system ModemManager development-package requirement.
- Adds Qt XML dependency discovery for static consumers.
- Registers the port in the version database and KDE Frameworks update script.
Validation covered the supplied changes and relevant upstream build and header definitions; no builds or consumer tests were run.
| File | Description |
|---|---|
versions/m-/modemmanager-qt.json |
Records the initial port version. |
versions/baseline.json |
Adds the 6.31.0 baseline entry. |
scripts/update_kf6.py |
Includes the port in KDE Frameworks updates. |
ports/modemmanager-qt/vcpkg.json |
Defines metadata, Linux support, and dependencies. |
ports/modemmanager-qt/portfile.cmake |
Downloads, configures, installs, and packages the library. |
ports/modemmanager-qt/fix-static-dependencies.patch |
Adds Qt XML discovery for static consumers. |
Review effort: Balanced
341edd8 to
1c6bde4
Compare
|
The x64-linux failure is because the CI image is missing ModemManager headers. I don't think that a vcpkg port is worth at the moment, so instead I suggest to add modemmanager-dev to the CI image (the build message also requests that). |
723c5d0 to
dcf614c
Compare
This seems to rely on some packages which are also in vcpkg. |
|
Kai Pastor (@dg0yt) The page you linked is for the daemon package. At runtime it needs the system's ModemManager daemon anyway, like the other D-Bus services used by the KF6 ports. If you'd rather not add it to the CI image, an alternative is a small modemmanager-dev port installing just these headers. |
dcf614c to
e2fd9bf
Compare
I picked the main package because this what you normally get as a dependency of a dev package. But I acknowledge that it is different here, and it is good to have this shown explicitly. (OTOH if it is enough to build on modemmanager headers, why couldn't vcpkg package just the headers?) |
e2fd9bf to
a558ce7
Compare
|
Blocked by #55055 |
a558ce7 to
91f74b4
Compare
91f74b4 to
6f6e992
Compare
6f6e992 to
b62414e
Compare


Owner-Projectform.vcpkg.json, or explicitly disabled through patches or build system arguments such as CMAKE_DISABLE_FIND_PACKAGE_Xxx or VCPKG_LOCK_FIND_PACKAGEvcpkg.jsonmatches what upstream says.vcpkg.jsonmatches what upstream says../vcpkg x-add-version --alland committing the result.