wok-current rev 12471

Up: glib (2.32.1) Ok no move to gtk3
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 12:51:42 2012 +0200 (2012-04-23)
parents 02c2619cbe1c
children b40b085ea0d4
files glib-dev/receipt glib/receipt libgio-dev/receipt libgio/receipt
line diff
     1.1 --- a/glib-dev/receipt	Mon Apr 23 12:50:36 2012 +0200
     1.2 +++ b/glib-dev/receipt	Mon Apr 23 12:51:42 2012 +0200
     1.3 @@ -1,24 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glib-dev"
     1.7 -VERSION="2.30.2"
     1.8 +VERSION="2.32.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="C routines devel files and utilities."
    1.11 +SHORT_DESC="C routines devel files and utilities (with Python codegen)."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  WANTED="glib"
    1.14 -DEPENDS="glib perl libffi-dev"
    1.15  WEB_SITE="http://www.gtk.org/"
    1.16  
    1.17 +DEPENDS="glib perl python"
    1.18 +
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.23 +	mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
    1.24  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26  	cp -a $install/usr/lib/glib* $fs/usr/lib
    1.27  	cp -a $install/usr/include $fs/usr
    1.28  	cp -a $install/usr/share/aclocal $fs/usr/share
    1.29  	cp -a $install/usr/share/glib-2.0 $fs/usr/share
    1.30 +	cp -a $install/usr/share/gdb $fs/usr/share
    1.31 +	
    1.32 +	# Python codegen, tester, compile, Perl mkenums
    1.33 +	cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
    1.34 +	for bin in gdbus-codegen gtester* glib-mkenums glib-compile-*
    1.35 +	do
    1.36 +		cp -a $install/usr/bin/$bin $fs/usr/bin
    1.37 +	done
    1.38 +	
    1.39  	# Remove libgio-dev
    1.40  	rm -rf $fs/usr/lib/libgio*.*a
    1.41  	rm -rf $fs/usr/include/gio-unix-2.0
     2.1 --- a/glib/receipt	Mon Apr 23 12:50:36 2012 +0200
     2.2 +++ b/glib/receipt	Mon Apr 23 12:51:42 2012 +0200
     2.3 @@ -1,24 +1,25 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="glib"
     2.7 -VERSION="2.30.2"
     2.8 +VERSION="2.32.1"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="C routines."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.14  WEB_SITE="http://www.gtk.org/"
    2.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    2.16  
    2.17 -DEPENDS="libffi"
    2.18 -BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"
    2.19 +DEPENDS="pcre libffi libxml2 elfutils"
    2.20 +BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python python-dev \
    2.21 +elfutils-dev libxml2-dev libxml2-tools"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26  	cd $src
    2.27 -	# Fails on cross compile: use native i468 --build toolchain.
    2.28  	./configure --sysconfdir=/etc \
    2.29 -		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    2.30 +		--with-pcre=system \
    2.31 +		$CONFIGURE_ARGS &&
    2.32  	make && make install
    2.33  }
    2.34  
    2.35 @@ -28,6 +29,19 @@
    2.36  	mkdir -p $fs/usr/lib
    2.37  	cp -a $install/usr/bin $fs/usr
    2.38  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.39 -	# split libgio
    2.40 +	
    2.41 +	# Split gio --> libgio
    2.42  	rm $fs/usr/lib/libgio*
    2.43 +	
    2.44 +	# Python codegen, tester, compile, Perl mkenums --> glib-dev
    2.45 +	for bin in gdbus-codegen gtester* glib-mkenums glib-compile-*
    2.46 +	do
    2.47 +		rm $fs/usr/bin/$bin
    2.48 +	done
    2.49 +	
    2.50 +	# Cook packages that want glib.
    2.51 +	for w in libgio libgio-dev
    2.52 +	do
    2.53 +		[ -x "/usr/bin/cook" ] && cook $w
    2.54 +	done
    2.55  }
     3.1 --- a/libgio-dev/receipt	Mon Apr 23 12:50:36 2012 +0200
     3.2 +++ b/libgio-dev/receipt	Mon Apr 23 12:51:42 2012 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libgio-dev"
     3.7 -VERSION="2.30.2"
     3.8 +VERSION="2.32.1"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Glib libgio devel files."
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- a/libgio/receipt	Mon Apr 23 12:50:36 2012 +0200
     4.2 +++ b/libgio/receipt	Mon Apr 23 12:51:42 2012 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libgio"
     4.7 -VERSION="2.30.2"
     4.8 +VERSION="2.32.1"
     4.9  CATEGORY="x-window"
    4.10  SHORT_DESC="Glib libgio shared library."
    4.11  MAINTAINER="pankso@slitaz.org"