[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 " ">
|
---|
[55bad52] | 10 | <!ENTITY gpgme-md5sum "98f25a7e494d294c4b2c1a769113510e">
|
---|
[0a18d81] | 11 | <!ENTITY gpgme-size "1.7 MB">
|
---|
[55bad52] | 12 | <!ENTITY gpgme-buildsize "168 MB (Add 33 MB for tests)">
|
---|
| 13 | <!ENTITY gpgme-time "0.7 SBU (with all bindings, add 0.8 SBU for tests; all 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 |
|
---|
[b1c0fa7] | 39 | &lfs112_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>
|
---|
[150992ab] | 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>
|
---|
| 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"/>,-->
|
---|
[30d6b736] | 102 | <xref linkend="qt5"/>, and/or
|
---|
| 103 | <xref linkend="swig"/> (for language bindings)
|
---|
[d6da5da] | 104 | </para>
|
---|
[b358845] | 105 |
|
---|
| 106 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 107 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
| 108 | </para>
|
---|
[b358845] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of GPGME</title>
|
---|
| 113 |
|
---|
[22c07de] | 114 | <para>
|
---|
[0c73c5b6] | 115 | First, fix an issue building with Python &python3-majorver; installed:
|
---|
[22c07de] | 116 | </para>
|
---|
| 117 |
|
---|
[0c73c5b6] | 118 | <screen><userinput remap="pre">sed -e 's/3\.9/&python3-majorver;/' \
|
---|
[a171a54] | 119 | -e 's/:3/:4/' \
|
---|
[22c07de] | 120 | -i configure</userinput></screen>
|
---|
[32089e1] | 121 |
|
---|
[367cbd0] | 122 | <para>
|
---|
| 123 | Apply a patch to fix build failure with SWIG and libgpg-error-1.46
|
---|
| 124 | or later:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput remap="pre">patch -Np1 -i ../gpgme-&gpgme-version;-gpg_error_1_46-1.patch</userinput></screen>
|
---|
| 128 |
|
---|
[d6da5da] | 129 | <para>
|
---|
| 130 | Install <application>GPGME</application> by running the following
|
---|
| 131 | commands:
|
---|
| 132 | </para>
|
---|
[b358845] | 133 |
|
---|
[14f0ab29] | 134 | <screen><userinput>./configure --prefix=/usr --disable-gpg-test &&
|
---|
[b358845] | 135 | make</userinput></screen>
|
---|
[150992ab] | 136 |
|
---|
[d6da5da] | 137 | <para>
|
---|
[14f0ab29] | 138 | To test the results, you should have <xref linkend="gnupg2"/> installed
|
---|
| 139 | and remove the <command>--disable-gpg-test</command> above. Issue:
|
---|
[0b5fa18] | 140 | <command>make -k check</command>.
|
---|
[d6da5da] | 141 | </para>
|
---|
[b358845] | 142 |
|
---|
[d6da5da] | 143 | <para>
|
---|
| 144 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 145 | </para>
|
---|
[b358845] | 146 |
|
---|
| 147 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
[f7ac7b2] | 150 |
|
---|
[14f0ab29] | 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | <parameter>--disable-gpg-test</parameter>: if this parameter is not
|
---|
| 156 | passed to configure, the test programs are built during
|
---|
| 157 | <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
|
---|
| 158 | This parameter is not needed if <xref linkend="gnupg2"/> is installed.
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
[b358845] | 163 | <sect2 role="content">
|
---|
| 164 | <title>Contents</title>
|
---|
| 165 |
|
---|
| 166 | <segmentedlist>
|
---|
| 167 | <segtitle>Installed Program</segtitle>
|
---|
| 168 | <segtitle>Installed Libraries</segtitle>
|
---|
| 169 | <segtitle>Installed Directory</segtitle>
|
---|
| 170 |
|
---|
| 171 | <seglistitem>
|
---|
[d6da5da] | 172 | <seg>
|
---|
[b3285de] | 173 | gpgme-json, and gpgme-tool
|
---|
[d6da5da] | 174 | </seg>
|
---|
| 175 | <seg>
|
---|
[cd074c2] | 176 | libgpgme, libgpgmepp.so, and libqgpgme.so
|
---|
[d6da5da] | 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[cd074c2] | 179 | /usr/include/{gpgme++,qgpgme,QGpgME},
|
---|
| 180 | /usr/lib/cmake/{Gpgmepp,QGpgme}.
|
---|
[90691c23] | 181 | /usr/lib/python{2.7,3.9}/site-packages/gpg, and
|
---|
[d6da5da] | 182 | /usr/share/common-lisp/source/gpgme
|
---|
| 183 | </seg>
|
---|
[b358845] | 184 | </seglistitem>
|
---|
| 185 | </segmentedlist>
|
---|
| 186 |
|
---|
| 187 | <variablelist>
|
---|
| 188 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 189 | <?dbfo list-presentation="list"?>
|
---|
| 190 | <?dbhtml list-presentation="table"?>
|
---|
| 191 |
|
---|
[cd074c2] | 192 | <varlistentry id="gpgme-json">
|
---|
| 193 | <term><command>gpgme-json</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>
|
---|
[4c24eb0a] | 196 | outputs <application>GPGME</application> commands in JSON format
|
---|
[cd074c2] | 197 | </para>
|
---|
| 198 | <indexterm zone="gpgme gpgme-json">
|
---|
| 199 | <primary sortas="b-gpgme-json">gpgme-json</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
[150992ab] | 204 | <varlistentry id="gpgme-tool">
|
---|
| 205 | <term><command>gpgme-tool</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
[d5f6e8e] | 208 | is an assuan server exposing <application>GPGME</application>
|
---|
| 209 | operations, such as printing fingerprints and keyids with
|
---|
[4c24eb0a] | 210 | keyservers
|
---|
[150992ab] | 211 | </para>
|
---|
| 212 | <indexterm zone="gpgme gpgme-tool">
|
---|
| 213 | <primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
[cd074c2] | 218 | <!-- As of 1.13.1, this library isn't present anymore.
|
---|
[b358845] | 219 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 220 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 221 | <listitem>
|
---|
[d6da5da] | 222 | <para>
|
---|
| 223 | contains the <application>GPGME</application> API functions for
|
---|
| 224 | applications using pthread.
|
---|
| 225 | </para>
|
---|
[b358845] | 226 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 227 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
[cd074c2] | 231 | -->
|
---|
[b358845] | 232 |
|
---|
| 233 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 234 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 235 | <listitem>
|
---|
[d6da5da] | 236 | <para>
|
---|
[4c24eb0a] | 237 | contains the <application>GPGME</application> API functions
|
---|
[d6da5da] | 238 | </para>
|
---|
[b358845] | 239 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 240 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
[48ad7d9] | 245 | <varlistentry id="libgpgmepp">
|
---|
| 246 | <term><filename class="libraryfile">libgpgmepp.so</filename></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>
|
---|
[4c24eb0a] | 249 | contains the C++ <application>GPGME</application> API functions
|
---|
[48ad7d9] | 250 | </para>
|
---|
| 251 | <indexterm zone="gpgme libgpgmepp">
|
---|
| 252 | <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
[cd074c2] | 257 | <varlistentry id="libqgpgme">
|
---|
| 258 | <term><filename class="libraryfile">libqgpgme.so</filename></term>
|
---|
| 259 | <listitem>
|
---|
| 260 | <para>
|
---|
| 261 | contains API functions for handling GPG operations in
|
---|
[4c24eb0a] | 262 | <application>Qt</application> applications
|
---|
[cd074c2] | 263 | </para>
|
---|
| 264 | <indexterm zone="gpgme libqgpgme">
|
---|
| 265 | <primary sortas="c-libqgpgme">libqgpgme.so</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
[b358845] | 270 | </variablelist>
|
---|
| 271 |
|
---|
| 272 | </sect2>
|
---|
| 273 |
|
---|
| 274 | </sect1>
|
---|