source: postlfs/security/gpgme.xml@ 0b5fa18

10.0 10.1 11.0 11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0b5fa18 was 0b5fa18, checked in by Xi Ruoyao <xry111@…>, 4 years ago

gpgme: t-json known to fail

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23189 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.1 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 "198f0a908ec3cd8f0ce9a4f3a4489645">
11 <!ENTITY gpgme-size "1.7 MB">
12 <!ENTITY gpgme-buildsize "232 MB (with all bindings)">
13 <!ENTITY gpgme-time "0.7 SBU (with parallelism=4; with all bindings, add 0.5 SBU for tests)">
14]>
15
16<sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
17 <?dbhtml filename="gpgme.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>GPGME-&gpgme-version;</title>
25
26 <indexterm zone="gpgme">
27 <primary sortas="a-GPGME">GPGME</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to GPGME</title>
32
33 <para>
34 The <application>GPGME</application> package is a C library
35 that allows cryptography support to be added to a
36 program. It is designed to make access to public key crypto
37 engines like <application>GnuPG</application> or GpgSM easier
38 for applications. <application>GPGME</application> provides
39 a high-level crypto API for encryption, decryption, signing,
40 signature verification and key management.
41 </para>
42
43 &lfs91_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&gpgme-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &gpgme-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &gpgme-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &gpgme-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &gpgme-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="libassuan"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/> and
89 <xref linkend="graphviz"/> (for API documentation),
90 <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
91 used during the testsuite),
92 <xref linkend="clisp"/>,
93 <xref linkend="python2"/>,
94 <xref linkend="qt5"/>, and/or
95 <xref linkend="swig"/> (for language bindings)
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/gpgme"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of GPGME</title>
105
106 <para>
107 Install <application>GPGME</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
112make</userinput></screen>
113
114 <para>
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 -k check</command>.
118 <!-- https://dev.gnupg.org/T4820, would be fixed in next release -->
119 One test named t-json is known to fail.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>--disable-gpg-test</parameter>: if this parameter is not
135 passed to configure, the test programs are built during
136 <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
137 This parameter is not needed if <xref linkend="gnupg2"/> is installed.
138 </para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directory</segtitle>
149
150 <seglistitem>
151 <seg>
152 gpgme-config, gpgme-json, and gpgme-tool
153 </seg>
154 <seg>
155 libgpgme, libgpgmepp.so, and libqgpgme.so
156 </seg>
157 <seg>
158 /usr/include/{gpgme++,qgpgme,QGpgME},
159 /usr/lib/cmake/{Gpgmepp,QGpgme}.
160 /usr/lib/python{2.7,3.7}/site-packages/gpg, and
161 /usr/share/common-lisp/source/gpgme
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="gpgme-config">
172 <term><command>gpgme-config</command></term>
173 <listitem>
174 <para>
175 is used to obtain <application>GPGME</application> compilation and
176 linking information.
177 </para>
178 <indexterm zone="gpgme gpgme-config">
179 <primary sortas="b-gpgme-config">gpgme-config</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="gpgme-json">
185 <term><command>gpgme-json</command></term>
186 <listitem>
187 <para>
188 outputs <application>GPGME</application> commands in JSON format.
189 </para>
190 <indexterm zone="gpgme gpgme-json">
191 <primary sortas="b-gpgme-json">gpgme-json</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="gpgme-tool">
197 <term><command>gpgme-tool</command></term>
198 <listitem>
199 <para>
200 prints fingerprint and keyid with keyservers.
201 </para>
202 <indexterm zone="gpgme gpgme-tool">
203 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <!-- As of 1.13.1, this library isn't present anymore.
209 <varlistentry id="libgpgme-pthread">
210 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
211 <listitem>
212 <para>
213 contains the <application>GPGME</application> API functions for
214 applications using pthread.
215 </para>
216 <indexterm zone="gpgme libgpgme-pthread">
217 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221 -->
222
223 <varlistentry id="libgpgme">
224 <term><filename class="libraryfile">libgpgme.so</filename></term>
225 <listitem>
226 <para>
227 contains the <application>GPGME</application> API functions.
228 </para>
229 <indexterm zone="gpgme libgpgme">
230 <primary sortas="c-libgpgme">libgpgme.so</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="libgpgmepp">
236 <term><filename class="libraryfile">libgpgmepp.so</filename></term>
237 <listitem>
238 <para>
239 contains the C++ <application>GPGME</application> API functions.
240 </para>
241 <indexterm zone="gpgme libgpgmepp">
242 <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="libqgpgme">
248 <term><filename class="libraryfile">libqgpgme.so</filename></term>
249 <listitem>
250 <para>
251 contains API functions for handling GPG operations in
252 <application>Qt</application> applications.
253 </para>
254 <indexterm zone="gpgme libqgpgme">
255 <primary sortas="c-libqgpgme">libqgpgme.so</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 </variablelist>
261
262 </sect2>
263
264</sect1>
Note: See TracBrowser for help on using the repository browser.