Add GTK/GNOME dependencies for Tauri desktop apps
Some checks failed
BotServer CI / build (push) Failing after 9s

- Added libglib2.0-dev, libgobject-2.0-dev, libgio-2.0-dev
- Added libgtk-3-dev, libwebkit2gtk-4.0-dev for Tauri GUI
- Added libayatana-appindicator3-dev, librsvg2-dev
- Updated all OS installers (Debian/Ubuntu, Fedora/RHEL, Arch, Alpine)
- Added build options in script output (full workspace vs server-only)
- Fixes build errors from missing gio-2.0.pc and related libraries
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-02-05 22:10:04 -03:00
parent cd2dd0f6f6
commit 613a14ecfb

View file

@ -67,7 +67,14 @@ install_debian_ubuntu() {
python3 \ python3 \
python3-pip \ python3-pip \
nodejs \ nodejs \
npm npm \
libglib2.0-dev \
libgobject-2.0-dev \
libgio-2.0-dev \
libgtk-3-dev \
libwebkit2gtk-4.0-dev \
libayatana-appindicator3-dev \
librsvg2-dev
# Cross-compilation toolchains # Cross-compilation toolchains
apt-get install -y \ apt-get install -y \
@ -105,7 +112,13 @@ install_fedora_rhel() {
python3 \ python3 \
python3-pip \ python3-pip \
nodejs \ nodejs \
npm npm \
glib2-devel \
gobject-introspection-devel \
gtk3-devel \
webkit2gtk3-devel \
libappindicator-gtk3-devel \
librsvg2-devel
} }
install_arch() { install_arch() {
@ -134,7 +147,13 @@ install_arch() {
python \ python \
python-pip \ python-pip \
nodejs \ nodejs \
npm npm \
glib2 \
gobject-introspection \
gtk3 \
webkit2gtk \
libappindicator-gtk3 \
librsvg
} }
install_alpine() { install_alpine() {
@ -166,7 +185,13 @@ install_alpine() {
python3 \ python3 \
py3-pip \ py3-pip \
nodejs \ nodejs \
npm npm \
glib-dev \
gobject-introspection-dev \
gtk+3.0-dev \
webkit2gtk-dev \
libappindicator-dev \
librsvg-dev
} }
case $OS in case $OS in
@ -200,5 +225,9 @@ echo ""
echo "Install Rust if not already installed:" echo "Install Rust if not already installed:"
echo " curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" echo " curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
echo "" echo ""
echo "Then build with:" echo "Build options:"
echo " cargo build --release" echo " Full workspace (includes desktop apps):"
echo " cargo build --release"
echo ""
echo " Server only (faster, no GTK needed):"
echo " cargo build --release -p botserver -p botlib -p bottest"