source: postlfs/security/gpgme.xml@ c241762

11.2 11.3 12.0 12.1 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/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since c241762 was c241762, checked in by Pierre Labastie <pierre.labastie@…>, 21 months ago

gpgme: remove a useless sed part

Starting with python-3.10.6, no warning is issued if
"import distutils" is used in a python script. So the
corresponding sed can be removed. It was wrong anyway for
gpgme-1.18.0, because the line number had changed.

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