Travis: Force XInput and XRandR support.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 Sep 2019 00:46:52 +0000 (00:46 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 Sep 2019 00:46:52 +0000 (00:46 +0000)
May fix "window gets withdrawn on startup on Linux fullscreen".

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12479 d7cf8633-e32d-0410-b094-e92efae38249

.travis-before_install-xonotic.sh
.travis.yml

index 09e5c8c..dc3ccce 100755 (executable)
@@ -16,7 +16,8 @@ for os in "$@"; do
       (
       cd SDL2-2.0.10
       export CC="gcc -m32"
-      i386 ./configure --enable-static --disable-shared --prefix="$USRLOCAL" || cat config.log
+      i386 ./configure --enable-static --disable-shared --prefix="$USRLOCAL" \
+        --enable-video-x11-xinput --enable-video-x11-xrandr ||\ cat config.log
       i386 make
       i386 make install
       )
@@ -26,7 +27,8 @@ for os in "$@"; do
       tar xf SDL2-2.0.10.tar.gz
       (
       cd SDL2-2.0.10
-      ./configure --enable-static --disable-shared --prefix="$USRLOCAL"
+      ./configure --enable-static --disable-shared --prefix="$USRLOCAL" \
+        --enable-video-x11-xinput --enable-video-x11-xrandr ||\ cat config.log
       make
       make install
       )
index fb35033..fbea9bb 100644 (file)
@@ -22,6 +22,8 @@ matrix:
           - libpulse-dev:i386
           - libslang2-dev:i386
           - libxext-dev:i386
+          - libxi-dev:i386
+          - libxrandr-dev:i386
   - os: linux
     env: PROJECT=xonotic OS="linux64"
     compiler: gcc
@@ -31,6 +33,8 @@ matrix:
         packages:
           - libxpm-dev
           - libsdl1.2-dev
+          - libxi-dev
+          - libxrandr-dev
           - libxxf86vm-dev
   - os: linux
     env: PROJECT=xonotic OS="win32"