wok rev 19478

Up librsvg (2.40.16)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 01 03:56:17 2016 +0200 (2016-11-01)
parents f581737088ed
children 3498b49b1fc9
files librsvg-apps/receipt librsvg-dev/receipt librsvg/receipt
line diff
     1.1 --- a/librsvg-apps/receipt	Tue Nov 01 03:25:38 2016 +0200
     1.2 +++ b/librsvg-apps/receipt	Tue Nov 01 03:56:17 2016 +0200
     1.3 @@ -1,22 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="librsvg-apps"
     1.7 -VERSION="2.34.2"
     1.8 +VERSION="2.40.16"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="Tiny libSVG utilities (rsvg, rsvg-view, rsvg-convert)."
    1.11 +SHORT_DESC="Tiny libRSVG utilities (rsvg-convert, rsvg-view-3)"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="librsvg"
    1.15 -WEB_SITE="http://librsvg.sourceforge.net/"
    1.16 +WEB_SITE="https://wiki.gnome.org/LibRsvg"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19 -DEPENDS="librsvg python gtk+ libgsf"
    1.20 +WANTED="librsvg"
    1.21 +DEPENDS="librsvg at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype \
    1.22 +gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi libgio libpng libxcb \
    1.23 +libxml2 pango pcre pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
    1.24 +xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
    1.25 +xorg-libXext xorg-libXfixes xorg-libXi xorg-libXinerama xorg-libXrandr \
    1.26 +xorg-libXrender zlib"
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/share
    1.32 -	cp -a $install/usr/bin $fs/usr
    1.33 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.34 -	chmod +x $fs/usr/bin/*
    1.35 +	cook_copy_files rsvg-convert rsvg-view-3
    1.36  }
     2.1 --- a/librsvg-dev/receipt	Tue Nov 01 03:25:38 2016 +0200
     2.2 +++ b/librsvg-dev/receipt	Tue Nov 01 03:56:17 2016 +0200
     2.3 @@ -1,32 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="librsvg-dev"
     2.7 -VERSION="2.34.2"
     2.8 +VERSION="2.40.16"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="SVG Rendering Library dev files"
    2.11 +SHORT_DESC="SVG Rendering Library, development files"
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://librsvg.sourceforge.net/"
    2.15 -WANTED="librsvg"
    2.16  HOST_ARCH="i486 arm"
    2.17  
    2.18 -DEPENDS="librsvg cairo-dev gdk-pixbuf-dev libgio-dev glib-dev libcroco-dev \
    2.19 -pkg-config"
    2.20 +WANTED="librsvg"
    2.21 +DEPENDS="librsvg glib-dev libgio-dev gdk-pixbuf-dev cairo-dev"
    2.22  
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  genpkg_rules()
    2.25  {
    2.26 -	mkdir -p $fs/usr/lib
    2.27 -	cp -a $install/usr/include $fs/usr
    2.28 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.29 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.30 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    2.31 -		cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
    2.32 -	cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
    2.33 -
    2.34 -	# remove *.*a files
    2.35 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    2.36 -		find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \;
    2.37 -	find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.so*" -exec rm -f {} \;
    2.38 +	cook_copy_files *.h *.la *.pc *.typelib *.gir
    2.39  }
    2.40 -
     3.1 --- a/librsvg/receipt	Tue Nov 01 03:25:38 2016 +0200
     3.2 +++ b/librsvg/receipt	Tue Nov 01 03:56:17 2016 +0200
     3.3 @@ -1,25 +1,26 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="librsvg"
     3.7 -VERSION="2.34.2"
     3.8 +VERSION="2.40.16"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="SVG Rendering Library"
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 -WEB_SITE="http://librsvg.sourceforge.net/"
    3.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.16 +WEB_SITE="https://wiki.gnome.org/LibRsvg"
    3.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    3.18  HOST_ARCH="i486 arm"
    3.19  
    3.20 -DEPENDS="cairo freetype libxml2 pango fontconfig libcroco xcb-util libgsf \
    3.21 -libgio gdk-pixbuf xorg-libXinerama xorg-libXcursor xorg-libXcomposite \
    3.22 -xorg-libXext xorg-libXdamage"
    3.23 +DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \
    3.24 +libcroco libffi libgio libpng libxcb libxml2 pango pcre pixman xorg-libX11 \
    3.25 +xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
    3.26  BUILD_DEPENDS="libffi-dev cairo-dev freetype-dev libxml2-dev pango-dev \
    3.27  fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev expat-dev"
    3.28  
    3.29  # Handle cross compilation
    3.30  case "$ARCH" in
    3.31 -	i?86) BUILD_DEPENDS="gtk+-dev perl libgsf" ;;
    3.32 +	i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \
    3.33 +	gobject-introspection-dev gtk+3-dev" ;;
    3.34  esac
    3.35  
    3.36  # Rules to configure and make the package.
    3.37 @@ -27,23 +28,15 @@
    3.38  {
    3.39  	./configure \
    3.40  		--disable-static \
    3.41 -		$CONFIGURE_ARGS LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" &&
    3.42 +		LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" \
    3.43 +		$CONFIGURE_ARGS &&
    3.44  	make && make install
    3.45  }
    3.46  
    3.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.48  genpkg_rules()
    3.49  {
    3.50 -	mkdir -p $fs/usr/lib
    3.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.52 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    3.53 -		cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
    3.54 -	cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
    3.55 -
    3.56 -	# remove *.*a files
    3.57 -	[ -d "$install/usr/lib/gtk-2.0" ] && \
    3.58 -		find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
    3.59 -	find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.*a" -exec rm -f {} \;
    3.60 +	cook_copy_files *.so*
    3.61  }
    3.62  
    3.63  # Pre and post install commands for Tazpkg.