256.4. kdsoap-2.3.0
KDAB's Qt SOAP library, client and server, with the kdwsdl2cpp code generator
2.3.0-1 · MIT AND LGPL-2.0-or-later · 3.5 SBU · 2.1 MiB, 86 files · 43_toolkits, 137 of 344 · ports/core/qt-extra/kdsoap
Homepage: https://github.com/KDAB/KDSoap
KD SOAP is KDAB’s SOAP library for Qt: libkdsoap-qt6 for clients, libkdsoap-server-qt6 for servers, and kdwsdl2cpp-qt6, which turns a WSDL description into C++ client and server classes at build time. kdsoap-ws-discovery-client is generated with it, and through that the smb worker of kio-extras finds Windows and Samba hosts on the local network. Consumers find it with find_package(KDSoap-qt6).
Depends on: cmake, ninja, qt6-qtbase.
Required by (1): kdsoap-ws-discovery-client.
Sources: kdsoap-2.3.0.tar.gz (1.1 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kdsoap'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D KDSoap_QT6=ON \
-D KDSoap_STATIC=OFF \
-D KDSoap_EXAMPLES=OFF \
-D KDSoap_TESTS=OFF \
-D KDSoap_DOCS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_INSTALL_LIBDIR=lib— KD SOAP is a plain CMake project; itsKDInstallLocationmodule includesGNUInstallDirsand installs toCMAKE_INSTALL_LIBDIR.-D KDE_INSTALL_USE_QT_SYS_PATHS=ON— Read by the copy of ECM’sECMGeneratePriFilethat KD SOAP carries: it puts the qmake.prifiles in Qt’s ownmkspecs/modulesdirectory instead of amkspecs/at the top of the prefix.-D KDSoap_QT6=ON— Build against Qt 6, which names every library, header directory and CMake package with a-qt6suffix. On is upstream’s default; the recipe names it, because the Qt 5 build installs under the same names without the suffix and is not what any consumer here asks for.-D KDSoap_STATIC=OFF— Shared libraries, upstream’s default.-D KDSoap_EXAMPLES=OFF— Build none of the example programs, which upstream builds by default.-D KDSoap_TESTS=OFF— Build no tests. KD SOAP reads this switch and notBUILD_TESTING.-D KDSoap_DOCS=OFF— Build no API documentation, which needs Doxygen.
Programs: kdwsdl2cpp-qt6.
Libraries: libkdsoap-qt6.so, libkdsoap-server-qt6.so.
Directories: /usr/include/KDSoapClient-Qt6, /usr/include/KDSoapServer-Qt6, /usr/lib/cmake/KDSoap-qt6, /usr/share/doc/KDSoap-qt6, /usr/share/licenses/kdsoap.
kdwsdl2cpp is compiled with libkode, KDAB’s code-generation library, which the release carries in kdwsdl2cpp/libkode/. libkode is LGPL-2.0-or-later and the libraries MIT, so license names both; upstream states that the code kdwsdl2cpp generates may carry any licence. The install also copies upstream’s README.md and LICENSES/ into /usr/share/doc/KDSoap-qt6.