Hi there!
I tried to install your wonderful app on Debian 12 in Python virtual environment and finally success achieved )
I faced with issue that on Debian 12 you first need to install following system packages:
sudo apt install libcairo2-dev libgirepository1.0-dev gir1.2-ayatanaappindicator3-0.1
Then, you install the pip requirements as documnted: pip install -e .[develop]
And then, you have to make following source code changes (obtained with git diff):
diff --git a/src/coin/coin.py b/src/coin/coin.py
index c30a768..ed41aaa 100755
--- a/src/coin/coin.py
+++ b/src/coin/coin.py
@@ -12,7 +12,7 @@ import gi
gi.require_version("Gtk", "3.0")
gi.require_version("Gdk", "3.0")
gi.require_version("GdkPixbuf", "2.0")
-gi.require_version("AppIndicator3", "0.1")
+gi.require_version("AyatanaAppIndicator3", "0.1")
os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "hide"
import importlib
@@ -32,7 +32,7 @@ from coin.coingecko_client import CoinGeckoClient
from coin.config import Config
try:
- from gi.repository import AppIndicator3 as AppIndicator
+ from gi.repository import AyatanaAppIndicator3 as AppIndicator
except ImportError:
from gi.repository import AppIndicator
diff --git a/src/coin/indicator.py b/src/coin/indicator.py
index 13949de..d2b33d4 100644
--- a/src/coin/indicator.py
+++ b/src/coin/indicator.py
@@ -13,7 +13,7 @@ from coin.config import Config
from coin.asset_selection import AssetSelectionWindow
try:
- from gi.repository import AppIndicator3 as AppIndicator
+ from gi.repository import AyatanaAppIndicator3 as AppIndicator
except ImportError:
from gi.repository import AppIndicator
Because for some reason, there is no AppIndicator3 namespace in Debian and one have to use AyatanaAppIndicator3. I am not specialist with Python GUI apps so I do not know how to make really usefull patch for it, so leaving it here "as-is" for your coincideration.
Thanks for app and have a good time!
PS: Some related link: https://lazka.github.io/pgi-docs/#AyatanaAppIndicator3-0.1
Hi there!
I tried to install your wonderful app on Debian 12 in Python virtual environment and finally success achieved )
I faced with issue that on Debian 12 you first need to install following system packages:
Then, you install the pip requirements as documnted:
pip install -e .[develop]And then, you have to make following source code changes (obtained with
git diff):Because for some reason, there is no
AppIndicator3namespace in Debian and one have to useAyatanaAppIndicator3. I am not specialist with Python GUI apps so I do not know how to make really usefull patch for it, so leaving it here "as-is" for your coincideration.Thanks for app and have a good time!
PS: Some related link: https://lazka.github.io/pgi-docs/#AyatanaAppIndicator3-0.1