2010-08-29 14:03:39 +08:00
|
|
|
<?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;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY gpgme-download-http "&gnupg-http;/gpgme/gpgme-&gpgme-version;.tar.bz2">
|
2019-04-04 02:41:52 +08:00
|
|
|
<!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2">
|
2017-11-25 18:02:34 +08:00
|
|
|
<!ENTITY gpgme-download-ftp " ">
|
2023-04-02 10:07:06 +08:00
|
|
|
<!ENTITY gpgme-md5sum "d44f7f6f0c9848d907fb6c6512b15b8c">
|
2022-02-09 08:47:33 +08:00
|
|
|
<!ENTITY gpgme-size "1.7 MB">
|
2023-04-02 10:07:06 +08:00
|
|
|
<!ENTITY gpgme-buildsize "189 MB (Add 32 MB for tests)">
|
|
|
|
<!ENTITY gpgme-time "0.6 SBU (with all bindings, add 0.8 SBU for tests; both with parallelism=4)">
|
2010-08-29 14:03:39 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
|
|
|
|
<?dbhtml filename="gpgme.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>GPGME-&gpgme-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gpgme">
|
|
|
|
<primary sortas="a-GPGME">GPGME</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GPGME</title>
|
|
|
|
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
2015-04-17 06:06:23 +08:00
|
|
|
The <application>GPGME</application> package is a C library
|
2015-08-28 06:33:20 +08:00
|
|
|
that allows cryptography support to be added to a
|
2013-03-16 20:11:58 +08:00
|
|
|
program. It is designed to make access to public key crypto
|
|
|
|
engines like <application>GnuPG</application> or GpgSM easier
|
|
|
|
for applications. <application>GPGME</application> provides
|
|
|
|
a high-level crypto API for encryption, decryption, signing,
|
|
|
|
signature verification and key management.
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
2023-02-19 07:26:57 +08:00
|
|
|
&lfs113_checked;
|
2010-08-29 14:03:39 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gpgme-md5sum;
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gpgme-size;
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gpgme-buildsize;
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gpgme-time;
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2014-11-26 01:31:49 +08:00
|
|
|
|
2022-10-28 16:20:07 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Recommended patch (required if SWIG is installed):
|
|
|
|
<ulink url="&patch-root;/gpgme-&gpgme-version;-gpg_error_1_46-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2010-08-29 14:03:39 +08:00
|
|
|
<bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="libassuan"/>
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2011-12-07 12:37:13 +08:00
|
|
|
<para role="optional">
|
2021-03-03 16:48:29 +08:00
|
|
|
<xref linkend="doxygen"/> and
|
2019-06-22 06:33:52 +08:00
|
|
|
<xref linkend="graphviz"/> (for API documentation),
|
2021-03-03 16:48:29 +08:00
|
|
|
<xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
|
2022-12-14 02:19:29 +08:00
|
|
|
used during the test suite),
|
2021-03-03 16:48:29 +08:00
|
|
|
<xref linkend="clisp"/>,<!--
|
|
|
|
gpgme can still use python 2.7, but can use python3 as well,
|
|
|
|
so do not advertise python2
|
|
|
|
<xref linkend="python2"/>,-->
|
2016-09-24 02:40:08 +08:00
|
|
|
<xref linkend="qt5"/>, and/or
|
|
|
|
<xref linkend="swig"/> (for language bindings)
|
2013-03-16 20:11:58 +08:00
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2013-03-16 20:11:58 +08:00
|
|
|
<ulink url="&blfs-wiki;/gpgme"/>
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GPGME</title>
|
|
|
|
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GPGME</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
2018-02-19 22:03:44 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-gpg-test &&
|
2010-08-29 14:03:39 +08:00
|
|
|
make</userinput></screen>
|
2014-11-26 01:31:49 +08:00
|
|
|
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
2018-02-19 22:03:44 +08:00
|
|
|
To test the results, you should have <xref linkend="gnupg2"/> installed
|
|
|
|
and remove the <command>--disable-gpg-test</command> above. Issue:
|
2023-04-02 10:07:06 +08:00
|
|
|
<command>make -k check</command>. One test, TestRemarks. is known to fail.
|
2013-03-16 20:11:58 +08:00
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2013-08-17 22:29:55 +08:00
|
|
|
|
2018-02-19 22:03:44 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--disable-gpg-test</parameter>: if this parameter is not
|
|
|
|
passed to configure, the test programs are built during
|
|
|
|
<command>make</command> stage, which requires <xref linkend="gnupg2"/>.
|
|
|
|
This parameter is not needed if <xref linkend="gnupg2"/> is installed.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2010-08-29 14:03:39 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<seg>
|
2022-10-28 16:27:19 +08:00
|
|
|
gpgme-json, and gpgme-tool
|
2013-03-16 20:11:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2019-06-22 06:33:52 +08:00
|
|
|
libgpgme, libgpgmepp.so, and libqgpgme.so
|
2013-03-16 20:11:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2019-06-22 06:33:52 +08:00
|
|
|
/usr/include/{gpgme++,qgpgme,QGpgME},
|
|
|
|
/usr/lib/cmake/{Gpgmepp,QGpgme}.
|
2020-11-13 23:49:30 +08:00
|
|
|
/usr/lib/python{2.7,3.9}/site-packages/gpg, and
|
2013-03-16 20:11:58 +08:00
|
|
|
/usr/share/common-lisp/source/gpgme
|
|
|
|
</seg>
|
2010-08-29 14:03:39 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2019-06-22 06:33:52 +08:00
|
|
|
<varlistentry id="gpgme-json">
|
|
|
|
<term><command>gpgme-json</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
outputs <application>GPGME</application> commands in JSON format
|
2019-06-22 06:33:52 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gpgme gpgme-json">
|
|
|
|
<primary sortas="b-gpgme-json">gpgme-json</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2014-11-26 01:31:49 +08:00
|
|
|
<varlistentry id="gpgme-tool">
|
|
|
|
<term><command>gpgme-tool</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-01-12 09:58:11 +08:00
|
|
|
is an assuan server exposing <application>GPGME</application>
|
|
|
|
operations, such as printing fingerprints and keyids with
|
2021-02-19 23:20:16 +08:00
|
|
|
keyservers
|
2014-11-26 01:31:49 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gpgme gpgme-tool">
|
|
|
|
<primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2019-06-22 06:33:52 +08:00
|
|
|
<!-- As of 1.13.1, this library isn't present anymore.
|
2010-08-29 14:03:39 +08:00
|
|
|
<varlistentry id="libgpgme-pthread">
|
2013-03-16 20:11:58 +08:00
|
|
|
<term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
2010-08-29 14:03:39 +08:00
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
|
|
|
contains the <application>GPGME</application> API functions for
|
|
|
|
applications using pthread.
|
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
<indexterm zone="gpgme libgpgme-pthread">
|
2013-03-16 20:11:58 +08:00
|
|
|
<primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
2010-08-29 14:03:39 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2019-06-22 06:33:52 +08:00
|
|
|
-->
|
2010-08-29 14:03:39 +08:00
|
|
|
|
|
|
|
<varlistentry id="libgpgme">
|
2013-03-16 20:11:58 +08:00
|
|
|
<term><filename class="libraryfile">libgpgme.so</filename></term>
|
2010-08-29 14:03:39 +08:00
|
|
|
<listitem>
|
2013-03-16 20:11:58 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
contains the <application>GPGME</application> API functions
|
2013-03-16 20:11:58 +08:00
|
|
|
</para>
|
2010-08-29 14:03:39 +08:00
|
|
|
<indexterm zone="gpgme libgpgme">
|
2013-03-16 20:11:58 +08:00
|
|
|
<primary sortas="c-libgpgme">libgpgme.so</primary>
|
2010-08-29 14:03:39 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2019-05-07 11:19:44 +08:00
|
|
|
<varlistentry id="libgpgmepp">
|
|
|
|
<term><filename class="libraryfile">libgpgmepp.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
contains the C++ <application>GPGME</application> API functions
|
2019-05-07 11:19:44 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gpgme libgpgmepp">
|
|
|
|
<primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2019-06-22 06:33:52 +08:00
|
|
|
<varlistentry id="libqgpgme">
|
|
|
|
<term><filename class="libraryfile">libqgpgme.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains API functions for handling GPG operations in
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>Qt</application> applications
|
2019-06-22 06:33:52 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gpgme libqgpgme">
|
|
|
|
<primary sortas="c-libqgpgme">libqgpgme.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-08-29 14:03:39 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|