Index: kde5/frameworks/qca-qt5.xml
===================================================================
--- kde5/frameworks/qca-qt5.xml	(revision ac38e9dcc56be5d8809db3492da7b3380a64b944)
+++ kde5/frameworks/qca-qt5.xml	(revision ac38e9dcc56be5d8809db3492da7b3380a64b944)
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="qca-qt5" xreflabel="Qca-&qca-qt5-version;">
+  <?dbhtml filename="qca-qt5.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy: krejzi $</othername>
+    <date>$Date: 2014-10-26 16:35:43 +0100 (Sun, 26 Oct 2014) $</date>
+  </sect1info>
+
+  <title>Qca-&qca-qt5-version;</title>
+
+  <indexterm zone="qca-qt5">
+    <primary sortas="a-Qca">Qca</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Qca</title>
+
+    <para>
+      <application>Qca</application> aims to provide a straightforward
+      and cross-platform crypto API, using <application>Qt</application>
+      datatypes and conventions. <application>Qca</application> separates
+      the API from the implementation, using plugins known as Providers.
+    </para>
+
+    &lfs77_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&qca-qt5-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&qca-qt5-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &qca-qt5-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &qca-qt5-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &qca-qt5-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &qca-qt5-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="cmake"/> and
+      <xref linkend="qt5"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="cacerts"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="cyrus-sasl"/>,
+      <xref linkend="gnupg2"/>,
+      <xref linkend="libgcrypt"/>,
+      <xref linkend="nss"/>,
+      <xref linkend="openssl"/>,
+      <xref linkend="qt4"/>,
+      <ulink url="http://botan.randombit.net/">Botan</ulink> and
+      <ulink url="https://github.com/OpenSC/pkcs11-helper">pkcs11-helper</ulink>
+    </para>
+
+    <note>
+      <para>
+        Even though this package can be built against
+        <application>Qt4</application>, the instructions below don't
+        cover such installation because the changes needed to the
+        instructions below are too invasive. If you need
+        <application>Qt4</application> version of the library, check
+        the "General Libraries" chapter for instructions.
+      </para>
+    </note>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/qca-qt5"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Qca</title>
+
+    <para>
+      First, silence a lot of warnings caused by using the latest toolchain
+      by running the following command:
+    </para>
+
+<screen><userinput>sed -i "/BSD_SOURCE/d" CMakeLists.txt</userinput></screen>
+
+    <para>
+      Install <application>Qca</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release  \
+      -DQCA_SUFFIX=qt5            \
+      -DQCA_DOC_INSTALL_DIR=/usr/share/doc/qca-qt5-&qca-qt5-version;      \
+      -DQCA_FEATURE_INSTALL_DIR=/usr/lib/qt5/mkspecs/features \
+      -DQCA_INCLUDE_INSTALL_DIR=/usr/include/qt5              \
+      -DQCA_PRIVATE_INCLUDE_INSTALL_DIR=/usr/include/qt5      \
+      -DQCA_PLUGINS_INSTALL_DIR=/usr/lib/qt5/plugins          \
+      -Wno-dev .. &amp;&amp;
+
+make</userinput></screen>
+
+    <para>
+      To test the results, issue <command>make test</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+    <para>
+      If <application>Qt5</application> isn't installed in
+      <filename class="directory">/usr</filename>, ensure
+      it can properly find the modules installed by this
+      package by running the following commands as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>if [[ ${QT5DIR} != "/usr" ]]
+then
+   ln -sfv /usr/include/qt5/QtCrypto                  \
+           ${QT5DIR}/include/qt5/                     &amp;&amp;
+   ln -sfv /usr/lib/qt5/mkspecs/features/crypto.prf   \
+           ${QT5DIR}/lib/qt5/mkspecs/features/        &amp;&amp;
+
+   install -v -dm755 ${QT5DIR}/lib/qt5/plugins/crypto &amp;&amp;
+
+   for file in /usr/lib/qt5/plugins/crypto/*
+   do
+       ln -sfv ${file} ${QT5DIR}/lib/qt5/plugins/crypto/
+   done &amp;&amp;
+
+   unset file
+fi</userinput></screen>
+
+    <note>
+      <para>
+        If you upgrade <application>Qt5</application> per BLFS
+        instructions, make sure you re-run the commands above.
+      </para>
+    </note>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/cmake-release.xml"/>
+
+    <para>
+      <parameter>-DQCA_SUFFIX=qt5</parameter>: This switch is used to ensure
+      that the programs and libraries installed by this package don't
+      conflict with <application>Qt4</application> equivalents.
+    </para>
+
+    <para>
+      <parameter>-DQCA_*_INSTALL_DIR=...</parameter>: These switches are used
+      to ensure that files depending on the <application>Qt5</application>
+      installation prefix are installed in the correct locations.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          mozcerts-qt5 and qcatool-qt5
+        </seg>
+        <seg>
+          libqca-qt5.so
+        </seg>
+        <seg>
+          /usr/include/qt5/QtCrypto,
+          /usr/lib/cmake/Qca,
+          /usr/lib/qt5/plugins/crypto and,
+          depending on the <application>Qt5</application>
+          installation prefix,
+          $QT5DIR/include/qt5/QtCrypto and
+          $QT5DIR/lib/qt5/plugins/crypto
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="mozcerts-qt5">
+        <term><command>mozcerts-qt5</command></term>
+        <listitem>
+          <para>
+            is a command line tool for converting certdata.txt into
+            outfile.pem files.
+          </para>
+          <indexterm zone="qca-qt5 mozcerts-qt5">
+            <primary sortas="b-mozcerts-qt5">mozcerts-qt5</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qcatool-qt5">
+        <term><command>qcatool-qt5</command></term>
+        <listitem>
+          <para>
+            is a command line tool for performing various cryptographic
+	    operations with <application>Qca</application>.
+          </para>
+          <indexterm zone="qca-qt5 qcatool-qt5">
+            <primary sortas="b-qcatool-qt5">qcatool-qt5</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libqca-qt5">
+        <term><filename class="libraryfile">libqca-qt5.so</filename></term>
+        <listitem>
+          <para>
+            is the Qt Cryptography Architecture (Qca) library.
+          </para>
+          <indexterm zone="qca-qt5 libqca-qt5">
+            <primary sortas="c-libqca-qt5">libqca-qt5.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
