fix: replace broken internal OF dependency script with manual Debian Trixie compatible list

This commit is contained in:
Timothy Hofland
2026-03-11 11:07:56 +01:00
parent ae29a8b20f
commit ad3084659b

View File

@ -219,13 +219,20 @@ if [ ! -d "openFrameworks" ]; then
sudo -u "$REAL_USER" mv of_v0.12.1_linux*_release openFrameworks sudo -u "$REAL_USER" mv of_v0.12.1_linux*_release openFrameworks
sudo -u "$REAL_USER" rm "$OF_FILE" sudo -u "$REAL_USER" rm "$OF_FILE"
# Crucial: Install dependencies from inside the downloaded archive # Crucial: Install dependencies manually for Debian Trixie/modern systems
echo "Installing OpenFrameworks dependencies (this matches your release)..." # Internal script is obsolete and looks for libgconf-2-4 which is gone.
if [ -d "openFrameworks/scripts/linux/debian" ]; then echo "Installing modern dependencies for Debian Trixie..."
cd openFrameworks/scripts/linux/debian if command -v apt-get > /dev/null; then
./install_dependencies.sh -y DEBIAN_FRONTEND=noninteractive apt-get install -y \
./install_codecs.sh libmpg123-dev libsndfile1-dev libopenal-dev libassimp-dev \
cd ../../../ libtess2-dev libglew-dev libglfw3-dev liburiparser-dev \
libcurl4-openssl-dev libpugixml-dev libasound2-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly gstreamer1.0-libav \
libgtk-3-dev libboost-filesystem-dev libfreeimage-dev \
libfontconfig1-dev libfreetype6-dev libx11-dev \
libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
fi fi
else else
echo "OpenFrameworks already present. Skipping download." echo "OpenFrameworks already present. Skipping download."