Skip to content

Commit

Permalink
graphics/pastel: update to 0.10.0
Browse files Browse the repository at this point in the history
Features
 - Added alpha property to set command, see #218 (@kanielrkirby)
 - Add support for HSV, see #169 (@jameshurst)
 - Added support for parsing LCh colors, see #2 and #167 (@MForster)
 - Added hyprpicker as --color-picker, see #186 (@mrusme)
 - Implement Color::from_u32 for the rgba, see #202 (@irevoire)

Bugfixes
 - pastel pick does not display all colors in some terminals, see #121 and #168 (@Divoolej)
 - Fix lines in kitty terminal with text_fg_override_threshold set, see #197 (@joveian)
  • Loading branch information
0323pin committed Sep 9, 2024
1 parent 0580270 commit 6074554
Show file tree
Hide file tree
Showing 3 changed files with 420 additions and 319 deletions.
5 changes: 3 additions & 2 deletions graphics/pastel/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2023/07/19 06:00:55 pin Exp $
# $NetBSD: Makefile,v 1.8 2024/09/09 19:19:41 pin Exp $

DISTNAME= pastel-0.9.0
DISTNAME= pastel-0.10.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=sharkdp/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -12,6 +12,7 @@ LICENSE= apache-2.0

.include "cargo-depends.mk"

RUST_REQ= 1.74.0
INSTALLATION_DIRS= bin

do-install:
Expand Down
183 changes: 104 additions & 79 deletions graphics/pastel/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,99 +1,124 @@
# $NetBSD: cargo-depends.mk,v 1.3 2022/05/26 21:25:38 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.4 2024/09/09 19:19:41 pin Exp $

CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.3
CARGO_CRATE_DEPENDS+= anes-0.1.6
CARGO_CRATE_DEPENDS+= anstyle-1.0.8
CARGO_CRATE_DEPENDS+= approx-0.5.1
CARGO_CRATE_DEPENDS+= assert_cmd-2.0.4
CARGO_CRATE_DEPENDS+= assert_cmd-2.0.16
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.1.0
CARGO_CRATE_DEPENDS+= autocfg-1.3.0
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= bstr-0.2.17
CARGO_CRATE_DEPENDS+= bumpalo-3.9.1
CARGO_CRATE_DEPENDS+= cast-0.2.7
CARGO_CRATE_DEPENDS+= bstr-1.10.0
CARGO_CRATE_DEPENDS+= bumpalo-3.16.0
CARGO_CRATE_DEPENDS+= byteorder-1.5.0
CARGO_CRATE_DEPENDS+= cast-0.3.0
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= clap-2.34.0
CARGO_CRATE_DEPENDS+= clap-3.1.18
CARGO_CRATE_DEPENDS+= clap_complete-3.1.4
CARGO_CRATE_DEPENDS+= clap_lex-0.2.0
CARGO_CRATE_DEPENDS+= criterion-0.3.5
CARGO_CRATE_DEPENDS+= criterion-plot-0.4.4
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.4
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.1
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.8
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.8
CARGO_CRATE_DEPENDS+= csv-1.1.6
CARGO_CRATE_DEPENDS+= csv-core-0.1.10
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-3.2.25
CARGO_CRATE_DEPENDS+= clap-4.5.17
CARGO_CRATE_DEPENDS+= clap_builder-4.5.17
CARGO_CRATE_DEPENDS+= clap_complete-3.2.5
CARGO_CRATE_DEPENDS+= clap_lex-0.2.4
CARGO_CRATE_DEPENDS+= clap_lex-0.7.2
CARGO_CRATE_DEPENDS+= criterion-0.5.1
CARGO_CRATE_DEPENDS+= criterion-plot-0.5.0
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.5
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.18
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.20
CARGO_CRATE_DEPENDS+= crunchy-0.2.2
CARGO_CRATE_DEPENDS+= difflib-0.4.0
CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
CARGO_CRATE_DEPENDS+= either-1.6.1
CARGO_CRATE_DEPENDS+= getrandom-0.2.6
CARGO_CRATE_DEPENDS+= half-1.8.2
CARGO_CRATE_DEPENDS+= hashbrown-0.11.2
CARGO_CRATE_DEPENDS+= either-1.13.0
CARGO_CRATE_DEPENDS+= errno-0.3.9
CARGO_CRATE_DEPENDS+= getrandom-0.2.15
CARGO_CRATE_DEPENDS+= half-2.4.1
CARGO_CRATE_DEPENDS+= hashbrown-0.12.3
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= indexmap-1.8.1
CARGO_CRATE_DEPENDS+= itertools-0.10.3
CARGO_CRATE_DEPENDS+= itoa-0.4.8
CARGO_CRATE_DEPENDS+= itoa-1.0.2
CARGO_CRATE_DEPENDS+= js-sys-0.3.57
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.126
CARGO_CRATE_DEPENDS+= log-0.4.17
CARGO_CRATE_DEPENDS+= memchr-2.5.0
CARGO_CRATE_DEPENDS+= memoffset-0.6.5
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.9
CARGO_CRATE_DEPENDS+= hermit-abi-0.4.0
CARGO_CRATE_DEPENDS+= indexmap-1.9.3
CARGO_CRATE_DEPENDS+= io-lifetimes-1.0.11
CARGO_CRATE_DEPENDS+= is-terminal-0.4.13
CARGO_CRATE_DEPENDS+= itertools-0.10.5
CARGO_CRATE_DEPENDS+= itoa-1.0.11
CARGO_CRATE_DEPENDS+= js-sys-0.3.70
CARGO_CRATE_DEPENDS+= libc-0.2.158
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.3.8
CARGO_CRATE_DEPENDS+= log-0.4.22
CARGO_CRATE_DEPENDS+= memchr-2.7.4
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= nom-7.1.1
CARGO_CRATE_DEPENDS+= num-traits-0.2.15
CARGO_CRATE_DEPENDS+= num_cpus-1.13.1
CARGO_CRATE_DEPENDS+= once_cell-1.12.0
CARGO_CRATE_DEPENDS+= oorandom-11.1.3
CARGO_CRATE_DEPENDS+= os_str_bytes-6.1.0
CARGO_CRATE_DEPENDS+= nom-7.1.3
CARGO_CRATE_DEPENDS+= num-traits-0.2.19
CARGO_CRATE_DEPENDS+= once_cell-1.19.0
CARGO_CRATE_DEPENDS+= oorandom-11.1.4
CARGO_CRATE_DEPENDS+= os_str_bytes-6.6.1
CARGO_CRATE_DEPENDS+= output_vt100-0.1.3
CARGO_CRATE_DEPENDS+= plotters-0.3.1
CARGO_CRATE_DEPENDS+= plotters-backend-0.3.2
CARGO_CRATE_DEPENDS+= plotters-svg-0.3.1
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.16
CARGO_CRATE_DEPENDS+= predicates-2.1.1
CARGO_CRATE_DEPENDS+= predicates-core-1.0.3
CARGO_CRATE_DEPENDS+= predicates-tree-1.0.5
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.39
CARGO_CRATE_DEPENDS+= quote-1.0.18
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+= ppv-lite86-0.2.20
CARGO_CRATE_DEPENDS+= predicates-3.1.2
CARGO_CRATE_DEPENDS+= predicates-core-1.0.8
CARGO_CRATE_DEPENDS+= predicates-tree-1.0.11
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
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.3
CARGO_CRATE_DEPENDS+= rand_core-0.6.4
CARGO_CRATE_DEPENDS+= rand_xoshiro-0.6.0
CARGO_CRATE_DEPENDS+= rayon-1.5.3
CARGO_CRATE_DEPENDS+= rayon-core-1.9.3
CARGO_CRATE_DEPENDS+= regex-1.5.6
CARGO_CRATE_DEPENDS+= regex-automata-0.1.10
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.26
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= ryu-1.0.10
CARGO_CRATE_DEPENDS+= rayon-1.10.0
CARGO_CRATE_DEPENDS+= rayon-core-1.12.1
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+= rustix-0.37.27
CARGO_CRATE_DEPENDS+= ryu-1.0.18
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= semver-1.0.9
CARGO_CRATE_DEPENDS+= serde-1.0.137
CARGO_CRATE_DEPENDS+= serde_cbor-0.11.2
CARGO_CRATE_DEPENDS+= serde_derive-1.0.137
CARGO_CRATE_DEPENDS+= serde_json-1.0.81
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+= strsim-0.10.0
CARGO_CRATE_DEPENDS+= syn-1.0.95
CARGO_CRATE_DEPENDS+= termcolor-1.1.3
CARGO_CRATE_DEPENDS+= terminal_size-0.1.17
CARGO_CRATE_DEPENDS+= termtree-0.2.4
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
CARGO_CRATE_DEPENDS+= textwrap-0.15.0
CARGO_CRATE_DEPENDS+= syn-2.0.77
CARGO_CRATE_DEPENDS+= termcolor-1.4.1
CARGO_CRATE_DEPENDS+= terminal_size-0.2.6
CARGO_CRATE_DEPENDS+= termtree-0.4.1
CARGO_CRATE_DEPENDS+= textwrap-0.16.1
CARGO_CRATE_DEPENDS+= tinytemplate-1.2.1
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.0
CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+= walkdir-2.3.2
CARGO_CRATE_DEPENDS+= wasi-0.10.2+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.80
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.80
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.80
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.80
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.80
CARGO_CRATE_DEPENDS+= web-sys-0.3.57
CARGO_CRATE_DEPENDS+= walkdir-2.5.0
CARGO_CRATE_DEPENDS+= wasi-0.11.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.93
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.93
CARGO_CRATE_DEPENDS+= web-sys-0.3.70
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.5
CARGO_CRATE_DEPENDS+= winapi-util-0.1.9
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= windows-sys-0.48.0
CARGO_CRATE_DEPENDS+= windows-sys-0.52.0
CARGO_CRATE_DEPENDS+= windows-sys-0.59.0
CARGO_CRATE_DEPENDS+= windows-targets-0.48.5
CARGO_CRATE_DEPENDS+= windows-targets-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.6
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+= zerocopy-0.7.35
CARGO_CRATE_DEPENDS+= zerocopy-derive-0.7.35
Loading

0 comments on commit 6074554

Please sign in to comment.