View | Details | Raw Unified | Return to bug 259685 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-im/purple-hangouts/Makefile (-8 / +7 lines)
Lines 1-12 Link Here
1
# Created by: José García Juanino <jjuanino@gmail.com>
1
# Created by: Jose G. Juanino <jjuanino@gmail.com>
2
2
3
PORTNAME=	purple-hangouts
3
PORTNAME=	purple-hangouts
4
PORTVERSION=	20190607
4
PORTVERSION=	20210630
5
PORTREVISION=	1
6
CATEGORIES=	net-im
5
CATEGORIES=	net-im
7
MASTER_SITES=	https://bitbucket.org/EionRobb/${PORTNAME}/get/
8
# Commit tag. Must be changed according with PORTVERSION.
9
DISTNAME=	3f7d89bf9ce2
10
6
11
MAINTAINER=	jjuanino@gmail.com
7
MAINTAINER=	jjuanino@gmail.com
12
COMMENT=	Hangouts plugin for libpurple
8
COMMENT=	Hangouts plugin for libpurple
Lines 18-28 LIB_DEPENDS= libpurple.so:net-im/libpurple \ Link Here
18
		libjson-glib-1.0.so:devel/json-glib \
14
		libjson-glib-1.0.so:devel/json-glib \
19
		libprotobuf-c.so:devel/protobuf-c
15
		libprotobuf-c.so:devel/protobuf-c
20
16
21
USES=		gmake gnome pkgconfig zip
17
USES=		gmake gnome pkgconfig
22
USE_GNOME=	glib20
18
USE_GNOME=	glib20
23
PATCH_STRIP=	-p1 --ignore-whitespace
19
PATCH_STRIP=	-p1 --ignore-whitespace
24
20
25
WRKSRC=		${WRKDIR}/EionRobb-${PORTNAME}-${DISTNAME}
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	EionRobb
23
# Change accordingly with PORTVERSION
24
GH_TAGNAME=	55b9f01
26
25
27
OPTIONS_DEFINE=	NLS
26
OPTIONS_DEFINE=	NLS
28
27
(-)b/net-im/purple-hangouts/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1560716336
1
TIMESTAMP = 1636228644
2
SHA256 (3f7d89bf9ce2.zip) = e5265fa947071ef2d6068e7493f6260b8078cc683aa6775d767e04ed3baa536b
2
SHA256 (EionRobb-purple-hangouts-20210630-55b9f01_GH0.tar.gz) = a6dfd000f5cdc28b9cf423b91230facef172e44b2554bccd0a1e21df49b6b0e6
3
SIZE (3f7d89bf9ce2.zip) = 172287
3
SIZE (EionRobb-purple-hangouts-20210630-55b9f01_GH0.tar.gz) = 153325
(-)a/net-im/purple-hangouts/files/patch-429 (-26 lines)
Removed Link Here
1
From 55b9f01d040b240b794700f44d9c21a6cb51251e Mon Sep 17 00:00:00 2001
2
From: Eion Robb <eion@robbmob.com>
3
Date: Wed, 30 Jun 2021 09:53:47 +1200
4
Subject: [PATCH] Fix for 429 errors
5
6
Fixes issue #222
7
---
8
 hangouts_auth.c | 5 +++++
9
 1 file changed, 5 insertions(+)
10
11
diff --git a/hangouts_auth.c b/hangouts_auth.c
12
index 025f4f9..d988c3a 100644
13
--- a/hangouts_auth.c
14
+++ b/hangouts_auth.c
15
@@ -258,6 +258,11 @@ hangouts_auth_get_session_cookies_got_cb(PurpleHttpConnection *http_conn, Purple
16
 		return;
17
 	}
18
 	
19
+	purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PSID", NULL);
20
+	purple_http_cookie_jar_set(ha->cookie_jar, "__Host-3PLSID", NULL);
21
+	purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PAPISID", NULL);
22
+	purple_http_cookie_jar_set(ha->cookie_jar, "__Host-GAPS", NULL);
23
+	
24
 	//Restore the last_event_timestamp before it gets overridden by new events
25
 	last_event_timestamp = purple_account_get_int(ha->account, "last_event_timestamp_high", 0);
26
 	if (last_event_timestamp != 0) {
(-)b/net-im/purple-hangouts/pkg-descr (-2 / +1 lines)
Lines 5-8 that aren't part of the XMPP interface, such as Group Chats, Link Here
5
synchronised history between devices and SMS support via Google
5
synchronised history between devices and SMS support via Google
6
Voice.
6
Voice.
7
7
8
WWW: https://bitbucket.org/EionRobb/purple-hangouts
8
WWW: https://github.com/EionRobb/purple-hangouts
9
- 

Return to bug 259685