diff --git a/bugzilla-308961-cmex-workaround.patch b/bugzilla-308961-cmex-workaround.patch index cefc1b8..a8249e1 100644 --- a/bugzilla-308961-cmex-workaround.patch +++ b/bugzilla-308961-cmex-workaround.patch @@ -2,11 +2,11 @@ src/base/ftobjs.c | 5 +++++ 1 file changed, 5 insertions(+) -Index: freetype-2.10.0/src/base/ftobjs.c +Index: freetype-2.10.4/src/base/ftobjs.c =================================================================== ---- freetype-2.10.0.orig/src/base/ftobjs.c -+++ freetype-2.10.0/src/base/ftobjs.c -@@ -2584,6 +2584,11 @@ +--- freetype-2.10.4.orig/src/base/ftobjs.c ++++ freetype-2.10.4/src/base/ftobjs.c +@@ -2602,6 +2602,11 @@ if ( FT_IS_SCALABLE( face ) ) { diff --git a/don-t-mark-libpng-as-required-library.patch b/don-t-mark-libpng-as-required-library.patch index d7bcab1..f33c55f 100644 --- a/don-t-mark-libpng-as-required-library.patch +++ b/don-t-mark-libpng-as-required-library.patch @@ -1,7 +1,7 @@ -Index: freetype-2.10.2/builds/unix/configure +Index: freetype-2.10.4/builds/unix/configure =================================================================== ---- freetype-2.10.2.orig/builds/unix/configure -+++ freetype-2.10.2/builds/unix/configure +--- freetype-2.10.4.orig/builds/unix/configure ++++ freetype-2.10.4/builds/unix/configure @@ -15014,7 +15014,6 @@ fi # entries in Requires.private are separated by commas REQUIRES_PRIVATE="$zlib_reqpriv, \ @@ -26,10 +26,10 @@ Index: freetype-2.10.2/builds/unix/configure $harfbuzz_libsstaticconf \ $brotli_libsstaticconf \ $ft2_extra_libs" -Index: freetype-2.10.2/builds/unix/configure.raw +Index: freetype-2.10.4/builds/unix/configure.raw =================================================================== ---- freetype-2.10.2.orig/builds/unix/configure.raw -+++ freetype-2.10.2/builds/unix/configure.raw +--- freetype-2.10.4.orig/builds/unix/configure.raw ++++ freetype-2.10.4/builds/unix/configure.raw @@ -1039,7 +1039,6 @@ fi # entries in Requires.private are separated by commas REQUIRES_PRIVATE="$zlib_reqpriv, \ diff --git a/enable-long-family-names-by-default.patch b/enable-long-family-names-by-default.patch index 587495d..21861c4 100644 --- a/enable-long-family-names-by-default.patch +++ b/enable-long-family-names-by-default.patch @@ -1,8 +1,8 @@ -Index: freetype-2.10.0/include/freetype/config/ftoption.h +Index: freetype-2.10.4/include/freetype/config/ftoption.h =================================================================== ---- freetype-2.10.0.orig/include/freetype/config/ftoption.h -+++ freetype-2.10.0/include/freetype/config/ftoption.h -@@ -847,7 +847,7 @@ FT_BEGIN_HEADER +--- freetype-2.10.4.orig/include/freetype/config/ftoption.h ++++ freetype-2.10.4/include/freetype/config/ftoption.h +@@ -861,7 +861,7 @@ FT_BEGIN_HEADER * If this option is activated, it can be controlled with the * `no-long-family-names` property of the 'pcf' driver module. */ diff --git a/enable-subpixel-rendering.patch b/enable-subpixel-rendering.patch index 4563676..ea66a91 100644 --- a/enable-subpixel-rendering.patch +++ b/enable-subpixel-rendering.patch @@ -1,10 +1,10 @@ -Index: freetype-2.10.0/include/freetype/config/ftoption.h +Index: freetype-2.10.4/include/freetype/config/ftoption.h =================================================================== ---- freetype-2.10.0.orig/include/freetype/config/ftoption.h -+++ freetype-2.10.0/include/freetype/config/ftoption.h -@@ -126,7 +126,7 @@ FT_BEGIN_HEADER - * macro is not defined, FreeType offers alternative LCD rendering - * technology that produces excellent output without LCD filtering. +--- freetype-2.10.4.orig/include/freetype/config/ftoption.h ++++ freetype-2.10.4/include/freetype/config/ftoption.h +@@ -124,7 +124,7 @@ FT_BEGIN_HEADER + * When this macro is not defined, FreeType offers alternative LCD + * rendering technology that produces excellent output. */ -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING diff --git a/freetype-2.10.2.tar.xz b/freetype-2.10.2.tar.xz deleted file mode 100644 index f887db5..0000000 --- a/freetype-2.10.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b -size 2404456 diff --git a/freetype-2.10.2.tar.xz.sig b/freetype-2.10.2.tar.xz.sig deleted file mode 100644 index 0f9202d..0000000 --- a/freetype-2.10.2.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9owAKCRDBpg6s5wf9 -pTmvAJ9BEHc7Q3Q8TsUA8dUaxF3021yNJgCfRvXWSeYDnl3MZbvrDHAuXTqXkWU= -=4vOu ------END PGP SIGNATURE----- diff --git a/freetype-2.10.4.tar.xz b/freetype-2.10.4.tar.xz new file mode 100644 index 0000000..c925a8c --- /dev/null +++ b/freetype-2.10.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784 +size 2416620 diff --git a/freetype-2.10.4.tar.xz.sig b/freetype-2.10.4.tar.xz.sig new file mode 100644 index 0000000..a43b581 --- /dev/null +++ b/freetype-2.10.4.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9 +pZEVAKCDmRHm9r1pxCwXCBNQfFMe4d1NQgCcDm+RLoTDuc2y4jmjLFMAqfMhzvo= +=Pt2+ +-----END PGP SIGNATURE----- diff --git a/freetype-doc-2.10.2.tar.xz b/freetype-doc-2.10.2.tar.xz deleted file mode 100644 index 06f377d..0000000 --- a/freetype-doc-2.10.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:22b9584040a2e3c4387b5998cb9b4340183888eef15c2ac0fd9115cad837cf91 -size 2078712 diff --git a/freetype-doc-2.10.2.tar.xz.sig b/freetype-doc-2.10.2.tar.xz.sig deleted file mode 100644 index 19e3131..0000000 --- a/freetype-doc-2.10.2.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9pAAKCRDBpg6s5wf9 -pRe/AKCGL6qZ4MZQ9/yKCitXbpg71q4HggCfda9rP9NkKCKlyT+xRtSFOrIY3vs= -=NjYh ------END PGP SIGNATURE----- diff --git a/freetype-doc-2.10.4.tar.xz b/freetype-doc-2.10.4.tar.xz new file mode 100644 index 0000000..b5bba59 --- /dev/null +++ b/freetype-doc-2.10.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cca1c19d1efa911bb685d919b5b0fe1279b0699bf8eb6a3d3bf9f02784758212 +size 2079084 diff --git a/freetype-doc-2.10.4.tar.xz.sig b/freetype-doc-2.10.4.tar.xz.sig new file mode 100644 index 0000000..50b1b57 --- /dev/null +++ b/freetype-doc-2.10.4.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LwAKCRDBpg6s5wf9 +pfbTAJ9Zuk7lUdVXP83dBZo2AOrO1cr8HgCfa+SE7B+ozJu8nyUItUDpcusQ64M= +=QhdQ +-----END PGP SIGNATURE----- diff --git a/freetype2.changes b/freetype2.changes index d696e9d..9dba5ab 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 20 09:38:30 UTC 2020 - Ismail Dönmez + +- Update to version 2.10.4 + * Fix a heap buffer overflow has been found in the handling of embedded + PNG bitmaps, introduced in FreeType version 2.6 (CVE-2020-15999 bsc#1177914) + * Minor improvements to the B/W rasterizer. + * Auto-hinter support for Medefaidrin script. + * Fix various memory leaks (mainly for CFF) and other issues that + might cause crashes in rare circumstances. + ------------------------------------------------------------------- Sat May 9 10:24:29 UTC 2020 - Ismail Dönmez diff --git a/freetype2.spec b/freetype2.spec index cc7f505..cd08c3f 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -16,9 +16,9 @@ # -%define doc_version 2.10.2 +%define doc_version 2.10.4 Name: freetype2 -Version: 2.10.2 +Version: 2.10.4 Release: 0 Summary: A TrueType Font Library License: SUSE-Freetype OR GPL-2.0-or-later diff --git a/ft2demos-2.10.2.tar.xz b/ft2demos-2.10.2.tar.xz deleted file mode 100644 index a6087a6..0000000 --- a/ft2demos-2.10.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3dce65d1ba53d48659688549175765ee163d645b73db7055a3c43a7c882d6daa -size 230672 diff --git a/ft2demos-2.10.2.tar.xz.sig b/ft2demos-2.10.2.tar.xz.sig deleted file mode 100644 index 7e9d7c3..0000000 --- a/ft2demos-2.10.2.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9owAKCRDBpg6s5wf9 -pY7yAJ0TuTfW2KsoXY1DY6Gmifn4hp5dAgCfdum7iGOLirfN1DmTOXpgTqacy4I= -=HZ29 ------END PGP SIGNATURE----- diff --git a/ft2demos-2.10.4.tar.xz b/ft2demos-2.10.4.tar.xz new file mode 100644 index 0000000..8744048 --- /dev/null +++ b/ft2demos-2.10.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f873ebe4fb387da3859149459f9be95320ce1fd56b50f8fdb9d2a8492887083 +size 236712 diff --git a/ft2demos-2.10.4.tar.xz.sig b/ft2demos-2.10.4.tar.xz.sig new file mode 100644 index 0000000..836843a --- /dev/null +++ b/ft2demos-2.10.4.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9 +pdxXAJ9a9ZunEnelwPHRHk3qfdv7mPRhhACfUeWQ0+3pOUVX03LoeytYdifvNfM= +=MZ7h +-----END PGP SIGNATURE----- diff --git a/ft2demos.changes b/ft2demos.changes index 150a003..f16b02f 100644 --- a/ft2demos.changes +++ b/ft2demos.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Oct 20 09:40:04 UTC 2020 - Ismail Dönmez + +- Update to version 2.10.4 + * In `ftview', custom LCD filter values are now normalized and + balanced. Unorthodox filters are still available through the `-L' + command line option. + * The GUI demo programs can now be resized. + * Demo programs that accept command line option `-k' can now handle + function keys, too. The corresponding character codes start with + 0xF1. As an example, the POSIX shell syntax (accepted by bash, + ksh, and zsh) -k $'\xF3q' emulates the pressing of function key `F3' + followed by key `q'. + ------------------------------------------------------------------- Sat May 9 10:26:07 UTC 2020 - Ismail Dönmez diff --git a/ft2demos.spec b/ft2demos.spec index 513e3ec..2d5a8ee 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -16,9 +16,9 @@ # -%define freetype_version 2.10.2 +%define freetype_version 2.10.4 Name: ft2demos -Version: 2.10.2 +Version: 2.10.4 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0-or-later @@ -189,6 +189,7 @@ pushd .. make %{?_smp_mflags} cd src/ftinspect + sed -i s/"-isystem "/"-I "/ ftinspect.pro qmake-qt5 ftinspect.pro make popd