source: postlfs/security/gpgme.xml@ 74b918b

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 74b918b was 74b918b, checked in by Douglas R. Reno <renodr@…>, 14 months ago

Update to WebKitGTK+-2.38.5 (Security Update) and tag Epiphany+Deps

  • Property mode set to 100644
File size: 8.5 KB
Line 
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
7 <!ENTITY gpgme-download-http "&gnupg-http;/gpgme/gpgme-&gpgme-version;.tar.bz2">
8 <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2">
9 <!ENTITY gpgme-download-ftp " ">
10 <!ENTITY gpgme-md5sum "98f25a7e494d294c4b2c1a769113510e">
11 <!ENTITY gpgme-size "1.7 MB">
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)">
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
29 <para>
30 The <application>GPGME</application> package is a C library
31 that allows cryptography support to be added to a
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>
38
39 &lfs113_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&gpgme-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &gpgme-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &gpgme-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &gpgme-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &gpgme-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
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
85 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="libassuan"/>
90 </para>
91
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <xref linkend="doxygen"/> and
95 <xref linkend="graphviz"/> (for API documentation),
96 <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
97 used during the test suite),
98 <xref linkend="clisp"/>,<!--
99gpgme can still use python 2.7, but can use python3 as well,
100so do not advertise python2
101 <xref linkend="python2"/>,-->
102 <xref linkend="qt5"/>, and/or
103 <xref linkend="swig"/> (for language bindings)
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/gpgme"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of GPGME</title>
113
114 <para>
115 First, fix an issue building with Python &python3-majorver; installed:
116 </para>
117
118<screen><userinput remap="pre">sed -e 's/3\.9/&python3-majorver;/' \
119 -e 's/:3/:4/' \
120 -i configure</userinput></screen>
121
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
129 <para>
130 Install <application>GPGME</application> by running the following
131 commands:
132 </para>
133
134<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
135make</userinput></screen>
136
137 <para>
138 To test the results, you should have <xref linkend="gnupg2"/> installed
139 and remove the <command>--disable-gpg-test</command> above. Issue:
140 <command>make -k check</command>.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
149 </sect2>
150
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
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>
172 <seg>
173 gpgme-json, and gpgme-tool
174 </seg>
175 <seg>
176 libgpgme, libgpgmepp.so, and libqgpgme.so
177 </seg>
178 <seg>
179 /usr/include/{gpgme++,qgpgme,QGpgME},
180 /usr/lib/cmake/{Gpgmepp,QGpgme}.
181 /usr/lib/python{2.7,3.9}/site-packages/gpg, and
182 /usr/share/common-lisp/source/gpgme
183 </seg>
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
192 <varlistentry id="gpgme-json">
193 <term><command>gpgme-json</command></term>
194 <listitem>
195 <para>
196 outputs <application>GPGME</application> commands in JSON format
197 </para>
198 <indexterm zone="gpgme gpgme-json">
199 <primary sortas="b-gpgme-json">gpgme-json</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="gpgme-tool">
205 <term><command>gpgme-tool</command></term>
206 <listitem>
207 <para>
208 is an assuan server exposing <application>GPGME</application>
209 operations, such as printing fingerprints and keyids with
210 keyservers
211 </para>
212 <indexterm zone="gpgme gpgme-tool">
213 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <!-- As of 1.13.1, this library isn't present anymore.
219 <varlistentry id="libgpgme-pthread">
220 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
221 <listitem>
222 <para>
223 contains the <application>GPGME</application> API functions for
224 applications using pthread.
225 </para>
226 <indexterm zone="gpgme libgpgme-pthread">
227 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231 -->
232
233 <varlistentry id="libgpgme">
234 <term><filename class="libraryfile">libgpgme.so</filename></term>
235 <listitem>
236 <para>
237 contains the <application>GPGME</application> API functions
238 </para>
239 <indexterm zone="gpgme libgpgme">
240 <primary sortas="c-libgpgme">libgpgme.so</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="libgpgmepp">
246 <term><filename class="libraryfile">libgpgmepp.so</filename></term>
247 <listitem>
248 <para>
249 contains the C++ <application>GPGME</application> API functions
250 </para>
251 <indexterm zone="gpgme libgpgmepp">
252 <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
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
262 <application>Qt</application> applications
263 </para>
264 <indexterm zone="gpgme libqgpgme">
265 <primary sortas="c-libqgpgme">libqgpgme.so</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 </variablelist>
271
272 </sect2>
273
274</sect1>
Note: See TracBrowser for help on using the repository browser.