Add full Oculog codebase

This commit is contained in:
shump
2026-02-12 14:52:37 -06:00
parent 49d8d01643
commit 5c6a17abf3
68 changed files with 34218 additions and 0 deletions

35
clients/ubuntu/build-deb.sh Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
set -e
# Colors
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
echo -e "${GREEN}Building Oculog Client Debian Package${NC}"
echo "=========================================="
echo ""
# Check if dpkg-buildpackage is available
if ! command -v dpkg-buildpackage &> /dev/null; then
echo -e "${YELLOW}dpkg-buildpackage not found. Installing build dependencies...${NC}"
sudo apt-get update
sudo apt-get install -y devscripts build-essential debhelper
fi
# Clean previous builds
echo "Cleaning previous builds..."
rm -rf debian/oculog-client
rm -f ../oculog-client_*.deb
rm -f ../oculog-client_*.changes
rm -f ../oculog-client_*.buildinfo
# Build the package
echo "Building package..."
dpkg-buildpackage -b -us -uc
echo ""
echo -e "${GREEN}Package built successfully!${NC}"
echo "Package location: ../oculog-client_*.deb"