From 9a81beb8cf53485b8569a43dd42de85ead02ac39 Mon Sep 17 00:00:00 2001 From: Emil Tomczyk Date: Tue, 11 Jun 2024 14:48:57 +0200 Subject: [PATCH 1/2] python3-nbxmpp: update to 5.0.0. --- srcpkgs/python3-nbxmpp/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-nbxmpp/template b/srcpkgs/python3-nbxmpp/template index 433a4bbd41d674..708256356a3cc5 100644 --- a/srcpkgs/python3-nbxmpp/template +++ b/srcpkgs/python3-nbxmpp/template @@ -1,6 +1,6 @@ # Template file for 'python3-nbxmpp' pkgname=python3-nbxmpp -version=4.5.3 +version=5.0.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-wheel" @@ -12,7 +12,7 @@ license="GPL-2.0-or-later" homepage="https://python-nbxmpp.gajim.org/" changelog="https://dev.gajim.org/gajim/python-nbxmpp/raw/master/ChangeLog" distfiles="${PYPI_SITE}/n/nbxmpp/nbxmpp-${version}.tar.gz" -checksum=6e620e6da8ec9f9bc4fad4b1f7ff8467c3ae9efee8ea0593ce4258ac03e00b9e +checksum=52319a08fb0f017833a305342a67d07f77f167821c975e2cc520b6b86d4cdc54 do_check() { coverage run --source=nbxmpp -m unittest discover -v From 4567e15da9d498883fd934cf69b3c4df10efcd8c Mon Sep 17 00:00:00 2001 From: Emil Tomczyk Date: Tue, 11 Jun 2024 14:49:10 +0200 Subject: [PATCH 2/2] gajim: update to 1.9.0, adopt. People on Gajim's MUC advised to remove this test --- srcpkgs/gajim/files/README.voidlinux | 3 +++ .../gajim/patches/remove_broken_test.patch | 15 ++++++++++++++ srcpkgs/gajim/template | 20 +++++++++---------- 3 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 srcpkgs/gajim/patches/remove_broken_test.patch diff --git a/srcpkgs/gajim/files/README.voidlinux b/srcpkgs/gajim/files/README.voidlinux index 3b19a82a5bb256..73c3158d82722a 100644 --- a/srcpkgs/gajim/files/README.voidlinux +++ b/srcpkgs/gajim/files/README.voidlinux @@ -1 +1,4 @@ Visit https://dev.gajim.org/gajim/gajim-plugins/-/wikis/home to install plugins. +Some plugins are already available via Gajim->Plugins menu. +If you want to use same emojis as in official screenshots, install +"noto-fonts-emoji" package. Another popular one is "twemoji". diff --git a/srcpkgs/gajim/patches/remove_broken_test.patch b/srcpkgs/gajim/patches/remove_broken_test.patch new file mode 100644 index 00000000000000..5b11e87cfebf63 --- /dev/null +++ b/srcpkgs/gajim/patches/remove_broken_test.patch @@ -0,0 +1,15 @@ +--- a/test/gui/test_util.py 2024-06-10 10:03:49.000000000 +0200 ++++ b/test/gui/test_util.py 2024-06-11 16:15:31.000273954 +0200 +@@ -57,9 +57,9 @@ + # returns 'c', not 'ch'. + + # In most locales (say, any western one): +- devanagari_kshi = '\u0915\u094D' + devanagari_ssi +- self.assertEqual( +- get_first_grapheme(devanagari_kshi), '\u0915\u094D', 'क्षि -> क् ') ++ # devanagari_kshi = '\u0915\u094D' + devanagari_ssi ++ # self.assertEqual( ++ # get_first_grapheme(devanagari_kshi), '\u0915\u094D', 'क्षि -> क् ') + # This probably won't fail on *any* locale, ever, again because the + # implementation doesn't seem locale-specific. + diff --git a/srcpkgs/gajim/template b/srcpkgs/gajim/template index cf49fab68994f4..fddd50f555e54f 100644 --- a/srcpkgs/gajim/template +++ b/srcpkgs/gajim/template @@ -1,24 +1,24 @@ # Template file for 'gajim' pkgname=gajim -version=1.8.4 +version=1.9.0 revision=1 build_style=python3-pep517 hostmakedepends="gettext python3-wheel" -depends="python3-gobject python3-setuptools python3-Pillow - python3-cairo python3-dbus libsecret gsound libnm - python3-nbxmpp python3-openssl python3-css-parser python3-keyring - python3-precis-i18n python3-packaging python3-setuptools python3-distro - python3-qrcode python3-omemo-dr - python3-netifaces python3-pyasn1 python3-jeepney libsoup3 farstream gst-plugins-base1 - gst-plugins-ugly1 gst-libav gtksourceview4" +depends="farstream gsound gst-libav gst-plugins-base1 gst-plugins-ugly1 + gtksourceview4 libnm libsecret libsoup3 python3-Pillow python3-SQLAlchemy2 + python3-cairo python3-css-parser python3-dbus python3-distro python3-emoji + python3-gobject python3-jeepney python3-keyring python3-nbxmpp + python3-netifaces python3-omemo-dr python3-openssl python3-packaging + python3-precis-i18n python3-pyasn1 python3-qrcode python3-setuptools + python3-setuptools" checkdepends="${depends} python3-packaging" short_desc="Full featured Jabber/XMPP client" -maintainer="Orphaned " +maintainer="Emil Tomczyk " license="GPL-3.0-only" homepage="https://www.gajim.org" changelog="https://dev.gajim.org/gajim/gajim/-/raw/master/ChangeLog" distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.gz" -checksum=58fced87b1ce01b3d5269bcdf33499246533b01b4008d9701eb1e10cf94e49c5 +checksum=7a244b419afad01be3aaa9e860463e2ecc205ba7be4bd9932ef04a5425eb0b32 post_build() { ./pep517build/build_metadata.py -o dist/metadata