<pre style='margin:0'>
Marko Käning (mkae) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c802cab46968d77548eafffcce6dddc015c93d9f">https://github.com/macports/macports-ports/commit/c802cab46968d77548eafffcce6dddc015c93d9f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c802cab port:qca* : proposed adoption and introduction of Qt5 subports
</span>c802cab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c802cab46968d77548eafffcce6dddc015c93d9f
</span>Author: R.J.V. Bertin <rjvbertin@gmail.com>
AuthorDate: Wed Nov 23 13:14:18 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> port:qca* : proposed adoption and introduction of Qt5 subports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The QCA ports have been without maintainer for a bit now, and lack the
</span><span style='display:block; white-space:pre;color:#404040;'> possibility to install for Qt4 and Qt5 concurrently. That possibility is
</span><span style='display:block; white-space:pre;color:#404040;'> essential for the future KF5 ports, so I propose that Marko and I adopt
</span><span style='display:block; white-space:pre;color:#404040;'> this port and introduce the required changes. The ports as defined by
</span><span style='display:block; white-space:pre;color:#404040;'> the current Portfile have seen thorough testing by both of us as well as
</span><span style='display:block; white-space:pre;color:#404040;'> by a few "beta testers" of my KF5 ports.
</span><span style='display:block; white-space:pre;color:#404040;'> I don't think there is any point in maintaining the Qt4 and Qt5 variants.
</span><span style='display:block; white-space:pre;color:#404040;'> The current version also introduces a few changes that are unrelated to
</span><span style='display:block; white-space:pre;color:#404040;'> Qt5/KF5 but aim to simplify dependencies by reducing the number of
</span><span style='display:block; white-space:pre;color:#404040;'> subports. This is open for discussion w.r.t. the Qt4 versions. I don't
</span><span style='display:block; white-space:pre;color:#404040;'> think there is much justification (for use with MacPorts) to build QCA
</span><span style='display:block; white-space:pre;color:#404040;'> as a framework, but this could be reintroduced as a variant.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: #59
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/50500
</span>---
devel/qca/Portfile | 329 +++++++++----------
devel/qca/files/FindQCA2.cmake | 48 +++
devel/qca/files/patch-CMakeLists.txt.diff | 70 ----
devel/qca/files/patch-CMakeLists.txt_plugins.diff | 351 ---------------------
.../files/patch-include_QtCrypto_qca_basic.h.diff | 10 -
devel/qca/files/patch-qca-ossl.diff | 85 +++++
devel/qca/files/patch-qca210-qt550.diff | 10 +
devel/qca/files/patch-qca210-qt56x.diff | 17 +
8 files changed, 307 insertions(+), 613 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/Portfile b/devel/qca/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 618661e..86ba62d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/qca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,125 +1,87 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup active_variants 1.1
</span>
name qca
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt version handling logic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+global Qt_Major
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-qt5 {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match "${name}-qt5*" ${subport}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.1.0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set Qt_Major 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites http://download.kde.org/stable/qca-qt5/${version}/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 cc4040d013170ca5f21fbcefd0607daa8191d333 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ab0170696a8ff87588d38a72d36d0b4b42db9080c991d1a40ceb3f8311d289f9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname "qca-qt5-${version}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "qca-qt5-(\\d+(?:\\.\\d+)*)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set branch [join [lrange [split ${version} .] 0 0] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set Qt_Major 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites http://delta.affinix.com/download/qca/${branch}.0/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 c2b00c732036244701bae4853a2101cf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 2b582b3ccc7e6098cd14d6f52a829ae1539e9cc8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 30358bbd182cfeb9eaa696b5b39fa9e6d1f99b4c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories devel crypto security
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers gmail.com:rjvbertin mk openmaintainer
</span> license LGPL-2.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description "Qt Cryptographic Architecture"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Qt Cryptographic Architecture
</span> long_description \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "Qt Cryptographic Architecture provides an easy API for the following \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- features: SSL/TLS, X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (BlowFish, 3DES, AES). Functionality is supplied via plugins."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Qt Cryptographic Architecture provides an easy API for the following \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ features: SSL/TLS, X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (BlowFish, 3DES, AES). Functionality is supplied via plugins.
</span>
platforms darwin
homepage http://delta.affinix.com/qca/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://delta.affinix.com/download/qca/2.0/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 30358bbd182cfeb9eaa696b5b39fa9e6d1f99b4c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# do VPATH (out of source tree) build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake.out_of_source yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # temporary patch to add including QIODevice to qca_basic.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-include_QtCrypto_qca_basic.h.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # fix install directories for certs and cmake files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # remove unnecessary Carbon #include, which fails on 10.8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-src_qac_systemstore_mac.cpp.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # fix top-level CMakeLists.txt to build just plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-CMakeLists.txt_plugins.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Qt variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt4 conflicts qt5 description "Build with qt4" {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt5 conflicts qt4 description "Build with qt5" {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset qt4] && ![variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +qt4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure -qt4 wasn't specified alone
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset qt4] && ![variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "\n\nYou must select either the +qt4 or +qt5 variant to build ${subport}\n"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "Invalid variant selection"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset qt4]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DQT4_BUILD=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # require qca to also have the selected Qt variant
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset qt4]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants port:qca qt4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DQT4_BUILD=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants port:qca qt5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant examples description {Include examples in install} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# set install directory for mkspec files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_FEATURE_INSTALL_DIR=${qt_mkspecs_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# specify various configure options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_INSTALL_IN_QT_PREFIX=NO \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_PLUGINS_INSTALL_DIR=${prefix}/share/${name}/plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # build as a framework
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:botan \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcrypt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:nss
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove unnecessary Carbon #include, which fails on 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-src_qac_systemstore_mac.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-qca-ossl.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the QCA plugins have been rolled into the main source tarball and are built by default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# when their dependencies are available. Allow this for all plugins that were not already
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# available through an individual port; no reason to impose new dependencies on our dependents.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This is mostly of interest for Qt5-based dependents, evidently.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args -DCMAKE_INSTALL_PREFIX:PATH=${qt_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_PLUGINS_INSTALL_DIR:PATH=${qt_plugins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_LIBRARY_INSTALL_DIR:PATH=${qt_libs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_BINARY_INSTALL_DIR:PATH=${qt_bins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_FEATURE_INSTALL_DIR:PATH=${qt_mkspecs_dir}/features \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_INCLUDE_INSTALL_DIR:PATH=${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_PRIVATE_INCLUDE_INSTALL_DIR:PATH=${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_DOC_INSTALL_DIR:PATH=${qt_docs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_MAN_INSTALL_DIR:PATH=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPKGCONFIG_INSTALL_PREFIX:PATH=${qt_pkg_config_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOSX_FRAMEWORK:BOOL=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_PLUGINS:STRING="botan\;gcrypt\;logger\;nss\;softstore"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${Qt_Major} eq "4"} {
</span> configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DOSX_FRAMEWORK=YES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # specify various configure options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQT4_BUILD:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${Qt_Major} eq "5"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qca210-qt550.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-qca210-qt56x.diff
</span> configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBUILD_PLUGINS=NO \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_MAN_INSTALL_DIR=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_LIBRARY_INSTALL_DIR=${frameworks_dir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_MODULES_DIR=${prefix}/share/cmake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPKGCONFIG_INSTALL_PREFIX=${prefix}/lib/pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQCA_DOC_INSTALL_DIR=${prefix}/share/${name}/doc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQCA_SUFFIX:STRING="qt5"
</span> }
# allow ccache, if specified by the user
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-build {
if {[tbool configure.ccache]} {
build.post_args "CCACHE=ccache"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -127,97 +89,100 @@ pre-build {
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} eq ${name} || ${subport} eq "${subport}-qt5"} {
</span> # install docs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
</span> xinstall -m 644 -W ${worksrcpath} COPYING README TODO \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # get qca's version numbers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qca_vers [split ${version} "."]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qca_major [lindex ${qca_vers} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qca_minor [lindex ${qca_vers} 1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qca_patch [lindex ${qca_vers} 2]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # link includes and libraries for each actual installed framework
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set tf_full ${frameworks_dir}/qca.framework/Versions/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # link headers into ${prefix}/include, removing
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # directories if they are already there first
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set dr_inc_file ${destroot}${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/Headers ${dr_inc_file}/qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/Headers ${dr_inc_file}/QtCrypto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # link libraries into ${dr_libs_dir}, all 4 number variants
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set dr_libs_dir ${destroot}${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.${qca_major}.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.${qca_major}.${qca_minor}.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${tf_full}/qca ${dr_libs_dir}/libqca.${qca_major}.${qca_minor}.${qca_patch}.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} eq "${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install cmake file (taken from port 'kdelibs4'). To use this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # file, include '-DCMAKE_MODULE_PATH=...' in configure.args during
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the initial 'configure' stage (which uses CMake), to the full
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # path of where the CMake files are installed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${qt_cmake_module_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${filespath} FindQCA2.cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${qt_cmake_module_dir}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset examples]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 755 ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval file copy [glob ${worksrcpath}/examples/*] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-array set bindings {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- botan {port:botan botan}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cyrus-sasl {port:cyrus-sasl2 cyrus-sasl}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gcrypt {port:libgcrypt gcrypt}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg {port:gnupg gnupg}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- logger {"" logger}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nss {port:nss nss}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ossl {path:lib/libssl.dylib:openssl ossl}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- softstore {"" softstore}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# pkcs11 {port:pkcs11 pkcs11}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-array set prettynames {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- botan Botan cyrus-sasl Cyrus-SASL gcrypt GCrypt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg GnuPG logger Logger nss NSS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ossl OpenSSL pkcs11 pkcs11 softstore SoftStore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# It doesn't seem possible to do debug+release builds with the new cmake-based approach.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Override the debug variant and avoid the checks imposed by the Qt portgroups and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# instruct the user to use a compiler option.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant debug description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+{Build both release and debug library} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "this variant is obsolete; use configure.optflags=\"-g\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup obsolete 1.0
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-options qca.plugin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default qca.plugin ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach plugin [lsort [array names bindings]] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set arg [lindex $bindings($plugin) 1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set arg_name [lindex [split ${arg} =] 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- subport qca-${plugin} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[lindex $bindings($plugin) 0] ne ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append [lindex $bindings($plugin) 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DWITH_${arg}_PLUGIN=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qca.plugin ${arg_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid installing the examples into Qt's binary tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant examples description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+{Include examples in install} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${prefix}/share/${subport}/examples/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval file copy [glob ${worksrcpath}/examples/*] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/${subport}/examples/
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${qca.plugin} != ${arg_name}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DWITH_${arg_name}_PLUGIN=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${qca.plugin} ne ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description $prettynames(${qca.plugin}) plugin for ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Qt Cryptographic Architecture. This is the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $prettynames(${qca.plugin}) plugin.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span> }
subport qca-tls {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by qca-ossl
</span> PortGroup obsolete 1.0
long_description "This port is obsolete."
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### Plugin subports:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### The ossl, cyrus-sasl and gnupg plugins used to be standalone ports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### are now implemented as subports. The other plugins are built together with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### the main port; I don't see a reason to introduce new subports for components
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### that used to be built along with the main ports, only to impose new dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### on the ports that require qca.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt4 receives no suffix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt.versions {"" "-qt5"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach qv ${qt.versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}${qv}-ossl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}${qv} port:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DBUILD_PLUGINS:STRING="botan\;gcrypt\;logger\;nss\;softstore"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DBUILD_PLUGINS:STRING="ossl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${workpath}/build/plugins/qca-ossl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}${qv}-cyrus-sasl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}${qv} port:cyrus-sasl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DBUILD_PLUGINS:STRING="botan\;gcrypt\;logger\;nss\;softstore"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DBUILD_PLUGINS:STRING="cyrus-sasl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${workpath}/build/plugins/qca-cyrus-sasl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}${qv}-gnupg {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}${qv}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DBUILD_PLUGINS:STRING="botan\;gcrypt\;logger\;nss\;softstore"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DBUILD_PLUGINS:STRING="gnupg"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${workpath}/build/plugins/qca-gnupg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### Provide stub subports for those plugins that have been available through
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### a subport for a while.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach virtual {"botan" "gcrypt" "logger" "nss" "softstore"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${virtual} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set stubdir ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${stubdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "touch ${stubdir}/.this.is.a.stubport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/FindQCA2.cmake b/devel/qca/files/FindQCA2.cmake
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e2d8f2a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qca/files/FindQCA2.cmake
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,48 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# - Try to find QCA2 (Qt Cryptography Architecture 2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Once done this will define
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# QCA2_FOUND - system has QCA2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# QCA2_INCLUDE_DIR - the QCA2 include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# QCA2_LIBRARIES - the libraries needed to use QCA2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# QCA2_DEFINITIONS - Compiler switches required for using QCA2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use pkg-config to get the directories and then use these values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# in the FIND_PATH() and FIND_LIBRARY() calls
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Copyright (c) 2006, Michael Larouche, <michael.larouche@kdemail.net>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Redistribution and use is allowed according to the terms of the BSD license.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+include(FindLibraryWithDebug)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in cache already
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(QCA2_FOUND TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+else (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (NOT WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_package(PkgConfig)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkg_check_modules(PC_QCA2 QUIET qca2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(QCA2_DEFINITIONS ${PC_QCA2_CFLAGS_OTHER})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif (NOT WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_library_with_debug(QCA2_LIBRARIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WIN32_DEBUG_POSTFIX d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NAMES qca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HINTS ${PC_QCA2_LIBDIR} ${PC_QCA2_LIBRARY_DIRS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_path(QCA2_INCLUDE_DIR QtCrypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HINTS ${PC_QCA2_INCLUDEDIR} ${PC_QCA2_INCLUDE_DIRS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATH_SUFFIXES QtCrypto)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(FindPackageHandleStandardArgs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_package_handle_standard_args(QCA2 DEFAULT_MSG QCA2_LIBRARIES QCA2_INCLUDE_DIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mark_as_advanced(QCA2_INCLUDE_DIR QCA2_LIBRARIES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+endif (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-CMakeLists.txt.diff b/devel/qca/files/patch-CMakeLists.txt.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index f5be7fd..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/qca/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,70 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -166,17 +166,31 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "Directory where lib will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_PREFIX_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Directory where qca will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PLUGINS_INSTALL_DIR "${LIB_INSTALL_DIR}/${QCA_LIB_NAME}" CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_PLUGINS_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_PLUGINS_INSTALL_DIR "${LIB_INSTALL_DIR}/${QCA_LIB_NAME}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_BINARY_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_LIBRARY_INSTALL_DIR "${LIB_INSTALL_DIR}" CACHE PATH "Directory where qca library will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_FEATURE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/mkspecs/features" CACHE PATH "Directory where qca feature file will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_FEATURE_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_FEATURE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/mkspecs/features" CACHE PATH "Directory where qca feature file will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca public headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PRIVATE_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_DOC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/${QCA_LIB_NAME}/html" CACHE PATH "Directory where qca documentation will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Directory where qca man pages will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_PRIVATE_INCLUDE_INSTALL_DIR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_DOC_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_DOC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/${QCA_LIB_NAME}/html" CACHE PATH "Directory where qca documentation will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_MAN_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "Directory where qca man pages will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif( QCA_INSTALL_IN_QT_PREFIX )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(NOT PKGCONFIG_INSTALL_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(PKGCONFIG_INSTALL_PREFIX "${QCA_LIBRARY_INSTALL_DIR}/pkgconfig" CACHE PATH "Base directory for pkgconfig files")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- normalize_path(QCA_PREFIX_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -292,7 +306,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set( qca_CERTSTORE "${CMAKE_CURRENT_SOURCE_DIR}/certs/rootcerts.pem")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # note that INSTALL_FILES targets are relative to the current installation prefix...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES "${qca_CERTSTORE}" DESTINATION "${QCA_PREFIX_INSTALL_DIR}/certs")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ install(FILES "${qca_CERTSTORE}" DESTINATION "${QCA_PREFIX_INSTALL_DIR}/share/certs")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif (qca_CERTSTORE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- message(STATUS "certstore path: " ${qca_CERTSTORE})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -374,7 +388,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure_package_config_file(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${CMAKE_CURRENT_SOURCE_DIR}/QcaConfig.cmake.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfig.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- INSTALL_DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ INSTALL_DESTINATION ${CMAKE_MODULES_DIR}/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- write_basic_config_version_file("${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfigVersion.cmake" VERSION ${QCA_LIB_VERSION_STRING} COMPATIBILITY AnyNewerVersion)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -434,10 +448,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- message("")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(EXPORT QCATargets DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca FILE QcaTargets.cmake)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ install(EXPORT QCATargets DESTINATION ${CMAKE_MODULES_DIR}/Qca FILE QcaTargets.cmake)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install(FILES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfig.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfigVersion.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ DESTINATION ${CMAKE_MODULES_DIR}/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-CMakeLists.txt_plugins.diff b/devel/qca/files/patch-CMakeLists.txt_plugins.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 6901ca7..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/qca/files/patch-CMakeLists.txt_plugins.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,351 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6,30 +6,27 @@ if(NOT CMAKE_INSTALL_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- unset(CMAKE_INSTALL_PREFIX CACHE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif(NOT CMAKE_INSTALL_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--project(qca)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+project(qca-plugins)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmake_minimum_required(VERSION 2.6.0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_LIB_MAJOR_VERSION "2")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_LIB_MINOR_VERSION "1")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_LIB_PATCH_VERSION "0")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+set(QCA_LIB_VERSION ${QCA_LIB_MAJOR_VERSION}.${QCA_LIB_MINOR_VERSION}.${QCA_LIB_PATCH_VERSION})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Do not automatically link Qt executables to qtmain target on Windows.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # QCA exucatables use console mode only. Not need to link against
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # qtmain.lib.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmake_policy(SET CMP0020 OLD)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--option(BUILD_TESTS "Create test" ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--option(BUILD_TOOLS "Compile mozcerts and qcatool" ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set(BUILD_PLUGINS "auto" CACHE STRING "Plugins for building (also possible values: none, all and auto)")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--option(BUILD_SHARED_LIBS "Build shared library" ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--option(DEVELOPER_MODE "Special developer mode" OFF)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+find_package(Qca ${QCA_LIB_VERSION} EXACT REQUIRED)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+get_property(QCA_INCLUDE_DIRS TARGET qca PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+get_property(QCA_LIBRARY TARGET qca PROPERTY IMPORTED_LOCATION_RELEASE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+set(QCA_LIB_NAME ${QCA_LIBRARY})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+include_directories(${QCA_INCLUDE_DIRS})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(APPLE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- option(OSX_FRAMEWORK "Build a Mac OS X Framework" ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(OSX_FRAMEWORK OFF)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+set(BUILD_PLUGINS "none" CACHE STRING "Plugins for building (also possible values: none, all and auto)")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- find_package(Doxygen)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -75,32 +72,7 @@ else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_QT_PC_VERSION "QtCore")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# QCA can be shared but plugins will be static
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# if Qt is static.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(NOT BUILD_SHARED_LIBS OR QT_IS_STATIC)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(STATIC_PLUGINS ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_definitions(-DQT_STATICPLUGIN)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PLUGIN_TYPE "STATIC")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--else(NOT BUILD_SHARED_LIBS OR QT_IS_STATIC)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PLUGIN_TYPE "MODULE")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(NOT BUILD_SHARED_LIBS OR QT_IS_STATIC)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set(QCA_SUFFIX "" CACHE STRING "QCA common suffix")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(QCA_SUFFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_LIB_NAME qca-${QCA_SUFFIX})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_TOOL_NAME qcatool-${QCA_SUFFIX})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(MOZCERTS_NAME mozcerts-${QCA_SUFFIX})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PC_NAME qca2-${QCA_SUFFIX}.pc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--else(QCA_SUFFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_LIB_NAME qca)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_TOOL_NAME qcatool)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(MOZCERTS_NAME mozcerts)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PC_NAME qca2.pc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(QCA_SUFFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set(QCA_LIB_VERSION_STRING "${QCA_LIB_MAJOR_VERSION}.${QCA_LIB_MINOR_VERSION}.${QCA_LIB_PATCH_VERSION}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--configure_file("include/QtCrypto/qca_version.h.in" "${CMAKE_BINARY_DIR}/qca_version.h")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+set(PLUGIN_TYPE "MODULE")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(CMAKE_DEBUG_POSTFIX "d")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -118,9 +90,6 @@ if (CMAKE_COMPILER_IS_GNUCXX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif (CMAKE_COMPILER_IS_GNUCXX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- add_definitions (${QT_DEFINITIONS})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include_directories("include/QtCrypto/")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# for generated files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include_directories(${CMAKE_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # uninstall target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -166,17 +135,31 @@ else( QCA_INSTALL_IN_QT_PREFIX )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "Directory where lib will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_PREFIX_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Directory where qca will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PLUGINS_INSTALL_DIR "${LIB_INSTALL_DIR}/${QCA_LIB_NAME}" CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_PLUGINS_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_PLUGINS_INSTALL_DIR "${LIB_INSTALL_DIR}/${QCA_LIB_NAME}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_BINARY_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Directory where qca plugins will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_LIBRARY_INSTALL_DIR "${LIB_INSTALL_DIR}" CACHE PATH "Directory where qca library will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_FEATURE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/mkspecs/features" CACHE PATH "Directory where qca feature file will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_FEATURE_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_FEATURE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/mkspecs/features" CACHE PATH "Directory where qca feature file will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca public headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_PRIVATE_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_DOC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/${QCA_LIB_NAME}/html" CACHE PATH "Directory where qca documentation will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(QCA_MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Directory where qca man pages will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_PRIVATE_INCLUDE_INSTALL_DIR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Directory where qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ headers will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_DOC_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_DOC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/${QCA_LIB_NAME}/html" CACHE PATH "Directory where qca documentation will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT QCA_MAN_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(QCA_MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "Directory where qca man pages will install")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif( QCA_INSTALL_IN_QT_PREFIX )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(NOT PKGCONFIG_INSTALL_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(PKGCONFIG_INSTALL_PREFIX "${QCA_LIBRARY_INSTALL_DIR}/pkgconfig" CACHE PATH "Base directory for pkgconfig files")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- normalize_path(QCA_PREFIX_INSTALL_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -203,22 +186,6 @@ foreach(PATH QCA_PLUGINS_INSTALL_DIR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endforeach()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(NOT WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(OSX_FRAMEWORK)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PKGCONFIG_CFLAGS "-F\${libdir} -I\${libdir}/${QCA_LIB_NAME}.framework/Headers")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PKGCONFIG_LIBS "-F\${libdir} -framework ${QCA_LIB_NAME}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PKGCONFIG_CFLAGS "-I\${includedir}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(PKGCONFIG_LIBS "-L\${libdir} -l${QCA_LIB_NAME}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # qca2.pc uses absolute paths. So it must be there. Don't rellocate this.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- configure_file("qca2.pc.cmake" "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pkgconfig/${QCA_PC_NAME}" @ONLY)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pkgconfig/${QCA_PC_NAME}" DESTINATION ${PKGCONFIG_INSTALL_PREFIX})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(NOT WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # strip CMAKE_INSTALL_PREFIX in all paths
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(USE_RELATIVE_PATHS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- message(STATUS "Installed package is relocatable")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -241,203 +208,14 @@ else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(CRYPTO_PRF_RELATIVE_PATH "")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_definitions(-DDEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# To prefer plugins from build tree when run qca from build tree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- file(WRITE ${CMAKE_BINARY_DIR}/bin/qt.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--"[Paths]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--Plugins=${CMAKE_BINARY_DIR}/lib/${QCA_LIB_NAME}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (APPLE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- find_package(Carbon REQUIRED)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(CMAKE_INSTALL_NAME_DIR ${QCA_LIBRARY_INSTALL_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif (APPLE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--message(STATUS "Checking for certstore..")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# fixme add OR mac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if( WIN32 )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# USE BUILTIN
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--else ( WIN32 )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if ( ENV{QC_CERTSTORE_PATH} )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(EXISTS ENV{QC_CERTSTORE_PATH})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set( qca_CERTSTORE $ENV{QC_CERTSTORE_PATH})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else(EXISTS ENV{QC_CERTSTORE_PATH})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # path to try
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif(EXISTS ENV{QC_CERTSTORE_PATH})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else( ENV{QC_CERTSTORE_PATH} )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set( toTry
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/etc/ssl/certs/ca-certificates.crt"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/usr/share/ssl/cert.pem"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/usr/share/ssl/certs/ca-bundle.crt"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/etc/pki/tls/cert.pem"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/etc/ssl/ca-bundle.pem"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "/usr/share/curl/curl-ca-bundle.crt"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- foreach (_current_try ${toTry})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(EXISTS ${_current_try})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set( qca_CERTSTORE ${_current_try})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif(EXISTS ${_current_try})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endforeach (_current_try)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif( ENV{QC_CERTSTORE_PATH} )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if (qca_CERTSTORE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message(STATUS "Found system certstore")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--else (qca_CERTSTORE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message(STATUS "Using built in certstore.")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set( qca_CERTSTORE "${CMAKE_CURRENT_SOURCE_DIR}/certs/rootcerts.pem")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # note that INSTALL_FILES targets are relative to the current installation prefix...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES "${qca_CERTSTORE}" DESTINATION "${QCA_PREFIX_INSTALL_DIR}/certs")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif (qca_CERTSTORE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--message(STATUS "certstore path: " ${qca_CERTSTORE})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--add_definitions( -DQCA_SYSTEMSTORE_PATH="${qca_CERTSTORE}" )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set( private_HEADERS ${qca_INCLUDEDIR}/QtCrypto/qca_plugin.h ${qca_INCLUDEDIR}/QtCrypto/qca_systemstore.h )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set( public_HEADERS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qcaprovider.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/QtCrypto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_export.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_support.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_tools.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_core.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_textfilter.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_basic.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_publickey.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_cert.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_keystore.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_securelayer.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_securemessage.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${CMAKE_BINARY_DIR}/qca_version.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qpipe.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${qca_INCLUDEDIR}/QtCrypto/qca_safetimer.h)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--set( qca_HEADERS ${private_HEADERS} ${public_HEADERS} )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include_directories(${QT_QTCORE_INCLUDE_DIR} "${qca_INCLUDEDIR}/QtCrypto")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--configure_file("crypto.prf.cmake" "${CMAKE_BINARY_DIR}/mkspecs/features/crypto.prf" @ONLY)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES "${CMAKE_BINARY_DIR}/mkspecs/features/crypto.prf" DESTINATION "${QCA_FEATURE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif(APPLE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--configure_file(man/qcatool.1 "${CMAKE_BINARY_DIR}/share/man/man1/${QCA_TOOL_NAME}.1" COPYONLY)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES "${CMAKE_BINARY_DIR}/share/man/man1/${QCA_TOOL_NAME}.1" DESTINATION "${QCA_MAN_INSTALL_DIR}/man1")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+include_directories(${QT_QTCORE_INCLUDE_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(QCA_CRYPTO_INSTALL_DIR "${QCA_PLUGINS_INSTALL_DIR}/crypto")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--add_subdirectory(src)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- add_subdirectory(plugins)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(STATIC_PLUGINS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # Generate header with static plugins list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- file(WRITE "${CMAKE_BINARY_DIR}/import_plugins.h" "#include <QtPlugin>\n")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- foreach(PLUGIN IN LISTS PLUGINS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(WITH_${PLUGIN}_PLUGIN_INTERNAL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string(REPLACE "-" "_" IMPORT_NAME "qca-${PLUGIN}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- file(APPEND "${CMAKE_BINARY_DIR}/import_plugins.h" "Q_IMPORT_PLUGIN(${IMPORT_NAME})\n")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif(WITH_${PLUGIN}_PLUGIN_INTERNAL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endforeach(PLUGIN IN LISTS PLUGINS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(STATIC_PLUGINS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(BUILD_TESTS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- enable_testing()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_subdirectory(unittest)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_subdirectory(examples)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(BUILD_TESTS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(BUILD_TOOLS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_subdirectory(tools)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(BUILD_TOOLS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(DOXYGEN_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- configure_file(${CMAKE_SOURCE_DIR}/Doxyfile.in ${CMAKE_BINARY_DIR}/Doxyfile @ONLY)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_custom_target(doc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/images
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/images/qca-arch.eps ${CMAKE_BINARY_DIR}/images/qca-arch.eps
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/images/qca-arch.png ${CMAKE_BINARY_DIR}/images/qca-arch.png
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- COMMENT "Generating API documentation with Doxygen" VERBATIM)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(DOXYGEN_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include(CMakePackageConfigHelpers)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--configure_package_config_file(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "${CMAKE_CURRENT_SOURCE_DIR}/QcaConfig.cmake.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfig.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- INSTALL_DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--write_basic_config_version_file("${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfigVersion.cmake" VERSION ${QCA_LIB_VERSION_STRING} COMPATIBILITY AnyNewerVersion)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(NOT DEVELOPER_MODE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # /usr/local is traditional path for installing apps on POSIX-systems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # I consciously break this. Qt by default looks plugins and features only in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # own directory. So by default install libs in Qt prefix it is a best choice.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # This can be unwanted behaviour for users who don't read INSTALL file or/and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # not read cmake reports. I just try to warn their.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # In really anybody who do cmake . && make && sudo make install do it for own risk.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(QCA_INSTALL_IN_QT_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- string(ASCII 27 ESCAPE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("${ESCAPE}[31m")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("!!!!!!!!!!!!!!!!!!!!!ATTENTION!!!!!!!!!!!!!!!!!!!!!!")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("!! QCA will be installed in Qt prefix !!")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("!! If you want to install in /usr/local !!")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("!! you MUST explicity define CMAKE_INSTALL_PREFIX !!")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("${ESCAPE}[0m")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif(QCA_INSTALL_IN_QT_PREFIX)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(USE_RELATIVE_PATHS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("QCA prefix is " "${QCA_PREFIX_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Plugins will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_PLUGINS_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Binary will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_BINARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(OSX_FRAMEWORK)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Framework will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_LIBRARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Library will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_LIBRARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Public headers will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_INCLUDE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Private headers will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_PRIVATE_INCLUDE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Feature file will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_FEATURE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Documentation will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_DOC_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Man page will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${QCA_MAN_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Pkg-config file will be installed to " "${QCA_PREFIX_INSTALL_DIR}/${PKGCONFIG_INSTALL_PREFIX}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("QCA prefix is " "${QCA_PREFIX_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Plugins will be installed to " "${QCA_PLUGINS_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Binary will be installed to " "${QCA_BINARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(OSX_FRAMEWORK)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Framework will be installed to " "${QCA_LIBRARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Library will be installed to " "${QCA_LIBRARY_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Public headers will be installed to " "${QCA_INCLUDE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Private headers will be installed to " "${QCA_PRIVATE_INCLUDE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Feature file will be installed to " "${QCA_FEATURE_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Documentation will be installed to " "${QCA_DOC_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Man page will be installed to " "${QCA_MAN_INSTALL_DIR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("Pkg-config file will be installed to " "${PKGCONFIG_INSTALL_PREFIX}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message("")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(EXPORT QCATargets DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca FILE QcaTargets.cmake)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install(FILES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfig.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/Qca/QcaConfigVersion.cmake"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- DESTINATION ${QCA_LIBRARY_INSTALL_DIR}/cmake/Qca
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif()
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-include_QtCrypto_qca_basic.h.diff b/devel/qca/files/patch-include_QtCrypto_qca_basic.h.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 173f258..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/qca/files/patch-include_QtCrypto_qca_basic.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- include/QtCrypto/qca_basic.h.orig 2014-11-06 09:15:45.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ include/QtCrypto/qca_basic.h 2015-11-24 14:28:04.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -34,6 +34,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define QCA_BASIC_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "qca_core.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <QIODevice>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-qca-ossl.diff b/devel/qca/files/patch-qca-ossl.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..54bafe4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qca/files/patch-qca-ossl.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,85 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git plugins/qca-ossl/qca-ossl.cpp plugins/qca-ossl/qca-ossl.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 783a20d..b218992 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/qca-ossl/qca-ossl.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/qca-ossl/qca-ossl.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1930,7 +1930,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_sha1();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if(alg == EMSA3_MD5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_md5();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if(alg == EMSA3_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_md2();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1958,7 +1958,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_sha1();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if(alg == EMSA3_MD5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_md5();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if(alg == EMSA3_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ md = EVP_md2();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3606,7 +3606,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md5WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md2WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4106,7 +4106,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md5WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md2WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4298,7 +4298,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md5WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case NID_md2WithRSAEncryption:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p.sigalgo = QCA::EMSA3_MD2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6878,7 +6878,7 @@ static QStringList all_hash_types()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "sha1";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "sha0";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "ripemd160";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "md2";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "md4";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7098,7 +7098,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += all_hash_types();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += all_mac_types();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += all_cipher_types();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "pbkdf1(md2)";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list += "pbkdf1(sha1)";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7133,7 +7133,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return new opensslHashContext( EVP_sha(), this, type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if ( type == "ripemd160" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return new opensslHashContext( EVP_ripemd160(), this, type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if ( type == "md2" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return new opensslHashContext( EVP_md2(), this, type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7165,7 +7165,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if ( type == "pbkdf1(sha1)" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return new opensslPbkdf1Context( EVP_sha1(), this, type );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_OPENSSL_MD2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(HAVE_OPENSSL_MD2) && !defined(OPENSSL_NO_MD2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if ( type == "pbkdf1(md2)" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return new opensslPbkdf1Context( EVP_md2(), this, type );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-qca210-qt550.diff b/devel/qca/files/patch-qca210-qt550.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..4a8570e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qca/files/patch-qca210-qt550.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/QtCrypto/orig.qca_core.h 2014-11-06 09:15:45.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/QtCrypto/qca_core.h 2015-10-05 15:33:26.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,6 +38,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QList>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QSharedData>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QSharedDataPointer>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <QIODevice>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "qca_export.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "qca_support.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "qca_tools.h"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qca/files/patch-qca210-qt56x.diff b/devel/qca/files/patch-qca210-qt56x.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1e0609c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qca/files/patch-qca210-qt56x.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/QtCrypto/orig.qca_safetimer.h 2015-01-13 17:22:06.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/QtCrypto/qca_safetimer.h 2016-06-15 18:57:40.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,12 +44,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void setSingleShot(bool singleShot);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int timerId() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-public slots:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++public Q_SLOTS:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void start(int msec);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void start();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void stop();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-signals:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Q_SIGNALS:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void timeout();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ protected:
</span></pre><pre style='margin:0'>
</pre>