Summary: | graphics/webp: unbundle libsharpyuv | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | vvd, xxjack12xx | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Jan Beich
2022-10-15 00:26:04 UTC
See also https://github.com/AOMediaCodec/libavif/issues/1164#issuecomment-1279633271 Libraries with unstable ABI are non-issue for rolling distros like FreeBSD e.g., webp update can just bump PORTREVISION in consumers. Not sure if this is related or not but now libavif fails to compile with the sharpyuv option enabled. root@jack:/usr/ports/graphics/libavif # make ===> libavif-0.11.0 depends on package: libyuv>=0.0.1774 - found ===> libavif-0.11.0 depends on file: /usr/local/bin/cmake - found ===> libavif-0.11.0 depends on executable: ninja - found ===> libavif-0.11.0 depends on package: pkgconf>=1.3.0_1 - found ===> libavif-0.11.0 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> libavif-0.11.0 depends on shared library: libaom.so - found (/usr/local/lib/libaom.so) ===> libavif-0.11.0 depends on shared library: libdav1d.so - found (/usr/local/lib/libdav1d.so) ===> libavif-0.11.0 depends on shared library: libgav1.so - found (/usr/local/lib/libgav1.so) ===> libavif-0.11.0 depends on shared library: libsharpyuv.so - not found ===> Installing for webp-1.2.4 ===> Checking if webp is already installed ===> webp-1.2.4 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of webp without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 (In reply to Jack from comment #2) Related. Attached patch will fix this issue. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=786b3ebb6793a6254904cee75621240dfceb6060 commit 786b3ebb6793a6254904cee75621240dfceb6060 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-12-30 08:55:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-12-30 09:06:31 +0000 graphics/webp: Unbundle libsharpyuv - Bump PORTREVISION for package change PR: 267062 Submitted by: jbeich Obtained from: https://github.com/webmproject/libwebp/commit/a3b68c195e27248e4401e727dbdb21ea1ef1258f https://github.com/webmproject/libwebp/commit/7deee8103edf77bf68095253668f4818d09609e1 https://github.com/webmproject/libwebp/commit/04764b56a00417d9c3aa5105f3b62a4445ac1fe6 https://github.com/webmproject/libwebp/commit/e8f83de2867456a75b13aa1e876b22e2d1e1c077 graphics/webp/Makefile | 1 + graphics/webp/files/patch-libsharpyuv (new) | 591 ++++++++++++++++++++++++++++ graphics/webp/pkg-plist | 7 + 3 files changed, 599 insertions(+) Committed. Thanks! |