aboutsummaryrefslogtreecommitdiffstats
path: root/bin/sclang
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-03-16 16:02:22 +0100
committerDavid Runge <dave@sleepmap.de>2022-03-16 16:24:14 +0100
commit351dd40ca7d765b6630471cfd65cc7c1b3f340ef (patch)
tree7193ad06ed902105fffd3ff88424f1cf017eb84f /bin/sclang
parentafc3e7e8ead970b92cbb16076aeb36dc5c024107 (diff)
downloaddotfiles-351dd40ca7d765b6630471cfd65cc7c1b3f340ef.tar.gz
dotfiles-351dd40ca7d765b6630471cfd65cc7c1b3f340ef.tar.bz2
dotfiles-351dd40ca7d765b6630471cfd65cc7c1b3f340ef.tar.xz
dotfiles-351dd40ca7d765b6630471cfd65cc7c1b3f340ef.zip
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.
Diffstat (limited to 'bin/sclang')
-rwxr-xr-xbin/sclang18
1 files changed, 0 insertions, 18 deletions
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