source: postlfs/security/gpgme.xml@ 3947fa9

11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 3947fa9 was b3285de, checked in by Xi Ruoyao <xry111@…>, 2 years ago

libgpg-error and gpgme: remove {gpg-error,gpgme}-config from contents

libgpg-error stop to provide gpg-error-config in 1.46. And, if gpgme is
built with libgpg-error-1.46, it won't ship gpgme-config as well.

  • 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 <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
32 <para>
33 The <application>GPGME</application> package is a C library
34 that allows cryptography support to be added to a
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>
41
42 &lfs112_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&gpgme-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &gpgme-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &gpgme-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &gpgme-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &gpgme-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>
82 Recommended patch (required if SWIG is installed):
83 <ulink url="&patch-root;/gpgme-&gpgme-version;-gpg_error_1_46-1.patch"/>
84 </para>
85 </listitem>
86 </itemizedlist>
87
88 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
89
90 <bridgehead renderas="sect4">Required</bridgehead>
91 <para role="required">
92 <xref linkend="libassuan"/>
93 </para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional">
97 <xref linkend="doxygen"/> and
98 <xref linkend="graphviz"/> (for API documentation),
99 <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
100 used during the testsuite),
101 <xref linkend="clisp"/>,<!--
102gpgme can still use python 2.7, but can use python3 as well,
103so do not advertise python2
104 <xref linkend="python2"/>,-->
105 <xref linkend="qt5"/>, and/or
106 <xref linkend="swig"/> (for language bindings)
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/gpgme"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of GPGME</title>
116
117 <para>
118 First, fix an issue building with Python &python3-majorver; installed:
119 </para>
120
121<screen><userinput remap="pre">sed -e 's/3\.9/&python3-majorver;/' \
122 -e 's/:3/:4/' \
123 -i configure</userinput></screen>
124
125 <para>
126 Apply a patch to fix build failure with SWIG and libgpg-error-1.46
127 or later:
128 </para>
129
130<screen><userinput remap="pre">patch -Np1 -i ../gpgme-&gpgme-version;-gpg_error_1_46-1.patch</userinput></screen>
131
132 <para>
133 Install <application>GPGME</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 To test the results, you should have <xref linkend="gnupg2"/> installed
142 and remove the <command>--disable-gpg-test</command> above. Issue:
143 <command>make -k check</command>.
144 </para>
145
146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>make install</userinput></screen>
151
152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
157 <para>
158 <parameter>--disable-gpg-test</parameter>: if this parameter is not
159 passed to configure, the test programs are built during
160 <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
161 This parameter is not needed if <xref linkend="gnupg2"/> is installed.
162 </para>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Program</segtitle>
171 <segtitle>Installed Libraries</segtitle>
172 <segtitle>Installed Directory</segtitle>
173
174 <seglistitem>
175 <seg>
176 gpgme-json, and gpgme-tool
177 </seg>
178 <seg>
179 libgpgme, libgpgmepp.so, and libqgpgme.so
180 </seg>
181 <seg>
182 /usr/include/{gpgme++,qgpgme,QGpgME},
183 /usr/lib/cmake/{Gpgmepp,QGpgme}.
184 /usr/lib/python{2.7,3.9}/site-packages/gpg, and
185 /usr/share/common-lisp/source/gpgme
186 </seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="gpgme-json">
196 <term><command>gpgme-json</command></term>
197 <listitem>
198 <para>
199 outputs <application>GPGME</application> commands in JSON format
200 </para>
201 <indexterm zone="gpgme gpgme-json">
202 <primary sortas="b-gpgme-json">gpgme-json</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="gpgme-tool">
208 <term><command>gpgme-tool</command></term>
209 <listitem>
210 <para>
211 is an assuan server exposing <application>GPGME</application>
212 operations, such as printing fingerprints and keyids with
213 keyservers
214 </para>
215 <indexterm zone="gpgme gpgme-tool">
216 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <!-- As of 1.13.1, this library isn't present anymore.
222 <varlistentry id="libgpgme-pthread">
223 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
224 <listitem>
225 <para>
226 contains the <application>GPGME</application> API functions for
227 applications using pthread.
228 </para>
229 <indexterm zone="gpgme libgpgme-pthread">
230 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234 -->
235
236 <varlistentry id="libgpgme">
237 <term><filename class="libraryfile">libgpgme.so</filename></term>
238 <listitem>
239 <para>
240 contains the <application>GPGME</application> API functions
241 </para>
242 <indexterm zone="gpgme libgpgme">
243 <primary sortas="c-libgpgme">libgpgme.so</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="libgpgmepp">
249 <term><filename class="libraryfile">libgpgmepp.so</filename></term>
250 <listitem>
251 <para>
252 contains the C++ <application>GPGME</application> API functions
253 </para>
254 <indexterm zone="gpgme libgpgmepp">
255 <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="libqgpgme">
261 <term><filename class="libraryfile">libqgpgme.so</filename></term>
262 <listitem>
263 <para>
264 contains API functions for handling GPG operations in
265 <application>Qt</application> applications
266 </para>
267 <indexterm zone="gpgme libqgpgme">
268 <primary sortas="c-libqgpgme">libqgpgme.so</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 </variablelist>
274
275 </sect2>
276
277</sect1>
Note: See TracBrowser for help on using the repository browser.