Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

4 changed files with 69 additions and 85 deletions

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

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5dc75f1e4e23c8aac445a0e31d354adf97af456e29d27c032d4d467d4664ca06
size 777025

View File

@ -1,65 +1,3 @@
-------------------------------------------------------------------
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,38 +21,54 @@
%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_9
%define sonum 0.9
%define soversion 0_8
%define sonum 0.8
%define rname libQuotient
%bcond_without e2ee
Name: libQuotient%{?pkg_suffix}
Version: 0.9.2
Version: 0.8.2
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 >= 3.26
BuildRequires: cmake
# c++-20 required
%if 0%{?suse_version} < 1550
BuildRequires: gcc12-PIE
BuildRequires: gcc12-c++
%endif
BuildRequires: pkgconfig
%if 0%{?qt6}
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: qt6-sql-sqlite
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Keychain)
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
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)
%endif
%if %{with e2ee}
BuildRequires: cmake(Olm) >= 3.2.5
BuildRequires: pkgconfig(openssl)
%if 0%{?qt6}
BuildRequires: cmake(Qt6Sql) >= %{qt6_version}
Requires: qt6-sql-sqlite >= %{qt6_version}
BuildRequires: cmake(Qt6Sql)
Requires: qt6-sql-sqlite
%else
BuildRequires: cmake(Qt5Sql)
Requires: libQt5Sql5-sqlite
%endif
%endif
%description
@ -72,10 +88,20 @@ Summary: Development files for libQuotient
Group: Development/Libraries/C and C++
Requires: libQuotient%{?qt6:%{lib_suffix}-}%{soversion} = %{version}
%if 0%{?qt6}
Requires: cmake(Qt6Gui) >= %{qt6_version}
Requires: cmake(Qt6Network) >= %{qt6_version}
Requires: cmake(Qt6Sql) >= %{qt6_version}
Requires: cmake(Qt6Gui)
Requires: cmake(Qt6Network)
%if %{with e2ee}
Requires: cmake(Qt6Sql)
%endif
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)
@ -92,19 +118,39 @@ 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