git: d3023d6ebc30 - main - net-im/gajim: Update to 2.2.0

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Mon, 30 Jun 2025 15:47:24 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3023d6ebc3098c60a383f0781b1292afded537a

commit d3023d6ebc3098c60a383f0781b1292afded537a
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2025-06-30 15:37:49 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2025-06-30 15:47:19 +0000

    net-im/gajim: Update to 2.2.0
    
    - Add option AVCALLS for audio/video calling support
    - Add option VOICEMESSAGES for voice messages
    - Add option LIBSECRET for secure password storage
    - Add option SENTRY to report errors to the Gajim project
    - port{clippy|fmt|lint} housekeeping
    - Where possible, code version constraints
    - Rename OPENGPG option to OPENPGP to conform official plugin name
    - Add pytest dependency to make `make test` work
    - Add dependency on gnome-keyring, to fix password saving [1]
    
    PR:             286891
    Submitted by:   Alastair Hogge <agh@riseup.net>
    Submitted by:   Siva Mahadevan <me@svmhdvn.name>
    Tested by:      p5B2EA84B3@t-online.de
    
    PR:     287070 [1]
    Submitted by:   Yusuf Yaman <nxjoseph@protonmail.com> [1]
---
 net-im/gajim/Makefile | 50 +++++++++++++++++++++++++++++++-------------------
 net-im/gajim/distinfo |  6 +++---
 2 files changed, 34 insertions(+), 22 deletions(-)

diff --git a/net-im/gajim/Makefile b/net-im/gajim/Makefile
index e22e0cabac80..fe0ce76bfebb 100644
--- a/net-im/gajim/Makefile
+++ b/net-im/gajim/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gajim
-DISTVERSION=	2.0.2
-PORTREVISION=	1
+DISTVERSION=	2.2.0
 CATEGORIES=	net-im
 MASTER_SITES=	https://gajim.org/downloads/${DISTVERSION:R}/
 
@@ -14,35 +13,48 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}css-parser>0:www/py-css-parser@${PY_FLAVOR} \
+LIB_DEPENDS=	libgsound.so:audio/gsound \
+		libsoup-3.0.so:devel/libsoup3 \
+		libspelling-1.so:x11-toolkits/libspelling
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.16.0:graphics/py-cairo@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}css-parser>0:www/py-css-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}emoji>=2.6.0:misc/py-emoji@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nbxmpp>=1.0.2:net-im/py-nbxmpp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nbxmpp>=6.2.0<7.0.0:net-im/py-nbxmpp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}omemo-dr>=1.0.0:security/py-omemo-dr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
-		${PY_PILLOW} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=9.1.0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}precis_i18n>=1.0.0:textproc/py-precis_i18n@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}omemo-dr>0:security/py-omemo-dr@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}emoji>0:misc/py-emoji@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlalchemy20>0:databases/py-sqlalchemy20@${PY_FLAVOR}
-LIB_DEPENDS=	libsoup-3.0.so:devel/libsoup3 \
-		libspelling-1.so:x11-toolkits/libspelling \
-		libgsound.so:audio/gsound
+		${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=2.0.0:databases/py-sqlalchemy20@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
+		pango>0:x11-toolkits/pango \
+		gnome-keyring>=0:security/gnome-keyring
 
 USES=		cpe gettext gnome python:3.11+ xorg
-USE_PYTHON=	autoplist cryptography pep517 noflavors
 USE_GNOME=	gtksourceview5 pygobject3
+USE_PYTHON=	autoplist cryptography noflavors pep517 pytest
 USE_XORG=	x11 xext xscrnsaver
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DBUS DOCS OPENGPG
-OPTIONS_DEFAULT=DBUS OPENGPG
+OPTIONS_DEFINE=		AVCALLS DBUS DOCS LIBSECRET OPENPGP SENTRY VOICEMESSAGES
+OPTIONS_DEFAULT=	DBUS OPENPGP
 
-OPENGPG_DESC=	GPG encryption per XEP-0373
+AVCALLS_DESC=		Audio/Video calling support
+LIBSECRET_DESC=		GNOME Keyring or KDE secure password storage
+OPENPGP_DESC=		GPG encryption per XEP-0373
+SENTRY_DESC=		Sentry error reporting to dev.gajim.org.
+VOICEMESSAGES_DESC=	Voice messages support
 
+AVCALLS_RUN_DEPENDS=	farstream>0:net-im/farstream
+AVCALLS_USES=		gstreamer
+AVCALLS_USE=		GSTREAMER=core libav rust ugly
 DBUS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:devel/py-dbus@${PY_FLAVOR}
-OPENGPG_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gpg>=2.0.0:security/py-gpg@${PY_FLAVOR}
+LIBSECRET_RUN_DEPENDS=	libsecret>0:security/libsecret
+OPENPGP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gpg>=2.0.0:security/py-gpg@${PY_FLAVOR}
+SENTRY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sentry-sdk>0:devel/py-sentry-sdk@${PY_FLAVOR}
+VOICEMESSAGES_USES=	gstreamer
+VOICEMESSAGES_USE=	GSTREAMER=core good
 
 .include <bsd.port.mk>
diff --git a/net-im/gajim/distinfo b/net-im/gajim/distinfo
index 2869202f32bd..06c14b246fd4 100644
--- a/net-im/gajim/distinfo
+++ b/net-im/gajim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741694387
-SHA256 (gajim-2.0.2.tar.gz) = 426975820aa3b135c69c61e7b40a70a1ad324a5c54222d92d08398fa57f11de5
-SIZE (gajim-2.0.2.tar.gz) = 4703640
+TIMESTAMP = 1747538691
+SHA256 (gajim-2.2.0.tar.gz) = 4ce66e32213946368962f356c65d85c82a7ab883be2cb5a245becdf63735c919
+SIZE (gajim-2.2.0.tar.gz) = 4798143