Bug 281107

Summary: x11-toolkits/gtk40: Add support for DMABUF
Product: Ports & Packages Reporter: shamaz.mazum
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo
Priority: --- Flags: bugzilla: maintainer-feedback? (desktop)
jbeich: merge-quarterly+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
The patch for the gtk port none

Description shamaz.mazum 2024-08-28 07:09:51 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-08-29 00:54:57 UTC
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(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-08-29 00:56:58 UTC
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(-)