From e44c3b646c5088f983872abc2e7c95e821f9f9c78705b0cc33d82bfee72b650a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 7 Jul 2022 13:51:31 +0000 Subject: [PATCH 1/3] - Update to release 2.20.0 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_ttf?expand=0&rev=16 --- SDL2_ttf-2.0.18.tar.gz | 3 --- SDL2_ttf-2.0.18.tar.gz.sig | Bin 95 -> 0 bytes SDL2_ttf-2.20.0.tar.gz | 3 +++ SDL2_ttf-2.20.0.tar.gz.sig | Bin 0 -> 95 bytes SDL2_ttf.changes | 17 +++++++++++++++++ SDL2_ttf.spec | 5 +++-- 6 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 SDL2_ttf-2.0.18.tar.gz delete mode 100644 SDL2_ttf-2.0.18.tar.gz.sig create mode 100644 SDL2_ttf-2.20.0.tar.gz create mode 100644 SDL2_ttf-2.20.0.tar.gz.sig diff --git a/SDL2_ttf-2.0.18.tar.gz b/SDL2_ttf-2.0.18.tar.gz deleted file mode 100644 index 47e15a7..0000000 --- a/SDL2_ttf-2.0.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251 -size 14896353 diff --git a/SDL2_ttf-2.0.18.tar.gz.sig b/SDL2_ttf-2.0.18.tar.gz.sig deleted file mode 100644 index b294cd4ce21516bb2c56b70402b9f88caa96ad174f5bdbbe32a8ffc6e82c7649..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6WD(U!j%^5DT3>$gL7TzS$>qz-te>$mCEmRy!obBT027)2nPGl> vHlsV|jX4_g{7f?oPe}x&-%sRYn8OztKi8>#;qOna_E9r@x$pGOIJyJ?X7eT) diff --git a/SDL2_ttf-2.20.0.tar.gz b/SDL2_ttf-2.20.0.tar.gz new file mode 100644 index 0000000..2051d0c --- /dev/null +++ b/SDL2_ttf-2.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:874680232b72839555a558b48d71666b562e280f379e673b6f0c7445ea3b9b8a +size 13156472 diff --git a/SDL2_ttf-2.20.0.tar.gz.sig b/SDL2_ttf-2.20.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..87787ec332d67f432db252207250d19bb10c6b3b66009e729634415235e51a25 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WD(U!j%^5DT3>$gL7TzS$>qz-te>$mB^|qUkb#R+04B0Bl3~Gg vqgxxgrhLiMJh{1Pp?{fM&}N7E4D-Wgd+Vw)iAX%@{Kx4jxKeM1*}GE!zF;QM literal 0 HcmV?d00001 diff --git a/SDL2_ttf.changes b/SDL2_ttf.changes index a4fd2c4..9fd351d 100644 --- a/SDL2_ttf.changes +++ b/SDL2_ttf.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Jul 7 13:41:57 UTC 2022 - Jan Engelhardt + +- 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] + ------------------------------------------------------------------- Wed Jan 12 01:27:48 UTC 2022 - Jan Engelhardt diff --git a/SDL2_ttf.spec b/SDL2_ttf.spec index 816f22d..6420786 100644 --- a/SDL2_ttf.spec +++ b/SDL2_ttf.spec @@ -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 @@ -75,7 +75,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 +83,6 @@ rm -f "%buildroot/%_libdir"/*.la %_includedir/SDL2/ %_libdir/libSDL2_ttf.so %_libdir/pkgconfig/SDL2_ttf.pc +%_libdir/cmake/ %changelog From 0f54fb5bf1fd7a60b7ddc63e240520f03389f81385867128bb307cea373e9885 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 7 Jul 2022 13:54:03 +0000 Subject: [PATCH 2/3] - Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages themselves have baselibs). OBS-URL: https://build.opensuse.org/package/show/games/SDL2_ttf?expand=0&rev=17 --- SDL2_ttf.changes | 2 ++ baselibs.conf | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 baselibs.conf diff --git a/SDL2_ttf.changes b/SDL2_ttf.changes index 9fd351d..dcef695 100644 --- a/SDL2_ttf.changes +++ b/SDL2_ttf.changes @@ -14,6 +14,8 @@ Thu Jul 7 13:41:57 UTC 2022 - Jan Engelhardt 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 diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index da9ef23..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,6 +0,0 @@ -libSDL2_ttf-2_0-0 - provides "SDL2_ttf- = " - obsoletes "SDL2_ttf- <= " -libSDL2_ttf-devel - requires -libSDL2_ttf- - requires "libSDL2_ttf-2_0-0- = " From 4ec89c3d50eb3c8fe120bfa13d46b7026ef2ad9f8a3f7844b665130f31370aa5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 7 Jul 2022 14:10:42 +0000 Subject: [PATCH 3/3] drop baselibs (2) OBS-URL: https://build.opensuse.org/package/show/games/SDL2_ttf?expand=0&rev=18 --- SDL2_ttf.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/SDL2_ttf.spec b/SDL2_ttf.spec index 6420786..cdb8a1d 100644 --- a/SDL2_ttf.spec +++ b/SDL2_ttf.spec @@ -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