head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.20.0.2
	pkgsrc-2026Q1-base:1.20
	pkgsrc-2025Q4:1.19.0.2
	pkgsrc-2025Q4-base:1.19
	pkgsrc-2025Q3:1.18.0.4
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.18.0.2
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.17.0.2
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.16.0.2
	pkgsrc-2024Q4-base:1.16
	pkgsrc-2024Q3:1.15.0.2
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.14.0.2
	pkgsrc-2024Q2-base:1.14
	pkgsrc-2024Q1:1.12.0.4
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.2
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.11.0.6
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.11.0.4
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.11.0.2
	pkgsrc-2023Q1-base:1.11
	pkgsrc-2022Q4:1.10.0.2
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.9.0.2
	pkgsrc-2022Q3-base:1.9
	pkgsrc-2022Q2:1.7.0.2
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.6.0.4
	pkgsrc-2022Q1-base:1.6
	pkgsrc-2021Q4:1.6.0.2
	pkgsrc-2021Q4-base:1.6
	pkgsrc-2021Q3:1.5.0.2
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.2.0.2
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.1.0.2
	pkgsrc-2021Q1-base:1.1;
locks; strict;
comment	@# @;


1.21
date	2026.04.23.05.39.10;	author adam;	state Exp;
branches;
next	1.20;
commitid	RCrhXKGDctliO2DG;

1.20
date	2026.01.26.09.15.24;	author adam;	state Exp;
branches;
next	1.19;
commitid	KPeb4OZD5URRNSrG;

1.19
date	2025.12.07.08.21.52;	author adam;	state Exp;
branches;
next	1.18;
commitid	Wv3LilpNnkK87slG;

1.18
date	2025.04.26.06.56.50;	author adam;	state Exp;
branches;
next	1.17;
commitid	JUP6A2M1rCCnSwSF;

1.17
date	2025.02.15.16.06.18;	author adam;	state Exp;
branches;
next	1.16;
commitid	ONiYuU9rSSXnaAJF;

1.16
date	2024.11.30.06.43.10;	author adam;	state Exp;
branches;
next	1.15;
commitid	kqASq7PoIK6FwDzF;

1.15
date	2024.07.13.05.20.38;	author adam;	state Exp;
branches;
next	1.14;
commitid	6qICS7TZWKDlzDhF;

1.14
date	2024.04.24.06.49.23;	author pin;	state Exp;
branches;
next	1.13;
commitid	bJUj4FaVvlvgDm7F;

1.13
date	2024.04.22.05.07.36;	author adam;	state Exp;
branches;
next	1.12;
commitid	UORDRx9WL0Dh867F;

1.12
date	2023.10.11.18.31.46;	author adam;	state Exp;
branches;
next	1.11;
commitid	YnlBKFEAA61MOeIE;

1.11
date	2022.12.26.22.08.55;	author pin;	state Exp;
branches;
next	1.10;
commitid	o6KER3yg0P4hj77E;

1.10
date	2022.12.07.21.39.50;	author pin;	state Exp;
branches;
next	1.9;
commitid	5GhetqrfCVO9LF4E;

1.9
date	2022.09.07.19.48.47;	author adam;	state Exp;
branches;
next	1.8;
commitid	Xv21aYnAd8zn4YSD;

1.8
date	2022.09.06.06.40.12;	author adam;	state Exp;
branches;
next	1.7;
commitid	8sUVkV4fygyKJLSD;

1.7
date	2022.05.12.09.38.46;	author pin;	state Exp;
branches;
next	1.6;
commitid	vBRN8oVr2qPguKDD;

1.6
date	2021.11.16.08.20.00;	author pin;	state Exp;
branches;
next	1.5;
commitid	3m63iIOl7ss0KZgD;

1.5
date	2021.08.05.08.52.48;	author pin;	state Exp;
branches;
next	1.4;
commitid	MlnRyT7R2rhweL3D;

1.4
date	2021.07.12.15.03.54;	author pin;	state Exp;
branches;
next	1.3;
commitid	yesuV3xQyt9H3I0D;

1.3
date	2021.07.05.09.09.23;	author pin;	state Exp;
branches;
next	1.2;
commitid	PAwRZQTceSBVjMZC;

1.2
date	2021.04.24.19.52.59;	author pin;	state Exp;
branches;
next	1.1;
commitid	cDjPhWnqidYdcAQC;

1.1
date	2021.01.29.11.39.38;	author pin;	state Exp;
branches;
next	;
commitid	hfjT4TA6IGLmcCFC;


desc
@@


1.21
log
@oxipng: updated to 10.1.1

10.1.1

[Performance] Improve Bigrams performance, giving notably faster results at lower levels.
[Improvement] Change --np flag to also prevent conversion to indexed from other color types.
[Improvement] Improve support for recompressing ICC profiles with high compression ratios.
[Misc] Add warning when --ziwi exceeds --zi.
[Build] Further reduce size of binaries.
@
text
@# $NetBSD: Makefile,v 1.20 2026/01/26 09:15:24 adam Exp $

DISTNAME=	oxipng-10.1.1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GITHUB:=shssoichiro/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/shssoichiro/oxipng
COMMENT=	Multithreaded PNG optimizer
LICENSE=	mit

.include "cargo-depends.mk"

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/oxipng \
		${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.20
log
@oxipng: updated to 10.1.0

10.1.0

[Feature] Add --json option for machine-readable output.
[Improvement] New default output with file counter and summary. (Use an extra -v flag to get the same output as before.)
[Bugfix] Fix fast mode sometimes giving suboptimal results for small, indexed images.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/12/07 08:21:52 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-10.1.0
@


1.19
log
@oxipng: updated to 10.0.0

10.0.0

[Breaking] CLI: Change short zopfli flag from -Z to -z.
[Breaking] CLI: Change --pretend/-P to --dry-run/-d.
[Breaking] CLI: Change --interlace options from 1/0 to on/off.
[Breaking] API: Change Options.interlace: Option<Interlacing> to Options.interlace: Option<bool>.
[Breaking] API: Change Options.filter: IndexSet<RowFilter> to Options.filters: IndexSet<FilterStrategy>.
[Breaking] API: Change Options.deflate: Deflaters to Options.deflater: Deflater.
[Breaking] API: Change Deflaters::Zopfli { .. } to Deflater::Zopfli(ZopfliOptions { .. }).
[Breaking] API: Change optimize() to return (usize, usize), with original and optimized sizes.
[Feature] Allow zopfli iterations higher than 255.
[Feature] Add --ziwi option for zopfli iterations without improvement.
[Feature] Add --max-raw-size option to skip images that are too large.
[Feature] Add --brute-level and --brute-lines options for advanced control of Brute filter.
[Improvement] Reduce memory usage for fast mode.
[Improvement] Slightly improve compression with Brute filter at levels 5 and 6.
[Misc] Change --preserve option to no longer preserve last access time.
[Misc] Make help output colored.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/04/26 06:56:50 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-10.0.0
@


1.18
log
@oxipng: updated to 9.1.5

9.1.5

[Feature] Add --sequential option to process files sequentially rather than in parallel.
[Performance] Update to latest Zopfli with greatly improved performance.
[Improvement] Reduce memory usage.
[Bugfix] Correct handling of grayscale conversion when ICC profile is present.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/02/15 16:06:18 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.5
@


1.17
log
@oxipng: updated to 9.1.4

Version 9.1.4

- [Improvement] Improve optimization of APNG files (reductions still not supported yet).
- [Improvement] Improve reductions for small images and ensure consistent results for repeat runs.
- [Build] Add feature `system-libdeflate` to use the system-installed version of libdeflate.
- [Misc] Strip C2PA metadata by default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/11/30 06:43:10 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.4
@


1.16
log
@oxipng: updated to 9.1.3

9.1.3

[Feature] Add --zi option to control the number of Zopfli iterations.
[Improvement] Allow setting compression level to 0.
[Performance] Improve filtering performance for some images.
[Build] Move man page generation to an xtask.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/07/13 05:20:38 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.3
@


1.15
log
@oxipng: updated to 9.1.2

Version 9.1.2

- [Bugfix] Fix `--nx` still applying deinterlacing by default.
- [Bugfix] Fix wildcard matching being case-sensitive on Windows.
- [Bugfix] Fix optimized APNGs not being compatible with some programs.
- [Build] Fix feature `sanity-checks` not working without `parallel`.
- [Misc] Resolve ambiguity between optional dependencies and crate features.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/24 06:49:23 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.2
@


1.14
log
@graphics/oxipng: update to 9.1.1

Version 9.1.1
    [Build] Change man page generation path to resolve issue with cargo publish.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/04/22 05:07:36 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.1
d8 1
a8 1
MAINTAINER=	pkgsrc-user@@NetBSD.org
@


1.13
log
@oxipng: updated to 9.1.0

Version 9.1.0

- [Improvement] Add `--keep display` equivalent to `--strip safe`.
- [Improvement] Add modified zeng palette sorting method, improving optimization of indexed images.
- [Improvement] If only one filter is specified, guarantee to only use this one.
- [Improvement] Evaluate low-depth indexed even if low-depth grayscale was already achieved.
- [Bugfix] Fix battiato palette sorting method not being used if the input was not already indexed.
- [Bugfix] Fix rare crash caused by a truncated palette.
- [Build] Reduce size of binaries.
- [Build] Add man page generation.
- [Build] Publish deb archives for Linux.
- [Misc] Bump minimum Rust version to 1.74.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/10/11 18:31:46 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.1.0
@


1.12
log
@oxipng: updated to 9.0.0

Version 9.0.0

[Breaking] Remove --backup option. Use --out or --dir to preserve existing files.
[Breaking] Remove --check option. Use --nx --nz to perform a non-optimizing run.
[Breaking] API: Replace pretend option with OutFile::None.
[Breaking] API: Move preserve_attrs into OutFile::Path.
[Breaking] Default to removing interlacing. Use -i keep to retain existing interlacing.
[Feature] Add Raw API for creating optimised PNGs from raw image data.
[Feature] Add basic support for APNG files.
[Feature] Add --scale16 option to forcibly reduce 16-bit images to 8-bit.
[Improvement] Process multiple files in parallel.
[Improvement] Improve reductions, particularly for indexed or very small images.
[Improvement] Improve compression with latest version of libdeflate.
[Improvement] Recompress iCCP chunks.
[Improvement] Change recursive mode to only process .png/.apng files.
[Improvement] Add support for glob patterns in quotes on Windows.
[Improvement] Quieter default output logging, with multiple levels of verbosity.
[Bugfix] Fix deadlock when using oxipng within an existing Rayon thread pool.
[Bugfix] Fix early abort in recursive mode when a read error occurred.
[Bugfix] Fix losing aux chunks when there's more than one of the same type.
[Bugfix] Fix sometimes writing output even when it was larger.
[Misc] Revamp CI workflow to upload artifacts and generate binaries for additional architectures.
[Misc] Bump minimum Rust version to 1.66.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/12/26 22:08:55 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-9.0.0
@


1.11
log
@graphics/oxipng: update to 8.0.0

 - [Breaking] Revamp alpha optimization
 - [Bugfix] Fix grayscale depth reduction with tRNS pixel
 - [Bugfix] Fix fast mode with zopfli
 - [Improvement] Tweaks to interlacing and format display
 - [Improvement] Ability to reduce alpha channel to tRNS pixel
 - [Improvement] Performance improvements to colorspace reduction
 - [Misc] Disable image validation in release mode, as it is deemed no longer
   necessary
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/12/07 21:39:50 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-8.0.0
@


1.10
log
@graphics/oxipng: update to 7.0.0

Version 7.0.0
    [Breaking] Switch to libdeflater as the default
    [Breaking] Rebalance presets
    [Breaking] Update safe headers to remove
    [Breaking] Bump minimum Rust version to 1.61.0
    [Feature] Introduce new filter strategies
    [Feature] Allow setting libdeflate compression level
    [Feature] Add optional dockerization
    [Improvement] Improve alpha reductions
    [Improvement] Fast deinterlace for 8-bit
    [Improvement] Refactor heuristics for fast filter evaluation
    [Improvement] Improve file size reduction further
    [Bugfix] Avoid printing output bytes on decompress error
    [Bugfix] Fix compression level 0
    [Bugfix] Fix directional alpha reductions
    [Bugfix] Fix edge cases in palette reduction
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/09/07 19:48:47 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-7.0.0
@


1.9
log
@oxipng: updated to 6.0.1

v6.0.1
Bugfix] Fix an issue where Zopfli mode could generate corrupt images
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/09/06 06:40:12 adam Exp $
d3 1
a3 1
DISTNAME=	oxipng-6.0.1
@


1.8
log
@oxipng: updated to 6.0.0

v6.0.0
[Breaking] Bump minimum Rust version to 1.57.0
[Feature] Add --check/-c CLI option
[Security] Update stderrlog to 0.5.2 (Fixes RUSTSEC-2022-0006)
[Security] Remove chrono as a transitive dependency (Fixes RUSTSEC-2020-0159)
[Misc] Bump clap to 3.2
[Misc] Bump zopfli to 0.7
[Misc] Bump libdeflater to 0.10
[Misc] Remove byteorder dependency in favor of stdlib functions
[Misc] Bump image to 0.24
[Misc] Bump crc to 3.0
[Misc] Bump miniz_oxide to 0.6
[Misc] Update to Rust edition 2021
[Misc] Various internal improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/05/12 09:38:46 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-6.0.0
@


1.7
log
@graphics/oxipng: reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2021/11/16 08:20:00 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-5.0.1
d9 1
a9 1
HOMEPAGE=	https://github.com/shssoichiro/oxipng/
@


1.6
log
@graphics/oxipng: update to 5.0.1

-[Bugfix] Fix an issue where -o5 and -o6 were not testing all options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/08/05 08:52:48 pin Exp $
d8 1
a8 1
MAINTAINER=	pin@@NetBSD.org
d18 2
a19 1
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/oxipng ${DESTDIR}${PREFIX}/bin
@


1.5
log
@graphics/oxipng: simplify Makefile
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/07/12 15:03:54 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-5.0.0
@


1.4
log
@graphics/oxipng: update to 5.0.0

-[Breaking] Bump minimum Rust version to 1.46.0
-[Bugfix] Avoid many panics that may occur on broken files
-[Bugfix] Fix race condition that may cause tests to fail
-[Performance] Optimizations to unfiltering and copying
-[Feature] Add --ng option to skip grayscale reduction
-[Feature] Also preserve timestamps when using --preserve
-[Misc] Bump crc to 2.x
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/07/05 09:09:23 pin Exp $
a14 2
USE_LANGUAGES+=	c	# rust, but needs a toolchain to link

@


1.3
log
@graphics/oxipng: reclaim maintainership
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/04/24 19:52:59 pin Exp $
d3 1
a3 1
DISTNAME=	oxipng-4.0.3
@


1.2
log
@graphics/oxipng: reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/01/29 11:39:38 pin Exp $
d8 1
a8 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
@


1.1
log
@graphics/oxipng: import package

Oxipng is a multithreaded lossless PNG compression optimizer. It can be used
via a command-line interface or as a library in other Rust programs.

It began as a complete rewrite of the OptiPNG project with the core goal of
implementing multithreading, which would be very difficult to do within the
existing C codebase of OptiPNG.
@
text
@d1 1
a1 1
# $NetBSD$
d8 1
a8 1
MAINTAINER=	pin@@NetBSD.org
@

