Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libqxmpp for openSUSE:Factory checked in at 2026-08-01 18:35:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqxmpp (Old) and /work/SRC/openSUSE:Factory/.libqxmpp.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqxmpp" Sat Aug 1 18:35:48 2026 rev:50 rq:1368987 version:1.16.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libqxmpp/libqxmpp.changes 2026-07-21 23:12:14.974091051 +0200 +++ /work/SRC/openSUSE:Factory/.libqxmpp.new.16738/libqxmpp.changes 2026-08-01 18:38:23.378541755 +0200 @@ -1,0 +2,12 @@ +Sat Aug 1 08:38:30 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 1.16.3 + * Docs: Skip API documentation generation when Qt6::qdoc + is unavailable + * Utils: Fix installed private header QXmppUtils_p.h including + the non-installed Algorithms.h, which broke building against + the installed QXmpp headers + - Drop qxmpp-1.16.1-install-Algorithms-private-header.patch. + No longer needed. + +------------------------------------------------------------------- Old: ---- qxmpp-1.16.1-install-Algorithms-private-header.patch qxmpp-1.16.1.tar.xz qxmpp-1.16.1.tar.xz.sig New: ---- qxmpp-1.16.3.tar.xz qxmpp-1.16.3.tar.xz.sig ----------(Old B)---------- Old: the installed QXmpp headers - Drop qxmpp-1.16.1-install-Algorithms-private-header.patch. No longer needed. ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqxmpp.spec ++++++ --- /var/tmp/diff_new_pack.0F9XEi/_old 2026-08-01 18:38:24.014563630 +0200 +++ /var/tmp/diff_new_pack.0F9XEi/_new 2026-08-01 18:38:24.018563767 +0200 @@ -20,7 +20,7 @@ %define sover 10 Name: libqxmpp -Version: 1.16.1 +Version: 1.16.3 Release: 0 Summary: Qt XMPP Library License: LGPL-2.1-or-later @@ -28,10 +28,6 @@ Source0: https://download.kde.org/unstable/qxmpp/qxmpp-%{version}.tar.xz Source1: https://download.kde.org/unstable/qxmpp/qxmpp-%{version}.tar.xz.sig Source2: qxmpp.keyring - -# PATCH-FIX-UPSTREAM to install Algorithms private header -Patch0: qxmpp-1.16.1-install-Algorithms-private-header.patch - BuildRequires: fdupes # The default GCC version is too old in Leap 16 %if 0%{?suse_version} >= 1600 && 0%{?suse_version} < 1699 ++++++ qxmpp-1.16.1.tar.xz -> qxmpp-1.16.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/CHANGELOG.md new/qxmpp-1.16.3/CHANGELOG.md --- old/qxmpp-1.16.1/CHANGELOG.md 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/CHANGELOG.md 2026-07-23 16:29:22.000000000 +0200 @@ -4,6 +4,16 @@ SPDX-License-Identifier: CC0-1.0 --> +QXmpp 1.16.3 (July 23, 2026) +---------------------------- + + - Utils: Fix installed private header QXmppUtils_p.h including the non-installed Algorithms.h, which broke building against the installed QXmpp headers (@lnj) + +QXmpp 1.16.2 (July 11, 2026) +---------------------------- + + - Docs: Skip API documentation generation when Qt6::qdoc is unavailable, fixing the build on platforms where Qt ships without qdoc (@lnj) + QXmpp 1.16.1 (June 25, 2026) ---------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/CMakeLists.txt new/qxmpp-1.16.3/CMakeLists.txt --- old/qxmpp-1.16.1/CMakeLists.txt 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/CMakeLists.txt 2026-07-23 16:29:22.000000000 +0200 @@ -3,7 +3,7 @@ # SPDX-License-Identifier: CC0-1.0 cmake_minimum_required(VERSION 3.16) -project(qxmpp VERSION 1.16.1) +project(qxmpp VERSION 1.16.3) set(SO_VERSION 10) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/docs/CMakeLists.txt new/qxmpp-1.16.3/docs/CMakeLists.txt --- old/qxmpp-1.16.1/docs/CMakeLists.txt 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/docs/CMakeLists.txt 2026-07-23 16:29:22.000000000 +0200 @@ -35,6 +35,17 @@ endif() find_package(Qt6 REQUIRED COMPONENTS Tools) + +# Qt6::Tools being present does not guarantee qdoc: it is only built when Qt +# was compiled with libclang. Some Qt builds ship Tools without qdoc, so skip +# documentation generation instead of failing. +if(NOT TARGET Qt6::qdoc) + message(WARNING + "Qt6::qdoc not available (Qt built without libclang?) — " + "skipping API documentation generation.") + return() +endif() + get_target_property(_qdoc_actual Qt6::qdoc LOCATION) set(_qdoc_wrapper "${CMAKE_CURRENT_BINARY_DIR}/qdoc-wrapper.sh") file(WRITE ${_qdoc_wrapper} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/docs/doap.xml new/qxmpp-1.16.3/docs/doap.xml --- old/qxmpp-1.16.1/docs/doap.xml 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/docs/doap.xml 2026-07-23 16:29:22.000000000 +0200 @@ -807,6 +807,20 @@ </implements> <release> <Version> + <revision>1.16.3</revision> + <created>2026-07-23</created> + <file-release rdf:resource='https://download.kde.org/unstable/qxmpp/qxmpp-1.16.3.tar.xz'/> + </Version> + </release> + <release> + <Version> + <revision>1.16.2</revision> + <created>2026-07-11</created> + <file-release rdf:resource='https://download.kde.org/unstable/qxmpp/qxmpp-1.16.2.tar.xz'/> + </Version> + </release> + <release> + <Version> <revision>1.16.1</revision> <created>2026-06-25</created> <file-release rdf:resource='https://download.kde.org/unstable/qxmpp/qxmpp-1.16.1.tar.xz'/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/base/Iq.h new/qxmpp-1.16.3/src/base/Iq.h --- old/qxmpp-1.16.1/src/base/Iq.h 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/base/Iq.h 2026-07-23 16:29:22.000000000 +0200 @@ -10,6 +10,7 @@ #include "QXmppStanza.h" #include "QXmppVisitHelper_p.h" +#include "Algorithms.h" #include "StringLiterals.h" #include "XmlWriter.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/base/QXmppDataForm.cpp new/qxmpp-1.16.3/src/base/QXmppDataForm.cpp --- old/qxmpp-1.16.1/src/base/QXmppDataForm.cpp 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/base/QXmppDataForm.cpp 2026-07-23 16:29:22.000000000 +0200 @@ -9,6 +9,7 @@ #include "QXmppDataFormBase.h" #include "QXmppUtils_p.h" +#include "Algorithms.h" #include "StringLiterals.h" #include "XmlWriter.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/base/QXmppDiscoveryIq.cpp new/qxmpp-1.16.3/src/base/QXmppDiscoveryIq.cpp --- old/qxmpp-1.16.1/src/base/QXmppDiscoveryIq.cpp 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/base/QXmppDiscoveryIq.cpp 2026-07-23 16:29:22.000000000 +0200 @@ -8,6 +8,7 @@ #include "QXmppConstants_p.h" #include "QXmppUtils_p.h" +#include "Algorithms.h" #include "StringLiterals.h" #include "XmlWriter.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/base/QXmppPresence.cpp new/qxmpp-1.16.3/src/base/QXmppPresence.cpp --- old/qxmpp-1.16.1/src/base/QXmppPresence.cpp 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/base/QXmppPresence.cpp 2026-07-23 16:29:22.000000000 +0200 @@ -12,6 +12,7 @@ #include "QXmppUtils_p.h" #include "QXmppXmlExtensions.h" +#include "Algorithms.h" #include "StringLiterals.h" #include "XmlWriter.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/base/QXmppUtils_p.h new/qxmpp-1.16.3/src/base/QXmppUtils_p.h --- old/qxmpp-1.16.1/src/base/QXmppUtils_p.h 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/base/QXmppUtils_p.h 2026-07-23 16:29:22.000000000 +0200 @@ -9,8 +9,6 @@ #include "QXmppGlobal.h" #include "QXmppXmlTags_p.h" -#include "Algorithms.h" - #include <functional> #include <optional> #include <stdint.h> @@ -226,19 +224,37 @@ return elements; } +// Append a value to a container regardless of whether it uses push_back() or insert(). +template<typename Container, typename Value> +inline void appendToContainer(Container &container, Value &&value) +{ + if constexpr (requires { container.push_back(std::forward<Value>(value)); }) { + container.push_back(std::forward<Value>(value)); + } else { + container.insert(std::forward<Value>(value)); + } +} + template<typename Container = QList<QString>> auto parseTextElements(const QDomElement &parent, QStringView tagName, QStringView xmlns) -> Container { - return transform<Container>(iterChildElements(parent, tagName, xmlns), &QDomElement::text); + Container result; + for (const auto &el : iterChildElements(parent, tagName, xmlns)) { + appendToContainer(result, el.text()); + } + return result; } template<typename Container = QList<QString>> auto parseSingleAttributeElements(const QDomElement &parent, QStringView tagName, QStringView xmlns, const QString &attribute) + -> Container { - return transform<Container>(iterChildElements(parent, tagName, xmlns), [=](const QDomElement &el) { - return el.attribute(attribute); - }); + Container result; + for (const auto &el : iterChildElements(parent, tagName, xmlns)) { + appendToContainer(result, el.attribute(attribute)); + } + return result; } QByteArray serializeXmlWriter(std::function<void(XmlWriter &)>); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qxmpp-1.16.1/src/client/QXmppPepBookmarkManager.cpp new/qxmpp-1.16.3/src/client/QXmppPepBookmarkManager.cpp --- old/qxmpp-1.16.1/src/client/QXmppPepBookmarkManager.cpp 2026-06-25 17:46:01.000000000 +0200 +++ new/qxmpp-1.16.3/src/client/QXmppPepBookmarkManager.cpp 2026-07-23 16:29:22.000000000 +0200 @@ -11,6 +11,7 @@ #include "QXmppPubSubManager.h" #include "QXmppUtils_p.h" +#include "Algorithms.h" #include "Global.h" #include "StringLiterals.h" #include "XmlWriter.h"
