public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/
Date: Wed, 05 Mar 2025 11:40:41 +0000 (UTC)	[thread overview]
Message-ID: <1741174695.1443ef21b14b35b0b935e9dfffdf31624c8b3bcc.sam@gentoo> (raw)

commit:     1443ef21b14b35b0b935e9dfffdf31624c8b3bcc
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Feb 28 19:41:41 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  5 11:38:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1443ef21

net-im/gajim: add 2.0.0

* Give the python multi-target support, its free and it makes python
  target bumps less painful.
* Cleanup dependencies and move use flags into optfeature.
* Add one use flag to handle all voice and audio support. "voice" is used
  elsewhere in tree as well so its not an oddball unlike "jingle".

Bug: https://bugs.gentoo.org/910386
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-im/gajim/Manifest           |   1 +
 net-im/gajim/gajim-2.0.0.ebuild | 106 ++++++++++++++++++++++++++++++++++++++++
 net-im/gajim/metadata.xml       |   1 +
 3 files changed, 108 insertions(+)

diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index 0fcf5ab2fa70..0e89715a4542 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,3 +1,4 @@
 DIST gajim-1.8.4.tar.gz 3710470 BLAKE2B e23eafe707bc482a050fcef44df9e68af552444cce173c506538ebe01557a894dc0ba8b9afe18f195fd0b00b717b1268531a960b1c8b868c22081135d14e3079 SHA512 1a5b028c0e308eb15417c8c11584bc0e8b0218fead5155093ede4bc3961b6bee2b47bc3510f751dc70194634d6ca94d4a675f6891c8f050859fb4729020e52cb
 DIST gajim-1.9.3.tar.gz 3803265 BLAKE2B 44c6985728871b82fd86aa8a5e066123cd10a0f990dffcbdc6099333caec95af4f78eecdf49af062aa5bad293d819ea7e0811e2cd1906eb81630b9fd94f0c3f7 SHA512 d7815ad77afb3ea1e7b1cdf6baa4ed1acaaed857da4a0ca1db57200dc3fc7103e4110ee8b7e2918838f86c9250226a6c8b98be6cd0915ea29eaf5e1a2830688a
 DIST gajim-1.9.5.tar.gz 4723544 BLAKE2B 5975338a366eba36bc6f92af8d41f727d00ae0bdeaa93a62ed8f5e1f0c4f91ae1b3334afa9f71d21b57a3cd51d35b052a29fecba4bdd7bb577611e01c53d98d2 SHA512 00adfffa255ecbd73227967f86be02549403e81801339dbd896c9c48c3717e7f99d7c1d70d3629b2b242e60ddba6037a9877f264af6f8b6b0d7d30666a54e5f5
+DIST gajim-2.0.0.tar.gz 4697888 BLAKE2B a714eb67de3dfb92a9329ada6ec2a9e7ea09055c751bb115a9639c046948b5f16ceb01ed1dae015d4efd1ec3dff7aa954d7ffc3ef0d6c1b053007111cc68165e SHA512 7cfcab5d60e04a892dc19441bb0c50bf73365d4dd6ae93d986aeefca4e5cb47d70693a57b87f8dd15adf49d7c8926c338676c72a03ce42b60518216d248cd28a

diff --git a/net-im/gajim/gajim-2.0.0.ebuild b/net-im/gajim/gajim-2.0.0.ebuild
new file mode 100644
index 000000000000..b79b60959670
--- /dev/null
+++ b/net-im/gajim/gajim-2.0.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite,xml(+)"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature xdg
+
+DESCRIPTION="GTK XMPP Client"
+HOMEPAGE="https://gajim.org/"
+SRC_URI="https://gajim.org/downloads/$(ver_cut 1-2)/${P/_p/-}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# Rekeyword for ~long, ~x86 and ~riscv, when https://bugs.gentoo.org/937582 is fixed.
+# KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64"
+IUSE="voice"
+
+# Same order as in upstream pyproject.toml please for the python dependencies
+
+# For introspection dependencies consult upstream documentation and any gi.require_version in the code
+
+# USE="voice" handles all video and audio.
+# https://dev.gajim.org/gajim/gajim#for-video-and-audio-calls
+# https://dev.gajim.org/gajim/gajim#for-voice-messages
+
+# xdg-desktop-portal: apparent runtime requirement
+# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2963fc1a23747bbb60a3785bf06dd566e6d8be9
+
+RDEPEND="${COMMON_DEPEND}
+	>=dev-python/cryptography-3.4.8[${PYTHON_USEDEP}]
+	dev-python/css-parser[${PYTHON_USEDEP}]
+	>=dev-python/emoji-2.6.0[${PYTHON_USEDEP}]
+	dev-python/keyring[${PYTHON_USEDEP}]
+	<dev-python/nbxmpp-7.0.0[${PYTHON_USEDEP}]
+	>=dev-python/nbxmpp-6.0.0[${PYTHON_USEDEP}]
+	<dev-python/omemo-dr-2.0.0[${PYTHON_USEDEP}]
+	>=dev-python/omemo-dr-1.0.0[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	>=dev-python/pillow-9.1.0[${PYTHON_USEDEP}]
+	>=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}]
+	>=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}]
+	>=dev-python/pygobject-3.42.0:3[cairo,${PYTHON_USEDEP}]
+	>=dev-python/qrcode-7.3.1[${PYTHON_USEDEP}]
+	>=dev-python/sqlalchemy-2.0.0[${PYTHON_USEDEP}]
+
+	dev-libs/glib[introspection(+)]
+	>=gui-libs/gtk-4.14.0:4[introspection]
+	gui-libs/gtksourceview:5[introspection]
+	media-libs/graphene[introspection]
+	net-libs/libsoup:3.0[introspection]
+	x11-libs/gdk-pixbuf:2[introspection]
+	>=x11-libs/pango-1.50.0[introspection]
+
+	voice? (
+		media-libs/gstreamer:1.0[introspection]
+		media-libs/gst-plugins-base
+		media-libs/gst-plugins-ugly
+		media-plugins/gst-plugins-gtk
+		media-plugins/gst-plugins-libav
+		net-libs/farstream:0.2[introspection]
+	)
+
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=sys-devel/gettext-0.17-r1
+"
+
+distutils_enable_tests pytest
+
+python_compile_all() {
+	# Generates manpages, app icons, translation and metadata
+	./make.py build --dist unix || die
+}
+
+python_install_all() {
+	# Installs manpages, app icons, translation and metadata
+	./make.py install --dist unix --prefix="${ED}/usr" || die
+
+	# Undo compression in ./make.py install
+	gzip -d "${ED}"/usr/share/man/man1/*.gz || die
+
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	ewarn "The chat database format changes when upgrading from 1.8.x to 1.9.x."
+	ewarn "The first time the user starts Gajim, an automatic migration is performed."
+
+	# https://dev.gajim.org/gajim/gajim/-/tree/master?ref_type=heads#optional-runtime-requirements
+	#optfeature "Sentry error reporting to dev.gajim.org" dev-python/sentry-sdk
+	optfeature "keyring support" app-crypt/libsecret[introspection]
+	optfeature "spellchecking support" "app-text/hunspell app-text/libspelling:1"
+	optfeature "better NAT traversing" net-libs/gupnp:1.6[introspection]
+	optfeature "network lose detection" net-misc/networkmanager[introspection]
+	optfeature "sharing your location" app-misc/geoclue:2.0[introspection]
+	optfeature "notifcation sound support" media-libs/gsound[introspection]
+
+	xdg_pkg_postinst
+}

diff --git a/net-im/gajim/metadata.xml b/net-im/gajim/metadata.xml
index c72a20afc7b2..e39582a5066a 100644
--- a/net-im/gajim/metadata.xml
+++ b/net-im/gajim/metadata.xml
@@ -10,6 +10,7 @@
     <flag name="rst">Generating XHTML output from RST code</flag>
     <flag name="spell">Spellchecking of composed messages</flag>
     <flag name="upnp">Ability to request your router to forward port for file transfer</flag>
+    <flag name="voice">Support for video calls, audio calls and voice messages</flag>
     <flag name="webp">Support WebP avatars</flag>
   </use>
 </pkgmetadata>


             reply	other threads:[~2025-03-05 11:40 UTC|newest]

Thread overview: 134+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-05 11:40 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-14  6:52 [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/ Joonas Niilola
2025-04-13 18:28 Andreas Sturmlechner
2025-04-13 15:55 Sam James
2025-04-12 20:41 Sam James
2025-03-16 11:05 Sam James
2025-03-16 11:05 Sam James
2025-03-06 10:44 Jakov Smolić
2025-03-06  8:00 WANG Xuerui
2025-03-05 21:06 Sam James
2025-03-05 11:40 Sam James
2025-03-05 11:40 Sam James
2025-03-01  6:45 Michał Górny
2025-03-01  6:45 Michał Górny
2024-12-19 19:31 Florian Schmaus
2024-12-12 22:44 Jonas Stein
2024-11-30  9:42 Florian Schmaus
2024-11-27  8:29 Florian Schmaus
2024-11-23 16:44 Michał Górny
2024-08-08 20:48 Jonas Stein
2024-05-29  6:10 Joonas Niilola
2024-05-28 18:19 Arthur Zamarin
2024-04-15 15:24 Michał Górny
2024-02-24 15:20 Hanno Böck
2024-02-03 19:09 Sam James
2024-02-03 14:19 Arthur Zamarin
2024-01-23  0:45 Jonas Stein
2024-01-21  0:37 Jonas Stein
2023-12-25 21:12 Jonas Stein
2023-09-09 17:12 WANG Xuerui
2023-08-20 21:27 Marek Szuba
2023-08-15 11:04 Arthur Zamarin
2023-08-15 11:04 Arthur Zamarin
2023-08-14 20:48 Jonas Stein
2023-08-14 19:57 Jonas Stein
2023-07-27  5:25 WANG Xuerui
2023-06-24  3:22 Sam James
2023-06-24  3:22 Sam James
2023-05-19 11:46 Ben Kohler
2023-05-15 20:26 Ben Kohler
2023-04-17  0:49 Matt Turner
2023-02-20 18:20 Michał Górny
2022-12-15 11:09 Sergey Popov
2022-11-18 14:02 Matt Turner
2022-11-18 14:02 Matt Turner
2022-09-08  6:23 Jakov Smolić
2022-09-08  3:31 Sam James
2022-09-07  7:52 Michał Górny
2022-08-07  5:31 Hanno Böck
2022-07-18  3:47 Hanno Böck
2022-06-21  7:25 Michał Górny
2022-05-29 15:11 Hanno Böck
2022-05-22 19:00 Hanno Böck
2022-05-20  7:23 Hanno Böck
2022-05-17 11:21 Hanno Böck
2022-03-25  1:48 Sam James
2022-03-05  9:23 Jakov Smolić
2022-03-05  0:05 Sam James
2022-01-23 12:54 Hanno Böck
2022-01-23  8:45 Hanno Böck
2021-12-03 13:46 Arthur Zamarin
2021-11-13 21:09 Jakov Smolić
2021-11-13 12:51 Jakov Smolić
2021-10-21  4:20 Sam James
2021-10-19 14:36 Hanno Böck
2021-07-19  7:18 Hanno Böck
2021-07-19  7:16 Hanno Böck
2021-04-26 10:34 Sam James
2021-04-22 12:08 Sam James
2021-04-15  6:15 Hanno Böck
2021-04-06 19:49 Sam James
2021-04-06 19:47 Sam James
2021-03-05  9:02 Hanno Böck
2021-02-19  9:30 Hanno Böck
2020-11-02 13:07 Sam James
2020-10-25 19:46 Thomas Deutschmann
2020-09-03  8:56 Hanno Böck
2020-09-03  8:53 Hanno Böck
2020-08-18 11:22 Agostino Sarubbo
2020-08-17  7:01 Agostino Sarubbo
2020-07-21 17:59 Hanno Böck
2020-06-26  9:04 Hanno Böck
2020-04-30  8:11 Hanno Böck
2020-04-26 17:25 Hanno Böck
2020-04-26 15:29 Agostino Sarubbo
2020-04-26 14:16 Agostino Sarubbo
2020-03-02 19:53 Mart Raudsepp
2020-02-09 19:40 Michał Górny
2020-02-09 16:47 Michał Górny
2019-12-19  7:53 Hanno Böck
2019-08-26  7:21 Hanno Boeck
2019-08-19  9:19 Hanno Boeck
2019-05-29 15:14 Hanno Boeck
2019-04-19 14:00 Amadeusz Piotr Żołnowski
2019-04-08 15:32 Mikle Kolyada
2019-04-08  2:18 Thomas Deutschmann
2018-12-07 12:57 Mikle Kolyada
2018-09-16 19:23 Matt Turner
2017-12-29 21:39 Amadeusz Piotr Żołnowski
2017-12-17 20:52 Amadeusz Piotr Żołnowski
2017-12-17 20:52 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-11-14 23:00 Amadeusz Piotr Żołnowski
2017-07-05 19:25 Amadeusz Piotr Żołnowski
2017-06-13 12:31 Agostino Sarubbo
2017-06-12 18:53 Markus Meier
2017-06-04 18:30 Justin Lecher
2017-06-01  9:13 Agostino Sarubbo
2017-06-01  7:41 Agostino Sarubbo
2017-01-15 20:20 Markus Meier
2016-12-21 21:33 Amadeusz Piotr Żołnowski
2016-12-21 11:28 Tobias Klausmann
2016-12-05 15:02 Pacho Ramos
2016-10-05 21:00 Amadeusz Piotr Żołnowski
2016-10-02 12:37 Pacho Ramos
2016-01-18 17:47 Andreas Schuerch
2016-01-17 17:24 Agostino Sarubbo
2016-01-08 22:15 Amadeusz Piotr Żołnowski
2016-01-07 20:25 Markus Meier
2016-01-04  6:08 Jeroen Roovers
2015-12-28 16:19 Agostino Sarubbo
2015-12-28 14:50 Justin Lecher
2015-10-30 12:25 Justin Lecher
2015-10-30 10:15 Agostino Sarubbo
2015-10-17 11:16 Markus Meier
2015-10-12  5:25 Jeroen Roovers
2015-09-28 17:19 Mikle Kolyada
2015-09-28  9:31 Agostino Sarubbo
2015-09-27 18:16 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741174695.1443ef21b14b35b0b935e9dfffdf31624c8b3bcc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox