[Midnightbsd-cvs] [MidnightBSD/mports] 6b35f4: Qt5: Update to 5.15.19 (#823)

Lucas Holt noreply at github.com
Sat Sep 5 03:18:38 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 6b35f4ad998b57dba668164ec06f3f3b2dc3eec9
      https://github.com/MidnightBSD/mports/commit/6b35f4ad998b57dba668164ec06f3f3b2dc3eec9
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M Mk/extensions/qt-dist.mk
    M Mk/extensions/qt.mk
    M accessibility/qt5-speech/distinfo
    M comms/qt5-connectivity/distinfo
    M comms/qt5-sensors/distinfo
    M comms/qt5-serialbus/distinfo
    M comms/qt5-serialport/distinfo
    M databases/qt5-sql/distinfo
    M databases/qt5-sqldrivers-mysql/distinfo
    M databases/qt5-sqldrivers-odbc/distinfo
    M databases/qt5-sqldrivers-pgsql/distinfo
    M databases/qt5-sqldrivers-sqlite2/distinfo
    M databases/qt5-sqldrivers-sqlite3/distinfo
    M databases/qt5-sqldrivers-tds/distinfo
    M devel/qt5-assistant/distinfo
    M devel/qt5-buildtools/distinfo
    M devel/qt5-concurrent/distinfo
    M devel/qt5-core/Makefile
    M devel/qt5-core/distinfo
    M devel/qt5-core/pkg-plist
    M devel/qt5-dbus/distinfo
    M devel/qt5-designer/distinfo
    M devel/qt5-help/distinfo
    M devel/qt5-linguist/distinfo
    M devel/qt5-linguisttools/distinfo
    M devel/qt5-location/distinfo
    M devel/qt5-qdbus/distinfo
    M devel/qt5-qdbusviewer/distinfo
    M devel/qt5-qdoc-data/distinfo
    M devel/qt5-qdoc/distinfo
    M devel/qt5-qmake/distinfo
    M devel/qt5-remoteobjects/distinfo
    M devel/qt5-script/Makefile
    M devel/qt5-scripttools/Makefile
    M devel/qt5-scxml/distinfo
    M devel/qt5-testlib/distinfo
    M devel/qt5-uitools/distinfo
    M devel/qt5/Makefile
    M graphics/qt5-3d/distinfo
    M graphics/qt5-graphicaleffects/distinfo
    M graphics/qt5-imageformats/Makefile
    M graphics/qt5-imageformats/distinfo
    M graphics/qt5-opengl/distinfo
    M graphics/qt5-pixeltool/distinfo
    M graphics/qt5-svg/distinfo
    M graphics/qt5-wayland/distinfo
    M misc/qt5-examples/distinfo
    M misc/qt5-examples/pkg-plist
    M misc/qt5-l10n/distinfo
    M multimedia/qt5-multimedia/distinfo
    M net/qt5-network/distinfo
    M net/qt5-networkauth/distinfo
    M print/qt5-printsupport/distinfo
    M sysutils/qt5-qtdiag/distinfo
    M sysutils/qt5-qtpaths/distinfo
    M sysutils/qt5-qtplugininfo/distinfo
    M textproc/qt5-xml/distinfo
    M textproc/qt5-xmlpatterns/distinfo
    M www/qt5-webchannel/distinfo
    M www/qt5-webengine/Makefile
    M www/qt5-webglplugin/distinfo
    M www/qt5-websockets-qml/distinfo
    M www/qt5-websockets/distinfo
    M www/qt5-webview/Makefile
    M www/qt5-webview/distinfo
    M x11-themes/qt5-style-plugins/Makefile
    M x11-toolkits/qt5-charts/distinfo
    M x11-toolkits/qt5-datavis3d/distinfo
    M x11-toolkits/qt5-declarative-test/Makefile
    M x11-toolkits/qt5-declarative-test/distinfo
    M x11-toolkits/qt5-declarative/Makefile
    M x11-toolkits/qt5-declarative/distinfo
    M x11-toolkits/qt5-gamepad/distinfo
    M x11-toolkits/qt5-gui/distinfo
    M x11-toolkits/qt5-quick3d/distinfo
    M x11-toolkits/qt5-quickcontrols/distinfo
    M x11-toolkits/qt5-quickcontrols2/distinfo
    M x11-toolkits/qt5-quicktimeline/distinfo
    M x11-toolkits/qt5-uiplugin/distinfo
    M x11-toolkits/qt5-virtualkeyboard/distinfo
    M x11-toolkits/qt5-widgets/distinfo
    M x11/qt5-qev/distinfo
    M x11/qt5-x11extras/distinfo

  Log Message:
  -----------
  Qt5: Update to 5.15.19 (#823)

Updates the Qt5 framework from 5.15.18 to 5.15.19, the final upstream
Qt5 release.

## Why

5.15.19 carries three security fixes:

- CVE-2024-38081 (qtbase)
- CVE-2025-30348 (qtbase)
- CVE-2025-23050 (qtconnectivity)

It also refreshes the libraries bundled in qtbase: SQLite to 3.49.1,
HarfBuzz to 10.4.0, libpng to 1.6.47, libjpeg-turbo to 3.1.0, and the
public suffix list.

## What changed

**Framework** (`Mk/extensions/`) — four lines only. `qt.mk` gets
`QT5_VERSION` 5.15.18 → 5.15.19; `qt-dist.mk` gets the KDE patch
counters `_KDE_base` 109 → 96, `_KDE_connectivity` 1 → 0,
`_KDE_declarative` 22 → 23. The counters restart per upstream release,
so `_KDE_base` decreasing is expected. `_KDE_connectivity` reaching 0
does **not** change the distfile source: `${_KDE_${_QT_DIST}:D_kde}`
tests whether the variable is defined, not whether it is non-zero, so
qtconnectivity still uses `kde-qtconnectivity-5.15.19p0.tar.xz`.

The rest of FreeBSD's `qt.mk`/`qt-dist.mk` was deliberately not synced —
those files also carry Qt6 6.11.2, PySide6, the new
`canvaspainter`/`openapi`/`tasktree` dists, and the `FAKE_DESTDIR` vs
`STAGEDIR` divergence.

**distinfo** — 69 ports. Eight qt5 ports deliberately keep theirs:
`devel/qt5` (metaport), `qt5-script` and `qt5-scripttools` (pinned to
`_KDE_script_VERSION`), `misc/qt5-doc` (pinned to 5.12.2),
`www/qt5-webengine` (pinned to `_KDE_webengine_VERSION`, already
5.15.19), `qt5-style-plugins` and `qt5pas` (independently versioned).

**pkg-plist** — `devel/qt5-core` gains `QtCore/QtStdLibDetection` and
`QtCore/qstdlibdetection.h`; `misc/qt5-examples` gains two qthangman
gradle files.

**PORTREVISION** — dropped where the version moves (`qt5`, `qt5-core`,
`qt5-imageformats`, `qt5-declarative`, `qt5-declarative-test`,
`qt5-webview`); bumped where the port rebuilds against the new qtbase
without its own version changing (`qt5-script`, `qt5-scripttools`,
`qt5-webengine`, `qt5-style-plugins`).

Consumers of `USES=qt:5` are **not** bumped. `libQt5Core.so.5` keeps its
SONAME across a point release, so no dependent rebuild is required —
verified with `readelf -d` on the freshly built library.

## Validation (amd64)

| Check | Result |
|---|---|
| 69 mports distinfos vs FreeBSD pre-update | byte-identical, so
copy-forward is exact |
| `bmake -V DISTFILES` vs distinfo, all 76 qt5 ports | 0 mismatches |
| 37 distinct distfiles, size vs mirror | all present, all sizes match |
| `devel/qt5-qmake` | build → fake → package (real SHA256 fetch of the
p96 tarball) |
| `devel/qt5-buildtools` | build → fake → package |
| `devel/qt5-core` | build → fake → `check-fake` → package (covers the
plist edit) |
| `x11-toolkits/qt5-gui` | build → fake → `check-fake` → package |
| `devel/qt5-script` | build → fake → `check-fake` → package |
| MidnightBSD-local patches vs p96 source | all applied, zero `.rej` |
| `readelf -d libQt5Core.so` | `SONAME libQt5Core.so.5`, unchanged |

`qt5-script` was built specifically because its `FIND_VERSION_EXACT`
rewrite (`Makefile:34`) depends on the *relationship* between its pinned
`QT5_VERSION` and `qt5-core`'s, which this change alters. It now
resolves to a self-replacement and the generated `Qt5ScriptConfig.cmake`
is internally consistent at 5.15.19.

The remaining 71 ports are plain distinfo swaps against tarballs already
verified on the mirror, and are left to a full Magus run.

## Noted separately, not fixed here

`devel/qt5-core`'s post-fake step uses `sed -i.bak` on
`Qt5*Config.cmake`, leaving `Qt5CoreConfig.cmake.bak` and
`Qt5Config.cmake.bak` as plist orphans in the stage dir. Pre-existing,
unrelated to this bump, worth its own one-line fix.

## Process note

AGENTS.md mandates one port per branch/PR. That cannot hold for a
framework bump touching ~72 ports, so this is a single branch by
explicit maintainer agreement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01K3gFUz4ToPe25CYRu9zvuG

## Summary by Sourcery

Update the Qt5 framework and ports to version 5.15.19 with refreshed
sources, security fixes, and package metadata.

Bug Fixes:
- Update Qt5 ports to the final 5.15.19 upstream release, incorporating
its security fixes and refreshed bundled dependencies.

Enhancements:
- Refresh KDE Qt5 patch levels and distfiles across the Qt5 port
collection.
- Update package manifests for newly installed QtCore detection files
and qthangman example files.
- Adjust port revisions for packages rebuilt against the updated Qt5
framework while avoiding unnecessary dependent rebuilds.

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications



More information about the Midnightbsd-cvs mailing list