The imv package provides an image viewer.
Download (HTTP): https://git.sr.ht/~exec64/imv/archive/v5.0.0.tar.gz
Graphical environment (Xorg-Server or Wayland), ICU, libxkbcommon, and Pango (with Cairo)
asciidoc, libheif, libjpeg-turbo, libjxl, libpng, librsvg, libtiff, libwebp, libnsbmp, libnsgif, and qoi
Optionally, apply a patch to move the Wayland and X11 backends to the libexec directory:
patch -Np1 -i ../move-wayland-and-x11-to-libexec.patch
Force imv to link to the common ICU library:
sed -i 's/icu-io/icu-uc/g' meson.build
Install imv by running the following commands:
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D windows=all \
-D unicode=icu \
-D test=disabled \
-D contrib-commands=false &&
ninja
Now, as the root user:
ninja install
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D windows=all: This
parameter builds support for wayland and X11, and determine which
to use at runtime.
-D unicode=icu: This
parameter sets ICU as the Unicode backend.
-D tests=disabled: This
parameter disables tests.
-D contrib-commands=false:
This parameter prevents the installation of contributed commands.
If you wish to install them, remove this parameter.