Bug 267520

Summary: graphics/libimagequant: update to 4.0.4
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: wen
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/ImageOptim/libimagequant/compare/2.17.0...4.0.4
Attachments:
Description Flags
v1 (apply via "git am") none

Description Jan Beich freebsd_committer freebsd_triage 2022-11-02 12:46:12 UTC
Created attachment 237814 [details]
v1 (apply via "git am")

Upstream rewrote in Rust using cargo-c to export C API. See audio/lewton for a simple example of using cargo-c in ports/.

ABI is compatible: no need to bump PORTREVISION in consumers. For example, games/tuxpaint built against older libimagequant still works fine.
Comment 1 Wen Heping freebsd_committer freebsd_triage 2022-11-02 13:07:15 UTC
Approved. Thank you !

Please feel free to take maintainership of it, since I know 
little about rust.

wen
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-11-02 13:59:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a5b2121a0ad6200c59901eff74646bba5015bad

commit 6a5b2121a0ad6200c59901eff74646bba5015bad
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-08-25 01:40:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-02 13:58:14 +0000

    graphics/libimagequant: update to 4.0.4

    - Adjust license for "or later" clause
    - Point to homepage suggested upstream
    - Drop superfluous newlines
    - Take maintainership

    Changes:        https://github.com/ImageOptim/libimagequant/compare/2.17.0...4.0.4
    PR:             267520
    Approved by:    wen (maintainer)

 graphics/libimagequant/Makefile              | 37 ++++++++++----
 graphics/libimagequant/Makefile.crates (new) | 34 +++++++++++++
 graphics/libimagequant/distinfo              | 74 ++++++++++++++++++++++++++--
 3 files changed, 132 insertions(+), 13 deletions(-)