BSD Ports

graphics/viu 1.5.1_17 FreeBSD

Simple terminal image viewer written in Rust

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
graphics
Package size
842.4 KiB, 2112.8 KiB installed

Description

Small command-line application to view images from the terminal written in Rust. It uses lower half blocks (\u2584) to fit 2 pixels into a single cell by adjusting foreground and background colours accordingly.

When run, viu will check the value of $COLORTERM. If it contains either truecolor or 24bit, truecolor (16 million colors) will be used. If not, it will fallback to using only ansi256.

In the other systems

SystemPortVersion
FreeBSDgraphics/viu1.5.1_17
NetBSDgraphics/viu1.6.1

Install

Binary package:

pkg install viu

From the ports tree:

cd /usr/ports/graphics/viu/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	viu>0:graphics/viu

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.1_161.5.1_17-1.5.1_51.5.1_17
FreeBSD:14:quarterly1.5.1_151.5.1_15n/a1.5.1_41.5.1_15
FreeBSD:15:latest1.5.1_171.5.1_17n/a1.5.1_51.5.1_5
FreeBSD:15:quarterly1.5.1_151.5.1_15n/an/an/a
FreeBSD:16:latest1.5.1_151.5.1_17n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12

No port depends on this one.

Configuration

Options name: graphics_viu

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cargo
Service scripts
none

Files

distinfo 170
FileSizeSHA256
rust/crates/adler-1.0.2.crate12778f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
rust/crates/adler2-2.0.0.crate13529512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627
rust/crates/aligned-vec-0.5.0.crate89214aa90d7ce82d4be67b64039a3d588d38dbcc6736577de4a847025ce5b0c468d1
rust/crates/ansi_colours-1.2.3.crate2180214eec43e0298190790f41679fe69ef7a829d2a2ddd78c8c00339e84710e435fe
rust/crates/anstream-0.6.15.crate2923164e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526
rust/crates/anstyle-1.0.8.crate157711bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1
rust/crates/anstyle-parse-0.2.5.crate22680eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb
rust/crates/anstyle-query-1.1.1.crate98916d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a
rust/crates/anstyle-wincon-3.0.4.crate122345bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8
rust/crates/anyhow-1.0.90.crate4711737bf3594c4c988a53154954629820791dde498571819ae4ca50ca811e060cc95
rust/crates/arbitrary-1.3.2.crate320377d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110
rust/crates/arg_enum_proc_macro-0.3.4.crate51020ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea
rust/crates/arrayvec-0.7.6.crate312377c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50
rust/crates/autocfg-1.4.0.crate17712ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26
rust/crates/av1-grain-0.2.3.crate347036678909d8c5d46a42abcf571271e15fdbc0a225e3646cf23762cd415046c78bf
rust/crates/avif-serialize-0.8.2.crate11985e335041290c43101ca215eed6f43ec437eb5a42125573f600fc3fa42b9bddd62
rust/crates/base64-0.22.1.crate8159772b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
rust/crates/bit_field-0.10.2.crate10568dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.6.0.crate45357b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645