Bug 267520 - graphics/libimagequant: update to 4.0.4
Summary: graphics/libimagequant: update to 4.0.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL: https://github.com/ImageOptim/libimag...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2022-11-02 12:46 UTC by Jan Beich
Modified: 2022-11-02 14:01 UTC (History)
1 user (show)

See Also:


Attachments
v1 (apply via "git am") (9.00 KB, patch)
2022-11-02 12:46 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-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(-)