[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">
|
---|
[14d673a2] | 8 | <!-- Something is wrong with ftp server and it confuses curl when currency runs it -->
|
---|
| 9 | <!-- <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2"> -->
|
---|
| 10 | <!ENTITY gpgme-download-ftp " ">
|
---|
[b13548d] | 11 | <!ENTITY gpgme-md5sum "78b1533c593478982ee2fc548260c563">
|
---|
[10dd522f] | 12 | <!ENTITY gpgme-size "1.3 MB">
|
---|
[b13548d] | 13 | <!ENTITY gpgme-buildsize "135 MB (with all bindings)">
|
---|
| 14 | <!ENTITY gpgme-time "0.4 SBU (with parallelism=4; with all bindings, add 0.2 SBU for tests)">
|
---|
[b358845] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
|
---|
| 18 | <?dbhtml filename="gpgme.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>GPGME-&gpgme-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="gpgme">
|
---|
| 28 | <primary sortas="a-GPGME">GPGME</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to GPGME</title>
|
---|
| 33 |
|
---|
[d6da5da] | 34 | <para>
|
---|
[200bab29] | 35 | The <application>GPGME</application> package is a C library
|
---|
[bbacc9a] | 36 | that allows cryptography support to be added to a
|
---|
[d6da5da] | 37 | program. It is designed to make access to public key crypto
|
---|
| 38 | engines like <application>GnuPG</application> or GpgSM easier
|
---|
| 39 | for applications. <application>GPGME</application> provides
|
---|
| 40 | a high-level crypto API for encryption, decryption, signing,
|
---|
| 41 | signature verification and key management.
|
---|
| 42 | </para>
|
---|
[b358845] | 43 |
|
---|
[14f0ab29] | 44 | &lfs82_checked;
|
---|
[b358845] | 45 |
|
---|
| 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
[d6da5da] | 49 | <para>
|
---|
| 50 | Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
---|
| 51 | </para>
|
---|
[b358845] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[d6da5da] | 54 | <para>
|
---|
| 55 | Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
---|
| 56 | </para>
|
---|
[b358845] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[d6da5da] | 59 | <para>
|
---|
| 60 | Download MD5 sum: &gpgme-md5sum;
|
---|
| 61 | </para>
|
---|
[b358845] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[d6da5da] | 64 | <para>
|
---|
| 65 | Download size: &gpgme-size;
|
---|
| 66 | </para>
|
---|
[b358845] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[d6da5da] | 69 | <para>
|
---|
| 70 | Estimated disk space required: &gpgme-buildsize;
|
---|
| 71 | </para>
|
---|
[b358845] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[d6da5da] | 74 | <para>
|
---|
| 75 | Estimated build time: &gpgme-time;
|
---|
| 76 | </para>
|
---|
[b358845] | 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
[150992ab] | 79 |
|
---|
[b358845] | 80 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d6da5da] | 83 | <para role="required">
|
---|
| 84 | <xref linkend="libassuan"/>
|
---|
| 85 | </para>
|
---|
[b358845] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[289d262f] | 88 | <para role="optional">
|
---|
[30d6b736] | 89 | <xref linkend="doxygen"/> (for API documentation),
|
---|
[356a7a9] | 90 | <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
|
---|
| 91 | used during the testsuite),
|
---|
[30d6b736] | 92 | <xref linkend="clisp"/>,
|
---|
| 93 | <xref linkend="python2"/>,
|
---|
| 94 | <xref linkend="qt5"/>, and/or
|
---|
| 95 | <xref linkend="swig"/> (for language bindings)
|
---|
[d6da5da] | 96 | </para>
|
---|
[b358845] | 97 |
|
---|
| 98 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 99 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
| 100 | </para>
|
---|
[b358845] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of GPGME</title>
|
---|
| 105 |
|
---|
[d6da5da] | 106 | <para>
|
---|
| 107 | Install <application>GPGME</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
[b358845] | 110 |
|
---|
[14f0ab29] | 111 | <screen><userinput>./configure --prefix=/usr --disable-gpg-test &&
|
---|
[b358845] | 112 | make</userinput></screen>
|
---|
[150992ab] | 113 |
|
---|
[d6da5da] | 114 | <para>
|
---|
[14f0ab29] | 115 | To test the results, you should have <xref linkend="gnupg2"/> installed
|
---|
| 116 | and remove the <command>--disable-gpg-test</command> above. Issue:
|
---|
| 117 | <command>make check</command>.
|
---|
[d6da5da] | 118 | </para>
|
---|
[b358845] | 119 |
|
---|
[d6da5da] | 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
[b358845] | 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
[f7ac7b2] | 127 |
|
---|
[14f0ab29] | 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | <parameter>--disable-gpg-test</parameter>: if this parameter is not
|
---|
| 133 | passed to configure, the test programs are built during
|
---|
| 134 | <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
|
---|
| 135 | This parameter is not needed if <xref linkend="gnupg2"/> is installed.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
[b358845] | 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Program</segtitle>
|
---|
| 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directory</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
[d6da5da] | 149 | <seg>
|
---|
[150992ab] | 150 | gpgme-config and gpgme-tool
|
---|
[d6da5da] | 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | libgpgme-pthread.so and libgpgme.so
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | /usr/share/common-lisp/source/gpgme
|
---|
| 157 | </seg>
|
---|
[b358845] | 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
[385b822] | 166 | <varlistentry id="gpgme-config">
|
---|
| 167 | <term><command>gpgme-config</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | is used to obtain <application>GPGME</application> compilation and
|
---|
| 171 | linking information.
|
---|
| 172 | </para>
|
---|
| 173 | <indexterm zone="gpgme gpgme-config">
|
---|
| 174 | <primary sortas="b-gpgme-config">gpgme-config</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
[150992ab] | 179 | <varlistentry id="gpgme-tool">
|
---|
| 180 | <term><command>gpgme-tool</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>
|
---|
| 183 | prints fingerprint and keyid with keyservers.
|
---|
| 184 | </para>
|
---|
| 185 | <indexterm zone="gpgme gpgme-tool">
|
---|
| 186 | <primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
[b358845] | 191 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 192 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 193 | <listitem>
|
---|
[d6da5da] | 194 | <para>
|
---|
| 195 | contains the <application>GPGME</application> API functions for
|
---|
| 196 | applications using pthread.
|
---|
| 197 | </para>
|
---|
[b358845] | 198 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 199 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 205 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 206 | <listitem>
|
---|
[d6da5da] | 207 | <para>
|
---|
| 208 | contains the <application>GPGME</application> API functions.
|
---|
| 209 | </para>
|
---|
[b358845] | 210 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 211 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | </variablelist>
|
---|
| 217 |
|
---|
| 218 | </sect2>
|
---|
| 219 |
|
---|
| 220 | </sect1>
|
---|