Tabs and check script and dependency

Removed tabs (tabs to spaces). Remove the check_deps.sh. removed libwebsocketpp-dev from dependencies. BTW, this is in cmake.yml.
This commit is contained in:
Extremesecrecy
2025-07-24 20:31:40 -07:00
parent 225eddcf96
commit 56d66ef7db
17 changed files with 94 additions and 134 deletions
+1 -9
View File
@@ -27,15 +27,7 @@ Run the following commands to install dependent libraries required by the PiPeda
authbind libavahi-client-dev libnm-dev libicu-dev \ authbind libavahi-client-dev libnm-dev libicu-dev \
libsdbus-c++-dev libzip-dev google-perftools \ libsdbus-c++-dev libzip-dev google-perftools \
libgoogle-perftools-dev \ libgoogle-perftools-dev \
libpipewire-0.3-dev libwebsocketpp-dev libpipewire-0.3-dev
After installing these packages, run the dependency checker to verify that
everything required is present:
```bash
cd ~/src/pipedal
./scripts/check_deps.sh
```
### Installing Sources ### Installing Sources
-2
View File
@@ -13,8 +13,6 @@ available through the Code plugins store) has configured itself, build commands
If you are not using Visual Studio Code, you can configure, build and install PiPedal using CMake build tools. For your convenience, If you are not using Visual Studio Code, you can configure, build and install PiPedal using CMake build tools. For your convenience,
the following shell scripts have been provided in the root of the project. the following shell scripts have been provided in the root of the project.
./scripts/check_deps.sh # Verify required system packages
./init.sh # Configure the CMake build for the first time, or if you ./init.sh # Configure the CMake build for the first time, or if you
# have changed one of the CMakeList.txt files. (release build) # have changed one of the CMakeList.txt files. (release build)
-30
View File
@@ -1,30 +0,0 @@
#!/usr/bin/env bash
# Check for required system packages for building PiPedal.
set -e
packages=(\
liblilv-dev libboost-dev libsystemd-dev catch libasound2-dev uuid-dev \
authbind libavahi-client-dev libnm-dev libicu-dev \
libsdbus-c++-dev libzip-dev google-perftools \
libgoogle-perftools-dev libpipewire-0.3-dev \
libwebsocketpp-dev
)
missing=()
for pkg in "${packages[@]}"; do
if ! dpkg -s "$pkg" >/dev/null 2>&1; then
missing+=("$pkg")
fi
done
if [ ${#missing[@]} -ne 0 ]; then
echo "Missing packages:" >&2
for pkg in "${missing[@]}"; do
echo " $pkg" >&2
done
exit 1
else
echo "All required packages are installed." >&2
fi