Created attachment 273035 [details] Upgrade VLC to 3.0.23 and switch to Qt6 Upgrade VLC to 3.0.23 and switch to Qt6. Release notes at https://code.videolan.org/videolan/vlc/-/tags/3.0.23 Remark: wayland is disabled by default.
What's the purpose of patch-configure.ac and patch-modules_gui_qt_qt6.pro patches? Are you backporting Qt6 support to 3.0.23?
Release notes suggests that Qt6 is already supported.
(In reply to Max Brazhnikov from comment #2) Yes, they said that, but actually it seems that only the code supports Qt6. The build environment seems not ready - at least I have not been able to build it without these patches.
It probably could be build with less patching. Let me check it.
Unfortunately Qt6 version is defective. At the first glance: VLC fails to load files from the Recent Media menu; switching between tabs does not work in the Simple Preferences. I think about adding Qt6 option without removing Qt5 support and making Qt5 the default one. What do you think?
(In reply to Max Brazhnikov from comment #5) Yes, we can do that for the moment. Have you been able to simplify the patches?
Created attachment 273467 [details] Update to 3.0.23, allow to build with Qt6, default to Qt5 Difference from the previous patch: Removed requirement for autoreconf (patching configure directly for Qt6 build) Removed bogus DEBUG option Added QT option which requires either QT5 or QT6. Please test whether it works for you.
Great! But why don't you set Qt6 by default? (it was the original aim of this PR)
(In reply to Thierry Thomas from comment #8) > But why don't you set Qt6 by default? (it was the original aim of this PR) VLC/Qt6 is not usable, see my notes in https://bugs.freebsd.org/296939#c5
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=03699b0de7a3cd995d346a816674d6710a8f4603 commit 03699b0de7a3cd995d346a816674d6710a8f4603 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2026-08-11 14:40:21 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2026-08-11 14:40:21 +0000 multimedia/vlc: Update to 3.0.23 - Allow to build with Qt 6 (experimental). Add general QT option and QT5/QT6 radio switch. - Enable FRIBIDI by default (required by HARFBUZZ). - Remove DEBUG from OPTIONS, respect WITH_DEBUG instead. - Do not silence commands. Release notes: https://code.videolan.org/videolan/vlc/-/tags/3.0.23 PR: 296939 Co-authored-by: Max Brazhnikov <makc@FreeBSD.org> multimedia/vlc/Makefile | 78 +++-- multimedia/vlc/distinfo | 6 +- multimedia/vlc/files/patch-modules_access_rdp.c | 14 +- .../vlc/files/patch-modules_gui_qt_qt6.pro (new) | 13 + multimedia/vlc/files/patch-share_Makefile.in | 4 +- multimedia/vlc/files/patch-src-network-udp.c | 4 +- .../vlc/files/vlc-3.0.22-ffmpeg8.patch (gone) | 324 --------------------- multimedia/vlc/pkg-plist | 2 +- 8 files changed, 77 insertions(+), 368 deletions(-)
A commit in branch 2026Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5db01aa057d9fb7194ca23a9f342fae7c10463a1 commit 5db01aa057d9fb7194ca23a9f342fae7c10463a1 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2026-08-11 14:40:21 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2026-08-18 11:00:41 +0000 multimedia/vlc: Update to 3.0.23 - Allow to build with Qt 6 (experimental). Add general QT option and QT5/QT6 radio switch. - Enable FRIBIDI by default (required by HARFBUZZ). - Remove DEBUG from OPTIONS, respect WITH_DEBUG instead. - Do not silence commands. Release notes: https://code.videolan.org/videolan/vlc/-/tags/3.0.23 PR: 296939 Co-authored-by: Max Brazhnikov <makc@FreeBSD.org> (cherry picked from commit 03699b0de7a3cd995d346a816674d6710a8f4603) multimedia/vlc/Makefile | 78 +++-- multimedia/vlc/distinfo | 6 +- multimedia/vlc/files/patch-modules_access_rdp.c | 14 +- .../vlc/files/patch-modules_gui_qt_qt6.pro (new) | 13 + multimedia/vlc/files/patch-share_Makefile.in | 4 +- multimedia/vlc/files/patch-src-network-udp.c | 4 +- .../vlc/files/vlc-3.0.22-ffmpeg8.patch (gone) | 324 --------------------- multimedia/vlc/pkg-plist | 2 +- 8 files changed, 77 insertions(+), 368 deletions(-)