Difference between revisions of "Libexif"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/libexif/libexif-0.6.13.tar.bz2
+
| http://prdownloads.sourceforge.net/libexif/libexif-{{Libexif-Version}}.tar.bz2
 
|}
 
|}
  
Line 23: Line 23:
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \
     --with-doc-dir=/usr/share/doc/libexif-0.6.13 &&
+
     --with-doc-dir=/usr/share/doc/libexif-{{Libexif-Version}} &&
 
  make
 
  make
  
Line 42: Line 42:
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr \
     --with-doc-dir=/usr/share/doc/libexif-0.6.13 &&
+
     --with-doc-dir=/usr/share/doc/libexif-{{Libexif-Version}} &&
 
  make
 
  make
  
Line 55: Line 55:
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
     --with-doc-dir=/usr/share/doc/libexif-0.6.13 &&
+
     --with-doc-dir=/usr/share/doc/libexif-{{Libexif-Version}} &&
 
  make
 
  make
  
Line 68: Line 68:
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
     --with-doc-dir=/usr/share/doc/libexif-0.6.13 &&
+
     --with-doc-dir=/usr/share/doc/libexif-{{Libexif-Version}} &&
 
  make
 
  make
  
Line 86: Line 86:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/include/libexif and /usr/share/doc/libexif-0.6.13
+
| /usr/include/libexif and /usr/share/doc/libexif-{{Libexif-Version}}
 
|}
 
|}
  

Revision as of 12:05, 17 December 2006

Download Source: http://prdownloads.sourceforge.net/libexif/libexif-0.6.19.tar.bz2

Introduction to Libexif

The Libexif package contains a library for parsing, editing, and saving EXIF data. Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. All EXIF tags described in EXIF standard 2.1 are supported.

Dependencies

Optional (to Build Documentation)

Non-Multilib

Compile the package:

sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
./configure --prefix=/usr \
    --with-doc-dir=/usr/share/doc/libexif-0.6.19 &&
make

Install the package

make install

Command Explanations

sed -i ... doc/Makefile.in: Installation of libexif will fail if Doxygen is not present on the system due to a packaging bug. The command does not affect the situation where Doxygen is installed.

Multilib

32Bit

Compile the package:

sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --with-doc-dir=/usr/share/doc/libexif-0.6.19 &&
make

Install the package

make install

N32

Compile the package:

sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --with-doc-dir=/usr/share/doc/libexif-0.6.19 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --with-doc-dir=/usr/share/doc/libexif-0.6.19 &&
make

Install the package

make install

Contents

Installed Programs: None
Installed Libraries: libexif.{so,a}
Installed Directories: /usr/include/libexif and /usr/share/doc/libexif-0.6.19

Short Descriptions

libexif.{so,a} contains functions used for parsing, editing, and saving EXIF data.
Retrieved from "?title=Libexif&oldid=5164"