Created attachment 253141 [details] The patch for the gtk port Hello. This commit adds support for DMABUF to gtk4. It is required for new versions of WebKit to work properly. I think this may be useful for other gtk applications as well. Here is a discussion which helped me a lot in writing this patch: https://lists.freebsd.org/archives/freebsd-x11/2024-August/005152.html
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=16e7d54a12bf07b70eff31fa44bbfd9001f9965c commit 16e7d54a12bf07b70eff31fa44bbfd9001f9965c Author: Vasily Postnikov <shamaz.mazum@gmail.com> AuthorDate: 2024-08-27 18:37:53 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-08-29 00:53:34 +0000 x11-toolkits/gtk40: enable DMABUF support after 5d5b000e62a6 PR: 281107 x11-toolkits/gtk40/Makefile | 4 +- x11-toolkits/gtk40/files/patch-dmabuf (new) | 70 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d5af0b2f979ca1e6894130be975710be38e9cb1 commit 1d5af0b2f979ca1e6894130be975710be38e9cb1 Author: Vasily Postnikov <shamaz.mazum@gmail.com> AuthorDate: 2024-08-27 18:37:53 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-08-29 00:55:09 +0000 x11-toolkits/gtk40: enable DMABUF support after 5d5b000e62a6 PR: 281107 (cherry picked from commit 16e7d54a12bf07b70eff31fa44bbfd9001f9965c) x11-toolkits/gtk40/Makefile | 4 +- x11-toolkits/gtk40/files/patch-dmabuf (new) | 70 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-)