diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-04-15 11:33:29 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-15 11:33:29 -0400 |
commit | 417cca0f4b737ba96ed08b1bf3b2f3ee4675672f (patch) | |
tree | 54067c19723f9193cdf219385cdead03e9fb3b05 /net-irc/telepathy-idle | |
parent | net-im/telepathy-mission-control: Drop old versions (diff) | |
download | gentoo-417cca0f4b737ba96ed08b1bf3b2f3ee4675672f.tar.gz gentoo-417cca0f4b737ba96ed08b1bf3b2f3ee4675672f.tar.bz2 gentoo-417cca0f4b737ba96ed08b1bf3b2f3ee4675672f.zip |
net-irc/telepathy-idle: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-irc/telepathy-idle')
-rw-r--r-- | net-irc/telepathy-idle/Manifest | 3 | ||||
-rw-r--r-- | net-irc/telepathy-idle/files/telepathy-idle-0.2.0-fixes.patch | 223 | ||||
-rw-r--r-- | net-irc/telepathy-idle/telepathy-idle-0.2.0-r3.ebuild | 48 |
3 files changed, 0 insertions, 274 deletions
diff --git a/net-irc/telepathy-idle/Manifest b/net-irc/telepathy-idle/Manifest index 4ab26a5bcde0..30e326c24a98 100644 --- a/net-irc/telepathy-idle/Manifest +++ b/net-irc/telepathy-idle/Manifest @@ -1,4 +1 @@ -DIST telepathy-idle-0.2.0-py3-1.patch 3849 BLAKE2B 48617c65e8c3af4aa40332eed66c1839b4a9db9c99a4e350fae89879dcbd67c133e0a05fd9a778a5e0ac737ddbf8f999f23095b9a2a3cdef233485b1c9422908 SHA512 41c90befc3bb2df84f35a2f53bbe29885f67a2ceb5dfbf906436655b9400368e74a1a4a6b408f669fa951ae9d50d89bc7e0e2285f50a6fecf1a1d719c307cb24 -DIST telepathy-idle-0.2.0-py3-2.patch 1441 BLAKE2B ea32a2c94216ff320f43c3bf8b537b197c0398507f812eecfab86359e43c53fc2724b2c0d0a0e0a7b342243b07cce38a86f802d9fbc777bba942df939f52a56b SHA512 c9f868f50c5300f4ed06953de935f44e2e87729a36a61d4c1e998d322c1dcdac2759200b66a04c965e9ef591475dfbd5997c83816c6fc2bfb178bfd4bcd260e8 -DIST telepathy-idle-0.2.0.tar.gz 566492 BLAKE2B d0e12bb23b96b7df5afb101ae2c62994777de616d5ea70a10fb2141e68066c7dfaae713340c7f8a2d8ce1f259f302729efa1927eaf7d2a9555120c58e89046f2 SHA512 f5e36afc3ab4b52eb865f2c1e6565b99011a7540fc1a7783d3bbd7bbf50bc671a2147df6bde646c82059a466cc1df9bdb10e2500db5b7bb06d57a989a75c261b DIST telepathy-idle-0.2.2.tar.gz 606406 BLAKE2B e5d4a19df08bbb59c18d0601357134a6edab085b2b04463b085651f35ee135f0d3f3f27fc35417dcf023913f7ead939161cb1a72cb51824a988aad6c0cb2a136 SHA512 c66cf7b70c84a9b7b1ada01712b8d3b683f15a4021bb2d0f6d868b4ab30e2fb12fd26dd8d5ba25b5050e055bf425295049e84a53198d6586f7cfd7c6bc02f826 diff --git a/net-irc/telepathy-idle/files/telepathy-idle-0.2.0-fixes.patch b/net-irc/telepathy-idle/files/telepathy-idle-0.2.0-fixes.patch deleted file mode 100644 index 07f14f9f4dde..000000000000 --- a/net-irc/telepathy-idle/files/telepathy-idle-0.2.0-fixes.patch +++ /dev/null @@ -1,223 +0,0 @@ -From bf6d596e40e5b9426a68dcd22aa62a697457c4f7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> -Date: Sat, 13 Feb 2016 10:08:42 +0100 -Subject: [PATCH 1/6] ctcp: Don't bling the non-bling - -When stripping color codes, we currently remove any sequence of digits -following ^C. As color codes use at most two digits, this means that we -also remove any numbers at the start of the colored text - make sure we -stop doing that and only remove digits that are actually part of a color -code. - -https://bugs.freedesktop.org/show_bug.cgi?id=94189 ---- - src/idle-ctcp.c | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/idle-ctcp.c b/src/idle-ctcp.c -index f282360..f28bf4b 100644 ---- a/src/idle-ctcp.c -+++ b/src/idle-ctcp.c -@@ -98,13 +98,18 @@ gchar *idle_ctcp_kill_blingbling(const gchar *msg) { - case '\x03': /* ^C */ - iter++; - -- while (isdigit(*iter)) -+ /* Color codes are 1-2 digits */ -+ if (isdigit(*iter)) -+ iter++; -+ if (isdigit(*iter)) - iter++; - - if (*iter == ',') { - iter++; - -- while (isdigit(*iter)) -+ if (isdigit(*iter)) -+ iter++; -+ if (isdigit(*iter)) - iter++; - } - break; --- -2.23.0 - -From 5a2510ddea8f165f0808a8841e1dca311c003e20 Mon Sep 17 00:00:00 2001 -From: Diane Trout <diane@ghic.org> -Date: Sat, 4 Nov 2017 23:03:26 -0700 -Subject: [PATCH 2/6] Update self-signed certificate to 2048 bytes with SHA-256 - signature - -Valid for 10 years ---- - tests/twisted/tools/idletest.cert | 26 +++++++++++++++++-------- - tests/twisted/tools/idletest.key | 32 ++++++++++++++++++++++++------- - 2 files changed, 43 insertions(+), 15 deletions(-) - -diff --git a/tests/twisted/tools/idletest.cert b/tests/twisted/tools/idletest.cert -index 655abc2..7ea6bcc 100644 ---- a/tests/twisted/tools/idletest.cert -+++ b/tests/twisted/tools/idletest.cert -@@ -1,10 +1,20 @@ - -----BEGIN CERTIFICATE----- --MIIBTzCB+gIBATANBgkqhkiG9w0BAQQFADAzMRIwEAYDVQQKEwl0ZWxlcGF0aHkx --HTAbBgNVBAsTFHRlbGVwYXRoeSBkZXZlbG9wZXJzMB4XDTA5MDExNDE3NDc0N1oX --DTA5MDExNDE3NDg0N1owMzESMBAGA1UEChMJdGVsZXBhdGh5MR0wGwYDVQQLExR0 --ZWxlcGF0aHkgZGV2ZWxvcGVyczBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQC9z/pi --zEMeL+bO3giJVGHGrOHLE7AfDorArwmA0u8Cgu06+J+SW+NJnkj8At4bioxREge6 --yeD6+cHCC9kzXrmXAgMBAAEwDQYJKoZIhvcNAQE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GR6A1serbxUiRN2O6wB8nxtoc7sBJh18pcrwpam -+vOGAolbePV8HPfyBRkCnSw1X6BdifEtxlRCfVWELSI6xQHX8OPTU+uGcvte5uAEi -+7CRRJHlUoojyLOxlJ6IeXh7MjrDIi6tHDqVR9MlRRN3oXhvsN/TtsZUuuC7s280W -+oapk/x7WNDSQsdsi0bmTLrJoZgHzaPRJPCwBFzbj/T1kCC0B - -----END CERTIFICATE----- -diff --git a/tests/twisted/tools/idletest.key b/tests/twisted/tools/idletest.key -index 3a80dab..d579266 100644 ---- a/tests/twisted/tools/idletest.key -+++ b/tests/twisted/tools/idletest.key -@@ -1,9 +1,27 @@ - -----BEGIN RSA PRIVATE KEY----- --MIIBOwIBAAJBAL3P+mLMQx4v5s7eCIlUYcas4csTsB8OisCvCYDS7wKC7Tr4n5Jb --40meSPwC3huKjFESB7rJ4Pr5wcIL2TNeuZcCAwEAAQJBAJLaJc3qWsMwLFJAVjpp --nnwnpUmIoeplRdRtl9yjVWeKrvD2gSh2Qz693dgJbDUGURJecJ+LSS4YMOS+8FLp --KgECIQDhgvqh9KahKphn2/vvcCx3DKBZ7wh9lYIaaAay6IuAhwIhANd5cF48u0ID --39kZCwfhpAKQDxvpqmbnRzB0hISjEpJxAiARfZIo24vM9jvJ2mMI6B9awGzzbLmw --29aya50RZT3kowIhALrT2NJc5iB/K4AZbq8Ovh5auj8Bg3Zl4hvpa11154yBAiAO --F+44Mb+YQi+r526cDv983vCuoU5EM0PbPvJxaWmwtQ== -+MIIEpAIBAAKCAQEAvfB9mhPOYmpDKPDS1OgB+Wl2ZAxM2nOBe8f66K67itaTugYm -+wE0dl97iCShg0svw/A4YRBwhQ3hjQlT+Zz2ZJ7jhWLQbS3+4n+Aj4I20fMePC3AK -+dg9exsITr0Kxqu8NVuxAdLqRZ+AJjEwDSX5zJ1R/G7IigVaN4ziFmzQnB0EYFMC1 -+mSPfGj7sR7fE0Fpo62agk79B24BUDRSCJZTr2btD7loi4iX08Y5Ivgweo1er+fB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zfaRQwu0J3+8NWM01WrxRE9NDtOBudgtP/Z1crKtbnve6bJwkT0a6ZJkae0yO7x -+G9+JLXIPPAC7ftfaq5J0Fyshx/OatL1z6+S1fvURm/nmvrRD8PVz3PeDJcfh1uku -+1JjRWnUCgYAFnAsOddzyRMe52WbeoDbl/AFJZMBbLDb2fI9yGNzy2Y79V0Bvxi3k -+iSp6vHXA2tiVysyeEgVWYOdPmblQ6GRivAW75sgyuma1A0GJqkmd1EPXwbFNod8K -+Ax0XXK2/olLTWtSOs8Cxmopb+V1rpyuTwlhyHc9J4HGEEBeazlYg3A== - -----END RSA PRIVATE KEY----- --- -2.23.0 - -From 0ce3a8fa2bd3f4e72358bb53ecd0acf8fe448483 Mon Sep 17 00:00:00 2001 -From: Diane Trout <diane@ghic.org> -Date: Sat, 4 Nov 2017 23:32:32 -0700 -Subject: [PATCH 3/6] Avoid errors from Python caused by the deliberatly - invalid Unicode - -Because stream.nick is Unicode when sendMessage combines the command, -nick, and invalid utf8 python 2.7 ends up converting everything to -Unicode. Since this test deliberately includes invalid Unicode, Python -notices and throws an exception. - -In Python 3, network traffic is usually encoded as bytes. So I thought -coercing the nick to bytes would be appropriate, and as bytes can contain -anything including invalid Unicode, Python doesn't throw an exception. ---- - tests/twisted/messages/invalid-utf8.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/twisted/messages/invalid-utf8.py b/tests/twisted/messages/invalid-utf8.py -index a48c2f4..725e3bd 100644 ---- a/tests/twisted/messages/invalid-utf8.py -+++ b/tests/twisted/messages/invalid-utf8.py -@@ -33,7 +33,7 @@ def test_with_message(q, stream, parts): - - # Idle's default character set is UTF-8. We send it a message which is - # basically UTF-8, except that one of its code points is invalid. -- stream.sendMessage('PRIVMSG', stream.nick, ':%s' % invalid_utf8, -+ stream.sendMessage('PRIVMSG', bytes(stream.nick), ':%s' % invalid_utf8, - prefix='remoteuser') - - # Idle should signal that *something* was received. If it hasn't validated --- -2.23.0 - -From acf5fcf4d830ae0b5953d8ded8eba4c17726c6f3 Mon Sep 17 00:00:00 2001 -From: Diane Trout <diane@ghic.org> -Date: Mon, 6 Nov 2017 21:46:00 -0800 -Subject: [PATCH 4/6] Returning FALSE from the timer function causes the - timeout to be destroyed - -I asked one of the polari devs and was told that yes it is ok to set -the timer id to zero in the timer function. - -With this patch make check works without changing any of the expected -test results and without any coredumps ---- - src/idle-connection.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/idle-connection.c b/src/idle-connection.c -index 6ab5fea..71c020f 100644 ---- a/src/idle-connection.c -+++ b/src/idle-connection.c -@@ -600,6 +600,7 @@ _force_disconnect (gpointer data) - - IDLE_DEBUG("gave up waiting, forcibly disconnecting"); - idle_server_connection_force_disconnect(priv->conn); -+ priv->force_disconnect_id = 0; - return FALSE; - } - --- -2.23.0 - -From 5e5b677173ef64055b4a7073cb5a15066fc03f70 Mon Sep 17 00:00:00 2001 -From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> -Date: Fri, 14 Feb 2014 12:12:54 +0100 -Subject: [PATCH 5/6] idle-connection: make sure to always reset - force_disconnect_id - -Recent GLib raises a critical when trying to remove an invalid source. - -(cherry picked from commit 12211654baa75db13a05b5c2b3293d1378fcf7a2) ---- - src/idle-connection.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/idle-connection.c b/src/idle-connection.c -index 71c020f..8614d52 100644 ---- a/src/idle-connection.c -+++ b/src/idle-connection.c -@@ -585,6 +585,7 @@ static gboolean _finish_shutdown_idle_func(gpointer data) { - IdleConnectionPrivate *priv = self->priv; - if (priv->force_disconnect_id != 0) { - g_source_remove(priv->force_disconnect_id); -+ priv->force_disconnect_id = 0; - } - - tp_base_connection_finish_shutdown(conn); --- -2.23.0 - diff --git a/net-irc/telepathy-idle/telepathy-idle-0.2.0-r3.ebuild b/net-irc/telepathy-idle/telepathy-idle-0.2.0-r3.ebuild deleted file mode 100644 index 842f73c12425..000000000000 --- a/net-irc/telepathy-idle/telepathy-idle-0.2.0-r3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -inherit python-single-r1 - -DESCRIPTION="Full-featured IRC connection manager for Telepathy" -HOMEPAGE="https://cgit.freedesktop.org/telepathy/telepathy-idle" -SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz - https://src.fedoraproject.org/rpms/telepathy-idle/raw/93c37581c570200c3f646d0872a9c1327d3b3cb1/f/0001-tools-Fix-errors-running-glib-ginterface-gen-under-P.patch -> ${P}-py3-1.patch - https://src.fedoraproject.org/rpms/telepathy-idle/raw/93c37581c570200c3f646d0872a9c1327d3b3cb1/f/0002-tools-Remove-outdated-is-unicode-checks.patch -> ${P}-py3-2.patch" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -BDEPEND=" - virtual/pkgconfig - test? ( dev-python/twisted-words ) -" -RDEPEND=" - >=dev-libs/dbus-glib-0.51 - >=dev-libs/glib-2.32:2 - >=net-libs/telepathy-glib-0.21 - sys-apps/dbus - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-fixes.patch" - "${DISTDIR}"/${P}-py3-{1,2}.patch -) - -src_prepare() { - default - - # Failed in 0.1.16 and code has not moved since october - # Upstream is working on 1.0 - sed -e 's:connect/server-quit-ignore.py::' \ - -e 's:connect/server-quit-noclose.py::' \ - -i tests/twisted/Makefile.{am,in} || die -} |