Bug 270213 - multimedia/QtAV: Fails to build with FFmpeg 6.0
Summary: multimedia/QtAV: Fails to build with FFmpeg 6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks: 261302
  Show dependency treegraph
 
Reported: 2023-03-14 17:33 UTC by Daniel Engberg
Modified: 2023-07-18 20:15 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 17:33:56 UTC
Backport patch/switch to fork? Arch seems to use latest commit
https://github.com/wang-bin/QtAV/issues/1377
https://github.com/cmguo/QtAV/commits/master

Reference:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c46
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:38 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b258368aa1e0a0992618f5f030629712f297be7f

commit b258368aa1e0a0992618f5f030629712f297be7f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:54:14 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:42 +0000

    multimedia/QtAV: Mark BROKEN

    Fails to build with FFmpeg 6 and I can't figure out how to fix it

    PR:             270213

 multimedia/QtAV/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Martin Birgmeier 2023-04-28 09:40:06 UTC
Probably use the new port multimedia/ffmpeg4 for this?
Comment 3 Oleg Sidorkin 2023-04-28 17:31:43 UTC
(In reply to Martin Birgmeier from comment #2)

It's not that easy: it uses qmake instead and its upstream looks quite abandoned. graphics/digikam is its only consumer in ports.
In digikam 8.0.0 they merged QtAV to their repository and fixed it to support new ffmpeg.

So IMO the best fix here is to update digikam and remove QtAV port.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-05-01 08:53:29 UTC
Correct, afaik there's work being done updating digikam
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2023-05-27 17:52:45 UTC
QtAV is dead upstream, can we mark this for removal before next quarter?
Comment 6 Jason E. Hale freebsd_committer freebsd_triage 2023-07-18 18:08:49 UTC
I marked multimedia/QtAV for removal on 2023-08-17 and forgot to reference this bug in the commit. Digikam was updated to 8.1.0, so nothing depends on it now.

https://cgit.freebsd.org/ports/commit/?id=e5b64cbf61a8a2a0ac7231b3ed543b3619e3d672
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2023-07-18 20:15:19 UTC
Thanks for dumping Digikam