diff options
author | Will Dietz <w@wdtz.org> | 2019-03-15 07:58:29 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-03-15 09:02:56 -0500 |
commit | dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7 (patch) | |
tree | 11ffc0257e98616f73f4a014f3a85978d9dda8e1 /pkgs/development/libraries/freetype | |
parent | 1e0661cd60269f6910285997485a50215e226e19 (diff) | |
download | nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar.gz nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar.bz2 nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar.lz nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar.xz nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.tar.zst nixlib-dd48bd53cf458e0cffec28f7ef3ab763cb22b6e7.zip |
freetype2: 2.9.1 -> 2.10.0
http://lists.nongnu.org/archive/html/freetype-announce/2019-03/msg00000.html
Diffstat (limited to 'pkgs/development/libraries/freetype')
3 files changed, 17 insertions, 20 deletions
diff --git a/pkgs/development/libraries/freetype/default.nix b/pkgs/development/libraries/freetype/default.nix index 76df9514cf4a..4658ac049df9 100644 --- a/pkgs/development/libraries/freetype/default.nix +++ b/pkgs/development/libraries/freetype/default.nix @@ -13,8 +13,8 @@ let inherit (stdenv.lib) optional optionalString; in stdenv.mkDerivation rec { - name = "freetype-${version}"; - version = "2.9.1"; + pname = "freetype"; + version = "2.10.0"; meta = with stdenv.lib; { description = "A font rendering engine"; @@ -32,8 +32,8 @@ in stdenv.mkDerivation rec { }; src = fetchurl { - url = "mirror://savannah/freetype/${name}.tar.bz2"; - sha256 = "0kg8w6qyiizlyzh4a8lpzslipcbv96hcg3rqqpnxba8ffbm8g3fv"; + url = "mirror://savannah/${pname}/${pname}-${version}.tar.bz2"; + sha256 = "01mybx78n3n9dhzylbrdy42wxdwfn8rp514qdkzjy6b5ij965k7w"; }; propagatedBuildInputs = [ zlib bzip2 libpng ]; # needed when linking against freetype diff --git a/pkgs/development/libraries/freetype/enable-subpixel-rendering.patch b/pkgs/development/libraries/freetype/enable-subpixel-rendering.patch index 4f908343e8c1..6b3577eb4f02 100644 --- a/pkgs/development/libraries/freetype/enable-subpixel-rendering.patch +++ b/pkgs/development/libraries/freetype/enable-subpixel-rendering.patch @@ -1,13 +1,12 @@ -Index: freetype-2.7.1/include/freetype/config/ftoption.h -=================================================================== ---- freetype-2.7.1.orig/include/freetype/config/ftoption.h -+++ freetype-2.7.1/include/freetype/config/ftoption.h -@@ -122,7 +122,7 @@ FT_BEGIN_HEADER - /* This is done to allow FreeType clients to run unmodified, forcing */ - /* them to display normal gray-level anti-aliased glyphs. */ - /* */ +Index: freetype-2.10.0/include/freetype/config/ftoption.h +--- a/include/freetype/config/ftoption.h ++++ b/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. + */ -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING - /*************************************************************************/ + /************************************************************************** diff --git a/pkgs/development/libraries/freetype/enable-table-validation.patch b/pkgs/development/libraries/freetype/enable-table-validation.patch index 37419f14f40f..bd964c3342d8 100644 --- a/pkgs/development/libraries/freetype/enable-table-validation.patch +++ b/pkgs/development/libraries/freetype/enable-table-validation.patch @@ -1,20 +1,18 @@ -Index: freetype-2.7.1/modules.cfg +Index: freetype-2.10.0/modules.cfg =================================================================== ---- freetype-2.7.1.orig/modules.cfg -+++ freetype-2.7.1/modules.cfg -@@ -120,7 +120,7 @@ AUX_MODULES += cache +--- freetype-2.10.0.orig/modules.cfg ++++ freetype-2.10.0/modules.cfg +@@ -120,6 +120,6 @@ AUX_MODULES += cache # TrueType GX/AAT table validation. Needs ftgxval.c below. # - # No FT_CONFIG_OPTION_PIC support. -# AUX_MODULES += gxvalid +AUX_MODULES += gxvalid # Support for streams compressed with gzip (files with suffix .gz). # -@@ -143,7 +143,7 @@ AUX_MODULES += bzip2 +@@ -143,6 +143,6 @@ AUX_MODULES += bzip2 # OpenType table validation. Needs ftotval.c below. # - # No FT_CONFIG_OPTION_PIC support. -# AUX_MODULES += otvalid +AUX_MODULES += otvalid |