Files
bpfire/lfs/freetype
Adolf Belka c78f6e33f8 freetype: Update to version 2.12.1
- Update from version 2.11.1 to 2.12.1
- Update of rootfile
- Changelog
     CHANGES BETWEEN 2.12.0 and 2.12.1
	  I. IMPORTANT BUG FIXES
	  - Loading CFF fonts sometimes made FreeType crash (bug introduced in
	    version 2.12.0)
	  - Loading  a fully  hinted  TrueType glyph  a  second time  (without
	    caching) sometimes yielded different rendering results if TrueType
	    hinting was active (bug introduced in version 2.12.0).
	  - The generation of the pkg-config file `freetype2.pc` was broken if
	    the build was done with cmake (bug introduced in version 2.12.0).
	  II. MISCELLANEOUS
	  - New option `--with-librsvg` for  the `configure` script for better
	    FreeType demo support.
	  - The  meson  build  no  longer enforces  both  static  and  dynamic
	    versions of the library by default.
	  - The internal  zlib library was  updated to version  1.2.12.  Note,
	    however, that  FreeType is *not* affected  by CVE-2018-25032 since
	    it only does decompression.
     CHANGES BETWEEN 2.11.1 and 2.12.0
	  I. IMPORTANT CHANGES
	  - FreeType  now   handles  OT-SVG  fonts,  to   be  controlled  with
	    `FT_CONFIG_OPTION_SVG`  configuration macro.   By default,  it can
	    only load the 'SVG ' table of an OpenType font.  However, by using
	    the `svg-hooks` property of the new 'ot-svg' module it is possible
	    to register an  external SVG rendering engine.   The FreeType demo
	    programs  have been  set  up  to use  'librsvg'  as the  rendering
	    library.
	    This work was Moazin Khatti's GSoC 2019 project.
	  II. MISCELLANEOUS
	  - The handling of fonts with an 'sbix' table has been improved.
	    - Corrected bitmap offsets.
	    - A  new tag  `FT_PARAM_TAG_IGNORE_SBIX` for  `FT_Open_Face` makes
	      FreeType ignore an 'sbix' table in a font, allowing applications
	      to access the font's outline glyphs.
	    - `FT_FACE_FLAG_SBIX`  and   `FT_FACE_FLAG_SBIX_OVERLAY`  together
	      with their  corresponding preprocessor macros  `FT_HAS_SBIX` and
	      `FT_HAS_SBIX_OVERLAY` enable applications to treat 'sbix' tables
	      as described in the OpenType specification.
	  - The internal 'zlib'  code has been updated to be  in sync with the
	    current 'zlib' version (1.2.11).
	  - The  previously internal  load  flag  `FT_LOAD_SBITS_ONLY` is  now
	    public.
	  - Some  minor improvements  of the  building systems,  in particular
	    handling of the 'zlib' library (internal vs. external).
	  - Support for non-desktop Universal Windows Platform.
	  - Various other minor bug and documentation fixes.
	  - The `ftdump` demo  program shows more information  for Type1 fonts
	    if option `-n` is given.
	  - `ftgrid` can now display embedded bitmap strikes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-05 15:31:03 +00:00

84 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.12.1
THISAPP = freetype-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = c4737dc0c6e44e0a911545d604fdb2e8e8b3f5185d3f5dfe4e4561ee2d75b3e5a31afcbb2089306fec4b31ba10324a6ec6499c3735b2b7591c71e96fee4ed278
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
cd $(DIR_APP) && sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
-i include/freetype/config/ftoption.h
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--enable-freetype-config \
--disable-static
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)