head 1.20; access; symbols pkgsrc-2026Q2:1.20.0.4 pkgsrc-2026Q2-base:1.20 pkgsrc-2026Q1:1.20.0.2 pkgsrc-2026Q1-base:1.20 pkgsrc-2025Q4:1.19.0.4 pkgsrc-2025Q4-base:1.19 pkgsrc-2025Q3:1.19.0.2 pkgsrc-2025Q3-base:1.19 pkgsrc-2025Q2:1.18.0.2 pkgsrc-2025Q2-base:1.18 pkgsrc-2025Q1:1.17.0.6 pkgsrc-2025Q1-base:1.17 pkgsrc-2024Q4:1.17.0.4 pkgsrc-2024Q4-base:1.17 pkgsrc-2024Q3:1.17.0.2 pkgsrc-2024Q3-base:1.17 pkgsrc-2024Q2:1.16.0.4 pkgsrc-2024Q2-base:1.16 pkgsrc-2024Q1:1.16.0.2 pkgsrc-2024Q1-base:1.16 pkgsrc-2023Q4:1.11.0.2 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.9.0.2 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.7.0.2 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.4.0.2 pkgsrc-2023Q1-base:1.4; locks; strict; comment @# @; 1.20 date 2025.12.22.06.08.09; author adam; state Exp; branches; next 1.19; commitid YVGobEfcMaDpTmnG; 1.19 date 2025.07.23.10.21.22; author wiz; state Exp; branches; next 1.18; commitid 5Ux7umorsssebR3G; 1.18 date 2025.04.12.06.54.18; author wiz; state Exp; branches; next 1.17; commitid 9ljkSS9zovZmjJQF; 1.17 date 2024.07.31.17.52.53; author pin; state Exp; branches; next 1.16; commitid LTSSkjmz7f8A91kF; 1.16 date 2024.02.10.21.47.13; author pin; state Exp; branches; next 1.15; commitid KCtU8JkEqb3LYVXE; 1.15 date 2024.02.09.13.54.51; author pin; state Exp; branches; next 1.14; commitid TeSIr18jlnhHoLXE; 1.14 date 2024.01.27.21.57.21; author pin; state Exp; branches; next 1.13; commitid nMsWdGLHZ7q3u8WE; 1.13 date 2024.01.27.21.34.18; author pin; state Exp; branches; next 1.12; commitid GPWNreW2Dlaem8WE; 1.12 date 2024.01.22.13.16.59; author ryoon; state Exp; branches; next 1.11; commitid mWwkMGjpxTdrLrVE; 1.11 date 2023.11.12.13.21.58; author wiz; state Exp; branches; next 1.10; commitid SjpNXQIV5XeZ3kME; 1.10 date 2023.10.26.08.01.20; author pin; state Exp; branches; next 1.9; commitid 13Rqju5fBL3FQ6KE; 1.9 date 2023.09.25.09.42.34; author pin; state Exp; branches; next 1.8; commitid dW1TzYxoHSwap8GE; 1.8 date 2023.09.25.08.28.57; author wiz; state Exp; branches; next 1.7; commitid Jjh4VX8W115WZ7GE; 1.7 date 2023.05.01.15.11.23; author pin; state Exp; branches; next 1.6; commitid NWbRUnvhgjrVWgnE; 1.6 date 2023.04.12.16.13.04; author wiz; state Exp; branches; next 1.5; commitid k9Oq1yGNhr5WTPkE; 1.5 date 2023.04.03.11.06.48; author pin; state Exp; branches; next 1.4; commitid 0zwV16w9juEPuEjE; 1.4 date 2023.01.29.21.16.31; author ryoon; state Exp; branches; next 1.3; commitid QL7aBXsBGmQvUtbE; 1.3 date 2023.01.24.13.24.28; author pin; state Exp; branches; next 1.2; commitid rwMzVzc6yvUytNaE; 1.2 date 2023.01.18.11.44.11; author pin; state Exp; branches; next 1.1; commitid t220VnbgPxw771aE; 1.1 date 2023.01.12.12.55.46; author pin; state Exp; branches; next ; commitid 2GhLwqw86bgxHf9E; desc @@ 1.20 log @revbump for x264 @ text @# $NetBSD: Makefile,v 1.19 2025/07/23 10:21:22 wiz Exp $ DISTNAME= gifski-1.34.0 PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=ImageOptim/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/ImageOptim/gifski/ COMMENT= GIF encoder based on libimagequant (pngquant) LICENSE= gnu-agpl-v3 .include "cargo-depends.mk" #RUST_REQ= 1.79.0 #Upstream does not state the required MSRV. #This package is confirmed to build with Rust 1.79.0 on amd64 USE_TOOLS+= pkg-config .include "../../lang/rust/cargo.mk" .include "../../multimedia/ffmpeg7/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.19 log @gifski: update to 1.34.0. 1.34 Palette quality improvements from newer libimagequant Warnings for incorrect frame numbers and timestamps in the API --in-color-space override for ambiguous YUV4MPEG files 1.33 Improved y4m format support Tuned dithering levels @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2025/04/12 06:54:18 wiz Exp $ d4 1 @ 1.18 log @*: recursive bump for libtheora 1.2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2024/07/31 17:52:53 pin Exp $ d3 1 a3 2 DISTNAME= gifski-1.32.0 PKGREVISION= 1 d20 1 a20 1 .include "../../multimedia/ffmpeg6/buildlink3.mk" @ 1.17 log @graphics/gifski: update to 1.32.0 - Added support for YUV4MPEG2 (Y4M), which is a primitive uncompressed video format that can be streamed from a command-line ffmpeg, without creating any temporary files on disk: ffmpeg -i "video.mp4" -f yuv4mpegpipe | gifski -o "crushed.gif" - - Added support for reading video from stdin. Specify - as the path. - Added warnings about reading or writing files from/to an interactive terminal. There are no changes to the Windows GUI. Use previous MSI Windows installer. The jump in version number is because I've previously accidentally tagged 1.13 as 1.31. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2024/02/10 21:47:13 pin Exp $ d4 1 @ 1.16 log @graphics/gifski: update to 1.14.4 - Fixed trimming for real this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2024/02/09 13:54:51 pin Exp $ d3 1 a3 1 DISTNAME= gifski-1.14.4 d14 3 @ 1.15 log @graphics/gifski: update to 1.14.2 - Plus a small improvement in handling of transparency. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2024/01/27 21:57:21 pin Exp $ d3 1 a3 1 DISTNAME= gifski-1.14.2 @ 1.14 log @graphics/gifski: restore correct license @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2024/01/27 21:34:18 pin Exp $ d3 1 a3 1 DISTNAME= gifski-1.14.1 @ 1.13 log @graphics/gifski: update to 1.14.1 - Refactored internals of the GIF codec - Faster PNG decoder - Small code cleanups @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2024/01/22 13:16:59 ryoon Exp $ d10 1 a10 2 #LICENSE= gnu-agpl-v3 LICENSE= mit @ 1.12 log @*: Recursive revbump from multimedia/libvpx @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2023/11/12 13:21:58 wiz Exp $ d3 1 a3 2 DISTNAME= gifski-1.13.0 PKGREVISION= 2 d10 2 a11 1 LICENSE= gnu-agpl-v3 @ 1.11 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/10/26 08:01:20 pin Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.10 log @graphics/gifski: update to 1.13.0 The last bit of C has fallen gif.ski was originally meant to be just the highest-quality GIF maker, but over time I also made it generate smaller files. Now it's probably the most technically advanced GIF compressor, if I say so myself. The key to good GIF compression is making LZW algorithm lossy. In 2014, I wrote a patch that added lossy compression to gifsicle. Gifsicle is a GIF optimization tool created in 1998, so I can't blame them for not using Rust. Of course, I wanted to use that lossy compression in gif.ski too, so I've made gifsicle usable as a Rust crate. Rust already had a gif encoder, so bringing all of the gifsicle's code seemed unnecessary. I only wanted the lossy LZW bit, so I've made the Rust gif library accept data from other compressors, and used only a couple of gifsicle's C functions for compression. The lossy LZW compressor was still my 2014 hacked-together C — until yesterday. I've rewritten it in Rust. The rewritten code gives exactly the same, bit-identical output. Usually, when people rewrite projects it's hard to compare results to the original, because the rewrites change and reinvent things along the way. This time it's apples to apples. I made sure it works exactly the same. I even reimplemented an integer overflow bug and quirks caused by use linked lists. The result is… the same performance, and the same binary size, within margin of error. You don't need to rush to upgrade! On one hand this isn't surprising — it's the same algorithm, and Rust has C-like performance as advertised. OTOH I used mostly idiomatic Rust, and did not try to make it super optimized. The original C code did clever things with memory pools and linked lists, and I've swapped it all for Vecs in enums. Aside from ffmpeg, which I'm not rewriting, gif.ski is now 100% pure Rust. It makes it a bit easier to build it. The x86-64 MUSL/Linux binary has been built on my ARM Mac. Since the code is now in a form I find easier to refactor, later I'll work on improving quality of its lossy dithering, because for some reason I'm determined to squeeze every last possible bit out of this prehistoric video format. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/09/25 09:42:34 pin Exp $ d4 1 @ 1.9 log @graphics/gifski: update to 1.12.2 - matte option for anti-aliasing transparency edges for a specific background color. - API has ability to add custom fixed colors to the palette. - Slightly faster resizing and PNG decoding. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/09/25 08:28:57 wiz Exp $ d3 1 a3 1 DISTNAME= gifski-1.12.2 @ 1.8 log @gifski: switch to ffmpeg6 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/05/01 15:11:23 pin Exp $ d3 1 a3 2 DISTNAME= gifski-1.11.0 PKGREVISION= 1 a15 6 INSTALLATION_DIRS= bin do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/gifski \ ${DESTDIR}${PREFIX}/bin @ 1.7 log @graphics/gifski: update to 1.11.0 - Support for ffmpeg v5 and v6 - Fixed an issue that caused too much dithering in frames with little motion and few colors - The command-line progress bar displays estimated file size @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/04/12 16:13:04 wiz Exp $ d4 1 d24 1 a24 1 .include "../../multimedia/ffmpeg5/buildlink3.mk" @ 1.6 log @gifski: remove unneeded clang dependency Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/04/03 11:06:48 pin Exp $ d3 1 a3 2 DISTNAME= gifski-1.10.3 PKGREVISION= 1 @ 1.5 log @graphics/gifski: update to 1.10.3 1.10.3 - Fixed an edge case in animations with low amount of movement and pixels becoming transparent. - Fixed GIF conformance when using lossy encoding and frames with only 2 colors @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/01/29 21:16:31 ryoon Exp $ d4 1 a18 2 RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.clang}/lib a23 1 .include "../../lang/clang/buildlink3.mk" @ 1.4 log @*: Recursive revbup from graphics/freetype2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/01/24 13:24:28 pin Exp $ d3 1 a3 2 DISTNAME= gifski-1.10.0 PKGREVISION= 1 @ 1.3 log @graphics/gifski: update to 1.10.0 With the --fast flag gifski is now about as quick as ffmpeg in wall-clock time*, but still generates files that are smaller and look better at the same time. *(tested on M1 CPU, so YMMV) The latest version performs LZW encoding of frames in parallel, and avoids using most of gifsicle codebase except the lossy LZW compression part. PNG decompression and resizing now also run on a threadpool even when used via gifski's C API. gifski can now make a good use of 8 CPU cores, which a serious overengineering of the sequential GIFs encoding, but I'm using Rust, so I just had to throw multi-threading at every problem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/01/18 11:44:11 pin Exp $ d4 1 @ 1.2 log @graphics/gifski: update to 1.9.0 - gifski can now read other GIF animations as an input. It's a very bad idea to try to use it as an optimizer, since it will inherit a bad quality and can only make it worse. However, combined with the --width option it can be useful for generating thumbnails of GIF animations. - it now uses multiple threads for resizing and preprocessing when reading videos, so might be faster on multi-core machines, especially when using --fast @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/01/12 12:55:46 pin Exp $ d3 1 a3 1 DISTNAME= gifski-1.9.0 @ 1.1 log @graphics/gifski: import package Highest-quality GIF encoder based on pngquant. gifski converts video frames to GIF animations using pngquant's fancy features for efficient cross-frame palettes and temporal dithering. It produces animated GIFs that use thousands of colors per frame. It's a CLI tool, but it can also be compiled as a C library for seamless use in other apps. gifski is a command-line tool. There is no GUI for Windows or Linux (there is one for macOS). @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= gifski-1.8.1 @