Review the list of dependencies in PKGBUILD
In the past, python-proton-*
packages had missing dependencies in PKGBUILD, while proton-vpn-gtk-app
's PKGBUILD contains many dependencies which are actually the dependencies of various python-proton-*
components.
Now that we have fixed python-proton-*
, we can review the list of dependencies of proton-vpn-gtk-app
.
Click to expand
"proton-vpn-api-core",
"pygobject",
"pycairo",
"dbus-python",
"packaging",
"distro",
"requests",
"proton-core"
Click to expand
Depends: ${python3:Depends}, ${misc:Depends}, librsvg2-common, python3-gi, python3-gi-cairo,
gir1.2-gtk-3.0, python3-proton-vpn-api-core (>= 0.42.1), python3-dbus,
gir1.2-nm-1.0, gir1.2-notify-0.7, python3-packaging, python3-distro,
python3-requests, python3-proton-core
Suggests: libayatana-appindicator3-1, gir1.2-ayatanaappindicator3-0.1
Click to expand
Requires: gtk3
Requires: python3-gobject
Requires: python3-dbus
Requires: python3-proton-vpn-api-core >= 0.39.0
Requires: librsvg2
Requires: python3-packaging
Suggests: libappindicator-gtk3
With reference to the above, the following may not be needed:
- python-aiohttp
- python-bcrypt
- python-gnupg
- python-jinja
- python-pynacl
- python-pyopenssl
- python-sentry_sdk
- webkit2gtk
(EDIT) The following dependency is missing:
- libnotify
For python-proton-vpn-local-agent
, it can be moved to python-proton-vpn-network-manager
(Please refer to python-proton-vpn-network-manager#1 (comment 236110)).
For python-proton-keyring-linux
and python-proton-vpn-network-manager
, upstream does not define them as dependencies of proton-vpn-gtk-app
.
Instead, upstream has a proton-vpn-gnome-desktop
meta package (Debian / Fedora) which pulls in proton-vpn-gtk-app
, python-proton-keyring-linux
, and python-proton-vpn-network-manager
.
We can keep these two as proton-vpn-gtk-app
's dependencies for simplicity, or we can create a new meta package like the upstream does.
Upstream's Fedora build script suggests libappindicator-gtk3
, which is also present in the PKGBUILD as an optional dependency.
At the same time, the Debian one suggests libayatana-appindicator3-1
and gir1.2-ayatanaappindicator3-0.1
(i.e. libayatana-appindicator
in Arch Linux).
Maybe we can list both - libayatana-appindicator
is maintained and libappindicator-gtk3
is legacy (reference), ProtonVPN will try the legacy one if ayatana indicator is not available.