[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">
|
---|
[3af204c] | 8 | <!ENTITY gmime-download-ftp "&gnome-download-ftp;/gmime/2.4/gmime-&gmime-version;.tar.xz">
|
---|
[932a778] | 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 |
|
---|
[7ded7e3] | 32 | <para>
|
---|
| 33 | The <application>GMime</application> package contains a set of
|
---|
| 34 | utilities for parsing and creating messages using the Multipurpose
|
---|
| 35 | Internet Mail Extension (MIME) as defined by the applicable RFCs. See the
|
---|
| 36 | <ulink url="http://spruce.sourceforge.net/gmime/">GMime web site</ulink>
|
---|
| 37 | for the RFCs resourced. This is useful as it provides an API which adheres
|
---|
| 38 | to the MIME specification as closely as possible while also providing
|
---|
| 39 | programmers with an extremely easy to use interface to the API functions.
|
---|
| 40 | </para>
|
---|
[4ffe8c5] | 41 |
|
---|
[932a778] | 42 | &lfs70_checked;
|
---|
[07f0d321] | 43 |
|
---|
[4ffe8c5] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[7ded7e3] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gmime-download-http;"/>
|
---|
| 49 | </para>
|
---|
[4ffe8c5] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[7ded7e3] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gmime-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[4ffe8c5] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[7ded7e3] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gmime-md5sum;
|
---|
| 59 | </para>
|
---|
[4ffe8c5] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[7ded7e3] | 62 | <para>
|
---|
| 63 | Download size: &gmime-size;
|
---|
| 64 | </para>
|
---|
[4ffe8c5] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[7ded7e3] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gmime-buildsize;
|
---|
| 69 | </para>
|
---|
[4ffe8c5] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[7ded7e3] | 72 | <para>
|
---|
| 73 | Estimated build time: &gmime-time;
|
---|
| 74 | </para>
|
---|
[4ffe8c5] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">GMime Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7ded7e3] | 81 | <para role="required">
|
---|
[aa4778c4] | 82 | <xref linkend="glib2"/>
|
---|
[7ded7e3] | 83 | </para>
|
---|
[4ffe8c5] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7ded7e3] | 86 | <para role="optional">
|
---|
| 87 | <xref linkend="docbook-utils"/>,
|
---|
| 88 | <xref linkend="gtk-doc"/> and
|
---|
| 89 | <ulink url="http://go-mono.com/sources/">Gtk#</ulink> (requires
|
---|
| 90 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>)
|
---|
| 91 | </para>
|
---|
[4ffe8c5] | 92 |
|
---|
[1039de3] | 93 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 94 | <ulink url="&blfs-wiki;/gmime"/>
|
---|
| 95 | </para>
|
---|
[4ffe8c5] | 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
| 99 | <title>Installation of GMime</title>
|
---|
| 100 |
|
---|
[7ded7e3] | 101 | <para>
|
---|
| 102 | Install <application>GMime</application> by running the following
|
---|
| 103 | commands:
|
---|
| 104 | </para>
|
---|
[4ffe8c5] | 105 |
|
---|
[932a778] | 106 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[4ffe8c5] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
[7ded7e3] | 109 | <para>
|
---|
| 110 | If you have <xref linkend="docbook-utils"/> installed and you wish
|
---|
| 111 | to generate the API tutorials, issue the following commands:
|
---|
| 112 | </para>
|
---|
[d42aa42] | 113 |
|
---|
[6138b38] | 114 | <screen><userinput>pushd docs/tutorial &&
|
---|
[d42aa42] | 115 | docbook2html --nochunks gmime-tut.sgml &&
|
---|
| 116 | docbook2pdf gmime-tut.sgml &&
|
---|
| 117 | docbook2ps gmime-tut.sgml &&
|
---|
| 118 | docbook2txt gmime-tut.sgml &&
|
---|
[6138b38] | 119 | popd</userinput></screen>
|
---|
[d42aa42] | 120 |
|
---|
[7ded7e3] | 121 | <para>
|
---|
| 122 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 123 | some tests may fail because the corresponding sub-system is not installed
|
---|
| 124 | or configured properly.
|
---|
| 125 | </para>
|
---|
[4ffe8c5] | 126 |
|
---|
[7ded7e3] | 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
[e38a12b] | 130 |
|
---|
[4ffe8c5] | 131 | <screen role="root"><userinput>make install &&
|
---|
[d42aa42] | 132 | install -v -m755 -d /usr/share/doc/gmime-&gmime-version; &&
|
---|
[6138b38] | 133 | install -v -m644 README \
|
---|
[fe88aee6] | 134 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
| 135 |
|
---|
[7ded7e3] | 136 | <para>
|
---|
| 137 | If you generated the API tutorials, still as the
|
---|
| 138 | <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
[fe88aee6] | 140 |
|
---|
[6138b38] | 141 | <screen role="root"><userinput>install -v -m644 docs/tutorial/gmime* \
|
---|
[d42aa42] | 142 | /usr/share/doc/gmime-&gmime-version;</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="commands">
|
---|
| 147 | <title>Command Explanations</title>
|
---|
| 148 |
|
---|
[e05cd03f] | 149 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 150 | href="../../xincludes/static-libraries.xml"/>
|
---|
[4ffe8c5] | 151 |
|
---|
[932a778] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 153 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[932a778] | 154 |
|
---|
[4ffe8c5] | 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
[7ded7e3] | 161 | <segtitle>Installed Library</segtitle>
|
---|
[4ffe8c5] | 162 | <segtitle>Installed Directories</segtitle>
|
---|
| 163 |
|
---|
| 164 | <seglistitem>
|
---|
[7ded7e3] | 165 | <seg>
|
---|
| 166 | libgmime-2.4.so
|
---|
| 167 | </seg>
|
---|
| 168 | <seg>
|
---|
| 169 | /usr/include/gmime-2.4,
|
---|
| 170 | /usr/share/doc/gmime-&gmime-version; and
|
---|
| 171 | /usr/share/gtk-doc/html/gmime
|
---|
| 172 | </seg>
|
---|
[4ffe8c5] | 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
| 175 |
|
---|
| 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
| 180 |
|
---|
[fe88aee6] | 181 | <varlistentry id="libgmime-2.4">
|
---|
[932a778] | 182 | <term><filename class='libraryfile'>libgmime-2.4.so</filename></term>
|
---|
[4ffe8c5] | 183 | <listitem>
|
---|
[7ded7e3] | 184 | <para>
|
---|
| 185 | contains API functions used by programs that need to comply to
|
---|
| 186 | the MIME standards.
|
---|
| 187 | </para>
|
---|
[fe88aee6] | 188 | <indexterm zone="gmime libgmime-2.4">
|
---|
[932a778] | 189 | <primary sortas="c-libgmime-2.4">libgmime-2.4.so</primary>
|
---|
[4ffe8c5] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | </sect1>
|
---|