wok-next rev 20062

Up libgdiplus (5.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 24 09:24:06 2017 +0200 (2017-10-24)
parents 39187b6b192c
children a35937563ccc
files libgdiplus-dev/receipt libgdiplus/receipt proxytunnel/receipt ziproxy/receipt
line diff
     1.1 --- a/libgdiplus-dev/receipt	Mon Oct 23 23:48:26 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libgdiplus-dev"
     1.7 -VERSION="2.10"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="libgdiplus development files."
    1.10 -WEB_SITE="http://www.mono-project.com/Libgdiplus"
    1.11 -MAINTAINER="rcx@zoominternet.net"
    1.12 -LICENSE="MIT"
    1.13 -WANTED="libgdiplus"
    1.14 -
    1.15 -DEPENDS="libgdiplus pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -}
     2.1 --- a/libgdiplus/receipt	Mon Oct 23 23:48:26 2017 +0200
     2.2 +++ b/libgdiplus/receipt	Tue Oct 24 09:24:06 2017 +0200
     2.3 @@ -1,21 +1,19 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="libgdiplus"
     2.8 -VERSION="2.10"
     2.9 +VERSION="5.4"
    2.10  CATEGORY="development"
    2.11  SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows operating systems"
    2.12  MAINTAINER="rcx@zoominternet.net"
    2.13  LICENSE="MIT"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16  WEB_SITE="http://www.mono-project.com/Libgdiplus"
    2.17 -WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL"
    2.18 +WGET_URL="https://github.com/mono/libgdiplus/archive/$VERSION.tar.gz"
    2.19  
    2.20 -DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    2.21 -xorg-libXdmcp xorg-libXrender cairo expat freetype fontconfig \
    2.22 -giflib jpeg libpng tiff pixman libexif zlib util-linux-uuid"
    2.23  BUILD_DEPENDS="m4 bison pkg-config glib-dev xorg-dev libxml2-dev \
    2.24  cairo-dev expat-dev freetype-dev fontconfig-dev giflib giflib-dev jpeg-dev \
    2.25 -libpng-dev tiff-dev pixman-dev libexif-dev libexif zlib-dev util-linux-uuid-dev"
    2.26 +libpng-dev tiff-dev pixman-dev libexif-dev libexif zlib-dev \
    2.27 +util-linux-uuid-dev automake autoconf libtool"
    2.28  
    2.29  # Build documentation at http://mono-project.com/Compiling_Mono
    2.30  # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
    2.31 @@ -23,6 +21,7 @@
    2.32  # Rules to configure and make the package.
    2.33  compile_rules()
    2.34  {
    2.35 +	./autogen.sh
    2.36  	./configure \
    2.37  		--prefix=/usr \
    2.38  		--infodir=/usr/share/info \
    2.39 @@ -37,6 +36,21 @@
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	mkdir -p $fs/usr/lib
    2.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.45 -}
    2.46 \ No newline at end of file
    2.47 +	case $PACKAGE in
    2.48 +	libgdiplus)
    2.49 +		DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \
    2.50 +			xorg-libXau xorg-libXdmcp xorg-libXrender cairo expat \
    2.51 +			freetype fontconfig giflib jpeg libpng tiff pixman \
    2.52 +			libexif zlib util-linux-uuid"
    2.53 +		mkdir -p $fs/usr/lib
    2.54 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.55 +		;;
    2.56 +	libgdiplus-dev)
    2.57 +		CAT="development|libgdiplus development files."
    2.58 +		DEPENDS="libgdiplus pkg-config"
    2.59 +		mkdir -p $fs/usr/lib
    2.60 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.61 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.62 +		;;
    2.63 +	esac
    2.64 +}
     3.1 --- a/proxytunnel/receipt	Mon Oct 23 23:48:26 2017 +0200
     3.2 +++ b/proxytunnel/receipt	Tue Oct 24 09:24:06 2017 +0200
     3.3 @@ -16,6 +16,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 +	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
     3.8  	sed -i 's|/local||' Makefile
     3.9  	make &&
    3.10  	make DESTDIR=$DESTDIR install
     4.1 --- a/ziproxy/receipt	Mon Oct 23 23:48:26 2017 +0200
     4.2 +++ b/ziproxy/receipt	Tue Oct 24 09:24:06 2017 +0200
     4.3 @@ -17,6 +17,7 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 +	sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c
     4.8  	./configure --prefix=/usr --mandir=/usr/share/man \
     4.9  		--localstatedir=/var \
    4.10  	$CONFIGURE_ARGS &&