Exiv2-0.27.0

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 10. Graphics and Font Libraries

- Prev

  babl-0.1.62

- Next

  FreeType-2.9.1

- Up
- Home

# Exiv2-0.27.0

## Introduction to Exiv2

Exiv2 is a C++ library and a command line utility for managing image and video metadata.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): http://www.exiv2.org/builds/exiv2-0.27.0-Source.tar.gz

- Download MD5 sum: 57d58c9cef127c5fa24bf0e1fbbd1f8c

- Download size: 26 MB

- Estimated disk space required: 86 MB

- Estimated build time: 0.3 SBU (Using parallelism=4)

### Exiv2 dependencies

#### Recommended

cURL-7.64.0

#### Optional

libssh

#### Optional for documentation

Doxygen-1.8.15, Graphviz-2.40.1, and libxslt-1.1.33

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/exiv2

## Installation of Exiv2

First, disable building a sample program that fails:

    sed -i '/conntest/s/^/#/' samples/CMakeLists.txt

Install Exiv2 by running the following commands:

    mkdir build &&
    cd    build &&

    cmake -DCMAKE_INSTALL_PREFIX=/usr  \
          -DCMAKE_BUILD_TYPE=Release   \
          -DEXIV2_ENABLE_VIDEO=yes     \
          -DEXIV2_ENABLE_WEBREADY=yes  \
          -DEXIV2_ENABLE_CURL=yes      \
          -DEXIV2_BUILD_SAMPLES=no     \
          -G "Unix Makefiles" .. &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

`-DEXIV2_ENABLE_VIDEO=yes`: This switch enables managing video metadata.

`-DEXIV2_ENABLE_WEBREADY=yes`: This switch enables managing web image metadata.

`-DEXIV2_BUILD_SAMPLES=no`: This switch is necessary to suppress building and installing sample programs. If the sample programs are built, 34 additional programs are installed in /usr/bin.

`-DEXIV2_ENABLE_CURL=yes`: This switch is necessary to enable network/http capabilities.

## Contents

Installed Program: exiv2
Installed Library: libexiv2.so and libxmp.a
Installed Directories: /usr/include/exiv2 and /usr/share/exiv2

### Short Descriptions

exiv2 | is a utility used to dump Exif data.

Last updated on 2019-02-17 17:47:43 -0600

- Prev

  babl-0.1.62

- Next

  FreeType-2.9.1

- Up
- Home