public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qxmpp] rawhide: Update to 1.17.0
@ 2026-10-26 18:40 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-26 18:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qxmpp
Branch : rawhide
Commit : 56023ce3676fbd5b5241e24c9cdb09d20daa4d64
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-22T23:57:58-04:00
Stats : +16/-93 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/qxmpp/c/56023ce3676fbd5b5241e24c9cdb09d20daa4d64?branch=rawhide
Log:
Update to 1.17.0
---
diff --git a/.gitignore b/.gitignore
index 17d2728..c671d6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/qxmpp-v1.12.0.tar.gz
/qxmpp-v1.14.2.tar.gz
/qxmpp-v1.14.7.tar.gz
+/qxmpp-v1.17.0.tar.gz
diff --git a/docbook.patch b/docbook.patch
deleted file mode 100644
index 2769424..0000000
--- a/docbook.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-diff -ruN qxmpp-v1.14.2/CMakeLists.txt qxmpp-v1.14.2-mod/CMakeLists.txt
---- qxmpp-v1.14.2/CMakeLists.txt 2026-02-21 16:56:25.000000000 +0300
-+++ qxmpp-v1.14.2-mod/CMakeLists.txt 2026-02-22 09:58:55.283490506 +0300
-@@ -43,7 +43,8 @@
- option(BUILD_WITH_QT6 "Force build with Qt 6")
- option(BUILD_SHARED "Build shared library" ON)
- option(BUILD_TESTS "Build tests." ON)
--option(BUILD_DOCUMENTATION "Build API documentation." OFF)
-+option(BUILD_DOCUMENTATION "Build HTML API documentation." OFF)
-+option(BUILD_DOCBOOK_DOCUMENTATION "Build DOCBOOK documentation." OFF)
- option(BUILD_EXAMPLES "Build examples." ON)
- option(BUILD_OMEMO "Build the OMEMO module" OFF)
- option(WITH_GSTREAMER "Build with GStreamer support for Jingle" OFF)
-@@ -96,7 +97,7 @@
- add_subdirectory(tests)
- endif()
-
--if(BUILD_DOCUMENTATION)
-+if(BUILD_DOCUMENTATION OR BUILD_DOCBOOK_DOCUMENTATION)
- add_subdirectory(doc)
- endif()
-
-diff -ruN qxmpp-v1.14.2/doc/CMakeLists.txt qxmpp-v1.14.2-mod/doc/CMakeLists.txt
---- qxmpp-v1.14.2/doc/CMakeLists.txt 2026-02-21 16:56:25.000000000 +0300
-+++ qxmpp-v1.14.2-mod/doc/CMakeLists.txt 2026-02-22 14:25:31.016279459 +0300
-@@ -8,19 +8,37 @@
- message(FATAL_ERROR "Doxygen is needed to build the documentation.")
- endif()
-
-+if(BUILD_DOCUMENTATION)
-+ set(HTML "YES")
-+else()
-+ set(HTML "NO")
-+endif()
-+if(BUILD_DOCBOOK_DOCUMENTATION)
-+ set(DOCBOOK "YES")
-+else()
-+ set(DOCBOOK "NO")
-+endif()
-+
- configure_file(
- ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
- ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
- @ONLY
- )
-
--add_custom_target(
-- doc ALL
-- COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
-- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-- COMMENT "Generate API documentation with Doxygen"
-- VERBATIM
--)
-+if(BUILD_DOCUMENTATION OR BUILD_DOCBOOK_DOCUMENTATION)
-+ add_custom_target(
-+ doc ALL
-+ COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
-+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-+ COMMENT "Generate API documentation with Doxygen"
-+ VERBATIM
-+ )
-+endif()
-
--install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${CMAKE_INSTALL_DOCDIR})
-+if(BUILD_DOCUMENTATION)
-+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${CMAKE_INSTALL_DOCDIR})
-+endif()
-
-+if(BUILD_DOCBOOK_DOCUMENTATION)
-+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docbook DESTINATION ${CMAKE_INSTALL_DATADIR}/help/en/qxmpp)
-+endif()
-diff -ruN qxmpp-v1.14.2/doc/Doxyfile.in qxmpp-v1.14.2-mod/doc/Doxyfile.in
---- qxmpp-v1.14.2/doc/Doxyfile.in 2026-02-21 16:56:25.000000000 +0300
-+++ qxmpp-v1.14.2-mod/doc/Doxyfile.in 2026-02-22 14:03:08.438465055 +0300
-@@ -19,6 +19,8 @@
- FULL_PATH_NAMES = NO
- HIDE_UNDOC_CLASSES = YES
- GENERATE_LATEX = NO
-+GENERATE_HTML = @HTML@
-+GENERATE_DOCBOOK = @DOCBOOK@
- QUIET = YES
- RECURSIVE = YES
- ENABLE_PREPROCESSING = YES
diff --git a/qxmpp.spec b/qxmpp.spec
index 34901b8..8d28e94 100644
--- a/qxmpp.spec
+++ b/qxmpp.spec
@@ -1,10 +1,10 @@
-%global sover 8
+%global sover 11
%bcond_without check
%bcond_with all_tests
Name: qxmpp
-Version: 1.14.7
+Version: 1.17.0
Release: %autorelease
Summary: Cross-platform C++ XMPP client and server library
@@ -14,15 +14,14 @@ Summary: Cross-platform C++ XMPP client and server library
License: LGPL-2.1-or-later AND CC0-1.0 AND CC-BY-SA-4.0
URL: https://invent.kde.org/libraries/qxmpp
Source0: %{url}/-/archive/v%{version}/qxmpp-v%{version}.tar.gz
-# Generate docbook documentation instead of html
-# https://invent.kde.org/libraries/qxmpp/-/merge_requests/743
-Patch0: docbook.patch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: doxygen
+BuildRequires: extra-cmake-modules
# optional for QXmpp OMEMO module
+BuildRequires: pkgconfig(openssl)
BuildRequires: libomemo-c-devel
BuildRequires: protobuf-c-devel
@@ -49,6 +48,8 @@ BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: qca-qt6-devel
# calls
BuildRequires: pkgconfig(gstreamer-1.0)
+# docs
+BuildRequires: qt6-doctools
%description qt6
%{_description}
@@ -75,22 +76,26 @@ This package contains documentation for %{name}.
OPTIONS=(
-GNinja \
-DBUILD_TESTS=ON \
- -DBUILD_DOCUMENTATION=OFF \
- -DBUILD_DOCBOOK_DOCUMENTATION=ON \
+ -DBUILD_DOCUMENTATION=ON \
-DBUILD_OMEMO=ON \
-DWITH_GSTREAMER=ON \
)
%global _vpath_builddir %{_target_platform}-qt6
+export KDE_DOCS="/usr/share/doc/qt6/kde-qdoc-common"
%cmake \
${OPTIONS[@]} \
-DQT_VERSION_MAJOR=6 \
%cmake_build
+%cmake_build --target generate_docs
%install
%global _vpath_builddir %{_target_platform}-qt6
%cmake_install
+mkdir -p %{buildroot}%{_qt6_docdir}
+cp -r %{_vpath_builddir}/doc/qdoc/qxmpp/ %{buildroot}%{_qt6_docdir}/
+rm -fr %{buildroot}%{_pkgdocdir}/qxmpp/
%if %{with check}
%check
@@ -134,8 +139,8 @@ SKIP_TESTS+='|tst_qxmppjinglemessageinitiationmanager'
%{_libdir}/pkgconfig/QXmppQt6.pc
%files doc
-%dir %{_datadir}/help/en
-%lang(en) %{_datadir}/help/en/qxmpp
+%dir %{_qt6_docdir}
+%{_qt6_docdir}/%{name}
%changelog
%autochangelog
diff --git a/sources b/sources
index 7b8b62b..6ec1d23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qxmpp-v1.14.7.tar.gz) = 8510bc391b568127c4c5474814b753fbbd390adf2892daa602399e72dd36be092ce72e88f2e431deb1ae7f8abebdf8c04d6acf1b45ddef13b0e019b37d07c75f
+SHA512 (qxmpp-v1.17.0.tar.gz) = e5564658a0841c1c11acbf39900005e26cf5bcbd0605d19a7e5547a2aa4ab6bfb57707afc484af4ce37f1999cba9d57636133eeaa31c63a560dabe8b1d34e88f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 18:40 [rpms/qxmpp] rawhide: Update to 1.17.0 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox