summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-17 22:23:01 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-17 22:23:01 +0200
commit1436de822ff18b0f3a6dafbea1e212ac068cc0fd (patch)
treede9b0f1a117eacd425cc6f91e6e10d938f36e08f
parentbe4abd363000695f148c36a986160f70dbc659ef (diff)
Fix finding of graphics when running from the source tree on Linux.
-rwxr-xr-xrun/dcpomatic_combiner1
-rwxr-xr-xrun/dcpomatic_kdm1
-rwxr-xr-xrun/dcpomatic_player1
-rwxr-xr-xrun/dcpomatic_playlist1
4 files changed, 4 insertions, 0 deletions
diff --git a/run/dcpomatic_combiner b/run/dcpomatic_combiner
index 3cf60d831..a685c864a 100755
--- a/run/dcpomatic_combiner
+++ b/run/dcpomatic_combiner
@@ -2,6 +2,7 @@
export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib
+export DCPOMATIC_GRAPHICS=graphics
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_combiner $*
diff --git a/run/dcpomatic_kdm b/run/dcpomatic_kdm
index 7bae70388..59681f733 100755
--- a/run/dcpomatic_kdm
+++ b/run/dcpomatic_kdm
@@ -2,6 +2,7 @@
export LD_LIBRARY_PATH=build/src/lib:build/src/wx:/home/c.hetherington/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:/carl/Environment/64/lib
+export DCPOMATIC_GRAPHICS=graphics
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_kdm $*
diff --git a/run/dcpomatic_player b/run/dcpomatic_player
index 922b8ff0f..9dc1954cf 100755
--- a/run/dcpomatic_player
+++ b/run/dcpomatic_player
@@ -2,6 +2,7 @@
export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib
+export DCPOMATIC_GRAPHICS=graphics
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_player $*
diff --git a/run/dcpomatic_playlist b/run/dcpomatic_playlist
index a5ae702cb..3de040e00 100755
--- a/run/dcpomatic_playlist
+++ b/run/dcpomatic_playlist
@@ -2,6 +2,7 @@
export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib
+export DCPOMATIC_GRAPHICS=graphics
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_playlist $*