source: kde/kf5/qca-qt5.xml@ 3d6e95d

systemd-13485
Last change on this file since 3d6e95d was 3d6e95d, checked in by Douglas R. Reno <renodr@…>, 8 years ago

(systemd) Merge to trunk r17470

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17472 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
8<sect1 id="qca-qt5" xreflabel="Qca-&qca-qt5-version;">
9 <?dbhtml filename="qca-qt5.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Qca-&qca-qt5-version;</title>
17
18 <indexterm zone="qca-qt5">
19 <primary sortas="a-Qca">Qca</primary>
20 </indexterm>
21
22 <sect2 role="package">
23 <title>Introduction to Qca</title>
24
25 <para>
26 <application>Qca</application> aims to provide a straightforward
27 and cross-platform crypto API, using <application>Qt</application>
28 datatypes and conventions. <application>Qca</application> separates
29 the API from the implementation, using plugins known as Providers.
30 </para>
31
32 &lfs77_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&qca-qt5-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&qca-qt5-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &qca-qt5-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &qca-qt5-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &qca-qt5-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &qca-qt5-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required">
72 <xref linkend="cmake"/> and
73 <xref linkend="qt5"/>
74 </para>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="cacerts"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="cyrus-sasl"/>,
84 <xref linkend="gnupg2"/>,
85 <xref linkend="libgcrypt"/>,
86 <xref linkend="nss"/>,
87 <xref linkend="openssl"/>,
88 <ulink url="http://botan.randombit.net/">Botan</ulink> and
89 <ulink url="https://github.com/OpenSC/pkcs11-helper">pkcs11-helper</ulink>
90 </para>
91
92 <note>
93 <para>
94 Even though this package can be built against
95 <application>Qt4</application>, the instructions below don't
96 cover such installation because the changes needed to the
97 instructions below are too invasive. If you need
98 <application>Qt4</application> version of the library, check
99 the "General Libraries" chapter for instructions.
100 </para>
101 </note>
102
103 <para condition="html" role="usernotes">User Notes:
104 <ulink url="&blfs-wiki;/qca-qt5"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of Qca</title>
110
111 <para>
112 First, silence a lot of warnings caused by using the latest toolchain
113 by running the following command:
114 </para>
115
116<screen><userinput>sed -i "/BSD_SOURCE/d" CMakeLists.txt</userinput></screen>
117
118 <para>
119 Install <application>Qca</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>mkdir build &amp;&amp;
124cd build &amp;&amp;
125
126cmake -DCMAKE_INSTALL_PREFIX=/usr \
127 -DCMAKE_BUILD_TYPE=Release \
128 -DQCA_SUFFIX=qt5 \
129 -DQCA_DOC_INSTALL_DIR=/usr/share/doc/qca-qt5-&qca-qt5-version; \
130 -DQCA_FEATURE_INSTALL_DIR=/usr/lib/qt5/mkspecs/features \
131 -DQCA_INCLUDE_INSTALL_DIR=/usr/include/qt5 \
132 -DQCA_PRIVATE_INCLUDE_INSTALL_DIR=/usr/include/qt5 \
133 -DQCA_PLUGINS_INSTALL_DIR=/usr/lib/qt5/plugins \
134 -Wno-dev .. &amp;&amp;
135
136make</userinput></screen>
137
138 <para>
139 To test the results, issue <command>make test</command>.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make install</userinput></screen>
147
148 <para>
149 If <application>Qt5</application> isn't installed in
150 <filename class="directory">/usr</filename>, ensure
151 it can properly find the modules installed by this
152 package by running the following commands as the
153 <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>if [[ ${QT5DIR} != "/usr" ]]
157then
158 ln -sfv /usr/include/qt5/QtCrypto \
159 ${QT5DIR}/include/qt5/ &amp;&amp;
160 ln -sfv /usr/lib/qt5/mkspecs/features/crypto.prf \
161 ${QT5DIR}/lib/qt5/mkspecs/features/ &amp;&amp;
162
163 install -v -dm755 ${QT5DIR}/lib/qt5/plugins/crypto &amp;&amp;
164
165 for file in /usr/lib/qt5/plugins/crypto/*
166 do
167 ln -sfv ${file} ${QT5DIR}/lib/qt5/plugins/crypto/
168 done &amp;&amp;
169
170 unset file
171fi</userinput></screen>
172
173 <note>
174 <para>
175 If you upgrade <application>Qt5</application> per BLFS
176 instructions, make sure you re-run the commands above.
177 </para>
178 </note>
179
180 </sect2>
181
182 <sect2 role="commands">
183 <title>Command Explanations</title>
184
185 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
186 href="../../xincludes/cmake-release.xml"/>
187
188 <para>
189 <parameter>-DQCA_SUFFIX=qt5</parameter>: This switch is used to ensure
190 that the programs and libraries installed by this package don't
191 conflict with <application>Qt4</application> equivalents.
192 </para>
193
194 <para>
195 <parameter>-DQCA_*_INSTALL_DIR=...</parameter>: These switches are used
196 to ensure that files depending on the <application>Qt5</application>
197 installation prefix are installed in the correct locations.
198 </para>
199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Programs</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>
212 mozcerts-qt5 and qcatool-qt5
213 </seg>
214 <seg>
215 libqca-qt5.so
216 </seg>
217 <seg>
218 /usr/include/qt5/QtCrypto,
219 /usr/lib/cmake/Qca,
220 /usr/lib/qt5/plugins/crypto and,
221 depending on the <application>Qt5</application>
222 installation prefix,
223 $QT5DIR/include/qt5/QtCrypto and
224 $QT5DIR/lib/qt5/plugins/crypto
225 </seg>
226 </seglistitem>
227 </segmentedlist>
228
229 <variablelist>
230 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
231 <?dbfo list-presentation="list"?>
232 <?dbhtml list-presentation="table"?>
233
234 <varlistentry id="mozcerts-qt5">
235 <term><command>mozcerts-qt5</command></term>
236 <listitem>
237 <para>
238 is a command line tool for converting certdata.txt into
239 outfile.pem files.
240 </para>
241 <indexterm zone="qca-qt5 mozcerts-qt5">
242 <primary sortas="b-mozcerts-qt5">mozcerts-qt5</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="qcatool-qt5">
248 <term><command>qcatool-qt5</command></term>
249 <listitem>
250 <para>
251 is a command line tool for performing various cryptographic
252 operations with <application>Qca</application>.
253 </para>
254 <indexterm zone="qca-qt5 qcatool-qt5">
255 <primary sortas="b-qcatool-qt5">qcatool-qt5</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="libqca-qt5">
261 <term><filename class="libraryfile">libqca-qt5.so</filename></term>
262 <listitem>
263 <para>
264 is the Qt Cryptography Architecture (Qca) library.
265 </para>
266 <indexterm zone="qca-qt5 libqca-qt5">
267 <primary sortas="c-libqca-qt5">libqca-qt5.so</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 </variablelist>
273
274 </sect2>
275
276</sect1>
Note: See TracBrowser for help on using the repository browser.