SHA256
1
0
forked from pool/libQuotient

Accepting request 860270 from network:messaging:matrix

Dependency of a soon-to-be-packaged KDE software, neochat

OBS-URL: https://build.opensuse.org/request/show/860270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libQuotient?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2021-01-15 18:45:45 +00:00 committed by Git OBS Bridge
parent c418e8389d
commit 07544db107
4 changed files with 39 additions and 155 deletions

3
0.6.3.tar.gz Normal file
View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e46a9889c2ce86b780f04b0b831896179af6621177f805c1a650a980e041525
size 667312

View File

@ -1,132 +1,3 @@
-------------------------------------------------------------------
Wed Dec 21 04:58:08 UTC 2022 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.7.0:
* E2EE is the biggest part of this release,
+ The following parts of E2EE are known to work:
- foundations additional contributions and refactoring.
- Olm/Megolm signalling with our parties/devices.
- managing device and one-time keys.
- sending and receiving (monstrous new encrypted messages.
- encrypting/decrypting attachment.
- retrieval and decryption of historical messages keys
for which are already in the database.
- device verification.
+ What is not there yet:
- historical Megolm sessions are not requested from other
devices/parties, so you will see quite a few undecryptable
messages in rooms with past communication - this might be
fixed (if possible without breaking the API) in further
0.7.x releases.
- secure server-side storage (SSSS) is not supported at
all for now, and will likely require API breakage so
will come in 0.8.
- soft logout is not supported; this is also a subject of 0.8.
+ Because there's no soft logout the database for a given account
is completely reset upon a successful login attempt. This may
come as a very unpleasant surprise if you don't keep your
login session between client restarts; but this is a necessary
trade-off for the current feature set (see #546 for the
discussion). Together with the rest of the above not-there-yet
list, this means that you MUST NOT use E2EE with
libQuotient-backed clients as your only device(s) on
the account - there's quite a risk of losing encrypted
conversations if anything happens to the database libQuotient
keeps key material in, or if you lose your session and have
to log in again. Did I mention the whole E2EE functionality
is still in beta? Client authors are strongly recommended
to show big scary warnings against E2EE for now.
* Read markers -> read receipts + fully read markers.
-------------------------------------------------------------------
Thu Oct 7 08:37:12 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.11:
* Just after 0.6.10 was out another nasty bug has been discovered,
preventing from proper usage of URLs with an unescaped double-hash (##),
which may come when a matrix.to URL is generated for a bridged IRC channel
(and it even got a very nice number #512). Aside from this fix,
quotest will not return with success code 0 any more if it failed to
even start testing for some reason (#496).
-------------------------------------------------------------------
Sun Oct 3 08:21:09 UTC 2021 - Dead Mozay <dead-mozay@opensuse.org>
- Update to versiosn 0.6.10:
* Yet another maintenance release of the stable branch, fixing an
issue (#510) with invites not showing up in some cases
(especially on less active/smaller accounts).
-------------------------------------------------------------------
Sun Sep 12 10:55:22 UTC 2021 - Dead Mozay <dead-mozay@opensuse.org>
- Update to version 0.6.9:
* Here's one more stable branch release of libQuotient,
fixing a rare assertion failure due to uninitialised
read marker when new events arrive and all history
is already loaded.
-------------------------------------------------------------------
Tue Aug 24 06:45:25 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.8:
* Retain the current room member avatar when renaming the user
for the room.
* When displaying the room, notification/highlight counters are
no more reset. This never really worked, with the notification
and highlight counts jumping to zero and then back to the
original value if the timeline hasn't been completely read;
now that read receipts are correctly sent, the counters
can be left to the homeserver to update
(while E2EE is not around).
* Fix the missing percent encoding in User::fetchProfile(),
leading to problems around historical userids that still
have slashes.
* CS API files have been regenerated from the new matrix-doc
after revamping the layout and tooling; the library API didn't
change, but doc-comments are now in Markdown rather than
ReStructured Text.
* Update GTAD configuration to version 0.8 of the tool.
* Fix potential linking errors around quotient_common.h.
-------------------------------------------------------------------
Sun Jul 18 14:09:53 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- Updae to version 0.6.7:
* One more maintenance release at the stable branch, fixing
gh#quotient-im/libQuotient#471 that affects NeoChat - thanks
to @ognarb for pinpointing and suggesting a fix to it.
- Mention soversion in %files
- Simplify %files
- Use full tarball name
- Don't install quotest and ndk-modules/Android.mk
-------------------------------------------------------------------
Thu Mar 18 05:51:58 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.6:
* Another update on the stable branch, to address #456
(possible crash on some malformed user ids).
-------------------------------------------------------------------
Wed Feb 24 04:42:02 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.5:
* Fix rich replies handling.
* Support abbreviated aka Reddit-style type specifiers in
Matrix URIs (e.g., matrix:r/quotient:matrix.org)
-------------------------------------------------------------------
Sat Jan 16 15:40:44 UTC 2021 - Luca Beltrame <lbeltrame@kde.org>
- Actually disable e2ee
-------------------------------------------------------------------
Fri Jan 15 16:17:38 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.4:
* Several fixes around homeserver resolution.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 3 19:29:38 UTC 2021 - Luca Beltrame <lbeltrame@kde.org> Sun Jan 3 19:29:38 UTC 2021 - Luca Beltrame <lbeltrame@kde.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libQuotient # spec file for package libQuotient
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,29 +16,27 @@
# #
%define soversion 0_7 %define soversion 0_6
%define sonum 0.7 %bcond_without e2ee
%bcond_with e2ee
Name: libQuotient Name: libQuotient
Version: 0.7.0 Version: 0.6.3
Release: 0 Release: 0
Summary: Library for Qt Matrix Clients Summary: Library for Qt Matrix Clients
License: LGPL-2.1-only License: LGPL-2.1-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/quotient-im/libQuotient URL: https://github.com/quotient-im/libQuotient
Source0: https://github.com/quotient-im/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/quotient-im/%{name}/archive/%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: cmake(Qt5Concurrent) BuildRequires: unzip
BuildRequires: cmake(Qt5Core) >= 5.9 BuildRequires: pkgconfig(Qt5Core) >= 5.6
BuildRequires: cmake(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: cmake(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: cmake(Qt5Keychain) BuildRequires: pkgconfig(Qt5Network)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Network)
%if %{with e2ee} %if %{with e2ee}
BuildRequires: cmake(Olm) BuildRequires: cmake(Olm)
BuildRequires: pkgconfig(QtOlm)
%endif %endif
%description %description
@ -63,23 +61,19 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%autosetup -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%cmake \
-DQuotient_INSTALL_TESTS=OFF \
%if %{with e2ee} %if %{with e2ee}
-DQuotient_ENABLE_E2EE=ON %cmake -DQuotient_ENABLE_E2EE=ON
%else %else
-DQuotient_ENABLE_E2EE=OFF %cmake -DQuotient_ENABLE_E2EE=OFF
%endif %endif
%cmake_build %cmake_build
%install %install
%cmake_install %cmake_install
# Not useful
rm -r %{buildroot}%{_datadir}/ndk-modules/
%post -n %{name}%{soversion} -p /sbin/ldconfig %post -n %{name}%{soversion} -p /sbin/ldconfig
%postun -n %{name}%{soversion} -p /sbin/ldconfig %postun -n %{name}%{soversion} -p /sbin/ldconfig
@ -87,8 +81,7 @@ rm -r %{buildroot}%{_datadir}/ndk-modules/
%files -n %{name}%{soversion} %files -n %{name}%{soversion}
%doc README.md %doc README.md
%license COPYING %license COPYING
%{_libdir}/libQuotient.so.%{version} %{_libdir}/libQuotient.so.*
%{_libdir}/libQuotient.so.%{sonum}
%files devel %files devel
%doc README.md %doc README.md
@ -96,6 +89,26 @@ rm -r %{buildroot}%{_datadir}/ndk-modules/
%{_libdir}/pkgconfig/Quotient.pc %{_libdir}/pkgconfig/Quotient.pc
%{_libdir}/libQuotient.so %{_libdir}/libQuotient.so
%{_libdir}/cmake/Quotient/ %{_libdir}/cmake/Quotient/
%{_includedir}/Quotient/ %dir %{_includedir}/Quotient
%dir %{_includedir}/Quotient/csapi
%dir %{_includedir}/Quotient/csapi/definitions
%dir %{_includedir}/Quotient/csapi/definitions/wellknown
%dir %{_includedir}/Quotient/application-service
%dir %{_includedir}/Quotient/application-service/definitions
%dir %{_includedir}/Quotient/identity
%dir %{_includedir}/Quotient/identity/definitions
%dir %{_includedir}/Quotient/jobs
%dir %{_includedir}/Quotient/events
%dir %{_datadir}/ndk-modules
%{_includedir}/Quotient/*.h
%{_includedir}/Quotient/application-service/definitions/*.h
%{_includedir}/Quotient/csapi/*.h
%{_includedir}/Quotient/csapi/definitions/*h
%{_includedir}/Quotient/csapi/definitions/wellknown/*h
%{_includedir}/Quotient/events/*.h
%{_includedir}/Quotient/identity/definitions/*.h
%{_includedir}/Quotient/jobs/*.h
%{_bindir}/quotest
%{_datadir}/ndk-modules/Android.mk
%changelog %changelog