[Scummvm-cvs-logs] scummvm master -> 164dffd0962dac97ec5fb5b1cb51238df6185633

sev- sev at scummvm.org
Fri Aug 19 22:56:06 CEST 2016


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
de04a68c06 BUILD: Switch SDL backend to SDL2 by default. SDL1 is still a fallback.
164dffd096 Merge pull request #806 from sev-/sdl2-switch


Commit: de04a68c06b3837678abecc245960530c536afda
    https://github.com/scummvm/scummvm/commit/de04a68c06b3837678abecc245960530c536afda
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-08-15T16:07:28+02:00

Commit Message:
BUILD: Switch SDL backend to SDL2 by default. SDL1 is still a fallback.

Changed paths:
    .travis.yml
    NEWS
    configure
    dists/debian/control
    snapcraft.yaml



diff --git a/.travis.yml b/.travis.yml
index 0c88ec8..0ec65ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,14 @@
 language:
   - cpp
 
-sudo: false
+sudo: required
 
 addons:
   apt:
     packages:
     - g++ make
-    - libsdl1.2-dev
-    - libjpeg62-turbo-dev
+    - libsdl2-dev
+    - libjpeg-turbo8-dev
     - libmpeg2-4-dev
     - libogg-dev
     - libvorbis-dev
@@ -32,6 +32,8 @@ compiler:
 os:
   - linux
 
+dist: trusty
+
 script:
   - ./configure --enable-all-engines
   - make -j 2
diff --git a/NEWS b/NEWS
index daff855..df8ee4b 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ For a more comprehensive changelog of the latest experimental code, see:
 
  General:
    - Fixed audio corruption in the MS ADPCM decoder.
+   - Switched SDL backend to SDL2 by default. SDL1 is still a fallback.
 
  AGI:
    - Added support for Hercules rendering. Both green and amber modes are
diff --git a/configure b/configure
index 9e2a19d..c7fd4f0 100755
--- a/configure
+++ b/configure
@@ -184,7 +184,7 @@ _amigaospath="Games:ScummVM"
 _staticlibpath=
 _xcodetoolspath=
 _sparklepath=
-_sdlconfig=sdl-config
+_sdlconfig=sdl2-config
 _freetypeconfig=freetype-config
 _sdlpath="$PATH"
 _freetypepath="$PATH"
@@ -368,7 +368,7 @@ define_in_config_if_yes() {
 # TODO: small bit of code to test sdl usability
 find_sdlconfig() {
 	echo_n "Looking for sdl-config... "
-	sdlconfigs="$SDL_CONFIG:$_sdlconfig:sdl-config:sdl11-config:sdl12-config"
+	sdlconfigs="$SDL_CONFIG:$_sdlconfig:sdl2-config:sdl12-config:sdl11-config:sdl-config"
 	_sdlconfig=
 
 	IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$SEPARATOR"
@@ -3122,7 +3122,7 @@ case $_backend in
 		append_var INCLUDES "-I$ANDROID_NDK/sources/cxx-stl/system/include"
 		;;
 	androidsdl)
-		;;		
+		;;
 	dc)
 		append_var INCLUDES '-I$(srcdir)/backends/platform/dc'
 		append_var INCLUDES '-isystem $(ronindir)/include'
diff --git a/dists/debian/control b/dists/debian/control
index 40c0e53..f101ce3 100644
--- a/dists/debian/control
+++ b/dists/debian/control
@@ -3,7 +3,7 @@ Section: games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: David Weinehall <tao at debian.org>, Moritz Muehlenhoff <jmm at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), nasm [i386], libsdl1.2-dev, libmad0-dev, libasound2-dev [linux-any], libvorbis-dev, libmpeg2-4-dev, libflac-dev, libz-dev, libfluidsynth-dev, python
+Build-Depends: debhelper (>= 7.0.50~), nasm [i386], libsdl2-dev, libmad0-dev, libasound2-dev [linux-any], libvorbis-dev, libmpeg2-4-dev, libflac-dev, libz-dev, libfluidsynth-dev, python
 Standards-Version: 3.9.2
 Homepage: http://www.scummvm.org
 
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 06afc76..178a323 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -25,7 +25,7 @@ parts:
     build-packages:
       - g++
       - make
-      - libsdl1.2-dev
+      - libsdl2-dev
       - libjpeg62-dev
       - libmpeg2-4-dev
       - libogg-dev
@@ -54,7 +54,7 @@ parts:
       - libmpeg2-4
       - libogg0
       - libpng12-0
-      - libsdl1.2debian
+      - libsdl2-2.0-0
       - libsndio6.1
       - libstdc++6
       - libtheora0


Commit: 164dffd0962dac97ec5fb5b1cb51238df6185633
    https://github.com/scummvm/scummvm/commit/164dffd0962dac97ec5fb5b1cb51238df6185633
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-08-19T22:56:01+02:00

Commit Message:
Merge pull request #806 from sev-/sdl2-switch

BUILD: Switch SDL backend to SDL2 by default. SDL1 is still a fallback.

Changed paths:
    .travis.yml
    NEWS
    configure
    dists/debian/control
    snapcraft.yaml









More information about the Scummvm-git-logs mailing list