Exiv2-0.28.7

Introduction to Exiv2

Exiv2 contains 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 12.4 platform.

Package Information

  • Download (HTTP): https://github.com/Exiv2/exiv2/archive/v0.28.7/exiv2-0.28.7.tar.gz

  • Download SHA256 Sum: 5e292b02614dbc0cee40fe1116db2f42f63ef6b2ba430c77b614e17b8d61a638

  • Download MD5 sum: 18da09ef331a10b2341049296c28f6aa

  • Download size: 103,925.5 KB

  • Estimated disk space required: 121,317.3 KB

  • Estimated build time: 1.07 SBU (with tests)

Exiv2 dependencies

Required

CMake-4.1.3

Recommended

Optional

libssh

Optional for documentation

"doxygen", Graphviz-14.0.4, and libxslt-1.1.43

Installation of Exiv2

Prepare Exiv2 by running the following commands:

cmake -B build -G Ninja              \
      -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_BUILD_TYPE=Release    \
      -D EXIV2_ENABLE_VIDEO=yes      \
      -D EXIV2_ENABLE_WEBREADY=yes   \
      -D EXIV2_ENABLE_CURL=yes       \
      -D EXIV2_BUILD_SAMPLES=no      \
      -D CMAKE_SKIP_INSTALL_RPATH=ON
ninja -C build

To test the results, issue:

ninja -C build test

Now Install the package, as the root user:

ninja -C build install

Command Explanations

-D CMAKE_SKIP_INSTALL_RPATH=ON: This switch makes cmake remove hardcoded library search paths (rpath) when installing a binary executable file or a shared library. This package does not need rpath once it's installed into the standard location, and rpath may sometimes cause unwanted effects or even security issues.

-D EXIV2_ENABLE_VIDEO=yes: This switch enables managing video metadata.

-D EXIV2_ENABLE_WEBREADY=yes: This switch enables managing web image metadata.

-D EXIV2_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.

-D EXIV2_ENABLE_CURL=yes: This switch is necessary to enable network/http capabilities.

-D EXIV2_ENABLE_INIH=no: Use this switch if you have not installed inih-62.

-D EXIV2_ENABLE_BROTLI=no: Use this switch if you have not installed Brotli-1.2.0.

Contents

Installed Program: exiv2
Installed Library: libexiv2.so
Installed Directories: /usr/include/exiv2 and /usr/lib/cmake/exiv2

Short Descriptions

exiv2

is a utility used to dump Exif data