source: general/genlib/qca.xml@ 0463551

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 0463551 was 2b2671b, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Tags for KF5, Plasma, kf5 apps, and dependencies

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

  • Property mode set to 100644
File size: 6.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 qca-download-http "http://download.kde.org/stable/qca/&qca-version;/src/qca-&qca-version;.tar.xz">
8 <!ENTITY qca-download-ftp " ">
9 <!ENTITY qca-md5sum "657cc701316600199199a6b6cb2c73c9">
10 <!ENTITY qca-size "676 KB">
11 <!ENTITY qca-buildsize "28 MB">
12 <!ENTITY qca-time "1.2 SBU (additional 0.3 SBU for the tests)">
13]>
14
15<sect1 id="qca" xreflabel="qca-&qca-version;">
16 <?dbhtml filename="qca.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Qca-&qca-version;</title>
24
25 <indexterm zone="qca">
26 <primary sortas="a-qca">qca</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Qca</title>
31
32 <para><application>Qca</application> aims to provide a straightforward
33 and cross-platform crypto API, using <application>Qt</application> datatypes
34 and conventions. <application>Qca</application> separates the API from
35 the implementation, using plugins known as Providers.</para>
36
37 &lfs79_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&qca-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&qca-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &qca-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &qca-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &qca-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &qca-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">
65 <xref linkend="cacerts"/>,
66 <xref linkend="cmake"/>,
67 <xref linkend="qt4"/> or <xref linkend="qt5"/>, and
68 <xref linkend="which"/>
69 </para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="Optional">
73 <xref linkend="cyrus-sasl"/>,
74 <xref linkend="gnupg2"/>,
75 <xref linkend="libgcrypt"/>,
76 <xref linkend="libgpg-error"/>,
77 <xref linkend="nss"/>,
78 <xref linkend="nspr"/>,
79 <xref linkend="openssl"/>,
80 <xref linkend="p11-kit"/>,
81 <xref linkend="doxygen"/>, and
82 <xref linkend="which"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/qca"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of Qca</title>
92
93 <para>If desired, remove a lot of irritating warnings when building:</para>
94
95<screen><userinput>sed -i 's/BSD/DEFAULT/' CMakeLists.txt</userinput></screen>
96
97 <para>Install <application>Qca</application> by running the following
98 commands:</para>
99
100<screen><userinput>mkdir build &amp;&amp;
101cd build &amp;&amp;
102
103cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
104 -DCMAKE_BUILD_TYPE=Release \
105 -DQT4_BUILD=ON \
106 -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
107 .. &amp;&amp;
108
109make</userinput></screen>
110
111 <para>To test the results, issue <command>make test</command>.</para>
112
113 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
123 used to apply a higher level of compiler optimizations.</para>
124
125 <para><parameter>-DQT4_BUILD=ON</parameter>: This switch is used to force
126 building with Qt4 even if Qt5 is found.</para>
127
128 <para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>:
129 Install the qca man page in the normal location.</para>
130
131 </sect2>
132
133 <sect2 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>mozcerts and qcatool (if building with Qt5, the binaries have a -qt5 suffix)</seg>
143 <seg>libqca.so (libqca-qt5.so if building with Qt5) and plugins at &qt4-dir;/lib/qca/crypto</seg>
144 <seg>
145 &qt4-dir;/include/QtCrypto (or &qt5-dir;/include/Qca-qt5),
146 &qt4-dir;/lib/cmake/Qca (or &qt5-dir;/lib/cmake/Qca-qt5) and
147 &qt4-dir;/lib/qca (or &qt5-dir;/lib/qca-qt5)
148 </seg>
149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
157 <varlistentry id="mozcerts">
158 <term><command>mozcerts</command></term>
159 <listitem>
160 <para>is a command line tool for converting certdata.txt into
161 outfile.pem files.</para>
162 <indexterm zone="qca mozcerts">
163 <primary sortas="b-mozcerts">mozcerts</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="qcatool">
169 <term><command>qcatool</command></term>
170 <listitem>
171 <para>is a command line tool for performing various cryptographic
172 operations with Qca.</para>
173 <indexterm zone="qca qcatool">
174 <primary sortas="b-qcatool">qcatool</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libqca">
180 <term><filename class='libraryfile'>libqca.so</filename></term>
181 <listitem>
182 <para>is the Qt Cryptography Architecture (Qca) library.</para>
183 <indexterm zone="qca libqca">
184 <primary sortas="c-libqca">libqca.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.