[pitivi] flatpak: Pass $DISPLAY to the sandbox



commit 598a5ad97da6afd8380af88a61442bb56c8b4a2e
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Jun 1 12:34:22 2016 -0400

    flatpak: Pass $DISPLAY to the sandbox

 build/flatpak/pitivi-flatpak |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 4c3b222..2502f62 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -397,6 +397,7 @@ then
       --env=GST_VALIDATE_LAUNCHER_DEBUG=$GST_VALIDATE_LAUNCHER_DEBUG \
       --env=PITIVI_DEBUG=$PITIVI_DEBUG \
       --env=PITIVI_DEVELOPMENT=1 \
+      --env=DISPLAY=$DISPLAY \
       --env=GST_DEBUG_DUMP_DOT_DIR=$GST_DEBUG_DUMP_DOT_DIR \
       $PREFIX $SCRIPTDIR/enter-env "$@"
 
@@ -410,6 +411,7 @@ then
       --env=GST_VALIDATE_LAUNCHER_DEBUG=$GST_VALIDATE_LAUNCHER_DEBUG \
       --env=PITIVI_DEBUG=$PITIVI_DEBUG \
       --env=PITIVI_DEVELOPMENT=1 \
+      --env=DISPLAY=$DISPLAY \
       --env=GST_DEBUG_DUMP_DOT_DIR=$GST_DEBUG_DUMP_DOT_DIR \
       $PREFIX $SCRIPTDIR/enter-env "nosetests --with-xunit $APPLICATION_REPOSITORY/tests/test_*.py"|| exit 1
   fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]