Changeset 83f6c770 for general/genlib/qca-systemd.xml
- Timestamp:
- 01/24/2016 08:01:02 AM (8 years ago)
- Branches:
- systemd-13485
- Children:
- f587275
- Parents:
- 54789f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/qca-systemd.xml
r54789f3 r83f6c770 5 5 %general-entities; 6 6 7 <!ENTITY qca-download-http "http://d elta.affinix.com/download/qca/2.0/qca-&qca-version;.tar.gz">7 <!ENTITY qca-download-http "http://download.kde.org/stable/qca/&qca-version;/src/qca-&qca-version;.tar.xz"> 8 8 <!ENTITY qca-download-ftp " "> 9 <!ENTITY qca-md5sum " c2b00c732036244701bae4853a2101cf">10 <!ENTITY qca-size " 956 KB">11 <!ENTITY qca-buildsize " 33MB">12 <!ENTITY qca-time "1. 5 SBU">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 13 ]> 14 14 15 <sect1 id="qca" xreflabel=" Qca-&qca-version;">15 <sect1 id="qca" xreflabel="qca-&qca-version;"> 16 16 <?dbhtml filename="qca.html"?> 17 17 … … 24 24 25 25 <indexterm zone="qca"> 26 <primary sortas="a- Qca">Qca</primary>26 <primary sortas="a-qca">qca</primary> 27 27 </indexterm> 28 28 … … 30 30 <title>Introduction to Qca</title> 31 31 32 <para> 33 <application>Qca</application> aims to provide a straightforward 34 and cross-platform crypto API, using <application>Qt</application> 35 datatypes and conventions. <application>Qca</application> separates 36 the API from the implementation, using plugins known as Providers. 37 </para> 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> 38 36 39 &lfs7 7_checked;37 &lfs78_checked; 40 38 41 39 <bridgehead renderas="sect3">Package Information</bridgehead> 42 40 <itemizedlist spacing="compact"> 43 41 <listitem> 44 <para> 45 Download (HTTP): <ulink url="&qca-download-http;"/> 46 </para> 42 <para>Download (HTTP): <ulink url="&qca-download-http;"/></para> 47 43 </listitem> 48 44 <listitem> 49 <para> 50 Download (FTP): <ulink url="&qca-download-ftp;"/> 51 </para> 45 <para>Download (FTP): <ulink url="&qca-download-ftp;"/></para> 52 46 </listitem> 53 47 <listitem> 54 <para> 55 Download MD5 sum: &qca-md5sum; 56 </para> 48 <para>Download MD5 sum: &qca-md5sum;</para> 57 49 </listitem> 58 50 <listitem> 59 <para> 60 Download size: &qca-size; 61 </para> 51 <para>Download size: &qca-size;</para> 62 52 </listitem> 63 53 <listitem> 64 <para> 65 Estimated disk space required: &qca-buildsize; 66 </para> 54 <para>Estimated disk space required: &qca-buildsize;</para> 67 55 </listitem> 68 56 <listitem> 69 <para> 70 Estimated build time: &qca-time; 71 </para> 57 <para>Estimated build time: &qca-time;</para> 72 58 </listitem> 73 59 </itemizedlist> … … 77 63 <bridgehead renderas="sect4">Required</bridgehead> 78 64 <para role="required"> 79 <xref linkend="cmake"/> and 80 <xref linkend="qt4"/> 81 </para> 82 83 <bridgehead renderas="sect4">Recommended</bridgehead> 84 <para role="recommended"> 85 <xref linkend="cacerts"/> 65 <xref linkend="cacerts"/>, 66 <xref linkend="cmake"/>, 67 <xref linkend="qt4"/> or <xref linkend="qt5"/>, and 68 <xref linkend="which"/> 86 69 </para> 87 70 88 71 <bridgehead renderas="sect4">Optional</bridgehead> 89 <para role="optional"> 90 <xref linkend="cyrus-sasl"/>, 91 <xref linkend="gnupg2"/>, 92 <xref linkend="libgcrypt"/>, 93 <xref linkend="nss"/>, 94 <xref linkend="openssl"/>, 95 <xref linkend="qt5"/>, 96 <ulink url="http://botan.randombit.net/">Botan</ulink> and 97 <ulink url="https://github.com/OpenSC/pkcs11-helper">pkcs11-helper</ulink> 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"/> 98 83 </para> 99 84 100 <note> 101 <para> 102 Even though this package can be built against 103 <application>Qt5</application>, the instructions below don't 104 cover such installation because the changes needed to the 105 instructions below are too invasive. If you need 106 <application>Qt5</application> version of the library, check 107 the "KDE Frameworks 5" chapter for instructions. 108 </para> 109 </note> 85 <para condition="html" role="usernotes">User Notes: 86 <ulink url="&blfs-wiki;/qca"/></para> 110 87 111 <para condition="html" role="usernotes">User Notes:112 <ulink url="&blfs-wiki;/qca"/>113 </para>114 88 </sect2> 115 89 … … 117 91 <title>Installation of Qca</title> 118 92 119 <para> 120 First, silence a lot of warnings caused by using the latest toolchain 121 by running the following command: 122 </para> 93 <para>If desired, remove a lot of irritating warnings when building:</para> 123 94 124 <screen><userinput>sed -i "/BSD_SOURCE/d"CMakeLists.txt</userinput></screen>95 <screen><userinput>sed -i 's/BSD/DEFAULT/' CMakeLists.txt</userinput></screen> 125 96 126 <para> 127 Install <application>Qca</application> by running the following 128 commands: 129 </para> 97 <para>Install <application>Qca</application> by running the following 98 commands:</para> 130 99 131 100 <screen><userinput>mkdir build && 132 101 cd build && 133 102 134 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 135 -DCMAKE_BUILD_TYPE=Release \ 136 -DQT4_BUILD=ON \ 137 -DQCA_DOC_INSTALL_DIR=/usr/share/doc/qca-&qca-version; \ 138 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features \ 139 -DQCA_INCLUDE_INSTALL_DIR=/usr/include/qt4 \ 140 -DQCA_PRIVATE_INCLUDE_INSTALL_DIR=/usr/include/qt4 \ 141 -DQCA_PLUGINS_INSTALL_DIR=/usr/lib/qt4/plugins \ 142 -Wno-dev .. && 103 cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \ 104 -DCMAKE_BUILD_TYPE=Release \ 105 -DQT4_BUILD=ON \ 106 -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \ 107 .. && 143 108 144 109 make</userinput></screen> 145 110 146 <para> 147 To test the results, issue <command>make test</command>. 148 </para> 111 <para>To test the results, issue <command>make test</command>.</para> 149 112 150 <para> 151 Now, as the <systemitem class="username">root</systemitem> user: 152 </para> 113 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 153 114 154 115 <screen role="root"><userinput>make install</userinput></screen> 155 156 <para>157 If <application>Qt4</application> isn't installed in158 <filename class="directory">/usr</filename>, ensure159 it can properly find the modules installed by this160 package by running the following commands as the161 <systemitem class="username">root</systemitem> user:162 </para>163 164 <screen role="root"><userinput>if [[ ${QT4DIR} != "/usr" ]]165 then166 ln -sfv /usr/include/qt4/QtCrypto \167 ${QT4DIR}/include/qt4/ &&168 ln -sfv /usr/share/qt4/mkspecs/features/crypto.prf \169 ${QT4DIR}/share/qt4/mkspecs/features/ &&170 171 install -v -dm755 ${QT4DIR}/lib/qt4/plugins/crypto &&172 173 for file in /usr/lib/qt4/plugins/crypto/*174 do175 ln -sfv ${file} ${QT4DIR}/lib/qt4/plugins/crypto/176 done &&177 178 unset file179 fi</userinput></screen>180 181 <note>182 <para>183 If you upgrade <application>Qt4</application> per BLFS184 instructions, make sure you re-run the commands above.185 </para>186 </note>187 116 188 117 </sect2> … … 191 120 <title>Command Explanations</title> 192 121 193 <para> 194 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used 195 to apply higher level of the compiler optimizations. 196 </para> 122 <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is 123 used to apply a higher level of compiler optimizations.</para> 197 124 198 <para> 199 <parameter>-DQT4_BUILD=ON</parameter>: This switch is used to ensure 200 that <application>Qt4</application> version of the library is built 201 even if <application>Qt5</application> is present. 202 </para> 125 <para><parameter>-DQT4_BUILD=ON</parameter>: This switch is used to force 126 building with Qt4 even if Qt5 is found. There are no packages in BLFS 127 that use the Qt5 version of Qca.</para> 203 128 204 <para> 205 <parameter>-DQCA_*_INSTALL_DIR=...</parameter>: These switches are used 206 to ensure that files depending on the <application>Qt4</application> 207 installation prefix are installed in the correct locations. 208 </para> 129 <para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>: 130 Install the qca man page in the normal location.</para> 209 131 210 132 </sect2> … … 219 141 220 142 <seglistitem> 143 <seg>mozcerts and qcatool (if building with Qt5, the binaries have a -qt5 suffix)</seg> 144 <seg>libqca.so (libqca-qt5.so if building with Qt5) and plugins at &qt4-dir;/lib/qca/crypto</seg> 221 145 <seg> 222 mozcerts and qcatool 223 </seg> 224 <seg> 225 libqca.so 226 </seg> 227 <seg> 228 /usr/include/qt4/QtCrypto, 229 /usr/lib/cmake/Qca, 230 /usr/lib/qt4/plugins/crypto and, 231 depending on the <application>Qt4</application> 232 installation prefix, 233 $QT4DIR/include/qt4/QtCrypto and 234 $QT4DIR/lib/qt4/plugins/crypto 146 &qt4-dir;/include/QtCrypto (or &qt5-dir;/include/Qca-qt5), 147 &qt4-dir;/lib/cmake/Qca (or &qt5-dir;/lib/cmake/Qca-qt5) and 148 &qt4-dir;/lib/qca (or &qt5-dir;/lib/qca-qt5) 235 149 </seg> 236 150 </seglistitem> … … 245 159 <term><command>mozcerts</command></term> 246 160 <listitem> 247 <para> 248 is a command line tool for converting certdata.txt into 249 outfile.pem files. 250 </para> 161 <para>is a command line tool for converting certdata.txt into 162 outfile.pem files.</para> 251 163 <indexterm zone="qca mozcerts"> 252 164 <primary sortas="b-mozcerts">mozcerts</primary> … … 258 170 <term><command>qcatool</command></term> 259 171 <listitem> 260 <para> 261 is a command line tool for performing various cryptographic 262 operations with <application>Qca</application>. 263 </para> 172 <para>is a command line tool for performing various cryptographic 173 operations with Qca.</para> 264 174 <indexterm zone="qca qcatool"> 265 175 <primary sortas="b-qcatool">qcatool</primary> … … 269 179 270 180 <varlistentry id="libqca"> 271 <term><filename class= "libraryfile">libqca.so</filename></term>181 <term><filename class='libraryfile'>libqca.so</filename></term> 272 182 <listitem> 273 <para> 274 is the Qt Cryptography Architecture (Qca) library. 275 </para> 183 <para>is the Qt Cryptography Architecture (Qca) library.</para> 276 184 <indexterm zone="qca libqca"> 277 185 <primary sortas="c-libqca">libqca.so</primary>
Note:
See TracChangeset
for help on using the changeset viewer.