wok-next rev 19761

Up glib.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 10 09:48:47 2017 +0300 (2017-06-10)
parents 0abbdf485a8d
children 107066b600c7
files glib-dev/receipt glib/receipt libgio-dev/receipt libgio/receipt
line diff
     1.1 --- a/glib-dev/receipt	Sat Jun 10 08:37:51 2017 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="glib-dev"
     1.7 -VERSION="2.48.2"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="C routines devel files and utilities (with Python codegen)."
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://www.gtk.org/"
    1.13 -HOST_ARCH="i486 arm"
    1.14 -
    1.15 -WANTED="glib"
    1.16 -DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
    1.17 -
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
    1.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/glib* $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.27 -	cp -a $install/usr/share/glib-2.0 $fs/usr/share
    1.28 -	cp -a $install/usr/share/gdb $fs/usr/share
    1.29 -
    1.30 -	# Python codegen, tester, compile, Perl mkenums
    1.31 -	#cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib
    1.32 -	for bin in gdbus-codegen gtester* glib-mkenums
    1.33 -	do
    1.34 -		cp -a $install/usr/bin/$bin $fs/usr/bin
    1.35 -	done
    1.36 -
    1.37 -	# Remove libgio-dev
    1.38 -	rm -rf $fs/usr/lib/libgio*.*a
    1.39 -	rm -rf $fs/usr/include/gio-unix-2.0
    1.40 -	rm $fs/usr/lib/pkgconfig/gio*.pc
    1.41 -}
     2.1 --- a/glib/receipt	Sat Jun 10 08:37:51 2017 +0300
     2.2 +++ b/glib/receipt	Sat Jun 10 09:48:47 2017 +0300
     2.3 @@ -1,28 +1,21 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="glib"
     2.8 -VERSION="2.48.2"
     2.9 -series=$(echo $VERSION | cut -d. -f1,2)
    2.10 +VERSION="2.50.3"
    2.11  CATEGORY="x-window"
    2.12 -SHORT_DESC="C routines."
    2.13 +SHORT_DESC="C routines"
    2.14  MAINTAINER="pankso@slitaz.org"
    2.15  LICENSE="GPL2"
    2.16  WEB_SITE="http://www.gtk.org/"
    2.17  HOST_ARCH="i486 arm"
    2.18  
    2.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.20 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$series/$TARBALL"
    2.21 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.22  
    2.23 -DEPENDS="pcre libffi libxml2 elfutils"
    2.24  BUILD_DEPENDS="perl indent python zlib-dev libffi-dev gettext-tools elfutils-dev \
    2.25 -pcre-dev gtk-doc libxslt libxml2-tools dbus-dev"
    2.26 -SPLIT="libgio libgio-dev"
    2.27 -
    2.28 -# Handle cross comilation. Use host Perl, Python, etc
    2.29 -case "$ARCH" in
    2.30 -	arm*)
    2.31 -		BUILD_DEPENDS="pcre-dev libffi-dev zlib-dev elfutils-dev libxml2-dev" ;;
    2.32 -esac
    2.33 +pcre-dev gtk-doc libxslt libxml2-tools dbus-dev util-linux-mount-dev"
    2.34 +BUILD_DEPENDS_arm="pcre-dev libffi-dev zlib-dev elfutils-dev libxml2-dev"
    2.35 +SPLIT="libgio libgio-dev glib-dev"
    2.36  
    2.37  # Rules to configure and make the package.
    2.38  compile_rules()
    2.39 @@ -63,14 +56,34 @@
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	cook_copy_folders bin
    2.44 -	cook_copy_files *.so*
    2.45 -
    2.46 -	# Split gio --> libgio
    2.47 -	rm $fs/usr/lib/libgio*
    2.48 -
    2.49 -	# Python codegen, tester, Perl mkenums --> glib-dev
    2.50 -	for bin in gdbus-codegen gtester* glib-mkenums; do
    2.51 -		rm $fs/usr/bin/$bin
    2.52 -	done
    2.53 +	case $PACKAGE in
    2.54 +		glib)
    2.55 +			copy bin/ *.so*
    2.56 +			# Split gio --> libgio
    2.57 +			rm $fs/usr/lib/libgio*
    2.58 +			# Python codegen, tester, Perl mkenums --> glib-dev
    2.59 +			cd $fs/usr/bin; rm gdbus-codegen gtester* glib-mkenums
    2.60 +			DEPENDS="pcre libffi libxml2 elfutils"
    2.61 +			;;
    2.62 +		libgio)
    2.63 +			copy libgio*.so*
    2.64 +			CAT="libs|libgio shared library"
    2.65 +			;;
    2.66 +		libgio-dev)
    2.67 +			copy gio/ libgio*.*a gio*.pc
    2.68 +			rm -rf $fs/usr/share
    2.69 +			CAT="development|libgio development files"
    2.70 +			DEPENDS="libgio"
    2.71 +			;;
    2.72 +		glib-dev)
    2.73 +			# Python codegen, tester, compile, Perl mkenums
    2.74 +			copy @dev gdbus-codegen gtester* glib-mkenums
    2.75 +			# Remove libgio-dev
    2.76 +			rm -rf $fs/usr/lib/libgio*.*a
    2.77 +			rm -rf $fs/usr/include/gio-unix-2.0
    2.78 +			rm $fs/usr/lib/pkgconfig/gio*.pc
    2.79 +			DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev \
    2.80 +			pkg-config"
    2.81 +			;;
    2.82 +	esac
    2.83  }
     3.1 --- a/libgio-dev/receipt	Sat Jun 10 08:37:51 2017 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,21 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="libgio-dev"
     3.7 -VERSION="2.48.2"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="Glib libgio devel files."
    3.10 -MAINTAINER="pankso@slitaz.org"
    3.11 -LICENSE="GPL2"
    3.12 -WEB_SITE="http://www.gtk.org/"
    3.13 -HOST_ARCH="i486 arm"
    3.14 -
    3.15 -WANTED="glib"
    3.16 -DEPENDS="libgio"
    3.17 -
    3.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 -genpkg_rules()
    3.20 -{
    3.21 -	cook_copy_folders gio
    3.22 -	rm -rf $fs/usr/share
    3.23 -	cook_copy_files libgio*.*a gio*.pc
    3.24 -}
     4.1 --- a/libgio/receipt	Sat Jun 10 08:37:51 2017 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,19 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="libgio"
     4.7 -VERSION="2.48.2"
     4.8 -CATEGORY="libs"
     4.9 -SHORT_DESC="Glib libgio shared library."
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -LICENSE="GPL2"
    4.12 -WEB_SITE="http://www.gtk.org/"
    4.13 -HOST_ARCH="i486 arm"
    4.14 -
    4.15 -WANTED="glib"
    4.16 -DEPENDS="glib"
    4.17 -
    4.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 -genpkg_rules()
    4.20 -{
    4.21 -	cook_copy_files libgio*.so*
    4.22 -}