From 351dd40ca7d765b6630471cfd65cc7c1b3f340ef Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 16 Mar 2022 16:02:22 +0100 Subject: sclang: Remove custom local override script bin/sclang: Remove custom local override script used for headless environments. Supercollider should be built to provide headless support directly instead of working around the problem client-side. --- bin/sclang | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 bin/sclang diff --git a/bin/sclang b/bin/sclang deleted file mode 100755 index a97b5b6..0000000 --- a/bin/sclang +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# If not running X, run sclang in a xvfb environment. -# This ensures getting around a bug with QPixmaps that needs a X server to run: -# https://github.com/supercollider/supercollider/issues/1736 -# NOTE: For headless sclang to work properly changes to SCClassLibrary have to -# be applied: https://github.com/supercollider/supercollider/issues/1209 - -set -euo pipefail - -if [ -z "${DISPLAY:-}" ]; then - export DISPLAY=:0 -fi - -if command -v xset > /dev/null && xset q >/dev/null ; then - xvfb-run -a /usr/bin/sclang "$@" -else - /usr/bin/sclang "$@" -fi -- cgit v1.2.3-70-g09d2