Exiv2 は、イメージおよび画像のメタデータを管理する C++ library およびコマンドラインユーティリティです。
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
ダウンロード (HTTP): https://github.com/Exiv2/exiv2/archive/v0.28.1/exiv2-0.28.1.tar.gz
ダウンロード MD5 sum: c4d05b86bda11c15163903822d0eebfb
ダウンロードサイズ: 43 MB
必要ディスク容量: 122 MB (with tests)
概算ビルド時間: 0.5 SBU (Using parallelism=4, with tests)
Brotli-1.1.0, cURL-8.5.0, inih-57
以下のコマンドを実行して Exiv2 をビルドします。
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
ビルド結果をテストする場合は make test を実行します。
root ユーザーになって以下を実行します。
make install
-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.
-DEXIV2_ENABLE_INIH=no: Use this switch
if you have not installed inih-57.
-DEXIV2_ENABLE_BROTLI=no: Use this
switch if you have not installed Brotli-1.1.0.