fix: Typo in gir1.2-ayatanaappindicator3-0.1 .deb package (Debian 13) (#101)

There was a typo in the gir1.2-ayatanaappindicator3-0.1 .deb package referred
to in apt commands, submitted in commit 27ebbfe417f178eaabcf2ac10af63f37bc819fac
gir1.2-ayatana-appindicator3 (typo) replaced with gir1.2-ayatanaappindicator3-0.1
per Debian package list at
https://packages.debian.org/search?keywords=gir1.2-ayatanaappindicator3-0.1
Will be backwards compatible with Debian 11 (bullseye), 12 (bookworm), and current
13 (trixie).

Changes:
- install.sh: gir1.2-ayatana-appindicator3 (typo) replaced with gir1.2-ayatanaappindicator3-0.1
- docs/INSTALL.md: gir1.2-ayatana-appindicator3 (typo) replaced with gir1.2-ayatanaappindicator3-0.1
- src/vocalinux/main.py: gir1.2-ayatana-appindicator3 (typo) replaced with gir1.2-ayatanaappindicator3-0.1
- CONTRIBUTING.md: gir1.2-ayatana-appindicator3 (typo) replaced with gir1.2-ayatanaappindicator3-0.1
This commit is contained in:
Ibi Keller
2026-01-29 10:43:11 -08:00
committed by GitHub
parent 97aec35287
commit 4219e3e398
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ This will:
# On older Ubuntu/Debian:
sudo apt install -y gir1.2-appindicator3-0.1
# On Debian 13+ (trixie) or newer:
sudo apt install -y gir1.2-ayatana-appindicator3
sudo apt install -y gir1.2-ayatanaappindicator3-0.1
```
3. **Set up Python environment:**
+2 -2
View File
@@ -150,7 +150,7 @@ sudo apt install -y \
# - On older Ubuntu/Debian versions:
sudo apt install -y gir1.2-appindicator3-0.1
# - On Debian 13+ (trixie) or newer Ubuntu versions:
sudo apt install -y gir1.2-ayatana-appindicator3
sudo apt install -y gir1.2-ayatanaappindicator3-0.1
# For X11
sudo apt install -y xdotool
@@ -257,7 +257,7 @@ sudo apt install python3-gi python3-gi-cairo
# For appindicator (system tray icon) - try one of these:
sudo apt install gir1.2-appindicator3-0.1 # For older Debian/Ubuntu
# OR
sudo apt install gir1.2-ayatana-appindicator3 # For Debian 13+ or newer Ubuntu
sudo apt install gir1.2-ayatanaappindicator3-0.1 # For Debian 13+ or newer Ubuntu
# Recreate venv with system packages
rm -rf venv
+5 -5
View File
@@ -288,19 +288,19 @@ install_system_dependencies() {
sudo apt update || { print_error "Failed to update package lists"; exit 1; }
# Handle appindicator package: old package was deprecated in Debian 13+
# Try the old package first, fall back to ayatana-appindicator if unavailable
# Try the old package first, fall back to gir1.2-ayatanaappindicator3-0.1 if unavailable
if echo "$MISSING_PACKAGES" | grep -q "gir1.2-appindicator3-0.1"; then
# Remove appindicator from the package list for special handling
FILTERED_PACKAGES=$(echo "$MISSING_PACKAGES" | sed 's/gir1.2-appindicator3-0.1//' | xargs)
# Try to install the old package first (for older Debian/Ubuntu versions)
if ! sudo apt install -y gir1.2-appindicator3-0.1 2>/dev/null; then
print_info "gir1.2-appindicator3-0.1 not available, trying gir1.2-ayatana-appindicator3..."
if ! sudo apt install -y gir1.2-ayatana-appindicator3; then
print_error "Failed to install appindicator package (tried both gir1.2-appindicator3-0.1 and gir1.2-ayatana-appindicator3)"
print_info "gir1.2-appindicator3-0.1 not available, trying gir1.2-ayatanaappindicator3-0.1..."
if ! sudo apt install -y gir1.2-ayatanaappindicator3-0.1; then
print_error "Failed to install appindicator package (tried both gir1.2-appindicator3-0.1 and gir1.2-ayatanaappindicator3-0.1)"
exit 1
fi
print_info "Successfully installed gir1.2-ayatana-appindicator3 (modern replacement)"
print_info "Successfully installed gir1.2-ayatanaappindicator3-0.1 (modern replacement)"
fi
# Install remaining packages
+1 -1
View File
@@ -87,7 +87,7 @@ def check_dependencies():
missing_deps.append(
"GTK3 and AppIndicator3 (install with: sudo apt install "
"python3-gi gir1.2-appindicator3-0.1) "
"Note: On Debian 13+ use gir1.2-ayatana-appindicator3 instead"
"Note: On Debian 13+ use gir1.2-ayatanaappindicator3-0.1 instead"
)
if missing_deps: