SHA256
1
0
forked from pool/libQuotient

9 Commits

Author SHA256 Message Date
51e9c97c21 Accepting request 1266962 from network:messaging:matrix
Update to 0.9.3

OBS-URL: https://build.opensuse.org/request/show/1266962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libQuotient?expand=0&rev=20
2025-04-04 15:30:10 +00:00
Christophe Marin
9d41b49728 Update to 0.9.3
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=39
2025-04-03 20:35:48 +00:00
a3d47f9869 Accepting request 1237170 from network:messaging:matrix
OBS-URL: https://build.opensuse.org/request/show/1237170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libQuotient?expand=0&rev=19
2025-01-13 16:50:31 +00:00
Dead Mozay
97ee7da20d Update to 0.9.2
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=37
2025-01-12 12:30:05 +00:00
581af2e0d4 Accepting request 1232874 from network:messaging:matrix
OBS-URL: https://build.opensuse.org/request/show/1232874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libQuotient?expand=0&rev=18
2024-12-20 22:11:45 +00:00
Dead Mozay
e453e01b9f Update to 0.9.1
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=35
2024-12-20 16:55:25 +00:00
eb143b3310 Accepting request 1218744 from network:messaging:matrix
OBS-URL: https://build.opensuse.org/request/show/1218744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libQuotient?expand=0&rev=17
2024-10-28 14:21:51 +00:00
Dead Mozay
3aba246081 - Fix dependencies
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=33
2024-10-28 09:04:57 +00:00
Dead Mozay
b181135c4b Update to 0.9.0
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=32
2024-10-28 08:02:24 +00:00
4 changed files with 95 additions and 69 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12ff2fa8b80a934b9dd88fa3416a4b88e94bc0e18a8df0dcebfc90614dd2f5c9
size 744095

3
libQuotient-0.9.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63b35061856edcd1dbc203fecd8730429f6d51103552d62aa6ef6f0f4bbfd6fb
size 777778

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Thu Apr 3 20:22:52 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 0.9.3
* Support event relations on all post message functions
* OIDC awareness
* A couple of internal minor fixes
* Emit finished() and delete verification session when it's
cancelled on the remote side
-------------------------------------------------------------------
Sun Jan 12 12:04:07 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 0.9.2
* Replaced remaining QScopedPointer occurrences with
std::unique_ptr; introduce DeleteLater and QObjectHolder for
better integration of std::unique_ptr and QObject-based types
* New range facilities: findIndex() and rangeTo(), to cover for
the missing std::ranges::to() on macOS
* Fixes to some Quotest tests getting stuck in limbo
* findIndirect() algorithm was found unnecessary, as
std::ranges::find() covers its use case
* Only signal pending event as merged once the real one is in
the timeline
* ThreadView to track threads in a room
* AccountSettings: fix working with MXIDs that have forward-
and backslashes
-------------------------------------------------------------------
Fri Dec 20 14:19:50 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 0.9.1
* Added Connection::isOnline()
* Room::pendingEventAdded() signal doesn't carry a dangling
event ref any more
* MediaThumbnailJob now checks for the correct spec version
for auth media
* Unsupported RoomType values don't litter logs with warnings
any more
* Cleanup and code modernization
* Access tokens are actually saved to the keychain again
* The text provided by the server is used for the error
message on media endpoints
* Connection::supportedMatrixSpecVersions() regression fix
* Downloading encrypted files to a temporary location fixed
* Configurable job backoff strategies; fix the regression with
syncs frequently timing out just before getting a response
from the homeserver
-------------------------------------------------------------------
Mon Oct 28 09:02:30 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Fix dependencies
-------------------------------------------------------------------
Mon Oct 28 07:11:46 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 0.9.0
* Qt 6 only
* cross-signing support (requires UI to match on the client
side; NeoChat already has it)
* Matrix 1.12 API
* completed separation of room member functionality previously
delivered by the User class, to a dedicated RoomMember class
* introduction of futures to replace signals for one-off
asynchronous calls, especially relevant for calls returning
job pointers
* refactoring of the event content API to make transition to
extensible events easier in the future
- Remove the default build flavor but keep the _multibuild setup
- Remove obsolete build options
-------------------------------------------------------------------
Wed Apr 24 08:40:39 UTC 2024 - Christopher Hock <christopher.hock@suse.com>

View File

@@ -21,54 +21,38 @@
%define qt6 1
%define pkg_suffix -qt6
%define lib_suffix Qt6
%define qt6_version 6.4
%else
ExclusiveArch: do_not_build
%endif
%define soversion 0_8
%define sonum 0.8
%define soversion 0_9
%define sonum 0.9
%define rname libQuotient
%bcond_without e2ee
Name: libQuotient%{?pkg_suffix}
Version: 0.8.2
Version: 0.9.3
Release: 0
Summary: Library for Qt Matrix Clients
License: LGPL-2.1-only
Group: Development/Libraries/C and C++
URL: https://github.com/quotient-im/libQuotient
Source0: https://github.com/quotient-im/%{rname}/archive/%{version}/%{rname}-%{version}.tar.gz
BuildRequires: cmake
# c++-20 required
%if 0%{?suse_version} < 1550
BuildRequires: gcc12-PIE
BuildRequires: gcc12-c++
%endif
BuildRequires: cmake >= 3.26
BuildRequires: pkgconfig
%if 0%{?qt6}
BuildRequires: qt6-sql-sqlite
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: qt6-core-private-devel >= %{qt6_version}
BuildRequires: qt6-sql-sqlite >= %{qt6_version}
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Keychain)
BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Test)
%else
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Core) >= 5.5
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Keychain)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
%endif
%if %{with e2ee}
BuildRequires: cmake(Olm) >= 3.2.5
BuildRequires: pkgconfig(openssl)
%if 0%{?qt6}
BuildRequires: cmake(Qt6Sql)
Requires: qt6-sql-sqlite
%else
BuildRequires: cmake(Qt5Sql)
Requires: libQt5Sql5-sqlite
%endif
BuildRequires: cmake(Qt6Sql) >= %{qt6_version}
Requires: qt6-sql-sqlite >= %{qt6_version}
%endif
%description
@@ -88,20 +72,10 @@ Summary: Development files for libQuotient
Group: Development/Libraries/C and C++
Requires: libQuotient%{?qt6:%{lib_suffix}-}%{soversion} = %{version}
%if 0%{?qt6}
Requires: cmake(Qt6Gui)
Requires: cmake(Qt6Network)
%if %{with e2ee}
Requires: cmake(Qt6Sql)
%endif
Requires: cmake(Qt6Gui) >= %{qt6_version}
Requires: cmake(Qt6Network) >= %{qt6_version}
Requires: cmake(Qt6Sql) >= %{qt6_version}
Requires: cmake(Qt6Keychain)
%else
Requires: cmake(Qt5Gui)
Requires: cmake(Qt5Multimedia)
Requires: cmake(Qt5Network)
%if %{with e2ee}
Requires: cmake(Qt5Sql)
%endif
Requires: cmake(Qt5Keychain)
%endif
Requires: cmake(Olm)
Requires: pkgconfig(openssl)
@@ -118,39 +92,19 @@ developing applications that use libQuotient.
%autosetup -p1 -n %{rname}-%{version}
%build
%if 0%{?suse_version} < 1550
export CXX=g++-12
%endif
%if 0%{?qt6}
%cmake_qt6 \
-DBUILD_WITH_QT6=ON \
-DBUILD_SHARED_LIBS=ON \
%if 0%{?suse_version} < 1550
-DCMAKE_C_COMPILER:STRING=gcc-12 \
-DCMAKE_CXX_COMPILER:STRING=g++-12 \
%endif
%else
%cmake \
%endif
-DQuotient_INSTALL_TESTS=OFF \
%if %{with e2ee}
-DQuotient_ENABLE_E2EE=ON
%else
-DQuotient_ENABLE_E2EE=OFF
%endif
-DQuotient_INSTALL_TESTS=OFF
%if 0%{?qt6}
%qt6_build
%else
%cmake_build
%endif
%install
%if 0%{?qt6}
%qt6_install
%else
%cmake_install
%endif
# Not useful