From d5af32802f7ec7cdb8b741812f1e2b0cebbb3bc6 Mon Sep 17 00:00:00 2001 From: kenstir Date: Sat, 24 Aug 2024 14:31:09 -0400 Subject: [PATCH] [Build] Fix Ubuntu dependency for appindicator Change name to gir1.2-appindicator3-0.1. Tested on Ubuntu 22.04.4 LTS and Ubuntu 20.04.6 LTS. Replace appindicator3 refs with newer ayatanaappindicator3 Replace broken python-appindicator link with working jammy link. Closes: https://github.com/deluge-torrent/deluge/pull/459 --- DEPENDS.md | 4 ++-- docs/source/devguide/tutorials/01-setup.md | 2 +- docs/source/intro/01-install.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DEPENDS.md b/DEPENDS.md index 41a7ec09f..67736d612 100644 --- a/DEPENDS.md +++ b/DEPENDS.md @@ -50,7 +50,7 @@ All modules will require the [common](#common) section dependencies. - [PyGObject] - [Pycairo] - [librsvg] _>= 2_ -- [libappindicator3] w/GIR - Optional: Ubuntu system tray icon. +- [ayatanaappindicator3] w/GIR - Optional: Ubuntu system tray icon. ### MacOS @@ -95,6 +95,6 @@ All modules will require the [common](#common) section dependencies. [mako]: https://www.makotemplates.org/ [pygame]: https://www.pygame.org/ [libnotify]: https://developer.gnome.org/libnotify/ -[python-appindicator]: https://packages.ubuntu.com/xenial/python-appindicator +[ayatanaappindicator3]: https://lazka.github.io/pgi-docs/AyatanaAppIndicator3-0.1/index.html [librsvg]: https://wiki.gnome.org/action/show/Projects/LibRsvg [ifaddr]: https://pypi.org/project/ifaddr/ diff --git a/docs/source/devguide/tutorials/01-setup.md b/docs/source/devguide/tutorials/01-setup.md index 02195b192..0e3aa04e7 100644 --- a/docs/source/devguide/tutorials/01-setup.md +++ b/docs/source/devguide/tutorials/01-setup.md @@ -24,7 +24,7 @@ You might need to add `~/.local/bin` to your PATH. #### Runtime libraries and tools sudo apt install python3-libtorrent python3-geoip python3-dbus python3-gi \ - python3-gi-cairo gir1.2-gtk-3.0 gir1.2-appindicator3 python3-pygame libnotify4 \ + python3-gi-cairo gir1.2-gtk-3.0 gir1.2-ayatanaappindicator3-0.1 python3-pygame libnotify4 \ librsvg2-common xdg-utils ## Setup development environment diff --git a/docs/source/intro/01-install.md b/docs/source/intro/01-install.md index 15e99456b..e103a6e81 100644 --- a/docs/source/intro/01-install.md +++ b/docs/source/intro/01-install.md @@ -80,7 +80,7 @@ Will require system installed packages such as libtorent and GTK3. See [DEPENDS] e.g. on Ubuntu/Debian install these packages: - sudo apt install python3-pip python3-libtorrent python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-appindicator3 + sudo apt install python3-pip python3-libtorrent python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-ayatanaappindicator3-0.1 ## Alternative Installs