wok-next rev 19678

Update some build dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 25 17:39:12 2017 +0200 (2017-03-25)
parents 29a4d8677ecf
children 558329d2603a
files faad2/receipt krb5/receipt lcms/receipt libgd-dev/receipt libgd/receipt libid3tag/receipt libmad/receipt speex/receipt vpnc-cert/receipt vpnc/receipt w3m/receipt xorg-xload/receipt
line diff
     1.1 --- a/faad2/receipt	Fri Mar 24 14:59:44 2017 +0200
     1.2 +++ b/faad2/receipt	Sat Mar 25 17:39:12 2017 +0200
     1.3 @@ -11,6 +11,8 @@
     1.4  WGET_URL="$SF_MIRROR/faac/$TARBALL"
     1.5  TAGS="decoder mp4 mpeg"
     1.6  
     1.7 +BUILD_DEPENDS="gfortran"
     1.8 +
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
     2.1 --- a/krb5/receipt	Fri Mar 24 14:59:44 2017 +0200
     2.2 +++ b/krb5/receipt	Sat Mar 25 17:39:12 2017 +0200
     2.3 @@ -1,12 +1,12 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="krb5"
     2.7 -VERSION="1.10.3"
     2.8 +VERSION="1.15.1"
     2.9  CATEGORY="security"
    2.10  SHORT_DESC="Network authentication protocol with strong authentication."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 -TARBALL="$PACKAGE-$VERSION-signed.tar"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WEB_SITE="http://web.mit.edu/Kerberos/"
    2.16  WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION:0:4}/$TARBALL"
    2.17  CONFIG_FILES="/etc/krb5"
    2.18 @@ -14,21 +14,21 @@
    2.19  CXXFLAGS="$CFLAGS"
    2.20  
    2.21  DEPENDS="libkrb5"
    2.22 -BUILD_DEPENDS="perl bison"
    2.23 +BUILD_DEPENDS="perl bison gettext openssl-dev"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	srcdir=$PACKAGE-$VERSION
    2.29 -	[ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 
    2.30 -	# This is for cookutils. If more than one file was extracted it create
    2.31 -	# $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
    2.32 -	# that so we do the trick here.
    2.33 -	if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
    2.34 -		mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    2.35 -	else
    2.36 -		mv $srcdir/* .
    2.37 -	fi
    2.38 +#	srcdir=$PACKAGE-$VERSION
    2.39 +#	[ -d $src/src ] || tar xzf $src/$srcdir.tar.gz 
    2.40 +#	# This is for cookutils. If more than one file was extracted it create
    2.41 +#	# $PACKAGE-$VERSION to move files in it. Krb5 is the only package like
    2.42 +#	# that so we do the trick here.
    2.43 +#	if [ -d "$srcdir" -a -x /usr/bin/cook ]; then
    2.44 +#		mv $srcdir $CACHE && cd .. && rm -rf * && mv -f $CACHE/$srcdir .
    2.45 +#	else
    2.46 +#		mv $srcdir/* .
    2.47 +#	fi
    2.48  	cd $src/src
    2.49  
    2.50  	# FS#25384
     3.1 --- a/lcms/receipt	Fri Mar 24 14:59:44 2017 +0200
     3.2 +++ b/lcms/receipt	Sat Mar 25 17:39:12 2017 +0200
     3.3 @@ -12,7 +12,7 @@
     3.4  HOST_ARCH="i486 arm"
     3.5  
     3.6  RELATED="lcms-dev lcms-apps"
     3.7 -BUILD_DEPENDS="tiff-dev jpeg-dev zlib-dev"
     3.8 +BUILD_DEPENDS="tiff-dev jpeg-dev zlib-dev gfortran  liblzma-dev" #xz-dev?
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
     4.1 --- a/libgd-dev/receipt	Fri Mar 24 14:59:44 2017 +0200
     4.2 +++ b/libgd-dev/receipt	Sat Mar 25 17:39:12 2017 +0200
     4.3 @@ -1,23 +1,19 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libgd-dev"
     4.7 -VERSION="2.0.35"
     4.8 +VERSION="2.2.4"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="Library for the dynamic creation of images development files."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
    4.12  LICENSE="BSD"
    4.13 -WANTED="libgd"
    4.14 -WEB_SITE="http://www.libgd.org/"
    4.15 +WEB_SITE="https://www.libgd.org/"
    4.16  HOST_ARCH="i486 arm"
    4.17  
    4.18 -DEPENDS="libpng-dev libjpeg jpeg-dev"
    4.19 +WANTED="libgd"
    4.20 +DEPENDS="libgd libpng-dev libjpeg jpeg-dev"
    4.21  
    4.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.23  genpkg_rules()
    4.24  {
    4.25 -	mkdir -p $fs/usr/lib $fs/usr/bin
    4.26 -	cp -a $install/usr/local/include $fs/usr
    4.27 -	cp -a $install/usr/local/lib/*a $fs/usr/lib
    4.28 -	cp -a $install/usr/local/bin/gdlib-config $fs/usr/bin
    4.29 +	cook_copy_files gdlib-config *.h *.a *.la *.pc
    4.30  }
    4.31 -
     5.1 --- a/libgd/receipt	Fri Mar 24 14:59:44 2017 +0200
     5.2 +++ b/libgd/receipt	Sat Mar 25 17:39:12 2017 +0200
     5.3 @@ -1,51 +1,44 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="libgd"
     5.7 -VERSION="2.0.35"
     5.8 +VERSION="2.2.4"
     5.9  CATEGORY="graphics"
    5.10  SHORT_DESC="Library for the dynamic creation of images."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  LICENSE="BSD"
    5.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.14 -WEB_SITE="http://libgd.bitbucket.org/"
    5.15 -WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd"
    5.16 -#WGET_URL="https://bitbucket.org/libgd/gd-libgd/downloads/$TARBALL"
    5.17 +WEB_SITE="https://www.libgd.org/"
    5.18  HOST_ARCH="i486 arm"
    5.19  
    5.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.21 +WGET_URL="$GITHUB/libgd/libgd/tarball/gd-$VERSION"
    5.22 +
    5.23  DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \
    5.24  xorg-libXau xorg-libXdmcp xorg-libXpm"
    5.25  BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev \
    5.26 -xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool"
    5.27 +xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool gettext \
    5.28 +fontconfig-dev"
    5.29  
    5.30  # Cross compilation use some build host tools
    5.31  case "$ARCH" in
    5.32 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake wget" ;;
    5.33 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
    5.34  	arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;;
    5.35  esac
    5.36  
    5.37  # Rules to configure and make the package.
    5.38  compile_rules()
    5.39  {
    5.40 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
    5.41 -	cmake . && make && make DESTDIR=$DESTDIR install || return 1
    5.42 -	
    5.43 -	cd src
    5.44 -	cp -a ../config ../test .
    5.45 -    
    5.46 -	./bootstrap.sh
    5.47 +	./bootstrap.sh &&
    5.48  	./configure \
    5.49  		--prefix=/usr \
    5.50 -		$CONFIGURE_ARGS
    5.51 -	make -C config gdlib-config
    5.52 -	cp config/gdlib-config $DESTDIR/usr/local/bin
    5.53 -	chmod +x $DESTDIR/usr/local/bin/gdlib-config
    5.54 -	cd ..
    5.55 +		$CONFIGURE_ARGS &&
    5.56 +	make && make install
    5.57  }
    5.58  
    5.59  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.60  genpkg_rules()
    5.61  {
    5.62 -	mkdir -p $fs/usr/lib
    5.63 -	cp -a $install/usr/local/bin $fs/usr
    5.64 -	cp -a $install/usr/local/lib/*.so* $fs/usr/lib
    5.65 +	cook_copy_folders bin
    5.66 +	cook_copy_files *.so*
    5.67 +	# split
    5.68 +	rm $fs/usr/bin/gdlib-config
    5.69  }
     6.1 --- a/libid3tag/receipt	Fri Mar 24 14:59:44 2017 +0200
     6.2 +++ b/libid3tag/receipt	Sat Mar 25 17:39:12 2017 +0200
     6.3 @@ -12,7 +12,7 @@
     6.4  HOST_ARCH="i486 arm"
     6.5  
     6.6  DEPENDS="zlib"
     6.7 -BUILD_DEPENDS="zlib-dev"
     6.8 +BUILD_DEPENDS="zlib-dev gfortran"
     6.9  
    6.10  # Rules to configure and make the package.
    6.11  compile_rules()
     7.1 --- a/libmad/receipt	Fri Mar 24 14:59:44 2017 +0200
     7.2 +++ b/libmad/receipt	Sat Mar 25 17:39:12 2017 +0200
     7.3 @@ -11,6 +11,8 @@
     7.4  WGET_URL="$SF_MIRROR/mad/$TARBALL"
     7.5  HOST_ARCH="i486 arm"
     7.6  
     7.7 +BUILD_DEPENDS="gfortran"
     7.8 +
     7.9  # Rules to configure and make the package.
    7.10  compile_rules()
    7.11  {
     8.1 --- a/speex/receipt	Fri Mar 24 14:59:44 2017 +0200
     8.2 +++ b/speex/receipt	Sat Mar 25 17:39:12 2017 +0200
     8.3 @@ -12,7 +12,7 @@
     8.4  HOST_ARCH="i486 arm"
     8.5  
     8.6  DEPENDS="libogg"
     8.7 -BUILD_DEPENDS="libogg-dev"
     8.8 +BUILD_DEPENDS="libogg-dev gfortran"
     8.9  
    8.10  # Rules to configure and make the package.
    8.11  compile_rules()
     9.1 --- a/vpnc-cert/receipt	Fri Mar 24 14:59:44 2017 +0200
     9.2 +++ b/vpnc-cert/receipt	Sat Mar 25 17:39:12 2017 +0200
     9.3 @@ -15,7 +15,7 @@
     9.4  PROVIDE="vpnc"
     9.5  
     9.6  DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto"
     9.7 -BUILD_DEPENDS="libgcrypt-dev openssl-dev"
     9.8 +BUILD_DEPENDS="libgcrypt-dev openssl-dev perl"
     9.9  
    9.10  # Rules to configure and make the package.
    9.11  compile_rules()
    10.1 --- a/vpnc/receipt	Fri Mar 24 14:59:44 2017 +0200
    10.2 +++ b/vpnc/receipt	Sat Mar 25 17:39:12 2017 +0200
    10.3 @@ -13,7 +13,7 @@
    10.4  TAGS="vpn tunnel"
    10.5  
    10.6  DEPENDS="libgcrypt libgpg-error glibc-base perl"
    10.7 -BUILD_DEPENDS="libgcrypt-dev openssl-dev"
    10.8 +BUILD_DEPENDS="libgcrypt-dev openssl-dev perl"
    10.9  
   10.10  # Rules to configure and make the package.
   10.11  compile_rules()
    11.1 --- a/w3m/receipt	Fri Mar 24 14:59:44 2017 +0200
    11.2 +++ b/w3m/receipt	Sat Mar 25 17:39:12 2017 +0200
    11.3 @@ -12,7 +12,7 @@
    11.4  TAGS="web-browser"
    11.5  
    11.6  DEPENDS="gc libcrypto libssl ncurses"
    11.7 -BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev"
    11.8 +BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev zlib-dev perl gettext"
    11.9  
   11.10  # Rules to configure and make the package.
   11.11  compile_rules()
    12.1 --- a/xorg-xload/receipt	Fri Mar 24 14:59:44 2017 +0200
    12.2 +++ b/xorg-xload/receipt	Sat Mar 25 17:39:12 2017 +0200
    12.3 @@ -13,7 +13,7 @@
    12.4  HOST_ARCH="i486 arm"
    12.5  
    12.6  DEPENDS="xorg-libXaw"
    12.7 -BUILD_DEPENDS="xorg-libXaw-dev"
    12.8 +BUILD_DEPENDS="xorg-libXaw-dev gettext"
    12.9  
   12.10  # Rules to configure and make the package.
   12.11  compile_rules()