Bug 262103 - graphics/vips: Enable JXL by default
Summary: graphics/vips: Enable JXL by default
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2022-02-21 18:34 UTC by Jan Beich
Modified: 2022-03-30 12:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
v1 (apply via "git am") (1.31 KB, patch)
2022-02-21 18:34 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2022-02-21 18:34:54 UTC
Created attachment 231994 [details]
v1 (apply via "git am")

JPEG XL aims to replace JPEG 2000. Adopted by web browsers (e.g., test in Firefox via image.jxl.enabled=true in about:config), supports lossless JPEG recompression and faster to encode than AVIF.

https://en.wikipedia.org/wiki/JPEG_XL
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-03-07 18:28:19 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2344850cb610f4cf3e41ce7808e51aa94f8a7d70

commit 2344850cb610f4cf3e41ce7808e51aa94f8a7d70
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 18:09:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:13:25 +0000

    graphics/vips: Enable JXL option by default

    - Bump PORTREVISION for dependency change

    PR:             262103
    Submitted by:   jbeich

 graphics/vips/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-03-07 18:38:41 UTC
Committed. Thanks!
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-03-30 11:26:08 UTC
BTW, b3dac5f9c2b1d92d4818cf8a850a269f9bbc1597 could be part of this PR instead of being committed without maintainer approval.
Comment 4 Jan Beich freebsd_committer freebsd_triage 2022-03-30 12:55:30 UTC
(In reply to Po-Chuan Hsieh from comment #3)
Fixing untracked dependencies is covered by portmgr blanket. To illustrate try the following:

1. Revert both ports b3dac5f9c2b1 and ports 2344850cb610
2. Add BUILD_DEPENDS += libjxl>0:graphics/libjxl to Makefile.local (optional, obsoleted by ports 755a50799648 or ports 8065f30c010d)
3. Build via "poudriere testport" or "make stage-qa"
4. Error: /usr/local/bin/vips is linked to /usr/local/lib/libjxl.so.0.6 from graphics/libjxl but it is not declared as a dependency        
Warning: you need LIB_DEPENDS+=libjxl.so:graphics/libjxl