Accepting request 842789 from M17N

- 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.

- 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'.

OBS-URL: https://build.opensuse.org/request/show/842789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetype2?expand=0&rev=89
This commit is contained in:
Dominique Leuenberger 2020-10-23 10:19:02 +00:00 committed by Git OBS Bridge
commit 016893dbc4
20 changed files with 77 additions and 51 deletions

View File

@ -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 ) )
{

View File

@ -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, \

View File

@ -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.
*/

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b
size 2404456

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9owAKCRDBpg6s5wf9
pTmvAJ9BEHc7Q3Q8TsUA8dUaxF3021yNJgCfRvXWSeYDnl3MZbvrDHAuXTqXkWU=
=4vOu
-----END PGP SIGNATURE-----

3
freetype-2.10.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784
size 2416620

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9
pZEVAKCDmRHm9r1pxCwXCBNQfFMe4d1NQgCcDm+RLoTDuc2y4jmjLFMAqfMhzvo=
=Pt2+
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22b9584040a2e3c4387b5998cb9b4340183888eef15c2ac0fd9115cad837cf91
size 2078712

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9pAAKCRDBpg6s5wf9
pRe/AKCGL6qZ4MZQ9/yKCitXbpg71q4HggCfda9rP9NkKCKlyT+xRtSFOrIY3vs=
=NjYh
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LwAKCRDBpg6s5wf9
pfbTAJ9Zuk7lUdVXP83dBZo2AOrO1cr8HgCfa+SE7B+ozJu8nyUItUDpcusQ64M=
=QhdQ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Oct 20 09:38:30 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- 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 <idonmez@suse.com>

View File

@ -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

View File

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

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXrY9owAKCRDBpg6s5wf9
pY7yAJ0TuTfW2KsoXY1DY6Gmifn4hp5dAgCfdum7iGOLirfN1DmTOXpgTqacy4I=
=HZ29
-----END PGP SIGNATURE-----

3
ft2demos-2.10.4.tar.xz Normal file
View File

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

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9
pdxXAJ9a9ZunEnelwPHRHk3qfdv7mPRhhACfUeWQ0+3pOUVX03LoeytYdifvNfM=
=MZ7h
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Oct 20 09:40:04 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- 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 <idonmez@suse.com>

View File

@ -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