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.xz">
|
---|
8 | <!ENTITY gmime-download-ftp "&gnome-download-ftp;/gmime/2.4/gmime-&gmime-version;.tar.xz">
|
---|
9 | <!ENTITY gmime-md5sum "46a52361d43769d20dbd87aa225bc3f9">
|
---|
10 | <!ENTITY gmime-size "672 KB">
|
---|
11 | <!ENTITY gmime-buildsize "21 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_checked;
|
---|
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 --disable-static &&
|
---|
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>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install &&
|
---|
107 | install -v -m755 -d /usr/share/doc/gmime-&gmime-version; &&
|
---|
108 | install -v -m644 README \
|
---|
109 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
110 |
|
---|
111 | <para>If you generated the API tutorials, still as the
|
---|
112 | <systemitem class="username">root</systemitem> user:</para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>install -v -m644 docs/tutorial/gmime* \
|
---|
115 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
123 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
124 |
|
---|
125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
126 | href="../../xincludes/static-libraries.xml"/>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="content">
|
---|
131 | <title>Contents</title>
|
---|
132 |
|
---|
133 | <segmentedlist>
|
---|
134 | <segtitle>Installed Programs</segtitle>
|
---|
135 | <segtitle>Installed Libraries</segtitle>
|
---|
136 | <segtitle>Installed Directories</segtitle>
|
---|
137 |
|
---|
138 | <seglistitem>
|
---|
139 | <seg>None</seg>
|
---|
140 | <seg>libgmime-2.4.so and optionally,
|
---|
141 | <application>Mono</application> bindings</seg>
|
---|
142 | <seg>/usr/include/gmime-2.4/gmime, /usr/lib/mono/gac/gmime-sharp,
|
---|
143 | /usr/lib/mono/gmime-sharp,
|
---|
144 | /usr/share/doc/gmime-&gmime-version; and
|
---|
145 | /usr/share/gtk-doc/html/gmime</seg>
|
---|
146 | </seglistitem>
|
---|
147 | </segmentedlist>
|
---|
148 |
|
---|
149 | <variablelist>
|
---|
150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry id="libgmime-2.4">
|
---|
155 | <term><filename class='libraryfile'>libgmime-2.4.so</filename></term>
|
---|
156 | <listitem>
|
---|
157 | <para>contains API functions used by programs that need to comply to
|
---|
158 | the MIME standards.</para>
|
---|
159 | <indexterm zone="gmime libgmime-2.4">
|
---|
160 | <primary sortas="c-libgmime-2.4">libgmime-2.4.so</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | </variablelist>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | </sect1>
|
---|