# HG changeset patch # User Pascal Bellard # Date 1761215568 0 # Node ID e91c3e7f1ea27fa536e5135b00d88cce6ce389ab # Parent 021f3864dca1ebd0c17f255495c4668600ce535d Up libgnt (2.14.4) diff -r 021f3864dca1 -r e91c3e7f1ea2 blktrace/receipt --- a/blktrace/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/blktrace/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -7,9 +7,11 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://brick.kernel.dk/snaps" +#WEB_SITE="https://git.kernel.dk/cgit/blktrace/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/$TARBALL" +#WGET_URL="https://git.kernel.dk/cgit/blktrace/snapshot/$TARBALL" DEPENDS="libaio" BUILD_DEPENDS="libaio-dev" diff -r 021f3864dca1 -r e91c3e7f1ea2 libgnt-dev/receipt --- a/libgnt-dev/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/libgnt-dev/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libgnt-dev" -VERSION="2.14.3" +VERSION="2.14.4" CATEGORY="development" SHORT_DESC="The GLib Ncurses Toolkit, development files" MAINTAINER="pascal.bellard@slitaz.org" diff -r 021f3864dca1 -r e91c3e7f1ea2 libgnt/receipt --- a/libgnt/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/libgnt/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libgnt" -VERSION="2.14.3" +VERSION="2.14.4" CATEGORY="base-system" SHORT_DESC="The GLib Ncurses Toolkit" MAINTAINER="pascal.bellard@slitaz.org" diff -r 021f3864dca1 -r e91c3e7f1ea2 linld/receipt --- a/linld/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/linld/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -10,7 +10,7 @@ TARBALL="${PACKAGE}${SUFFIX}devel.tar.bz2" BASE_SITE="https://busybox.net/~vda/$PACKAGE" WEB_SITE="$BASE_SITE/README.txt" -WGET_URL="$BASE_SITE/$TARBALL" +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL" EXTRA_TOOL_URL="ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/mawk122x.zip" EXTRA_TOOL="$(basename $EXTRA_TOOL_URL)" EXTRA_SOURCE_FILES="$EXTRA_TOOL" diff -r 021f3864dca1 -r e91c3e7f1ea2 memtest/receipt --- a/memtest/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/memtest/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -74,6 +74,10 @@ objdump -t boot/startup.o | \ awk '/patch/ { print "sed -i \"s|" $5 "|0x" $1 "|\" ../boot/setup.S" }' | sh make memtest.bin + cc -o filter $stuff/filter.c + mv memtest.bin memtest.bin.org + dd if=memtest.bin.org bs=512 count=1 of=memtest.bin 2> /dev/null + dd if=memtest.bin.org bs=512 skip=1 | ./filter >> memtest.bin tune_lzma memtest.bin 255,mf=bt2 LC 3 PB 2 for i in lzma lz4 lz4x2 lzsa1 lzsa1x2 lzsa2 lzsa2x2 zx0 zx0x2 ; do [ $(stat -c "%s" memtest.bin.$i) -gt 2000 ] && continue diff -r 021f3864dca1 -r e91c3e7f1ea2 memtest/stuff/filter.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/memtest/stuff/filter.c Thu Oct 23 10:32:48 2025 +0000 @@ -0,0 +1,19 @@ +#include + +void main(void) +{ + unsigned char c; + int count, i, n; + + i = 0; + while ((count = read(0, &c, 1)) > 0) { + i++; + write(1, &c, 1); + if ((c & 0xFE) != 0xE8) continue; + read(0, &c, 1); i++; n = c; + read(0, &c, 1); i++; n |= (c << 8); + n += i; + c = n & 0xFF; write(1, &c, 1); + c = (n >> 8); write(1, &c, 1); + } +} diff -r 021f3864dca1 -r e91c3e7f1ea2 memtest/stuff/unpack.S --- a/memtest/stuff/unpack.S Sun Oct 19 21:41:00 2025 +0200 +++ b/memtest/stuff/unpack.S Thu Oct 23 10:32:48 2025 +0000 @@ -13,6 +13,7 @@ #define DOUBLE_PACKED 0 #define SAVEREGS 0 #define ELKS 0 +#define CALL_FILTER 1 .text .code16 @@ -33,6 +34,10 @@ #define TOPSEG 0x8000 #endif +#if ELKS +#define ONLY8086 1 +#endif + .macro pusham #if ELKS pushw %ax @@ -235,6 +240,69 @@ pushw %es #endif call unpack +#if CALL_FILTER + popw %ds + popw %si + push %si + push %ds +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0 + movw %si, %bx +# endif +# if FLAT16OUT +filterlp: +# else + movw %es, %dx + movw %ds, %ax + subw %si, %di + jnc filter_same + addb $0x10, %ah +filter_same: + subw %ax, %dx + movw %dx, %ax +# ifdef ONLY8086 + movb $12, %cl + shrw %cl, %dx + movb $4, %cl + shlw %cl, %ax +# else + shrw $12, %dx + shlw $4, %ax +# endif + addw %ax, %di + adcb %dh, %dl +filterlp: + orw %si, %si + jns filter_segment + movw %ds, %ax + incw %ax + movw %ax, %ds + subw $16, %si + subw $16, %bx +filter_segment: + movw $1, %cx +# endif + lodsb + andb $0xfe, %al + cmpb $0xe8, %al + jne filter_next +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0 + addw %bx, (%si) +# endif + lodsw + subw %si, -2(%si) +# if FLAT16OUT +filter_next: + cmp %si, %di + ja filterlp +# else + movb $3, %cl +filter_next: + subw %cx, %di + sbbb %dh, %dl + jns filterlp +filter_exit: +# endif +#endif #if COPYTOHIGHMEM # if FLAT16OUT movw $0x9310+1, %ax // from 1000:FFFF @@ -309,9 +377,6 @@ #define NO_LZSA2_HEADER #define NO_LZSA1_HEADER #define NO_LZ4_HEADER -#if ELKS -#define ONLY8086 1 -#endif #if defined(FLAT16OUT) && FLAT16OUT == 0 #undef FLAT16OUT #endif diff -r 021f3864dca1 -r e91c3e7f1ea2 nanochess/receipt --- a/nanochess/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/nanochess/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Chess game in javascript (need an unicode aware browser)" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="https://www.nanochess.org/" +WEB_SITE="https://nanochess.org/" HOST_ARCH="any" TAGS="chess" diff -r 021f3864dca1 -r e91c3e7f1ea2 oldrunner/receipt --- a/oldrunner/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/oldrunner/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -7,8 +7,8 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://culot.org/public/Code/oldrunner.html" -WGET_URL="http://culot.org/cgi-bin/get.cgi?$TARBALL" +WEB_SITE="https://web.archive.org/web/20240225223300/http://culot.org/public/Code/oldrunner.html" +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL" DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" @@ -16,7 +16,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ + wget -O - http://culot.org/public/Code/oldrunner.html 2>/dev/null | \ sed '/tar.gz/!d;s|.*oldrunner-||;s|.tar.*||;q' } diff -r 021f3864dca1 -r e91c3e7f1ea2 php-docs-en/receipt --- a/php-docs-en/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/php-docs-en/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -9,7 +9,7 @@ WEB_SITE="https://www.php.net/docs.php" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://www.php.net/distributions/manual/php_manual_en.tar.gz" +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 021f3864dca1 -r e91c3e7f1ea2 plop/receipt --- a/plop/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/plop/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -28,13 +28,14 @@ tune_lzma() { cp $stuff/*.S . + cc -o filter $stuff/filter.c nice=$1 while [ -n "$2" ]; do sed "s|^#define PROP_$2 .*|#define PROP_$2 $3|" -i unlzma.S shift 2 done cp plpbt.bin plop - cp plpbt.bin plop.bin + ./filter < plpbt.bin > plop.bin dd if=/dev/zero bs=1 count=500 seek=3 conv=notrunc of=plop.bin 2> /dev/null for c in lzma lz4x2 lzsa1x2 lzsa2x2 zx0 shr ; do sed "s|uncompress|un${c%x2}|" < $stuff/unpack.S > unpack.S @@ -71,7 +72,7 @@ 0299 01 font=bios 029A 00 zoomanimation=off EOT - tune_lzma 76,mf=bt2 LC 0 PB 0 + tune_lzma 42,mf=bt2 LC 0 PB 0 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 021f3864dca1 -r e91c3e7f1ea2 plop/stuff/filter.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plop/stuff/filter.c Thu Oct 23 10:32:48 2025 +0000 @@ -0,0 +1,19 @@ +#include + +void main(void) +{ + unsigned char c; + int count, i, n; + + i = 0; + while ((count = read(0, &c, 1)) > 0) { + i++; + write(1, &c, 1); + if ((c & 0xFE) != 0xE8) continue; + read(0, &c, 1); i++; n = c; + read(0, &c, 1); i++; n |= (c << 8); + n += i; + c = n & 0xFF; write(1, &c, 1); + c = (n >> 8); write(1, &c, 1); + } +} diff -r 021f3864dca1 -r e91c3e7f1ea2 plop/stuff/unpack.S --- a/plop/stuff/unpack.S Sun Oct 19 21:41:00 2025 +0200 +++ b/plop/stuff/unpack.S Thu Oct 23 10:32:48 2025 +0000 @@ -13,6 +13,7 @@ #define DOUBLE_PACKED 0 #define SAVEREGS 0 #define ELKS 0 +#define CALL_FILTER 1 .text .code16 @@ -33,6 +34,10 @@ #define TOPSEG 0x8000 #endif +#if ELKS +#define ONLY8086 1 +#endif + .macro pusham #if ELKS pushw %ax @@ -235,6 +240,69 @@ pushw %es #endif call unpack +#if CALL_FILTER + popw %ds + popw %si + push %si + push %ds +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0 + movw %si, %bx +# endif +# if FLAT16OUT +filterlp: +# else + movw %es, %dx + movw %ds, %ax + subw %si, %di + jnc filter_same + addb $0x10, %ah +filter_same: + subw %ax, %dx + movw %dx, %ax +# ifdef ONLY8086 + movb $12, %cl + shrw %cl, %dx + movb $4, %cl + shlw %cl, %ax +# else + shrw $12, %dx + shlw $4, %ax +# endif + addw %ax, %di + adcb %dh, %dl +filterlp: + orw %si, %si + jns filter_segment + movw %ds, %ax + incw %ax + movw %ax, %ds + subw $16, %si + subw $16, %bx +filter_segment: + movw $1, %cx +# endif + lodsb + andb $0xfe, %al + cmpb $0xe8, %al + jne filter_next +# if KEEP_BOOTSECTOR == 0 || FLAT16OUT == 0 + addw %bx, (%si) +# endif + lodsw + subw %si, -2(%si) +# if FLAT16OUT +filter_next: + cmp %si, %di + ja filterlp +# else + movb $3, %cl +filter_next: + subw %cx, %di + sbbb %dh, %dl + jns filterlp +filter_exit: +# endif +#endif #if COPYTOHIGHMEM # if FLAT16OUT movw $0x9310+1, %ax // from 1000:FFFF @@ -309,9 +377,6 @@ #define NO_LZSA2_HEADER #define NO_LZSA1_HEADER #define NO_LZ4_HEADER -#if ELKS -#define ONLY8086 1 -#endif #if defined(FLAT16OUT) && FLAT16OUT == 0 #undef FLAT16OUT #endif diff -r 021f3864dca1 -r e91c3e7f1ea2 xcursor-comix/receipt --- a/xcursor-comix/receipt Sun Oct 19 21:41:00 2025 +0200 +++ b/xcursor-comix/receipt Thu Oct 23 10:32:48 2025 +0000 @@ -11,7 +11,7 @@ TARBALL="ComixCursors-$VERSION.tar.bz2" #WGET_URL="https://gitlab.com/limitland/comixcursors/-/archive/$VERSION/comixcursors-$VERSION.tar.bz2" -WGET_URL="https://limitland.gitlab.io/comixcursors/$TARBALL" +WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL" DEPENDS="xorg-libXcursor" BUILD_DEPENDS=""