Skip to content

Commit

Permalink
graphics/wallust: update to 3.1.0
Browse files Browse the repository at this point in the history
 - fix wal sometimes not using srgb (3091f71ef4) #74
 - backends:
     - fix kmeans to use the full image, instead of resizing, and run 5 times (e92ec097f1)
     - lch: reduce MIN_CHROMA so it catches more colors ba8b9bf92b
 - fix up complementary on templates #86 314af00176
 - cache:
     - It now stores the contents hash (cfd81f7835)
     - No more magick number on Windows (c0d81a5704)
 - misc: fix up woodpecker, doc generation, makefile, refactor code on colorspaces
  • Loading branch information
0323pin committed Oct 14, 2024
1 parent 40a424b commit 7bea67c
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 301 deletions.
12 changes: 4 additions & 8 deletions graphics/wallust/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# $NetBSD: Makefile,v 1.22 2024/08/07 08:41:08 pin Exp $
# $NetBSD: Makefile,v 1.23 2024/10/14 18:45:37 pin Exp $

DISTNAME= wallust-3.0.0
# This is actually an update from 3.0.0-beta to 3.0.0 release.
# Unfortunately, I made a mistake on previous updates and pushed
# 3.0.0-alpha as 3.0.0 so, use PKGREVISION to handle this.
PKGREVISION= 2
DISTNAME= wallust-3.1.0
CATEGORIES= graphics
MASTER_SITES= https://static.crates.io/crates/wallust/
EXTRACT_SUFX= .crate
Expand All @@ -16,9 +12,9 @@ LICENSE= mit

.include "cargo-depends.mk"

#RUST_REQ= 1.79.0
#RUST_REQ= 1.80.1
#Upstream does not state the required MSRV.
#This package is confirmed to build with Rust 1.79.0 on amd64
#This package is confirmed to build with Rust 1.80.1 on amd64

INSTALLATION_DIRS= share/examples/wallust \
${PKGMANDIR}/man1 \
Expand Down
146 changes: 73 additions & 73 deletions graphics/wallust/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# $NetBSD: cargo-depends.mk,v 1.18 2024/08/07 06:42:48 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.19 2024/10/14 18:45:37 pin Exp $

CARGO_CRATE_DEPENDS+= adler-1.0.2
CARGO_CRATE_DEPENDS+= adler2-2.0.0
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.3
CARGO_CRATE_DEPENDS+= aligned-vec-0.5.0
CARGO_CRATE_DEPENDS+= anes-0.1.6
Expand All @@ -9,42 +10,43 @@ CARGO_CRATE_DEPENDS+= anstyle-1.0.8
CARGO_CRATE_DEPENDS+= anstyle-parse-0.2.5
CARGO_CRATE_DEPENDS+= anstyle-query-1.1.1
CARGO_CRATE_DEPENDS+= anstyle-wincon-3.0.4
CARGO_CRATE_DEPENDS+= anyhow-1.0.86
CARGO_CRATE_DEPENDS+= anyhow-1.0.89
CARGO_CRATE_DEPENDS+= approx-0.5.1
CARGO_CRATE_DEPENDS+= arbitrary-1.3.2
CARGO_CRATE_DEPENDS+= arg_enum_proc_macro-0.3.4
CARGO_CRATE_DEPENDS+= arrayvec-0.7.4
CARGO_CRATE_DEPENDS+= autocfg-1.3.0
CARGO_CRATE_DEPENDS+= arrayvec-0.7.6
CARGO_CRATE_DEPENDS+= autocfg-1.4.0
CARGO_CRATE_DEPENDS+= av1-grain-0.2.3
CARGO_CRATE_DEPENDS+= avif-serialize-0.8.1
CARGO_CRATE_DEPENDS+= bit_field-0.10.2
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= bitflags-2.6.0
CARGO_CRATE_DEPENDS+= bitstream-io-2.5.0
CARGO_CRATE_DEPENDS+= bitstream-io-2.5.3
CARGO_CRATE_DEPENDS+= built-0.7.4
CARGO_CRATE_DEPENDS+= bumpalo-3.16.0
CARGO_CRATE_DEPENDS+= by_address-1.2.1
CARGO_CRATE_DEPENDS+= bytemuck-1.16.3
CARGO_CRATE_DEPENDS+= bytemuck-1.18.0
CARGO_CRATE_DEPENDS+= byteorder-1.5.0
CARGO_CRATE_DEPENDS+= byteorder-lite-0.1.0
CARGO_CRATE_DEPENDS+= camino-1.1.7
CARGO_CRATE_DEPENDS+= camino-1.1.9
CARGO_CRATE_DEPENDS+= cargo-platform-0.1.8
CARGO_CRATE_DEPENDS+= cargo_metadata-0.18.1
CARGO_CRATE_DEPENDS+= cast-0.3.0
CARGO_CRATE_DEPENDS+= cc-1.1.7
CARGO_CRATE_DEPENDS+= cc-1.1.30
CARGO_CRATE_DEPENDS+= cfg-expr-0.15.8
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= ciborium-0.2.2
CARGO_CRATE_DEPENDS+= ciborium-io-0.2.2
CARGO_CRATE_DEPENDS+= ciborium-ll-0.2.2
CARGO_CRATE_DEPENDS+= clap-4.5.13
CARGO_CRATE_DEPENDS+= clap_builder-4.5.13
CARGO_CRATE_DEPENDS+= clap_complete-4.5.12
CARGO_CRATE_DEPENDS+= clap_derive-4.5.13
CARGO_CRATE_DEPENDS+= clap-4.5.20
CARGO_CRATE_DEPENDS+= clap_builder-4.5.20
CARGO_CRATE_DEPENDS+= clap_complete-4.5.33
CARGO_CRATE_DEPENDS+= clap_derive-4.5.18
CARGO_CRATE_DEPENDS+= clap_lex-0.7.2
CARGO_CRATE_DEPENDS+= clap_mangen-0.2.23
CARGO_CRATE_DEPENDS+= clap_mangen-0.2.24
CARGO_CRATE_DEPENDS+= color_quant-1.1.0
CARGO_CRATE_DEPENDS+= colorchoice-1.0.2
CARGO_CRATE_DEPENDS+= convert_case-0.6.0
CARGO_CRATE_DEPENDS+= crc32fast-1.4.2
CARGO_CRATE_DEPENDS+= criterion-0.5.1
CARGO_CRATE_DEPENDS+= criterion-plot-0.5.0
Expand All @@ -56,61 +58,60 @@ CARGO_CRATE_DEPENDS+= darling-0.20.10
CARGO_CRATE_DEPENDS+= darling_core-0.20.10
CARGO_CRATE_DEPENDS+= darling_macro-0.20.10
CARGO_CRATE_DEPENDS+= deranged-0.3.11
CARGO_CRATE_DEPENDS+= derive_builder-0.20.0
CARGO_CRATE_DEPENDS+= derive_builder_core-0.20.0
CARGO_CRATE_DEPENDS+= derive_builder_macro-0.20.0
CARGO_CRATE_DEPENDS+= derive_builder-0.20.2
CARGO_CRATE_DEPENDS+= derive_builder_core-0.20.2
CARGO_CRATE_DEPENDS+= derive_builder_macro-0.20.2
CARGO_CRATE_DEPENDS+= dirs-5.0.1
CARGO_CRATE_DEPENDS+= dirs-sys-0.4.1
CARGO_CRATE_DEPENDS+= document-features-0.2.10
CARGO_CRATE_DEPENDS+= documented-0.5.0
CARGO_CRATE_DEPENDS+= documented-derive-0.5.0
CARGO_CRATE_DEPENDS+= documented-0.6.0
CARGO_CRATE_DEPENDS+= documented-macros-0.6.0
CARGO_CRATE_DEPENDS+= dunce-1.0.5
CARGO_CRATE_DEPENDS+= either-1.13.0
CARGO_CRATE_DEPENDS+= equivalent-1.0.1
CARGO_CRATE_DEPENDS+= errno-0.3.9
CARGO_CRATE_DEPENDS+= exr-1.72.0
CARGO_CRATE_DEPENDS+= fast-srgb8-1.0.0
CARGO_CRATE_DEPENDS+= fast_image_resize-4.2.1
CARGO_CRATE_DEPENDS+= fastrand-2.1.0
CARGO_CRATE_DEPENDS+= fdeflate-0.3.4
CARGO_CRATE_DEPENDS+= flate2-1.0.31
CARGO_CRATE_DEPENDS+= fast_image_resize-5.0.0
CARGO_CRATE_DEPENDS+= fastrand-2.1.1
CARGO_CRATE_DEPENDS+= fdeflate-0.3.5
CARGO_CRATE_DEPENDS+= flate2-1.0.34
CARGO_CRATE_DEPENDS+= flume-0.11.0
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= form_urlencoded-1.2.1
CARGO_CRATE_DEPENDS+= getrandom-0.2.15
CARGO_CRATE_DEPENDS+= getset-0.1.2
CARGO_CRATE_DEPENDS+= gif-0.13.1
CARGO_CRATE_DEPENDS+= git2-0.19.0
CARGO_CRATE_DEPENDS+= glob-0.3.1
CARGO_CRATE_DEPENDS+= half-2.4.1
CARGO_CRATE_DEPENDS+= hashbrown-0.14.5
CARGO_CRATE_DEPENDS+= hashbrown-0.15.0
CARGO_CRATE_DEPENDS+= heck-0.4.1
CARGO_CRATE_DEPENDS+= heck-0.5.0
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.9
CARGO_CRATE_DEPENDS+= hermit-abi-0.4.0
CARGO_CRATE_DEPENDS+= ident_case-1.0.1
CARGO_CRATE_DEPENDS+= idna-0.5.0
CARGO_CRATE_DEPENDS+= image-0.25.2
CARGO_CRATE_DEPENDS+= image-webp-0.1.3
CARGO_CRATE_DEPENDS+= imgref-1.10.1
CARGO_CRATE_DEPENDS+= indexmap-2.3.0
CARGO_CRATE_DEPENDS+= indexmap-2.6.0
CARGO_CRATE_DEPENDS+= interpolate_name-0.2.4
CARGO_CRATE_DEPENDS+= is-terminal-0.4.12
CARGO_CRATE_DEPENDS+= is-terminal-0.4.13
CARGO_CRATE_DEPENDS+= is_terminal_polyfill-1.70.1
CARGO_CRATE_DEPENDS+= itertools-0.10.5
CARGO_CRATE_DEPENDS+= itertools-0.12.1
CARGO_CRATE_DEPENDS+= itertools-0.13.0
CARGO_CRATE_DEPENDS+= itoa-1.0.11
CARGO_CRATE_DEPENDS+= jobserver-0.1.32
CARGO_CRATE_DEPENDS+= jpeg-decoder-0.3.1
CARGO_CRATE_DEPENDS+= js-sys-0.3.69
CARGO_CRATE_DEPENDS+= js-sys-0.3.72
CARGO_CRATE_DEPENDS+= kmeans_colors-0.6.0
CARGO_CRATE_DEPENDS+= lazy_static-1.5.0
CARGO_CRATE_DEPENDS+= lebe-0.5.2
CARGO_CRATE_DEPENDS+= libc-0.2.155
CARGO_CRATE_DEPENDS+= libc-0.2.159
CARGO_CRATE_DEPENDS+= libfuzzer-sys-0.4.7
CARGO_CRATE_DEPENDS+= libgit2-sys-0.17.0+1.8.1
CARGO_CRATE_DEPENDS+= libredox-0.1.3
CARGO_CRATE_DEPENDS+= libz-sys-1.1.18
CARGO_CRATE_DEPENDS+= libz-sys-1.1.20
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.4.14
CARGO_CRATE_DEPENDS+= litrs-0.4.1
CARGO_CRATE_DEPENDS+= lock_api-0.4.12
Expand All @@ -120,9 +121,10 @@ CARGO_CRATE_DEPENDS+= maplit-1.0.2
CARGO_CRATE_DEPENDS+= maybe-rayon-0.1.1
CARGO_CRATE_DEPENDS+= memchr-2.7.4
CARGO_CRATE_DEPENDS+= memo-map-0.3.3
CARGO_CRATE_DEPENDS+= minijinja-2.1.1
CARGO_CRATE_DEPENDS+= minijinja-2.3.1
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.7.4
CARGO_CRATE_DEPENDS+= miniz_oxide-0.8.0
CARGO_CRATE_DEPENDS+= new_debug_unreachable-1.0.6
CARGO_CRATE_DEPENDS+= new_string_template-1.5.3
CARGO_CRATE_DEPENDS+= nom-7.1.3
Expand All @@ -134,11 +136,11 @@ CARGO_CRATE_DEPENDS+= num-integer-0.1.46
CARGO_CRATE_DEPENDS+= num-rational-0.4.2
CARGO_CRATE_DEPENDS+= num-traits-0.2.19
CARGO_CRATE_DEPENDS+= num_threads-0.1.7
CARGO_CRATE_DEPENDS+= once_cell-1.19.0
CARGO_CRATE_DEPENDS+= once_cell-1.20.2
CARGO_CRATE_DEPENDS+= oorandom-11.1.4
CARGO_CRATE_DEPENDS+= optfield-0.3.0
CARGO_CRATE_DEPENDS+= option-ext-0.2.0
CARGO_CRATE_DEPENDS+= owo-colors-4.0.0
CARGO_CRATE_DEPENDS+= owo-colors-4.1.0
CARGO_CRATE_DEPENDS+= palette-0.7.6
CARGO_CRATE_DEPENDS+= palette_derive-0.7.6
CARGO_CRATE_DEPENDS+= paste-1.0.15
Expand All @@ -147,46 +149,45 @@ CARGO_CRATE_DEPENDS+= phf-0.11.2
CARGO_CRATE_DEPENDS+= phf_generator-0.11.2
CARGO_CRATE_DEPENDS+= phf_macros-0.11.2
CARGO_CRATE_DEPENDS+= phf_shared-0.11.2
CARGO_CRATE_DEPENDS+= pkg-config-0.3.30
CARGO_CRATE_DEPENDS+= plotters-0.3.6
CARGO_CRATE_DEPENDS+= plotters-backend-0.3.6
CARGO_CRATE_DEPENDS+= plotters-svg-0.3.6
CARGO_CRATE_DEPENDS+= png-0.17.13
CARGO_CRATE_DEPENDS+= pkg-config-0.3.31
CARGO_CRATE_DEPENDS+= plotters-0.3.7
CARGO_CRATE_DEPENDS+= plotters-backend-0.3.7
CARGO_CRATE_DEPENDS+= plotters-svg-0.3.7
CARGO_CRATE_DEPENDS+= png-0.17.14
CARGO_CRATE_DEPENDS+= powerfmt-0.2.0
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.20
CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.87
CARGO_CRATE_DEPENDS+= profiling-1.0.15
CARGO_CRATE_DEPENDS+= profiling-procmacros-1.0.15
CARGO_CRATE_DEPENDS+= qoi-0.4.1
CARGO_CRATE_DEPENDS+= quick-error-2.0.1
CARGO_CRATE_DEPENDS+= quote-1.0.36
CARGO_CRATE_DEPENDS+= quote-1.0.37
CARGO_CRATE_DEPENDS+= rand-0.8.5
CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
CARGO_CRATE_DEPENDS+= rand_core-0.6.4
CARGO_CRATE_DEPENDS+= rav1e-0.7.1
CARGO_CRATE_DEPENDS+= ravif-0.11.9
CARGO_CRATE_DEPENDS+= ravif-0.11.10
CARGO_CRATE_DEPENDS+= rayon-1.10.0
CARGO_CRATE_DEPENDS+= rayon-core-1.12.1
CARGO_CRATE_DEPENDS+= redox_users-0.4.5
CARGO_CRATE_DEPENDS+= regex-1.10.6
CARGO_CRATE_DEPENDS+= regex-automata-0.4.7
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.4
CARGO_CRATE_DEPENDS+= rgb-0.8.47
CARGO_CRATE_DEPENDS+= redox_users-0.4.6
CARGO_CRATE_DEPENDS+= regex-1.11.0
CARGO_CRATE_DEPENDS+= regex-automata-0.4.8
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.5
CARGO_CRATE_DEPENDS+= rgb-0.8.50
CARGO_CRATE_DEPENDS+= roff-0.2.2
CARGO_CRATE_DEPENDS+= rustix-0.38.34
CARGO_CRATE_DEPENDS+= rustix-0.38.37
CARGO_CRATE_DEPENDS+= rustversion-1.0.17
CARGO_CRATE_DEPENDS+= ryu-1.0.18
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.2.0
CARGO_CRATE_DEPENDS+= self_cell-1.0.4
CARGO_CRATE_DEPENDS+= semver-1.0.23
CARGO_CRATE_DEPENDS+= serde-1.0.204
CARGO_CRATE_DEPENDS+= serde_derive-1.0.204
CARGO_CRATE_DEPENDS+= serde_json-1.0.122
CARGO_CRATE_DEPENDS+= serde_spanned-0.6.7
CARGO_CRATE_DEPENDS+= serde-1.0.210
CARGO_CRATE_DEPENDS+= serde_derive-1.0.210
CARGO_CRATE_DEPENDS+= serde_json-1.0.128
CARGO_CRATE_DEPENDS+= serde_spanned-0.6.8
CARGO_CRATE_DEPENDS+= shellexpand-3.1.0
CARGO_CRATE_DEPENDS+= shlex-1.3.0
CARGO_CRATE_DEPENDS+= simd-adler32-0.3.7
CARGO_CRATE_DEPENDS+= simd_helpers-0.1.0
CARGO_CRATE_DEPENDS+= siphasher-0.3.11
Expand All @@ -199,12 +200,12 @@ CARGO_CRATE_DEPENDS+= strum-0.26.3
CARGO_CRATE_DEPENDS+= strum_macros-0.24.3
CARGO_CRATE_DEPENDS+= strum_macros-0.26.4
CARGO_CRATE_DEPENDS+= syn-1.0.109
CARGO_CRATE_DEPENDS+= syn-2.0.72
CARGO_CRATE_DEPENDS+= syn-2.0.79
CARGO_CRATE_DEPENDS+= system-deps-6.2.2
CARGO_CRATE_DEPENDS+= target-lexicon-0.12.16
CARGO_CRATE_DEPENDS+= tempfile-3.11.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.63
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.63
CARGO_CRATE_DEPENDS+= tempfile-3.13.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.64
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.64
CARGO_CRATE_DEPENDS+= tiff-0.9.1
CARGO_CRATE_DEPENDS+= time-0.3.36
CARGO_CRATE_DEPENDS+= time-core-0.1.2
Expand All @@ -214,28 +215,28 @@ CARGO_CRATE_DEPENDS+= tinyvec-1.8.0
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.1
CARGO_CRATE_DEPENDS+= toml-0.8.19
CARGO_CRATE_DEPENDS+= toml_datetime-0.6.8
CARGO_CRATE_DEPENDS+= toml_edit-0.22.20
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.15
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.23
CARGO_CRATE_DEPENDS+= toml_edit-0.22.22
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.17
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.13
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.24
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.12.0
CARGO_CRATE_DEPENDS+= url-2.5.2
CARGO_CRATE_DEPENDS+= utf8parse-0.2.2
CARGO_CRATE_DEPENDS+= v_frame-0.3.8
CARGO_CRATE_DEPENDS+= vcpkg-0.2.15
CARGO_CRATE_DEPENDS+= vergen-9.0.0
CARGO_CRATE_DEPENDS+= vergen-git2-1.0.0
CARGO_CRATE_DEPENDS+= vergen-lib-0.1.3
CARGO_CRATE_DEPENDS+= vergen-9.0.1
CARGO_CRATE_DEPENDS+= vergen-git2-1.0.1
CARGO_CRATE_DEPENDS+= vergen-lib-0.1.4
CARGO_CRATE_DEPENDS+= version-compare-0.2.0
CARGO_CRATE_DEPENDS+= version_check-0.9.5
CARGO_CRATE_DEPENDS+= walkdir-2.5.0
CARGO_CRATE_DEPENDS+= wallust_themes-1.0.0
CARGO_CRATE_DEPENDS+= wasi-0.11.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.92
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.92
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.92
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.92
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.92
CARGO_CRATE_DEPENDS+= web-sys-0.3.69
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.95
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.95
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.95
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.95
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.95
CARGO_CRATE_DEPENDS+= web-sys-0.3.72
CARGO_CRATE_DEPENDS+= weezl-0.1.8
CARGO_CRATE_DEPENDS+= winapi-util-0.1.9
CARGO_CRATE_DEPENDS+= windows-sys-0.48.0
Expand All @@ -258,8 +259,7 @@ CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= winnow-0.6.18
CARGO_CRATE_DEPENDS+= word_iter-0.2.1
CARGO_CRATE_DEPENDS+= winnow-0.6.20
CARGO_CRATE_DEPENDS+= zerocopy-0.7.35
CARGO_CRATE_DEPENDS+= zerocopy-derive-0.7.35
CARGO_CRATE_DEPENDS+= zune-core-0.4.12
Expand Down
Loading

0 comments on commit 7bea67c

Please sign in to comment.