wok-next rev 19802

Remove harfbuzz-icu package. Rework harfbuzz receipt: introduce libharfbuzz, libharfbuzz-icu, harfbuzz-icu-dev. Need to review all the packages that depends on harfbuzz and build-depends on harfbuzz-dev.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 26 13:51:02 2017 +0300 (2017-06-26)
parents 541d3328c02a
children b87fa4fe5181
files harfbuzz-icu/receipt harfbuzz/receipt
line diff
     1.1 --- a/harfbuzz-icu/receipt	Mon Jun 26 13:07:16 2017 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,34 +0,0 @@
     1.4 -# SliTaz package receipt v2.
     1.5 -
     1.6 -PACKAGE="harfbuzz-icu"
     1.7 -VERSION="1.4.2"
     1.8 -CATEGORY="system-tools"
     1.9 -SHORT_DESC="OpenType text shaping engine with ICU support"
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
    1.13 -PROVIDE="harfbuzz"
    1.14 -
    1.15 -TARBALL="harfbuzz-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://www.freedesktop.org/software/harfbuzz/release/$TARBALL"
    1.17 -
    1.18 -BUILD_DEPENDS="glib-dev freetype-dev icu-dev"
    1.19 -
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	./configure \
    1.24 -		--with-glib \
    1.25 -		--with-freetype \
    1.26 -		--with-gobject \
    1.27 -		--with-icu=yes \
    1.28 -		$CONFIGURE_ARGS &&
    1.29 -	make && make install
    1.30 -}
    1.31 -
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	copy *.so*
    1.36 -	DEPENDS="glib freetype icu"
    1.37 -}
     2.1 --- a/harfbuzz/receipt	Mon Jun 26 13:07:16 2017 +0300
     2.2 +++ b/harfbuzz/receipt	Mon Jun 26 13:51:02 2017 +0300
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="harfbuzz"
     2.7 -VERSION="1.3.0"
     2.8 +VERSION="1.4.2"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="OpenType text shaping engine"
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -12,8 +12,8 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14  WGET_URL="https://www.freedesktop.org/software/harfbuzz/release/$TARBALL"
    2.15  
    2.16 -BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev"
    2.17 -SPLIT="harfbuzz-apps harfbuzz-dev"
    2.18 +BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev icu-dev"
    2.19 +SPLIT="libharfbuzz libharfbuzz-icu harfbuzz-icu-dev harfbuzz-dev"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23 @@ -22,7 +22,6 @@
    2.24  		--with-glib \
    2.25  		--with-freetype \
    2.26  		--with-gobject \
    2.27 -		--with-icu=no \
    2.28  		$CONFIGURE_ARGS &&
    2.29  	make && make install
    2.30  }
    2.31 @@ -30,20 +29,37 @@
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33  genpkg_rules()
    2.34  {
    2.35 +	# Note, we have two development packages:
    2.36 +	#   * harfbuzz-dev     - without ICU integration
    2.37 +	#   * harfbuzz-icu-dev - with    ICU integration
    2.38 +	# Use one of these packages at a time in your receipt.
    2.39 +
    2.40  	case $PACKAGE in
    2.41  		harfbuzz)
    2.42 -			copy *.so*
    2.43 -			DEPENDS="glib cairo freetype libffi pcre"
    2.44 +			copy bin/
    2.45 +			CAT="system-tools|applications"
    2.46 +			DEPENDS="libharfbuzz cairo"
    2.47  			;;
    2.48 -		harfbuzz-apps)
    2.49 -			copy bin/
    2.50 -			DEPENDS="harfbuzz cairo-gl"
    2.51 -			CAT="system-tools|applications"
    2.52 +		libharfbuzz)
    2.53 +			copy libharfbuzz.so* libharfbuzz-gobject.so*
    2.54 +			CAT="libs|shared library"
    2.55 +			DEPENDS="freetype glib"
    2.56 +			;;
    2.57 +		libharfbuzz-icu)
    2.58 +			copy libharfbuzz-icu.so*
    2.59 +			CAT="libs|ICU integration"
    2.60 +			DEPENDS="libicu libharfbuzz"
    2.61 +			;;
    2.62 +		harfbuzz-icu-dev)
    2.63 +			copy *-icu.h *-icu.la *-icu.pc
    2.64 +			CAT="development|ICU integration development files"
    2.65 +			DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
    2.66  			;;
    2.67  		harfbuzz-dev)
    2.68  			copy @dev
    2.69 +			remove_already_packed
    2.70  			DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
    2.71 -			libpng-dev pcre-dev"
    2.72 +			libpng16-dev pcre-dev"
    2.73  			;;
    2.74  	esac
    2.75  }