wok-next rev 20621

Add: fluxcomp, ldns, libndp, libnsl, nghttp2; up: directfb, libevent, libnl, libsoup, links, neon, serf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 13:24:59 2018 +0300 (2018-04-25)
parents 0c30a9a773d1
children 59f5da8f2012
files directfb/receipt directfb/stuff/patches/DirectFB-1.4.9-libpng-1.5.patch directfb/stuff/patches/directfb-1.8.0.patch directfb/stuff/patches/series fluxcomp/receipt ldns/receipt libevent/receipt libndp/receipt libnl/receipt libnsl/receipt libsoup/receipt links-dfb/description.txt links-dfb/receipt links/description.links-dfb.txt links/description.links.txt links/description.txt links/receipt neon/receipt nghttp2/receipt serf/receipt
line diff
     1.1 --- a/directfb/receipt	Sat Apr 21 17:36:49 2018 +0300
     1.2 +++ b/directfb/receipt	Wed Apr 25 13:24:59 2018 +0300
     1.3 @@ -1,22 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="directfb"
     1.7 -VERSION="1.4.3"
     1.8 +VERSION="1.8.0"
     1.9 +COMMIT="e97c8d4" # no releases here; latest commit (2014-01-30) hash
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="Thin library that provides hardware graphics acceleration"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.directfb.org/"
    1.15 +WEB_SITE="https://github.com/DirectFB"
    1.16  
    1.17 -SOURCE="DirectFB"
    1.18 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-${VERSION%.*}/$TARBALL"
    1.20 +TARBALL="$PACKAGE-$COMMIT.tar.gz"
    1.21 +WGET_URL="https://github.com/DirectFB/directfb/archive/$COMMIT.tar.gz"
    1.22  
    1.23 -BUILD_DEPENDS_arm="libpng12-dev jpeg-dev freetype-dev"
    1.24 -BUILD_DEPENDS="libpng12-dev jpeg-dev freetype-dev tslib-dev perl"
    1.25 +BUILD_DEPENDS="libtool automake gfortran libpng16-dev libjpeg-turbo-dev \
    1.26 +freetype-dev tslib-dev perl fluxcomp xorg-xproto xorg-libXext-dev libvdpau-dev"
    1.27 +
    1.28 +BUILD_DEPENDS="libtool automake gfortran libpng16-dev libjpeg-turbo-dev \
    1.29 +freetype-dev fluxcomp mesa-dev xorg-libxshmfence-dev expat-dev \
    1.30 +xorg-libXcomposite-dev"
    1.31 +
    1.32 +
    1.33  SPLIT="directfb-dev"
    1.34  
    1.35 -
    1.36  compile_rules() {
    1.37  	case "$ARCH" in
    1.38  		arm)
    1.39 @@ -25,26 +30,29 @@
    1.40  			export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include"
    1.41  			;;
    1.42  	esac
    1.43 -	./configure \
    1.44 +
    1.45 +	./autogen.sh \
    1.46 +		--disable-osx \
    1.47  		--with-dither-rgb16=none \
    1.48  		$ARCH_ARGS \
    1.49  		$CONFIGURE_ARGS &&
    1.50  	fix libtool &&
    1.51 -	make &&
    1.52 -	make DESTDIR=$DESTDIR install
    1.53 +	make -j1 &&
    1.54 +	make -j1 DESTDIR=$DESTDIR install
    1.55  }
    1.56  
    1.57  genpkg_rules() {
    1.58  	case $PACKAGE in
    1.59  		directfb)
    1.60  			copy @std
    1.61 -			DEPENDS="libpng12 libjpeg freetype tslib zlib"
    1.62 +			DEPENDS="freetype libjpeg-turbo libpng16 tslib"
    1.63  			case "$SLITAZ_ARCH" in
    1.64  				arm) DEPENDS="libpng12 libjpeg freetype zlib" ;;
    1.65  			esac
    1.66  			;;
    1.67  		*-dev)
    1.68  			copy @dev
    1.69 +			DEPENDS="directfb zlib-dev"
    1.70  			;;
    1.71  	esac
    1.72  }
     2.1 --- a/directfb/stuff/patches/DirectFB-1.4.9-libpng-1.5.patch	Sat Apr 21 17:36:49 2018 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,244 +0,0 @@
     2.4 -From 83180b25e90721e717bf37c5332c22713508786e Mon Sep 17 00:00:00 2001
     2.5 -From: Mike Frysinger <vapier@gentoo.org>
     2.6 -Date: Sun, 20 Feb 2011 19:18:19 -0500
     2.7 -Subject: [PATCH] png: add support for libpng 1.5.x
     2.8 -
     2.9 -Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    2.10 ----
    2.11 - .../idirectfbimageprovider_png.c                   |   56 ++++++++++++-------
    2.12 - 1 files changed, 35 insertions(+), 21 deletions(-)
    2.13 -
    2.14 -diff --git a/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c b/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c
    2.15 -index 6d65ea3..7d82c5c 100644
    2.16 ---- a/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c
    2.17 -+++ b/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c
    2.18 -@@ -207,7 +207,7 @@ Construct( IDirectFBImageProvider *thiz,
    2.19 -      if (!data->png_ptr)
    2.20 -           goto error;
    2.21 - 
    2.22 --     if (setjmp( data->png_ptr->jmpbuf )) {
    2.23 -+     if (setjmp( png_jmpbuf( data->png_ptr ))) {
    2.24 -           D_ERROR( "ImageProvider/PNG: Error reading header!\n" );
    2.25 -           goto error;
    2.26 -      }
    2.27 -@@ -292,7 +292,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.28 -           rect = dst_data->area.wanted;
    2.29 -      }
    2.30 - 
    2.31 --     if (setjmp( data->png_ptr->jmpbuf )) {
    2.32 -+     if (setjmp( png_jmpbuf( data->png_ptr ))) {
    2.33 -           D_ERROR( "ImageProvider/PNG: Error during decoding!\n" );
    2.34 - 
    2.35 -           if (data->stage < STAGE_IMAGE)
    2.36 -@@ -327,6 +327,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.37 -      }
    2.38 -      else {
    2.39 -           CoreSurfaceBufferLock lock;
    2.40 -+          png_byte bit_depth = png_get_bit_depth( data->png_ptr, data->info_ptr );
    2.41 - 
    2.42 -           ret = dfb_surface_lock_buffer( dst_surface, CSBR_BACK, CSAID_CPU, CSAF_WRITE, &lock );
    2.43 -           if (ret)
    2.44 -@@ -334,7 +335,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.45 - 
    2.46 -           switch (data->color_type) {
    2.47 -                case PNG_COLOR_TYPE_PALETTE:
    2.48 --                    if (dst_surface->config.format == DSPF_LUT8 && data->info_ptr->bit_depth == 8) {
    2.49 -+                    if (dst_surface->config.format == DSPF_LUT8 && bit_depth == 8) {
    2.50 -                          /*
    2.51 -                           * Special indexed PNG to LUT8 loading.
    2.52 -                           */
    2.53 -@@ -377,7 +378,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.54 -                     }
    2.55 -                     else {
    2.56 -                          if (data->color_type == PNG_COLOR_TYPE_GRAY) {
    2.57 --                              int num = 1 << data->info_ptr->bit_depth;
    2.58 -+                              int num = 1 << bit_depth;
    2.59 - 
    2.60 -                               for (x=0; x<num; x++) {
    2.61 -                                    int value = x * 255 / (num - 1);
    2.62 -@@ -386,7 +387,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.63 -                               }
    2.64 -                          }
    2.65 - 
    2.66 --                         switch (data->info_ptr->bit_depth) {
    2.67 -+                         switch (bit_depth) {
    2.68 -                               case 8:
    2.69 -                                    for (y=0; y<data->height; y++) {
    2.70 -                                         u8  *S = data->image + data->pitch * y;
    2.71 -@@ -441,7 +442,7 @@ IDirectFBImageProvider_PNG_RenderTo( IDirectFBImageProvider *thiz,
    2.72 - 
    2.73 -                               default:
    2.74 -                                    D_ERROR( "ImageProvider/PNG: Unsupported indexed bit depth %d!\n",
    2.75 --                                            data->info_ptr->bit_depth );
    2.76 -+                                            bit_depth );
    2.77 -                          }
    2.78 - 
    2.79 -                          dfb_scale_linear_32( image_argb, data->width, data->height,
    2.80 -@@ -594,16 +595,26 @@ png_info_callback( png_structp png_read_ptr,
    2.81 -                    NULL, NULL, NULL );
    2.82 - 
    2.83 -      if (png_get_valid( data->png_ptr, data->info_ptr, PNG_INFO_tRNS )) {
    2.84 -+          png_bytep     trans;
    2.85 -+          png_color_16p trans_color;
    2.86 -+          int           num_trans;
    2.87 -+
    2.88 -+          png_get_tRNS( data->png_ptr, data->info_ptr, &trans, &num_trans, &trans_color );
    2.89 -+
    2.90 -           data->color_keyed = true;
    2.91 - 
    2.92 -           /* generate color key based on palette... */
    2.93 -           if (data->color_type == PNG_COLOR_TYPE_PALETTE) {
    2.94 -                u32        key;
    2.95 --               png_colorp palette    = data->info_ptr->palette;
    2.96 --               png_bytep  trans      = data->info_ptr->trans;
    2.97 --               int        num_colors = MIN( MAXCOLORMAPSIZE,
    2.98 --                                            data->info_ptr->num_palette );
    2.99 --               u8         cmap[3][num_colors];
   2.100 -+               png_colorp palette;
   2.101 -+               int        num_colors;
   2.102 -+               u8        *cmap[3];
   2.103 -+
   2.104 -+               png_get_PLTE( data->png_ptr, data->info_ptr, &palette, &num_colors );
   2.105 -+               num_colors = MIN( MAXCOLORMAPSIZE, num_colors );
   2.106 -+               cmap[0] = alloca (num_colors);
   2.107 -+               cmap[1] = alloca (num_colors);
   2.108 -+               cmap[2] = alloca (num_colors);
   2.109 - 
   2.110 -                for (i=0; i<num_colors; i++) {
   2.111 -                     cmap[0][i] = palette[i].red;
   2.112 -@@ -613,7 +624,7 @@ png_info_callback( png_structp png_read_ptr,
   2.113 - 
   2.114 -                key = FindColorKey( num_colors, &cmap[0][0] );
   2.115 - 
   2.116 --               for (i=0; i<data->info_ptr->num_trans; i++) {
   2.117 -+               for (i=0; i<num_trans; i++) {
   2.118 -                     if (!trans[i]) {
   2.119 -                          palette[i].red   = (key & 0xff0000) >> 16;
   2.120 -                          palette[i].green = (key & 0x00ff00) >>  8;
   2.121 -@@ -625,20 +636,23 @@ png_info_callback( png_structp png_read_ptr,
   2.122 -           }
   2.123 -           else {
   2.124 -                /* ...or based on trans rgb value */
   2.125 --               png_color_16p trans = &data->info_ptr->trans_values;
   2.126 --
   2.127 --               data->color_key = (((trans->red & 0xff00) << 8) |
   2.128 --                                  ((trans->green & 0xff00)) |
   2.129 --                                  ((trans->blue & 0xff00) >> 8));
   2.130 -+               data->color_key = (((trans_color->red & 0xff00) << 8) |
   2.131 -+                                  ((trans_color->green & 0xff00)) |
   2.132 -+                                  ((trans_color->blue & 0xff00) >> 8));
   2.133 -           }
   2.134 -      }
   2.135 - 
   2.136 -      switch (data->color_type) {
   2.137 -           case PNG_COLOR_TYPE_PALETTE: {
   2.138 --               png_colorp palette    = data->info_ptr->palette;
   2.139 --               png_bytep  trans      = data->info_ptr->trans;
   2.140 --               int        num_trans  = data->info_ptr->num_trans;
   2.141 --               int        num_colors = MIN( MAXCOLORMAPSIZE, data->info_ptr->num_palette );
   2.142 -+               png_colorp    palette;
   2.143 -+               png_bytep     trans;
   2.144 -+               png_color_16p trans_color;
   2.145 -+               int           num_trans;
   2.146 -+               int           num_colors;
   2.147 -+
   2.148 -+               png_get_PLTE( data->png_ptr, data->info_ptr, &palette, &num_colors );
   2.149 -+               num_colors = MIN( MAXCOLORMAPSIZE, num_colors );
   2.150 -+               png_get_tRNS( data->png_ptr, data->info_ptr, &trans, &num_trans, &trans_color );
   2.151 - 
   2.152 -                for (i=0; i<num_colors; i++) {
   2.153 -                     data->colors[i].a = (i < num_trans) ? trans[i] : 0xff;
   2.154 --- 
   2.155 -1.7.4.1
   2.156 -
   2.157 -From 7a2a36fada3ecdd7f48fcfd782a552598477a8f5 Mon Sep 17 00:00:00 2001
   2.158 -From: Mike Frysinger <vapier@gentoo.org>
   2.159 -Date: Sun, 20 Feb 2011 19:38:50 -0500
   2.160 -Subject: [PATCH] tools: add support for libpng 1.5.x
   2.161 -
   2.162 -Signed-off-by: Mike Frysinger <vapier@gentoo.org>
   2.163 ----
   2.164 - tools/directfb-csource.c |   20 +++++++++++++-------
   2.165 - tools/mkdfiff.c          |    2 +-
   2.166 - tools/mkdgifft.cpp       |    2 +-
   2.167 - 3 files changed, 15 insertions(+), 9 deletions(-)
   2.168 -
   2.169 -diff --git a/tools/directfb-csource.c b/tools/directfb-csource.c
   2.170 -index 8f2cbf0..487ea3c 100644
   2.171 ---- a/tools/directfb-csource.c
   2.172 -+++ b/tools/directfb-csource.c
   2.173 -@@ -338,7 +338,7 @@ static DFBResult load_image (const char            *filename,
   2.174 -      if (!png_ptr)
   2.175 -           goto cleanup;
   2.176 - 
   2.177 --     if (setjmp (png_ptr->jmpbuf)) {
   2.178 -+     if (setjmp (png_jmpbuf (png_ptr))) {
   2.179 -           if (desc->preallocated[0].data) {
   2.180 -                free (desc->preallocated[0].data);
   2.181 -                desc->preallocated[0].data = NULL;
   2.182 -@@ -405,17 +405,22 @@ static DFBResult load_image (const char            *filename,
   2.183 -        }
   2.184 - 
   2.185 -      switch (src_format) {
   2.186 --          case DSPF_LUT8:
   2.187 --               if (info_ptr->num_palette) {
   2.188 -+          case DSPF_LUT8: {
   2.189 -+               png_colorp png_palette;
   2.190 -+               int        num_palette;
   2.191 -+
   2.192 -+               png_get_PLTE( png_ptr, info_ptr, &png_palette, &num_palette );
   2.193 -+
   2.194 -+               if (num_palette) {
   2.195 -                     png_byte *alpha;
   2.196 -                     int       i, num;
   2.197 - 
   2.198 --                    *palette_size = MIN (info_ptr->num_palette, 256);
   2.199 -+                    *palette_size = MIN (num_palette, 256);
   2.200 -                     for (i = 0; i < *palette_size; i++) {
   2.201 -                          palette[i].a = 0xFF;
   2.202 --                         palette[i].r = info_ptr->palette[i].red;
   2.203 --                         palette[i].g = info_ptr->palette[i].green;
   2.204 --                         palette[i].b = info_ptr->palette[i].blue;
   2.205 -+                         palette[i].r = png_palette[i].red;
   2.206 -+                         palette[i].g = png_palette[i].green;
   2.207 -+                         palette[i].b = png_palette[i].blue;
   2.208 -                     }
   2.209 -                     if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) {
   2.210 -                          png_get_tRNS (png_ptr, info_ptr, &alpha, &num, NULL);
   2.211 -@@ -424,6 +429,7 @@ static DFBResult load_image (const char            *filename,
   2.212 -                     }
   2.213 -                }
   2.214 -                break;
   2.215 -+          }
   2.216 -           case DSPF_RGB32:
   2.217 -                 png_set_filler (png_ptr, 0xFF,
   2.218 - #ifdef WORDS_BIGENDIAN
   2.219 -diff --git a/tools/mkdfiff.c b/tools/mkdfiff.c
   2.220 -index 68a3b4f..edb58a7 100644
   2.221 ---- a/tools/mkdfiff.c
   2.222 -+++ b/tools/mkdfiff.c
   2.223 -@@ -97,7 +97,7 @@ load_image (const char            *filename,
   2.224 -      if (!png_ptr)
   2.225 -           goto cleanup;
   2.226 - 
   2.227 --     if (setjmp (png_ptr->jmpbuf)) {
   2.228 -+     if (setjmp (png_jmpbuf (png_ptr))) {
   2.229 -           if (desc->preallocated[0].data) {
   2.230 -                free (desc->preallocated[0].data);
   2.231 -                desc->preallocated[0].data = NULL;
   2.232 -diff --git a/tools/mkdgifft.cpp b/tools/mkdgifft.cpp
   2.233 -index 96e4220..d4b6bf4 100644
   2.234 ---- a/tools/mkdgifft.cpp
   2.235 -+++ b/tools/mkdgifft.cpp
   2.236 -@@ -595,7 +595,7 @@ load_image (const char            *filename,
   2.237 -      if (!png_ptr)
   2.238 -           goto cleanup;
   2.239 - 
   2.240 --     if (setjmp (png_ptr->jmpbuf)) {
   2.241 -+     if (setjmp (png_jmpbuf (png_ptr))) {
   2.242 -           if (desc->preallocated[0].data) {
   2.243 -                free (desc->preallocated[0].data);
   2.244 -                desc->preallocated[0].data = NULL;
   2.245 --- 
   2.246 -1.7.4.1
   2.247 -
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/directfb/stuff/patches/directfb-1.8.0.patch	Wed Apr 25 13:24:59 2018 +0300
     3.3 @@ -0,0 +1,10 @@
     3.4 +--- a/lib/direct/Base.h
     3.5 ++++ b/lib/direct/Base.h
     3.6 +@@ -56,6 +56,7 @@
     3.7 + #include <memory>
     3.8 + #include <set>
     3.9 + #include <string>
    3.10 ++#include <functional>
    3.11 + 
    3.12 + #include <stdexcept>
    3.13 + 
     4.1 --- a/directfb/stuff/patches/series	Sat Apr 21 17:36:49 2018 +0300
     4.2 +++ b/directfb/stuff/patches/series	Wed Apr 25 13:24:59 2018 +0300
     4.3 @@ -1,1 +1,1 @@
     4.4 -DirectFB-1.4.9-libpng-1.5.patch
     4.5 +directfb-1.8.0.patch
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/fluxcomp/receipt	Wed Apr 25 13:24:59 2018 +0300
     5.3 @@ -0,0 +1,23 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="fluxcomp"
     5.7 +VERSION="1.4.4"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Interface description language used by DirectFB"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="GPL3"
    5.12 +WEB_SITE="https://github.com/Distrotech/flux"
    5.13 +
    5.14 +TARBALL="distrotech-flux-$VERSION.tar.gz"
    5.15 +WGET_URL="https://github.com/Distrotech/flux/archive/$TARBALL"
    5.16 +
    5.17 +compile_rules() {
    5.18 +	./configure $CONFIGURE_ARGS &&
    5.19 +	fix libtool &&
    5.20 +	make &&
    5.21 +	make install
    5.22 +}
    5.23 +
    5.24 +genpkg_rules() {
    5.25 +	copy @std
    5.26 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/ldns/receipt	Wed Apr 25 13:24:59 2018 +0300
     6.3 @@ -0,0 +1,38 @@
     6.4 +# SliTaz package receipt v2.
     6.5 +
     6.6 +PACKAGE="ldns"
     6.7 +VERSION="1.7.0"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="Fast DNS library"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="BSD"
    6.12 +WEB_SITE="https://www.nlnetlabs.nl/projects/ldns/about/"
    6.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/ldns.html"
    6.14 +
    6.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.16 +WGET_URL="http://www.nlnetlabs.nl/downloads/ldns/$TARBALL"
    6.17 +
    6.18 +BUILD_DEPENDS="openssl-dev perl"
    6.19 +SPLIT="ldns-dev"
    6.20 +
    6.21 +compile_rules() {
    6.22 +	./configure \
    6.23 +		--disable-static \
    6.24 +		--with-drill \
    6.25 +		$CONFIGURE_ARGS &&
    6.26 +	fix libtool &&
    6.27 +	make &&
    6.28 +	make install
    6.29 +}
    6.30 +
    6.31 +genpkg_rules() {
    6.32 +	case $PACKAGE in
    6.33 +		ldns)
    6.34 +			copy @std
    6.35 +			DEPENDS="openssl"
    6.36 +			;;
    6.37 +		*-dev)
    6.38 +			copy @dev
    6.39 +			;;
    6.40 +	esac
    6.41 +}
     7.1 --- a/libevent/receipt	Sat Apr 21 17:36:49 2018 +0300
     7.2 +++ b/libevent/receipt	Wed Apr 25 13:24:59 2018 +0300
     7.3 @@ -7,6 +7,7 @@
     7.4  MAINTAINER="0dddba11@googlemail.com"
     7.5  LICENSE="BSD"
     7.6  WEB_SITE="http://libevent.org/"
     7.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libevent.html"
     7.8  
     7.9  TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
    7.10  WGET_URL="https://github.com/libevent/libevent/releases/download/release-$VERSION-stable/$TARBALL"
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libndp/receipt	Wed Apr 25 13:24:59 2018 +0300
     8.3 @@ -0,0 +1,31 @@
     8.4 +# SliTaz package receipt v2.
     8.5 +
     8.6 +PACKAGE="libndp"
     8.7 +VERSION="1.6"
     8.8 +CATEGORY="network"
     8.9 +SHORT_DESC="Wrapper for IPv6 Neighbor Discovery Protocol"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="LGPL2.1"
    8.12 +WEB_SITE="http://libndp.org/"
    8.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libndp.html"
    8.14 +
    8.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.16 +WGET_URL="http://libndp.org/files/$TARBALL"
    8.17 +
    8.18 +SPLIT="libndp-dev"
    8.19 +
    8.20 +compile_rules() {
    8.21 +	./configure \
    8.22 +		--disable-static \
    8.23 +		$CONFIGURE_ARGS &&
    8.24 +	fix libtool &&
    8.25 +	make &&
    8.26 +	make install
    8.27 +}
    8.28 +
    8.29 +genpkg_rules() {
    8.30 +	case $PACKAGE in
    8.31 +		libndp) copy @std;;
    8.32 +		*-dev)  copy @dev;;
    8.33 +	esac
    8.34 +}
     9.1 --- a/libnl/receipt	Sat Apr 21 17:36:49 2018 +0300
     9.2 +++ b/libnl/receipt	Wed Apr 25 13:24:59 2018 +0300
     9.3 @@ -1,12 +1,13 @@
     9.4  # SliTaz package receipt v2.
     9.5  
     9.6  PACKAGE="libnl"
     9.7 -VERSION="3.2.29"
     9.8 +VERSION="3.4.0"
     9.9  CATEGORY="network"
    9.10  SHORT_DESC="Netlink protocol library suite"
    9.11  MAINTAINER="pascal.bellard@slitaz.org"
    9.12  LICENSE="LGPL2.1"
    9.13  WEB_SITE="http://www.infradead.org/~tgr/libnl/"
    9.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libnl.html"
    9.15  
    9.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.17  WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL"
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/libnsl/receipt	Wed Apr 25 13:24:59 2018 +0300
    10.3 @@ -0,0 +1,41 @@
    10.4 +# SliTaz package receipt v2.
    10.5 +
    10.6 +PACKAGE="libnsl"
    10.7 +VERSION="1.2.0"
    10.8 +CATEGORY="network"
    10.9 +SHORT_DESC="Public client interface for NIS(YP) and NIS+"
   10.10 +MAINTAINER="al.bobylev@gmail.com"
   10.11 +LICENSE="LGPL2.1"
   10.12 +WEB_SITE="https://github.com/thkukuk/libnsl/"
   10.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libnsl.html"
   10.14 +
   10.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.16 +WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL"
   10.17 +
   10.18 +BUILD_DEPENDS="automake gettext libtool libtirpc-dev rpcsvc-proto"
   10.19 +SPLIT="libnsl-dev"
   10.20 +
   10.21 +compile_rules() {
   10.22 +	autoreconf -fi &&
   10.23 +	./configure $CONFIGURE_ARGS &&
   10.24 +	fix libtool &&
   10.25 +	make &&
   10.26 +	make install || return 1
   10.27 +
   10.28 +	mkdir -p $install/lib
   10.29 +	mv $install/usr/lib/libnsl.so.2*  $install/lib
   10.30 +	ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so
   10.31 +}
   10.32 +
   10.33 +genpkg_rules() {
   10.34 +	case $PACKAGE in
   10.35 +		libnsl)
   10.36 +			copy @std
   10.37 +			DEPENDS="libtirpc"
   10.38 +			;;
   10.39 +		*-dev)
   10.40 +			copy @dev
   10.41 +			DEPENDS="libnsl libtirpc-dev"
   10.42 +			;;
   10.43 +	esac
   10.44 +}
    11.1 --- a/libsoup/receipt	Sat Apr 21 17:36:49 2018 +0300
    11.2 +++ b/libsoup/receipt	Wed Apr 25 13:24:59 2018 +0300
    11.3 @@ -31,20 +31,16 @@
    11.4  	case $PACKAGE in
    11.5  		libsoup)
    11.6  			copy libsoup-2*.so*
    11.7 -			DEPENDS="glib glibc-base libffi liblzma libsqlite3 libxml2 pcre \
    11.8 -			util-linux-blkid util-linux-mount util-linux-uuid zlib"
    11.9 +			DEPENDS="glib libsqlite3 libxml2"
   11.10  			;;
   11.11  		libsoup-gnome)
   11.12  			copy libsoup-gnome*.so*
   11.13  			CAT="x-window|GNOME specific library"
   11.14 -			DEPENDS="libsoup glib libffi liblzma libsqlite3 libxml2 pcre \
   11.15 -			util-linux-blkid util-linux-mount util-linux-uuid zlib"
   11.16 +			DEPENDS="libsoup glib"
   11.17  			;;
   11.18  		*-dev)
   11.19  			copy @dev
   11.20 -			DEPENDS="libsoup libsoup-gnome glib-dev glibc-dev libffi-dev \
   11.21 -			xz-dev libxml2-dev pcre-dev sqlite3-dev util-linux-blkid-dev \
   11.22 -			util-linux-mount-dev util-linux-uuid-dev zlib-dev"
   11.23 +			DEPENDS="libsoup libsoup-gnome glib-dev libxml2-dev"
   11.24  			;;
   11.25  	esac
   11.26  }
    12.1 --- a/links-dfb/description.txt	Sat Apr 21 17:36:49 2018 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,2 +0,0 @@
    12.4 -Links is a lightweight, fast web browser that supports both graphics and text
    12.5 -mode. This version can run in the Linux framebuffer via DirectFB.
    13.1 --- a/links-dfb/receipt	Sat Apr 21 17:36:49 2018 +0300
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,35 +0,0 @@
    13.4 -# SliTaz package receipt v2.
    13.5 -
    13.6 -PACKAGE="links-dfb"
    13.7 -VERSION="2.14"
    13.8 -CATEGORY="network"
    13.9 -SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB"
   13.10 -MAINTAINER="pankso@slitaz.org"
   13.11 -LICENSE="GPL2"
   13.12 -WEB_SITE="http://links.twibright.com/"
   13.13 -
   13.14 -TARBALL="links-$VERSION.tar.gz"
   13.15 -WGET_URL="http://links.twibright.com/download/$TARBALL"
   13.16 -
   13.17 -BUILD_DEPENDS="openssl-dev ncurses-dev jpeg-dev libpng16-dev tiff-dev \
   13.18 -zlib-dev directfb-dev"
   13.19 -
   13.20 -compile_rules() {
   13.21 -	sed -i 's/\*last_val/last_val/' dip.c
   13.22 -
   13.23 -	./configure \
   13.24 -		--with-directfb \
   13.25 -		--without-bzip2 \
   13.26 -		--enable-graphics \
   13.27 -		$CONFIGURE_ARGS &&
   13.28 -	make &&
   13.29 -	make DESTDIR=$DESTDIR install || return 1
   13.30 -
   13.31 -	install -Dm644 $src/graphics/links.xpm $install/usr/share/pixmaps/links.xpm
   13.32 -}
   13.33 -
   13.34 -genpkg_rules() {
   13.35 -	copy @std
   13.36 -	DEPENDS="ncurses openssl jpeg libpng16 tiff zlib libgomp directfb"
   13.37 -	PROVIDE="links"
   13.38 -}
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/links/description.links-dfb.txt	Wed Apr 25 13:24:59 2018 +0300
    14.3 @@ -0,0 +1,2 @@
    14.4 +Links is a lightweight, fast web browser that supports both graphics and text
    14.5 +mode. This version can run in the Linux framebuffer via DirectFB.
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/links/description.links.txt	Wed Apr 25 13:24:59 2018 +0300
    15.3 @@ -0,0 +1,2 @@
    15.4 +Links is a lightweight, fast web browser that supports both graphics and text
    15.5 +mode.
    16.1 --- a/links/description.txt	Sat Apr 21 17:36:49 2018 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,2 +0,0 @@
    16.4 -Links is a lightweight, fast web browser that supports both graphics and text
    16.5 -mode.
    17.1 --- a/links/receipt	Sat Apr 21 17:36:49 2018 +0300
    17.2 +++ b/links/receipt	Wed Apr 25 13:24:59 2018 +0300
    17.3 @@ -3,17 +3,18 @@
    17.4  PACKAGE="links"
    17.5  VERSION="2.14"
    17.6  CATEGORY="network"
    17.7 -SHORT_DESC="Light and fast web browser using Ncurses or Xlib"
    17.8 +SHORT_DESC="Light and fast web browser"
    17.9  MAINTAINER="pankso@slitaz.org"
   17.10  LICENSE="GPL2"
   17.11  WEB_SITE="http://links.twibright.com/"
   17.12 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/links.html"
   17.13  
   17.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   17.16  WGET_URL="http://links.twibright.com/download/$TARBALL"
   17.17  
   17.18 -BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng16-dev tiff-dev \
   17.19 -zlib-dev xorg-libXdmcp-dev xorg-libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
   17.20 -gpm-dev"
   17.21 +BUILD_DEPENDS="gpm-dev openssl-dev zlib-dev bzip2-dev xz-dev xorg-libX11-dev \
   17.22 +xorg-libXt-dev libpng16-dev libjpeg-turbo-dev tiff-dev directfb-dev"
   17.23 +SPLIT="links-dfb:dfb links-cli:cli"
   17.24  
   17.25  case "$ARCH" in
   17.26  	arm*)
   17.27 @@ -26,9 +27,14 @@
   17.28  esac
   17.29  
   17.30  compile_rules() {
   17.31 +	case $SET in
   17.32 +		'')  SET_ARGS='--enable-graphics --without-directfb --with-x';;
   17.33 +		dfb) SET_ARGS='--enable-graphics --with-directfb --without-x';;
   17.34 +		cli) SET_ARGS='--disable-graphics';;
   17.35 +	esac
   17.36 +
   17.37  	./configure \
   17.38 -		--enable-graphics \
   17.39 -		--without-directfb \
   17.40 +		$SET_ARGS \
   17.41  		$CONFIGURE_ARGS &&
   17.42  	make &&
   17.43  	make DESTDIR=$DESTDIR install || return 1
   17.44 @@ -38,9 +44,24 @@
   17.45  }
   17.46  
   17.47  genpkg_rules() {
   17.48 -	copy @std
   17.49 -	DEPENDS="ncurses openssl jpeg libpng16 tiff xorg-libX11 xorg-libXau \
   17.50 -	xorg-libXdmcp xorg-libxcb zlib liblzma bzlib libgomp"
   17.51 -	SUGGESTED="gpm"
   17.52 +	case $PACKAGE in
   17.53 +		links)
   17.54 +			copy @std
   17.55 +			DEPENDS="bzlib libgomp libjpeg-turbo liblzma libpng16 openssl tiff \
   17.56 +			xorg-libX11 zlib"
   17.57 +			SUGGESTED="gpm"
   17.58 +			;;
   17.59 +		links-dfb)
   17.60 +			copy @std
   17.61 +			DEPENDS="bzlib directfb libgomp libjpeg-turbo liblzma libpng16 \
   17.62 +			openssl tiff zlib"
   17.63 +			PROVIDE="links"
   17.64 +			;;
   17.65 +		links-cli)
   17.66 +			copy @std
   17.67 +			DEPENDS="bzlib liblzma openssl zlib"
   17.68 +			PROVIDE="links"
   17.69 +			;;
   17.70 +	esac
   17.71  	TAGS="web-browser"
   17.72  }
    18.1 --- a/neon/receipt	Sat Apr 21 17:36:49 2018 +0300
    18.2 +++ b/neon/receipt	Wed Apr 25 13:24:59 2018 +0300
    18.3 @@ -6,13 +6,13 @@
    18.4  SHORT_DESC="Neon HTTP and WebDAV client library"
    18.5  MAINTAINER="lehswe@gmail.com"
    18.6  LICENSE="GPL2"
    18.7 -WEB_SITE="http://www.webdav.org/neon"
    18.8 +WEB_SITE="https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/"
    18.9  LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/neon.html"
   18.10  
   18.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
   18.12 -WGET_URL="http://www.webdav.org/neon/$TARBALL"
   18.13 +WGET_URL="https://fossies.org/linux/www/$TARBALL"
   18.14  
   18.15 -BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev"
   18.16 +BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev expat-dev"
   18.17  SPLIT="neon-dev"
   18.18  
   18.19  compile_rules() {
   18.20 @@ -33,7 +33,7 @@
   18.21  	case $PACKAGE in
   18.22  		neon)
   18.23  			copy @std
   18.24 -			DEPENDS="openssl liblzma libxml2 zlib"
   18.25 +			DEPENDS="libxml2 openssl zlib"
   18.26  			TAGS="http webdav"
   18.27  			;;
   18.28  		*-dev)
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/nghttp2/receipt	Wed Apr 25 13:24:59 2018 +0300
    19.3 @@ -0,0 +1,33 @@
    19.4 +# SliTaz package receipt v2.
    19.5 +
    19.6 +PACKAGE="nghttp2"
    19.7 +VERSION="1.30.0"
    19.8 +CATEGORY="network"
    19.9 +SHORT_DESC="HTTP/2 C Library"
   19.10 +MAINTAINER="al.bobylev@gmail.com"
   19.11 +LICENSE="MIT"
   19.12 +WEB_SITE="https://nghttp2.org/"
   19.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/nghttp2.html"
   19.14 +
   19.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   19.16 +WGET_URL="https://github.com/nghttp2/nghttp2/releases/download/v$VERSION/$TARBALL"
   19.17 +
   19.18 +BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev"
   19.19 +SPLIT="nghttp2-dev"
   19.20 +
   19.21 +compile_rules() {
   19.22 +	./configure \
   19.23 +		--disable-static \
   19.24 +		--enable-lib-only \
   19.25 +		$CONFIGURE_ARGS &&
   19.26 +	fix libtool &&
   19.27 +	make &&
   19.28 +	make install
   19.29 +}
   19.30 +
   19.31 +genpkg_rules() {
   19.32 +	case $PACKAGE in
   19.33 +		nghttp2) copy @std;;
   19.34 +		*-dev)   copy @dev;;
   19.35 +	esac
   19.36 +}
    20.1 --- a/serf/receipt	Sat Apr 21 17:36:49 2018 +0300
    20.2 +++ b/serf/receipt	Wed Apr 25 13:24:59 2018 +0300
    20.3 @@ -28,12 +28,11 @@
    20.4  	case $PACKAGE in
    20.5  		serf)
    20.6  			copy @std
    20.7 -			DEPENDS="apr apr-util expat gdbm openssl libldap \
    20.8 -			util-linux-uuid zlib"
    20.9 +			DEPENDS="apr apr-util expat gdbm libldap openssl util-linux-uuid zlib"
   20.10  			;;
   20.11  		*-dev)
   20.12  			copy @dev
   20.13 -			DEPENDS="serf expat-dev gdbm openldap-dev openssl-dev \
   20.14 +			DEPENDS="serf expat-dev gdbm-dev openldap-dev openssl-dev \
   20.15  			util-linux-uuid-dev zlib-dev"
   20.16  			;;
   20.17  	esac