eadkp 0.20.0

Rust library for developing applications for NumWorks calculators running Epsilon OS. Provides low-level hardware interaction and high-level abstractions for display, input, battery, storage, and more.
Documentation
version: "3.9"

services:
  eadkp-dev:
    build: 
      context: .
      dockerfile: dockerfile 
    image: nraddi:latest
    container_name: eadkp
    working_dir: /workspace/eadkp
    volumes:
      - ./:/workspace/eadkp
      # Support X11
      - /tmp/.X11-unix:/tmp/.X11-unix
      # Support Wayland (Utilise un fallback pour éviter les erreurs si vide)
      - ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY:-wayland-0}:/tmp/${WAYLAND_DISPLAY:-wayland-0}
      # USB & GPU
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri:/dev/dri
    tty: true
    stdin_open: true
    environment:
      - DISPLAY=${DISPLAY}
      - WAYLAND_DISPLAY=${WAYLAND_DISPLAY}
      - XDG_RUNTIME_DIR=/tmp
      - EADKP_PRIMARY_BUILD=1
    device_cgroup_rules:
      - 'c 189:* rmw'
      - 'c 166:* rmw'
      - 'c 204:* rmw'

# X11 et Wayland support (normalement) !
# Pour Windows, WSL2 intègre un serveur X11, le lien avec le WM de Windows sera automatique.
# Pour MacOS, il faudra probablement installer un serveur X11 et le configurer manuellement.