Bug 296939 - multimedia/vlc: upgrade to 3.0.23 and switch to Qt6
Summary: multimedia/vlc: upgrade to 3.0.23 and switch to Qt6
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Max Brazhnikov
URL: https://code.videolan.org/videolan/vl...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-20 21:21 UTC by Thierry Thomas
Modified: 2026-08-05 08:10 UTC (History)
4 users (show)

See Also:
makc: maintainer-feedback+


Attachments
Upgrade VLC to 3.0.23 and switch to Qt6 (29.38 KB, patch)
2026-07-20 21:21 UTC, Thierry Thomas
no flags Details | Diff
Update to 3.0.23, allow to build with Qt6, default to Qt5 (25.94 KB, patch)
2026-08-04 21:31 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2026-07-20 21:21:58 UTC
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.
Comment 1 Max Brazhnikov freebsd_committer freebsd_triage 2026-08-02 16:50:14 UTC
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?
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2026-08-02 16:52:00 UTC
Release notes suggests that Qt6 is already supported.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2026-08-02 17:49:44 UTC
(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.
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2026-08-03 10:41:01 UTC
It probably could be build with less patching. Let me check it.
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2026-08-03 21:47:16 UTC
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?
Comment 6 Thierry Thomas freebsd_committer freebsd_triage 2026-08-04 06:52:31 UTC
(In reply to Max Brazhnikov from comment #5)
Yes, we can do that for the moment.
Have you been able to simplify the patches?
Comment 7 Max Brazhnikov freebsd_committer freebsd_triage 2026-08-04 21:31:34 UTC
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.
Comment 8 Thierry Thomas freebsd_committer freebsd_triage 2026-08-05 08:10:35 UTC
Great!

But why don't you set Qt6 by default? (it was the original aim of this PR)