2005-11-03 14:08:07 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-11-03 14:08:07 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-03-31 01:37:29 +08:00
|
|
|
<!ENTITY gmime-download-http "&gnome-download-http;/gmime/2.4/gmime-&gmime-version;.tar.xz">
|
2012-07-25 00:19:05 +08:00
|
|
|
<!ENTITY gmime-download-ftp "&gnome-download-ftp;/gmime/2.4/gmime-&gmime-version;.tar.xz">
|
2012-03-31 01:37:29 +08:00
|
|
|
<!ENTITY gmime-md5sum "46a52361d43769d20dbd87aa225bc3f9">
|
|
|
|
<!ENTITY gmime-size "672 KB">
|
|
|
|
<!ENTITY gmime-buildsize "21 MB">
|
2011-01-14 23:23:11 +08:00
|
|
|
<!ENTITY gmime-time "0.4 SBU">
|
2005-11-03 14:08:07 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gmime" xreflabel="GMime-&gmime-version;">
|
|
|
|
<?dbhtml filename="gmime.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>GMime-&gmime-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gmime">
|
|
|
|
<primary sortas="a-GMime">GMime</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GMime</title>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
The <application>GMime</application> package contains a set of
|
|
|
|
utilities for parsing and creating messages using the Multipurpose
|
|
|
|
Internet Mail Extension (MIME) as defined by the applicable RFCs. See the
|
|
|
|
<ulink url="http://spruce.sourceforge.net/gmime/">GMime web site</ulink>
|
|
|
|
for the RFCs resourced. This is useful as it provides an API which adheres
|
|
|
|
to the MIME specification as closely as possible while also providing
|
|
|
|
programmers with an extremely easy to use interface to the API functions.
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
2012-03-31 01:37:29 +08:00
|
|
|
&lfs70_checked;
|
2012-01-11 08:38:28 +08:00
|
|
|
|
2005-11-03 14:08:07 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gmime-download-http;"/>
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gmime-download-ftp;"/>
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gmime-md5sum;
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gmime-size;
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gmime-buildsize;
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gmime-time;
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">GMime Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para role="required">
|
2012-06-06 07:38:53 +08:00
|
|
|
<xref linkend="glib2"/>
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="docbook-utils"/>,
|
|
|
|
<xref linkend="gtk-doc"/> and
|
|
|
|
<ulink url="http://go-mono.com/sources/">Gtk#</ulink> (requires
|
|
|
|
<ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>)
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-05-17 00:39:28 +08:00
|
|
|
<ulink url="&blfs-wiki;/gmime"/>
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GMime</title>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GMime</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
2012-03-31 01:37:29 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
2005-11-03 14:08:07 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
If you have <xref linkend="docbook-utils"/> installed and you wish
|
|
|
|
to generate the API tutorials, issue the following commands:
|
|
|
|
</para>
|
2007-07-21 04:41:06 +08:00
|
|
|
|
2011-01-14 23:23:11 +08:00
|
|
|
<screen><userinput>pushd docs/tutorial &&
|
2007-07-21 04:41:06 +08:00
|
|
|
docbook2html --nochunks gmime-tut.sgml &&
|
|
|
|
docbook2pdf gmime-tut.sgml &&
|
|
|
|
docbook2ps gmime-tut.sgml &&
|
|
|
|
docbook2txt gmime-tut.sgml &&
|
2011-01-14 23:23:11 +08:00
|
|
|
popd</userinput></screen>
|
2007-07-21 04:41:06 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>. Note that
|
|
|
|
some tests may fail because the corresponding sub-system is not installed
|
|
|
|
or configured properly.
|
|
|
|
</para>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2006-04-26 00:10:24 +08:00
|
|
|
|
2005-11-03 14:08:07 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2007-07-21 04:41:06 +08:00
|
|
|
install -v -m755 -d /usr/share/doc/gmime-&gmime-version; &&
|
2011-01-14 23:23:11 +08:00
|
|
|
install -v -m644 README \
|
2009-12-05 15:49:38 +08:00
|
|
|
/usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
If you generated the API tutorials, still as the
|
|
|
|
<systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2009-12-05 15:49:38 +08:00
|
|
|
|
2011-01-14 23:23:11 +08:00
|
|
|
<screen role="root"><userinput>install -v -m644 docs/tutorial/gmime* \
|
2007-07-21 04:41:06 +08:00
|
|
|
/usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-17 00:39:28 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2005-11-03 14:08:07 +08:00
|
|
|
|
2012-03-31 01:37:29 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-17 00:39:28 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2012-03-31 01:37:29 +08:00
|
|
|
|
2005-11-03 14:08:07 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2012-05-17 00:39:28 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-11-03 14:08:07 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<seg>
|
|
|
|
libgmime-2.4.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/gmime-2.4,
|
|
|
|
/usr/share/doc/gmime-&gmime-version; and
|
|
|
|
/usr/share/gtk-doc/html/gmime
|
|
|
|
</seg>
|
2005-11-03 14:08:07 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2009-12-05 15:49:38 +08:00
|
|
|
<varlistentry id="libgmime-2.4">
|
2012-03-31 01:37:29 +08:00
|
|
|
<term><filename class='libraryfile'>libgmime-2.4.so</filename></term>
|
2005-11-03 14:08:07 +08:00
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
contains API functions used by programs that need to comply to
|
|
|
|
the MIME standards.
|
|
|
|
</para>
|
2009-12-05 15:49:38 +08:00
|
|
|
<indexterm zone="gmime libgmime-2.4">
|
2012-03-31 01:37:29 +08:00
|
|
|
<primary sortas="c-libgmime-2.4">libgmime-2.4.so</primary>
|
2005-11-03 14:08:07 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|