Bug 270218 - graphics/unpaper: Update to 7.0.0
Summary: graphics/unpaper: Update to 7.0.0
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: Kai Knoblich
URL: https://github.com/unpaper/unpaper/re...
Keywords:
Depends on:
Blocks: 261302
  Show dependency treegraph
 
Reported: 2023-03-14 20:12 UTC by Daniel Engberg
Modified: 2023-03-17 06:41 UTC (History)
0 users

See Also:
kai: maintainer-feedback+


Attachments
Patch for unpaper (2.77 KB, patch)
2023-03-14 20:12 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 20:12:40 UTC
Created attachment 240846 [details]
Patch for unpaper

- Fixes compilation with FFmpeg 6.0

Compile tested on FreeBSD 13.2-BETA1 (amd64)
Poudriere testport OK 12.3-RELEASE (amd64)
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-17 06:39:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e7e52e029c8f5ffc38448ae46bc804a16fe6906

commit 1e7e52e029c8f5ffc38448ae46bc804a16fe6906
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-17 06:30:20 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-17 06:30:20 +0000

    graphics/unpaper: Update to 7.0.0

    Changelog:

    * Tests now compare a golden file by counting the bytes that differ
      between it and the result. This allows non-byte-perfect calculations
      to be executed and still not fail the tests. This is required as fused
      multiply-add instructions can increase precision and thus deviate from
      the base C code, when using floating-point arithmetic.

    * Build is now provided by Meson, replacing the Autotools based build
      system introduced in 0.4, 10½ years ago.

    * Compatibility expanded to ffmpeg-5 (and newer versions), which is the
      current widely available release.

    https://github.com/unpaper/unpaper/releases/tag/unpaper-7.0.0

    PR:             270218

 graphics/unpaper/Makefile                  | 15 +++++++--------
 graphics/unpaper/distinfo                  |  6 +++---
 graphics/unpaper/files/patch-file.c (gone) | 30 ------------------------------
 3 files changed, 10 insertions(+), 41 deletions(-)
Comment 2 Kai Knoblich freebsd_committer freebsd_triage 2023-03-17 06:41:20 UTC
(In reply to Daniel Engberg from comment #0)

Committed, thank you for the patch!