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