# HG changeset patch # User Aleksej Bobylev # Date 1498474262 -10800 # Node ID f3ccdc5d10ed07b02fd923021b5a24150faeb3e8 # Parent 541d3328c02af8b6ba6ed8a63bced677b84adfa0 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. diff -r 541d3328c02a -r f3ccdc5d10ed harfbuzz-icu/receipt --- a/harfbuzz-icu/receipt Mon Jun 26 13:07:16 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="harfbuzz-icu" -VERSION="1.4.2" -CATEGORY="system-tools" -SHORT_DESC="OpenType text shaping engine with ICU support" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz" -PROVIDE="harfbuzz" - -TARBALL="harfbuzz-$VERSION.tar.bz2" -WGET_URL="http://www.freedesktop.org/software/harfbuzz/release/$TARBALL" - -BUILD_DEPENDS="glib-dev freetype-dev icu-dev" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --with-glib \ - --with-freetype \ - --with-gobject \ - --with-icu=yes \ - $CONFIGURE_ARGS && - make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy *.so* - DEPENDS="glib freetype icu" -} diff -r 541d3328c02a -r f3ccdc5d10ed harfbuzz/receipt --- a/harfbuzz/receipt Mon Jun 26 13:07:16 2017 +0300 +++ b/harfbuzz/receipt Mon Jun 26 13:51:02 2017 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="harfbuzz" -VERSION="1.3.0" +VERSION="1.4.2" CATEGORY="system-tools" SHORT_DESC="OpenType text shaping engine" MAINTAINER="pankso@slitaz.org" @@ -12,8 +12,8 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://www.freedesktop.org/software/harfbuzz/release/$TARBALL" -BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev" -SPLIT="harfbuzz-apps harfbuzz-dev" +BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev icu-dev" +SPLIT="libharfbuzz libharfbuzz-icu harfbuzz-icu-dev harfbuzz-dev" # Rules to configure and make the package. compile_rules() @@ -22,7 +22,6 @@ --with-glib \ --with-freetype \ --with-gobject \ - --with-icu=no \ $CONFIGURE_ARGS && make && make install } @@ -30,20 +29,37 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + # Note, we have two development packages: + # * harfbuzz-dev - without ICU integration + # * harfbuzz-icu-dev - with ICU integration + # Use one of these packages at a time in your receipt. + case $PACKAGE in harfbuzz) - copy *.so* - DEPENDS="glib cairo freetype libffi pcre" + copy bin/ + CAT="system-tools|applications" + DEPENDS="libharfbuzz cairo" ;; - harfbuzz-apps) - copy bin/ - DEPENDS="harfbuzz cairo-gl" - CAT="system-tools|applications" + libharfbuzz) + copy libharfbuzz.so* libharfbuzz-gobject.so* + CAT="libs|shared library" + DEPENDS="freetype glib" + ;; + libharfbuzz-icu) + copy libharfbuzz-icu.so* + CAT="libs|ICU integration" + DEPENDS="libicu libharfbuzz" + ;; + harfbuzz-icu-dev) + copy *-icu.h *-icu.la *-icu.pc + CAT="development|ICU integration development files" + DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev" ;; harfbuzz-dev) copy @dev + remove_already_packed DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \ - libpng-dev pcre-dev" + libpng16-dev pcre-dev" ;; esac }