1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY gmime-download-http "http://spruce.sourceforge.net/gmime/sources/v2.1/gmime-&gmime-version;.tar.gz">
|
---|
8 | <!ENTITY gmime-download-ftp " ">
|
---|
9 | <!ENTITY gmime-md5sum "9a3075219597d461f153c4c34056f553">
|
---|
10 | <!ENTITY gmime-size "919 KB">
|
---|
11 | <!ENTITY gmime-buildsize "18.6 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 | <keywordset>
|
---|
22 | <keyword role="package">gmime-&gmime-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">gmime</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>GMime-&gmime-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="gmime">
|
---|
30 | <primary sortas="a-GMime">GMime</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to GMime</title>
|
---|
35 |
|
---|
36 | <para>The <application>GMime</application> package contains a set of
|
---|
37 | utilities for parsing and creating messages using the Multipurpose
|
---|
38 | Internet Mail Extension (MIME) as defined by the applicable RFCs. See the
|
---|
39 | <ulink url="http://spruce.sourceforge.net/gmime/">GMime web site</ulink>
|
---|
40 | for the RFCs resourced. This is useful as it provides an API which adheres
|
---|
41 | to the MIME specification as closely as possible while also providing
|
---|
42 | programmers with an extremely easy to use interface to the API
|
---|
43 | functions.</para>
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>Download (HTTP): <ulink url="&gmime-download-http;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download (FTP): <ulink url="&gmime-download-ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download MD5 sum: &gmime-md5sum;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download size: &gmime-size;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Estimated disk space required: &gmime-buildsize;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated build time: &gmime-time;</para>
|
---|
64 | </listitem>
|
---|
65 | </itemizedlist>
|
---|
66 |
|
---|
67 | <para>Note: the package version listed above is considered to be in the
|
---|
68 | development branch of <application>GMime</application>. This version is
|
---|
69 | used in the BLFS book, as the only package that requires it,
|
---|
70 | <application>Balsa</application>, requires a version equal to or greater
|
---|
71 | than 2.1.9. Not to worry though, as the maintainer has this to say about
|
---|
72 | the versions: <quote>at this time, even though 2.1.x has not made the
|
---|
73 | final 2.2.0 release, it is considered more stable and more robust than the
|
---|
74 | 2.0.x series</quote>. You can see this quote at <ulink
|
---|
75 | url="http://spruce.sourceforge.net/gmime/sources/NOTE_ABOUT_2.0"/>.</para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">GMime Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required"><xref linkend="glib2"/></para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
83 | <para role="optional"><ulink url="http://go-mono.com/sources/">Gtk#</ulink>
|
---|
84 | (requires a .NET framework:
|
---|
85 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink> or
|
---|
86 | <ulink url="http://www.southern-storm.com.au/portable_net.html">
|
---|
87 | DotGNU Portable.NET</ulink>)</para>
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="installation">
|
---|
92 | <title>Installation of GMime</title>
|
---|
93 |
|
---|
94 | <para>Install <application>GMime</application> by running the following
|
---|
95 | commands:</para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr &&
|
---|
98 | make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>This package does not come with a test suite.</para>
|
---|
101 |
|
---|
102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</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 | <screen role="root"><userinput>make install &&
|
---|
113 | install -v -m755 \
|
---|
114 | -d /usr/share/doc/gmime-&gmime-version;/{tutorial,examples,tests} &&
|
---|
115 | install -v -m644 README /usr/share/doc/gmime-&gmime-version; &&
|
---|
116 | install -v -m644 examples/{README,{basic,imap}-example.c} \
|
---|
117 | /usr/share/doc/gmime-&gmime-version;/examples &&
|
---|
118 | install -v -m755 examples/{basic,imap}-example \
|
---|
119 | /usr/share/doc/gmime-&gmime-version;/examples &&
|
---|
120 | install -v -m644 tests/test-{best,html,iconv,mbox,mime,parser}.c \
|
---|
121 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
122 | install -v -m644 tests/test{-{partial,pgp{,mime},streams}.c,?.eml} \
|
---|
123 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
124 | install -v -m755 tests/test-{best,html,iconv,mbox,mime,parser} \
|
---|
125 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
126 | install -v -m755 tests/test-{partial,pgp{,mime},streams} \
|
---|
127 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
128 | cp -v -R docs/tutorial/html/* /usr/share/doc/gmime-2.1.17/tutorial</userinput></screen>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="content">
|
---|
133 | <title>Contents</title>
|
---|
134 |
|
---|
135 | <segmentedlist>
|
---|
136 | <segtitle>Installed Programs</segtitle>
|
---|
137 | <segtitle>Installed Libraries</segtitle>
|
---|
138 | <segtitle>Installed Directories</segtitle>
|
---|
139 |
|
---|
140 | <seglistitem>
|
---|
141 | <seg>gmime-config, uudecode and uuencode</seg>
|
---|
142 | <seg>libgmime-2.0.[so,a] and optionally,
|
---|
143 | <application>Mono</application> bindings</seg>
|
---|
144 | <seg>/usr/include/gmime-2.0, /usr/lib/mono/gac/gmime-sharp,
|
---|
145 | /usr/lib/mono/gmime-sharp, /usr/share/doc/gmime-2.1.17 and
|
---|
146 | /usr/share/gtk-doc/html/gmime</seg>
|
---|
147 | </seglistitem>
|
---|
148 | </segmentedlist>
|
---|
149 |
|
---|
150 | <variablelist>
|
---|
151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
152 | <?dbfo list-presentation="list"?>
|
---|
153 | <?dbhtml list-presentation="table"?>
|
---|
154 |
|
---|
155 | <varlistentry id="gmime-config">
|
---|
156 | <term><command>gmime-config</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>is used to gather information about how and where
|
---|
159 | <application>GMime</application> was installed. It is typically
|
---|
160 | used by other programs seeking to link to the
|
---|
161 | <application>GMime</application> library.</para>
|
---|
162 | <indexterm zone="gmime gmime-config">
|
---|
163 | <primary sortas="b-gmime-config">gmime-config</primary>
|
---|
164 | </indexterm>
|
---|
165 | </listitem>
|
---|
166 | </varlistentry>
|
---|
167 |
|
---|
168 | <varlistentry id="uudecode">
|
---|
169 | <term><command>uudecode</command></term>
|
---|
170 | <listitem>
|
---|
171 | <para>is used to decode files or data encoded with
|
---|
172 | <command>uuencode</command>.</para>
|
---|
173 | <indexterm zone="gmime uudecode">
|
---|
174 | <primary sortas="b-uudecode">uudecode</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="uuencode">
|
---|
180 | <term><command>uuencode</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>is a method of encoding binary data into 7-bit ASCII
|
---|
183 | data.</para>
|
---|
184 | <indexterm zone="gmime uuencode">
|
---|
185 | <primary sortas="b-uuencode">uuencode</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 |
|
---|
191 | <varlistentry id="libgmime-2.0">
|
---|
192 | <term><filename class='libraryfile'>libgmime-2.0.[so,a]</filename></term>
|
---|
193 | <listitem>
|
---|
194 | <para>contains API functions used by programs that need to adhere to
|
---|
195 | the MIME standards.</para>
|
---|
196 | <indexterm zone="gmime libgmime-2.0">
|
---|
197 | <primary sortas="c-libgmime-2.0">libgmime-2.0.[so,a]</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | </variablelist>
|
---|
203 |
|
---|
204 | </sect2>
|
---|
205 |
|
---|
206 | </sect1>
|
---|