[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 " ">
|
---|
[34c29696] | 10 | <!ENTITY gpgme-md5sum "e31b9e0efc5a2e1ec1bbed22e7a082a4">
|
---|
[8d97143c] | 11 | <!ENTITY gpgme-size "1.6 MB">
|
---|
[34c29696] | 12 | <!ENTITY gpgme-buildsize "222 MB">
|
---|
| 13 | <!ENTITY gpgme-time "0.8 SBU (with parallelism=4; with all bindings, add 0.7 SBU for tests)">
|
---|
[b358845] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
|
---|
| 17 | <?dbhtml filename="gpgme.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GPGME-&gpgme-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gpgme">
|
---|
| 26 | <primary sortas="a-GPGME">GPGME</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GPGME</title>
|
---|
| 31 |
|
---|
[d6da5da] | 32 | <para>
|
---|
[200bab29] | 33 | The <application>GPGME</application> package is a C library
|
---|
[bbacc9a] | 34 | that allows cryptography support to be added to a
|
---|
[d6da5da] | 35 | program. It is designed to make access to public key crypto
|
---|
| 36 | engines like <application>GnuPG</application> or GpgSM easier
|
---|
| 37 | for applications. <application>GPGME</application> provides
|
---|
| 38 | a high-level crypto API for encryption, decryption, signing,
|
---|
| 39 | signature verification and key management.
|
---|
| 40 | </para>
|
---|
[b358845] | 41 |
|
---|
[5841c65] | 42 | &lfs110_checked;
|
---|
[b358845] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[d6da5da] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
---|
| 49 | </para>
|
---|
[b358845] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[d6da5da] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[b358845] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[d6da5da] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gpgme-md5sum;
|
---|
| 59 | </para>
|
---|
[b358845] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[d6da5da] | 62 | <para>
|
---|
| 63 | Download size: &gpgme-size;
|
---|
| 64 | </para>
|
---|
[b358845] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[d6da5da] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gpgme-buildsize;
|
---|
| 69 | </para>
|
---|
[b358845] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[d6da5da] | 72 | <para>
|
---|
| 73 | Estimated build time: &gpgme-time;
|
---|
| 74 | </para>
|
---|
[b358845] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
[150992ab] | 77 |
|
---|
[b358845] | 78 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d6da5da] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="libassuan"/>
|
---|
| 83 | </para>
|
---|
[b358845] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[289d262f] | 86 | <para role="optional">
|
---|
[33690a1] | 87 | <xref linkend="doxygen"/> and
|
---|
[cd074c2] | 88 | <xref linkend="graphviz"/> (for API documentation),
|
---|
[33690a1] | 89 | <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
|
---|
[356a7a9] | 90 | used during the testsuite),
|
---|
[33690a1] | 91 | <xref linkend="clisp"/>,<!--
|
---|
| 92 | gpgme can still use python 2.7, but can use python3 as well,
|
---|
| 93 | so do not advertise python2
|
---|
| 94 | <xref linkend="python2"/>,-->
|
---|
[30d6b736] | 95 | <xref linkend="qt5"/>, and/or
|
---|
| 96 | <xref linkend="swig"/> (for language bindings)
|
---|
[d6da5da] | 97 | </para>
|
---|
[b358845] | 98 |
|
---|
| 99 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 100 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
| 101 | </para>
|
---|
[b358845] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of GPGME</title>
|
---|
| 106 |
|
---|
[32089e1] | 107 | <para>
|
---|
| 108 | At first, fix an issue building the package with Glibc-2.34 or later:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput>sed 's/defined(__sun.*$/1/' -i src/posix-io.c</userinput></screen>
|
---|
| 112 |
|
---|
[d6da5da] | 113 | <para>
|
---|
| 114 | Install <application>GPGME</application> by running the following
|
---|
| 115 | commands:
|
---|
| 116 | </para>
|
---|
[b358845] | 117 |
|
---|
[14f0ab29] | 118 | <screen><userinput>./configure --prefix=/usr --disable-gpg-test &&
|
---|
[b358845] | 119 | make</userinput></screen>
|
---|
[150992ab] | 120 |
|
---|
[d6da5da] | 121 | <para>
|
---|
[14f0ab29] | 122 | To test the results, you should have <xref linkend="gnupg2"/> installed
|
---|
| 123 | and remove the <command>--disable-gpg-test</command> above. Issue:
|
---|
[0b5fa18] | 124 | <command>make -k check</command>.
|
---|
[d6da5da] | 125 | </para>
|
---|
[b358845] | 126 |
|
---|
[d6da5da] | 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
[b358845] | 130 |
|
---|
| 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
[f7ac7b2] | 134 |
|
---|
[14f0ab29] | 135 | <sect2 role="commands">
|
---|
| 136 | <title>Command Explanations</title>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | <parameter>--disable-gpg-test</parameter>: if this parameter is not
|
---|
| 140 | passed to configure, the test programs are built during
|
---|
| 141 | <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
|
---|
| 142 | This parameter is not needed if <xref linkend="gnupg2"/> is installed.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
[b358845] | 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
| 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Program</segtitle>
|
---|
| 152 | <segtitle>Installed Libraries</segtitle>
|
---|
| 153 | <segtitle>Installed Directory</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
[d6da5da] | 156 | <seg>
|
---|
[cd074c2] | 157 | gpgme-config, gpgme-json, and gpgme-tool
|
---|
[d6da5da] | 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[cd074c2] | 160 | libgpgme, libgpgmepp.so, and libqgpgme.so
|
---|
[d6da5da] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[cd074c2] | 163 | /usr/include/{gpgme++,qgpgme,QGpgME},
|
---|
| 164 | /usr/lib/cmake/{Gpgmepp,QGpgme}.
|
---|
[90691c23] | 165 | /usr/lib/python{2.7,3.9}/site-packages/gpg, and
|
---|
[d6da5da] | 166 | /usr/share/common-lisp/source/gpgme
|
---|
| 167 | </seg>
|
---|
[b358845] | 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
[385b822] | 176 | <varlistentry id="gpgme-config">
|
---|
| 177 | <term><command>gpgme-config</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
| 180 | is used to obtain <application>GPGME</application> compilation and
|
---|
[4c24eb0a] | 181 | linking information
|
---|
[385b822] | 182 | </para>
|
---|
| 183 | <indexterm zone="gpgme gpgme-config">
|
---|
| 184 | <primary sortas="b-gpgme-config">gpgme-config</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
[cd074c2] | 189 | <varlistentry id="gpgme-json">
|
---|
| 190 | <term><command>gpgme-json</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>
|
---|
[4c24eb0a] | 193 | outputs <application>GPGME</application> commands in JSON format
|
---|
[cd074c2] | 194 | </para>
|
---|
| 195 | <indexterm zone="gpgme gpgme-json">
|
---|
| 196 | <primary sortas="b-gpgme-json">gpgme-json</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[150992ab] | 201 | <varlistentry id="gpgme-tool">
|
---|
| 202 | <term><command>gpgme-tool</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>
|
---|
[d5f6e8e] | 205 | is an assuan server exposing <application>GPGME</application>
|
---|
| 206 | operations, such as printing fingerprints and keyids with
|
---|
[4c24eb0a] | 207 | keyservers
|
---|
[150992ab] | 208 | </para>
|
---|
| 209 | <indexterm zone="gpgme gpgme-tool">
|
---|
| 210 | <primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[cd074c2] | 215 | <!-- As of 1.13.1, this library isn't present anymore.
|
---|
[b358845] | 216 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 217 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 218 | <listitem>
|
---|
[d6da5da] | 219 | <para>
|
---|
| 220 | contains the <application>GPGME</application> API functions for
|
---|
| 221 | applications using pthread.
|
---|
| 222 | </para>
|
---|
[b358845] | 223 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 224 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[cd074c2] | 228 | -->
|
---|
[b358845] | 229 |
|
---|
| 230 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 231 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 232 | <listitem>
|
---|
[d6da5da] | 233 | <para>
|
---|
[4c24eb0a] | 234 | contains the <application>GPGME</application> API functions
|
---|
[d6da5da] | 235 | </para>
|
---|
[b358845] | 236 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 237 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[48ad7d9] | 242 | <varlistentry id="libgpgmepp">
|
---|
| 243 | <term><filename class="libraryfile">libgpgmepp.so</filename></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
[4c24eb0a] | 246 | contains the C++ <application>GPGME</application> API functions
|
---|
[48ad7d9] | 247 | </para>
|
---|
| 248 | <indexterm zone="gpgme libgpgmepp">
|
---|
| 249 | <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
[cd074c2] | 254 | <varlistentry id="libqgpgme">
|
---|
| 255 | <term><filename class="libraryfile">libqgpgme.so</filename></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>
|
---|
| 258 | contains API functions for handling GPG operations in
|
---|
[4c24eb0a] | 259 | <application>Qt</application> applications
|
---|
[cd074c2] | 260 | </para>
|
---|
| 261 | <indexterm zone="gpgme libqgpgme">
|
---|
| 262 | <primary sortas="c-libqgpgme">libqgpgme.so</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
[b358845] | 267 | </variablelist>
|
---|
| 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | </sect1>
|
---|