From 874567c33436a4887c5b969ce42541034e74450b9387a3c90f0c89d508acc201 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 24 Jul 2008 21:00:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetype2?expand=0&rev=7 --- fix-build.patch | 24 +++++++++++++ freetype-2.3.5.tar.bz2 | 3 -- freetype-2.3.7.tar.bz2 | 3 ++ freetype-doc-2.3.5.tar.bz2 | 3 -- freetype-doc-2.3.7.tar.bz2 | 3 ++ freetype2.changes | 67 +++++++++++++++++++++++++++++++++++ freetype2.spec | 72 +++++++++++++++++++++++++++++++++++--- ft2demos-2.3.5.tar.bz2 | 3 -- ft2demos-2.3.7.tar.bz2 | 3 ++ ft2demos.changes | 67 +++++++++++++++++++++++++++++++++++ ft2demos.spec | 70 ++++++++++++++++++++++++++++++++++-- 11 files changed, 302 insertions(+), 16 deletions(-) create mode 100644 fix-build.patch delete mode 100644 freetype-2.3.5.tar.bz2 create mode 100644 freetype-2.3.7.tar.bz2 delete mode 100644 freetype-doc-2.3.5.tar.bz2 create mode 100644 freetype-doc-2.3.7.tar.bz2 delete mode 100644 ft2demos-2.3.5.tar.bz2 create mode 100644 ft2demos-2.3.7.tar.bz2 diff --git a/fix-build.patch b/fix-build.patch new file mode 100644 index 0000000..77b6ffd --- /dev/null +++ b/fix-build.patch @@ -0,0 +1,24 @@ +diff -ru freetype-2.3.7.orig//autogen.sh freetype-2.3.7/autogen.sh +--- freetype-2.3.7.orig//autogen.sh 2008-06-10 19:14:02.000000000 +0200 ++++ freetype-2.3.7/autogen.sh 2008-07-23 12:36:52.000000000 +0200 +@@ -48,7 +48,7 @@ + fi + + run aclocal -I . --force +-run $LIBTOOLIZE --force --copy --install ++run $LIBTOOLIZE --force --copy + run autoconf --force + + chmod +x mkinstalldirs +diff -ru freetype-2.3.7.orig//builds/unix/configure.raw freetype-2.3.7/builds/unix/configure.raw +--- freetype-2.3.7.orig//builds/unix/configure.raw 2008-06-29 09:21:12.000000000 +0200 ++++ freetype-2.3.7/builds/unix/configure.raw 2008-07-23 12:43:41.000000000 +0200 +@@ -561,7 +561,7 @@ + AC_SUBST([SYSTEM_ZLIB]) + + +-LT_INIT(win32-dll) ++#LT_INIT(win32-dll) + + AC_SUBST([hardcode_libdir_flag_spec]) + AC_SUBST([wl]) diff --git a/freetype-2.3.5.tar.bz2 b/freetype-2.3.5.tar.bz2 deleted file mode 100644 index 32d6b6e..0000000 --- a/freetype-2.3.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:319d44f2b15e6d8b6031df4a28238e090fcdc4a66f9d9c6f3d3b40595f87c740 -size 1041584 diff --git a/freetype-2.3.7.tar.bz2 b/freetype-2.3.7.tar.bz2 new file mode 100644 index 0000000..1474101 --- /dev/null +++ b/freetype-2.3.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ecf879eb69fc323669981f02aebff1e3045de415303e86ee67f2080cb3ee888 +size 1310542 diff --git a/freetype-doc-2.3.5.tar.bz2 b/freetype-doc-2.3.5.tar.bz2 deleted file mode 100644 index a1f2730..0000000 --- a/freetype-doc-2.3.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c37aee42427feaaec7a276267f8c8ad771cb81033066bdf452c731fa41e4b0b -size 98644 diff --git a/freetype-doc-2.3.7.tar.bz2 b/freetype-doc-2.3.7.tar.bz2 new file mode 100644 index 0000000..09f5810 --- /dev/null +++ b/freetype-doc-2.3.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d57e0b35ecc37828b6326580cb944fa1408b97d16dbbd26d344c48e47222d20 +size 98646 diff --git a/freetype2.changes b/freetype2.changes index 7874a5b..5587455 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,70 @@ +------------------------------------------------------------------- +Wed Jul 23 12:20:30 CEST 2008 - mfabian@suse.de + +- update to 2.3.7. Extract from the docs/CHANGES file: + • If the library was compiled on an i386 platform using gcc, and + compiler option -O3 was given, `FT_MulFix' sometimes returned + incorrect results which could have caused problems with + `FT_Request_Metrics' and `FT_Select_Metrics', returning an + incorrect descender size. + • Pure CFFs without subfonts were scaled incorrectly if the font + matrix was non-standard. This bug has been introduced in + version 2.3.6. + • The `style_name' field in the `FT_FaceRec' structure often + contained a wrong value for Type 1 fonts. This misbehaviour + has been introduced in version 2.3.6 while trying to fix + another problem. [Note, however, that this value is + informative only since the used algorithm to extract it is + very simplistic.] + • Two new macros, FT_OUTLINE_SMART_DROPOUTS and + FT_OUTLINE_EXCLUDE_STUBS, have been introduced. Together with + FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is + now possible to control the dropout mode of the `raster' module + (for B&W rasterization), using the `flags' field in the + `FT_Outline' structure. + • The TrueType bytecode interpreter now passes the dropout mode to + the B&W rasterizer. This greatly increases the output for small + ppem values of many fonts like `pala.ttf'. + • A bunch of potential security problems have been found. All + users should update. + • Microsoft Unicode cmaps in TrueType fonts are now always + preferred over Apple cmaps. This is not a bug per se, but there + exist some buggy fonts created for MS which have broken Apple + cmaps. This affects only the automatic selection of FreeType; + it's always possible to manually select an Apple Unicode cmap if + desired. + • Many bug fixes to the TrueType bytecode interpreter. + • Improved Mac support. + • Subsetted CID-keyed CFFs are now supported correctly. + • CID-keyed CFFs with subfonts which are scaled in a non-standard + way are now handled correctly. + • A call to FT_Open_Face with `face_index' < 0 crashed FreeType if + the font was a Windows (bitmap) FNT/FON. + • The new function `FT_Get_CID_Registry_Ordering_Supplement' gives + access to those fields in a CID-keyed font. The code has been + contributed by Derek Clegg. + • George Williams contributed code to validate the new `MATH' + OpenType table (within the `otvalid' module). The `ftvalid' + demo program has been extended accordingly. + • An API for cmap 14 support (for Unicode Variant Selectors, UVS) + has been contributed by George Williams. + • A new face flag FT_FACE_FLAG_CID_KEYED has been added, together + with a macro FT_IS_CID_KEYED which evaluates to 1 if the font is + CID-keyed. + • Build support for symbian has been contributed. + • Better WGL4 glyph name support, contributed by Sergey Tolstov. + • Debugging output of the various FT_TRACEX macros is now sent to + stderr. + • The `ftview' demo program now provides artificial slanting too. + • The `ftvalid' demo program has a new option `-f' to select the + font index. +- remove patch for bnc#399169 (came from upstream). + +------------------------------------------------------------------- +Fri Jun 13 11:50:06 CEST 2008 - mfabian@suse.de + +- bnc#399169: fix multiple vulnerabilities. + ------------------------------------------------------------------- Mon Apr 14 18:34:54 CEST 2008 - schwab@suse.de diff --git a/freetype2.spec b/freetype2.spec index ae847d2..ec26965 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -1,5 +1,5 @@ # -# spec file for package freetype2 (Version 2.3.5) +# spec file for package freetype2 (Version 2.3.7) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,8 +16,8 @@ BuildRequires: zlib-devel License: Other uncritical OpenSource License Group: System/Libraries AutoReqProv: on -Version: 2.3.5 -Release: 54 +Version: 2.3.7 +Release: 1 Url: http://www.freetype.org Summary: A TrueType Font Library # CVS repository: @@ -32,6 +32,7 @@ Patch3: freetype2-bitmap-foundry.patch Patch4: ft2-stream-compat.diff Patch5: revert-fix-bytecode.patch Patch8: bugzilla-159166-reduce-embolden-distance.patch +Patch9: fix-build.patch Patch308961: bugzilla-308961-cmex-workaround.patch Patch100: freetype2-bc.patch Patch200: freetype2-subpixel.patch @@ -86,6 +87,7 @@ Authors: %patch4 -p 1 -b .ft2-stream-compat #%patch5 -p 1 #%patch8 -p 1 +%%patch9 -p 1 %patch308961 -p 1 %if %{enable_bytecode_interpreter} %patch100 -p 1 -b .bytecode @@ -103,7 +105,8 @@ cp /usr/share/automake*/config.{guess,sub} builds/unix %build sh ./autogen.sh export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing " -make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib" +ln -s /usr/bin/libtool ./builds/unix/libtool +make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib" make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs} # build the documentation in the references subdirectory: # (this needs python and we cannot have python in the BuildRequires of @@ -139,6 +142,67 @@ make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install /usr/share/aclocal/* %changelog +* Wed Jul 23 2008 mfabian@suse.de +- update to 2.3.7. Extract from the docs/CHANGES file: + • If the library was compiled on an i386 platform using gcc, and + compiler option -O3 was given, `FT_MulFix' sometimes returned + incorrect results which could have caused problems with + `FT_Request_Metrics' and `FT_Select_Metrics', returning an + incorrect descender size. + • Pure CFFs without subfonts were scaled incorrectly if the font + matrix was non-standard. This bug has been introduced in + version 2.3.6. + • The `style_name' field in the `FT_FaceRec' structure often + contained a wrong value for Type 1 fonts. This misbehaviour + has been introduced in version 2.3.6 while trying to fix + another problem. [Note, however, that this value is + informative only since the used algorithm to extract it is + very simplistic.] + • Two new macros, FT_OUTLINE_SMART_DROPOUTS and + FT_OUTLINE_EXCLUDE_STUBS, have been introduced. Together with + FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is + now possible to control the dropout mode of the `raster' module + (for B&W rasterization), using the `flags' field in the + `FT_Outline' structure. + • The TrueType bytecode interpreter now passes the dropout mode to + the B&W rasterizer. This greatly increases the output for small + ppem values of many fonts like `pala.ttf'. + • A bunch of potential security problems have been found. All + users should update. + • Microsoft Unicode cmaps in TrueType fonts are now always + preferred over Apple cmaps. This is not a bug per se, but there + exist some buggy fonts created for MS which have broken Apple + cmaps. This affects only the automatic selection of FreeType; + it's always possible to manually select an Apple Unicode cmap if + desired. + • Many bug fixes to the TrueType bytecode interpreter. + • Improved Mac support. + • Subsetted CID-keyed CFFs are now supported correctly. + • CID-keyed CFFs with subfonts which are scaled in a non-standard + way are now handled correctly. + • A call to FT_Open_Face with `face_index' < 0 crashed FreeType if + the font was a Windows (bitmap) FNT/FON. + • The new function `FT_Get_CID_Registry_Ordering_Supplement' gives + access to those fields in a CID-keyed font. The code has been + contributed by Derek Clegg. + • George Williams contributed code to validate the new `MATH' + OpenType table (within the `otvalid' module). The `ftvalid' + demo program has been extended accordingly. + • An API for cmap 14 support (for Unicode Variant Selectors, UVS) + has been contributed by George Williams. + • A new face flag FT_FACE_FLAG_CID_KEYED has been added, together + with a macro FT_IS_CID_KEYED which evaluates to 1 if the font is + CID-keyed. + • Build support for symbian has been contributed. + • Better WGL4 glyph name support, contributed by Sergey Tolstov. + • Debugging output of the various FT_TRACEX macros is now sent to + stderr. + • The `ftview' demo program now provides artificial slanting too. + • The `ftvalid' demo program has a new option `-f' to select the + font index. +- remove patch for bnc#399169 (came from upstream). +* Fri Jun 13 2008 mfabian@suse.de +- bnc#399169: fix multiple vulnerabilities. * Mon Apr 14 2008 schwab@suse.de - Make sure config.guess and config.sub exist. * Thu Apr 10 2008 ro@suse.de diff --git a/ft2demos-2.3.5.tar.bz2 b/ft2demos-2.3.5.tar.bz2 deleted file mode 100644 index 5d733f7..0000000 --- a/ft2demos-2.3.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e8456b1d2ebc9f262d2433735eb1ed8ce588fb30e1dafed5e2a7597f3df4a73 -size 159532 diff --git a/ft2demos-2.3.7.tar.bz2 b/ft2demos-2.3.7.tar.bz2 new file mode 100644 index 0000000..606d2bc --- /dev/null +++ b/ft2demos-2.3.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:944f0d24df4706c8a077c5d184a42822aaa0a2fbb8b67abe7c0d6920317cd499 +size 158328 diff --git a/ft2demos.changes b/ft2demos.changes index f351969..e58d207 100644 --- a/ft2demos.changes +++ b/ft2demos.changes @@ -1,3 +1,70 @@ +------------------------------------------------------------------- +Wed Jul 23 12:20:30 CEST 2008 - mfabian@suse.de + +- update to 2.3.7. Extract from the docs/CHANGES file: + • If the library was compiled on an i386 platform using gcc, and + compiler option -O3 was given, `FT_MulFix' sometimes returned + incorrect results which could have caused problems with + `FT_Request_Metrics' and `FT_Select_Metrics', returning an + incorrect descender size. + • Pure CFFs without subfonts were scaled incorrectly if the font + matrix was non-standard. This bug has been introduced in + version 2.3.6. + • The `style_name' field in the `FT_FaceRec' structure often + contained a wrong value for Type 1 fonts. This misbehaviour + has been introduced in version 2.3.6 while trying to fix + another problem. [Note, however, that this value is + informative only since the used algorithm to extract it is + very simplistic.] + • Two new macros, FT_OUTLINE_SMART_DROPOUTS and + FT_OUTLINE_EXCLUDE_STUBS, have been introduced. Together with + FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is + now possible to control the dropout mode of the `raster' module + (for B&W rasterization), using the `flags' field in the + `FT_Outline' structure. + • The TrueType bytecode interpreter now passes the dropout mode to + the B&W rasterizer. This greatly increases the output for small + ppem values of many fonts like `pala.ttf'. + • A bunch of potential security problems have been found. All + users should update. + • Microsoft Unicode cmaps in TrueType fonts are now always + preferred over Apple cmaps. This is not a bug per se, but there + exist some buggy fonts created for MS which have broken Apple + cmaps. This affects only the automatic selection of FreeType; + it's always possible to manually select an Apple Unicode cmap if + desired. + • Many bug fixes to the TrueType bytecode interpreter. + • Improved Mac support. + • Subsetted CID-keyed CFFs are now supported correctly. + • CID-keyed CFFs with subfonts which are scaled in a non-standard + way are now handled correctly. + • A call to FT_Open_Face with `face_index' < 0 crashed FreeType if + the font was a Windows (bitmap) FNT/FON. + • The new function `FT_Get_CID_Registry_Ordering_Supplement' gives + access to those fields in a CID-keyed font. The code has been + contributed by Derek Clegg. + • George Williams contributed code to validate the new `MATH' + OpenType table (within the `otvalid' module). The `ftvalid' + demo program has been extended accordingly. + • An API for cmap 14 support (for Unicode Variant Selectors, UVS) + has been contributed by George Williams. + • A new face flag FT_FACE_FLAG_CID_KEYED has been added, together + with a macro FT_IS_CID_KEYED which evaluates to 1 if the font is + CID-keyed. + • Build support for symbian has been contributed. + • Better WGL4 glyph name support, contributed by Sergey Tolstov. + • Debugging output of the various FT_TRACEX macros is now sent to + stderr. + • The `ftview' demo program now provides artificial slanting too. + • The `ftvalid' demo program has a new option `-f' to select the + font index. +- remove patch for bnc#399169 (came from upstream). + +------------------------------------------------------------------- +Fri Jun 13 11:50:06 CEST 2008 - mfabian@suse.de + +- bnc#399169: fix multiple vulnerabilities. + ------------------------------------------------------------------- Mon Apr 14 18:33:02 CEST 2008 - schwab@suse.de diff --git a/ft2demos.spec b/ft2demos.spec index 1fe7802..8337f01 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -1,5 +1,5 @@ # -# spec file for package ft2demos (Version 2.3.5) +# spec file for package ft2demos (Version 2.3.7) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -19,8 +19,8 @@ AutoReqProv: on %if %suse_version > 1000 Supplements: fonts-config %endif -Version: 2.3.5 -Release: 69 +Version: 2.3.7 +Release: 1 %define freetype_version %{version} Url: http://www.freetype.org Summary: Freetype2 Utilities and Demo Programs @@ -38,6 +38,7 @@ Patch3: freetype2-bitmap-foundry.patch Patch4: ft2-stream-compat.diff Patch5: revert-fix-bytecode.patch Patch8: bugzilla-159166-reduce-embolden-distance.patch +Patch9: fix-build.patch Patch308961: bugzilla-308961-cmex-workaround.patch Patch50: ft2demos-build-testname.patch Patch100: freetype2-bc.patch @@ -72,6 +73,7 @@ Authors: %patch4 -p 1 -b .ft2-stream-compat #%patch5 -p 1 #%patch8 -p 1 +%patch9 -p 1 %patch308961 -p 1 pushd ../ft2demos-%{version} %patch50 -p 1 @@ -95,6 +97,7 @@ cp /usr/share/automake*/config.{guess,sub} builds/unix %build sh ./autogen.sh export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing " +ln -s /usr/bin/libtool ./builds/unix/libtool make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib" make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs} # build the documentation in the references subdirectory: @@ -125,6 +128,67 @@ popd %{_bindir}/testname %changelog +* Wed Jul 23 2008 mfabian@suse.de +- update to 2.3.7. Extract from the docs/CHANGES file: + • If the library was compiled on an i386 platform using gcc, and + compiler option -O3 was given, `FT_MulFix' sometimes returned + incorrect results which could have caused problems with + `FT_Request_Metrics' and `FT_Select_Metrics', returning an + incorrect descender size. + • Pure CFFs without subfonts were scaled incorrectly if the font + matrix was non-standard. This bug has been introduced in + version 2.3.6. + • The `style_name' field in the `FT_FaceRec' structure often + contained a wrong value for Type 1 fonts. This misbehaviour + has been introduced in version 2.3.6 while trying to fix + another problem. [Note, however, that this value is + informative only since the used algorithm to extract it is + very simplistic.] + • Two new macros, FT_OUTLINE_SMART_DROPOUTS and + FT_OUTLINE_EXCLUDE_STUBS, have been introduced. Together with + FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is + now possible to control the dropout mode of the `raster' module + (for B&W rasterization), using the `flags' field in the + `FT_Outline' structure. + • The TrueType bytecode interpreter now passes the dropout mode to + the B&W rasterizer. This greatly increases the output for small + ppem values of many fonts like `pala.ttf'. + • A bunch of potential security problems have been found. All + users should update. + • Microsoft Unicode cmaps in TrueType fonts are now always + preferred over Apple cmaps. This is not a bug per se, but there + exist some buggy fonts created for MS which have broken Apple + cmaps. This affects only the automatic selection of FreeType; + it's always possible to manually select an Apple Unicode cmap if + desired. + • Many bug fixes to the TrueType bytecode interpreter. + • Improved Mac support. + • Subsetted CID-keyed CFFs are now supported correctly. + • CID-keyed CFFs with subfonts which are scaled in a non-standard + way are now handled correctly. + • A call to FT_Open_Face with `face_index' < 0 crashed FreeType if + the font was a Windows (bitmap) FNT/FON. + • The new function `FT_Get_CID_Registry_Ordering_Supplement' gives + access to those fields in a CID-keyed font. The code has been + contributed by Derek Clegg. + • George Williams contributed code to validate the new `MATH' + OpenType table (within the `otvalid' module). The `ftvalid' + demo program has been extended accordingly. + • An API for cmap 14 support (for Unicode Variant Selectors, UVS) + has been contributed by George Williams. + • A new face flag FT_FACE_FLAG_CID_KEYED has been added, together + with a macro FT_IS_CID_KEYED which evaluates to 1 if the font is + CID-keyed. + • Build support for symbian has been contributed. + • Better WGL4 glyph name support, contributed by Sergey Tolstov. + • Debugging output of the various FT_TRACEX macros is now sent to + stderr. + • The `ftview' demo program now provides artificial slanting too. + • The `ftvalid' demo program has a new option `-f' to select the + font index. +- remove patch for bnc#399169 (came from upstream). +* Fri Jun 13 2008 mfabian@suse.de +- bnc#399169: fix multiple vulnerabilities. * Mon Apr 14 2008 schwab@suse.de - Make sure config.guess and config.sub exist. * Thu Oct 18 2007 mfabian@suse.de