freetype2: 2.9.1 -> 2.10.0

http://lists.nongnu.org/archive/html/freetype-announce/2019-03/msg00000.html

+17 -20
+4 -4
pkgs/development/libraries/freetype/default.nix
··· 13 13 inherit (stdenv.lib) optional optionalString; 14 14 15 15 in stdenv.mkDerivation rec { 16 - name = "freetype-${version}"; 17 - version = "2.9.1"; 16 + pname = "freetype"; 17 + version = "2.10.0"; 18 18 19 19 meta = with stdenv.lib; { 20 20 description = "A font rendering engine"; ··· 32 32 }; 33 33 34 34 src = fetchurl { 35 - url = "mirror://savannah/freetype/${name}.tar.bz2"; 36 - sha256 = "0kg8w6qyiizlyzh4a8lpzslipcbv96hcg3rqqpnxba8ffbm8g3fv"; 35 + url = "mirror://savannah/${pname}/${pname}-${version}.tar.bz2"; 36 + sha256 = "01mybx78n3n9dhzylbrdy42wxdwfn8rp514qdkzjy6b5ij965k7w"; 37 37 }; 38 38 39 39 propagatedBuildInputs = [ zlib bzip2 libpng ]; # needed when linking against freetype
+8 -9
pkgs/development/libraries/freetype/enable-subpixel-rendering.patch
··· 1 - Index: freetype-2.7.1/include/freetype/config/ftoption.h 2 - =================================================================== 3 - --- freetype-2.7.1.orig/include/freetype/config/ftoption.h 4 - +++ freetype-2.7.1/include/freetype/config/ftoption.h 5 - @@ -122,7 +122,7 @@ FT_BEGIN_HEADER 6 - /* This is done to allow FreeType clients to run unmodified, forcing */ 7 - /* them to display normal gray-level anti-aliased glyphs. */ 8 - /* */ 1 + Index: freetype-2.10.0/include/freetype/config/ftoption.h 2 + --- a/include/freetype/config/ftoption.h 3 + +++ b/include/freetype/config/ftoption.h 4 + @@ -126,7 +126,7 @@ FT_BEGIN_HEADER 5 + * macro is not defined, FreeType offers alternative LCD rendering 6 + * technology that produces excellent output without LCD filtering. 7 + */ 9 8 -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ 10 9 +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING 11 10 12 11 13 - /*************************************************************************/ 12 + /**************************************************************************
+5 -7
pkgs/development/libraries/freetype/enable-table-validation.patch
··· 1 - Index: freetype-2.7.1/modules.cfg 1 + Index: freetype-2.10.0/modules.cfg 2 2 =================================================================== 3 - --- freetype-2.7.1.orig/modules.cfg 4 - +++ freetype-2.7.1/modules.cfg 5 - @@ -120,7 +120,7 @@ AUX_MODULES += cache 3 + --- freetype-2.10.0.orig/modules.cfg 4 + +++ freetype-2.10.0/modules.cfg 5 + @@ -120,6 +120,6 @@ AUX_MODULES += cache 6 6 # TrueType GX/AAT table validation. Needs ftgxval.c below. 7 7 # 8 - # No FT_CONFIG_OPTION_PIC support. 9 8 -# AUX_MODULES += gxvalid 10 9 +AUX_MODULES += gxvalid 11 10 12 11 # Support for streams compressed with gzip (files with suffix .gz). 13 12 # 14 - @@ -143,7 +143,7 @@ AUX_MODULES += bzip2 13 + @@ -143,6 +143,6 @@ AUX_MODULES += bzip2 15 14 # OpenType table validation. Needs ftotval.c below. 16 15 # 17 - # No FT_CONFIG_OPTION_PIC support. 18 16 -# AUX_MODULES += otvalid 19 17 +AUX_MODULES += otvalid 20 18