summaryrefslogtreecommitdiffstats
path: root/archive/gmime.xml
blob: 202fd438aa1a5d505742b7851585f06aa23e4f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gmime-download-http "&gnome-download-http;/gmime/2.6/gmime-&gmime-version;.tar.xz">
  <!ENTITY gmime-download-ftp  "&gnome-download-ftp;/gmime/2.6/gmime-&gmime-version;.tar.xz">
  <!ENTITY gmime-md5sum        "247072236d84bd0fbbff299d69bdf333">
  <!ENTITY gmime-size          "5.0 MB">
  <!ENTITY gmime-buildsize     "28 MB (with tests)">
  <!ENTITY gmime-time          "0.5 SBU (with tests)">
]>

<sect1 id="gmime" xreflabel="GMime-&gmime-version;">
  <?dbhtml filename="gmime.html"?>

  <sect1info>
    <date>$Date$</date>
  </sect1info>

  <title>GMime-&gmime-version;</title>

  <indexterm zone="gmime">
    <primary sortas="a-GMime-2">GMime 2</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to GMime</title>

    <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>

    &lfs10_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gmime-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gmime-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gmime-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gmime-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gmime-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gmime-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">GMime Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="glib2"/> and
      <xref linkend="libgpg-error"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="gobject-introspection"/> and
      <xref linkend="vala"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="docbook-utils"/>,
      <xref linkend="gpgme"/>,
      <xref linkend="gtk-doc"/> and
      <ulink url="http://download.mono-project.com/sources/gtk-sharp/">Gtk#</ulink> (requires
      <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>)
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/gmime"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of GMime</title>

    <para>
      Install <application>GMime</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>

    <para>
      To test the results, issue: <command>make check</command>.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/static-libraries.xml"/>

    <para>
      <option>--enable-smime</option>: Use this switch if you have
      installed <xref linkend="gpgme"/> and wish to enable
      S/MIME support in <application>GMime</application>.
    </para>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/gtk-doc-rebuild.xml"/>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          None
        </seg>
        <seg>
          libgmime-2.6.so
        </seg>
        <seg>
          /usr/include/gmime-2.6 and
          /usr/share/gtk-doc/html/gmime-2.6
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="libgmime-2">
        <term><filename class="libraryfile">libgmime-2.6.so</filename></term>
        <listitem>
          <para>
            contains API functions used by programs that need to comply to
            the MIME standards.
          </para>
          <indexterm zone="gmime libgmime-2">
            <primary sortas="c-libgmime-2">libgmime-2.6.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>