Bug 252822

Summary: graphics/libyuv and graphics/libavif: update libyuv to 0.0.1770 to satisfy dependency for libavif
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Some People CC: corsmith, jbeich, tcberner
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
update libyuv to 0.0.1770 to satisfy dependency for libavif (v1)
none
update libyuv to 0.0.1770 to satisfy dependency for libavif (v2)
none
update libyuv to 0.0.1767 (Chromium Stable channel use this version) to satisfy dependency for libavif (v3) vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2021-01-19 09:42:48 UTC
Created attachment 221729 [details]
update libyuv to 0.0.1770 to satisfy dependency for libavif (v1)

Fixed this build error:
libavif-0.8.4_1 is marked as broken: libyuv >= 1755 is required, see https://chromium.googlesource.com/libyuv/libyuv/+/d426247a3bf6%5E!/

Tested on 12.2 amd64: make build/check-plist/install.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2021-01-19 11:38:23 UTC
Comment on attachment 221729 [details]
update libyuv to 0.0.1770 to satisfy dependency for libavif (v1)

graphics/libavif:
- BUILD_DEPENDS should be above LIB_DEPENDS
- RUN_DEPENDS isn't necessary when building against old dependency is prevented by BUILD_DEPENDS
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2021-01-19 13:27:38 UTC
Created attachment 221738 [details]
update libyuv to 0.0.1770 to satisfy dependency for libavif (v2)

Fixed.

Don't forget about this note from graphics/libyuv/Makefile:
# sha256 changes everytime you download the archive, need to host it on freefall
# To download the distfile: as mikael: make MAINTAINER_MODE=yes fetch
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2021-01-28 12:36:47 UTC
Created attachment 221989 [details]
update libyuv to 0.0.1767 (Chromium Stable channel use this version) to satisfy dependency for libavif (v3)

https://chromereleases.googleblog.com/search/label/Desktop%20Update
Both:
https://github.com/chromium/chromium/blob/88.0.4324.96/DEPS
https://github.com/chromium/chromium/blob/88.0.4324.104/DEPS
uses:
  'src/third_party/libyuv':
    Var('chromium_git') + '/libyuv/libyuv.git' + '@' + 'f014dbd87ab06258569ad10a4cb6f84a8a7f7dd2',  # from r1714
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2021-01-30 19:45:34 UTC
Committed, thanks.
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-01-30 19:46:04 UTC
A commit references this bug:

Author: tcberner
Date: Sat Jan 30 19:45:26 UTC 2021
New revision: 563434
URL: https://svnweb.freebsd.org/changeset/ports/563434

Log:
  graphics/libyuv: update to 0.0.1767

  - enable option in graphics/libavif

  PR:		252822
  Submitted by:	VVD <vvd@unislabs.com>

Changes:
  head/graphics/libavif/Makefile
  head/graphics/libyuv/Makefile
  head/graphics/libyuv/distinfo
  head/graphics/libyuv/pkg-plist