imv-5.0.1

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 3. General Utilities

- Prev

  G-Kermit-2.01

- Next

  inxi-3.3.40-1

- Up
- Home

# imv-5.0.1

## Introduction to imv

The imv package provides an image viewer.

- Download: https://git.sr.ht/~exec64/imv/archive/v5.0.1.tar.gz

### Additional Downloads

- Recommended patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/imv/imv-5.0.1-libexecdir-1.patch

### imv Dependencies

#### Required

Graphical environment (Xorg-Server or Wayland), ICU, libxkbcommon, and Pango (with Cairo)

#### Recommended

GLU

#### Optional

asciidoc, libheif, libjpeg-turbo, libjxl, libpng, librsvg, libtiff, libwebp, libnsbmp, libnsgif, and qoi

## Installation of imv

Apply a patch to move the Wayland and X11 backends to the libexec directory:

    patch -Np1 -i ../imv-5.0.1-libexecdir-1.patch

Install imv by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup ..                  \
          --prefix=/usr             \
          --libexecdir=/usr/libexec \
          --buildtype=release       \
          -D windows=all            \
          -D unicode=icu            \
          -D test=disabled          \
          -D contrib-commands=false &&

    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`--libexecdir=/usr/libexec`: If the recommended patch was applied, this parameter moves the Wayland and X11 backends to `/usr/libexec`.

`-D windows=all`: This parameter builds support for Wayland and X11; imv determines 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.

## Contents

Installed Programs: imv, imv-msg, imv-wayland, and imv-x11
Installed Libraries: None
Installed Directories: None

### Short Descriptions

imv | is an image viewer
imv-msg | sends commands to a running imv instance
imv-wayland | is the Wayland backend for imv
imv-x11 | is the X11 backend for imv

- Prev

  G-Kermit-2.01

- Next

  inxi-3.3.40-1

- Up
- Home