[4ffe8c5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[4ffe8c5] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[932a778] | 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">
|
---|
[6138b38] | 12 | <!ENTITY gmime-time "0.4 SBU">
|
---|
[4ffe8c5] | 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 |
|
---|
[932a778] | 41 | &lfs70_checked;
|
---|
[07f0d321] | 42 |
|
---|
[4ffe8c5] | 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>
|
---|
[091eacd] | 68 | <para role="required"><xref linkend="pkgconfig"/></para>
|
---|
[4ffe8c5] | 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[fe88aee6] | 71 | <para role="optional"><xref linkend="docbook-utils"/>,
|
---|
| 72 | <xref linkend="gtk-doc"/>, and
|
---|
[d42aa42] | 73 | <ulink url="http://go-mono.com/sources/">Gtk#</ulink> (requires
|
---|
| 74 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>)</para>
|
---|
[4ffe8c5] | 75 |
|
---|
[1039de3] | 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url="&blfs-wiki;/gmime"/></para>
|
---|
| 78 |
|
---|
[4ffe8c5] | 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 |
|
---|
[932a778] | 87 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[4ffe8c5] | 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
[d42aa42] | 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 |
|
---|
[6138b38] | 93 | <screen><userinput>pushd docs/tutorial &&
|
---|
[d42aa42] | 94 | docbook2html --nochunks gmime-tut.sgml &&
|
---|
| 95 | docbook2pdf gmime-tut.sgml &&
|
---|
| 96 | docbook2ps gmime-tut.sgml &&
|
---|
| 97 | docbook2txt gmime-tut.sgml &&
|
---|
[6138b38] | 98 | popd</userinput></screen>
|
---|
[d42aa42] | 99 |
|
---|
[9327a61] | 100 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
[d42aa42] | 101 | some tests may fail because the corresponding sub-system is not installed
|
---|
| 102 | or configured properly.</para>
|
---|
[4ffe8c5] | 103 |
|
---|
[e38a12b] | 104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 105 |
|
---|
[4ffe8c5] | 106 | <screen role="root"><userinput>make install &&
|
---|
[d42aa42] | 107 | install -v -m755 -d /usr/share/doc/gmime-&gmime-version; &&
|
---|
[6138b38] | 108 | install -v -m644 README \
|
---|
[fe88aee6] | 109 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
| 110 |
|
---|
[6138b38] | 111 | <para>If you generated the API tutorials, still as the
|
---|
[fe88aee6] | 112 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 113 |
|
---|
[6138b38] | 114 | <screen role="root"><userinput>install -v -m644 docs/tutorial/gmime* \
|
---|
[d42aa42] | 115 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[e05cd03f] | 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d42aa42] | 123 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[4ffe8c5] | 124 |
|
---|
[932a778] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 127 |
|
---|
[4ffe8c5] | 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>
|
---|
[932a778] | 139 | <seg>None</seg>
|
---|
| 140 | <seg>libgmime-2.4.so and optionally,
|
---|
[4ffe8c5] | 141 | <application>Mono</application> bindings</seg>
|
---|
[932a778] | 142 | <seg>/usr/include/gmime-2.4/gmime, /usr/lib/mono/gac/gmime-sharp,
|
---|
[e38a12b] | 143 | /usr/lib/mono/gmime-sharp,
|
---|
| 144 | /usr/share/doc/gmime-&gmime-version; and
|
---|
[4ffe8c5] | 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 |
|
---|
[fe88aee6] | 154 | <varlistentry id="libgmime-2.4">
|
---|
[932a778] | 155 | <term><filename class='libraryfile'>libgmime-2.4.so</filename></term>
|
---|
[4ffe8c5] | 156 | <listitem>
|
---|
[932a778] | 157 | <para>contains API functions used by programs that need to comply to
|
---|
[4ffe8c5] | 158 | the MIME standards.</para>
|
---|
[fe88aee6] | 159 | <indexterm zone="gmime libgmime-2.4">
|
---|
[932a778] | 160 | <primary sortas="c-libgmime-2.4">libgmime-2.4.so</primary>
|
---|
[4ffe8c5] | 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | </variablelist>
|
---|
| 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | </sect1>
|
---|