From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2EEFE1581F0 for ; Thu, 12 Dec 2024 22:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 523F8E0977; Thu, 12 Dec 2024 22:44:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DF45E0977 for ; Thu, 12 Dec 2024 22:44:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C22D34164C for ; Thu, 12 Dec 2024 22:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9AF390B for ; Thu, 12 Dec 2024 22:44:15 +0000 (UTC) From: "Jonas Stein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonas Stein" Message-ID: <1734043369.a2963fc1a23747bbb60a3785bf06dd566e6d8be9.jstein@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/gajim/gajim-1.9.5-r2.ebuild X-VCS-Directories: net-im/gajim/ X-VCS-Committer: jstein X-VCS-Committer-Name: Jonas Stein X-VCS-Revision: a2963fc1a23747bbb60a3785bf06dd566e6d8be9 X-VCS-Branch: master Date: Thu, 12 Dec 2024 22:44:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 679b8b5f-b753-412b-89fb-e60904be27fb X-Archives-Hash: dc73fbc09e6b9830102c60a4fca995bc commit: a2963fc1a23747bbb60a3785bf06dd566e6d8be9 Author: Jonas Stein gentoo org> AuthorDate: Wed Dec 11 23:26:57 2024 +0000 Commit: Jonas Stein gentoo org> CommitDate: Thu Dec 12 22:42:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2963fc1 net-im/gajim: Fix missing dependency sys-apps/xdg-desktop-portal is required. The missing dependency is indicated by Gajim in the log: (E) gajim.c.dbus.system_style | Couldn’t read the color-scheme setting: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.portal.Desktop" does not exist Signed-off-by: Jonas Stein gentoo.org> net-im/gajim/gajim-1.9.5-r2.ebuild | 107 +++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) diff --git a/net-im/gajim/gajim-1.9.5-r2.ebuild b/net-im/gajim/gajim-1.9.5-r2.ebuild new file mode 100644 index 000000000000..d7b1d3509aa8 --- /dev/null +++ b/net-im/gajim/gajim-1.9.5-r2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 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=standalone +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg-utils + +DESCRIPTION="XMPP client written in PyGTK" +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="+crypt geolocation jingle remote rst +spell +webp" + +COMMON_DEPEND=" + dev-libs/gobject-introspection[cairo(+)] + >=x11-libs/gtk+-3.24.30:3[introspection] + x11-libs/gtksourceview:4[introspection]" +DEPEND="${COMMON_DEPEND} + app-arch/unzip + virtual/pkgconfig + >=x11-libs/pango-1.50.0 + >=sys-devel/gettext-0.17-r1" +RDEPEND="${COMMON_DEPEND} + $(python_gen_cond_dep ' + dev-python/idna[${PYTHON_USEDEP}] + >=dev-python/nbxmpp-5.0.4[${PYTHON_USEDEP}] + dev-python/precis-i18n[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + x11-libs/libXScrnSaver + sys-apps/xdg-desktop-portal + app-crypt/libsecret[crypt,introspection] + dev-python/keyring[${PYTHON_USEDEP}] + >=dev-python/secretstorage-3.1.1[${PYTHON_USEDEP}] + dev-python/css-parser[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + net-libs/libsoup:3.0[introspection] + media-libs/gsound[introspection] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/python-axolotl[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/emoji[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/omemo-dr[${PYTHON_USEDEP}] + crypt? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] ) + geolocation? ( app-misc/geoclue[introspection] ) + jingle? ( + net-libs/farstream:0.2[introspection] + media-libs/gstreamer:1.0[introspection] + media-libs/gst-plugins-base:1.0[introspection] + media-libs/gst-plugins-ugly:1.0 + media-plugins/gst-plugins-gtk + ) + remote? ( + >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}] + sys-apps/dbus[X] + ) + rst? ( dev-python/docutils[${PYTHON_USEDEP}] ) + spell? ( + app-text/gspell[introspection] + app-text/hunspell + ) + ')" + +python_compile() { + ./make.py build --dist unix || die + distutils-r1_python_compile +} + +python_install() { + distutils-r1_python_install + ./make.py install --dist unix --prefix="${ED}/usr" || die + + gzip -d "${ED}"/usr/share/man/man1/*.gz || die +} + +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." + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +# Tests are unfortunately regularly broken +RESTRICT="test"