diff --git a/net-im/dino/Makefile b/net-im/dino/Makefile index 9b714f8fa095..52bbca287a6b 100644 --- a/net-im/dino/Makefile +++ b/net-im/dino/Makefile @@ -1,78 +1,78 @@ PORTNAME= dino DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-im MAINTAINER= ashish@FreeBSD.org COMMENT= Modern XMPP Chat Client using GTK+/Vala LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= vala:lang/vala LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libgee-0.8.so:devel/libgee \ libicuuc.so:devel/icu \ libsoup-2.4.so:devel/libsoup \ libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error \ libgspell-1.so:textproc/gspell \ libgcrypt.so:security/libgcrypt \ libsrtp2.so:net/libsrtp2 USES= cmake cpe desktop-file-utils gettext-tools gnome \ ninja pkgconfig USE_GITHUB= yes OPTIONS_DEFINE= OMEMO UPLOAD GNUPG ICE RTP OPTIONS_DEFAULT= OMEMO UPLOAD GNUPG ICE RTP OPTIONS_SUB= yes HAS_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -Wl,--export-dynamic USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 glib20 gnomeprefix gtk30 intlhack ICE_DESC= ICE NAT traversal plugin OMEMO_DESC= OMEMO plugin RTP_DESC= RTP plugin UPLOAD_DESC= HTTP file upload plugin ICE_LIB_DEPENDS= libnice.so:net-im/libnice \ libgnutls.so:security/gnutls ICE_VARS= ENABLED_PLUGINS+=ice ICE_VARS_OFF= DISABLED_PLUGINS+=ice RTP_LIB_DEPENDS= libgnutls.so:security/gnutls \ libwebrtc-audio-processing-1.so:audio/webrtc-audio-processing RTP_USES= gstreamer RTP_USE= GSTREAMER=srtp,gtk,pulse,opus,speex,vpx,x264,v4l2 RTP_VARS= ENABLED_PLUGINS+=rtp RTP_CMAKE_BOOL= RTP_ENABLE_H264 RTP_ENABLE_VP9 RTP_ENABLE_H264 RTP_ENABLE_VAAPI RTP_VARS_OFF= DISABLED_PLUGINS+=rtp OMEMO_GH_TUPLE= signalapp:libsignal-protocol-c:v2.3.3:signalapp/plugins/signal-protocol/libsignal-protocol-c OMEMO_LIB_DEPENDS= libqrencode.so:graphics/libqrencode OMEMO_VARS= ENABLED_PLUGINS+=omemo OMEMO_CMAKE_BOOL= BUILD_LIBSIGNAL_IN_TREE OMEMO_VARS_OFF= DISABLED_PLUGINS+=omemo UPLOAD_VARS= ENABLED_PLUGINS+=http-files UPLOAD_VARS_OFF= DISABLED_PLUGINS+=http-files GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme GNUPG_VARS= ENABLED_PLUGINS+=openpgp GNUPG_VARS_OFF= DISABLED_PLUGINS+=openpgp CMAKE_ARGS+= -DENABLED_PLUGINS="${ENABLED_PLUGINS:S/ /;/gW}" CMAKE_ARGS+= -DDISABLED_PLUGINS="${DISABLED_PLUGINS:S/ /;/gW}" pre-everything:: @if [ -z "${PACKAGE_BUILDING}" ]; then if ! ${PKG_BIN} query \ '%o-%Ok-%Od' databases/sqlite3 | \ ${GREP} -F -wq databases/sqlite3-UNICODE61-on; then \ ${ECHO_MSG} "/!\ Please make sure databases/sqlite3 is built\ with UNICODE61 option"; \ exit 1; \ fi; fi .include diff --git a/net-im/dino/files/patch-libdino_src_service_call__peer__state.vala b/net-im/dino/files/patch-libdino_src_service_call__peer__state.vala new file mode 100644 index 000000000000..f07a18f02c82 --- /dev/null +++ b/net-im/dino/files/patch-libdino_src_service_call__peer__state.vala @@ -0,0 +1,14 @@ +--- libdino/src/service/call_peer_state.vala 2022-02-13 00:18:06.000000000 +0300 ++++ libdino/src/service/call_peer_state.vala 2022-08-15 12:07:56.735765000 +0300 +@@ -45,7 +45,10 @@ + this.stream_interactor = stream_interactor; + this.calls = stream_interactor.get_module(Calls.IDENTITY); + +- var session_info_type = stream_interactor.module_manager.get_module(call.account, Xep.JingleRtp.Module.IDENTITY).session_info_type; ++ Xep.JingleRtp.Module jinglertp_module = stream_interactor.module_manager.get_module(call.account, Xep.JingleRtp.Module.IDENTITY); ++ if (jinglertp_module == null) return; ++ ++ var session_info_type = jinglertp_module.session_info_type; + session_info_type.mute_update_received.connect((session,mute, name) => { + if (this.sid != session.sid) return; +