Hi,

here's a diff to update nheko and its deps, seems to work fine here in
basic testing. havent tested other olm consumers but the changelog isnt
scary:
https://gitlab.matrix.org/matrix-org/olm/-/blob/master/CHANGELOG.rst

as for nheko changelog:
https://nheko.im/nheko-reborn/nheko/-/tags/v0.10.0
https://nheko.im/nheko-reborn/nheko/-/tags/v0.10.1

oks/testing welcome
? devel/mtxclient/mtxclient-0.7.0-libmatrix_client.so.0.0
? devel/mtxclient/mtxclient-0.8.2-libmatrix_client.so.0.0
? devel/coeurl/coeurl-0.2.0-libcoeurl.so.0.0
? devel/coeurl/coeurl-0.2.1-libcoeurl.so.0.1
? devel/olm/olm-3.2.12-libolm.so.1.1
? devel/olm/olm-3.2.6-libolm.so.1.1
Index: devel/mtxclient/Makefile
===================================================================
RCS file: /cvs/ports/devel/mtxclient/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- devel/mtxclient/Makefile    28 Jun 2022 12:49:25 -0000      1.1.1.1
+++ devel/mtxclient/Makefile    10 Sep 2022 14:56:21 -0000
@@ -1,11 +1,11 @@
 COMMENT =      client API for Matrix, built on libcurl
 CATEGORIES =   devel
 
-SHARED_LIBS +=  matrix_client             0.0 # 0.7.0
+SHARED_LIBS +=  matrix_client  1.0
 
 GH_ACCOUNT =   Nheko-Reborn
 GH_PROJECT =   mtxclient
-GH_TAGNAME =   v0.7.0
+GH_TAGNAME =   v0.8.2
 
 # MIT
 PERMIT_PACKAGE =       Yes
@@ -20,7 +20,7 @@
                textproc/nlohmann-json
 
 LIB_DEPENDS =  devel/coeurl \
-               devel/olm
+               devel/olm>=3.2.7
 
 # C++17
 COMPILER =     base-clang ports-gcc
Index: devel/mtxclient/distinfo
===================================================================
RCS file: /cvs/ports/devel/mtxclient/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- devel/mtxclient/distinfo    28 Jun 2022 12:49:25 -0000      1.1.1.1
+++ devel/mtxclient/distinfo    10 Sep 2022 14:56:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (mtxclient-0.7.0.tar.gz) = 3YrVclw5G3xbGFZAdOUL/GZ/swR+aBVh5eQq7JnCWxI=
-SIZE (mtxclient-0.7.0.tar.gz) = 601042
+SHA256 (mtxclient-0.8.2.tar.gz) = TKoS3flUuUktHsm2yjLvD8ZHhVXyKdsHTUO8XMKanIk=
+SIZE (mtxclient-0.8.2.tar.gz) = 609627
Index: devel/mtxclient/pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/mtxclient/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- devel/mtxclient/pkg/PLIST   28 Jun 2022 12:49:25 -0000      1.1.1.1
+++ devel/mtxclient/pkg/PLIST   10 Sep 2022 14:56:21 -0000
@@ -38,6 +38,7 @@
 include/mtx/events/nheko_extensions/
 include/mtx/events/nheko_extensions/hidden_events.hpp
 include/mtx/events/pinned_events.hpp
+include/mtx/events/policy_rules.hpp
 include/mtx/events/power_levels.hpp
 include/mtx/events/presence.hpp
 include/mtx/events/reaction.hpp
@@ -57,12 +58,12 @@
 include/mtx/requests.hpp
 include/mtx/responses/
 include/mtx/responses.hpp
+include/mtx/responses/capabilities.hpp
 include/mtx/responses/common.hpp
 include/mtx/responses/create_room.hpp
 include/mtx/responses/crypto.hpp
 include/mtx/responses/device.hpp
 include/mtx/responses/empty.hpp
-include/mtx/responses/groups.hpp
 include/mtx/responses/login.hpp
 include/mtx/responses/media.hpp
 include/mtx/responses/members.hpp
@@ -88,7 +89,6 @@
 include/mtxclient/http/client_impl.hpp
 include/mtxclient/http/errors.hpp
 include/mtxclient/utils.hpp
-lib/cmake/
 lib/cmake/MatrixClient/
 lib/cmake/MatrixClient/MatrixClientConfig.cmake
 lib/cmake/MatrixClient/MatrixClientConfigVersion.cmake
Index: devel/coeurl/Makefile
===================================================================
RCS file: /cvs/ports/devel/coeurl/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/coeurl/Makefile       24 Jul 2022 13:40:49 -0000      1.2
+++ devel/coeurl/Makefile       10 Sep 2022 14:56:21 -0000
@@ -1,12 +1,11 @@
 COMMENT =      simple async wrapper around CURL for C++
 CATEGORIES =   devel
 
-V =            v0.2.0
+V =            v0.2.1
 DISTNAME =     coeurl-${V}
 PKGNAME =      ${DISTNAME:S/v//}
-REVISION =     0
 
-SHARED_LIBS +=  coeurl                    0.0 # 0.2.0
+SHARED_LIBS +=  coeurl                    0.1 # 0.2.0
 
 MASTER_SITES = https://nheko.im/nheko-reborn/coeurl/-/archive/${V}/
 
Index: devel/coeurl/distinfo
===================================================================
RCS file: /cvs/ports/devel/coeurl/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- devel/coeurl/distinfo       28 Jun 2022 12:48:26 -0000      1.1.1.1
+++ devel/coeurl/distinfo       10 Sep 2022 14:56:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (coeurl-v0.2.0.tar.gz) = 3vjlIju1S8J6pdbi/RkV4F3bKKxFRDoalhSOpsGIXis=
-SIZE (coeurl-v0.2.0.tar.gz) = 51566
+SHA256 (coeurl-v0.2.1.tar.gz) = CZ/rWVEv3TIfd3VH8NTx/DwtkZNpMw8xi4w23GRsB2Q=
+SIZE (coeurl-v0.2.1.tar.gz) = 51894
Index: devel/olm/Makefile
===================================================================
RCS file: /cvs/ports/devel/olm/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- devel/olm/Makefile  11 Mar 2022 18:50:54 -0000      1.4
+++ devel/olm/Makefile  10 Sep 2022 14:56:21 -0000
@@ -1,9 +1,9 @@
 COMMENT =      Double Ratchet cryptographic ratchet in C++
-V =            3.2.6
+V =            3.2.12
 DISTNAME =     olm-${V}
 CATEGORIES =   devel security
 
-SHARED_LIBS += olm       1.1 # 3.2.6
+SHARED_LIBS += olm     2.0 # 3.2.6
 
 MASTER_SITES = https://gitlab.matrix.org/matrix-org/olm/-/archive/${V}/
 
Index: devel/olm/distinfo
===================================================================
RCS file: /cvs/ports/devel/olm/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- devel/olm/distinfo  5 Dec 2021 17:53:29 -0000       1.3
+++ devel/olm/distinfo  10 Sep 2022 14:56:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (olm-3.2.6.tar.gz) = m2G9kYK7CuDFqACosElraWAKCiLjoh/OCq0RnSscma4=
-SIZE (olm-3.2.6.tar.gz) = 549713
+SHA256 (olm-3.2.12.tar.gz) = Msgff+0dvfwTIlaOTC9NEto5dISNS0G3chsbu8ApahI=
+SIZE (olm-3.2.12.tar.gz) = 2900694
Index: net/nheko/Makefile
===================================================================
RCS file: /cvs/ports/net/nheko/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- net/nheko/Makefile  31 Jul 2022 15:30:57 -0000      1.4
+++ net/nheko/Makefile  10 Sep 2022 14:56:21 -0000
@@ -2,8 +2,7 @@
 
 GH_ACCOUNT =   Nheko-Reborn
 GH_PROJECT =   nheko
-GH_TAGNAME =   v0.9.3
-REVISION =     0
+GH_TAGNAME =   v0.10.1
 
 CATEGORIES=    net
 
Index: net/nheko/distinfo
===================================================================
RCS file: /cvs/ports/net/nheko/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- net/nheko/distinfo  28 Jun 2022 12:52:30 -0000      1.1.1.1
+++ net/nheko/distinfo  10 Sep 2022 14:56:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (nheko-0.9.3.tar.gz) = ncfgCTZvltqdnxYyytljk6NwBzlJ5nvIEWIvNWcnT/s=
-SIZE (nheko-0.9.3.tar.gz) = 1455446
+SHA256 (nheko-0.10.1.tar.gz) = +dlOz/VBpJ843vkbqt91H5tB4xlHjxCqZsTIJ3J/tf0=
+SIZE (nheko-0.10.1.tar.gz) = 1608578
Index: net/nheko/patches/patch-src_notifications_Manager_h
===================================================================
RCS file: net/nheko/patches/patch-src_notifications_Manager_h
diff -N net/nheko/patches/patch-src_notifications_Manager_h
--- net/nheko/patches/patch-src_notifications_Manager_h 28 Jun 2022 12:52:30 
-0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-Index: src/notifications/Manager.h
---- src/notifications/Manager.h.orig
-+++ src/notifications/Manager.h
-@@ -12,7 +12,7 @@
- #include <mtx/responses/notifications.hpp>
- 
- // convenience definition
--#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
-+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU) || 
defined(Q_OS_OPENBSD)
- #define NHEKO_DBUS_SYS
- #endif
- 
Index: net/nheko/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/nheko/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- net/nheko/pkg/PLIST 28 Jun 2022 12:52:30 -0000      1.1.1.1
+++ net/nheko/pkg/PLIST 10 Sep 2022 14:56:21 -0000
@@ -11,5 +11,6 @@
 share/icons/hicolor/scalable/apps/nheko.svg
 share/metainfo/
 share/metainfo/nheko.appdata.xml
+share/zsh/site-functions/_nheko
 @tag update-desktop-database
 @tag gtk-update-icon-cache %D/share/icons/hicolor

Reply via email to