wok-next rev 19683

Up cairomm, libglade
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 10 04:17:40 2017 +0300 (2017-04-10)
parents 28f443011cb6
children 00314119cc95
files cairomm-dev/receipt cairomm/description.txt cairomm/receipt libglade-dev/receipt libglade/receipt
line diff
     1.1 --- a/cairomm-dev/receipt	Mon Apr 10 00:21:34 2017 +0300
     1.2 +++ b/cairomm-dev/receipt	Mon Apr 10 04:17:40 2017 +0300
     1.3 @@ -1,22 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cairomm-dev"
     1.7 -VERSION="1.11.2"
     1.8 +VERSION="1.12.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Cairomm library devel files."
    1.11 +SHORT_DESC="C++ interface to Cairo (development files)"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2"
    1.14 +WEB_SITE="https://www.cairographics.org/"
    1.15 +
    1.16  WANTED="cairomm"
    1.17 -WEB_SITE="http://www.cairographics.org/"
    1.18 -
    1.19 -DEPENDS="cairomm cairo-dev pkg-config"
    1.20 +DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev glib-dev \
    1.21 +harfbuzz-dev liblzma-dev libpng-dev libsigc++-dev libxcb-dev libxml2-dev \
    1.22 +pcre-dev pixman-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.23 +xorg-libXext-dev xorg-libXrender-dev zlib-dev"
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib
    1.29 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.30 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.31 -	cp -a $install/usr/include $fs/usr
    1.32 -	cp -a $install/usr/lib/cairomm-1.0 $fs/usr/lib
    1.33 +	cook_copy_files *.h *.la *.pc
    1.34  }
     2.1 --- a/cairomm/description.txt	Mon Apr 10 00:21:34 2017 +0300
     2.2 +++ b/cairomm/description.txt	Mon Apr 10 04:17:40 2017 +0300
     2.3 @@ -1,3 +1,3 @@
     2.4 -cairomm is a C++ wrapper for the cairo graphics library. It offers all the power
     2.5 -of cairo with an interface familiar to C++ developers, including use of the 
     2.6 -Standard Template Library where it makes sense.
     2.7 +cairomm is a C++ wrapper for the cairo graphics library. It offers all the
     2.8 +power of cairo with an interface familiar to C++ developers, including use of
     2.9 +the Standard Template Library where it makes sense.
     3.1 --- a/cairomm/receipt	Mon Apr 10 00:21:34 2017 +0300
     3.2 +++ b/cairomm/receipt	Mon Apr 10 04:17:40 2017 +0300
     3.3 @@ -1,29 +1,30 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="cairomm"
     3.7 -VERSION="1.11.2"
     3.8 +VERSION="1.12.0"
     3.9  CATEGORY="x-window"
    3.10 -SHORT_DESC="2D graphics library (mm)."
    3.11 +SHORT_DESC="C++ interface to Cairo"
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="LGPL2"
    3.14 +WEB_SITE="https://www.cairographics.org/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -WEB_SITE="http://www.cairographics.org/"
    3.18  WGET_URL="http://cairographics.org/releases/$TARBALL"
    3.19  
    3.20 -DEPENDS="pixman cairo libsigc++ xcb-util"
    3.21 -BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev"
    3.22 +DEPENDS="cairo freetype libpng libsigc++ xorg-libX11 xorg-libXext \
    3.23 +xorg-libXrender zlib"
    3.24 +BUILD_DEPENDS="cairo-dev libsigc++-dev"
    3.25  
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28  {
    3.29 -	cd $src
    3.30 -	./configure $CONFIGURE_ARGS && 
    3.31 -	make && make install
    3.32 +	sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in
    3.33 +
    3.34 +	./configure $CONFIGURE_ARGS && make && make install
    3.35  }
    3.36  
    3.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.38  genpkg_rules()
    3.39  {
    3.40 -	mkdir -p $fs/usr/lib
    3.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.42 +	cook_copy_files *.so*
    3.43  }
     4.1 --- a/libglade-dev/receipt	Mon Apr 10 00:21:34 2017 +0300
     4.2 +++ b/libglade-dev/receipt	Mon Apr 10 04:17:40 2017 +0300
     4.3 @@ -6,18 +6,18 @@
     4.4  SHORT_DESC="The Glade libs devel files."
     4.5  MAINTAINER="pankso@slitaz.org"
     4.6  LICENSE="LGPL2"
     4.7 -WANTED="libglade"
     4.8 -WEB_SITE="http://www.jamesh.id.au/software/libglade/"
     4.9 +WEB_SITE="https://developer.gnome.org/libglade/"
    4.10  HOST_ARCH="i486 arm"
    4.11  
    4.12 -DEPENDS="gtk+-dev libxml2-dev libglade pkg-config"
    4.13 +WANTED="libglade"
    4.14 +DEPENDS="libglade atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
    4.15 +gdk-pixbuf-dev glib-dev glibc-dev gtk+-dev harfbuzz-dev libffi-dev libgio-dev \
    4.16 +liblzma-dev libpng-dev libxcb-dev libxml2-dev pango-dev pcre-dev pixman-dev \
    4.17 +xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    4.18 +xorg-libXrender-dev zlib-dev"
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21  genpkg_rules()
    4.22  {
    4.23 -	mkdir -p $fs/usr/lib
    4.24 -	cp -a $install/usr/include $fs/usr
    4.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    4.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    4.27 +	cook_copy_files *.h *.la *.pc *.dtd
    4.28  }
    4.29 -
     5.1 --- a/libglade/receipt	Mon Apr 10 00:21:34 2017 +0300
     5.2 +++ b/libglade/receipt	Mon Apr 10 04:17:40 2017 +0300
     5.3 @@ -6,33 +6,31 @@
     5.4  SHORT_DESC="The Glade libs."
     5.5  MAINTAINER="pankso@slitaz.org"
     5.6  LICENSE="LGPL2"
     5.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     5.8 -WEB_SITE="http://www.jamesh.id.au/software/libglade/"
     5.9 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    5.10 +WEB_SITE="https://developer.gnome.org/libglade/"
    5.11  HOST_ARCH="i486 arm"
    5.12  
    5.13 -DEPENDS="gtk+ xorg-libXdamage"
    5.14 -BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
    5.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    5.17 +
    5.18 +DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libgio libxml2 \
    5.19 +pango"
    5.20 +BUILD_DEPENDS="gtk+-dev"
    5.21  
    5.22  # Rules to configure and make the package.
    5.23  compile_rules()
    5.24  {
    5.25 -	cd $src
    5.26  	sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
    5.27 -	./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
    5.28 +	mkdir po; touch po/POTFILES.in
    5.29 +
    5.30 +	./configure \
    5.31 +		--disable-static \
    5.32 +		$CONFIGURE_ARGS &&
    5.33  	make &&
    5.34 -	make DESTDIR=$DESTDIR install
    5.35 -	mkdir -p $DESTDIR/usr/bin
    5.36 -	[ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
    5.37 +	make install
    5.38  }
    5.39  
    5.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.41  genpkg_rules()
    5.42  {
    5.43 -	mkdir -p $fs/usr/lib
    5.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.45 -	
    5.46 -	cp -a $install/usr/bin $fs/usr
    5.47 -	chmod +x $fs/usr/bin/*
    5.48 +	cook_copy_files *.so* libglade-convert
    5.49  }
    5.50 -