wok rev 25899 tip

Up libgnt (2.14.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 10:32:48 2025 +0000 (41 hours ago)
parents 021f3864dca1
children
files blktrace/receipt libgnt-dev/receipt libgnt/receipt linld/receipt memtest/receipt memtest/stuff/filter.c memtest/stuff/unpack.S nanochess/receipt oldrunner/receipt php-docs-en/receipt plop/receipt plop/stuff/filter.c plop/stuff/unpack.S xcursor-comix/receipt
line diff
     1.1 --- a/blktrace/receipt	Sun Oct 19 21:41:00 2025 +0200
     1.2 +++ b/blktrace/receipt	Thu Oct 23 10:32:48 2025 +0000
     1.3 @@ -7,9 +7,11 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="https://brick.kernel.dk/snaps"
     1.7 +#WEB_SITE="https://git.kernel.dk/cgit/blktrace/"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WGET_URL="$WEB_SITE/$TARBALL"
    1.11 +#WGET_URL="https://git.kernel.dk/cgit/blktrace/snapshot/$TARBALL"
    1.12  
    1.13  DEPENDS="libaio"
    1.14  BUILD_DEPENDS="libaio-dev"
     2.1 --- a/libgnt-dev/receipt	Sun Oct 19 21:41:00 2025 +0200
     2.2 +++ b/libgnt-dev/receipt	Thu Oct 23 10:32:48 2025 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libgnt-dev"
     2.7 -VERSION="2.14.3"
     2.8 +VERSION="2.14.4"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The GLib Ncurses Toolkit, development files"
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
     3.1 --- a/libgnt/receipt	Sun Oct 19 21:41:00 2025 +0200
     3.2 +++ b/libgnt/receipt	Thu Oct 23 10:32:48 2025 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libgnt"
     3.7 -VERSION="2.14.3"
     3.8 +VERSION="2.14.4"
     3.9  CATEGORY="base-system"
    3.10  SHORT_DESC="The GLib Ncurses Toolkit"
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
     4.1 --- a/linld/receipt	Sun Oct 19 21:41:00 2025 +0200
     4.2 +++ b/linld/receipt	Thu Oct 23 10:32:48 2025 +0000
     4.3 @@ -10,7 +10,7 @@
     4.4  TARBALL="${PACKAGE}${SUFFIX}devel.tar.bz2"
     4.5  BASE_SITE="https://busybox.net/~vda/$PACKAGE"
     4.6  WEB_SITE="$BASE_SITE/README.txt"
     4.7 -WGET_URL="$BASE_SITE/$TARBALL"
     4.8 +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL"
     4.9  EXTRA_TOOL_URL="ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/mawk122x.zip"
    4.10  EXTRA_TOOL="$(basename $EXTRA_TOOL_URL)"
    4.11  EXTRA_SOURCE_FILES="$EXTRA_TOOL"
     5.1 --- a/memtest/receipt	Sun Oct 19 21:41:00 2025 +0200
     5.2 +++ b/memtest/receipt	Thu Oct 23 10:32:48 2025 +0000
     5.3 @@ -74,6 +74,10 @@
     5.4  	objdump -t boot/startup.o | \
     5.5  	awk '/patch/ { print "sed -i \"s|" $5 "|0x" $1 "|\" ../boot/setup.S" }' | sh
     5.6  	make memtest.bin
     5.7 +	cc -o filter $stuff/filter.c
     5.8 +	mv memtest.bin memtest.bin.org
     5.9 +	dd if=memtest.bin.org bs=512 count=1 of=memtest.bin 2> /dev/null
    5.10 +	dd if=memtest.bin.org bs=512 skip=1 | ./filter >> memtest.bin
    5.11  	tune_lzma memtest.bin 255,mf=bt2 LC 3 PB 2
    5.12  	for i in lzma lz4 lz4x2 lzsa1 lzsa1x2 lzsa2 lzsa2x2 zx0 zx0x2 ; do
    5.13  		[ $(stat -c "%s" memtest.bin.$i) -gt 2000 ] && continue
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/memtest/stuff/filter.c	Thu Oct 23 10:32:48 2025 +0000
     6.3 @@ -0,0 +1,19 @@
     6.4 +#include <unistd.h>
     6.5 +
     6.6 +void main(void)
     6.7 +{
     6.8 +  unsigned char c;
     6.9 +  int count, i, n;
    6.10 +
    6.11 +  i = 0;
    6.12 +  while ((count = read(0, &c, 1)) > 0) {
    6.13 +    i++;
    6.14 +    write(1, &c, 1);
    6.15 +    if ((c & 0xFE) != 0xE8) continue;
    6.16 +    read(0, &c, 1); i++; n = c;
    6.17 +    read(0, &c, 1); i++; n |= (c << 8);
    6.18 +    n += i;
    6.19 +    c = n & 0xFF; write(1, &c, 1);
    6.20 +    c = (n >> 8); write(1, &c, 1);
    6.21 +  }
    6.22 +}
     7.1 --- a/memtest/stuff/unpack.S	Sun Oct 19 21:41:00 2025 +0200
     7.2 +++ b/memtest/stuff/unpack.S	Thu Oct 23 10:32:48 2025 +0000
     7.3 @@ -13,6 +13,7 @@
     7.4  #define DOUBLE_PACKED		0
     7.5  #define SAVEREGS		0 
     7.6  #define ELKS			0
     7.7 +#define CALL_FILTER		1
     7.8  
     7.9  	.text
    7.10  	.code16
    7.11 @@ -33,6 +34,10 @@
    7.12  #define TOPSEG		0x8000
    7.13  #endif
    7.14  
    7.15 +#if ELKS
    7.16 +#define ONLY8086	1
    7.17 +#endif
    7.18 +
    7.19  .macro	pusham
    7.20  #if ELKS
    7.21  	pushw	%ax
    7.22 @@ -235,6 +240,69 @@
    7.23  	pushw	%es
    7.24  #endif
    7.25  	call	unpack
    7.26 +#if CALL_FILTER
    7.27 +	popw	%ds
    7.28 +	popw	%si
    7.29 +	push	%si
    7.30 +	push	%ds
    7.31 +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0
    7.32 +	movw	%si, %bx
    7.33 +# endif
    7.34 +# if FLAT16OUT
    7.35 +filterlp:
    7.36 +# else
    7.37 +	movw	%es, %dx
    7.38 +	movw	%ds, %ax
    7.39 +	subw	%si, %di
    7.40 +	jnc	filter_same
    7.41 +	addb	$0x10, %ah
    7.42 +filter_same:
    7.43 +	subw	%ax, %dx
    7.44 +	movw	%dx, %ax
    7.45 +#  ifdef ONLY8086
    7.46 +	movb	$12, %cl
    7.47 +	shrw	%cl, %dx
    7.48 +	movb	$4, %cl
    7.49 +	shlw	%cl, %ax
    7.50 +#  else
    7.51 +	shrw	$12, %dx
    7.52 +	shlw	$4, %ax
    7.53 +#  endif
    7.54 +	addw	%ax, %di
    7.55 +	adcb	%dh, %dl
    7.56 +filterlp:
    7.57 +	orw	%si, %si
    7.58 +	jns	filter_segment
    7.59 +	movw	%ds, %ax
    7.60 +	incw	%ax
    7.61 +	movw	%ax, %ds
    7.62 +	subw	$16, %si
    7.63 +	subw	$16, %bx
    7.64 +filter_segment:
    7.65 +	movw	$1, %cx
    7.66 +# endif
    7.67 +	lodsb
    7.68 +	andb	$0xfe, %al
    7.69 +	cmpb	$0xe8, %al
    7.70 +	jne	filter_next
    7.71 +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0
    7.72 +	addw	%bx, (%si)
    7.73 +# endif
    7.74 +	lodsw
    7.75 +	subw	%si, -2(%si)
    7.76 +# if FLAT16OUT
    7.77 +filter_next:
    7.78 +	cmp	%si, %di
    7.79 +	ja	filterlp
    7.80 +# else
    7.81 +	movb	$3, %cl
    7.82 +filter_next:
    7.83 +	subw	%cx, %di
    7.84 +	sbbb	%dh, %dl
    7.85 +	jns	filterlp
    7.86 +filter_exit:
    7.87 +# endif
    7.88 +#endif
    7.89  #if COPYTOHIGHMEM
    7.90  # if FLAT16OUT
    7.91  	movw	$0x9310+1, %ax		// from 1000:FFFF
    7.92 @@ -309,9 +377,6 @@
    7.93  #define NO_LZSA2_HEADER
    7.94  #define NO_LZSA1_HEADER
    7.95  #define NO_LZ4_HEADER
    7.96 -#if ELKS
    7.97 -#define ONLY8086	1
    7.98 -#endif
    7.99  #if defined(FLAT16OUT) && FLAT16OUT == 0
   7.100  #undef FLAT16OUT
   7.101  #endif
     8.1 --- a/nanochess/receipt	Sun Oct 19 21:41:00 2025 +0200
     8.2 +++ b/nanochess/receipt	Thu Oct 23 10:32:48 2025 +0000
     8.3 @@ -6,7 +6,7 @@
     8.4  SHORT_DESC="Chess game in javascript (need an unicode aware browser)"
     8.5  MAINTAINER="pascal.bellard@slitaz.org"
     8.6  LICENSE="GPL"
     8.7 -WEB_SITE="https://www.nanochess.org/"
     8.8 +WEB_SITE="https://nanochess.org/"
     8.9  HOST_ARCH="any"
    8.10  TAGS="chess"
    8.11  
     9.1 --- a/oldrunner/receipt	Sun Oct 19 21:41:00 2025 +0200
     9.2 +++ b/oldrunner/receipt	Thu Oct 23 10:32:48 2025 +0000
     9.3 @@ -7,8 +7,8 @@
     9.4  MAINTAINER="pascal.bellard@slitaz.org"
     9.5  LICENSE="BSD"
     9.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     9.7 -WEB_SITE="http://culot.org/public/Code/oldrunner.html"
     9.8 -WGET_URL="http://culot.org/cgi-bin/get.cgi?$TARBALL"
     9.9 +WEB_SITE="https://web.archive.org/web/20240225223300/http://culot.org/public/Code/oldrunner.html"
    9.10 +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL"
    9.11  
    9.12  DEPENDS="ncurses"
    9.13  BUILD_DEPENDS="ncurses-dev"
    9.14 @@ -16,7 +16,7 @@
    9.15  # What is the latest version available today?
    9.16  current_version()
    9.17  {
    9.18 -	wget -O - $WEB_SITE 2>/dev/null | \
    9.19 +	wget -O - http://culot.org/public/Code/oldrunner.html 2>/dev/null | \
    9.20  	sed '/tar.gz/!d;s|.*oldrunner-||;s|.tar.*||;q'
    9.21  }
    9.22  
    10.1 --- a/php-docs-en/receipt	Sun Oct 19 21:41:00 2025 +0200
    10.2 +++ b/php-docs-en/receipt	Thu Oct 23 10:32:48 2025 +0000
    10.3 @@ -9,7 +9,7 @@
    10.4  WEB_SITE="https://www.php.net/docs.php"
    10.5  
    10.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
    10.7 -WGET_URL="https://www.php.net/distributions/manual/php_manual_en.tar.gz"
    10.8 +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL"
    10.9  
   10.10  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.11  genpkg_rules()
    11.1 --- a/plop/receipt	Sun Oct 19 21:41:00 2025 +0200
    11.2 +++ b/plop/receipt	Thu Oct 23 10:32:48 2025 +0000
    11.3 @@ -28,13 +28,14 @@
    11.4  tune_lzma()
    11.5  {
    11.6  	cp $stuff/*.S .
    11.7 +	cc -o filter $stuff/filter.c
    11.8  	nice=$1
    11.9  	while [ -n "$2" ]; do
   11.10  		sed "s|^#define PROP_$2 .*|#define PROP_$2 $3|" -i unlzma.S
   11.11  		shift 2
   11.12  	done
   11.13  	cp plpbt.bin plop
   11.14 -	cp plpbt.bin plop.bin
   11.15 +	./filter < plpbt.bin > plop.bin
   11.16  	dd if=/dev/zero bs=1 count=500 seek=3 conv=notrunc of=plop.bin 2> /dev/null
   11.17  	for c in lzma lz4x2 lzsa1x2 lzsa2x2 zx0 shr ; do
   11.18  		sed "s|uncompress|un${c%x2}|" < $stuff/unpack.S > unpack.S
   11.19 @@ -71,7 +72,7 @@
   11.20  0299	01	font=bios
   11.21  029A	00	zoomanimation=off
   11.22  EOT
   11.23 -	tune_lzma 76,mf=bt2 LC 0 PB 0
   11.24 +	tune_lzma 42,mf=bt2 LC 0 PB 0
   11.25  }
   11.26  
   11.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/plop/stuff/filter.c	Thu Oct 23 10:32:48 2025 +0000
    12.3 @@ -0,0 +1,19 @@
    12.4 +#include <unistd.h>
    12.5 +
    12.6 +void main(void)
    12.7 +{
    12.8 +  unsigned char c;
    12.9 +  int count, i, n;
   12.10 +
   12.11 +  i = 0;
   12.12 +  while ((count = read(0, &c, 1)) > 0) {
   12.13 +    i++;
   12.14 +    write(1, &c, 1);
   12.15 +    if ((c & 0xFE) != 0xE8) continue;
   12.16 +    read(0, &c, 1); i++; n = c;
   12.17 +    read(0, &c, 1); i++; n |= (c << 8);
   12.18 +    n += i;
   12.19 +    c = n & 0xFF; write(1, &c, 1);
   12.20 +    c = (n >> 8); write(1, &c, 1);
   12.21 +  }
   12.22 +}
    13.1 --- a/plop/stuff/unpack.S	Sun Oct 19 21:41:00 2025 +0200
    13.2 +++ b/plop/stuff/unpack.S	Thu Oct 23 10:32:48 2025 +0000
    13.3 @@ -13,6 +13,7 @@
    13.4  #define DOUBLE_PACKED		0
    13.5  #define SAVEREGS		0 
    13.6  #define ELKS			0
    13.7 +#define CALL_FILTER		1
    13.8  
    13.9  	.text
   13.10  	.code16
   13.11 @@ -33,6 +34,10 @@
   13.12  #define TOPSEG		0x8000
   13.13  #endif
   13.14  
   13.15 +#if ELKS
   13.16 +#define ONLY8086	1
   13.17 +#endif
   13.18 +
   13.19  .macro	pusham
   13.20  #if ELKS
   13.21  	pushw	%ax
   13.22 @@ -235,6 +240,69 @@
   13.23  	pushw	%es
   13.24  #endif
   13.25  	call	unpack
   13.26 +#if CALL_FILTER
   13.27 +	popw	%ds
   13.28 +	popw	%si
   13.29 +	push	%si
   13.30 +	push	%ds
   13.31 +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0
   13.32 +	movw	%si, %bx
   13.33 +# endif
   13.34 +# if FLAT16OUT
   13.35 +filterlp:
   13.36 +# else
   13.37 +	movw	%es, %dx
   13.38 +	movw	%ds, %ax
   13.39 +	subw	%si, %di
   13.40 +	jnc	filter_same
   13.41 +	addb	$0x10, %ah
   13.42 +filter_same:
   13.43 +	subw	%ax, %dx
   13.44 +	movw	%dx, %ax
   13.45 +#  ifdef ONLY8086
   13.46 +	movb	$12, %cl
   13.47 +	shrw	%cl, %dx
   13.48 +	movb	$4, %cl
   13.49 +	shlw	%cl, %ax
   13.50 +#  else
   13.51 +	shrw	$12, %dx
   13.52 +	shlw	$4, %ax
   13.53 +#  endif
   13.54 +	addw	%ax, %di
   13.55 +	adcb	%dh, %dl
   13.56 +filterlp:
   13.57 +	orw	%si, %si
   13.58 +	jns	filter_segment
   13.59 +	movw	%ds, %ax
   13.60 +	incw	%ax
   13.61 +	movw	%ax, %ds
   13.62 +	subw	$16, %si
   13.63 +	subw	$16, %bx
   13.64 +filter_segment:
   13.65 +	movw	$1, %cx
   13.66 +# endif
   13.67 +	lodsb
   13.68 +	andb	$0xfe, %al
   13.69 +	cmpb	$0xe8, %al
   13.70 +	jne	filter_next
   13.71 +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0
   13.72 +	addw	%bx, (%si)
   13.73 +# endif
   13.74 +	lodsw
   13.75 +	subw	%si, -2(%si)
   13.76 +# if FLAT16OUT
   13.77 +filter_next:
   13.78 +	cmp	%si, %di
   13.79 +	ja	filterlp
   13.80 +# else
   13.81 +	movb	$3, %cl
   13.82 +filter_next:
   13.83 +	subw	%cx, %di
   13.84 +	sbbb	%dh, %dl
   13.85 +	jns	filterlp
   13.86 +filter_exit:
   13.87 +# endif
   13.88 +#endif
   13.89  #if COPYTOHIGHMEM
   13.90  # if FLAT16OUT
   13.91  	movw	$0x9310+1, %ax		// from 1000:FFFF
   13.92 @@ -309,9 +377,6 @@
   13.93  #define NO_LZSA2_HEADER
   13.94  #define NO_LZSA1_HEADER
   13.95  #define NO_LZ4_HEADER
   13.96 -#if ELKS
   13.97 -#define ONLY8086	1
   13.98 -#endif
   13.99  #if defined(FLAT16OUT) && FLAT16OUT == 0
  13.100  #undef FLAT16OUT
  13.101  #endif
    14.1 --- a/xcursor-comix/receipt	Sun Oct 19 21:41:00 2025 +0200
    14.2 +++ b/xcursor-comix/receipt	Thu Oct 23 10:32:48 2025 +0000
    14.3 @@ -11,7 +11,7 @@
    14.4  
    14.5  TARBALL="ComixCursors-$VERSION.tar.bz2"
    14.6  #WGET_URL="https://gitlab.com/limitland/comixcursors/-/archive/$VERSION/comixcursors-$VERSION.tar.bz2"
    14.7 -WGET_URL="https://limitland.gitlab.io/comixcursors/$TARBALL"
    14.8 +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL"
    14.9  
   14.10  DEPENDS="xorg-libXcursor"
   14.11  BUILD_DEPENDS=""