Created attachment 237817 [details] v1 (apply via "git am") *.avif are supported by Firefox and Chromium. AVIF option doesn't pull lang/rust as build-only dependency because RAV1E in graphics/libavif is disabled by default (at least until librav1e becomes more efficient). Besides, after bug 263185 + bug 267520 lang/rust is already pulled via graphics/libimagequant. This partially reverts ports 1370414543ae.
testing
> lang/rust is already pulled via graphics/libimagequant. Since you're at it Dirk, please consider disabling LIQ option by default because of the `lang/rust' abomination, so we all can drop our local patches (hard to keep them around with Git due to its lack of automerge).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=84531028a86540f4e90c04180d1aef1fd9837fc1 commit 84531028a86540f4e90c04180d1aef1fd9837fc1 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2022-11-10 08:27:32 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2022-11-10 08:27:32 +0000 graphics/gd: enable option AVIF as default PR: 267523 graphics/gd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Commited thanks. There is no need for local patches. just disable the option in /etc/make.conf or in environment of your build. /etc/make.conf: grahics_gd_UNSET+=AVIL LIQ
(In reply to Dirk Meyer from comment #4) > /etc/make.conf: > grahics_gd_UNSET+=AVIL LIQ That should do it, thanks. OTOH, people might not know about this trick or find out only when their CPU cycles and RAM being eaten by oxidation. Is LIQ option really that commonly useful to be enabled by default in the first place?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=896a897422773c6615a48d71b22eeee8f9de317d commit 896a897422773c6615a48d71b22eeee8f9de317d Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2022-11-14 09:39:33 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2022-11-14 09:39:33 +0000 graphics/gd: mark option AVIF as broken PR: 267523 graphics/gd/Makefile | 1 + 1 file changed, 1 insertion(+)