1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 | <!ENTITY gmime-download-http "&gnome-download-http;/gmime/2.4/gmime-&gmime-version;.tar.bz2">
|
---|
8 | <!ENTITY gmime-download-ftp "&gnome-download-ftp;/gmime/2.4/gmime-&gmime-version;.tar.bz2">
|
---|
9 | <!ENTITY gmime-md5sum "61e8b07ea941975c861f4d69eda293ad">
|
---|
10 | <!ENTITY gmime-size "861 KB">
|
---|
11 | <!ENTITY gmime-buildsize "17 MB">
|
---|
12 | <!ENTITY gmime-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gmime" xreflabel="GMime-&gmime-version;">
|
---|
16 | <?dbhtml filename="gmime.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>GMime-&gmime-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="gmime">
|
---|
26 | <primary sortas="a-GMime">GMime</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to GMime</title>
|
---|
31 |
|
---|
32 | <para>The <application>GMime</application> package contains a set of
|
---|
33 | utilities for parsing and creating messages using the Multipurpose
|
---|
34 | Internet Mail Extension (MIME) as defined by the applicable RFCs. See the
|
---|
35 | <ulink url="http://spruce.sourceforge.net/gmime/">GMime web site</ulink>
|
---|
36 | for the RFCs resourced. This is useful as it provides an API which adheres
|
---|
37 | to the MIME specification as closely as possible while also providing
|
---|
38 | programmers with an extremely easy to use interface to the API
|
---|
39 | functions.</para>
|
---|
40 |
|
---|
41 | &lfs70_built;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>Download (HTTP): <ulink url="&gmime-download-http;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download (FTP): <ulink url="&gmime-download-ftp;"/></para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download MD5 sum: &gmime-md5sum;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Download size: &gmime-size;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated disk space required: &gmime-buildsize;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Estimated build time: &gmime-time;</para>
|
---|
62 | </listitem>
|
---|
63 | </itemizedlist>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect3">GMime Dependencies</bridgehead>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
68 | <para role="required"><xref linkend="pkgconfig"/></para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional"><xref linkend="docbook-utils"/>,
|
---|
72 | <xref linkend="gtk-doc"/>, and
|
---|
73 | <ulink url="http://go-mono.com/sources/">Gtk#</ulink> (requires
|
---|
74 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>)</para>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">User Notes:
|
---|
77 | <ulink url="&blfs-wiki;/gmime"/></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of GMime</title>
|
---|
83 |
|
---|
84 | <para>Install <application>GMime</application> by running the following
|
---|
85 | commands:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>./configure --prefix=/usr &&
|
---|
88 | make</userinput></screen>
|
---|
89 |
|
---|
90 | <para>If you have <xref linkend="docbook-utils"/> installed and you wish
|
---|
91 | to generate the API tutorials, issue the following commands:</para>
|
---|
92 |
|
---|
93 | <screen><userinput>pushd docs/tutorial &&
|
---|
94 | docbook2html --nochunks gmime-tut.sgml &&
|
---|
95 | docbook2pdf gmime-tut.sgml &&
|
---|
96 | docbook2ps gmime-tut.sgml &&
|
---|
97 | docbook2txt gmime-tut.sgml &&
|
---|
98 | popd</userinput></screen>
|
---|
99 |
|
---|
100 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
101 | some tests may fail because the corresponding sub-system is not installed
|
---|
102 | or configured properly.</para>
|
---|
103 |
|
---|
104 | <para>This package will overwrite the <command>uudecode</command> and
|
---|
105 | <command>uuencode</command> programs installed by the
|
---|
106 | <application>sharutils</application> package (or any other package that
|
---|
107 | may install these programs) if they exist in
|
---|
108 | <filename class='directory'>/usr/bin</filename>. If you wish to preserve
|
---|
109 | the existing programs, ensure you rename them before issuing the following
|
---|
110 | commands.</para>
|
---|
111 |
|
---|
112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install &&
|
---|
115 | install -v -m755 -d /usr/share/doc/gmime-&gmime-version; &&
|
---|
116 | install -v -m644 README \
|
---|
117 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
118 |
|
---|
119 | <para>If you generated the API tutorials, still as the
|
---|
120 | <systemitem class="username">root</systemitem> user:</para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>install -v -m644 docs/tutorial/gmime* \
|
---|
123 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="commands">
|
---|
128 | <title>Command Explanations</title>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
131 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="content">
|
---|
136 | <title>Contents</title>
|
---|
137 |
|
---|
138 | <segmentedlist>
|
---|
139 | <segtitle>Installed Programs</segtitle>
|
---|
140 | <segtitle>Installed Libraries</segtitle>
|
---|
141 | <segtitle>Installed Directories</segtitle>
|
---|
142 |
|
---|
143 | <seglistitem>
|
---|
144 | <seg>uudecode and uuencode</seg>
|
---|
145 | <seg>libgmime-2.4.{so,a} and optionally,
|
---|
146 | <application>Mono</application> bindings</seg>
|
---|
147 | <seg>/usr/include/gmime-2.4, /usr/lib/mono/gac/gmime-sharp,
|
---|
148 | /usr/lib/mono/gmime-sharp,
|
---|
149 | /usr/share/doc/gmime-&gmime-version; and
|
---|
150 | /usr/share/gtk-doc/html/gmime</seg>
|
---|
151 | </seglistitem>
|
---|
152 | </segmentedlist>
|
---|
153 |
|
---|
154 | <variablelist>
|
---|
155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
156 | <?dbfo list-presentation="list"?>
|
---|
157 | <?dbhtml list-presentation="table"?>
|
---|
158 |
|
---|
159 | <varlistentry id="gmime-uudecode">
|
---|
160 | <term><command>uudecode</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>is used to decode files or data encoded with
|
---|
163 | <command>uuencode</command>.</para>
|
---|
164 | <indexterm zone="gmime uudecode">
|
---|
165 | <primary sortas="b-uudecode">uudecode</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | <varlistentry id="gmime-uuencode">
|
---|
171 | <term><command>uuencode</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>is a method of encoding binary data into 7-bit ASCII
|
---|
174 | data.</para>
|
---|
175 | <indexterm zone="gmime uuencode">
|
---|
176 | <primary sortas="b-uuencode">uuencode</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 |
|
---|
182 | <varlistentry id="libgmime-2.4">
|
---|
183 | <term><filename class='libraryfile'>libgmime-2.4.{so,a}</filename></term>
|
---|
184 | <listitem>
|
---|
185 | <para>contains API functions used by programs that need to adhere to
|
---|
186 | the MIME standards.</para>
|
---|
187 | <indexterm zone="gmime libgmime-2.4">
|
---|
188 | <primary sortas="c-libgmime-2.4">libgmime-2.4.{so,a}</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | </variablelist>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | </sect1>
|
---|