Changeset c4dd285f for general/genlib/qca.xml
- Timestamp:
- 01/25/2016 03:56:13 AM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 99673f0
- Parents:
- f587275
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/qca.xml
rf587275 rc4dd285f 5 5 %general-entities; 6 6 7 <!ENTITY qca-download-http "http://d elta.affinix.com/download/qca/2.0/qca-&qca-version;.tar.bz2">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 " 933KB">11 <!ENTITY qca-buildsize "2 9.2MB">12 <!ENTITY qca-time "1. 9 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 … … 35 35 the implementation, using plugins known as Providers.</para> 36 36 37 &lfs7 6_checked;37 &lfs78_checked; 38 38 39 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 63 63 <bridgehead renderas="sect4">Required</bridgehead> 64 64 <para role="required"> 65 <xref linkend="cmake"/> and 66 <xref linkend="qt4"/> 67 </para> 68 69 <bridgehead renderas="sect4">Recommended</bridgehead> 70 <para role="recommended"> 71 <xref linkend="cacerts"/> 65 <xref linkend="cacerts"/>, 66 <xref linkend="cmake"/>, 67 <xref linkend="qt4"/> or <xref linkend="qt5"/>, and 68 <xref linkend="which"/> 72 69 </para> 73 70 74 71 <bridgehead renderas="sect4">Optional</bridgehead> 75 <para role="optional"> 76 <xref linkend="cyrus-sasl"/>, 77 <xref linkend="gnupg2"/>, 78 <xref linkend="libgcrypt"/>, 79 <xref linkend="nss"/>, 80 <xref linkend="openssl"/>, 81 <xref linkend="qt5"/>, 82 <ulink url="http://botan.randombit.net/">Botan</ulink> and 83 <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"/> 84 83 </para> 85 84 … … 92 91 <title>Installation of Qca</title> 93 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 94 97 <para>Install <application>Qca</application> by running the following 95 98 commands:</para> … … 98 101 cd build && 99 102 100 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 101 -DCMAKE_BUILD_TYPE=Release \ 102 -DQT4_BUILD=ON \ 103 -DQCA_DOC_INSTALL_DIR=/usr/share/doc/qca-2.1.0 \ 104 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features \ 105 -DQCA_INCLUDE_INSTALL_DIR=/usr/include/qt4 \ 106 -DQCA_PRIVATE_INCLUDE_INSTALL_DIR=/usr/include/qt4 \ 107 -DQCA_PLUGINS_INSTALL_DIR=/usr/lib/qt4/plugins \ 108 -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 .. && 109 108 110 109 make</userinput></screen> … … 116 115 <screen role="root"><userinput>make install</userinput></screen> 117 116 118 <para>119 If <application>Qt4</application> isn't installed in120 <filename class="directory">/usr</filename>, ensure121 it can properly find the modules installed by this122 package by running the following commands as the123 <systemitem class="username">root</systemitem> user:124 </para>125 126 <screen role="root"><userinput>if [[ ${QT4DIR} != "/usr" ]]127 then128 ln -sfv /usr/include/qt4/QtCrypto \129 ${QT4DIR}/include/qt4/ &&130 ln -sfv /usr/share/qt4/mkspecs/features/crypto.prf \131 ${QT4DIR}/share/qt4/mkspecs/features/ &&132 133 install -v -dm755 ${QT4DIR}/lib/qt4/plugins/crypto &&134 135 for file in /usr/lib/qt4/plugins/crypto/*136 do137 ln -sfv ${file} ${QT4DIR}/lib/qt4/plugins/crypto/138 done &&139 140 unset file141 fi</userinput></screen>142 143 117 </sect2> 144 118 … … 146 120 <title>Command Explanations</title> 147 121 148 <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used 149 to apply higher level of the compiler optimizations.</para> 150 151 <para><parameter>-DQT4_BUILD=ON</parameter>: This switch is used to ensure 152 that <application>Qt4</application> version of the library is built even if 153 <application>Qt5</application> is present.</para> 122 <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is 123 used to apply a higher level of compiler optimizations.</para> 154 124 155 <para><parameter>-DQCA_*_INSTALL_DIR=...</parameter>: These switches are used 156 to ensure that files depending on the <application>Qt4</application> 157 installation prefix are installed in the correct locations.</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> 128 129 <para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>: 130 Install the qca man page in the normal location.</para> 158 131 159 132 </sect2> … … 168 141 169 142 <seglistitem> 170 <seg>mozcerts and qcatool 2</seg>171 <seg>libqca.so </seg>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> 172 145 <seg> 173 /usr/include/qt4/QtCrypto, 174 /usr/lib/cmake/Qca, 175 /usr/lib/qt4/plugins/crypto and, 176 depending on the <application>Qt4</application> 177 installation prefix, 178 $QT4DIR/include/qt4/QtCrypto and 179 $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) 180 149 </seg> 181 150 </seglistitem> … … 198 167 </varlistentry> 199 168 200 <varlistentry id="qcatool 2">201 <term><command>qcatool 2</command></term>169 <varlistentry id="qcatool"> 170 <term><command>qcatool</command></term> 202 171 <listitem> 203 172 <para>is a command line tool for performing various cryptographic 204 205 <indexterm zone="qca qcatool 2">206 <primary sortas="b-qcatool 2">qcatool2</primary>173 operations with Qca.</para> 174 <indexterm zone="qca qcatool"> 175 <primary sortas="b-qcatool">qcatool</primary> 207 176 </indexterm> 208 177 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.