pidgin/pidgin

Convert stun code to gio

2020-11-17, Elliott Sales de Andrade
22d3e966281b
Convert stun code to gio

* Remove stun_conn->test, as it's never set to anything other than 1.
* De-static stun_conn->packet.
* Use GSocket in stun code.

Testing Done:
Set stun server to stun.ekiga.net (gives my IP), then also broken address (doesn't give my IP). Seems to work without crashing or hanging.

Reviewed at https://reviews.imfreedom.org/r/227/
---
id: im.pidgin.Pidgin3
runtime: org.gnome.Platform
runtime-version: '3.36'
sdk: org.gnome.Sdk
command: pidgin3
finish-args:
- --share=ipc
- --socket=fallback-x11
- --share=network
- --socket=pulseaudio
- --talk-name=org.freedesktop.Notifications
- --system-talk-name=org.freedesktop.Avahi
modules:
- packaging/flatpak/libpurple-common.yml
- packaging/flatpak/talkatu.yml
- name: pidgin3
buildsystem: meson
config-opts:
- -Dconsoleui=false
- -Ddoc=false
sources:
- type: dir
path: '.'