[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[7567f93] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[4afc7855] | 7 | <!-- Because the maintainer of libexif is releasing versions in a scheme such
|
---|
| 8 | as this: libexif-0_6_22-release/libexif-0.6.22.tar.xz, let's keep the
|
---|
| 9 | 0_6_22 as a separate entity. -->
|
---|
[b42891ad] | 10 | <!--<!ENTITY dl-version "0_6_22">
|
---|
| 11 | not used in version 0.6.23 -->
|
---|
[4afc7855] | 12 |
|
---|
[7b95199] | 13 | <!ENTITY libexif-download-http "https://github.com/libexif/libexif/releases/download/v&libexif-version;/libexif-&libexif-version;.tar.bz2">
|
---|
[c627795] | 14 | <!ENTITY libexif-download-ftp " ">
|
---|
[7b95199] | 15 | <!ENTITY libexif-md5sum "00ea6e7ff62d3fd41ea9b2139746703c">
|
---|
| 16 | <!ENTITY libexif-size "1.9 MB">
|
---|
[b42891ad] | 17 | <!ENTITY libexif-buildsize "17 MB">
|
---|
[4afc7855] | 18 | <!ENTITY libexif-time "0.1 SBU">
|
---|
[7567f93] | 19 | ]>
|
---|
| 20 |
|
---|
| 21 | <sect1 id="libexif" xreflabel="libexif-&libexif-version;">
|
---|
| 22 | <?dbhtml filename="libexif.html"?>
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | <title>libexif-&libexif-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="libexif">
|
---|
[c627795] | 28 | <primary sortas="a-libexif">libexif</primary>
|
---|
[7567f93] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to libexif</title>
|
---|
| 33 |
|
---|
[c627795] | 34 | <para>
|
---|
| 35 | The <application>libexif</application> package contains a library for
|
---|
| 36 | parsing, editing, and saving EXIF data. Most digital cameras produce
|
---|
| 37 | EXIF files, which are JPEG files with extra tags that contain information
|
---|
| 38 | about the image. All EXIF tags described in EXIF standard 2.1 are
|
---|
| 39 | supported.
|
---|
| 40 | </para>
|
---|
[7567f93] | 41 |
|
---|
[1241ea19] | 42 | &lfs121_checked;
|
---|
[9e16470d] | 43 |
|
---|
[7567f93] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[c627795] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&libexif-download-http;"/>
|
---|
| 49 | </para>
|
---|
[7567f93] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c627795] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&libexif-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[7567f93] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c627795] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &libexif-md5sum;
|
---|
| 59 | </para>
|
---|
[7567f93] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c627795] | 62 | <para>
|
---|
| 63 | Download size: &libexif-size;
|
---|
| 64 | </para>
|
---|
[7567f93] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c627795] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &libexif-buildsize;
|
---|
| 69 | </para>
|
---|
[7567f93] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[c627795] | 72 | <para>
|
---|
| 73 | Estimated build time: &libexif-time;
|
---|
| 74 | </para>
|
---|
[7567f93] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[1a0409b] | 78 | <bridgehead renderas="sect3">libexif Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
|
---|
[c627795] | 81 | <para role="optional">
|
---|
| 82 | <xref linkend="doxygen"/> and
|
---|
| 83 | <xref linkend="graphviz"/>
|
---|
| 84 | </para>
|
---|
[e5097e59] | 85 |
|
---|
[7567f93] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of libexif</title>
|
---|
| 90 |
|
---|
[046af1b6] | 91 | <!--
|
---|
[5afb9db4] | 92 | <para>
|
---|
[277c9f4e] | 93 | First, apply a patch to fix a security issue (integer overflow leading to
|
---|
| 94 | Out Of Buffer write):
|
---|
[5afb9db4] | 95 | </para>
|
---|
| 96 |
|
---|
[277c9f4e] | 97 | <screen><userinput remap="pre">patch -Np1 -i ../libexif-&libexif-version;-security_fixes-1.patch</userinput></screen>
|
---|
[046af1b6] | 98 | -->
|
---|
[5afb9db4] | 99 |
|
---|
[c627795] | 100 | <para>
|
---|
| 101 | Install <application>libexif</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
[7567f93] | 104 |
|
---|
[b877595] | 105 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 106 | --disable-static \
|
---|
| 107 | --with-doc-dir=/usr/share/doc/libexif-&libexif-version; &&
|
---|
[7567f93] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[c627795] | 110 | <para>
|
---|
| 111 | To test the results, issue: <command>make check</command>.
|
---|
| 112 | </para>
|
---|
[7567f93] | 113 |
|
---|
[c627795] | 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
[7567f93] | 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 |
|
---|
[c627795] | 120 | <para>
|
---|
| 121 | Documentation was built and installed if you have the dependencies
|
---|
| 122 | shown above installed. If you don't have the dependencies installed,
|
---|
| 123 | there is a compressed tarball in the source tree
|
---|
| 124 | <filename class="directory">doc</filename> directory that can be
|
---|
| 125 | unpacked into /usr/share/doc/libexif-&libexif-version;.
|
---|
| 126 | </para>
|
---|
[1a0409b] | 127 |
|
---|
[7567f93] | 128 | </sect2>
|
---|
| 129 |
|
---|
[f6f5b67] | 130 | <sect2 role="commands">
|
---|
[0602a99] | 131 | <title>Command Explanations</title>
|
---|
| 132 |
|
---|
[c627795] | 133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 134 | href="../../xincludes/static-libraries.xml"/>
|
---|
[f6f5b67] | 135 |
|
---|
| 136 | </sect2>
|
---|
[0602a99] | 137 |
|
---|
[7567f93] | 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
[c3c56b2] | 142 | <segtitle>Installed Programs</segtitle>
|
---|
[7567f93] | 143 | <segtitle>Installed Library</segtitle>
|
---|
[9e16470d] | 144 | <segtitle>Installed Directories</segtitle>
|
---|
[7567f93] | 145 |
|
---|
| 146 | <seglistitem>
|
---|
[c3c56b2] | 147 | <seg>
|
---|
| 148 | None
|
---|
| 149 | </seg>
|
---|
[c627795] | 150 | <seg>
|
---|
| 151 | libexif.so
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | /usr/include/libexif and
|
---|
| 155 | /usr/share/doc/libexif-&libexif-version;
|
---|
| 156 | </seg>
|
---|
[7567f93] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="libexif-lib">
|
---|
[4c24eb0a] | 166 | <term><filename class="libraryfile">libexif.so</filename></term>
|
---|
[7567f93] | 167 | <listitem>
|
---|
[c627795] | 168 | <para>
|
---|
| 169 | contains functions used for parsing, editing, and saving
|
---|
[4c24eb0a] | 170 | EXIF data
|
---|
[c627795] | 171 | </para>
|
---|
[7567f93] | 172 | <indexterm zone="libexif libexif-lib">
|
---|
[c627795] | 173 | <primary sortas="c-libexif">libexif.so</primary>
|
---|
[7567f93] | 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
[c627795] | 177 |
|
---|
[7567f93] | 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|