SHA256
1
0
forked from pool/pidgin

Accepting request 973938 from network:pidgin

- Update to version 2.14.9.

OBS-URL: https://build.opensuse.org/request/show/973938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=144
This commit is contained in:
Dominique Leuenberger 2022-05-01 16:53:40 +00:00 committed by Git OBS Bridge
commit cd3206738e
7 changed files with 53 additions and 109 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f8085c0211c4ca1ba9f8a03889b3d60738432c1673b57b0086070ef6e094cca
size 8683281

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEQN4dxyiP4/UKuTjFSPZq/9m9tykFAmFo5sAACgkQSPZq/9m9
tym3IA//TsnPQH1rNXDmuuLe6EwCTxwdKbIdvPqoCUdWZiNhs80GySho6ibgFPc0
IEL8HXJgFn3k92tF4/WlAKx6pP1DPAoYd6aLCX+4CeO+0/rBlxShR7b+aJkgXFjQ
plFEP7L12FrCxKvHlJyxsTOzIEq3TQDPCO+6toJGfYncerSuHM+6X7dznK3apBRn
Xg4E0r4bkVAZOASemJz2mbXq7hcG7e/o5R4yVleyYXBhxl25ohejbJzR1Kd+d9gv
15JGIlqZgx7iHc5Z8CFBC0VMusD2vgoR/aov+BD3+q1capwL/WKENWoBS/VTHPnk
muhmHnmczVn5iBs1P5MyetPvkrExzck8B3h408kNUn0F6VuJrc4jLPvgCUZqMIrW
LnGVWeQooyAMebneD764TrKWNk2J+ndyWJBotyYBXEqPYGB3IuvtdB/PxJ/MF59W
AjAR+PcKVuRpo+KADGK83fxttAQU5vC+Gg1/BqXggwDvp0n3QYbZVLnJLx07UON7
gsPD8vpY2HwKbmEf3aKzKLnhkUAyiSU6BACtNYrReo9+Q9uREnjfZlZd28w6FNwn
tvIrQ6TD5CfxZfrHrMsCHDhJC0ErBYuV9D6tNo3fEWuGrDzRxtfArESf+8tQy2mQ
xkar+JYh74CMIhw2wHueUks8ia9yJeANu41qulm+5jT71aYfKHg=
=YhQY
-----END PGP SIGNATURE-----

3
pidgin-2.14.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1872d1629a26e9b775d9ec0bdd3d3fd348f721376f320b29bcd5ff3f0443222b
size 8254729

16
pidgin-2.14.9.tar.bz2.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEQN4dxyiP4/UKuTjFSPZq/9m9tykFAmJrFO0ACgkQSPZq/9m9
tymVuQ//cz8pdpYBWbGAfV6tnqEN01uWta0pEL5a6u9rDj7ysbAaNJPCUc0NRR4R
6Ydt9O93rekCKO7EiNqMxvsbYsQ/VLsashdSZnlJLeqyse9FX0skwnlu1wpRump2
fUlKxvGmvlakmHD/41pi9eNuHu/b7IodvSn758iu0FW1AG8z0YJewv7XGXgl+EQ8
5nIFAVBEBg894xFojjJPg7Xbtqlw4TTnOBVOuhFaLnR/v79QreF/A+fUCBLtKTe8
MCGL6NXYdf/JAsbray0p7MuTYSGHYRk24S0R9WqCMSN84r0CTaf2UWVULKr1x8kG
UvbkD70TS0itkQ/1Dfxpu654VkBA2WhYf/0l0ITsVlJDPBA21RzDvjPQHgCCmd2y
aThE6eUYEDyOHDSgB/aQP26ttxOXpK4QcT4D7q4yCH7W3DDhv6jaf+jdBb+Azmvo
NWH0OgV7Gn+oPGCImlky/YxAlLva0X/+bDe8dnKd06MXab1Cho+miBgATTj1Y/4Y
Oc4yHmzjIJdIkPb7m1SiuHLJ1MxZz0AilmH9HIjYtMJJ2lj+YsGzjZHaluDjqjBh
mmnG/12Rfh7Ws0Vq8wkmkQ5okP/dW283lUZhowtffp4TE1w4vJ25jNvm2yrI2PJ7
5RQL6zHm2okskF1gzzREyrGJVyvnp1BBrYvW1mqxxqmhksG6bkQ=
=L2mM
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Fri Apr 29 11:03:13 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>
- Update to version 2.14.9:
+ Security
* Remove _xmppconnect support (CVE-2022-26491, boo#1199025).
+ libpurple
* Fix a GLib CRITICAL message with typing time outs.
* Fix an issue where the unit tests for purple_str_to_time
would fail.
+ Pidgin
* Fix a memory leak in pidgin_conversations_set_tab_colors.
* Fix the majority of the infinite resizing issues in the
input box.
* Add transient-buddy back which is used to show some context
menus and other things.
+ Translations
* Fix a typo in the German translations.
* Synchronised all of the translations with Transifex.
+ IRC
* Fix file transfers failing at 99% on IRC.
* Default realname and ident name in IRC to the username
(nickname) of the account.
* Add an advanced account option to IRC accounts for
explicitly setting the SASL login name.
* Add a rate limiter that should make it impossible to excess
flood.
+ SIMPLE
* Fix an issue with the CSeq numbers in SIMPLE.
+ XMPP
* Fix XMPP attention messages being sent to incorrect JIDs.
- Drop rb1342.patch: fixed upstream.
-------------------------------------------------------------------
Wed Mar 23 10:21:56 UTC 2022 - Martin Wilck <mwilck@suse.com>

View File

@ -19,7 +19,7 @@
%define _name Pidgin
%define sover 0
Name: pidgin
Version: 2.14.8
Version: 2.14.9
Release: 0
Summary: Multiprotocol Instant Messaging Client
License: GPL-2.0-only
@ -38,8 +38,6 @@ Patch2: pidgin-fix-perl-build.patch
Patch3: pidgin-use-default-alsa.patch
# PATCH-FIX-OPENSUSE pidgin-always-enable-intltool.patch mgorse@suse.com -- always enable intltool, needed for autoconf 2.71.
Patch4: pidgin-always-enable-intltool.patch
# https://reviews.imfreedom.org/r/1342/
Patch5: rb1342.patch
BuildRequires: ca-certificates-mozilla
BuildRequires: doxygen
BuildRequires: fdupes
@ -235,7 +233,6 @@ scripts and plugins.
%patch3 -p1
%endif
%patch4 -p1
%patch5 -p1
cp -f %{SOURCE3} %{name}-prefs.xml

View File

@ -1,86 +0,0 @@
# HG changeset patch
# Node ID 8719e6ca6ff4
# Parent 17237faf35cb
diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -2361,6 +2361,9 @@
g_return_if_fail(gtkconv != NULL);
+ g_object_set_data(G_OBJECT(gtkconv->imhtml), "resize-count",
+ GINT_TO_POINTER(0));
+
if (!purple_prefs_get_bool("/purple/conversations/im/send_typing"))
return;
@@ -2378,6 +2381,9 @@
g_return_if_fail(gtkconv != NULL);
+ g_object_set_data(G_OBJECT(gtkconv->imhtml), "resize-count",
+ GINT_TO_POINTER(0));
+
conv = gtkconv->active_conv;
if (!purple_prefs_get_bool("/purple/conversations/im/send_typing"))
@@ -5056,6 +5062,7 @@
gtk_widget_set_name(gtkconv->entry, "pidgin_conv_entry");
gtk_imhtml_set_protocol_name(GTK_IMHTML(gtkconv->entry),
purple_account_get_protocol_name(conv->account));
+ g_object_set_data(G_OBJECT(gtkconv->entry), "gtkconv", gtkconv);
g_signal_connect(G_OBJECT(gtkconv->entry), "populate-popup",
G_CALLBACK(entry_popup_menu_cb), gtkconv);
diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -387,6 +387,8 @@
static void (*parent_size_allocate)(GtkWidget *widget, GtkAllocation *alloc);
+#define MAX_RESIZE_COUNT 3
+
static void gtk_imhtml_size_allocate(GtkWidget *widget, GtkAllocation *alloc)
{
GtkIMHtml *imhtml = GTK_IMHTML(widget);
@@ -395,6 +397,39 @@
int height = 0, y = 0;
GtkTextIter iter;
gboolean scroll = TRUE;
+ PidginConversation *gtkconv;
+ GtkIMHtml *entry, *messages;
+ int resize_count;
+
+ gtkconv = g_object_get_data(G_OBJECT(imhtml), "gtkconv");
+
+ if(gtkconv != NULL) {
+ entry = GTK_IMHTML(gtkconv->entry);
+ messages = GTK_IMHTML(gtkconv->imhtml);
+
+ resize_count = GPOINTER_TO_INT(
+ g_object_get_data(
+ G_OBJECT(imhtml), "resize-count"));
+
+ if(imhtml == entry) {
+ if(resize_count > MAX_RESIZE_COUNT) {
+ return;
+ }
+ } else if(imhtml == messages) {
+ g_object_set_data(G_OBJECT(entry), "resize-count",
+ GINT_TO_POINTER(0));
+
+ if(resize_count > MAX_RESIZE_COUNT){
+ g_object_set_data(G_OBJECT(messages), "resize-count",
+ GINT_TO_POINTER(0));
+ return;
+ }
+ }
+
+ resize_count++;
+ g_object_set_data(G_OBJECT(imhtml), "resize-count",
+ GINT_TO_POINTER(resize_count));
+ }
gtk_text_buffer_get_end_iter(imhtml->text_buffer, &iter);