Accepting request 987494 from games

- Update to release 2.20.0

OBS-URL: https://build.opensuse.org/request/show/987494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2_ttf?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-07-08 12:01:59 +00:00 committed by Git OBS Bridge
commit 564b69cf52
7 changed files with 25 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251
size 14896353

Binary file not shown.

3
SDL2_ttf-2.20.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:874680232b72839555a558b48d71666b562e280f379e673b6f0c7445ea3b9b8a
size 13156472

BIN
SDL2_ttf-2.20.0.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Jul 7 13:41:57 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.20.0
* Added TTF_GetFontWrappedAlign() and TTF_SetFontWrappedAlign()
to set alignment on wrapped text
* Added functions to render using FreeType LCD algorithm:
TTF_RenderText_LCD(), TTF_RenderUTF8_LCD(),
TTF_RenderUNICODE_LCD(), TTF_RenderText_LCD_Wrapped(),
TTF_RenderUTF8_LCD_Wrapped(),
TTF_RenderUNICODE_LCD_Wrapped(), TTF_RenderGlyph_LCD(),
TTF_RenderGlyph32_LCD().
* Added TTF_SetFontDirection() and TTF_SetFontScriptName() for
additional control over fonts using HarfBuzz
* Fix memory corruption loading malformed TTF files
[CVE-2022-27470]
- Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages
themselves have baselibs).
-------------------------------------------------------------------
Wed Jan 12 01:27:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -18,7 +18,7 @@
Name: SDL2_ttf
%define lname libSDL2_ttf-2_0-0
Version: 2.0.18
Version: 2.20.0
Release: 0
Summary: Simple DirectMedia Layer 2 Truetype library
License: Zlib
@ -29,7 +29,6 @@ URL: https://github.com/libsdl-org/SDL_ttf
Source: https://github.com/libsdl-org/SDL_ttf/releases/download/release-%version/SDL2_ttf-%version.tar.gz
Source2: https://github.com/libsdl-org/SDL_ttf/releases/download/release-%version/SDL2_ttf-%version.tar.gz.sig
Source8: %name.keyring
Source9: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: dos2unix
BuildRequires: pkg-config
@ -75,7 +74,7 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%license COPYING.txt
%license LICENSE.txt
%_libdir/libSDL2_ttf-2*.so.*
%files -n libSDL2_ttf-devel
@ -83,5 +82,6 @@ rm -f "%buildroot/%_libdir"/*.la
%_includedir/SDL2/
%_libdir/libSDL2_ttf.so
%_libdir/pkgconfig/SDL2_ttf.pc
%_libdir/cmake/
%changelog

View File

@ -1,6 +0,0 @@
libSDL2_ttf-2_0-0
provides "SDL2_ttf-<targettype> = <version>"
obsoletes "SDL2_ttf-<targettype> <= <version>"
libSDL2_ttf-devel
requires -libSDL2_ttf-<targettype>
requires "libSDL2_ttf-2_0-0-<targettype> = <version>"