libsdl2 (2.0.10+dfsg1-3) unstable; urgency=medium

  * Team upload

  [ Gianfranco Costamagna ]
  * Fix autopkgtests for cross-architecture testing, by making sure
    sdl2-config calls the correct pkg-config command

  [ Simon McVittie ]
  * Revert "Add the non-multiarch include dir to pkg-config cflags for
    compatibility."
  * Revert "Install all headers in an architecture-specific location"
  * Make SDL_config.h redirect to an architecture-specific version
    (Closes: #909740, #951087, #951943, #951959, #951974, #951976, #952049,
    #951962, #952105, #955416)
  * Create a SDL_platform.h symlink in /usr/include/MULTIARCH/SDL2
    (Closes: #952046, #952066, #952098)
  * Add autopkgtests for various deprecated use patterns

 -- Simon McVittie <smcv@debian.org>  Mon, 13 Apr 2020 18:27:11 +0100

libsdl2 (2.0.10+dfsg1-2) unstable; urgency=medium

  [ Simon McVittie ]
  * d/tests: Add a test that detecting SDL2 via CMake does not regress.
    This is the sort of thing that could easily regress while solving #909740.
  * Install all headers in an architecture-specific location.
    This approach was suggested by Adrian Bunk on #909740, as one of several
    possible ways to avoid SDL_config.h colliding between architectures.
    Because this approach uses a different @includedir@ for each architecture,
    we can no longer have @includedir@ in sdl2-config.in: that would result
    in non-co-installability. However, simply removing it (similar to
    no-libdir.patch) is not an option, because the SDL 2 headers are not
    on the default include path (and they cannot be added to it without
    breaking parallel-installability of SDL 1.2 or a hypothetical future
    SDL 3). Instead, patch sdl-config.in to ask pkg-config for its CFLAGS
    and LIBS. This can supersede the previous no-libdir.patch.
    This relies on the assumption that cross-compilation will always set
    PKG_CONFIG, even if that environment variable is not otherwise used by
    the build system that is invoking sdl2-config.
    The sdl2-config.cmake.in part of no-libdir.patch can simply be dropped,
    because that file is installed to an architecture-specific location
    anyway, namely ${libdir}/cmake.
  * Mark libsdl2-dev as Multi-Arch: same (Closes: #909740)

  [ Gianfranco Costamagna ]
  * Upload part of Ubuntu delta to Debian

  [ Timo Aaltonen ]
  * rules: Disable GLES1, it's getting enabled because libgles-dev ships
    GLES1 headers now, but they have conflicting types against the ones
    SDL has.

  [ Steve Langasek ]
  * Make autopkgtests cross-test-friendly. (Closes: #946496)

  [ Felix Geyer ]
  * Drop build-all autopkgtest.
    - We already have tests that check if building against SDL2 with pkg-config,
      sdl2-config and cmake works correctly.
    - It has a large overhead as it rebuilds SDL2 and requires supporting
      cmake as a second buildsystem.
  * Add the non-multiarch include dir to pkg-config cflags for compatibility.

 -- Felix Geyer <fgeyer@debian.org>  Sun, 02 Feb 2020 23:02:25 +0100

libsdl2 (2.0.10+dfsg1-1) unstable; urgency=medium

  * New upstream release. (Closes: #939249)
    - Fixes warnings with -Wundef on non-x86 hosts. (Closes: #892087)
    - Fixes CVE-2019-7572, CVE-2019-7573, CVE-2019-7574, CVE-2019-7575,
      CVE-2019-7576, CVE-2019-7577, CVE-2019-7578, CVE-2019-7635,
      CVE-2019-7636, CVE-2019-7638 and CVE-2019-13626 (Closes: #924610)
  * Drop fix-cross-building-907711.patch, fixed upstream.
  * Bump SHLIBVER to 2.0.10.
  * Add support for nodoc build-profile.
  * Switch to debhelper compat level 12.
  * Cherry-pick upstream fix for CVE-2019-13616.
  * Mark autopkgtests as superficial.

 -- Felix Geyer <fgeyer@debian.org>  Thu, 19 Sep 2019 23:50:39 +0200

libsdl2 (2.0.9+dfsg1-1) unstable; urgency=medium

  * New upstream release. (Closes: #914251)
  * Drop SDL2-dynapi-symbol-resolution-fix.patch, applied upstream.
  * Refresh fix-cross-building-907711.patch
  * Bump SHLIBVER to 2.0.9.

 -- Felix Geyer <fgeyer@debian.org>  Sat, 02 Feb 2019 17:13:17 +0100

libsdl2 (2.0.8+dfsg1-6) unstable; urgency=medium

  * d/rules: Add @ in 'tar --mtime="@$(SOURCE_DATE_EPOCH)"', otherwise the
    date is not valid

 -- Manuel A. Fernandez Montecelo <mafm@debian.org>  Thu, 25 Oct 2018 01:42:18 +0200

libsdl2 (2.0.8+dfsg1-5) unstable; urgency=medium

  * Bump Policy Standards-Version to 4.2.1 (no changes needed)
  * d/rules: include /usr/share/dpkg/architecture.mk and .../pkg-info.mk
    to provide DEB_HOST_ARCH_CPU, DEB_HOST_MULTIARCH and
    SOURCE_DATE_EPOCH, instead of getting them through shell invocations.
  * d/watch: Switch to version=4
  * Switch to debhelper compat level v11
    - Force examples to be installed in libsdl2-doc
  * d/patches:
    - add fix-cross-building-907711.patch to fix cross-building by using
      the right pkg-config depending on the architecture (Closes: #907711)
      Thanks Helmut Grohne for the report and the patch.

 -- Manuel A. Fernandez Montecelo <mafm@debian.org>  Sat, 20 Oct 2018 12:51:58 +0200

libsdl2 (2.0.8+dfsg1-4) unstable; urgency=medium

  * Team upload
  * Update copyright file.
  * Ack previous NMU thanks!
  * Also add the testsuite from test directory (from bug #909778)
    - we need to find an approach to also run the resulting binaries
      automatically

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 01 Oct 2018 12:54:23 +0200

libsdl2 (2.0.8+dfsg1-3.1) unstable; urgency=medium

  * Non-maintainer upload.
  * d/tests/build: Add autopkgtest to check that dynamic linking with
    either pkg-config or sdl2-config works correctly
  * Revert "Make libsdl2-dev coinstallable again"
    (Closes: #909778) (reopens: #909740)

 -- Simon McVittie <smcv@debian.org>  Sun, 30 Sep 2018 16:13:38 +0100

libsdl2 (2.0.8+dfsg1-3) unstable; urgency=medium

  [ Hugh McMaster <hugh.mcmaster@outlook.com> ]
  * Make libsdl2 coinstallable again (Closes: #909740).

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Thu, 27 Sep 2018 16:21:47 +0200

libsdl2 (2.0.8+dfsg1-2) unstable; urgency=medium

  [ Felix Geyer ]
  * Remove Multi-Arch: same from libsdl2-dev as SDL_config.h is architecture
    dependent.

  [ Gianfranco Costamagna ]
  * Team upload
  * Enable vulkan everywhere
  * debian/patches/SDL2-dynapi-symbol-resolution-fix.patch:
    cherry-pick upstream fix for Unity-based games shipping bundled
    libsdl2 version (LP: #1772471)
    - thanks Ryan Gordon for the patch and help

  [ Ryan C. Gordon (icculus) ]
  * Disable --disable-loadso switch, it was useless and it is wrong
    in many cases (see LP: #1740517 for discussion)

 -- Felix Geyer <fgeyer@debian.org>  Sun, 09 Sep 2018 01:41:38 +0200

# For older changelog entries, run 'apt-get changelog libsdl2-doc'
