[b358845] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY gpgme-download-http "&gnupg-http;/gpgme/gpgme-&gpgme-version;.tar.bz2">
|
---|
[d4e8cd93] | 8 | <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2">
|
---|
[14d673a2] | 9 | <!ENTITY gpgme-download-ftp " ">
|
---|
[de70936] | 10 | <!ENTITY gpgme-md5sum "3a83288e753a7da53a5626d29e4416fd">
|
---|
| 11 | <!ENTITY gpgme-size "1.8 MB">
|
---|
| 12 | <!ENTITY gpgme-buildsize "305 MB (with tests)">
|
---|
| 13 | <!ENTITY gpgme-time "1.7 SBU (with all bindings and tests; with parallelism=4)">
|
---|
[b358845] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
|
---|
| 17 | <?dbhtml filename="gpgme.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>GPGME-&gpgme-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="gpgme">
|
---|
| 23 | <primary sortas="a-GPGME">GPGME</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to GPGME</title>
|
---|
| 28 |
|
---|
[d6da5da] | 29 | <para>
|
---|
[200bab29] | 30 | The <application>GPGME</application> package is a C library
|
---|
[bbacc9a] | 31 | that allows cryptography support to be added to a
|
---|
[d6da5da] | 32 | program. It is designed to make access to public key crypto
|
---|
| 33 | engines like <application>GnuPG</application> or GpgSM easier
|
---|
| 34 | for applications. <application>GPGME</application> provides
|
---|
| 35 | a high-level crypto API for encryption, decryption, signing,
|
---|
| 36 | signature verification and key management.
|
---|
| 37 | </para>
|
---|
[b358845] | 38 |
|
---|
[fbd04125] | 39 | &lfs120_checked;
|
---|
[b358845] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[d6da5da] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
---|
| 46 | </para>
|
---|
[b358845] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[d6da5da] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[b358845] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[d6da5da] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &gpgme-md5sum;
|
---|
| 56 | </para>
|
---|
[b358845] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[d6da5da] | 59 | <para>
|
---|
| 60 | Download size: &gpgme-size;
|
---|
| 61 | </para>
|
---|
[b358845] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[d6da5da] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &gpgme-buildsize;
|
---|
| 66 | </para>
|
---|
[b358845] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[d6da5da] | 69 | <para>
|
---|
| 70 | Estimated build time: &gpgme-time;
|
---|
| 71 | </para>
|
---|
[b358845] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[e1d06c0] | 74 | <!--
|
---|
[367cbd0] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Recommended patch (required if SWIG is installed):
|
---|
| 80 | <ulink url="&patch-root;/gpgme-&gpgme-version;-gpg_error_1_46-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[e1d06c0] | 84 | -->
|
---|
[b358845] | 85 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d6da5da] | 88 | <para role="required">
|
---|
| 89 | <xref linkend="libassuan"/>
|
---|
| 90 | </para>
|
---|
[b358845] | 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[289d262f] | 93 | <para role="optional">
|
---|
[33690a1] | 94 | <xref linkend="doxygen"/> and
|
---|
[cd074c2] | 95 | <xref linkend="graphviz"/> (for API documentation),
|
---|
[33690a1] | 96 | <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
|
---|
[48771ae] | 97 | used during the test suite),
|
---|
[33690a1] | 98 | <xref linkend="clisp"/>,<!--
|
---|
| 99 | gpgme can still use python 2.7, but can use python3 as well,
|
---|
| 100 | so do not advertise python2
|
---|
| 101 | <xref linkend="python2"/>,-->
|
---|
[b3867c5] | 102 | &qt5-deps;, and/or
|
---|
[30d6b736] | 103 | <xref linkend="swig"/> (for language bindings)
|
---|
[d6da5da] | 104 | </para>
|
---|
[b358845] | 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of GPGME</title>
|
---|
| 110 |
|
---|
[d6da5da] | 111 | <para>
|
---|
| 112 | Install <application>GPGME</application> by running the following
|
---|
| 113 | commands:
|
---|
| 114 | </para>
|
---|
[b358845] | 115 |
|
---|
[14f0ab29] | 116 | <screen><userinput>./configure --prefix=/usr --disable-gpg-test &&
|
---|
[b358845] | 117 | make</userinput></screen>
|
---|
[150992ab] | 118 |
|
---|
[d6da5da] | 119 | <para>
|
---|
[14f0ab29] | 120 | To test the results, you should have <xref linkend="gnupg2"/> installed
|
---|
| 121 | and remove the <command>--disable-gpg-test</command> above. Issue:
|
---|
[786c586] | 122 | <command>make -k check</command>. One test, TestRemarks, is known to fail.
|
---|
[d6da5da] | 123 | </para>
|
---|
[b358845] | 124 |
|
---|
[d6da5da] | 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
[b358845] | 128 |
|
---|
| 129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
[f7ac7b2] | 132 |
|
---|
[14f0ab29] | 133 | <sect2 role="commands">
|
---|
| 134 | <title>Command Explanations</title>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | <parameter>--disable-gpg-test</parameter>: if this parameter is not
|
---|
| 138 | passed to configure, the test programs are built during
|
---|
| 139 | <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
|
---|
| 140 | This parameter is not needed if <xref linkend="gnupg2"/> is installed.
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
[b358845] | 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Program</segtitle>
|
---|
| 150 | <segtitle>Installed Libraries</segtitle>
|
---|
| 151 | <segtitle>Installed Directory</segtitle>
|
---|
| 152 |
|
---|
| 153 | <seglistitem>
|
---|
[d6da5da] | 154 | <seg>
|
---|
[b3285de] | 155 | gpgme-json, and gpgme-tool
|
---|
[d6da5da] | 156 | </seg>
|
---|
| 157 | <seg>
|
---|
[cd074c2] | 158 | libgpgme, libgpgmepp.so, and libqgpgme.so
|
---|
[d6da5da] | 159 | </seg>
|
---|
| 160 | <seg>
|
---|
[cd074c2] | 161 | /usr/include/{gpgme++,qgpgme,QGpgME},
|
---|
| 162 | /usr/lib/cmake/{Gpgmepp,QGpgme}.
|
---|
[894d7107] | 163 | /usr/lib/python&python2-majorver;/site-packages/gpg,
|
---|
| 164 | /usr/lib/python&python3-majorver;/site-packages/gpg-&gpgme-version;-py&python3-majorver;-linux-<arch>.egg, and
|
---|
[d6da5da] | 165 | /usr/share/common-lisp/source/gpgme
|
---|
| 166 | </seg>
|
---|
[b358845] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
[cd074c2] | 175 | <varlistentry id="gpgme-json">
|
---|
| 176 | <term><command>gpgme-json</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
[4c24eb0a] | 179 | outputs <application>GPGME</application> commands in JSON format
|
---|
[cd074c2] | 180 | </para>
|
---|
| 181 | <indexterm zone="gpgme gpgme-json">
|
---|
| 182 | <primary sortas="b-gpgme-json">gpgme-json</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
[150992ab] | 187 | <varlistentry id="gpgme-tool">
|
---|
| 188 | <term><command>gpgme-tool</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
[d5f6e8e] | 191 | is an assuan server exposing <application>GPGME</application>
|
---|
| 192 | operations, such as printing fingerprints and keyids with
|
---|
[4c24eb0a] | 193 | keyservers
|
---|
[150992ab] | 194 | </para>
|
---|
| 195 | <indexterm zone="gpgme gpgme-tool">
|
---|
| 196 | <primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[cd074c2] | 201 | <!-- As of 1.13.1, this library isn't present anymore.
|
---|
[b358845] | 202 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 203 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 204 | <listitem>
|
---|
[d6da5da] | 205 | <para>
|
---|
| 206 | contains the <application>GPGME</application> API functions for
|
---|
| 207 | applications using pthread.
|
---|
| 208 | </para>
|
---|
[b358845] | 209 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 210 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
[cd074c2] | 214 | -->
|
---|
[b358845] | 215 |
|
---|
| 216 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 217 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 218 | <listitem>
|
---|
[d6da5da] | 219 | <para>
|
---|
[4c24eb0a] | 220 | contains the <application>GPGME</application> API functions
|
---|
[d6da5da] | 221 | </para>
|
---|
[b358845] | 222 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 223 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
[48ad7d9] | 228 | <varlistentry id="libgpgmepp">
|
---|
| 229 | <term><filename class="libraryfile">libgpgmepp.so</filename></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
[4c24eb0a] | 232 | contains the C++ <application>GPGME</application> API functions
|
---|
[48ad7d9] | 233 | </para>
|
---|
| 234 | <indexterm zone="gpgme libgpgmepp">
|
---|
| 235 | <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
[cd074c2] | 240 | <varlistentry id="libqgpgme">
|
---|
| 241 | <term><filename class="libraryfile">libqgpgme.so</filename></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
| 244 | contains API functions for handling GPG operations in
|
---|
[4c24eb0a] | 245 | <application>Qt</application> applications
|
---|
[cd074c2] | 246 | </para>
|
---|
| 247 | <indexterm zone="gpgme libqgpgme">
|
---|
| 248 | <primary sortas="c-libqgpgme">libqgpgme.so</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
[b358845] | 253 | </variablelist>
|
---|
| 254 |
|
---|
| 255 | </sect2>
|
---|
| 256 |
|
---|
| 257 | </sect1>
|
---|