wok-next rev 20630

Up gegl, giflib, graphite2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 01:47:24 2018 +0300 (2018-04-27)
parents 89ae9cf3b230
children 3ac030def4be
files gegl/receipt giflib/receipt graphite2/receipt
line diff
     1.1 --- a/gegl/receipt	Thu Apr 26 21:51:47 2018 +0300
     1.2 +++ b/gegl/receipt	Fri Apr 27 01:47:24 2018 +0300
     1.3 @@ -1,44 +1,52 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gegl"
     1.7 -VERSION="0.2.0"
     1.8 +VERSION="0.3.28"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Generic Graphics Library"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="http://gegl.org/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/gegl.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.18 +WGET_URL="https://download.gimp.org/pub/gegl/${VERSION%.*}/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="babl-dev expat-dev gtk+-dev jasper-dev intltool"
    1.21 -SPLIT="gegl-dev"
    1.22 +BUILD_DEPENDS="babl-dev glib-dev json-glib-dev libjpeg-turbo-dev libpng16-dev \
    1.23 +gobject-introspection-dev gettext cairo-dev pango-dev gdk-pixbuf-dev \
    1.24 +librsvg-dev v4l-utils-dev openexr-dev libsdl-dev libraw-dev jasper-dev lua-dev \
    1.25 +ffmpeg-dev lcms-dev libspiro-dev exiv2-dev tiff-dev libwebp-dev"
    1.26 +SPLIT="gegl gegl-extra gegl-dev"
    1.27  
    1.28  compile_rules() {
    1.29 -	# Keep gegl light so we can make smaller gimp LiveCD flavors
    1.30 -	./configure \
    1.31 -		--disable-docs \
    1.32 -		--without-sdl \
    1.33 -		--without-librsvg \
    1.34 -		--without-graphviz \
    1.35 -		--without-lua \
    1.36 -		--without-libavformat \
    1.37 -		--without-libv4l \
    1.38 -		$CONFIGURE_ARGS &&
    1.39 +	# Note, compiling gegl with all the possible "--without-*" options will
    1.40 +	# produce "gegl" package. Omitting that options we get *the same* files
    1.41 +	# plus some more, separated in the package "gegl-extra".
    1.42 +	./configure $CONFIGURE_ARGS &&
    1.43  	fix libtool &&
    1.44  	make &&
    1.45  	make install
    1.46  }
    1.47  
    1.48  genpkg_rules() {
    1.49 +	# Keep gegl light so we can make smaller gimp LiveCD flavors
    1.50  	case $PACKAGE in
    1.51  		gegl)
    1.52 -			copy @std
    1.53 -			DEPENDS="babl expat gtk+ jpeg xorg-libX11"
    1.54 +			copy gcut gegl gegl-imgcmp gegl-*.so grey2.json jpg-*.so npy-*.so \
    1.55 +			png-*.so ppm-*.so rgbe-*.so seamless-*.so transformops.so \
    1.56 +			libgegl*.so*
    1.57 +			DEPENDS="babl glib json-glib libjpeg-turbo libpng16 libspiro"
    1.58 +			;;
    1.59 +		gegl-extra)
    1.60 +			copy @std @rm
    1.61 +			DEPENDS="babl cairo ffmpeg gdk-pixbuf gegl-light glib jasper \
    1.62 +			json-glib lcms2 libjpeg-turbo libpng16 libraw librsvg libsdl \
    1.63 +			libspiro libwebp pango tiff"
    1.64 +			CAT="system-tools|extra plugins"
    1.65  			;;
    1.66  		*-dev)
    1.67  			copy @dev
    1.68 -			DEPENDS="gegl libdrm-dev xorg-libXxf86vm-dev"
    1.69 +			DEPENDS="gegl babl-dev glib-dev json-glib-dev"
    1.70  			;;
    1.71  	esac
    1.72  }
     2.1 --- a/giflib/receipt	Thu Apr 26 21:51:47 2018 +0300
     2.2 +++ b/giflib/receipt	Fri Apr 27 01:47:24 2018 +0300
     2.3 @@ -7,8 +7,9 @@
     2.4  MAINTAINER="rcx@zoominternet.net"
     2.5  LICENSE="MIT"
     2.6  WEB_SITE="https://sourceforge.net/projects/giflib/"
     2.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/giflib.html"
     2.8  
     2.9 -TARBALL="giflib-$VERSION.tar.bz2"
    2.10 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.11  WGET_URL="$SF_MIRROR/giflib/$TARBALL"
    2.12  
    2.13  SPLIT="giflib-dev"
     3.1 --- a/graphite2/receipt	Thu Apr 26 21:51:47 2018 +0300
     3.2 +++ b/graphite2/receipt	Fri Apr 27 01:47:24 2018 +0300
     3.3 @@ -1,12 +1,13 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="graphite2"
     3.7 -VERSION="1.3.9"
     3.8 +VERSION="1.3.10"
     3.9  CATEGORY="localization"
    3.10  SHORT_DESC="Graphite font engine"
    3.11  MAINTAINER="al.bobylev@gmail.com"
    3.12  LICENSE="LGPL2.1"
    3.13  WEB_SITE="http://graphite.sil.org/"
    3.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/graphite2.html"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tgz"
    3.17  WGET_URL="https://github.com/silnrsi/graphite/releases/download/$VERSION/$TARBALL"
    3.18 @@ -14,18 +15,17 @@
    3.19  BUILD_DEPENDS="cmake freetype-dev"
    3.20  SPLIT="graphite2-dev"
    3.21  
    3.22 -# Rules to configure and make the package.
    3.23 -compile_rules()
    3.24 -{
    3.25 -	mkdir build &&
    3.26 -	cd    build &&
    3.27 -	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    3.28 -	make && make install
    3.29 +compile_rules() {
    3.30 +	mkdir build
    3.31 +	cd    build
    3.32 +	cmake \
    3.33 +		-DCMAKE_INSTALL_PREFIX=/usr \
    3.34 +		.. &&
    3.35 +	make &&
    3.36 +	make install
    3.37  }
    3.38  
    3.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.40 -genpkg_rules()
    3.41 -{
    3.42 +genpkg_rules() {
    3.43  	case $PACKAGE in
    3.44  		graphite2) copy @std;;
    3.45  		*-dev)     copy @dev;;