From d5fbddc97d56995edacf5fc1d2147681af6e95c2 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Mon, 20 Feb 2023 16:46:01 +0100 Subject: [PATCH] Updated to version 0.9.2. --- mtxclient-gcc13-fixes.patch | 133 ------------------------------------ mtxclient.spec | 10 +-- sources | 2 +- 3 files changed, 6 insertions(+), 139 deletions(-) delete mode 100644 mtxclient-gcc13-fixes.patch diff --git a/mtxclient-gcc13-fixes.patch b/mtxclient-gcc13-fixes.patch deleted file mode 100644 index deecc8e..0000000 --- a/mtxclient-gcc13-fixes.patch +++ /dev/null @@ -1,133 +0,0 @@ -From 3437440a8aa5322c861cb5d5c38f887114b91763 Mon Sep 17 00:00:00 2001 -From: Vitaly Zaitsev -Date: Wed, 18 Jan 2023 09:52:55 +0100 -Subject: [PATCH] Added missing headers. Fixed build under GCC 13. - -Signed-off-by: Vitaly Zaitsev ---- - examples/crypto_bot.cpp | 1 + - include/mtx/events/mscs/image_packs.hpp | 1 + - include/mtxclient/crypto/objects.hpp | 1 + - include/mtxclient/crypto/utils.hpp | 1 + - include/mtxclient/utils.hpp | 1 + - lib/crypto/client.cpp | 1 + - lib/crypto/encoding.cpp | 1 + - lib/crypto/utils.cpp | 1 + - lib/structs/events/encrypted.cpp | 1 + - lib/utils.cpp | 1 + - 10 files changed, 10 insertions(+) - -diff --git a/examples/crypto_bot.cpp b/examples/crypto_bot.cpp -index bf6ef5c81..1938330df 100644 ---- a/examples/crypto_bot.cpp -+++ b/examples/crypto_bot.cpp -@@ -5,6 +5,7 @@ - #include "spdlog/spdlog.h" - - #include -+#include - #include - #include - #include -diff --git a/include/mtx/events/mscs/image_packs.hpp b/include/mtx/events/mscs/image_packs.hpp -index 165587ef2..2c875c559 100644 ---- a/include/mtx/events/mscs/image_packs.hpp -+++ b/include/mtx/events/mscs/image_packs.hpp -@@ -4,6 +4,7 @@ - /// @brief Image packs from [MSC2545](https://github.com/matrix-org/matrix-doc/pull/2545) - - #include -+#include - #include - #include - -diff --git a/include/mtxclient/crypto/objects.hpp b/include/mtxclient/crypto/objects.hpp -index 2bb3ceca4..0ef2a4d1b 100644 ---- a/include/mtxclient/crypto/objects.hpp -+++ b/include/mtxclient/crypto/objects.hpp -@@ -5,6 +5,7 @@ - /// - /// The wrappers implement RAII semantics, so you don't need to free stuff manually. - -+#include - #include - #include - #include -diff --git a/include/mtxclient/crypto/utils.hpp b/include/mtxclient/crypto/utils.hpp -index 361ffe36f..a145f483f 100644 ---- a/include/mtxclient/crypto/utils.hpp -+++ b/include/mtxclient/crypto/utils.hpp -@@ -3,6 +3,7 @@ - /// @file - /// @brief Various crypto functions. - -+#include - #include - #include - -diff --git a/include/mtxclient/utils.hpp b/include/mtxclient/utils.hpp -index 7e7d4717c..1977caee2 100644 ---- a/include/mtxclient/utils.hpp -+++ b/include/mtxclient/utils.hpp -@@ -3,6 +3,7 @@ - /// @file - /// @brief Various utility functions for http requests. - -+#include - #include - #include - #include -diff --git a/lib/crypto/client.cpp b/lib/crypto/client.cpp -index 5a9bba8cc..ea36eaca3 100644 ---- a/lib/crypto/client.cpp -+++ b/lib/crypto/client.cpp -@@ -1,3 +1,4 @@ -+#include - #include - #include - -diff --git a/lib/crypto/encoding.cpp b/lib/crypto/encoding.cpp -index f6b1701c9..6f78fe7d1 100644 ---- a/lib/crypto/encoding.cpp -+++ b/lib/crypto/encoding.cpp -@@ -1,6 +1,7 @@ - #include - #include - #include -+#include - #include - #include - -diff --git a/lib/crypto/utils.cpp b/lib/crypto/utils.cpp -index 9cf202038..444334855 100644 ---- a/lib/crypto/utils.cpp -+++ b/lib/crypto/utils.cpp -@@ -12,6 +12,7 @@ - #include - - #include -+#include - - #include "mtx/log.hpp" - #include "mtxclient/crypto/client.hpp" -diff --git a/lib/structs/events/encrypted.cpp b/lib/structs/events/encrypted.cpp -index e8f1323b1..f365e11d1 100644 ---- a/lib/structs/events/encrypted.cpp -+++ b/lib/structs/events/encrypted.cpp -@@ -1,3 +1,4 @@ -+#include - #include - - #include -diff --git a/lib/utils.cpp b/lib/utils.cpp -index 6d59227c1..9f7149e53 100644 ---- a/lib/utils.cpp -+++ b/lib/utils.cpp -@@ -1,6 +1,7 @@ - #include "mtxclient/utils.hpp" - - #include -+#include - #include - #include - #include diff --git a/mtxclient.spec b/mtxclient.spec index ae5eea2..b8b6d74 100644 --- a/mtxclient.spec +++ b/mtxclient.spec @@ -1,15 +1,12 @@ Name: mtxclient -Version: 0.9.1 -Release: 2%{?dist} +Version: 0.9.2 +Release: 1%{?dist} License: MIT Summary: Client API library for Matrix, built on top of Boost.Asio URL: https://github.com/Nheko-Reborn/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -# https://github.com/Nheko-Reborn/mtxclient/pull/91 -Patch100: %{name}-gcc13-fixes.patch - BuildRequires: cmake(mpark_variant) BuildRequires: cmake(nlohmann_json) >= 3.2.0 BuildRequires: cmake(Olm) >= 3.2.12 @@ -76,6 +73,9 @@ ln -s libmatrix_client.so.%{version} %{buildroot}%{_libdir}/libmatrix_client.so. %{_libdir}/*.so %changelog +* Mon Feb 20 2023 Vitaly Zaitsev - 0.9.2-1 +- Updated to version 0.9.2. + * Thu Jan 19 2023 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 168ecfb..4ed8fbc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mtxclient-0.9.1.tar.gz) = 578d18add07aa2bf52fea41f99bcc91fa403a78d6d4d656a9775ae141fa2f6bffc2f1f0dc95740eab1d46bb9ac79a62691192682d06a75a8cee3e94ad93723c1 +SHA512 (mtxclient-0.9.2.tar.gz) = 87c9cd23ce8a52b2f850e3770eb51d03f40f4a5e45b5e536b2446932fc866b8835212d9364c5890af7404843da2547bdc94bb5d3d1933903fea8374b8900fd73