wok-6.x rev 18549

Up freetype(2.6.1) (latest) with subpixel rendering available.
Good-looking and clear fonts for TFT screen without the need for freetype-infinality.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 07 14:03:13 2015 +0200 (2015-11-07)
parents 01d70561d7b8
children c4fe3a6e5470
files freetype-dev/receipt freetype/description.txt freetype/receipt freetype/stuff/freetype261-install.patch
line diff
     1.1 --- a/freetype-dev/receipt	Sat Nov 07 04:42:55 2015 +0200
     1.2 +++ b/freetype-dev/receipt	Sat Nov 07 14:03:13 2015 +0200
     1.3 @@ -1,16 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="freetype-dev"
     1.7 -VERSION="2.4.11"
     1.8 +VERSION="2.6.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Development files for Freetype-Infinality"
    1.11 +SHORT_DESC="Development files for Freetype"
    1.12  WEB_SITE="http://www.freetype.org/"
    1.13 -MAINTAINER="al.bobylev@gmail.com"
    1.14 -LICENSE="BSD GPL2"
    1.15 +MAINTAINER="panksov@slitaz.org"
    1.16 +LICENSE="FTL GPL2"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19  WANTED="freetype"
    1.20 -DEPENDS="freetype libzip-dev bzip2-dev pkg-config"
    1.21 +DEPENDS="freetype libzip-dev bzip2-dev libpng-dev harfbuzz-dev pkg-config"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25 @@ -21,4 +21,3 @@
    1.26  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27  	cp -a $install/usr/share $fs/usr
    1.28  }
    1.29 -
     2.1 --- a/freetype/description.txt	Sat Nov 07 04:42:55 2015 +0200
     2.2 +++ b/freetype/description.txt	Sat Nov 07 14:03:13 2015 +0200
     2.3 @@ -1,3 +1,4 @@
     2.4 -FreeType 2 is a software font engine that is designed to be small, efficient, 
     2.5 -highly customizable, and portable while capable of producing high-quality output
     2.6 -(glyph images).
     2.7 +FreeType is written in C. It is designed to be small, efficient, and highly
     2.8 +customizable while capable of producing high-quality output (glyph images) of
     2.9 +most vector and bitmap font formats for digital typography. FreeType is a freely
    2.10 +available and portable software library to render fonts.
     3.1 --- a/freetype/receipt	Sat Nov 07 04:42:55 2015 +0200
     3.2 +++ b/freetype/receipt	Sat Nov 07 14:03:13 2015 +0200
     3.3 @@ -1,27 +1,37 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="freetype"
     3.7 -VERSION="2.4.11"
     3.8 +VERSION="2.6.1"
     3.9  CATEGORY="x-window"
    3.10 -SHORT_DESC="Freetype font engine."
    3.11 +SHORT_DESC="A free, high-quality, and portable font engine"
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13 -LICENSE="BSD GPL2"
    3.14 +LICENSE="FTL GPL2"
    3.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.16  WEB_SITE="http://www.freetype.org/"
    3.17 -WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL"
    3.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.19  HOST_ARCH="i486 arm"
    3.20  
    3.21 -DEPENDS="slitaz-base-files zlib"
    3.22 -BUILD_DEPENDS="bzip2-dev"
    3.23 +DEPENDS="zlib libpng harfbuzz"
    3.24 +BUILD_DEPENDS="automake libtool autoconf bzip2-dev libpng-dev harfbuzz-dev"
    3.25  
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28  {
    3.29 +	# Fix make install for version 2.6.1
    3.30 +	patch -p1 -i $stuff/freetype261-install.patch
    3.31 +
    3.32 +	# Directives from LFS
    3.33 +	sed -e "/AUX.*.gxvalid/s@^# @@" \
    3.34 +	    -e "/AUX.*.otvalid/s@^# @@" \
    3.35 +	    -i modules.cfg              &&
    3.36 +	sed -e 's:.*\(#.*SUBPIXEL.*\) .*:\1:' \
    3.37 +	    -i include/freetype/config/ftoption.h &&
    3.38 +	./autogen.sh &&
    3.39  	./configure \
    3.40  		--sysconfdir=/etc \
    3.41  		$CONFIGURE_ARGS &&
    3.42  	make &&
    3.43 -	make install 2>&1 | grep -v rmdir
    3.44 +	make install
    3.45  }
    3.46  
    3.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.48 @@ -31,4 +41,3 @@
    3.49  	cp -a $install/usr/bin $fs/usr
    3.50  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.51  }
    3.52 -
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/freetype/stuff/freetype261-install.patch	Sat Nov 07 14:03:13 2015 +0200
     4.3 @@ -0,0 +1,68 @@
     4.4 +http://git.savannah.gnu.org/cgit/freetype/freetype2.git/patch/?id=b9880aa0f8f52accc9074334f9e9f962b1b5a8e6
     4.5 +
     4.6 +From b9880aa0f8f52accc9074334f9e9f962b1b5a8e6 Mon Sep 17 00:00:00 2001
     4.7 +From: Werner Lemberg <wl@gnu.org>
     4.8 +Date: Mon, 12 Oct 2015 08:13:26 +0000
     4.9 +Subject: [unix] Make MKDIR_P actually work.
    4.10 +
    4.11 +* builds/unix/configure.raw: Fix underquoting of `INSTALL' and
    4.12 +`MKDIR_P'.
    4.13 +
    4.14 +Problem reported by Dan Liddell <lddll@yahoo.com>.
    4.15 +---
    4.16 +diff --git a/ChangeLog b/ChangeLog
    4.17 +index 067bf74..b02735f 100644
    4.18 +--- a/ChangeLog
    4.19 ++++ b/ChangeLog
    4.20 +@@ -1,3 +1,12 @@
    4.21 ++2015-10-12  Werner Lemberg  <wl@gnu.org>
    4.22 ++
    4.23 ++	[unix] Make MKDIR_P actually work.
    4.24 ++
    4.25 ++	* builds/unix/configure.raw: Fix underquoting of `INSTALL' and
    4.26 ++	`MKDIR_P'.
    4.27 ++
    4.28 ++	Problem reported by Dan Liddell <lddll@yahoo.com>.
    4.29 ++
    4.30 + 2015-10-11  Werner Lemberg  <wl@gnu.org>
    4.31 + 
    4.32 + 	[sfnt] Improve extraction of number of named instances.
    4.33 +diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
    4.34 +index 5a30c65..f28baff 100644
    4.35 +--- a/builds/unix/configure.raw
    4.36 ++++ b/builds/unix/configure.raw
    4.37 +@@ -70,24 +70,25 @@ AC_SUBST(CC_BUILD)
    4.38 + AC_SUBST(EXEEXT_BUILD)
    4.39 + 
    4.40 + 
    4.41 +-# Since this file will be finally moved to another directory we make
    4.42 +-# the path of the install scripts absolute.  This small code snippet has
    4.43 +-# been taken from automake's `ylwrap' script.
    4.44 ++# Since these files will be eventually called from another directory (namely
    4.45 ++# from the top level) we make the path of the scripts absolute.
    4.46 ++#
    4.47 ++# This small code snippet has been taken from automake's `ylwrap' script.
    4.48 + 
    4.49 + AC_PROG_INSTALL
    4.50 + case "$INSTALL" in
    4.51 +-[\\/]* | ?:[\\/]*)
    4.52 ++[[\\/]]* | ?:[[\\/]]*)
    4.53 +   ;;
    4.54 +-*[\\/]*)
    4.55 ++*[[\\/]]*)
    4.56 +   INSTALL="`pwd`/$INSTALL"
    4.57 +   ;;
    4.58 + esac
    4.59 + 
    4.60 + AC_PROG_MKDIR_P
    4.61 + case "$MKDIR_P" in
    4.62 +-[\\/]* | ?:[\\/]*)
    4.63 ++[[\\/]]* | ?:[[\\/]]*)
    4.64 +   ;;
    4.65 +-*[\\/]*)
    4.66 ++*[[\\/]]*)
    4.67 +   MKDIR_P="`pwd`/$MKDIR_P"
    4.68 +   ;;
    4.69 + esac
    4.70 +--
    4.71 +cgit v0.9.0.2