im.pidgin.Pidgin3.yml

Fri, 04 Nov 2022 23:55:30 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 04 Nov 2022 23:55:30 -0500
changeset 41890
2c15f6e30f20
parent 40513
6d79c7cf9699
child 42481
94a590e39869
permissions
-rw-r--r--

Add purple_account_manager_get_connected and port libpurple to it

Generally speaking, purple_connections_get_all is used to get a list of accounts
that are currently connected and then act upon those accounts.

Instead of having a connections API for that, we can just put it into the
account manager which can query the accounts it knows about and check if they
are connected or not making the account the source of truth for whether it is
connected or not.

This also has the benefit of treating the connection as just a data object that
belongs to the account which feels a lot more natural than the existing API.

Testing Done:
Ran and let a bonjour account go idle and verified via another instance of pidgin.

Reviewed at https://reviews.imfreedom.org/r/2031/

40513
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 ---
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 id: im.pidgin.Pidgin3
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 runtime: org.gnome.Platform
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 runtime-version: '3.36'
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 sdk: org.gnome.Sdk
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 command: pidgin3
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 finish-args:
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 - --share=ipc
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 - --socket=fallback-x11
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 - --share=network
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 - --socket=pulseaudio
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 - --talk-name=org.freedesktop.Notifications
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 - --system-talk-name=org.freedesktop.Avahi
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 modules:
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 - packaging/flatpak/libpurple-common.yml
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 - packaging/flatpak/talkatu.yml
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 - name: pidgin3
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 buildsystem: meson
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 config-opts:
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 - -Dconsoleui=false
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 - -Ddoc=false
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 sources:
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 - type: dir
6d79c7cf9699 add flatpak manifests for both pidgin and finch
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 path: '.'

mercurial