1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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. -->
|
---|
10 | <!--<!ENTITY dl-version "0_6_22">
|
---|
11 | not used in version 0.6.23 -->
|
---|
12 |
|
---|
13 | <!ENTITY libexif-download-http "https://github.com/libexif/libexif/releases/download/v&libexif-version;/libexif-&libexif-version;.tar.bz2">
|
---|
14 | <!ENTITY libexif-download-ftp " ">
|
---|
15 | <!ENTITY libexif-md5sum "00ea6e7ff62d3fd41ea9b2139746703c">
|
---|
16 | <!ENTITY libexif-size "1.9 MB">
|
---|
17 | <!ENTITY libexif-buildsize "17 MB">
|
---|
18 | <!ENTITY libexif-time "0.1 SBU">
|
---|
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">
|
---|
28 | <primary sortas="a-libexif">libexif</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to libexif</title>
|
---|
33 |
|
---|
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>
|
---|
41 |
|
---|
42 | &lfs122_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&libexif-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&libexif-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &libexif-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &libexif-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &libexif-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &libexif-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">libexif Dependencies</bridgehead>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref linkend="doxygen"/> and
|
---|
83 | <xref linkend="graphviz"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of libexif</title>
|
---|
90 |
|
---|
91 | <!--
|
---|
92 | <para>
|
---|
93 | First, apply a patch to fix a security issue (integer overflow leading to
|
---|
94 | Out Of Buffer write):
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput remap="pre">patch -Np1 -i ../libexif-&libexif-version;-security_fixes-1.patch</userinput></screen>
|
---|
98 | -->
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>libexif</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>./configure --prefix=/usr \
|
---|
106 | --disable-static \
|
---|
107 | --with-doc-dir=/usr/share/doc/libexif-&libexif-version; &&
|
---|
108 | make</userinput></screen>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | To test the results, issue: <command>make check</command>.
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
119 |
|
---|
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>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="commands">
|
---|
131 | <title>Command Explanations</title>
|
---|
132 |
|
---|
133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
134 | href="../../xincludes/static-libraries.xml"/>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="content">
|
---|
139 | <title>Contents</title>
|
---|
140 |
|
---|
141 | <segmentedlist>
|
---|
142 | <segtitle>Installed Programs</segtitle>
|
---|
143 | <segtitle>Installed Library</segtitle>
|
---|
144 | <segtitle>Installed Directories</segtitle>
|
---|
145 |
|
---|
146 | <seglistitem>
|
---|
147 | <seg>
|
---|
148 | None
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
151 | libexif.so
|
---|
152 | </seg>
|
---|
153 | <seg>
|
---|
154 | /usr/include/libexif and
|
---|
155 | /usr/share/doc/libexif-&libexif-version;
|
---|
156 | </seg>
|
---|
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">
|
---|
166 | <term><filename class="libraryfile">libexif.so</filename></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | contains functions used for parsing, editing, and saving
|
---|
170 | EXIF data
|
---|
171 | </para>
|
---|
172 | <indexterm zone="libexif libexif-lib">
|
---|
173 | <primary sortas="c-libexif">libexif.so</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | </variablelist>
|
---|
179 |
|
---|
180 | </sect2>
|
---|
181 |
|
---|
182 | </sect1>
|
---|