Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #224 on top of current main + build tests with CMake #1

Open
wants to merge 18 commits into
base: direction-test
Choose a base branch
from

Commits on May 25, 2022

  1. Configuration menu
    Copy the full SHA
    4c3e02a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cb5de7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a36dce9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e55014 View commit details
    Browse the repository at this point in the history
  5. CHANGES.txt: Mention CVE-2022-27470

    Signed-off-by: Simon McVittie <[email protected]>
    smcv authored and sezero committed May 25, 2022
    Configuration menu
    Copy the full SHA
    28ad0fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a07b94 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    51120f7 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. removed gcc-fat.sh

    sezero committed May 26, 2022
    Configuration menu
    Copy the full SHA
    577eff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dc2c25 View commit details
    Browse the repository at this point in the history
  3. build: Compile with large inode number support where possible

    On filesystems with large inode numbers, such as overlayfs, attempting
    to stat() a file on a 32-bit system using legacy syscalls can fail
    with EOVERFLOW. If we opt-in to more modern "large file support"
    syscalls, then source code references to functions like stat() are
    transparently replaced with ABIs that support large file sizes and
    inode numbers, such as stat64().
    
    In general, SDL_ttf delegates its file I/O to SDL, so it is unaffected
    by this issue. However, if we build with the vendored libraries, they
    use libc functions like stat(), subjecting them to the EOVERFLOW problem.
    
    Signed-off-by: Simon McVittie <[email protected]>
    smcv authored and slouken committed May 26, 2022
    Configuration menu
    Copy the full SHA
    52c1aa3 View commit details
    Browse the repository at this point in the history
  4. regenerated configure script.

    sezero committed May 26, 2022
    Configuration menu
    Copy the full SHA
    d505bee View commit details
    Browse the repository at this point in the history
  5. Use global direction and script if per-font values were not set

    This fixes a regression for the py-sdl2 test suite, which exercises
    the (now-deprecated) TTF_SetDirection() and TTF_SetScript(), and
    expects setting a new global value to have an effect on pre-existing
    font objects.
    
    Resolves: libsdl-org#221
    Signed-off-by: Simon McVittie <[email protected]>
    smcv authored and slouken committed May 26, 2022
    Configuration menu
    Copy the full SHA
    2c14d7c View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. Configuration menu
    Copy the full SHA
    7d897e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b35c03d View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Updated to autoconf 2.71

    slouken committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    6f7dee8 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Major CMake rework

    - Use 'SDL2TTF_' prefix for all options
    - Create SDL2_ttf::SDL2_ttf when building a shared library,
      create SDL2_ttf::SDL2_ttf-static when building a static library
    - Use same CMake layout as SDL_image/SDL_mixer
    - Create libSDL2_ttfd.so symbolic link (when building debug build type)
    - Add PrivateSdlFunctions.cmake script for common functionality between SDL_image/SDL_mixer
    - Add FindXXX.cmake scripts for dependencies that don't provide cmake configuration files
    - Add CMakeLists.txt + cmake scripts to source distribution (EXTRA_DIST of autotools)
    - Test CMake on mingw64 (using system dependencies there)
    - Add MacOS CI
    - Create symbolic link at build time + install it
    - Only install SDL2_ttf.pc when building a shared SDL2_ttf (to avoid overwriting when later installing a static SDL2_tff)
    - Allow parallel installation with cmake support of a static and shared SDL2_ttf
    - Macos versioning
    madebr committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    11846cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e6e03f View commit details
    Browse the repository at this point in the history
  3. Build tests in CMake script

    madebr committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    a87db5f View commit details
    Browse the repository at this point in the history