[4ffe8c5] | 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 | </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 | <para>Note: the package version listed above is considered to be in the
|
---|
| 64 | development branch of <application>GMime</application>. This version is
|
---|
| 65 | used in the BLFS book, as the only package that requires it,
|
---|
| 66 | <application>Balsa</application>, requires a version equal to or greater
|
---|
| 67 | than 2.1.9. Not to worry though, as the maintainer has this to say about
|
---|
| 68 | the versions: <quote>at this time, even though 2.1.x has not made the
|
---|
| 69 | final 2.2.0 release, it is considered more stable and more robust than the
|
---|
| 70 | 2.0.x series</quote>. You can see this quote at <ulink
|
---|
| 71 | url="http://spruce.sourceforge.net/gmime/sources/NOTE_ABOUT_2.0"/>.</para>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">GMime Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para><xref linkend="glib2"/></para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 79 | <para><ulink url="http://go-mono.com/sources/">Gtk#</ulink>
|
---|
| 80 | (requires a .NET framework:
|
---|
| 81 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink> or
|
---|
| 82 | <ulink url="http://www.southern-storm.com.au/portable_net.html">
|
---|
| 83 | DotGNU Portable.NET</ulink>)</para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of GMime</title>
|
---|
| 89 |
|
---|
| 90 | <para>Install <application>GMime</application> by running the following
|
---|
| 91 | commands:</para>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
| 96 | <para>This package does not come with a test suite.</para>
|
---|
| 97 |
|
---|
| 98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 99 |
|
---|
| 100 | <para>This package will overwrite the <command>uudecode</command> and
|
---|
| 101 | <command>uuencode</command> programs installed by the
|
---|
| 102 | <application>sharutils</application> package (or any other package that
|
---|
| 103 | may install these programs) if they exist in
|
---|
| 104 | <filename class='directory'>/usr/bin</filename>. If you wish to preserve
|
---|
| 105 | the existing programs, ensure you rename them before issuing the following
|
---|
| 106 | commands.</para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>make install &&
|
---|
| 109 | install -v -m755 \
|
---|
| 110 | -d /usr/share/doc/gmime-&gmime-version;/{tutorial,examples,tests} &&
|
---|
| 111 | install -v -m644 README /usr/share/doc/gmime-&gmime-version; &&
|
---|
| 112 | install -v -m644 examples/{README,{basic,imap}-example.c} \
|
---|
| 113 | /usr/share/doc/gmime-&gmime-version;/examples &&
|
---|
| 114 | install -v -m755 examples/{basic,imap}-example \
|
---|
| 115 | /usr/share/doc/gmime-&gmime-version;/examples &&
|
---|
| 116 | install -v -m644 tests/test-{best,html,iconv,mbox,mime,parser}.c \
|
---|
| 117 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
| 118 | install -v -m644 tests/test{-{partial,pgp{,mime},streams}.c,?.eml} \
|
---|
| 119 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
| 120 | install -v -m755 tests/test-{best,html,iconv,mbox,mime,parser} \
|
---|
| 121 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
| 122 | install -v -m755 tests/test-{partial,pgp{,mime},streams} \
|
---|
| 123 | /usr/share/doc/gmime-&gmime-version;/tests &&
|
---|
| 124 | cp -v -R docs/tutorial/html/* /usr/share/doc/gmime-2.1.17/tutorial</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Programs</segtitle>
|
---|
| 133 | <segtitle>Installed Libraries</segtitle>
|
---|
| 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
| 137 | <seg>gmime-config, uudecode and uuencode</seg>
|
---|
| 138 | <seg>libgmime-2.0.[so,a] and optionally,
|
---|
| 139 | <application>Mono</application> bindings</seg>
|
---|
| 140 | <seg>/usr/include/gmime-2.0, /usr/lib/mono/gac/gmime-sharp,
|
---|
| 141 | /usr/lib/mono/gmime-sharp, /usr/share/doc/gmime-2.1.17 and
|
---|
| 142 | /usr/share/gtk-doc/html/gmime</seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="gmime-config">
|
---|
| 152 | <term><command>gmime-config</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>is used to gather information about how and where
|
---|
| 155 | <application>GMime</application> was installed. It is typically
|
---|
| 156 | used by other programs seeking to link to the
|
---|
| 157 | <application>GMime</application> library.</para>
|
---|
| 158 | <indexterm zone="gmime gmime-config">
|
---|
| 159 | <primary sortas="b-gmime-config">gmime-config</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="uudecode">
|
---|
| 165 | <term><command>uudecode</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>is used to decode files or data encoded with
|
---|
| 168 | <command>uuencode</command>.</para>
|
---|
| 169 | <indexterm zone="gmime uudecode">
|
---|
| 170 | <primary sortas="b-uudecode">uudecode</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="uuencode">
|
---|
| 176 | <term><command>uuencode</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is a method of encoding binary data into 7-bit ASCII
|
---|
| 179 | data.</para>
|
---|
| 180 | <indexterm zone="gmime uuencode">
|
---|
| 181 | <primary sortas="b-uuencode">uuencode</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="libgmime-2.0">
|
---|
| 188 | <term><filename class='libraryfile'>libgmime-2.0.[so,a]</filename></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>contains API functions used by programs that need to adhere to
|
---|
| 191 | the MIME standards.</para>
|
---|
| 192 | <indexterm zone="gmime libgmime-2.0">
|
---|
| 193 | <primary sortas="c-libgmime-2.0">libgmime-2.0.[so,a]</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | </variablelist>
|
---|
| 199 |
|
---|
| 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | </sect1>
|
---|