wok-current rev 25634

Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 14 08:12:37 2024 +0000 (10 months ago)
parents 8742ad64ffcc
children 9bae630bd269
files alsaplayer-dev/receipt alsaplayer-scopes/receipt apache-dev/receipt apache-doc/receipt apache-mod-perl/receipt apache-mod-wsgi/receipt apache/receipt apr-dev/receipt apr-util-dev/receipt apr-util/receipt apr/receipt asunder/receipt asunder/stuff/asunder.desktop at-spi2-atk/receipt at-spi2/receipt atk-dev/receipt atk/receipt atkmm-dev/receipt atkmm/receipt audiofile-dev/receipt audiofile/receipt beaver/receipt bluez-dev/receipt bluez-gatttool/receipt bluez/receipt bluez/stuff/CVE-2023-45866.patch brotli-dev/receipt brotli/receipt cacerts/receipt cairomm-dev/receipt cairomm/receipt cherokee-dev/receipt cherokee/receipt cups-dev/receipt cups-doc/receipt cups-filters-dev/receipt cups-filters/receipt cups-pam/receipt cups/receipt curl-dev/receipt curl/receipt cyrus-sasl-dev/receipt cyrus-sasl-pam/receipt cyrus-sasl/receipt dbus-glib-dev/receipt dbus-glib/receipt dbus-python-dev/receipt dbus-python/receipt efivar/receipt elfutils-dev/receipt elfutils/receipt enchant-dev/receipt enchant/receipt faac-dev/receipt faac/receipt faad2-dev/receipt ffmpeg-dev/receipt ffmpeg/receipt ffplay/receipt firefox-official/receipt fontconfig-dev/receipt fontconfig/receipt foomatic-db/receipt fribidi-dev/receipt gcc-lib-base/receipt gcc-lib-math/receipt gcc/receipt gcc49/receipt gcc49/stuff/build_with_gcc8-1.patch gcc49/stuff/build_with_gcc8.patch gcc49/stuff/build_with_glibc-2.28.patch gcc63/receipt gcc63/stuff/fix-build-with-gcc8-1.patch gcc63/stuff/fix-build-with-gcc8-2.patch gcc63/stuff/fix-build-with-gcc8-3.patch gcc63/stuff/fix-build-with-glibc-2.28.patch gcr-base/receipt gcr-dev/receipt gcr-ui/receipt gcr/receipt gcr/stuff/remove-packages-arg-meson-0.61.patch gdb-python/receipt gdb/receipt gdk-pixbuf-dev/receipt gdk-pixbuf-xlib-dev/receipt gdk-pixbuf-xlib/receipt gdk-pixbuf/receipt get-hplip-plugin/receipt get-hplip-plugin/stuff/get-hplip-plugin gfortran/receipt git/receipt glew-dev/receipt glew/receipt glib-dev/receipt glib-networking-dev/receipt glib-networking/receipt glib/receipt glib/stuff/glib-webkitgtk-workaround.patch glibc-base/receipt glibc-base/stuff/i486-files.list glibc-base/stuff/wanted-files.list glibc-dev/receipt glibc-locale/receipt glibc/receipt glibc/stuff/glibc-2.23_ssp.patch glibc/stuff/glibc-c-utf8-locale.patch glibmm-dev/receipt glibmm/receipt gnome-desktop3-dev/receipt gnome-desktop3/receipt gnome-keyring/receipt gnome-themes-standard/receipt gnupg/receipt gnutls-dev/receipt gnutls/receipt gobject-introspection-dev/receipt gobject-introspection/receipt gobject-introspection/stuff/gobject-introspection-1.70.0-meson-0.61.patch gpm/receipt gpm/stuff/gpm.gcc7.diff gst-plugins-bad-1.0-dev/receipt gst-plugins-bad-1.0/receipt gst-plugins-bad/receipt gst-plugins-bad/stuff/openssl-1.1-support.patch gst-plugins-base-1.0-dev/receipt gst-plugins-base-1.0/receipt gst-plugins-good-1.0/receipt gstreamer-1.0-dev/receipt gstreamer-1.0/receipt gtk+-dev/receipt gtk+/receipt gtk+3-demo/receipt gtk+3-dev/receipt gtk+3-widget-factory/receipt gtk+3/receipt gtk-doc/receipt gtk-girepository/receipt gtksourceview-dev/receipt gtkspell/receipt gtkspell/stuff/gtkspell.enchant-2.diff gzip/receipt hal/receipt hal/stuff/glibc-2.28-build.patch hardinfo/receipt hardinfo/stuff/makefile.patch hardinfo/stuff/os.patch harfbuzz-dev/receipt harfbuzz-icu-dev/receipt harfbuzz-icu/receipt harfbuzz/receipt hplip-gui/receipt hplip-gui/stuff/wanted-files.list hplip/receipt hplip/stuff/0021-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch hplip/stuff/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch hplip/stuff/hplip.is_alive.diff hplip/stuff/hplip.no.upgrade.diff hplip/stuff/hplip.python3.10.diff hplip/stuff/hplip.python3.shebang.diff hplip/stuff/setup.py.lc_all.c.diff hyphen-dev/receipt hyphen/receipt iptables-dev/receipt iso-codes/receipt jack-audio-connection-kit/receipt json-glib-dev/receipt json-glib/receipt krb5-clients/receipt krb5-dev/receipt krb5-plugins/receipt krb5-user/receipt krb5/receipt libIDL/receipt libarchive-dev/receipt libarchive/receipt libassuan-dev/receipt libatomic/receipt libboost-chrono-dev/receipt libboost-chrono/receipt libboost-date-time-dev/receipt libboost-date-time/receipt libboost-dev/receipt libboost-doc/receipt libboost-filesystem-dev/receipt libboost-filesystem/receipt libboost-graph-dev/receipt libboost-graph/receipt libboost-iostreams-dev/receipt libboost-iostreams/receipt libboost-locale-dev/receipt libboost-locale/receipt libboost-math-dev/receipt libboost-math/receipt libboost-program-options-dev/receipt libboost-program-options/receipt libboost-python-dev/receipt libboost-python/receipt libboost-regex-dev/receipt libboost-regex/receipt libboost-serialization-dev/receipt libboost-serialization/receipt libboost-signals-dev/receipt libboost-signals/receipt libboost-system-dev/receipt libboost-system/receipt libboost-test-dev/receipt libboost-test/receipt libboost-thread-dev/receipt libboost-thread/receipt libboost-tr1-dev/receipt libboost-tr1/receipt libboost-wave-dev/receipt libboost-wave/receipt libboost/receipt libcap-dev/receipt libcap/receipt libcomerr3/receipt libcrypto-dev/receipt libcrypto/receipt libcups/receipt libcurl/receipt libdazzle-dev/receipt libdazzle/receipt libdrm-amdgpu/receipt libdrm-dev/receipt libdrm-intel/receipt libdrm-nouveau/receipt libdrm-radeon/receipt libdrm/receipt libegl-mesa/receipt libepoxy-dev/receipt libepoxy/receipt libgfortran/receipt libgio-dev/receipt libgio/receipt libgiomm-dev/receipt libgiomm/receipt libglu-mesa-dev/receipt libglu-mesa/receipt libgnutls/receipt libgomp/receipt libgphoto2-dev/receipt libgsf-dev/receipt libgsf/receipt libhandy-dev/receipt libhandy/receipt libjson-c-dev/receipt libjson-c/receipt libkeybinder/receipt libkrb5/receipt libkrb5support/receipt libksba-dev/receipt libksba/receipt libldap/receipt liblouis-dev/receipt libmms-dev/receipt libmng-dev/receipt libmng/receipt libmng/stuff/libmng-2.0.2-jpeg9.patch libmodplug-dev/receipt libmtp-dev/receipt libmtp/receipt libnl-dev/receipt libnotify/receipt libnsl-dev/receipt libobjc/receipt libpeas-demo/receipt libpeas-dev/receipt libpeas-gtk/receipt libpeas/receipt libpng-dev/receipt libpng/receipt libpsl-dev/receipt libpsl/receipt librsvg-apps/receipt librsvg-dev/receipt librsvg/receipt libruby-extras/receipt libruby/receipt libsamplerate-dev/receipt libsamplerate/receipt libsasl-modules/receipt libsasl-without-ldap/receipt libsasl/receipt libsbc-dev/receipt libsbc/receipt libsdl2-dev/receipt libsecret-dev/receipt libsecret/receipt libsigc++-dev/receipt libsigc++/receipt libsoup-dev/receipt libsoup-gnome/receipt libsoup/receipt libsoup248-dev/receipt libsoup248-gnome/receipt libsoup248/receipt libssl/receipt libtheora/receipt libtheora/stuff/libtheora-1.1.1-libpng16.patch libunique/receipt libunique/stuff/libunique-1.1.6-upstream_fixes-1.patch libv4l-dev/receipt libv4l/receipt libvdpau-dev/receipt libvdpau/receipt libvorbis-dev/receipt libvorbis/receipt libvpx-dev/receipt libvpx/receipt libwebkit-dev/receipt libwebkit/receipt libwebkit/stuff/libwebkit-version.patch libwebp-dev/receipt libwebp/receipt libwpe-dev/receipt libwpe/receipt libwrap/receipt libxkbcommon-dev/receipt libxkbcommon/receipt libxml2-dev/receipt libxml2-python/receipt libxml2-tools/receipt libxml2/receipt libxslt-dev/receipt libxslt-python/receipt libxslt/receipt lilo/receipt linux-acpi/receipt linux-agp/receipt linux-aoe/receipt linux-api-headers/receipt linux-appletalk/receipt linux-arcnet/receipt linux-autofs/receipt linux-bluetooth/receipt linux-bridge/receipt linux-chrome/receipt linux-cifs/receipt linux-coda/receipt linux-configfs/receipt linux-cpufreq/receipt linux-cramfs/receipt linux-crypto/receipt linux-cryptoloop/receipt linux-debug/receipt linux-dialup/receipt linux-dlm/receipt linux-drm/receipt linux-ecryptfs/receipt linux-exofs/receipt linux-firewire/receipt linux-firmware/receipt linux-gfs2/receipt linux-gpio/receipt linux-hfs/receipt linux-hfsplus/receipt linux-hwmon/receipt linux-input-misc/receipt linux-input-tablet/receipt linux-input-touchscreen/receipt linux-ipv6/receipt linux-irda/receipt linux-isdn/receipt linux-jffs2/receipt linux-jfs/receipt linux-joystick/receipt linux-kvm/receipt linux-l2tp/receipt linux-logfs/receipt linux-md/receipt linux-media/receipt linux-memstick/receipt linux-minix/receipt linux-mmc/receipt linux-module-headers/receipt linux-mtd/receipt linux-mwave/receipt linux-nbd/receipt linux-ncpfs/receipt linux-netfilter/receipt linux-nfsd/receipt linux-ocfs2/receipt linux-openvswitch/receipt linux-pae-agp/receipt linux-pae-aufs/receipt linux-pae-chrome/receipt linux-pae-crypto/receipt linux-pae-drm/receipt linux-pae-hfsplus/receipt linux-pae-input-touchscreen/receipt linux-pae-module-headers/receipt linux-pae-netfilter/receipt linux-pae-sound/receipt linux-pae-wireless/receipt linux-pae-zram/receipt linux-pae-zram/stuff/compcache linux-pae-zram/stuff/compcache.conf linux-pae/receipt linux-pae/stuff/modules-pae.list linux-reiserfs/receipt linux-romfs/receipt linux-sched/receipt linux-scsi/receipt linux-sound/receipt linux-source/receipt linux-speakup/receipt linux-squashfs/receipt linux-staging/receipt linux-toshiba/receipt linux-ubifs/receipt linux-usb-misc/receipt linux-usbdsl/receipt linux-usbip/receipt linux-uwb/receipt linux-video/receipt linux-wan/receipt linux-wimax/receipt linux-wireless/receipt linux-without-modules-debug/receipt linux-without-modules/receipt linux-zram/receipt linux/receipt linux/stuff/linux-slitaz.config linux/stuff/linux-slitaz.config64 linux64-acpi/receipt linux64-agp/receipt linux64-aoe/receipt linux64-appletalk/receipt linux64-arcnet/receipt linux64-autofs/receipt linux64-bluetooth/receipt linux64-bridge/receipt linux64-chrome/receipt linux64-cifs/receipt linux64-coda/receipt linux64-configfs/receipt linux64-cpufreq/receipt linux64-cramfs/receipt linux64-crypto/receipt linux64-cryptoloop/receipt linux64-debug/receipt linux64-dialup/receipt linux64-dlm/receipt linux64-drm/receipt linux64-ecryptfs/receipt linux64-exofs/receipt linux64-firewire/receipt linux64-gfs2/receipt linux64-hfs/receipt linux64-hfsplus/receipt linux64-hwmon/receipt linux64-input-misc/receipt linux64-input-tablet/receipt linux64-input-touchscreen/receipt linux64-ipv6/receipt linux64-irda/receipt linux64-isdn/receipt linux64-jfs/receipt linux64-joystick/receipt linux64-kvm/receipt linux64-logfs/receipt linux64-md/receipt linux64-media/receipt linux64-memstick/receipt linux64-minix/receipt linux64-mmc/receipt linux64-module-headers/receipt linux64-mwave/receipt linux64-nbd/receipt linux64-ncpfs/receipt linux64-netfilter/receipt linux64-nfsd/receipt linux64-ocfs2/receipt linux64-radio/receipt linux64-reiserfs/receipt linux64-romfs/receipt linux64-sched/receipt linux64-scsi/receipt linux64-sound/receipt linux64-speakup/receipt linux64-squashfs/receipt linux64-staging/receipt linux64-usb-misc/receipt linux64-usbdsl/receipt linux64-usbip/receipt linux64-uwb/receipt linux64-video/receipt linux64-wan/receipt linux64-wimax/receipt linux64-wireless/receipt linux64-without-modules-debug/receipt linux64-without-modules/receipt linux64-zram/receipt linux64/receipt llvm-lib/receipt llvm/receipt mate-common/receipt mate-themes/receipt mc/receipt mc/stuff/fix-mouse-ncurses6.patch mesa-demos/receipt mesa-dev/receipt mesa-dri-ati/receipt mesa-dri-intel/receipt mesa-dri-nouveau/receipt mesa-dri-vmwgfx/receipt mesa-dri/receipt mesa-wayland-dev/receipt mesa-wayland/receipt mesa/receipt meson054/receipt mhwaveedit/receipt mhwaveedit/stuff/skel/.mhwaveedit/config microperl/receipt microperl/stuff/perl-5.24.1-microperl-fix.patch microperl/stuff/perl-5.24.4-math-fix.patch midori/receipt mjpegtools-dev/receipt mtpaint/receipt neon-dev/receipt net-snmp-dev/receipt net-snmp/receipt ninja/receipt npth-dev/receipt ntfs-3g-dev/receipt ntfs-3g/receipt openbox-dev/receipt openbox/receipt openbox/stuff/9ed6fdd71890c5cc43747f105382d5677e5d37e7.patch openbox/stuff/debian-887908.patch openbox/stuff/openbox-3.5.0-title-matching.patch openbox/stuff/openbox-3.5.0-which-2.20.patch openbox/stuff/py3.patch openldap-dev/receipt openldap/receipt openssh-pam/receipt openssh/receipt openssl-dev/receipt openssl/receipt pam-dev/receipt pam/receipt pango-dev/receipt pango/receipt pangomm-dev/receipt pangomm/receipt parted/receipt parted/stuff/build_with_glibc-2.28.patch perl-dev/receipt perl-thread/receipt perl/receipt pinentry-gtk/receipt pinentry/receipt polkit/receipt poppler-data/receipt ppp-dev/receipt ppp-pam/receipt ppp-pam/stuff/ppp-glibc.patch ppp/receipt ppp/stuff/ppp-glibc.patch pth-dev/receipt pulseaudio-dev/receipt pulseaudio/receipt pycairo-dev/receipt pycairo/receipt pygobject/receipt pygobject3/receipt pygtk-dev/receipt pygtk/receipt pygtk/stuff/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch pygtk/stuff/pygtk-fix-pango-object-leaks.patch python-pygments/receipt python3-dev/receipt python3-distro/receipt python3-idle/receipt python3-mako/description.txt python3-mako/receipt python3-pillow/receipt python3-pip/receipt python3-pygments/receipt python3/receipt qt4/receipt qt4/stuff/gcc8_build_fix.patch qt4/stuff/glibc2.25_build_fix.patch qupzilla/receipt qupzilla/stuff/openssl-1.1-support.patch rsync/receipt rtmpdump-dev/receipt rtmpdump/receipt rtmpdump/stuff/librtmp-makefile.patch rtmpdump/stuff/librtmp-openssl-1.1.x-build-fixes.diff ruby-dev/receipt ruby/receipt rust-cargo/receipt rust/receipt sakura-gtk2/description.txt sakura-gtk2/receipt sakura-gtk2/stuff/fr.po.patch sakura-gtk2/stuff/login_shell.patch sakura-gtk2/stuff/ru.po.patch sakura-gtk2/stuff/sakura-icon.patch sakura-gtk2/stuff/sakura.desktop sakura-gtk3/receipt sakura-gtk3/stuff/fr.po.patch sakura-gtk3/stuff/login_shell.patch sakura-gtk3/stuff/ru.po.patch sakura-gtk3/stuff/sakura-icon.patch sakura-gtk3/stuff/sakura.desktop samba-dev/receipt sane-backends-dev/receipt sane-backends/receipt schroedinger-dev/receipt sftp-server/receipt sip3-dev/receipt sip3/receipt slang-dev/receipt slim-pam/receipt slim/receipt slitaz-boot-scripts/receipt slitaz-boot-scripts/stuff/fix-mhwaveedit-tempdir-path.patch slitaz-i18n/receipt slitaz-i18n/stuff/locale-pack.conf slitaz-tools-boxes/receipt slitaz-tools-boxes/stuff/fix_list_tazbox-video.patch slitaz-tools-boxes/stuff/fix_typo_burn-box.patch slitaz-tools-boxes/stuff/fr_comment_tazbox-tazapps.patch slitaz-tools/receipt slitaz-tools/stuff/sakura-workaround.patch smartmontools/receipt sndfile-tools/receipt syslinux/receipt syslinux/stuff/build_with_glibc-2.28.patch talloc-dev/receipt talloc-python/receipt talloc/receipt tazdev/receipt tazdev/stuff/current_version.patch tazinst/receipt tazinst/stuff/fix-mhwaveedit-tempdir-path.patch tazlito/receipt tazlito/stuff/support-kernel-pae.patch tazpanel/receipt tazpanel/stuff/tazweb_libwebkit.patch tazpkg/receipt tazpkg/stuff/tazpkg-doc-fr.patch tazpkg/stuff/tazweb-libwebkit.patch tazweb-legacy/receipt tazweb-legacy/stuff/build_libwebkit.patch tazweb/receipt tazweb/stuff/build_libwebkit.patch tcpdump/receipt texinfo/receipt tzdata/receipt udev/receipt udev/stuff/udev-glibc2.28.patch usbip-dev/receipt usbip/receipt vala/receipt vala/stuff/disable-graphviz.patch vala/stuff/no.gvc-compat.c.diff vte-gtk2-dev/receipt vte-gtk2/receipt vte-gtk2/stuff/AltKey.patch vte-gtk2/stuff/vte-vala.patch vte-gtk3-dev/receipt vte-gtk3/receipt vte-gtk3/stuff/AltKey.patch vte-gtk3/stuff/vte-vala.patch vte-terminal-gtk2/receipt vte-terminal-gtk3/receipt vte/stuff/vte-vala.patch wayland-dev/receipt wayland-protocols/receipt wayland/receipt web-applications/receipt web-applications/stuff/applications/gemini.desktop webgames/receipt webkit2gtk-dev/receipt webkit2gtk/receipt webkit2gtk/stuff/unhide-deprecated-api.patch webkitgtk/receipt webkitgtk/stuff/webkitgtk-fix-enchant2.patch webkitgtk/stuff/webkitgtk-fix-glib-2.68.0.patch webkitgtk/stuff/webkitgtk-fix-glib-min.patch webkitgtk/stuff/webkitgtk-version.patch woff2-dev/receipt woff2/receipt wpa_supplicant/receipt wpebackend-fdo-dev/receipt wpebackend-fdo/receipt x264-dev/receipt x265-dev/receipt xarchiver/receipt xcb-proto/receipt xine-fonts/receipt xine-lib-dev/receipt xine-lib/receipt xine-ui/receipt xorg-cf-files/receipt xorg-fixesproto/receipt xorg-fixesproto/stuff/fixesproto-6.0.patch xorg-inputproto/receipt xorg-inputproto/stuff/inputproto-2.4.patch xorg-libX11-dev/receipt xorg-libX11/receipt xorg-libXaw-dev/receipt xorg-libXaw/receipt xorg-libXfixes-dev/receipt xorg-libXfixes/receipt xorg-libXfont2-dev/receipt xorg-libXfont2/receipt xorg-libXft-dev/receipt xorg-libXft/receipt xorg-libXi-dev/receipt xorg-libXi/receipt xorg-libXpm-dev/receipt xorg-libXpm-util/receipt xorg-libXpm/receipt xorg-libXres-dev/receipt xorg-libXres/receipt xorg-libXt-dev/receipt xorg-libXt/receipt xorg-presentproto/receipt xorg-presentproto/stuff/presentproto-2018.4.patch xorg-randrproto/receipt xorg-randrproto/stuff/randrproto-2018.4.patch xorg-server-Xephyr/receipt xorg-server-Xnest/receipt xorg-server-Xvfb/receipt xorg-server-dev/receipt xorg-server/receipt xorg-server/stuff/0001-f1070c01d616c5f21f939d5ebc533738779451ac.patch xorg-server/stuff/0002-dd8caf39e9e15d8f302e54045dd08d8ebf1025dc.patch xorg-server/stuff/0003-6907b6ea2b4ce949cb07271f5b678d5966d9df42.patch xorg-server/stuff/CVE-2022-3550.patch xorg-server/stuff/CVE-2022-3551.patch xorg-server/stuff/CVE-2022-3553.patch xorg-server/stuff/CVE-2022-4283.patch xorg-server/stuff/CVE-2022-46340.correction.patch xorg-server/stuff/CVE-2022-46340.patch xorg-server/stuff/CVE-2022-46341.patch xorg-server/stuff/CVE-2022-46342.patch xorg-server/stuff/CVE-2022-46343.patch xorg-server/stuff/CVE-2022-46344.patch xorg-server/stuff/CVE-2023-0494.patch xorg-server/stuff/CVE-2023-1393.patch xorg-server/stuff/CVE-2023-5367.patch xorg-server/stuff/CVE-2023-5380.patch xorg-server/stuff/CVE-2023-6377.patch xorg-server/stuff/CVE-2023-6478.patch xorg-server/stuff/xorg-udev.patch xorg-util-macros/receipt xorg-xauth/receipt xorg-xev/receipt xorg-xf86-input-synaptics/receipt xorg-xf86-video-amdgpu/receipt xorg-xf86-video-ati/receipt xorg-xf86-video-fbdev/receipt xorg-xf86-video-fbdev/stuff/fix_build_with_gcc8.patch xorg-xf86-video-intel/receipt xorg-xf86-video-intel/stuff/fix_build_glibc2.28.patch xorg-xf86-video-intel/stuff/fix_build_i686.patch xorg-xf86-video-intel/stuff/patch-src_compat-api.h xorg-xf86-video-intel/stuff/patch-src_legacy_i810_i810__video.c xorg-xf86-video-intel/stuff/patch-src_sna_sna.h xorg-xf86-video-intel/stuff/patch-src_sna_sna__accel.c xorg-xf86-video-intel/stuff/patch-src_sna_sna__acpi.c xorg-xf86-video-intel/stuff/patch-src_sna_sna__driver.c xorg-xf86-video-intel/stuff/patch-src_uxa_intel.h xorg-xf86-video-intel/stuff/patch-src_uxa_intel__display.c xorg-xf86-video-intel/stuff/patch2-src_sna_sna__accel.c xorg-xf86-video-vesa/receipt xorg-xkbcomp-dev/receipt xorg-xkbcomp/receipt xorg-xprop/receipt xorg-xrdb/receipt xorgproto/receipt xsane/receipt xsane/stuff/0001-lcms2_configure.patch xsane/stuff/0165-xsane-0.999-lcms2.patch xsane/stuff/xsane-0.995-xdg-open.patch xsane/stuff/xsane-preview-selection.patch xscreensaver/receipt xscreensaver/stuff/xscreensaver.no.expiration.date.diff xscreensaver/stuff/xscreensaver.setuid.diff xterm/receipt xvidcore-dev/receipt xxhash-dev/receipt xxhash-lib/receipt xxhash/receipt xz-dev/receipt
line diff
     1.1 --- a/alsaplayer-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
     1.2 +++ b/alsaplayer-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
     1.3 @@ -21,5 +21,7 @@
     1.4  	cp -a $install/usr/lib/alsaplayer $fs/usr/lib
     1.5  	# Remove shared libs.
     1.6  	rm $fs/usr/lib/alsaplayer/*/*.so
     1.7 +
     1.8 +        # Ensure remove .la files
     1.9 +        find $fs -name "*.la" -delete
    1.10  }
    1.11 -
     2.1 --- a/alsaplayer-scopes/receipt	Mon Oct 16 18:37:14 2023 +0000
     2.2 +++ b/alsaplayer-scopes/receipt	Sun Jan 14 08:12:37 2024 +0000
     2.3 @@ -18,5 +18,7 @@
     2.4  	mkdir -p $fs/usr/lib/alsaplayer
     2.5  	cp -a $install/usr/lib/alsaplayer/scopes2 \
     2.6  		$fs/usr/lib/alsaplayer
     2.7 +
     2.8 +        # Ensure remove .la files
     2.9 +        find $fs -name "*.la" -delete
    2.10  }
    2.11 -
     3.1 --- a/apache-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
     3.2 +++ b/apache-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="apache-dev"
     3.7 -VERSION="2.4.54"
     3.8 +VERSION="2.4.58"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="HTTP server - development files."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
     4.1 --- a/apache-doc/receipt	Mon Oct 16 18:37:14 2023 +0000
     4.2 +++ b/apache-doc/receipt	Sun Jan 14 08:12:37 2024 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="apache-doc"
     4.7 -VERSION="2.4.54"
     4.8 +VERSION="2.4.58"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="HTTP server - documentation files."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
     5.1 --- a/apache-mod-perl/receipt	Mon Oct 16 18:37:14 2023 +0000
     5.2 +++ b/apache-mod-perl/receipt	Sun Jan 14 08:12:37 2024 +0000
     5.3 @@ -26,6 +26,10 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 +	# Patch to use recent perl
     5.8 +	# see https://github.com/Perl/perl5/issues/18617
     5.9 +	patch -p1 < $stuff/perl-5.34.0.patch
    5.10 +
    5.11  	perl	Makefile.PL		\
    5.12  		MP_APXS=/usr/bin/apxs	\
    5.13  		MP_APR_CONFIG=/usr/bin/apr-1-config
     6.1 --- a/apache-mod-wsgi/receipt	Mon Oct 16 18:37:14 2023 +0000
     6.2 +++ b/apache-mod-wsgi/receipt	Sun Jan 14 08:12:37 2024 +0000
     6.3 @@ -13,7 +13,8 @@
     6.4  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
     6.5  
     6.6  DEPENDS="apache python"
     6.7 -BUILD_DEPENDS="acl acl-dev apache apache-dev apr-dev apr-util-dev python-dev sed"
     6.8 +BUILD_DEPENDS="acl acl-dev apache apache-dev apr-dev \
     6.9 +apr-util-dev python-dev sed"
    6.10  
    6.11  current_version()
    6.12  {
     7.1 --- a/apache/receipt	Mon Oct 16 18:37:14 2023 +0000
     7.2 +++ b/apache/receipt	Sun Jan 14 08:12:37 2024 +0000
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="apache"
     7.7 -VERSION="2.4.54"
     7.8 +VERSION="2.4.58"
     7.9  CATEGORY="network"
    7.10  TAGS="webserver http server"
    7.11  SHORT_DESC="Secure, efficient and extensible HTTP server."
     8.1 --- a/apr-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
     8.2 +++ b/apr-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="apr-dev"
     8.7 -VERSION="1.7.0"
     8.8 +VERSION="1.7.2"
     8.9  CATEGORY="development"
    8.10  SHORT_DESC="Apache Portable Runtime Library - development files."
    8.11  MAINTAINER="lehswe@gmail.com"
     9.1 --- a/apr-util-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
     9.2 +++ b/apr-util-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
     9.3 @@ -1,7 +1,7 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="apr-util-dev"
     9.7 -VERSION="1.6.1"
     9.8 +VERSION="1.6.3"
     9.9  CATEGORY="development"
    9.10  SHORT_DESC="APR Library Utilities."
    9.11  MAINTAINER="lehswe@gmail.com"
    10.1 --- a/apr-util/receipt	Mon Oct 16 18:37:14 2023 +0000
    10.2 +++ b/apr-util/receipt	Sun Jan 14 08:12:37 2024 +0000
    10.3 @@ -1,7 +1,7 @@
    10.4  # SliTaz package receipt.
    10.5  
    10.6  PACKAGE="apr-util"
    10.7 -VERSION="1.6.1"
    10.8 +VERSION="1.6.3"
    10.9  CATEGORY="development"
   10.10  SHORT_DESC="APR Library Utilities."
   10.11  MAINTAINER="lehswe@gmail.com"
    11.1 --- a/apr/receipt	Mon Oct 16 18:37:14 2023 +0000
    11.2 +++ b/apr/receipt	Sun Jan 14 08:12:37 2024 +0000
    11.3 @@ -1,7 +1,7 @@
    11.4  # SliTaz package receipt.
    11.5  
    11.6  PACKAGE="apr"
    11.7 -VERSION="1.7.0"
    11.8 +VERSION="1.7.2"
    11.9  CATEGORY="misc"
   11.10  SHORT_DESC="Apache Portable Runtime Library."
   11.11  MAINTAINER="lehswe@gmail.com"
    12.1 --- a/asunder/receipt	Mon Oct 16 18:37:14 2023 +0000
    12.2 +++ b/asunder/receipt	Sun Jan 14 08:12:37 2024 +0000
    12.3 @@ -44,5 +44,7 @@
    12.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    12.5  genpkg_rules()
    12.6  {
    12.7 +	mkdir -p $fs/usr/share/applications
    12.8  	cook_copy_folders	bin
    12.9 +	cp -a $stuff/asunder.desktop $fs/usr/share/applications
   12.10  }
    13.1 --- a/asunder/stuff/asunder.desktop	Mon Oct 16 18:37:14 2023 +0000
    13.2 +++ b/asunder/stuff/asunder.desktop	Sun Jan 14 08:12:37 2024 +0000
    13.3 @@ -13,6 +13,7 @@
    13.4  GenericName[ru]=Экстрактор аудио CD
    13.5  Comment=An application to save tracks from an Audio CD as WAV, MP3, OGG, FLAC, and/or Wavpack.
    13.6  Comment[de]=Oberfläche zur Erstellung von Audio-Dateien
    13.7 +Comment[fr]=Extraire & sauvegarder des pistes de CD Audio en WAV, MP3, OGG, FLAC, et/ou Wavpack.
    13.8  Comment[hu]=Egy alkalmazás ami az Audió CD-n lévő sávokat lementi, MP3, OGG, FLAC és/vagy Wavpack formátumba.
    13.9  Comment[ru]=Приложение, сохраняющее дорожки аудио CD как WAV, MP3, OGG, FLAC и Wavpack.
   13.10  Comment[sv]=Ett program för att spara spår från en ljudskiva som WAV, MP3, OGG och/eller FLAC.
    14.1 --- a/at-spi2-atk/receipt	Mon Oct 16 18:37:14 2023 +0000
    14.2 +++ b/at-spi2-atk/receipt	Sun Jan 14 08:12:37 2024 +0000
    14.3 @@ -1,7 +1,7 @@
    14.4  # SliTaz package receipt.
    14.5  
    14.6  PACKAGE="at-spi2-atk"
    14.7 -VERSION="2.15.4"
    14.8 +VERSION="2.38.0"
    14.9  CATEGORY="libdevel"
   14.10  LICENSE="GPL3"
   14.11  SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service."
   14.12 @@ -11,7 +11,8 @@
   14.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   14.14  
   14.15  DEPENDS="atk dbus util-linux-uuid at-spi2"
   14.16 -BUILD_DEPENDS="at-spi2 atk-dev dbus-dev util-linux-uuid-dev"
   14.17 +BUILD_DEPENDS="at-spi2 atk-dev dbus-dev \
   14.18 +util-linux-uuid-dev meson"
   14.19  
   14.20  current_version()
   14.21  {
   14.22 @@ -22,11 +23,14 @@
   14.23  # Rules to configure and make the package.
   14.24  compile_rules()
   14.25  {
   14.26 -	./configure \
   14.27 -		--prefix=/usr \
   14.28 -		$CONFIGURE_ARGS &&
   14.29 -	make &&
   14.30 -	make DESTDIR=$DESTDIR install
   14.31 +        meson build \
   14.32 +            --prefix=/usr \
   14.33 +            --libdir=lib \
   14.34 +            --bindir=/usr/bin \
   14.35 +            --sbindir=/usr/sbin \
   14.36 +            --buildtype=release &&
   14.37 +        ninja -C build &&
   14.38 +        ninja -C build install
   14.39  }
   14.40  
   14.41  genpkg_rules()
    15.1 --- a/at-spi2/receipt	Mon Oct 16 18:37:14 2023 +0000
    15.2 +++ b/at-spi2/receipt	Sun Jan 14 08:12:37 2024 +0000
    15.3 @@ -1,7 +1,7 @@
    15.4  # SliTaz package receipt.
    15.5  
    15.6  PACKAGE="at-spi2"
    15.7 -VERSION="2.15.4"
    15.8 +VERSION="2.42.0"
    15.9  CATEGORY="libdevel"
   15.10  LICENSE="GPL3"
   15.11  SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service."
   15.12 @@ -12,7 +12,8 @@
   15.13  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
   15.14  
   15.15  DEPENDS="dbus glib gobject-introspection util-linux-uuid"
   15.16 -BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev util-linux-uuid-dev"
   15.17 +BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev \
   15.18 +util-linux-uuid-dev meson"
   15.19  
   15.20  current_version()
   15.21  {
   15.22 @@ -23,12 +24,14 @@
   15.23  # Rules to configure and make the package.
   15.24  compile_rules()
   15.25  {
   15.26 -	./configure \
   15.27 -		--prefix=/usr \
   15.28 -		--sysconfdir=/etc \
   15.29 -		$CONFIGURE_ARGS &&
   15.30 -	make &&
   15.31 -	make DESTDIR=$DESTDIR install
   15.32 +        meson build \
   15.33 +            --prefix=/usr \
   15.34 +            --libdir=lib \
   15.35 +            --bindir=/usr/bin \
   15.36 +            --sbindir=/usr/sbin \
   15.37 +            --buildtype=release &&
   15.38 +        ninja -C build &&
   15.39 +        ninja -C build install
   15.40  }
   15.41  
   15.42  genpkg_rules()
    16.1 --- a/atk-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    16.2 +++ b/atk-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    16.3 @@ -1,7 +1,7 @@
    16.4  # SliTaz package receipt.
    16.5  
    16.6  PACKAGE="atk-dev"
    16.7 -VERSION="2.34.1"
    16.8 +VERSION="2.36.0"
    16.9  CATEGORY="development"
   16.10  SHORT_DESC="Accessibility toolkit - development files."
   16.11  MAINTAINER="pankso@slitaz.org"
    17.1 --- a/atk/receipt	Mon Oct 16 18:37:14 2023 +0000
    17.2 +++ b/atk/receipt	Sun Jan 14 08:12:37 2024 +0000
    17.3 @@ -1,7 +1,7 @@
    17.4  # SliTaz package receipt.
    17.5  
    17.6  PACKAGE="atk"
    17.7 -VERSION="2.34.1"
    17.8 +VERSION="2.36.0"
    17.9  CATEGORY="x-window"
   17.10  TAGS="accessibility"
   17.11  SHORT_DESC="Accessibility toolkit."
    18.1 --- a/atkmm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    18.2 +++ b/atkmm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    18.3 @@ -1,7 +1,7 @@
    18.4  # SliTaz package receipt.
    18.5  
    18.6  PACKAGE="atkmm-dev"
    18.7 -VERSION="2.22.6"
    18.8 +VERSION="2.28.2"
    18.9  CATEGORY="development"
   18.10  SHORT_DESC="devel files for atkmm"
   18.11  MAINTAINER="slaxemulator@gmail.com"
    19.1 --- a/atkmm/receipt	Mon Oct 16 18:37:14 2023 +0000
    19.2 +++ b/atkmm/receipt	Sun Jan 14 08:12:37 2024 +0000
    19.3 @@ -1,17 +1,18 @@
    19.4  # SliTaz package receipt.
    19.5  
    19.6  PACKAGE="atkmm"
    19.7 -VERSION="2.22.6"
    19.8 +VERSION="2.28.2"
    19.9  CATEGORY="x-window"
   19.10  SHORT_DESC="C++ interface for the popular Accessibility toolkit."
   19.11  MAINTAINER="slaxemulator@gmail.com"
   19.12  LICENSE="LGPL2.1"
   19.13  BUILD_DEPENDS="atk-dev glib-dev glibmm-dev libgiomm-dev pkg-config"
   19.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   19.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   19.16  WEB_SITE="https://www.gnome.org/"
   19.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.18  
   19.19  DEPENDS="atk libsigc++"
   19.20 +BUILD_DEPENDS="atk-dev glibmm-dev libsigc++-dev meson"
   19.21  
   19.22  current_version()
   19.23  {
   19.24 @@ -22,9 +23,14 @@
   19.25  # Rules to configure and make the package.
   19.26  compile_rules()
   19.27  {
   19.28 -	cd $src
   19.29 -	./configure $CONFIGURE_ARGS && 
   19.30 -	make && make install
   19.31 +        meson build \
   19.32 +            --prefix=/usr \
   19.33 +            --libdir=lib \
   19.34 +            --bindir=/usr/bin \
   19.35 +            --sbindir=/usr/sbin \
   19.36 +            --buildtype=release &&
   19.37 +        ninja -C build &&
   19.38 +        ninja -C build install
   19.39  }
   19.40  
   19.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    20.1 --- a/audiofile-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    20.2 +++ b/audiofile-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    20.3 @@ -18,7 +18,6 @@
    20.4  {
    20.5  	mkdir -p $fs/usr/lib
    20.6  	cp -a $install/usr/include $fs/usr
    20.7 -	cp -a $install/usr/lib/*a $fs/usr/lib
    20.8  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    20.9  }
   20.10  
    21.1 --- a/audiofile/receipt	Mon Oct 16 18:37:14 2023 +0000
    21.2 +++ b/audiofile/receipt	Sun Jan 14 08:12:37 2024 +0000
    21.3 @@ -25,6 +25,10 @@
    21.4  # Rules to configure and make the package.
    21.5  compile_rules()
    21.6  {
    21.7 +	# Fix build with recent gcc
    21.8 +	# thanks Pat, see on SlakBuild
    21.9 +	CXXFLAGS="$CXXFLAGS -fpermissive"
   21.10 +
   21.11  	./configure \
   21.12  		$CONFIGURE_ARGS &&
   21.13  	make &&
    22.1 --- a/beaver/receipt	Mon Oct 16 18:37:14 2023 +0000
    22.2 +++ b/beaver/receipt	Sun Jan 14 08:12:37 2024 +0000
    22.3 @@ -30,6 +30,10 @@
    22.4  	sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
    22.5  	patch -p1 -i $stuff/icon.patch
    22.6  
    22.7 +	# Fix build with new stack 
    22.8 +	# see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=beaver
    22.9 +	CFLAGS="$CFLAGS -fgnu89-inline -fcommon"
   22.10 +
   22.11  	./configure $CONFIGURE_ARGS && make && make install
   22.12  }
   22.13  
    23.1 --- a/bluez-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    23.2 +++ b/bluez-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    23.3 @@ -1,7 +1,7 @@
    23.4  # SliTaz package receipt.
    23.5  
    23.6  PACKAGE="bluez-dev"
    23.7 -VERSION="5.54"
    23.8 +VERSION="5.64"
    23.9  CATEGORY="development"
   23.10  SHORT_DESC="Bluez development files."
   23.11  MAINTAINER="pankso@slitaz.org"
    24.1 --- a/bluez-gatttool/receipt	Mon Oct 16 18:37:14 2023 +0000
    24.2 +++ b/bluez-gatttool/receipt	Sun Jan 14 08:12:37 2024 +0000
    24.3 @@ -1,7 +1,7 @@
    24.4  # SliTaz package receipt.
    24.5  
    24.6  PACKAGE="bluez-gatttool"
    24.7 -VERSION="5.54"
    24.8 +VERSION="5.64"
    24.9  CATEGORY="system-tools"
   24.10  TAGS="bluetooth"
   24.11  SHORT_DESC="Bluetooth Low Energy device tool."
    25.1 --- a/bluez/receipt	Mon Oct 16 18:37:14 2023 +0000
    25.2 +++ b/bluez/receipt	Sun Jan 14 08:12:37 2024 +0000
    25.3 @@ -1,7 +1,7 @@
    25.4  # SliTaz package receipt.
    25.5  
    25.6  PACKAGE="bluez"
    25.7 -VERSION="5.54"
    25.8 +VERSION="5.64"
    25.9  CATEGORY="system-tools"
   25.10  TAGS="bluetooth"
   25.11  SHORT_DESC="Bluetooth protocol stack."
   25.12 @@ -15,7 +15,7 @@
   25.13  
   25.14  DEPENDS="dbus dbus-python glib libical libusb-compat linux-bluetooth pygobject"
   25.15  BUILD_DEPENDS="dbus-dev glib-dev libical-dev libusb-compat libusb-dev 
   25.16 -	pkg-config readline-dev"
   25.17 +	pkg-config readline-dev python-docutils"
   25.18  
   25.19  CONFIG_FILES="/etc/bluetooth"
   25.20  
   25.21 @@ -43,6 +43,8 @@
   25.22  #		--enable-usb \
   25.23  #		--enable-wiimote \
   25.24  
   25.25 +	# Patch for CVE-2023-45866
   25.26 +	patch -p1 < $stuff/CVE-2023-45866.patch
   25.27  
   25.28  	./configure			\
   25.29  		--prefix=/usr		\
   25.30 @@ -51,6 +53,7 @@
   25.31  		--libexecdir=/lib	\
   25.32  		--mandir=/usr/share/man	\
   25.33  		--enable-cups		\
   25.34 +		--enable-hid2hci	\
   25.35  		--enable-library	\
   25.36  		--enable-sap		\
   25.37  		--enable-tools		\
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/bluez/stuff/CVE-2023-45866.patch	Sun Jan 14 08:12:37 2024 +0000
    26.3 @@ -0,0 +1,52 @@
    26.4 +From 25a471a83e02e1effb15d5a488b3f0085eaeb675 Mon Sep 17 00:00:00 2001
    26.5 +From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    26.6 +Date: Tue, 10 Oct 2023 13:03:12 -0700
    26.7 +Subject: input.conf: Change default of ClassicBondedOnly
    26.8 +
    26.9 +This changes the default of ClassicBondedOnly since defaulting to false
   26.10 +is not inline with HID specification which mandates the of Security Mode
   26.11 +4:
   26.12 +
   26.13 +BLUETOOTH SPECIFICATION Page 84 of 123
   26.14 +Human Interface Device (HID) Profile:
   26.15 +
   26.16 +  5.4.3.4.2 Security Modes
   26.17 +  Bluetooth HID Hosts shall use Security Mode 4 when interoperating with
   26.18 +  Bluetooth HID devices that are compliant to the Bluetooth Core
   26.19 +  Specification v2.1+EDR[6].
   26.20 +---
   26.21 + profiles/input/device.c   | 2 +-
   26.22 + profiles/input/input.conf | 2 +-
   26.23 + 2 files changed, 2 insertions(+), 2 deletions(-)
   26.24 +
   26.25 +(limited to 'profiles/input')
   26.26 +
   26.27 +diff --git a/profiles/input/device.c b/profiles/input/device.c
   26.28 +index 4a50ea9921..4310dd192e 100644
   26.29 +--- a/profiles/input/device.c
   26.30 ++++ b/profiles/input/device.c
   26.31 +@@ -81,7 +81,7 @@ struct input_device {
   26.32 + 
   26.33 + static int idle_timeout = 0;
   26.34 + static bool uhid_enabled = false;
   26.35 +-static bool classic_bonded_only = false;
   26.36 ++static bool classic_bonded_only = true;
   26.37 + 
   26.38 + void input_set_idle_timeout(int timeout)
   26.39 + {
   26.40 +diff --git a/profiles/input/input.conf b/profiles/input/input.conf
   26.41 +index 4c70bc561f..d8645f3dd6 100644
   26.42 +--- a/profiles/input/input.conf
   26.43 ++++ b/profiles/input/input.conf
   26.44 +@@ -17,7 +17,7 @@
   26.45 + # platforms may want to make sure that input connections only come from bonded
   26.46 + # device connections. Several older mice have been known for not supporting
   26.47 + # pairing/encryption.
   26.48 +-# Defaults to false to maximize device compatibility.
   26.49 ++# Defaults to true for security.
   26.50 + #ClassicBondedOnly=true
   26.51 + 
   26.52 + # LE upgrade security
   26.53 +-- 
   26.54 +cgit 1.2.3-korg
   26.55 +
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/brotli-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    27.3 @@ -0,0 +1,21 @@
    27.4 +# SliTaz package receipt.
    27.5 +
    27.6 +PACKAGE="brotli-dev"
    27.7 +VERSION="1.0.9"
    27.8 +CATEGORY="development"
    27.9 +SHORT_DESC="A generic-purpose lossless compression algorithm (devel files)."
   27.10 +MAINTAINER="pascal.bellard@slitaz.org"
   27.11 +LICENSE="MIT"
   27.12 +WEB_SITE="https://github.com/google/brotli"
   27.13 +
   27.14 +DEPENDS="brotli"
   27.15 +WANTED="brotli"
   27.16 +
   27.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   27.18 +genpkg_rules()
   27.19 +{
   27.20 +        mkdir -p $fs/usr/lib
   27.21 +
   27.22 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
   27.23 +        cp -a $install/usr/include              $fs/usr
   27.24 +}
    28.1 --- a/brotli/receipt	Mon Oct 16 18:37:14 2023 +0000
    28.2 +++ b/brotli/receipt	Sun Jan 14 08:12:37 2024 +0000
    28.3 @@ -23,15 +23,19 @@
    28.4  # Rules to configure and make the package.
    28.5  compile_rules()
    28.6  {
    28.7 -	cmake .
    28.8 -	make
    28.9 +	mkdir build && cd build
   28.10 +	cmake \
   28.11 +	    -DCMAKE_BUILD_TYPE=Release \
   28.12 +	    -DCMAKE_INSTALL_PREFIX=/usr \
   28.13 +	.. &&
   28.14 +	make && make install
   28.15  }
   28.16  
   28.17  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.18  genpkg_rules()
   28.19  {
   28.20  	mkdir -p $fs/usr/bin $fs/usr/lib
   28.21 -	cp -a $src/brotli $fs/usr/bin/
   28.22 +	cp -a $install/usr/bin/brotli $fs/usr/bin/
   28.23  	ln -s brotli $fs/usr/bin/bro
   28.24 -	cp -a $src/*.so* $fs/usr/lib
   28.25 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
   28.26  }
    29.1 --- a/cacerts/receipt	Mon Oct 16 18:37:14 2023 +0000
    29.2 +++ b/cacerts/receipt	Sun Jan 14 08:12:37 2024 +0000
    29.3 @@ -1,7 +1,7 @@
    29.4  # SliTaz package receipt.
    29.5  
    29.6  PACKAGE="cacerts"
    29.7 -VERSION="20230815"
    29.8 +VERSION="20231019"
    29.9  CATEGORY="security"
   29.10  SHORT_DESC="Certificate Authority Certificates."
   29.11  MAINTAINER="al.bobylev@gmail.com"
    30.1 --- a/cairomm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    30.2 +++ b/cairomm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    30.3 @@ -1,7 +1,7 @@
    30.4  # SliTaz package receipt.
    30.5  
    30.6  PACKAGE="cairomm-dev"
    30.7 -VERSION="1.11.2"
    30.8 +VERSION="1.12.2"
    30.9  CATEGORY="development"
   30.10  SHORT_DESC="Cairomm library devel files."
   30.11  MAINTAINER="pankso@slitaz.org"
    31.1 --- a/cairomm/receipt	Mon Oct 16 18:37:14 2023 +0000
    31.2 +++ b/cairomm/receipt	Sun Jan 14 08:12:37 2024 +0000
    31.3 @@ -1,7 +1,7 @@
    31.4  # SliTaz package receipt.
    31.5  
    31.6  PACKAGE="cairomm"
    31.7 -VERSION="1.11.2"
    31.8 +VERSION="1.12.2"
    31.9  CATEGORY="x-window"
   31.10  SHORT_DESC="2D graphics library (mm)."
   31.11  MAINTAINER="pankso@slitaz.org"
    32.1 --- a/cherokee-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    32.2 +++ b/cherokee-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    32.3 @@ -14,12 +14,9 @@
    32.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    32.5  genpkg_rules()
    32.6  {
    32.7 -	mkdir -p $fs/usr/lib/cherokee
    32.8 -	mkdir -p $fs/usr/share
    32.9 +	mkdir -p $fs/usr/lib
   32.10  
   32.11 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   32.12 -	cp -a $install/usr/lib/cherokee/*.*a	$fs/usr/lib/cherokee
   32.13 +	cp -a $install/usr/include		$fs/usr
   32.14  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   32.15  	cp -a $install/usr/share/aclocal	$fs/usr/share
   32.16  }
   32.17 -
    33.1 --- a/cherokee/receipt	Mon Oct 16 18:37:14 2023 +0000
    33.2 +++ b/cherokee/receipt	Sun Jan 14 08:12:37 2024 +0000
    33.3 @@ -8,8 +8,8 @@
    33.4  LICENSE="GPL2"
    33.5  WEB_SITE="https://cherokee-project.com/"
    33.6  
    33.7 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    33.8 -WGET_URL="https://github.com/$PACKAGE/webserver/archive/v$VERSION.tar.gz"
    33.9 +TARBALL="$PACKAGE-$VERSION.zip"
   33.10 +WGET_URL="https://github.com/shannara/cherokee-webserver/archive/master.zip"
   33.11  
   33.12  PROVIDE="lighttpd"
   33.13  DEPENDS="cyrus-sasl ffmpeg libldap libmysqlclient openssl pcre python"
    34.1 --- a/cups-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    34.2 +++ b/cups-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    34.3 @@ -1,7 +1,7 @@
    34.4  # SliTaz package receipt."
    34.5  
    34.6  PACKAGE="cups-dev"
    34.7 -VERSION="2.4.1"
    34.8 +VERSION="2.4.7"
    34.9  CATEGORY="development"
   34.10  SHORT_DESC="Common UNIX Printing System - development files."
   34.11  MAINTAINER="erjo@slitaz.org"
    35.1 --- a/cups-doc/receipt	Mon Oct 16 18:37:14 2023 +0000
    35.2 +++ b/cups-doc/receipt	Sun Jan 14 08:12:37 2024 +0000
    35.3 @@ -1,7 +1,7 @@
    35.4  # SliTaz package receipt.
    35.5  
    35.6  PACKAGE="cups-doc"
    35.7 -VERSION="2.4.1"
    35.8 +VERSION="2.4.7"
    35.9  CATEGORY="misc"
   35.10  SHORT_DESC="Documentation for cups."
   35.11  MAINTAINER="slaxemulator@gmail.com"
    36.1 --- a/cups-filters-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    36.2 +++ b/cups-filters-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    36.3 @@ -1,7 +1,7 @@
    36.4  # SliTaz package receipt.
    36.5  
    36.6  PACKAGE="cups-filters-dev"
    36.7 -VERSION="1.0.71"
    36.8 +VERSION="1.28.17"
    36.9  CATEGORY="development"
   36.10  SHORT_DESC="OpenPrinting Cups Filters devel files"
   36.11  MAINTAINER="mojo@slitaz.org"
    37.1 --- a/cups-filters/receipt	Mon Oct 16 18:37:14 2023 +0000
    37.2 +++ b/cups-filters/receipt	Sun Jan 14 08:12:37 2024 +0000
    37.3 @@ -1,7 +1,7 @@
    37.4  # SliTaz package receipt.
    37.5  
    37.6  PACKAGE="cups-filters"
    37.7 -VERSION="1.0.71"
    37.8 +VERSION="1.28.17"
    37.9  CATEGORY="system-tools"
   37.10  SHORT_DESC="OpenPrinting CUPS Filters"
   37.11  MAINTAINER="mojo@slitaz.org"
   37.12 @@ -9,13 +9,13 @@
   37.13  WEB_SITE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
   37.14  
   37.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
   37.16 -WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
   37.17 +WGET_URL="https://github.com/OpenPrinting/$PACKAGE/releases/download/$VERSION/$TARBALL"
   37.18  EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
   37.19  WGET_URL2="https://mirror.slitaz.org/sources/packages-cooking/c/cups-filters-7371.u"
   37.20  
   37.21 -DEPENDS="lcms poppler qpdf ghostscript gutenprint glib"
   37.22 -BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \
   37.23 -cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev"
   37.24 +DEPENDS="lcms poppler qpdf ghostscript gutenprint glib libexif"
   37.25 +BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev libexif-dev \
   37.26 +cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev liblouis-dev"
   37.27  
   37.28  # What is the latest version available today?
   37.29  current_version()
   37.30 @@ -45,6 +45,8 @@
   37.31  		LIBQPDF_CFLAGS="-D QPDF_NO_QPDF_STRING"	\
   37.32  		--prefix=/usr				\
   37.33  		--sysconfdir=/etc			\
   37.34 +		--disable-avahi				\
   37.35 +		--disable-mutool			\
   37.36  		$CONFIGURE_ARGS &&
   37.37  	make &&
   37.38  	make install
    38.1 --- a/cups-pam/receipt	Mon Oct 16 18:37:14 2023 +0000
    38.2 +++ b/cups-pam/receipt	Sun Jan 14 08:12:37 2024 +0000
    38.3 @@ -1,7 +1,7 @@
    38.4  # SliTaz package receipt.
    38.5  
    38.6  PACKAGE="cups-pam"
    38.7 -VERSION="2.4.1"
    38.8 +VERSION="2.4.7"
    38.9  CATEGORY="system-tools"
   38.10  SHORT_DESC="Common UNIX Printing System with PAM support."
   38.11  MAINTAINER="pascal.bellard@slitaz.org"
    39.1 --- a/cups/receipt	Mon Oct 16 18:37:14 2023 +0000
    39.2 +++ b/cups/receipt	Sun Jan 14 08:12:37 2024 +0000
    39.3 @@ -1,7 +1,7 @@
    39.4  # SliTaz package receipt.
    39.5  
    39.6  PACKAGE="cups"
    39.7 -VERSION="2.4.1"
    39.8 +VERSION="2.4.7"
    39.9  CATEGORY="system-tools"
   39.10  TAGS="printer printing"
   39.11  SHORT_DESC="Common UNIX Printing System."
   39.12 @@ -58,6 +58,7 @@
   39.13  		--with-cups-user=nobody		\
   39.14  		--with-cups-group=nogroup	\
   39.15  		--with-languages="$LOCALE_PACK" \
   39.16 +		--with-cups-build 		\
   39.17  		$CONFIGURE_ARGS &&
   39.18  	make &&
   39.19  	make install BUILDROOT=$DESTDIR
    40.1 --- a/curl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    40.2 +++ b/curl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    40.3 @@ -1,7 +1,7 @@
    40.4  # SliTaz package receipt.
    40.5  
    40.6  PACKAGE="curl-dev"
    40.7 -VERSION="7.81.0"
    40.8 +VERSION="8.4.0"
    40.9  CATEGORY="development"
   40.10  SHORT_DESC="Tool and libraries for transfering files with URL syntax - development files."
   40.11  MAINTAINER="pankso@slitaz.org"
    41.1 --- a/curl/receipt	Mon Oct 16 18:37:14 2023 +0000
    41.2 +++ b/curl/receipt	Sun Jan 14 08:12:37 2024 +0000
    41.3 @@ -1,7 +1,7 @@
    41.4  # SliTaz package receipt.
    41.5  
    41.6  PACKAGE="curl"
    41.7 -VERSION="7.81.0"
    41.8 +VERSION="8.4.0"
    41.9  CATEGORY="network"
   41.10  SHORT_DESC="Tool and libraries for transfering files with URL syntax."
   41.11  MAINTAINER="pankso@slitaz.org"
    42.1 --- a/cyrus-sasl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    42.2 +++ b/cyrus-sasl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    42.3 @@ -1,7 +1,7 @@
    42.4  # SliTaz package receipt.
    42.5  
    42.6  PACKAGE="cyrus-sasl-dev"
    42.7 -VERSION="2.1.27"
    42.8 +VERSION="2.1.28"
    42.9  CATEGORY="network"
   42.10  SHORT_DESC="SASL authentication server - development files"
   42.11  MAINTAINER="pascal.bellard@slitaz.org"
    43.1 --- a/cyrus-sasl-pam/receipt	Mon Oct 16 18:37:14 2023 +0000
    43.2 +++ b/cyrus-sasl-pam/receipt	Sun Jan 14 08:12:37 2024 +0000
    43.3 @@ -1,7 +1,7 @@
    43.4  # SliTaz package receipt.
    43.5  
    43.6  PACKAGE="cyrus-sasl-pam"
    43.7 -VERSION="2.1.27"
    43.8 +VERSION="2.1.28"
    43.9  CATEGORY="network"
   43.10  SHORT_DESC="SASL authentication server using PAM."
   43.11  MAINTAINER="pascal.bellard@slitaz.org"
    44.1 --- a/cyrus-sasl/receipt	Mon Oct 16 18:37:14 2023 +0000
    44.2 +++ b/cyrus-sasl/receipt	Sun Jan 14 08:12:37 2024 +0000
    44.3 @@ -1,7 +1,7 @@
    44.4  # SliTaz package receipt.
    44.5  
    44.6  PACKAGE="cyrus-sasl"
    44.7 -VERSION="2.1.27"
    44.8 +VERSION="2.1.28"
    44.9  CATEGORY="network"
   44.10  SHORT_DESC="SASL authentication server."
   44.11  MAINTAINER="pascal.bellard@slitaz.org"
    45.1 --- a/dbus-glib-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    45.2 +++ b/dbus-glib-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    45.3 @@ -1,7 +1,7 @@
    45.4  # SliTaz package receipt.
    45.5  
    45.6  PACKAGE="dbus-glib-dev"
    45.7 -VERSION="0.110"
    45.8 +VERSION="0.112"
    45.9  CATEGORY="development"
   45.10  SHORT_DESC="D-Bus glib binding - development files."
   45.11  MAINTAINER="pankso@slitaz.org"
   45.12 @@ -19,6 +19,5 @@
   45.13  	mkdir -p $fs/usr/lib
   45.14  
   45.15  	cp -a $install/usr/include		$fs/usr
   45.16 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   45.17  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   45.18  }
    46.1 --- a/dbus-glib/receipt	Mon Oct 16 18:37:14 2023 +0000
    46.2 +++ b/dbus-glib/receipt	Sun Jan 14 08:12:37 2024 +0000
    46.3 @@ -1,7 +1,7 @@
    46.4  # SliTaz package receipt.
    46.5  
    46.6  PACKAGE="dbus-glib"
    46.7 -VERSION="0.110"
    46.8 +VERSION="0.112"
    46.9  CATEGORY="x-window"
   46.10  SHORT_DESC="D-Bus glib binding."
   46.11  MAINTAINER="pankso@slitaz.org"
    47.1 --- a/dbus-python-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    47.2 +++ b/dbus-python-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    47.3 @@ -1,7 +1,7 @@
    47.4  # SliTaz package receipt.
    47.5  
    47.6  PACKAGE="dbus-python-dev"
    47.7 -VERSION="1.2.14"
    47.8 +VERSION="1.2.18"
    47.9  CATEGORY="development"
   47.10  SHORT_DESC="D-Bus python binding - development files."
   47.11  MAINTAINER="pankso@slitaz.org"
   47.12 @@ -20,4 +20,7 @@
   47.13  	cp -a $install/usr/include	$fs/usr
   47.14  	rm -rf				$fs/usr/lib/*/site-packages/dbus
   47.15  	rm -rf				$fs/usr/lib/*/site-packages/*.so
   47.16 +
   47.17 +        # Ensure remove .la files
   47.18 +        find $fs -name "*.la" -delete
   47.19  }
    48.1 --- a/dbus-python/receipt	Mon Oct 16 18:37:14 2023 +0000
    48.2 +++ b/dbus-python/receipt	Sun Jan 14 08:12:37 2024 +0000
    48.3 @@ -1,7 +1,7 @@
    48.4  # SliTaz package receipt.
    48.5  
    48.6  PACKAGE="dbus-python"
    48.7 -VERSION="1.2.14"
    48.8 +VERSION="1.2.18"
    48.9  CATEGORY="system-tools"
   48.10  SHORT_DESC="D-Bus python binding."
   48.11  MAINTAINER="pankso@slitaz.org"
   48.12 @@ -11,8 +11,8 @@
   48.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
   48.14  WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL"
   48.15  
   48.16 -DEPENDS="dbus dbus-glib glib libgio python"
   48.17 -BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python-dev"
   48.18 +DEPENDS="dbus dbus-glib glib libgio python3"
   48.19 +BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python3-dev"
   48.20  
   48.21  # What is the latest version available today?
   48.22  current_version()
   48.23 @@ -24,7 +24,7 @@
   48.24  # Rules to configure and make the package.
   48.25  compile_rules()
   48.26  {
   48.27 -	./configure $CONFIGURE_ARGS &&
   48.28 +	./configure $CONFIGURE_ARGS PYTHON_VERSION=3 &&
   48.29  	make &&
   48.30  	make install
   48.31  }
    49.1 --- a/efivar/receipt	Mon Oct 16 18:37:14 2023 +0000
    49.2 +++ b/efivar/receipt	Sun Jan 14 08:12:37 2024 +0000
    49.3 @@ -40,14 +40,27 @@
    49.4  	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    49.5  }
    49.6  
    49.7 +pre_install()
    49.8 +{
    49.9 +	# Ensure we remove previous post_install step
   49.10 +	sed -i -e '/inserted/,/END-efivar/!b' -e '/#END-efivar/!d;' \
   49.11 +	-e 'd' /etc/init.d/local.sh
   49.12 +}
   49.13 +
   49.14  post_install()
   49.15  {
   49.16  	# if SliTaz was booted by EFI, mount evivarfs now
   49.17 -	[ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars
   49.18 +	if [ -d /sys/firmware/efi/efivars ]; then
   49.19 +	    grep "^nodev.efivarfs$" /proc/filesystems || modprobe efivarfs 	
   49.20 + 	    mount -t efivarfs none /sys/firmware/efi/efivars
   49.21 +	fi
   49.22  	# and after reboot:
   49.23  	# insert mount into /etc/init.d/local.sh
   49.24  	grep -qs efivarfs $1/etc/init.d/local.sh ||
   49.25  	echo -e "#inserted by post_install of evifar up to END-efivar:
   49.26 -[ -d /sys/firmware/efi/efivars ] && mount -t efivarfs none /sys/firmware/efi/efivars
   49.27 +if [ -d /sys/firmware/efi/efivars ]; then
   49.28 + grep \"^nodev.efivarfs$\" /proc/filesystems || modprobe efivarfs
   49.29 + mount -t efivarfs none /sys/firmware/efi/efivars
   49.30 +fi
   49.31  #END-efivar" >>$1/etc/init.d/local.sh
   49.32  }
    50.1 --- a/elfutils-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    50.2 +++ b/elfutils-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    50.3 @@ -1,7 +1,7 @@
    50.4  # SliTaz package receipt.
    50.5  
    50.6  PACKAGE="elfutils-dev"
    50.7 -VERSION="0.161"
    50.8 +VERSION="0.186"
    50.9  CATEGORY="development"
   50.10  SHORT_DESC="ELF object file access library, development files."
   50.11  MAINTAINER="pascal.bellard@slitaz.org"
    51.1 --- a/elfutils/receipt	Mon Oct 16 18:37:14 2023 +0000
    51.2 +++ b/elfutils/receipt	Sun Jan 14 08:12:37 2024 +0000
    51.3 @@ -1,7 +1,7 @@
    51.4  # SliTaz package receipt.
    51.5  
    51.6  PACKAGE="elfutils"
    51.7 -VERSION="0.161"
    51.8 +VERSION="0.186"
    51.9  CATEGORY="development"
   51.10  SHORT_DESC="ELF object file access library."
   51.11  MAINTAINER="pascal.bellard@slitaz.org"
   51.12 @@ -12,7 +12,7 @@
   51.13  HOST_ARCH="i486 arm"
   51.14  
   51.15  DEPENDS="glibc-base"
   51.16 -BUILD_DEPENDS="bzip2-dev liblzma-dev"
   51.17 +BUILD_DEPENDS="bzip2-dev liblzma-dev zstd-dev"
   51.18  
   51.19  # Handle multiarch compilation
   51.20  case "$ARCH" in
   51.21 @@ -31,8 +31,11 @@
   51.22  	cd $src
   51.23  	CFLAGS="$CFLAGS -Wno-error"
   51.24  	./configure \
   51.25 -	--enable-thread-safety \
   51.26 -	$CONFIGURE_ARGS &&
   51.27 +	    --enable-thread-safety \
   51.28 +	    --disable-libdebuginfod \
   51.29 +	    --disable-debuginfod \
   51.30 +	    --program-prefix= \
   51.31 +	    $CONFIGURE_ARGS &&
   51.32  	touch src/.deps/none_ld.Po &&
   51.33  	make -s && make install
   51.34  }
   51.35 @@ -45,5 +48,4 @@
   51.36  		cp -a $install/usr/bin/$i $fs/usr/bin
   51.37  	done
   51.38  	cp -a $install/usr/lib/*.so* $fs/usr/lib
   51.39 -	cp -a $install/usr/lib/elfutils $fs/usr/lib
   51.40  }
    52.1 --- a/enchant-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    52.2 +++ b/enchant-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    52.3 @@ -1,7 +1,7 @@
    52.4  # SliTaz package receipt.
    52.5  
    52.6  PACKAGE="enchant-dev"
    52.7 -VERSION="1.6.0"
    52.8 +VERSION="2.3.2"
    52.9  CATEGORY="development"
   52.10  SHORT_DESC="Devel files for enchant."
   52.11  MAINTAINER="pankso@slitaz.org"
   52.12 @@ -17,8 +17,8 @@
   52.13  {
   52.14  	mkdir -p $fs/usr/lib
   52.15  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   52.16 -	cp -a $install/usr/lib/enchant $fs/usr/lib
   52.17 -	rm $fs/usr/lib/enchant/*.so
   52.18 +	cp -a $install/usr/lib/enchant-2 $fs/usr/lib
   52.19 +	rm $fs/usr/lib/enchant-2/*.so
   52.20 +	rm $fs/usr/lib/enchant-2/*.*a
   52.21  	cp -a $install/usr/include $fs/usr
   52.22  }
   52.23 -
    53.1 --- a/enchant/receipt	Mon Oct 16 18:37:14 2023 +0000
    53.2 +++ b/enchant/receipt	Sun Jan 14 08:12:37 2024 +0000
    53.3 @@ -1,7 +1,7 @@
    53.4  # SliTaz package receipt.
    53.5  
    53.6  PACKAGE="enchant"
    53.7 -VERSION="1.6.0"
    53.8 +VERSION="2.3.2"
    53.9  CATEGORY="x-window"
   53.10  SHORT_DESC="Enchant spell checking library."
   53.11  MAINTAINER="pankso@slitaz.org"
   53.12 @@ -9,11 +9,11 @@
   53.13  SUGGESTED="aspell"
   53.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   53.15  WEB_SITE="http://www.abisource.com/projects/enchant/"
   53.16 -WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
   53.17 +WGET_URL="https://github.com/AbiWord/enchant/releases/download/v$VERSION/$TARBALL"
   53.18  TAGS="spell check"
   53.19  HOST_ARCH="i486 arm"
   53.20  
   53.21 -DEPENDS="dbus dbus-glib glib gcc-lib-base"
   53.22 +DEPENDS="dbus dbus-glib glib gcc-lib-base aspell"
   53.23  BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev"
   53.24  
   53.25  current_version()
   53.26 @@ -36,8 +36,8 @@
   53.27  	mkdir -p $fs/usr/lib $fs/usr/share
   53.28  	cp -a $install/usr/bin $fs/usr
   53.29  	cp -a $install/usr/lib/*.so* $fs/usr/lib
   53.30 -	cp -a $install/usr/lib/enchant $fs/usr/lib
   53.31 -	rm $fs/usr/lib/enchant/*.*a
   53.32 +	cp -a $install/usr/lib/enchant-2 $fs/usr/lib
   53.33 +	rm $fs/usr/lib/enchant-2/*.*a
   53.34  	cp -a $install/usr/share/enchant $fs/usr/share
   53.35  }
   53.36  
    54.1 --- a/faac-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    54.2 +++ b/faac-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    54.3 @@ -15,5 +15,4 @@
    54.4  genpkg_rules()
    54.5  {
    54.6  	cook_copy_folders	include
    54.7 -	cook_copy_files		*.*a
    54.8  }
    55.1 --- a/faac/receipt	Mon Oct 16 18:37:14 2023 +0000
    55.2 +++ b/faac/receipt	Sun Jan 14 08:12:37 2024 +0000
    55.3 @@ -12,8 +12,7 @@
    55.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    55.5  WGET_URL="$SF_MIRROR/faac/$PACKAGE-${VERSION/./_}.tar.gz"
    55.6  
    55.7 -DEPENDS="gcc83-lib-base"
    55.8 -BUILD_DEPENDS="autoconf automake gcc83 libtool"
    55.9 +BUILD_DEPENDS="autoconf automake libtool"
   55.10  
   55.11  # What is the latest version available today?
   55.12  current_version()
   55.13 @@ -27,8 +26,6 @@
   55.14  {
   55.15  	./bootstrap &&
   55.16  	./configure				\
   55.17 -		CC=gcc-83			\
   55.18 -		CXX=g++-83			\
   55.19  		--prefix=/usr			\
   55.20  		--infodir=/usr/share/info	\
   55.21  		--mandir=/usr/share/man		\
    56.1 --- a/faad2-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    56.2 +++ b/faad2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    56.3 @@ -16,5 +16,4 @@
    56.4  {
    56.5  	mkdir -p $fs/usr/lib
    56.6  	cp -a $install/usr/include $fs/usr
    56.7 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    56.8  }
    57.1 --- a/ffmpeg-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    57.2 +++ b/ffmpeg-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    57.3 @@ -1,7 +1,7 @@
    57.4  # SliTaz package receipt.
    57.5  
    57.6  PACKAGE="ffmpeg-dev"
    57.7 -VERSION="4.2.2"
    57.8 +VERSION="4.4.1"
    57.9  CATEGORY="development"
   57.10  SHORT_DESC="Record, convert and stream audio and video - development files."
   57.11  MAINTAINER="pascal.bellard@slitaz.org"
    58.1 --- a/ffmpeg/receipt	Mon Oct 16 18:37:14 2023 +0000
    58.2 +++ b/ffmpeg/receipt	Sun Jan 14 08:12:37 2024 +0000
    58.3 @@ -1,7 +1,7 @@
    58.4  # SliTaz package receipt.
    58.5  
    58.6  PACKAGE="ffmpeg"
    58.7 -VERSION="4.2.2"
    58.8 +VERSION="4.4.1"
    58.9  CATEGORY="multimedia"
   58.10  TAGS="audio video convert stream"
   58.11  SHORT_DESC="Record, convert and stream audio and video."
   58.12 @@ -13,7 +13,7 @@
   58.13  WGET_URL="${WEB_SITE}releases/$TARBALL"
   58.14  
   58.15  SUGGESTED="ffplay"
   58.16 -DEPENDS="alsa-lib bzip2 gnutls harfbuzz lame libsdl2 libtasn1 libvorbis \
   58.17 +DEPENDS="alsa-lib bzip2 libgnutls harfbuzz lame libsdl2 libtasn1 libvorbis \
   58.18  	libvpx nettle opus pcre rtmpdump x264 x265 xorg-libXau \
   58.19  	xorg-libXdmcp zlib"
   58.20  BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special \
   58.21 @@ -66,6 +66,7 @@
   58.22  		--enable-libx265	\
   58.23  		--enable-avresample	\
   58.24  		--enable-gnutls		\
   58.25 +		--extra-libs="-latomic " \
   58.26  		${ARCH_ARGS} &&
   58.27  	make &&
   58.28  	make install
    59.1 --- a/ffplay/receipt	Mon Oct 16 18:37:14 2023 +0000
    59.2 +++ b/ffplay/receipt	Sun Jan 14 08:12:37 2024 +0000
    59.3 @@ -1,7 +1,7 @@
    59.4  # SliTaz package receipt.
    59.5  
    59.6  PACKAGE="ffplay"
    59.7 -VERSION="4.2.2"
    59.8 +VERSION="4.4.1"
    59.9  CATEGORY="multimedia"
   59.10  TAGS="audio video player"
   59.11  SHORT_DESC="Very simple and portable media player using the ffmpeg and the SDL library."
    60.1 --- a/firefox-official/receipt	Mon Oct 16 18:37:14 2023 +0000
    60.2 +++ b/firefox-official/receipt	Sun Jan 14 08:12:37 2024 +0000
    60.3 @@ -1,7 +1,7 @@
    60.4  # SliTaz package receipt.
    60.5  
    60.6  PACKAGE="firefox-official"
    60.7 -VERSION="77.0"
    60.8 +VERSION="102.15.1esr"
    60.9  CATEGORY="network"
   60.10  TAGS="web-browser"
   60.11  SHORT_DESC="Official Firefox build by the Mozilla foundation (English language)."
    61.1 --- a/fontconfig-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    61.2 +++ b/fontconfig-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    61.3 @@ -1,7 +1,7 @@
    61.4  # SliTaz package receipt.
    61.5  
    61.6  PACKAGE="fontconfig-dev"
    61.7 -VERSION="2.13.1"
    61.8 +VERSION="2.13.92"
    61.9  CATEGORY="development"
   61.10  SHORT_DESC="Font configuration utilities and library devel files"
   61.11  MAINTAINER="pankso@slitaz.org"
    62.1 --- a/fontconfig/receipt	Mon Oct 16 18:37:14 2023 +0000
    62.2 +++ b/fontconfig/receipt	Sun Jan 14 08:12:37 2024 +0000
    62.3 @@ -1,13 +1,13 @@
    62.4  # SliTaz package receipt.
    62.5  
    62.6  PACKAGE="fontconfig"
    62.7 -VERSION="2.13.1"
    62.8 +VERSION="2.13.92"
    62.9  CATEGORY="x-window"
   62.10  SHORT_DESC="Font configuration utilities and library"
   62.11  MAINTAINER="pankso@slitaz.org"
   62.12  LICENSE="MIT"
   62.13  WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
   62.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   62.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   62.16  WGET_URL="https://www.freedesktop.org/software/fontconfig/release/$TARBALL"
   62.17  HOST_ARCH="i486 arm"
   62.18  
    63.1 --- a/foomatic-db/receipt	Mon Oct 16 18:37:14 2023 +0000
    63.2 +++ b/foomatic-db/receipt	Sun Jan 14 08:12:37 2024 +0000
    63.3 @@ -14,6 +14,9 @@
    63.4  DEPENDS="ghostscript perl libxml2"
    63.5  BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
    63.6  
    63.7 +# Take long long time for recompress, need check why
    63.8 +COOKOPTS="!gz"
    63.9 +
   63.10  # What is the latest version available today?
   63.11  current_version()
   63.12  {
    64.1 --- a/fribidi-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    64.2 +++ b/fribidi-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    64.3 @@ -18,5 +18,4 @@
    64.4  {
    64.5  	cook_copy_folders	include
    64.6  	cook_copy_folders	pkgconfig
    64.7 -	cook_copy_files		*.*a
    64.8  }
    65.1 --- a/gcc-lib-base/receipt	Mon Oct 16 18:37:14 2023 +0000
    65.2 +++ b/gcc-lib-base/receipt	Sun Jan 14 08:12:37 2024 +0000
    65.3 @@ -1,7 +1,7 @@
    65.4  # SliTaz package receipt.
    65.5  
    65.6  PACKAGE="gcc-lib-base"
    65.7 -VERSION="6.3.0"
    65.8 +VERSION="8.3.0"
    65.9  CATEGORY="development"
   65.10  SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
   65.11  WEB_SITE="http://gcc.gnu.org/"
    66.1 --- a/gcc-lib-math/receipt	Mon Oct 16 18:37:14 2023 +0000
    66.2 +++ b/gcc-lib-math/receipt	Sun Jan 14 08:12:37 2024 +0000
    66.3 @@ -1,7 +1,7 @@
    66.4  # SliTaz package receipt.
    66.5  
    66.6  PACKAGE="gcc-lib-math"
    66.7 -VERSION="6.3.0"
    66.8 +VERSION="8.3.0"
    66.9  CATEGORY="development"
   66.10  SHORT_DESC="GCC math libraries, libquadmath."
   66.11  WEB_SITE="http://gcc.gnu.org/"
    67.1 --- a/gcc/receipt	Mon Oct 16 18:37:14 2023 +0000
    67.2 +++ b/gcc/receipt	Sun Jan 14 08:12:37 2024 +0000
    67.3 @@ -1,19 +1,19 @@
    67.4  # SliTaz package receipt.
    67.5  
    67.6  PACKAGE="gcc"
    67.7 -VERSION="6.3.0"
    67.8 +VERSION="8.3.0"
    67.9  CATEGORY="development"
   67.10  SHORT_DESC="The GNU Compiler Collection."
   67.11  MAINTAINER="pankso@slitaz.org"
   67.12  LICENSE="GPL2"
   67.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   67.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   67.15  WEB_SITE="http://gcc.gnu.org/"
   67.16  WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL"
   67.17  TAGS="compiler C"
   67.18  #HOST_ARCH="i486 arm"
   67.19  
   67.20  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
   67.21 -BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
   67.22 +BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev gc-dev"
   67.23  
   67.24  # Handle cross compilation (native i486/ARM gcc)
   67.25  case "$ARCH" in
    68.1 --- a/gcc49/receipt	Mon Oct 16 18:37:14 2023 +0000
    68.2 +++ b/gcc49/receipt	Sun Jan 14 08:12:37 2024 +0000
    68.3 @@ -39,6 +39,12 @@
    68.4  
    68.5  	# Patch to build with gcc >= 6
    68.6  	patch -p1 < $stuff/build_with_gcc6.patch
    68.7 +	# Patch to build with gcc >= 8
    68.8 +	# see https://aur.archlinux.org/packages/gcc49
    68.9 +	# see https://patchwork.ozlabs.org/project/gcc/patch/alpine.DEB.2.20.1706271356170.15648@digraph.polyomino.org.uk
   68.10 +	patch -p1 < $stuff/build_with_gcc8.patch
   68.11 +	patch -p1 < $stuff/build_with_gcc8-1.patch
   68.12 +	patch -p1 < $stuff/build_with_glibc-2.28.patch
   68.13  
   68.14  	mkdir -p ../gcc-build && cd ../gcc-build
   68.15  
    69.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    69.2 +++ b/gcc49/stuff/build_with_gcc8-1.patch	Sun Jan 14 08:12:37 2024 +0000
    69.3 @@ -0,0 +1,139 @@
    69.4 +Index: libgcc/config/aarch64/linux-unwind.h
    69.5 +===================================================================
    69.6 +--- a/libgcc/config/aarch64/linux-unwind.h	(revision 249686)
    69.7 ++++ b/libgcc/config/aarch64/linux-unwind.h	(working copy)
    69.8 +@@ -55,7 +55,7 @@ aarch64_fallback_frame_state (struct _Unwind_Conte
    69.9 +   struct rt_sigframe
   69.10 +   {
   69.11 +     siginfo_t info;
   69.12 +-    struct ucontext uc;
   69.13 ++    ucontext_t uc;
   69.14 +   };
   69.15 + 
   69.16 +   struct rt_sigframe *rt_;
   69.17 +Index: libgcc/config/alpha/linux-unwind.h
   69.18 +===================================================================
   69.19 +--- a/libgcc/config/alpha/linux-unwind.h	(revision 249686)
   69.20 ++++ b/libgcc/config/alpha/linux-unwind.h	(working copy)
   69.21 +@@ -51,7 +51,7 @@ alpha_fallback_frame_state (struct _Unwind_Context
   69.22 +     {
   69.23 +       struct rt_sigframe {
   69.24 + 	siginfo_t info;
   69.25 +-	struct ucontext uc;
   69.26 ++	ucontext_t uc;
   69.27 +       } *rt_ = context->cfa;
   69.28 +       sc = &rt_->uc.uc_mcontext;
   69.29 +     }
   69.30 +Index: libgcc/config/bfin/linux-unwind.h
   69.31 +===================================================================
   69.32 +--- a/libgcc/config/bfin/linux-unwind.h	(revision 249686)
   69.33 ++++ b/libgcc/config/bfin/linux-unwind.h	(working copy)
   69.34 +@@ -52,7 +52,7 @@ bfin_fallback_frame_state (struct _Unwind_Context
   69.35 + 	void *puc;
   69.36 + 	char retcode[8];
   69.37 + 	siginfo_t info;
   69.38 +-	struct ucontext uc;
   69.39 ++	ucontext_t uc;
   69.40 +       } *rt_ = context->cfa;
   69.41 + 
   69.42 +       /* The void * cast is necessary to avoid an aliasing warning.
   69.43 +Index: libgcc/config/i386/linux-unwind.h
   69.44 +===================================================================
   69.45 +--- a/libgcc/config/i386/linux-unwind.h	(revision 249686)
   69.46 ++++ b/libgcc/config/i386/linux-unwind.h	(working copy)
   69.47 +@@ -58,7 +58,7 @@ x86_64_fallback_frame_state (struct _Unwind_Contex
   69.48 +   if (*(unsigned char *)(pc+0) == 0x48
   69.49 +       && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
   69.50 +     {
   69.51 +-      struct ucontext *uc_ = context->cfa;
   69.52 ++      ucontext_t *uc_ = context->cfa;
   69.53 +       /* The void * cast is necessary to avoid an aliasing warning.
   69.54 +          The aliasing warning is correct, but should not be a problem
   69.55 +          because it does not alias anything.  */
   69.56 +@@ -138,7 +138,7 @@ x86_fallback_frame_state (struct _Unwind_Context *
   69.57 + 	siginfo_t *pinfo;
   69.58 + 	void *puc;
   69.59 + 	siginfo_t info;
   69.60 +-	struct ucontext uc;
   69.61 ++	ucontext_t uc;
   69.62 +       } *rt_ = context->cfa;
   69.63 +       /* The void * cast is necessary to avoid an aliasing warning.
   69.64 +          The aliasing warning is correct, but should not be a problem
   69.65 +Index: libgcc/config/m68k/linux-unwind.h
   69.66 +===================================================================
   69.67 +--- a/libgcc/config/m68k/linux-unwind.h	(revision 249686)
   69.68 ++++ b/libgcc/config/m68k/linux-unwind.h	(working copy)
   69.69 +@@ -33,7 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respect
   69.70 + /* <sys/ucontext.h> is unfortunately broken right now.  */
   69.71 + struct uw_ucontext {
   69.72 + 	unsigned long	  uc_flags;
   69.73 +-	struct ucontext  *uc_link;
   69.74 ++	ucontext_t	 *uc_link;
   69.75 + 	stack_t		  uc_stack;
   69.76 + 	mcontext_t	  uc_mcontext;
   69.77 + 	unsigned long	  uc_filler[80];
   69.78 +Index: libgcc/config/nios2/linux-unwind.h
   69.79 +===================================================================
   69.80 +--- a/libgcc/config/nios2/linux-unwind.h	(revision 249686)
   69.81 ++++ b/libgcc/config/nios2/linux-unwind.h	(working copy)
   69.82 +@@ -38,7 +38,7 @@ struct nios2_mcontext {
   69.83 + 
   69.84 + struct nios2_ucontext {
   69.85 +   unsigned long uc_flags;
   69.86 +-  struct ucontext *uc_link;
   69.87 ++  ucontext_t *uc_link;
   69.88 +   stack_t uc_stack;
   69.89 +   struct nios2_mcontext uc_mcontext;
   69.90 +   sigset_t uc_sigmask;	/* mask last for extensibility */
   69.91 +Index: libgcc/config/pa/linux-unwind.h
   69.92 +===================================================================
   69.93 +--- a/libgcc/config/pa/linux-unwind.h	(revision 249686)
   69.94 ++++ b/libgcc/config/pa/linux-unwind.h	(working copy)
   69.95 +@@ -80,7 +80,7 @@ pa32_fallback_frame_state (struct _Unwind_Context
   69.96 +   struct sigcontext *sc;
   69.97 +   struct rt_sigframe {
   69.98 +     siginfo_t info;
   69.99 +-    struct ucontext uc;
  69.100 ++    ucontext_t uc;
  69.101 +   } *frame;
  69.102 + 
  69.103 +   /* rt_sigreturn trampoline:
  69.104 +Index: libgcc/config/sh/linux-unwind.h
  69.105 +===================================================================
  69.106 +--- a/libgcc/config/sh/linux-unwind.h	(revision 249686)
  69.107 ++++ b/libgcc/config/sh/linux-unwind.h	(working copy)
  69.108 +@@ -82,7 +82,7 @@ sh_fallback_frame_state (struct _Unwind_Context *c
  69.109 +     {
  69.110 +       struct rt_sigframe {
  69.111 + 	siginfo_t info;
  69.112 +-	struct ucontext uc;
  69.113 ++	ucontext_t uc;
  69.114 +       } *rt_ = context->cfa;
  69.115 +       /* The void * cast is necessary to avoid an aliasing warning.
  69.116 +          The aliasing warning is correct, but should not be a problem
  69.117 +Index: libgcc/config/tilepro/linux-unwind.h
  69.118 +===================================================================
  69.119 +--- a/libgcc/config/tilepro/linux-unwind.h	(revision 249686)
  69.120 ++++ b/libgcc/config/tilepro/linux-unwind.h	(working copy)
  69.121 +@@ -61,7 +61,7 @@ tile_fallback_frame_state (struct _Unwind_Context
  69.122 +   struct rt_sigframe {
  69.123 +     unsigned char save_area[C_ABI_SAVE_AREA_SIZE];
  69.124 +     siginfo_t info;
  69.125 +-    struct ucontext uc;
  69.126 ++    ucontext_t uc;
  69.127 +   } *rt_;
  69.128 + 
  69.129 +   /* Return if this is not a signal handler.  */
  69.130 +Index: libgcc/config/xtensa/linux-unwind.h
  69.131 +===================================================================
  69.132 +--- a/libgcc/config/xtensa/linux-unwind.h	(revision 249686)
  69.133 ++++ b/libgcc/config/xtensa/linux-unwind.h	(working copy)
  69.134 +@@ -67,7 +67,7 @@ xtensa_fallback_frame_state (struct _Unwind_Contex
  69.135 + 
  69.136 +   struct rt_sigframe {
  69.137 +     siginfo_t info;
  69.138 +-    struct ucontext uc;
  69.139 ++    ucontext_t uc;
  69.140 +   } *rt_;
  69.141 + 
  69.142 +   /* movi a2, __NR_rt_sigreturn; syscall */
    70.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    70.2 +++ b/gcc49/stuff/build_with_gcc8.patch	Sun Jan 14 08:12:37 2024 +0000
    70.3 @@ -0,0 +1,48 @@
    70.4 +--- a/libsanitizer/sanitizer_common/sanitizer_linux.h	2013-12-05 04:18:38.000000000 -0500
    70.5 ++++ b/libsanitizer/sanitizer_common/sanitizer_linux.h	2017-09-12 18:30:52.178616638 -0400
    70.6 +@@ -14,13 +14,13 @@
    70.7 + #include "sanitizer_platform.h"
    70.8 + #if SANITIZER_LINUX
    70.9 + #include "sanitizer_common.h"
   70.10 + #include "sanitizer_internal_defs.h"
   70.11 + #include "sanitizer_platform_limits_posix.h"
   70.12 ++#include <sys/ucontext.h>
   70.13 + 
   70.14 + struct link_map;  // Opaque type returned by dlopen().
   70.15 +-struct sigaltstack;
   70.16 + 
   70.17 + namespace __sanitizer {
   70.18 + // Dirent structure for getdents(). Note that this structure is different from
   70.19 + // the one in <dirent.h>, which is used by readdir().
   70.20 + struct linux_dirent;
   70.21 +
   70.22 +--- a/libsanitizer/asan/asan_linux.cc	2013-12-05 04:18:38.000000000 -0500
   70.23 ++++ b/libsanitizer/asan/asan_linux.cc	2017-09-12 18:59:45.310819390 -0400
   70.24 +@@ -27,10 +27,11 @@
   70.25 + #include <fcntl.h>
   70.26 + #include <pthread.h>
   70.27 + #include <stdio.h>
   70.28 + #include <unistd.h>
   70.29 + #include <unwind.h>
   70.30 ++#include <signal.h>
   70.31 + 
   70.32 + #if !SANITIZER_ANDROID
   70.33 + // FIXME: where to get ucontext on Android?
   70.34 + #include <sys/ucontext.h>
   70.35 + #endif
   70.36 +
   70.37 +--- a/libsanitizer/tsan/tsan_platform_linux.cc	2013-12-05 04:18:38.000000000 -0500
   70.38 ++++ b/libsanitizer/tsan/tsan_platform_linux.cc	2017-09-12 19:25:25.698833952 -0400
   70.39 +@@ -349,11 +349,11 @@ bool IsGlobalVar(uptr addr) {
   70.40 + // Extract file descriptors passed to glibc internal __res_iclose function.
   70.41 + // This is required to properly "close" the fds, because we do not see internal
   70.42 + // closes within glibc. The code is a pure hack.
   70.43 + int ExtractResolvFDs(void *state, int *fds, int nfd) {
   70.44 +   int cnt = 0;
   70.45 +-  __res_state *statp = (__res_state*)state;
   70.46 ++  res_state statp = (res_state)state;
   70.47 +   for (int i = 0; i < MAXNS && cnt < nfd; i++) {
   70.48 +     if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1)
   70.49 +       fds[cnt++] = statp->_u._ext.nssocks[i];
   70.50 +   }
   70.51 +   return cnt;
    71.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.2 +++ b/gcc49/stuff/build_with_glibc-2.28.patch	Sun Jan 14 08:12:37 2024 +0000
    71.3 @@ -0,0 +1,31 @@
    71.4 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc	2013-12-19 13:54:11.000000000 +0100
    71.5 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc	2018-09-16 15:23:46.141733145 +0200
    71.6 +@@ -81,7 +81,6 @@
    71.7 + #include <sys/statvfs.h>
    71.8 + #include <sys/timex.h>
    71.9 + #include <sys/user.h>
   71.10 +-#include <sys/ustat.h>
   71.11 + #include <linux/cyclades.h>
   71.12 + #include <linux/if_eql.h>
   71.13 + #include <linux/if_plip.h>
   71.14 +@@ -163,7 +162,19 @@
   71.15 +   unsigned struct_old_utsname_sz = sizeof(struct old_utsname);
   71.16 +   unsigned struct_oldold_utsname_sz = sizeof(struct oldold_utsname);
   71.17 +   unsigned struct_itimerspec_sz = sizeof(struct itimerspec);
   71.18 +-  unsigned struct_ustat_sz = sizeof(struct ustat);
   71.19 ++  // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which
   71.20 ++  // has been removed from glibc 2.28.
   71.21 ++#if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \
   71.22 ++  || defined(__powerpc64__) || defined(__arch64__) || defined(__sparcv9) \
   71.23 ++  || defined(__x86_64__)
   71.24 ++#define SIZEOF_STRUCT_USTAT 32
   71.25 ++#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
   71.26 ++  || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
   71.27 ++#define SIZEOF_STRUCT_USTAT 20
   71.28 ++#else
   71.29 ++#error Unknown size of struct ustat
   71.30 ++#endif
   71.31 ++  unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT;
   71.32 + #endif // SANITIZER_LINUX
   71.33 + 
   71.34 + #if SANITIZER_LINUX && !SANITIZER_ANDROID
    72.1 --- a/gcc63/receipt	Mon Oct 16 18:37:14 2023 +0000
    72.2 +++ b/gcc63/receipt	Sun Jan 14 08:12:37 2024 +0000
    72.3 @@ -37,6 +37,14 @@
    72.4  
    72.5  	sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in
    72.6  
    72.7 +	# Patch to build gcc 6.3.0 with gcc >= 8.x
    72.8 +	patch -p1 < $stuff/fix-build-with-gcc8-1.patch
    72.9 +	patch -p1 < $stuff/fix-build-with-gcc8-2.patch
   72.10 +	patch -p1 < $stuff/fix-build-with-gcc8-3.patch
   72.11 +
   72.12 +	# Patch to build with glibc 2.28
   72.13 +	patch -p1 < $stuff/fix-build-with-glibc-2.28.patch
   72.14 +
   72.15  	mkdir -p ../gcc-build && cd ../gcc-build
   72.16  
   72.17  	$src/configure \
    73.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.2 +++ b/gcc63/stuff/fix-build-with-gcc8-1.patch	Sun Jan 14 08:12:37 2024 +0000
    73.3 @@ -0,0 +1,77 @@
    73.4 +From 5927885f7673cfa50854687c34f50da13435fb93 Mon Sep 17 00:00:00 2001
    73.5 +From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
    73.6 +Date: Thu, 7 Sep 2017 07:20:51 +0000
    73.7 +Subject: [PATCH] 2017-09-07  Matthias Klose  <doko@ubuntu.com>
    73.8 +
    73.9 +        * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Replace
   73.10 +        'struct ucontext' with ucontext_t.
   73.11 +        * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
   73.12 +        * include/s390-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
   73.13 +
   73.14 +
   73.15 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@251831 138bc75d-0d04-0410-961f-82ee72b054a4
   73.16 +---
   73.17 + libjava/ChangeLog               | 7 +++++++
   73.18 + libjava/include/i386-signal.h   | 2 +-
   73.19 + libjava/include/s390-signal.h   | 2 +-
   73.20 + libjava/include/x86_64-signal.h | 2 +-
   73.21 + 4 files changed, 10 insertions(+), 3 deletions(-)
   73.22 +
   73.23 +diff --git a/libjava/ChangeLog b/libjava/ChangeLog
   73.24 +index 4e62c3666fe..15e89178440 100644
   73.25 +--- a/libjava/ChangeLog
   73.26 ++++ b/libjava/ChangeLog
   73.27 +@@ -1,3 +1,10 @@
   73.28 ++2017-09-07  Matthias Klose  <doko@ubuntu.com>
   73.29 ++
   73.30 ++	* include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Replace
   73.31 ++	'struct ucontext' with ucontext_t.
   73.32 ++	* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
   73.33 ++	* include/s390-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
   73.34 ++
   73.35 + 2017-07-04  Release Manager
   73.36 + 
   73.37 + 	* GCC 6.4.0 released.
   73.38 +diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h
   73.39 +index c2409b0e301..ef77e7e99ae 100644
   73.40 +--- a/libjava/include/i386-signal.h
   73.41 ++++ b/libjava/include/i386-signal.h
   73.42 +@@ -29,7 +29,7 @@ static void _Jv_##_name (int, siginfo_t *,			\
   73.43 + #define HANDLE_DIVIDE_OVERFLOW						\
   73.44 + do									\
   73.45 + {									\
   73.46 +-  struct ucontext *_uc = (struct ucontext *)_p;				\
   73.47 ++  ucontext_t *_uc = (ucontext_t *)_p;					\
   73.48 +   gregset_t &_gregs = _uc->uc_mcontext.gregs;				\
   73.49 +   unsigned char *_eip = (unsigned char *)_gregs[REG_EIP];		\
   73.50 + 									\
   73.51 +diff --git a/libjava/include/s390-signal.h b/libjava/include/s390-signal.h
   73.52 +index 4ca4c108864..9261b52be6e 100644
   73.53 +--- a/libjava/include/s390-signal.h
   73.54 ++++ b/libjava/include/s390-signal.h
   73.55 +@@ -51,7 +51,7 @@ do									\
   73.56 +   struct                                                                \
   73.57 +   {                                                                     \
   73.58 +     unsigned long int uc_flags;                                         \
   73.59 +-    struct ucontext *uc_link;                                           \
   73.60 ++    ucontext_t *uc_link;                                                \
   73.61 +     stack_t uc_stack;                                                   \
   73.62 +     mcontext_t uc_mcontext;                                             \
   73.63 +     unsigned long sigmask[2];                                           \
   73.64 +diff --git a/libjava/include/x86_64-signal.h b/libjava/include/x86_64-signal.h
   73.65 +index 12383b5485a..e36c5a32a64 100644
   73.66 +--- a/libjava/include/x86_64-signal.h
   73.67 ++++ b/libjava/include/x86_64-signal.h
   73.68 +@@ -28,7 +28,7 @@ static void _Jv_##_name (int, siginfo_t *,			\
   73.69 + #define HANDLE_DIVIDE_OVERFLOW						\
   73.70 + do									\
   73.71 + {									\
   73.72 +-  struct ucontext *_uc = (struct ucontext *)_p;				\
   73.73 ++  ucontext_t *_uc = (ucontext_t *)_p;					\
   73.74 +   gregset_t &_gregs = _uc->uc_mcontext.gregs;				\
   73.75 +   unsigned char *_rip = (unsigned char *)_gregs[REG_RIP];		\
   73.76 + 									\
   73.77 +-- 
   73.78 +2.39.3
   73.79 +
   73.80 +
    74.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    74.2 +++ b/gcc63/stuff/fix-build-with-gcc8-2.patch	Sun Jan 14 08:12:37 2024 +0000
    74.3 @@ -0,0 +1,212 @@
    74.4 +From b685411208e0aaa79190d54faf945763514706b8 Mon Sep 17 00:00:00 2001
    74.5 +From: jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
    74.6 +Date: Tue, 4 Jul 2017 10:23:57 +0000
    74.7 +Subject: [PATCH] Use ucontext_t not struct ucontext in linux-unwind.h files.
    74.8 +
    74.9 +Current glibc no longer gives the ucontext_t type the tag struct
   74.10 +ucontext, to conform with POSIX namespace rules.  This requires
   74.11 +various linux-unwind.h files in libgcc, that were previously using
   74.12 +struct ucontext, to be fixed to use ucontext_t instead.  This is
   74.13 +similar to the removal of the struct siginfo tag from siginfo_t some
   74.14 +years ago.
   74.15 +
   74.16 +This patch changes those files to use ucontext_t instead.  As the
   74.17 +standard name that should be unconditionally safe, so this is not
   74.18 +restricted to architectures supported by glibc, or conditioned on the
   74.19 +glibc version.
   74.20 +
   74.21 +Tested compilation together with current glibc with glibc's
   74.22 +build-many-glibcs.py.
   74.23 +
   74.24 +	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
   74.25 +	config/alpha/linux-unwind.h (alpha_fallback_frame_state),
   74.26 +	config/bfin/linux-unwind.h (bfin_fallback_frame_state),
   74.27 +	config/i386/linux-unwind.h (x86_64_fallback_frame_state,
   74.28 +	x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
   74.29 +	uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
   74.30 +	config/pa/linux-unwind.h (pa32_fallback_frame_state),
   74.31 +	config/sh/linux-unwind.h (sh_fallback_frame_state),
   74.32 +	config/tilepro/linux-unwind.h (tile_fallback_frame_state),
   74.33 +	config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
   74.34 +	ucontext_t instead of struct ucontext.
   74.35 +
   74.36 +
   74.37 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249957 138bc75d-0d04-0410-961f-82ee72b054a4
   74.38 +---
   74.39 + libgcc/ChangeLog                     | 14 ++++++++++++++
   74.40 + libgcc/config/aarch64/linux-unwind.h |  2 +-
   74.41 + libgcc/config/alpha/linux-unwind.h   |  2 +-
   74.42 + libgcc/config/bfin/linux-unwind.h    |  2 +-
   74.43 + libgcc/config/i386/linux-unwind.h    |  4 ++--
   74.44 + libgcc/config/m68k/linux-unwind.h    |  2 +-
   74.45 + libgcc/config/nios2/linux-unwind.h   |  2 +-
   74.46 + libgcc/config/pa/linux-unwind.h      |  2 +-
   74.47 + libgcc/config/sh/linux-unwind.h      |  2 +-
   74.48 + libgcc/config/tilepro/linux-unwind.h |  2 +-
   74.49 + libgcc/config/xtensa/linux-unwind.h  |  2 +-
   74.50 + 11 files changed, 25 insertions(+), 11 deletions(-)
   74.51 +
   74.52 +diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
   74.53 +index d9ec5453045..fba23d22aff 100644
   74.54 +--- a/libgcc/ChangeLog
   74.55 ++++ b/libgcc/ChangeLog
   74.56 +@@ -1,3 +1,17 @@
   74.57 ++2017-07-04  Joseph Myers  <joseph@codesourcery.com>
   74.58 ++
   74.59 ++	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
   74.60 ++	config/alpha/linux-unwind.h (alpha_fallback_frame_state),
   74.61 ++	config/bfin/linux-unwind.h (bfin_fallback_frame_state),
   74.62 ++	config/i386/linux-unwind.h (x86_64_fallback_frame_state,
   74.63 ++	x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
   74.64 ++	uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
   74.65 ++	config/pa/linux-unwind.h (pa32_fallback_frame_state),
   74.66 ++	config/sh/linux-unwind.h (sh_fallback_frame_state),
   74.67 ++	config/tilepro/linux-unwind.h (tile_fallback_frame_state),
   74.68 ++	config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
   74.69 ++	ucontext_t instead of struct ucontext.
   74.70 ++
   74.71 + 2017-07-04  Release Manager
   74.72 + 
   74.73 + 	* GCC 6.4.0 released.
   74.74 +diff --git a/libgcc/config/aarch64/linux-unwind.h b/libgcc/config/aarch64/linux-unwind.h
   74.75 +index 4512efbdcc8..06de45aa7ab 100644
   74.76 +--- a/libgcc/config/aarch64/linux-unwind.h
   74.77 ++++ b/libgcc/config/aarch64/linux-unwind.h
   74.78 +@@ -52,7 +52,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
   74.79 +   struct rt_sigframe
   74.80 +   {
   74.81 +     siginfo_t info;
   74.82 +-    struct ucontext uc;
   74.83 ++    ucontext_t uc;
   74.84 +   };
   74.85 + 
   74.86 +   struct rt_sigframe *rt_;
   74.87 +diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h
   74.88 +index bdbba4a3c5d..e84812e33fd 100644
   74.89 +--- a/libgcc/config/alpha/linux-unwind.h
   74.90 ++++ b/libgcc/config/alpha/linux-unwind.h
   74.91 +@@ -51,7 +51,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
   74.92 +     {
   74.93 +       struct rt_sigframe {
   74.94 + 	siginfo_t info;
   74.95 +-	struct ucontext uc;
   74.96 ++	ucontext_t uc;
   74.97 +       } *rt_ = context->cfa;
   74.98 +       sc = &rt_->uc.uc_mcontext;
   74.99 +     }
  74.100 +diff --git a/libgcc/config/bfin/linux-unwind.h b/libgcc/config/bfin/linux-unwind.h
  74.101 +index 77b7c23c708..8bf5e82c55e 100644
  74.102 +--- a/libgcc/config/bfin/linux-unwind.h
  74.103 ++++ b/libgcc/config/bfin/linux-unwind.h
  74.104 +@@ -52,7 +52,7 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
  74.105 + 	void *puc;
  74.106 + 	char retcode[8];
  74.107 + 	siginfo_t info;
  74.108 +-	struct ucontext uc;
  74.109 ++	ucontext_t uc;
  74.110 +       } *rt_ = context->cfa;
  74.111 + 
  74.112 +       /* The void * cast is necessary to avoid an aliasing warning.
  74.113 +diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h
  74.114 +index 540a0a25aca..29efbe31d61 100644
  74.115 +--- a/libgcc/config/i386/linux-unwind.h
  74.116 ++++ b/libgcc/config/i386/linux-unwind.h
  74.117 +@@ -58,7 +58,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
  74.118 +   if (*(unsigned char *)(pc+0) == 0x48
  74.119 +       && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
  74.120 +     {
  74.121 +-      struct ucontext *uc_ = context->cfa;
  74.122 ++      ucontext_t *uc_ = context->cfa;
  74.123 +       /* The void * cast is necessary to avoid an aliasing warning.
  74.124 +          The aliasing warning is correct, but should not be a problem
  74.125 +          because it does not alias anything.  */
  74.126 +@@ -138,7 +138,7 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
  74.127 + 	siginfo_t *pinfo;
  74.128 + 	void *puc;
  74.129 + 	siginfo_t info;
  74.130 +-	struct ucontext uc;
  74.131 ++	ucontext_t uc;
  74.132 +       } *rt_ = context->cfa;
  74.133 +       /* The void * cast is necessary to avoid an aliasing warning.
  74.134 +          The aliasing warning is correct, but should not be a problem
  74.135 +diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h
  74.136 +index 75b7cf723a0..f964e24c4ee 100644
  74.137 +--- a/libgcc/config/m68k/linux-unwind.h
  74.138 ++++ b/libgcc/config/m68k/linux-unwind.h
  74.139 +@@ -33,7 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  74.140 + /* <sys/ucontext.h> is unfortunately broken right now.  */
  74.141 + struct uw_ucontext {
  74.142 + 	unsigned long	  uc_flags;
  74.143 +-	struct ucontext  *uc_link;
  74.144 ++	ucontext_t	 *uc_link;
  74.145 + 	stack_t		  uc_stack;
  74.146 + 	mcontext_t	  uc_mcontext;
  74.147 + 	unsigned long	  uc_filler[80];
  74.148 +diff --git a/libgcc/config/nios2/linux-unwind.h b/libgcc/config/nios2/linux-unwind.h
  74.149 +index 23041420525..30f25ea379e 100644
  74.150 +--- a/libgcc/config/nios2/linux-unwind.h
  74.151 ++++ b/libgcc/config/nios2/linux-unwind.h
  74.152 +@@ -38,7 +38,7 @@ struct nios2_mcontext {
  74.153 + 
  74.154 + struct nios2_ucontext {
  74.155 +   unsigned long uc_flags;
  74.156 +-  struct ucontext *uc_link;
  74.157 ++  ucontext_t *uc_link;
  74.158 +   stack_t uc_stack;
  74.159 +   struct nios2_mcontext uc_mcontext;
  74.160 +   sigset_t uc_sigmask;	/* mask last for extensibility */
  74.161 +diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h
  74.162 +index 9a2657f295d..e47493dde91 100644
  74.163 +--- a/libgcc/config/pa/linux-unwind.h
  74.164 ++++ b/libgcc/config/pa/linux-unwind.h
  74.165 +@@ -80,7 +80,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
  74.166 +   struct sigcontext *sc;
  74.167 +   struct rt_sigframe {
  74.168 +     siginfo_t info;
  74.169 +-    struct ucontext uc;
  74.170 ++    ucontext_t uc;
  74.171 +   } *frame;
  74.172 + 
  74.173 +   /* rt_sigreturn trampoline:
  74.174 +diff --git a/libgcc/config/sh/linux-unwind.h b/libgcc/config/sh/linux-unwind.h
  74.175 +index e389cacaab8..0bf43ba21c2 100644
  74.176 +--- a/libgcc/config/sh/linux-unwind.h
  74.177 ++++ b/libgcc/config/sh/linux-unwind.h
  74.178 +@@ -180,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
  74.179 +     {
  74.180 +       struct rt_sigframe {
  74.181 + 	siginfo_t info;
  74.182 +-	struct ucontext uc;
  74.183 ++	ucontext_t uc;
  74.184 +       } *rt_ = context->cfa;
  74.185 +       /* The void * cast is necessary to avoid an aliasing warning.
  74.186 +          The aliasing warning is correct, but should not be a problem
  74.187 +diff --git a/libgcc/config/tilepro/linux-unwind.h b/libgcc/config/tilepro/linux-unwind.h
  74.188 +index 796e97620b8..75f8890ce07 100644
  74.189 +--- a/libgcc/config/tilepro/linux-unwind.h
  74.190 ++++ b/libgcc/config/tilepro/linux-unwind.h
  74.191 +@@ -61,7 +61,7 @@ tile_fallback_frame_state (struct _Unwind_Context *context,
  74.192 +   struct rt_sigframe {
  74.193 +     unsigned char save_area[C_ABI_SAVE_AREA_SIZE];
  74.194 +     siginfo_t info;
  74.195 +-    struct ucontext uc;
  74.196 ++    ucontext_t uc;
  74.197 +   } *rt_;
  74.198 + 
  74.199 +   /* Return if this is not a signal handler.  */
  74.200 +diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h
  74.201 +index 9872492acc2..586a9d49e9c 100644
  74.202 +--- a/libgcc/config/xtensa/linux-unwind.h
  74.203 ++++ b/libgcc/config/xtensa/linux-unwind.h
  74.204 +@@ -67,7 +67,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
  74.205 + 
  74.206 +   struct rt_sigframe {
  74.207 +     siginfo_t info;
  74.208 +-    struct ucontext uc;
  74.209 ++    ucontext_t uc;
  74.210 +   } *rt_;
  74.211 + 
  74.212 +   /* movi a2, __NR_rt_sigreturn; syscall */
  74.213 +-- 
  74.214 +2.39.3
  74.215 +
    75.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.2 +++ b/gcc63/stuff/fix-build-with-gcc8-3.patch	Sun Jan 14 08:12:37 2024 +0000
    75.3 @@ -0,0 +1,31 @@
    75.4 +ubsan-fix-check-empty-string.patch
    75.5 +
    75.6 +Fix ubsan compilation error using host gcc version 7.
    75.7 +
    75.8 +Take from upstream commit 4d360c3c
    75.9 +
   75.10 +  Author: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
   75.11 +  Date:   Sat May 27 21:34:09 2017 +0300
   75.12 +
   75.13 +    patches: Add patch that fixes gcc6 with gcc7
   75.14 +
   75.15 +Upstream-Status: Backport
   75.16 +Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
   75.17 +
   75.18 +---
   75.19 + gcc/ubsan.c   | 2 +-
   75.20 + 2 files changed, 5 insertions(+), 1 deletion(-)
   75.21 +
   75.22 +Index: gcc-6.3.0/gcc/ubsan.c
   75.23 +===================================================================
   75.24 +--- gcc-6.3.0.orig/gcc/ubsan.c
   75.25 ++++ gcc-6.3.0/gcc/ubsan.c
   75.26 +@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc)
   75.27 + 
   75.28 +   expanded_location xloc = expand_location (loc);
   75.29 +   if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
   75.30 +-      || xloc.file == '\0' || xloc.file[0] == '\xff'
   75.31 ++      || xloc.file[0] == '\0' || xloc.file[0] == '\xff'
   75.32 +       || xloc.file[1] == '\xff')
   75.33 +     return false;
   75.34 + 
    76.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.2 +++ b/gcc63/stuff/fix-build-with-glibc-2.28.patch	Sun Jan 14 08:12:37 2024 +0000
    76.3 @@ -0,0 +1,31 @@
    76.4 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
    76.5 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
    76.6 +@@ -155,7 +155,6 @@
    76.7 + # include <sys/procfs.h>
    76.8 + #endif
    76.9 + #include <sys/user.h>
   76.10 +-#include <sys/ustat.h>
   76.11 + #include <linux/cyclades.h>
   76.12 + #include <linux/if_eql.h>
   76.13 + #include <linux/if_plip.h>
   76.14 +@@ -248,7 +247,19 @@
   76.15 + #endif // SANITIZER_LINUX || SANITIZER_FREEBSD
   76.16 + 
   76.17 + #if SANITIZER_LINUX && !SANITIZER_ANDROID
   76.18 +-  unsigned struct_ustat_sz = sizeof(struct ustat);
   76.19 ++  // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which
   76.20 ++  // has been removed from glibc 2.28.
   76.21 ++#if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \
   76.22 ++  || defined(__powerpc64__) || defined(__arch64__) || defined(__sparcv9) \
   76.23 ++  || defined(__x86_64__)
   76.24 ++#define SIZEOF_STRUCT_USTAT 32
   76.25 ++#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
   76.26 ++  || defined(__powerpc__) || defined(__s390__)
   76.27 ++#define SIZEOF_STRUCT_USTAT 20
   76.28 ++#else
   76.29 ++#error Unknown size of struct ustat
   76.30 ++#endif
   76.31 ++  unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT;
   76.32 +   unsigned struct_rlimit64_sz = sizeof(struct rlimit64);
   76.33 +   unsigned struct_statvfs64_sz = sizeof(struct statvfs64);
   76.34 + #endif // SANITIZER_LINUX && !SANITIZER_ANDROID
    77.1 --- a/gcr-base/receipt	Mon Oct 16 18:37:14 2023 +0000
    77.2 +++ b/gcr-base/receipt	Sun Jan 14 08:12:37 2024 +0000
    77.3 @@ -1,7 +1,7 @@
    77.4  # Slitaz package receipt.
    77.5  
    77.6  PACKAGE="gcr-base"
    77.7 -VERSION="3.28.1"
    77.8 +VERSION="3.40.0"
    77.9  CATEGORY="security"
   77.10  SHORT_DESC="Displaying certificates and access key stores base file"
   77.11  MAINTAINER="devel@slitaz.org"
    78.1 --- a/gcr-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    78.2 +++ b/gcr-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    78.3 @@ -1,7 +1,7 @@
    78.4  # Slitaz package receipt.
    78.5  
    78.6  PACKAGE="gcr-dev"
    78.7 -VERSION="3.28.1"
    78.8 +VERSION="3.40.0"
    78.9  CATEGORY="security"
   78.10  SHORT_DESC="Development files for gcr"
   78.11  MAINTAINER="devel@slitaz.org"
   78.12 @@ -17,4 +17,6 @@
   78.13  	mkdir -p $fs/usr/share $fs/usr/lib
   78.14  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   78.15  	cp -a $install/usr/include $fs/usr
   78.16 +	cp -a $install/usr/share/gir-1.0 $fs/usr/share
   78.17 +	cp -a $install/usr/share/vala $fs/usr/share
   78.18  }
    79.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    79.2 +++ b/gcr-ui/receipt	Sun Jan 14 08:12:37 2024 +0000
    79.3 @@ -0,0 +1,16 @@
    79.4 +# Slitaz package receipt.
    79.5 +
    79.6 +PACKAGE="gcr-ui"
    79.7 +VERSION="3.40.0"
    79.8 +CATEGORY="security"
    79.9 +SHORT_DESC="Displaying certificates and access key stores UI file"
   79.10 +MAINTAINER="devel@slitaz.org"
   79.11 +LICENSE="GPL2"
   79.12 +WEB_SITE="https://developer.gnome.org/gcr/"
   79.13 +WANTED="gcr"
   79.14 +
   79.15 +genpkg_rules()
   79.16 +{
   79.17 +	mkdir -p $fs/usr/lib
   79.18 +	cp -a $install/usr/lib/libgcr-ui*.so* $fs/usr/lib
   79.19 +}
    80.1 --- a/gcr/receipt	Mon Oct 16 18:37:14 2023 +0000
    80.2 +++ b/gcr/receipt	Sun Jan 14 08:12:37 2024 +0000
    80.3 @@ -1,7 +1,7 @@
    80.4  # Slitaz package receipt.
    80.5  
    80.6  PACKAGE="gcr"
    80.7 -VERSION="3.28.1"
    80.8 +VERSION="3.40.0"
    80.9  CATEGORY="security"
   80.10  SHORT_DESC="Displaying certificates and access key stores"
   80.11  MAINTAINER="devel@slitaz.org"
   80.12 @@ -11,14 +11,26 @@
   80.13  WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   80.14  
   80.15  BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev \
   80.16 -gtk+3-dev vala p11-kit-dev libgcrypt-dev"
   80.17 +gtk+3-dev vala p11-kit-dev libgcrypt-dev gnupg meson"
   80.18  
   80.19  # Rules to configure and make the package.
   80.20  compile_rules()
   80.21  {
   80.22 -	./configure $CONFIGURE_ARGS &&
   80.23 -	make &&
   80.24 -	make DESTDIR=$install install
   80.25 +	# Patch to work with new meson
   80.26 +	# see https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81/diffs
   80.27 +	patch -p1 < $stuff/remove-packages-arg-meson-0.61.patch
   80.28 +
   80.29 +        meson build \
   80.30 +            --prefix=/usr \
   80.31 +            --libdir=lib \
   80.32 +            --bindir=/usr/bin \
   80.33 +            --sbindir=/usr/sbin \
   80.34 +            --buildtype=release \
   80.35 +	-Dintrospection=true \
   80.36 +	-Dgtk=true \
   80.37 +	-Dgtk_doc=false &&
   80.38 +        ninja -C build &&
   80.39 +        ninja -C build install
   80.40  }
   80.41  
   80.42  genpkg_rules()
    81.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.2 +++ b/gcr/stuff/remove-packages-arg-meson-0.61.patch	Sun Jan 14 08:12:37 2024 +0000
    81.3 @@ -0,0 +1,30 @@
    81.4 +--- a/gck/meson.build
    81.5 ++++ b/gck/meson.build
    81.6 +@@ -131,7 +131,6 @@
    81.7 +     sources: gck_gir_sources,
    81.8 +     namespace: 'Gck',
    81.9 +     nsversion: '@0@'.format(gck_major_version),
   81.10 +-    packages: gck_deps,
   81.11 +     export_packages: 'gck-@0@'.format(gck_major_version),
   81.12 +     includes: [ 'GObject-2.0', 'Gio-2.0' ],
   81.13 +     header: 'gck/gck.h',
   81.14 +--- a/gcr/meson.build
   81.15 ++++ b/gcr/meson.build
   81.16 +@@ -189,7 +189,6 @@
   81.17 +     sources: [ gcr_base_public_sources, gcr_base_headers ],
   81.18 +     namespace: 'Gcr',
   81.19 +     nsversion: '@0@'.format(gcr_major_version),
   81.20 +-    packages: gcr_base_deps,
   81.21 +     export_packages: 'gcr-base-@0@'.format(gcr_major_version),
   81.22 +     includes: [
   81.23 +       'GObject-2.0',
   81.24 +--- a/ui/meson.build
   81.25 ++++ b/ui/meson.build
   81.26 +@@ -152,7 +152,6 @@
   81.27 +     export_packages: 'gcr-ui-@0@'.format(gcr_major_version),
   81.28 +     identifier_prefix: 'Gcr',
   81.29 +     symbol_prefix: 'gcr',
   81.30 +-    packages: gcr_ui_deps,
   81.31 +     includes: [
   81.32 +       'GObject-2.0',
   81.33 +       'Gio-2.0',
    82.1 --- a/gdb-python/receipt	Mon Oct 16 18:37:14 2023 +0000
    82.2 +++ b/gdb-python/receipt	Sun Jan 14 08:12:37 2024 +0000
    82.3 @@ -13,8 +13,8 @@
    82.4  WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
    82.5  PROVIDE="gdb"
    82.6  SUGGESTED="gdb-lang"
    82.7 -DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses python"
    82.8 -BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev python-dev"
    82.9 +DEPENDS="expat gcc-lib-base glibc-dev gmp ncurses python"
   82.10 +BUILD_DEPENDS="gcc gmp-dev ncurses-dev python-dev"
   82.11  
   82.12  # What is the latest version available today?
   82.13  current_version()
   82.14 @@ -27,8 +27,6 @@
   82.15  compile_rules()
   82.16  {
   82.17  	./configure			\
   82.18 -		CC=gcc-83		\
   82.19 -		CXX=g++-83		\
   82.20  		--disable-werror	\
   82.21  		$CONFIGURE_ARGS &&
   82.22  	make $MAKEFLAGS &&
    83.1 --- a/gdb/receipt	Mon Oct 16 18:37:14 2023 +0000
    83.2 +++ b/gdb/receipt	Sun Jan 14 08:12:37 2024 +0000
    83.3 @@ -13,8 +13,8 @@
    83.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    83.5  
    83.6  SUGGESTED="gdb-lang"
    83.7 -DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses"
    83.8 -BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev"
    83.9 +DEPENDS="expat gcc-lib-base glibc-dev gmp ncurses"
   83.10 +BUILD_DEPENDS="gcc gmp-dev ncurses-dev readline-dev"
   83.11  
   83.12  HOST_ARCH="i486 arm"
   83.13  
   83.14 @@ -30,8 +30,6 @@
   83.15  compile_rules()
   83.16  {
   83.17  	./configure			\
   83.18 -		CC=gcc-83		\
   83.19 -		CXX=g++-83		\
   83.20  		--with-python=no	\
   83.21  		--disable-werror	\
   83.22  		$CONFIGURE_ARGS &&
    84.1 --- a/gdk-pixbuf-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    84.2 +++ b/gdk-pixbuf-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    84.3 @@ -1,14 +1,15 @@
    84.4  # SliTaz package receipt.
    84.5  
    84.6  PACKAGE="gdk-pixbuf-dev"
    84.7 -VERSION="2.31.1"
    84.8 +VERSION="2.42.6"
    84.9  CATEGORY="development"
   84.10  SHORT_DESC="Development files for gdk-pixbuf."
   84.11  MAINTAINER="slaxemulator@gmail.com"
   84.12  LICENSE="GPL2"
   84.13  WEB_SITE="https://www.gtk.org/"
   84.14  
   84.15 -DEPENDS="gdk-pixbuf glib-dev jpeg-dev libpng-dev pkg-config"
   84.16 +DEPENDS="gdk-pixbuf tiff-dev shared-mime-info-dev \
   84.17 +glib-dev jpeg-dev libpng-dev pkg-config"
   84.18  WANTED="gdk-pixbuf"
   84.19  
   84.20  HOST_ARCH="i486 arm"
    85.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    85.2 +++ b/gdk-pixbuf-xlib-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    85.3 @@ -0,0 +1,22 @@
    85.4 +# SliTaz package receipt.
    85.5 +
    85.6 +PACKAGE="gdk-pixbuf-xlib-dev"
    85.7 +VERSION="2.40.2"
    85.8 +CATEGORY="development"
    85.9 +SHORT_DESC="Development files for gdk-pixbuf-xlib."
   85.10 +MAINTAINER="maintainer@slitaz.org"
   85.11 +LICENSE="GPL2"
   85.12 +WEB_SITE="https://www.gtk.org/"
   85.13 +
   85.14 +DEPENDS="gdk-pixbuf-xlib"
   85.15 +WANTED="gdk-pixbuf-xlib"
   85.16 +
   85.17 +HOST_ARCH="i486 arm"
   85.18 +
   85.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
   85.20 +genpkg_rules()
   85.21 +{
   85.22 +	mkdir -p $fs/usr/lib
   85.23 +	cp -a $install/usr/include		$fs/usr
   85.24 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   85.25 +}
    86.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    86.2 +++ b/gdk-pixbuf-xlib/receipt	Sun Jan 14 08:12:37 2024 +0000
    86.3 @@ -0,0 +1,65 @@
    86.4 +# SliTaz package receipt.
    86.5 +
    86.6 +PACKAGE="gdk-pixbuf-xlib"
    86.7 +VERSION="2.40.2"
    86.8 +CATEGORY="x-window"
    86.9 +SHORT_DESC="GdkPixbuf/Xlib API."
   86.10 +MAINTAINER="maintainer@slitaz.org"
   86.11 +LICENSE="GPL2"
   86.12 +WEB_SITE="https://www.gtk.org/"
   86.13 +
   86.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   86.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   86.16 +
   86.17 +DEPENDS="gdk-pixbuf"
   86.18 +BUILD_DEPENDS="gdk-pixbuf-dev meson"
   86.19 +
   86.20 +HOST_ARCH="i486 arm"
   86.21 +
   86.22 +# Handle cross compilation
   86.23 +case "$ARCH" in
   86.24 +	(i?86)
   86.25 +		BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev"
   86.26 +		;;
   86.27 +	(arm)
   86.28 +		ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache"
   86.29 +		;;
   86.30 +esac
   86.31 +
   86.32 +current_version()
   86.33 +{
   86.34 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
   86.35 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
   86.36 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
   86.37 +}
   86.38 +
   86.39 +# Rules to configure and make the package.
   86.40 +compile_rules()
   86.41 +{
   86.42 +	case "$ARCH" in
   86.43 +		(arm) echo "gio_can_sniff=yes" > arm.cache ;;
   86.44 +	esac
   86.45 +
   86.46 +        meson build \
   86.47 +            --prefix=/usr \
   86.48 +            --libdir=lib \
   86.49 +            --bindir=/usr/bin \
   86.50 +            --sbindir=/usr/sbin \
   86.51 +            --buildtype=release &&
   86.52 +        ninja -C build &&
   86.53 +        ninja -C build install
   86.54 +}
   86.55 +
   86.56 +# Rules to gen a SliTaz package suitable for Tazpkg.
   86.57 +genpkg_rules()
   86.58 +{
   86.59 +	mkdir -p $fs/usr/lib
   86.60 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
   86.61 +}
   86.62 +
   86.63 +# Pre and post install commands for Tazpkg.
   86.64 +post_install()
   86.65 +{
   86.66 +	# Updating gdk pixbuf loaders cache file...
   86.67 +	chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
   86.68 +}
    87.1 --- a/gdk-pixbuf/receipt	Mon Oct 16 18:37:14 2023 +0000
    87.2 +++ b/gdk-pixbuf/receipt	Sun Jan 14 08:12:37 2024 +0000
    87.3 @@ -1,7 +1,7 @@
    87.4  # SliTaz package receipt.
    87.5  
    87.6  PACKAGE="gdk-pixbuf"
    87.7 -VERSION="2.31.1"
    87.8 +VERSION="2.42.6"
    87.9  CATEGORY="x-window"
   87.10  SHORT_DESC="An image loading library for gtk2."
   87.11  MAINTAINER="slaxemulator@gmail.com"
   87.12 @@ -13,7 +13,7 @@
   87.13  
   87.14  DEPENDS="glib jpeg libgio libjpeg libpng shared-mime-info tiff xorg-libX11 zlib"
   87.15  BUILD_DEPENDS="glib-dev jbigkit jpeg-dev libgio-dev libjpeg libpng-dev 
   87.16 -	shared-mime-info-dev tiff-dev xorg-libX11-dev zlib-dev"
   87.17 +	shared-mime-info-dev tiff-dev xorg-libX11-dev zlib-dev meson"
   87.18  
   87.19  HOST_ARCH="i486 arm"
   87.20  
   87.21 @@ -41,13 +41,15 @@
   87.22  		(arm) echo "gio_can_sniff=yes" > arm.cache ;;
   87.23  	esac
   87.24  
   87.25 -	./configure			\
   87.26 -		--disable-glibtest	\
   87.27 -		--without-libjasper	\
   87.28 -		--with-x11		\
   87.29 -		$CONFIGURE_ARGS $ARCH_ARGS &&
   87.30 -	make &&
   87.31 -	make install
   87.32 +        meson build \
   87.33 +            --prefix=/usr \
   87.34 +            --libdir=lib \
   87.35 +            --bindir=/usr/bin \
   87.36 +            --sbindir=/usr/sbin \
   87.37 +            --buildtype=release \
   87.38 +	-Dinstalled_tests=false	&&
   87.39 +        ninja -C build &&
   87.40 +        ninja -C build install
   87.41  }
   87.42  
   87.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    88.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    88.2 +++ b/get-hplip-plugin/receipt	Sun Jan 14 08:12:37 2024 +0000
    88.3 @@ -0,0 +1,17 @@
    88.4 +# SliTaz package receipt.
    88.5 +
    88.6 +PACKAGE="get-hplip-plugin"
    88.7 +VERSION="1.00"
    88.8 +CATEGORY="non-free"
    88.9 +SHORT_DESC="Get Binary plugin for HPs hplip printer driver library."
   88.10 +MAINTAINER="shann@slitaz.org"
   88.11 +LICENSE="BSD"
   88.12 +WEB_SITE="https://hplipopensource.com/"
   88.13 +
   88.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
   88.15 +genpkg_rules()
   88.16 +{
   88.17 +	mkdir -p $fs/usr/bin
   88.18 +	install -o root -g root -m755 \
   88.19 +		stuff/get-hplip-plugin   $fs/usr/bin
   88.20 +}
    89.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    89.2 +++ b/get-hplip-plugin/stuff/get-hplip-plugin	Sun Jan 14 08:12:37 2024 +0000
    89.3 @@ -0,0 +1,121 @@
    89.4 +#!/bin/sh -e
    89.5 +
    89.6 +PACKAGE="hplip-plugin"
    89.7 +VERSION="3.20.5"
    89.8 +WEB_SITE="https://hplipopensource.com/"
    89.9 +CATEGORY="non-free"
   89.10 +SHORT_DESC="Binary plugin for HPs hplip printer driver library."
   89.11 +MAINTAINER="shann@slitaz.org"
   89.12 +DEPENDS="Py3Qt-x11-gpl pygobject3 python3-distro python3-pillow"
   89.13 +URL="https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins"
   89.14 +
   89.15 +# Declare functions check_root, status, ...
   89.16 +. /lib/libtaz.sh
   89.17 +
   89.18 +ROOT="$1"
   89.19 +[ -d "$ROOT" ] || ROOT=""
   89.20 +
   89.21 +if test $(id -u) != 0 ; then
   89.22 +        echo -e "\nYou must be root to run `basename $0`."
   89.23 +        echo -e "Please type 'su' and root password to become super-user.\n"
   89.24 +        exit 0
   89.25 +fi
   89.26 +
   89.27 +if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then
   89.28 +        [ -n "$ROOT" ] && exit 1
   89.29 +        tazpkg remove $PACKAGE
   89.30 +        [ -d /var/lib/tazpkg/installed/$PACKAGE ] && exit 1
   89.31 +fi
   89.32 +
   89.33 +TMP_DIR=/tmp/get-$PACKAGE-$$-$RANDOM
   89.34 +CUR_DIR=$(pwd)
   89.35 +mkdir -p $TMP_DIR && cd $TMP_DIR
   89.36 +
   89.37 +# Download tarball
   89.38 +action "Fetching the archive..."
   89.39 +FILE=hplip-$VERSION-plugin.run
   89.40 +wget -q -O $FILE "$URL/$FILE"
   89.41 +status
   89.42 +
   89.43 +if [ ! -f $FILE ]; then
   89.44 +        cd $CUR_DIR
   89.45 +        rm -rf $TMP_DIR
   89.46 +        echo "Could not download $FILE from $URL. Exiting."
   89.47 +        exit 1
   89.48 +fi
   89.49 +
   89.50 +sed -i 's/df -kP/df -k/' $FILE
   89.51 +
   89.52 +# Extract
   89.53 +action "Extracting the archive..."
   89.54 +newline
   89.55 +sh $FILE --noexec --target hplip-$VERSION-plugin > /dev/null
   89.56 +status
   89.57 +
   89.58 +# Create package tree
   89.59 +action "Preparing package..."
   89.60 +mkdir -p $PACKAGE/fs/usr/share/hplip/data/firmware
   89.61 +mkdir -p $PACKAGE/fs/usr/share/hplip/fax/plugins
   89.62 +mkdir -p $PACKAGE/fs/usr/share/hplip/prnt/plugins
   89.63 +mkdir -p $PACKAGE/fs/usr/share/hplip/scan/plugins
   89.64 +mkdir -p $PACKAGE/fs/var/lib/hp
   89.65 +mkdir -p $PACKAGE/fs/usr/share/licenses
   89.66 +
   89.67 +# Copy files
   89.68 +cp hplip-$VERSION-plugin/plugin.spec $PACKAGE/fs/usr/share/hplip
   89.69 +cp hplip-$VERSION-plugin/hp_laserjet_*.fw.gz $PACKAGE/fs/usr/share/hplip/data/firmware
   89.70 +cp hplip-$VERSION-plugin/fax_marvell-x86_32.so $PACKAGE/fs/usr/share/hplip/fax/plugins
   89.71 +cp hplip-$VERSION-plugin/hbpl1-x86_32.so $PACKAGE/fs/usr/share/hplip/prnt/plugins
   89.72 +cp hplip-$VERSION-plugin/lj-x86_32.so $PACKAGE/fs/usr/share/hplip/prnt/plugins
   89.73 +cp hplip-$VERSION-plugin/bb_*-x86_32.so $PACKAGE/fs/usr/share/hplip/scan/plugins
   89.74 +cp hplip-$VERSION-plugin/license.txt $PACKAGE/fs/usr/share/licenses/hplip-plugin.txt
   89.75 +
   89.76 +# Create hplip.state
   89.77 +cat << EOF > $PACKAGE/fs/var/lib/hp/hplip.state
   89.78 +[plugin]
   89.79 +installed = 1
   89.80 +eula = 1
   89.81 +version = $VERSION
   89.82 +EOF
   89.83 +
   89.84 +# Symlinks
   89.85 +find "$PACKAGE/fs/usr/share/hplip" -type f -name "*.so" | while read f; do
   89.86 +    lib_dir="${f%/*}"
   89.87 +    lib_name="${f##*/}"
   89.88 +    ln -sf "$lib_name" "$lib_dir/${lib_name%%-*}.so"
   89.89 +done
   89.90 +
   89.91 +# Ensure .so has exec permission
   89.92 +find "$PACKAGE/fs/usr/share/hplip" -type f -name "*.so" -exec chmod +x {} \;
   89.93 +
   89.94 +# Prepare package
   89.95 +mv $PACKAGE $PACKAGE-$VERSION
   89.96 +
   89.97 +cat > $PACKAGE-$VERSION/receipt <<EOT
   89.98 +PACKAGE="$PACKAGE"
   89.99 +VERSION="$VERSION"
  89.100 +CATEGORY="$CATEGORY"
  89.101 +SHORT_DESC="$SHORT_DESC"
  89.102 +MAINTAINER="$MAINTAINER"
  89.103 +DEPENDS="$DEPENDS"
  89.104 +WEB_SITE="$WEB_SITE"
  89.105 +EOT
  89.106 +
  89.107 +status
  89.108 +
  89.109 +# Pack
  89.110 +tazpkg pack $PACKAGE-$VERSION
  89.111 +
  89.112 +# Clean to save RAM memory
  89.113 +rm -rf $PACKAGE-$VERSION
  89.114 +
  89.115 +# Install pseudo package
  89.116 +tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
  89.117 +case " $@ " in
  89.118 +    *\ --k*) mv $PACKAGE-$VERSION.tazpkg $CUR_DIR && 
  89.119 +	     echo Saved $PACKAGE-$VERSION.tazpkg to $CUR_DIR ;;
  89.120 +esac
  89.121 +
  89.122 +# Remove temporary build directory
  89.123 +cd $CUR_DIR
  89.124 +rm -rf $TMP_DIR
    90.1 --- a/gfortran/receipt	Mon Oct 16 18:37:14 2023 +0000
    90.2 +++ b/gfortran/receipt	Sun Jan 14 08:12:37 2024 +0000
    90.3 @@ -1,7 +1,7 @@
    90.4  # SliTaz package receipt.
    90.5  
    90.6  PACKAGE="gfortran"
    90.7 -VERSION="6.3.0"
    90.8 +VERSION="8.3.0"
    90.9  CATEGORY="development"
   90.10  SHORT_DESC="GCC fortran extension."
   90.11  WEB_SITE="http://gcc.gnu.org/"
    91.1 --- a/git/receipt	Mon Oct 16 18:37:14 2023 +0000
    91.2 +++ b/git/receipt	Sun Jan 14 08:12:37 2024 +0000
    91.3 @@ -1,7 +1,7 @@
    91.4  # SliTaz package receipt.
    91.5  
    91.6  PACKAGE="git"
    91.7 -VERSION="2.35.1"
    91.8 +VERSION="2.35.8"
    91.9  CATEGORY="development"
   91.10  SHORT_DESC="Fast version control system."
   91.11  MAINTAINER="b1+slitaz@nagel.org"
    92.1 --- a/glew-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    92.2 +++ b/glew-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    92.3 @@ -1,7 +1,7 @@
    92.4  # SliTaz package receipt.
    92.5  
    92.6  PACKAGE="glew-dev"
    92.7 -VERSION="2.1.0"
    92.8 +VERSION="2.2.0"
    92.9  CATEGORY="development"
   92.10  SHORT_DESC="The OpenGL Extension Wrangler Library. (development files)"
   92.11  MAINTAINER="pascal.bellard@slitaz.org"
    93.1 --- a/glew/receipt	Mon Oct 16 18:37:14 2023 +0000
    93.2 +++ b/glew/receipt	Sun Jan 14 08:12:37 2024 +0000
    93.3 @@ -1,7 +1,7 @@
    93.4  # SliTaz package receipt.
    93.5  
    93.6  PACKAGE="glew"
    93.7 -VERSION="2.1.0"
    93.8 +VERSION="2.2.0"
    93.9  CATEGORY="x-window"
   93.10  SHORT_DESC="The OpenGL Extension Wrangler Library."
   93.11  MAINTAINER="pascal.bellard@slitaz.org"
    94.1 --- a/glib-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    94.2 +++ b/glib-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    94.3 @@ -1,7 +1,7 @@
    94.4  # SliTaz package receipt.
    94.5  
    94.6  PACKAGE="glib-dev"
    94.7 -VERSION="2.43.3"
    94.8 +VERSION="2.70.3"
    94.9  CATEGORY="development"
   94.10  SHORT_DESC="C routines devel files and utilities (with Python codegen)."
   94.11  MAINTAINER="pankso@slitaz.org"
   94.12 @@ -10,7 +10,7 @@
   94.13  WEB_SITE="https://www.gtk.org/"
   94.14  HOST_ARCH="i486 arm"
   94.15  
   94.16 -DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev pkg-config"
   94.17 +DEPENDS="glib perl python3 libffi-dev libgio libgio-dev pcre-dev pkg-config"
   94.18  
   94.19  # Rules to gen a SliTaz package suitable for Tazpkg.
   94.20  genpkg_rules()
    95.1 --- a/glib-networking-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
    95.2 +++ b/glib-networking-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
    95.3 @@ -1,7 +1,7 @@
    95.4  # SliTaz package receipt.
    95.5  
    95.6  PACKAGE="glib-networking-dev"
    95.7 -VERSION="2.43.1"
    95.8 +VERSION="2.70.1"
    95.9  CATEGORY="development"
   95.10  SHORT_DESC="The glib-networking devel files."
   95.11  MAINTAINER="pankso@slitaz.org"
    96.1 --- a/glib-networking/receipt	Mon Oct 16 18:37:14 2023 +0000
    96.2 +++ b/glib-networking/receipt	Sun Jan 14 08:12:37 2024 +0000
    96.3 @@ -1,7 +1,7 @@
    96.4  # SliTaz package receipt.
    96.5  
    96.6  PACKAGE="glib-networking"
    96.7 -VERSION="2.43.1"
    96.8 +VERSION="2.70.1"
    96.9  CATEGORY="x-window"
   96.10  SHORT_DESC="TLS support for glib."
   96.11  MAINTAINER="pankso@slitaz.org"
   96.12 @@ -12,7 +12,7 @@
   96.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   96.14  
   96.15  DEPENDS="glib libgio libgnutls libunistring"
   96.16 -BUILD_DEPENDS="glib-dev gnutls-dev libgio-dev libgnutls libunistring-dev"
   96.17 +BUILD_DEPENDS="glib-dev gnutls-dev libgio-dev libgnutls libunistring-dev meson"
   96.18  
   96.19  HOST_ARCH="i486 arm"
   96.20  
   96.21 @@ -29,12 +29,14 @@
   96.22  # Rules to configure and make the package.
   96.23  compile_rules()
   96.24  {
   96.25 -	./configure				\
   96.26 -		--prefix=/usr			\
   96.27 -		--without-ca-certificates	\
   96.28 -		$CONFIGURE_ARGS &&
   96.29 -	make &&
   96.30 -	make install
   96.31 +        meson build \
   96.32 +            --prefix=/usr \
   96.33 +            --libdir=lib \
   96.34 +            --bindir=/usr/bin \
   96.35 +            --sbindir=/usr/sbin \
   96.36 +            --buildtype=release &&
   96.37 +        ninja -C build &&
   96.38 +        ninja -C build install
   96.39  }
   96.40  
   96.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    97.1 --- a/glib/receipt	Mon Oct 16 18:37:14 2023 +0000
    97.2 +++ b/glib/receipt	Sun Jan 14 08:12:37 2024 +0000
    97.3 @@ -1,7 +1,7 @@
    97.4  # SliTaz package receipt.
    97.5  
    97.6  PACKAGE="glib"
    97.7 -VERSION="2.43.3"
    97.8 +VERSION="2.70.3"
    97.9  CATEGORY="x-window"
   97.10  SHORT_DESC="C routines."
   97.11  MAINTAINER="pankso@slitaz.org"
   97.12 @@ -11,9 +11,9 @@
   97.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"  
   97.14  HOST_ARCH="i486 arm"
   97.15  
   97.16 -DEPENDS="pcre libffi libxml2 elfutils"
   97.17 -BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python-dev \
   97.18 -elfutils-dev libxml2-dev libxml2-tools automake"
   97.19 +DEPENDS="pcre libffi libxml2 elfutils python3"
   97.20 +BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python3-dev \
   97.21 +elfutils-dev libxml2-dev libxml2-tools meson"
   97.22  
   97.23  # Handle cross comilation. Use host Perl, Python, etc
   97.24  case "$ARCH" in
   97.25 @@ -29,16 +29,22 @@
   97.26  # Rules to configure and make the package.
   97.27  compile_rules()
   97.28  {
   97.29 -
   97.30 -	# Fix build with gcc >= 6.x
   97.31 -	patch -p1 -i $stuff/glib-2.41.2-ignore-format-nonliteral-warning.patch
   97.32 +	# Workaround for webkitgtk build
   97.33 +	# see https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1935
   97.34 +	patch -p1 < $stuff/glib-webkitgtk-workaround.patch
   97.35  
   97.36  	case "$ARCH" in
   97.37  		i?86)
   97.38 -			./configure \
   97.39 -				--sysconfdir=/etc \
   97.40 -				--with-pcre=system \
   97.41 -				$CONFIGURE_ARGS ;;
   97.42 +			meson build \
   97.43 +			    --prefix=/usr \
   97.44 +			    --libdir=lib \
   97.45 +			    --bindir=/usr/bin \
   97.46 +			    --sbindir=/usr/sbin \
   97.47 +			    --buildtype=release \
   97.48 +			    -Dselinux=disabled \
   97.49 +			    --default-library=both &&
   97.50 +			ninja -C build &&
   97.51 +			ninja -C build install ;;
   97.52  		arm*)
   97.53  			# Native ARM build --> if ARCH != SLITAZ_ARCH ?
   97.54  			export LD_LIBRARY_PATH=/cross/$ARCH/sysroot/usr/lib:/usr/lib:/lib
   97.55 @@ -61,8 +67,7 @@
   97.56  				--enable-shared=yes \
   97.57  				--enable-static=yes \
   97.58  				--disable-rpath ;;
   97.59 -	esac && 
   97.60 -	make && make install
   97.61 +	esac 
   97.62  }
   97.63  
   97.64  # Rules to gen a SliTaz package suitable for Tazpkg.
    98.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    98.2 +++ b/glib/stuff/glib-webkitgtk-workaround.patch	Sun Jan 14 08:12:37 2024 +0000
    98.3 @@ -0,0 +1,12 @@
    98.4 +--- a/glib/glib-typeof.h
    98.5 ++++ b/glib/glib-typeof.h
    98.6 +@@ -36,7 +36,9 @@
    98.7 + #define glib_typeof(t) __typeof__ (t)
    98.8 + #elif defined(__cplusplus) && __cplusplus >= 201103L && GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_68
    98.9 + /* C++11 decltype() is close enough for our usage */
   98.10 ++extern "C++" {
   98.11 + #include <type_traits>
   98.12 ++}
   98.13 + #define glib_typeof(t) typename std::remove_reference<decltype (t)>::type
   98.14 + #endif
   98.15 + 
    99.1 --- a/glibc-base/receipt	Mon Oct 16 18:37:14 2023 +0000
    99.2 +++ b/glibc-base/receipt	Sun Jan 14 08:12:37 2024 +0000
    99.3 @@ -1,7 +1,7 @@
    99.4  # SliTaz package receipt.
    99.5  
    99.6  PACKAGE="glibc-base"
    99.7 -VERSION="2.23"
    99.8 +VERSION="2.28"
    99.9  CATEGORY="base-system"
   99.10  SHORT_DESC="GNU libc minimal libraries and UTF-8 support for SliTaz."
   99.11  WEB_SITE="http://www.gnu.org/software/libc/"
   100.1 --- a/glibc-base/stuff/i486-files.list	Mon Oct 16 18:37:14 2023 +0000
   100.2 +++ b/glibc-base/stuff/i486-files.list	Sun Jan 14 08:12:37 2024 +0000
   100.3 @@ -1,18 +1,18 @@
   100.4 -/lib/libutil-2.23.so
   100.5 -/lib/libnss_dns-2.23.so
   100.6 -/lib/libnsl-2.23.so
   100.7 -/lib/libanl-2.23.so
   100.8 -/lib/libm-2.23.so
   100.9 -/lib/libpthread-2.23.so
  100.10 +/lib/libutil-2.28.so
  100.11 +/lib/libnss_dns-2.28.so
  100.12 +/lib/libnsl-2.28.so
  100.13 +/lib/libanl-2.28.so
  100.14 +/lib/libm-2.28.so
  100.15 +/lib/libpthread-2.28.so
  100.16  /lib/libthread_db-1.0.so
  100.17 -/lib/libnss_compat-2.23.so
  100.18 -/lib/libc-2.23.so
  100.19 -/lib/librt-2.23.so
  100.20 -/lib/libcrypt-2.23.so
  100.21 -/lib/ld-2.23.so
  100.22 -/lib/libresolv-2.23.so
  100.23 -/lib/libnss_files-2.23.so
  100.24 -/lib/libdl-2.23.so
  100.25 +/lib/libnss_compat-2.28.so
  100.26 +/lib/libc-2.28.so
  100.27 +/lib/librt-2.28.so
  100.28 +/lib/libcrypt-2.28.so
  100.29 +/lib/ld-2.28.so
  100.30 +/lib/libresolv-2.28.so
  100.31 +/lib/libnss_files-2.28.so
  100.32 +/lib/libdl-2.28.so
  100.33  
  100.34  /usr/lib/gconv/UNICODE.so
  100.35  /usr/lib/gconv/gconv-modules
   101.1 --- a/glibc-base/stuff/wanted-files.list	Mon Oct 16 18:37:14 2023 +0000
   101.2 +++ b/glibc-base/stuff/wanted-files.list	Sun Jan 14 08:12:37 2024 +0000
   101.3 @@ -1,18 +1,18 @@
   101.4 -/lib/libutil-2.23.so
   101.5 -/lib/libnss_dns-2.23.so
   101.6 -/lib/libnsl-2.23.so
   101.7 -/lib/libanl-2.23.so
   101.8 -/lib/libm-2.23.so
   101.9 -/lib/libpthread-2.23.so
  101.10 +/lib/libutil-2.28.so
  101.11 +/lib/libnss_dns-2.28.so
  101.12 +/lib/libnsl-2.28.so
  101.13 +/lib/libanl-2.28.so
  101.14 +/lib/libm-2.28.so
  101.15 +/lib/libpthread-2.28.so
  101.16  /lib/libthread_db-1.0.so
  101.17 -/lib/libnss_compat-2.23.so
  101.18 -/lib/libc-2.23.so
  101.19 -/lib/librt-2.23.so
  101.20 -/lib/libcrypt-2.23.so
  101.21 -/lib/ld-2.23.so
  101.22 -/lib/libresolv-2.23.so
  101.23 -/lib/libnss_files-2.23.so
  101.24 -/lib/libdl-2.23.so
  101.25 +/lib/libnss_compat-2.28.so
  101.26 +/lib/libc-2.28.so
  101.27 +/lib/librt-2.28.so
  101.28 +/lib/libcrypt-2.28.so
  101.29 +/lib/ld-2.28.so
  101.30 +/lib/libresolv-2.28.so
  101.31 +/lib/libnss_files-2.28.so
  101.32 +/lib/libdl-2.28.so
  101.33  
  101.34  /usr/lib/gconv/UNICODE.so
  101.35  /usr/lib/gconv/gconv-modules
  101.36 @@ -31,6 +31,7 @@
  101.37  /usr/share/i18n/charmaps/UTF-8.gz
  101.38  
  101.39  /usr/share/i18n/locales/i18n
  101.40 +/usr/share/i18n/locales/i18n_ctype
  101.41  /usr/share/i18n/locales/iso14651_t1 
  101.42  /usr/share/i18n/locales/iso14651_t1_common 
  101.43  /usr/share/i18n/locales/translit_neutral 
   102.1 --- a/glibc-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   102.2 +++ b/glibc-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   102.3 @@ -1,7 +1,7 @@
   102.4  # SliTaz package receipt.
   102.5  
   102.6  PACKAGE="glibc-dev"
   102.7 -VERSION="2.23"
   102.8 +VERSION="2.28"
   102.9  CATEGORY="development"
  102.10  SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
  102.11  MAINTAINER="pankso@slitaz.org"
   103.1 --- a/glibc-locale/receipt	Mon Oct 16 18:37:14 2023 +0000
   103.2 +++ b/glibc-locale/receipt	Sun Jan 14 08:12:37 2024 +0000
   103.3 @@ -1,7 +1,7 @@
   103.4  # SliTaz package receipt.
   103.5  
   103.6  PACKAGE="glibc-locale"
   103.7 -VERSION="2.23"
   103.8 +VERSION="2.28"
   103.9  CATEGORY="system-tools"
  103.10  SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)."
  103.11  MAINTAINER="pankso@slitaz.org"
   104.1 --- a/glibc/receipt	Mon Oct 16 18:37:14 2023 +0000
   104.2 +++ b/glibc/receipt	Sun Jan 14 08:12:37 2024 +0000
   104.3 @@ -1,7 +1,7 @@
   104.4  # SliTaz package receipt.
   104.5  
   104.6  PACKAGE="glibc"
   104.7 -VERSION="2.23"
   104.8 +VERSION="2.28"
   104.9  CATEGORY="meta"
  104.10  SHORT_DESC="The GNU C libraries. This package is used to compile the libc."
  104.11  MAINTAINER="pankso@slitaz.org"
  104.12 @@ -87,11 +87,11 @@
  104.13          # Fix a bug that prevents Glibc from building with GCC-6.3.0
  104.14          # https://bugzilla.redhat.com/show_bug.cgi?id=1312963 (-Werror=parentheses)
  104.15          # https://sourceware.org/pipermail/libc-alpha/2015-April/059886.html (array-bounds)
  104.16 -        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-1.patch
  104.17 +        #patch -p1 -i $stuff/glibc-2.21-gcc6_fix-1.patch
  104.18          # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68024 (patch for style-definition)
  104.19 -        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-2.patch
  104.20 +        #patch -p1 -i $stuff/glibc-2.21-gcc6_fix-2.patch
  104.21          # https://gcc.gnu.org/legacy-ml/gcc-patches/2015-11/msg00105.html
  104.22 -        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-3.patch
  104.23 +        #patch -p1 -i $stuff/glibc-2.21-gcc6_fix-3.patch
  104.24  
  104.25          # Glibc misc Bug Fixes
  104.26          # fix for {linux,sys}/xattr.h incompatibility - commit fdbe8eae
  104.27 @@ -124,7 +124,10 @@
  104.28  	#patch -Np1 -i $stuff/glibc-2.14.1-CVE-2015-0235.patch
  104.29  
  104.30          # https://sourceware.org/bugzilla/show_bug.cgi?id=21661
  104.31 -        patch -p1 -i $stuff/glibc-2.23-gcc.patch
  104.32 +        #patch -p1 -i $stuff/glibc-2.23-gcc.patch
  104.33 +
  104.34 +	# Patch for reenable C.UTF8
  104.35 +	patch -p1 -i $stuff/glibc-c-utf8-locale.patch
  104.36  
  104.37  	# Update for binutils 2.29, see https://sourceware.org/bugzilla/show_bug.cgi?id=21661
  104.38  	sed -i 's|obstack_compat;|obstack_compat  __attribute__ ((nocommon));|' malloc/obstack.c
   105.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   105.2 +++ b/glibc/stuff/glibc-2.23_ssp.patch	Sun Jan 14 08:12:37 2024 +0000
   105.3 @@ -0,0 +1,319 @@
   105.4 +diff --git a/debug/Makefile b/debug/Makefile
   105.5 +index 6b5f31e..535f10a 100644
   105.6 +--- a/debug/Makefile
   105.7 ++++ b/debug/Makefile
   105.8 +@@ -53,6 +53,7 @@  routines  = backtrace backtracesyms backtracesymsfd noophooks \
   105.9 + static-only-routines := warning-nop stack_chk_fail_local
  105.10 + 
  105.11 + CFLAGS-backtrace.c = -fno-omit-frame-pointer
  105.12 ++CFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE
  105.13 + CFLAGS-sprintf_chk.c = $(libio-mtsafe)
  105.14 + CFLAGS-snprintf_chk.c = $(libio-mtsafe)
  105.15 + CFLAGS-vsprintf_chk.c = $(libio-mtsafe)
  105.16 +diff --git a/debug/stack_chk_fail.c b/debug/stack_chk_fail.c
  105.17 +index 4d0796f..c6ce7dc 100644
  105.18 +--- a/debug/stack_chk_fail.c
  105.19 ++++ b/debug/stack_chk_fail.c
  105.20 +@@ -15,15 +15,296 @@ 
  105.21 +    License along with the GNU C Library; if not, see
  105.22 +    <http://www.gnu.org/licenses/>.  */
  105.23 + 
  105.24 +-#include <stdio.h>
  105.25 ++/* Copyright (C) 2006-2007 Gentoo Foundation Inc.
  105.26 ++ * License terms as above.
  105.27 ++ *
  105.28 ++ * Hardened Gentoo SSP handler
  105.29 ++ *
  105.30 ++ * An SSP failure handler that does not use functions from the rest of
  105.31 ++ * glibc; it uses the INTERNAL_SYSCALL methods directly.  This ensures
  105.32 ++ * no possibility of recursion into the handler.
  105.33 ++ *
  105.34 ++ * Direct all bug reports to http://bugs.gentoo.org/
  105.35 ++ *
  105.36 ++ * Re-written from the glibc-2.3 Hardened Gentoo SSP handler
  105.37 ++ * by Kevin F. Quinn - <kevquinn[@]gentoo.org>
  105.38 ++ *
  105.39 ++ * The following people contributed to the glibc-2.3 Hardened
  105.40 ++ * Gentoo SSP handler, from which this implementation draws much:
  105.41 ++ *
  105.42 ++ * Ned Ludd - <solar[@]gentoo.org>
  105.43 ++ * Alexander Gabert - <pappy[@]gentoo.org>
  105.44 ++ * The PaX Team - <pageexec[@]freemail.hu>
  105.45 ++ * Peter S. Mazinger - <ps.m[@]gmx.net>
  105.46 ++ * Yoann Vandoorselaere - <yoann[@]prelude-ids.org>
  105.47 ++ * Robert Connolly - <robert[@]linuxfromscratch.org>
  105.48 ++ * Cory Visi <cory[@]visi.name>
  105.49 ++ * Mike Frysinger <vapier[@]gentoo.org>
  105.50 ++ */
  105.51 ++
  105.52 ++#include <errno.h>
  105.53 + #include <stdlib.h>
  105.54 ++#include <unistd.h>
  105.55 ++#include <signal.h>
  105.56 ++
  105.57 ++#include <sys/types.h>
  105.58 ++
  105.59 ++#include <sysdep-cancel.h>
  105.60 ++#include <sys/syscall.h>
  105.61 ++
  105.62 ++#include <kernel-features.h>
  105.63 ++
  105.64 ++#include <alloca.h>
  105.65 ++/* from sysdeps */
  105.66 ++#include <socketcall.h>
  105.67 ++/* for the stuff in bits/socket.h */
  105.68 ++#include <sys/socket.h>
  105.69 ++#include <sys/un.h>
  105.70 ++
  105.71 ++
  105.72 ++/* Sanity check on SYSCALL macro names - force compilation
  105.73 ++ * failure if the names used here do not exist
  105.74 ++ */
  105.75 ++#if !defined __NR_socketcall && !defined __NR_socket
  105.76 ++# error Cannot do syscall socket or socketcall
  105.77 ++#endif
  105.78 ++#if !defined __NR_socketcall && !defined __NR_connect
  105.79 ++# error Cannot do syscall connect or socketcall
  105.80 ++#endif
  105.81 ++#ifndef __NR_write
  105.82 ++# error Cannot do syscall write
  105.83 ++#endif
  105.84 ++#ifndef __NR_close
  105.85 ++# error Cannot do syscall close
  105.86 ++#endif
  105.87 ++#ifndef __NR_getpid
  105.88 ++# error Cannot do syscall getpid
  105.89 ++#endif
  105.90 ++#ifndef __NR_kill
  105.91 ++# error Cannot do syscall kill
  105.92 ++#endif
  105.93 ++#ifndef __NR_exit
  105.94 ++# error Cannot do syscall exit
  105.95 ++#endif
  105.96 ++#ifdef SSP_SMASH_DUMPS_CORE
  105.97 ++# define ENABLE_SSP_SMASH_DUMPS_CORE 1
  105.98 ++# if !defined _KERNEL_NSIG && !defined _NSIG
  105.99 ++#  error No _NSIG or _KERNEL_NSIG for rt_sigaction
 105.100 ++# endif
 105.101 ++# if !defined __NR_sigaction && !defined __NR_rt_sigaction
 105.102 ++#  error Cannot do syscall sigaction or rt_sigaction
 105.103 ++# endif
 105.104 ++/* Although rt_sigaction expects sizeof(sigset_t) - it expects the size
 105.105 ++ * of the _kernel_ sigset_t which is not the same as the user sigset_t.
 105.106 ++ * Most arches have this as _NSIG bits - mips has _KERNEL_NSIG bits for
 105.107 ++ * some reason.
 105.108 ++ */
 105.109 ++# ifdef _KERNEL_NSIG
 105.110 ++#  define _SSP_NSIG _KERNEL_NSIG
 105.111 ++# else
 105.112 ++#  define _SSP_NSIG _NSIG
 105.113 ++# endif
 105.114 ++#else
 105.115 ++# define _SSP_NSIG 0
 105.116 ++# define ENABLE_SSP_SMASH_DUMPS_CORE 0
 105.117 ++#endif
 105.118 ++
 105.119 ++/* Define DO_SIGACTION - default to newer rt signal interface but
 105.120 ++ * fallback to old as needed.
 105.121 ++ */
 105.122 ++#ifdef __NR_rt_sigaction
 105.123 ++# define DO_SIGACTION(signum, act, oldact) \
 105.124 ++	INLINE_SYSCALL(rt_sigaction, 4, signum, act, oldact, _SSP_NSIG/8)
 105.125 ++#else
 105.126 ++# define DO_SIGACTION(signum, act, oldact) \
 105.127 ++	INLINE_SYSCALL(sigaction, 3, signum, act, oldact)
 105.128 ++#endif
 105.129 ++
 105.130 ++/* Define DO_SOCKET/DO_CONNECT functions to deal with socketcall vs socket/connect */
 105.131 ++#if defined(__NR_socket) && defined(__NR_connect)
 105.132 ++# define USE_OLD_SOCKETCALL 0
 105.133 ++#else
 105.134 ++# define USE_OLD_SOCKETCALL 1
 105.135 ++#endif
 105.136 ++/* stub out the __NR_'s so we can let gcc optimize away dead code */
 105.137 ++#ifndef __NR_socketcall
 105.138 ++# define __NR_socketcall 0
 105.139 ++#endif
 105.140 ++#ifndef __NR_socket
 105.141 ++# define __NR_socket 0
 105.142 ++#endif
 105.143 ++#ifndef __NR_connect
 105.144 ++# define __NR_connect 0
 105.145 ++#endif
 105.146 ++#define DO_SOCKET(result, domain, type, protocol) \
 105.147 ++	do { \
 105.148 ++		if (USE_OLD_SOCKETCALL) { \
 105.149 ++			socketargs[0] = domain; \
 105.150 ++			socketargs[1] = type; \
 105.151 ++			socketargs[2] = protocol; \
 105.152 ++			socketargs[3] = 0; \
 105.153 ++			result = INLINE_SYSCALL(socketcall, 2, SOCKOP_socket, socketargs); \
 105.154 ++		} else \
 105.155 ++			result = INLINE_SYSCALL(socket, 3, domain, type, protocol); \
 105.156 ++	} while (0)
 105.157 ++#define DO_CONNECT(result, sockfd, serv_addr, addrlen) \
 105.158 ++	do { \
 105.159 ++		if (USE_OLD_SOCKETCALL) { \
 105.160 ++			socketargs[0] = sockfd; \
 105.161 ++			socketargs[1] = (unsigned long int)serv_addr; \
 105.162 ++			socketargs[2] = addrlen; \
 105.163 ++			socketargs[3] = 0; \
 105.164 ++			result = INLINE_SYSCALL(socketcall, 2, SOCKOP_connect, socketargs); \
 105.165 ++		} else \
 105.166 ++			result = INLINE_SYSCALL(connect, 3, sockfd, serv_addr, addrlen); \
 105.167 ++	} while (0)
 105.168 ++
 105.169 ++#ifndef _PATH_LOG
 105.170 ++# define _PATH_LOG "/dev/log"
 105.171 ++#endif
 105.172 ++
 105.173 ++static const char path_log[] = _PATH_LOG;
 105.174 ++
 105.175 ++/* For building glibc with SSP switched on, define __progname to a
 105.176 ++ * constant if building for the run-time loader, to avoid pulling
 105.177 ++ * in more of libc.so into ld.so
 105.178 ++ */
 105.179 ++#ifdef IS_IN_rtld
 105.180 ++static char *__progname = "<rtld>";
 105.181 ++#else
 105.182 ++extern char *__progname;
 105.183 ++#endif
 105.184 ++
 105.185 + 
 105.186 ++/* Common handler code, used by stack_chk_fail and __stack_smash_handler
 105.187 ++ * Inlined to ensure no self-references to the handler within itself.
 105.188 ++ * Data static to avoid putting more than necessary on the stack,
 105.189 ++ * to aid core debugging.
 105.190 ++ * The copy in rtld must be hidden to ensure that it gets no relocations
 105.191 ++ * and thus does not crash if called during libc startup.
 105.192 ++ */
 105.193 ++__attribute__ ((__noreturn__ , __always_inline__))
 105.194 ++#ifdef IS_IN_rtld
 105.195 ++attribute_hidden
 105.196 ++#endif
 105.197 ++static inline void
 105.198 ++__hardened_gentoo_stack_chk_fail(char func[], int damaged)
 105.199 ++{
 105.200 ++#define MESSAGE_BUFSIZ 256
 105.201 ++	static pid_t pid;
 105.202 ++	static int plen, i;
 105.203 ++	static char message[MESSAGE_BUFSIZ];
 105.204 ++	static const char msg_ssa[] = ": stack smashing attack";
 105.205 ++	static const char msg_inf[] = " in function ";
 105.206 ++	static const char msg_ssd[] = "*** stack smashing detected ***: ";
 105.207 ++	static const char msg_terminated[] = " - terminated\n";
 105.208 ++	static const char msg_unknown[] = "<unknown>";
 105.209 ++	static int log_socket, connect_result;
 105.210 ++	static struct sockaddr_un sock;
 105.211 ++	static unsigned long int socketargs[4];
 105.212 ++
 105.213 ++	/* Build socket address
 105.214 ++	 */
 105.215 ++	sock.sun_family = AF_UNIX;
 105.216 ++	i = 0;
 105.217 ++	while ((path_log[i] != '\0') && (i<(sizeof(sock.sun_path)-1))) {
 105.218 ++		sock.sun_path[i] = path_log[i];
 105.219 ++		i++;
 105.220 ++	}
 105.221 ++	sock.sun_path[i] = '\0';
 105.222 ++
 105.223 ++	/* Try SOCK_DGRAM connection to syslog */
 105.224 ++	connect_result = -1;
 105.225 ++	DO_SOCKET(log_socket, AF_UNIX, SOCK_DGRAM, 0);
 105.226 ++	if (log_socket != -1)
 105.227 ++		DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock));
 105.228 ++	if (connect_result == -1) {
 105.229 ++		if (log_socket != -1)
 105.230 ++			INLINE_SYSCALL(close, 1, log_socket);
 105.231 ++		/* Try SOCK_STREAM connection to syslog */
 105.232 ++		DO_SOCKET(log_socket, AF_UNIX, SOCK_STREAM, 0);
 105.233 ++		if (log_socket != -1)
 105.234 ++			DO_CONNECT(connect_result, log_socket, &sock, sizeof(sock));
 105.235 ++	}
 105.236 ++
 105.237 ++	/* Build message.  Messages are generated both in the old style and new style,
 105.238 ++	 * so that log watchers that are configured for the old-style message continue
 105.239 ++	 * to work.
 105.240 ++	 */
 105.241 ++#define strconcat(str) \
 105.242 ++		{i=0; while ((str[i] != '\0') && ((i+plen)<(MESSAGE_BUFSIZ-1))) \
 105.243 ++		{\
 105.244 ++			message[plen+i]=str[i];\
 105.245 ++			i++;\
 105.246 ++		}\
 105.247 ++		plen+=i;}
 105.248 ++
 105.249 ++	/* R.Henderson post-gcc-4 style message */
 105.250 ++	plen = 0;
 105.251 ++	strconcat(msg_ssd);
 105.252 ++	if (__progname != (char *)0)
 105.253 ++		strconcat(__progname)
 105.254 ++	else
 105.255 ++		strconcat(msg_unknown);
 105.256 ++	strconcat(msg_terminated);
 105.257 ++
 105.258 ++	/* Write out error message to STDERR, to syslog if open */
 105.259 ++	INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen);
 105.260 ++	if (connect_result != -1)
 105.261 ++		INLINE_SYSCALL(write, 3, log_socket, message, plen);
 105.262 ++
 105.263 ++	/* Dr. Etoh pre-gcc-4 style message */
 105.264 ++	plen = 0;
 105.265 ++	if (__progname != (char *)0)
 105.266 ++		strconcat(__progname)
 105.267 ++	else
 105.268 ++		strconcat(msg_unknown);
 105.269 ++	strconcat(msg_ssa);
 105.270 ++	strconcat(msg_inf);
 105.271 ++	if (func != NULL)
 105.272 ++		strconcat(func)
 105.273 ++	else
 105.274 ++		strconcat(msg_unknown);
 105.275 ++	strconcat(msg_terminated);
 105.276 ++	/* Write out error message to STDERR, to syslog if open */
 105.277 ++	INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen);
 105.278 ++	if (connect_result != -1)
 105.279 ++		INLINE_SYSCALL(write, 3, log_socket, message, plen);
 105.280 + 
 105.281 +-extern char **__libc_argv attribute_hidden;
 105.282 ++	/* Write out error message to STDERR, to syslog if open */
 105.283 ++	INLINE_SYSCALL(write, 3, STDERR_FILENO, message, plen);
 105.284 ++	if (connect_result != -1)
 105.285 ++		INLINE_SYSCALL(write, 3, log_socket, message, plen);
 105.286 ++
 105.287 ++	if (log_socket != -1)
 105.288 ++		INLINE_SYSCALL(close, 1, log_socket);
 105.289 ++
 105.290 ++	/* Suicide */
 105.291 ++	pid = INLINE_SYSCALL(getpid, 0);
 105.292 ++
 105.293 ++	if (ENABLE_SSP_SMASH_DUMPS_CORE) {
 105.294 ++		static struct sigaction default_abort_act;
 105.295 ++		/* Remove any user-supplied handler for SIGABRT, before using it */
 105.296 ++		default_abort_act.sa_handler = SIG_DFL;
 105.297 ++		default_abort_act.sa_sigaction = NULL;
 105.298 ++		__sigfillset(&default_abort_act.sa_mask);
 105.299 ++		default_abort_act.sa_flags = 0;
 105.300 ++		if (DO_SIGACTION(SIGABRT, &default_abort_act, NULL) == 0)
 105.301 ++			INLINE_SYSCALL(kill, 2, pid, SIGABRT);
 105.302 ++	}
 105.303 ++
 105.304 ++	/* Note; actions cannot be added to SIGKILL */
 105.305 ++	INLINE_SYSCALL(kill, 2, pid, SIGKILL);
 105.306 ++
 105.307 ++	/* In case the kill didn't work, exit anyway
 105.308 ++	 * The loop prevents gcc thinking this routine returns
 105.309 ++	 */
 105.310 ++	while (1)
 105.311 ++		INLINE_SYSCALL(exit, 0);
 105.312 ++}
 105.313 + 
 105.314 +-void
 105.315 +-__attribute__ ((noreturn))
 105.316 +-__stack_chk_fail (void)
 105.317 ++__attribute__ ((__noreturn__))
 105.318 ++void __stack_chk_fail(void)
 105.319 + {
 105.320 +-  __fortify_fail ("stack smashing detected");
 105.321 ++	__hardened_gentoo_stack_chk_fail(NULL, 0);
 105.322 + }
   106.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   106.2 +++ b/glibc/stuff/glibc-c-utf8-locale.patch	Sun Jan 14 08:12:37 2024 +0000
   106.3 @@ -0,0 +1,270 @@
   106.4 +From 2eda7b462b415105f5a05c1323372d4e39d46439 Mon Sep 17 00:00:00 2001
   106.5 +From: Mike FABIAN <mfabian@redhat.com>
   106.6 +Date: Mon, 10 Aug 2015 15:58:12 +0200
   106.7 +Subject: [PATCH] Add a C.UTF-8 locale
   106.8 +
   106.9 +---
  106.10 + localedata/SUPPORTED |   1 +
  106.11 + localedata/locales/C | 238 +++++++++++++++++++++++++++++++++++++++++++++++++++
  106.12 + 2 files changed, 239 insertions(+)
  106.13 + create mode 100644 localedata/locales/C
  106.14 +
  106.15 +diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
  106.16 +index 8ca023e..2a78391 100644
  106.17 +--- a/localedata/SUPPORTED
  106.18 ++++ b/localedata/SUPPORTED
  106.19 +@@ -1,6 +1,7 @@
  106.20 + # This file names the currently supported and somewhat tested locales.
  106.21 + # If you have any additions please file a glibc bug report.
  106.22 + SUPPORTED-LOCALES=\
  106.23 ++C.UTF-8/UTF-8 \
  106.24 + aa_DJ.UTF-8/UTF-8 \
  106.25 + aa_DJ/ISO-8859-1 \
  106.26 + aa_ER/UTF-8 \
  106.27 +diff --git a/localedata/locales/C b/localedata/locales/C
  106.28 +new file mode 100644
  106.29 +index 0000000..fdf460e
  106.30 +--- /dev/null
  106.31 ++++ b/localedata/locales/C
  106.32 +@@ -0,0 +1,238 @@
  106.33 ++escape_char /
  106.34 ++comment_char %
  106.35 ++% Locale for C locale in UTF-8
  106.36 ++
  106.37 ++LC_IDENTIFICATION
  106.38 ++title      "C locale"
  106.39 ++source     ""
  106.40 ++address    ""
  106.41 ++contact    ""
  106.42 ++email      "mfabian@redhat.com"
  106.43 ++tel        ""
  106.44 ++fax        ""
  106.45 ++language   "C"
  106.46 ++territory  ""
  106.47 ++revision   "1.0"
  106.48 ++date       "2015-08-10"
  106.49 ++%
  106.50 ++category  "i18n:2012";LC_IDENTIFICATION
  106.51 ++category  "i18n:2012";LC_CTYPE
  106.52 ++category  "i18n:2012";LC_COLLATE
  106.53 ++category  "i18n:2012";LC_TIME
  106.54 ++category  "i18n:2012";LC_NUMERIC
  106.55 ++category  "i18n:2012";LC_MONETARY
  106.56 ++category  "i18n:2012";LC_MESSAGES
  106.57 ++category  "i18n:2012";LC_PAPER
  106.58 ++category  "i18n:2012";LC_NAME
  106.59 ++category  "i18n:2012";LC_ADDRESS
  106.60 ++category  "i18n:2012";LC_TELEPHONE
  106.61 ++category  "i18n:2012";LC_MEASUREMENT
  106.62 ++END LC_IDENTIFICATION
  106.63 ++
  106.64 ++LC_CTYPE
  106.65 ++copy "i18n"
  106.66 ++
  106.67 ++translit_start
  106.68 ++include "translit_combining";""
  106.69 ++translit_end
  106.70 ++
  106.71 ++END LC_CTYPE
  106.72 ++
  106.73 ++LC_COLLATE
  106.74 ++order_start forward
  106.75 ++<U0000>
  106.76 ++..
  106.77 ++<UFFFF>
  106.78 ++<U10000>
  106.79 ++..
  106.80 ++<U1FFFF>
  106.81 ++<U20000>
  106.82 ++..
  106.83 ++<U2FFFF>
  106.84 ++<UE0000>
  106.85 ++..
  106.86 ++<UEFFFF>
  106.87 ++<UF0000>
  106.88 ++..
  106.89 ++<UFFFFF>
  106.90 ++<U100000>
  106.91 ++..
  106.92 ++<U10FFFF>
  106.93 ++UNDEFINED
  106.94 ++order_end
  106.95 ++END LC_COLLATE
  106.96 ++
  106.97 ++LC_MONETARY
  106.98 ++% This is the 14652 i18n fdcc-set definition for
  106.99 ++% the LC_MONETARY category
 106.100 ++% (except for the int_curr_symbol and currency_symbol, they are empty in
 106.101 ++% the 14652 i18n fdcc-set definition and also empty in
 106.102 ++% glibc/locale/C-monetary.c. But localedef complains in that case).
 106.103 ++%
 106.104 ++% Using "USD" for int_curr_symbol. But maybe "XXX" would be better?
 106.105 ++% XXX is "No currency" (https://en.wikipedia.org/wiki/ISO_4217)
 106.106 ++int_curr_symbol     "<U0055><U0053><U0044><U0020>"
 106.107 ++% Using "$" for currency_symbol. But maybe <U00A4> would be better?
 106.108 ++% U+00A4 is the "generic currency symbol"
 106.109 ++% (https://en.wikipedia.org/wiki/Currency_sign_%28typography%29)
 106.110 ++currency_symbol     "<U0024>"
 106.111 ++mon_decimal_point   "<U002E>"
 106.112 ++mon_thousands_sep   ""
 106.113 ++mon_grouping        -1
 106.114 ++positive_sign       ""
 106.115 ++negative_sign       "<U002D>"
 106.116 ++int_frac_digits     -1
 106.117 ++frac_digits         -1
 106.118 ++p_cs_precedes       -1
 106.119 ++int_p_sep_by_space  -1
 106.120 ++p_sep_by_space      -1
 106.121 ++n_cs_precedes       -1
 106.122 ++int_n_sep_by_space  -1
 106.123 ++n_sep_by_space      -1
 106.124 ++p_sign_posn         -1
 106.125 ++n_sign_posn         -1
 106.126 ++%
 106.127 ++END LC_MONETARY
 106.128 ++
 106.129 ++LC_NUMERIC
 106.130 ++% This is the POSIX Locale definition for
 106.131 ++% the LC_NUMERIC category.
 106.132 ++%
 106.133 ++decimal_point   "<U002E>"
 106.134 ++thousands_sep   ""
 106.135 ++grouping        -1
 106.136 ++END LC_NUMERIC
 106.137 ++
 106.138 ++LC_TIME
 106.139 ++% This is the POSIX Locale definition for
 106.140 ++% the LC_TIME category.
 106.141 ++%
 106.142 ++% Abbreviated weekday names (%a)
 106.143 ++abday       "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";/
 106.144 ++            "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";/
 106.145 ++            "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";/
 106.146 ++            "<U0053><U0061><U0074>"
 106.147 ++
 106.148 ++% Full weekday names (%A)
 106.149 ++day         "<U0053><U0075><U006E><U0064><U0061><U0079>";/
 106.150 ++            "<U004D><U006F><U006E><U0064><U0061><U0079>";/
 106.151 ++            "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";/
 106.152 ++            "<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
 106.153 ++            "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";/
 106.154 ++            "<U0046><U0072><U0069><U0064><U0061><U0079>";/
 106.155 ++            "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
 106.156 ++
 106.157 ++% Abbreviated month names (%b)
 106.158 ++abmon       "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
 106.159 ++            "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
 106.160 ++            "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";/
 106.161 ++            "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";/
 106.162 ++            "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";/
 106.163 ++            "<U004E><U006F><U0076>";"<U0044><U0065><U0063>"
 106.164 ++
 106.165 ++% Full month names (%B)
 106.166 ++mon         "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
 106.167 ++            "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
 106.168 ++            "<U004D><U0061><U0072><U0063><U0068>";/
 106.169 ++            "<U0041><U0070><U0072><U0069><U006C>";/
 106.170 ++            "<U004D><U0061><U0079>";/
 106.171 ++            "<U004A><U0075><U006E><U0065>";/
 106.172 ++            "<U004A><U0075><U006C><U0079>";/
 106.173 ++            "<U0041><U0075><U0067><U0075><U0073><U0074>";/
 106.174 ++            "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
 106.175 ++            "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
 106.176 ++            "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
 106.177 ++            "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
 106.178 ++
 106.179 ++% Week description, consists of three fields:
 106.180 ++% 1. Number of days in a week.
 106.181 ++% 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).
 106.182 ++% 3. The weekday number to be contained in the first week of the year.
 106.183 ++%
 106.184 ++% ISO 8601 conforming applications should use the values 7, 19971201 (a
 106.185 ++% Monday), and 4 (Thursday), respectively.
 106.186 ++week    7;19971201;4
 106.187 ++first_weekday	1
 106.188 ++first_workday	1
 106.189 ++
 106.190 ++% Appropriate date and time representation (%c)
 106.191 ++%	"%a %b %e %H:%M:%S %Y"
 106.192 ++d_t_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0059>"
 106.193 ++
 106.194 ++% Appropriate date representation (%x)
 106.195 ++%	"%m/%d/%y"
 106.196 ++d_fmt   "<U0025><U006D><U002F><U0025><U0064><U002F><U0025><U0079>"
 106.197 ++
 106.198 ++% Appropriate time representation (%X)
 106.199 ++%	"%H:%M:%S"
 106.200 ++t_fmt   "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
 106.201 ++
 106.202 ++% Appropriate AM/PM time representation (%r)
 106.203 ++%	"%I:%M:%S %p"
 106.204 ++t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
 106.205 ++
 106.206 ++% Equivalent of AM/PM (%p)      "AM"/"PM"
 106.207 ++%
 106.208 ++am_pm	"<U0041><U004D>";"<U0050><U004D>"
 106.209 ++
 106.210 ++% Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
 106.211 ++date_fmt	"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A><U0020><U0025><U0059>"
 106.212 ++END LC_TIME
 106.213 ++
 106.214 ++LC_MESSAGES
 106.215 ++% This is the POSIX Locale definition for
 106.216 ++% the LC_NUMERIC category.
 106.217 ++%
 106.218 ++yesexpr "<U005E><U005B><U0079><U0059><U005D>"
 106.219 ++noexpr  "<U005E><U005B><U006E><U004E><U005D>"
 106.220 ++yesstr  "<U0059><U0065><U0073>"
 106.221 ++nostr   "<U004E><U006F>"
 106.222 ++END LC_MESSAGES
 106.223 ++
 106.224 ++LC_PAPER
 106.225 ++% This is the ISO/IEC 14652 "i18n" definition for
 106.226 ++% the LC_PAPER category.
 106.227 ++% (A4 paper, this is also used in the built in C/POSIX
 106.228 ++% locale in glibc/locale/C-paper.c)
 106.229 ++height   297
 106.230 ++width    210
 106.231 ++END LC_PAPER
 106.232 ++
 106.233 ++LC_NAME
 106.234 ++% This is the ISO/IEC 14652 "i18n" definition for
 106.235 ++% the LC_NAME category.
 106.236 ++% "%p%t%g%t%m%t%f"
 106.237 ++% (also used in the built in C/POSIX locale in glibc/locale/C-name.c)
 106.238 ++name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0067><U0025><U0074>/
 106.239 ++<U0025><U006D><U0025><U0074><U0025><U0066>"
 106.240 ++END LC_NAME
 106.241 ++
 106.242 ++LC_ADDRESS
 106.243 ++% This is the ISO/IEC 14652 "i18n" definition for
 106.244 ++% the LC_ADDRESS category.
 106.245 ++% "%a%N%f%N%d%N%b%N%s %h %e %r%N%C-%z %T%N%c%N"
 106.246 ++% (also used in the built in C/POSIX locale in glibc/locale/C-address.c)
 106.247 ++postal_fmt    "<U0025><U0061><U0025><U004E><U0025><U0066><U0025><U004E>/
 106.248 ++<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
 106.249 ++<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
 106.250 ++<U004E><U0025><U0043><U002D><U0025><U007A><U0020><U0025><U0054><U0025>/
 106.251 ++<U004E><U0025><U0063><U0025><U004E>"
 106.252 ++END LC_ADDRESS
 106.253 ++
 106.254 ++LC_TELEPHONE
 106.255 ++% This is the ISO/IEC 14652 "i18n" definition for
 106.256 ++% the LC_TELEPHONE category.
 106.257 ++% "+%c %a %l"
 106.258 ++tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 106.259 ++<U006C>"
 106.260 ++% (also used in the built in C/POSIX locale in glibc/locale/C-telephone.c)
 106.261 ++END LC_TELEPHONE
 106.262 ++
 106.263 ++LC_MEASUREMENT
 106.264 ++% This is the ISO/IEC 14652 "i18n" definition for
 106.265 ++% the LC_MEASUREMENT category.
 106.266 ++% (same as in the built in C/POSIX locale in glibc/locale/C-measurement.c)
 106.267 ++%metric
 106.268 ++measurement    1
 106.269 ++END LC_MEASUREMENT
 106.270 ++
 106.271 +-- 
 106.272 +2.4.3
 106.273 +
   107.1 --- a/glibmm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   107.2 +++ b/glibmm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   107.3 @@ -1,7 +1,7 @@
   107.4  # SliTaz package receipt.
   107.5  
   107.6  PACKAGE="glibmm-dev"
   107.7 -VERSION="2.40.0"
   107.8 +VERSION="2.64.5"
   107.9  CATEGORY="development"
  107.10  SHORT_DESC="Callback Framework for C++ devel files."
  107.11  MAINTAINER="pankso@slitaz.org"
  107.12 @@ -14,11 +14,10 @@
  107.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  107.14  genpkg_rules()
  107.15  {
  107.16 -	mkdir -p $fs/usr/lib $fs/usr/share
  107.17 +	mkdir -p $fs/usr/lib
  107.18  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  107.19  	cp -a $install/usr/lib/glibmm-2.4 $fs/usr/lib
  107.20  	cp -a $install/usr/include $fs/usr
  107.21 -	cp -a $install/usr/share/devhelp $fs/usr/share
  107.22  	# Remove libgiomm-dev
  107.23  	rm -rf $fs/usr/lib/libgiomm*.*a
  107.24  	rm -rf $fs/usr/lib/pkgconfig/giomm-2.4.pc
   108.1 --- a/glibmm/receipt	Mon Oct 16 18:37:14 2023 +0000
   108.2 +++ b/glibmm/receipt	Sun Jan 14 08:12:37 2024 +0000
   108.3 @@ -1,7 +1,7 @@
   108.4  # SliTaz package receipt.
   108.5  
   108.6  PACKAGE="glibmm"
   108.7 -VERSION="2.40.0"
   108.8 +VERSION="2.64.5"
   108.9  CATEGORY="x-window"
  108.10  SHORT_DESC="C++ interface for the popular GUI library GTK+."
  108.11  MAINTAINER="pankso@slitaz.org"
  108.12 @@ -11,7 +11,7 @@
  108.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  108.14  
  108.15  DEPENDS="glib libsigc++ gcc-lib-base glibc-base libffi pcre"
  108.16 -BUILD_DEPENDS="glib-dev libsigc++-dev"
  108.17 +BUILD_DEPENDS="glib-dev libsigc++-dev meson"
  108.18  
  108.19  current_version()
  108.20  {
  108.21 @@ -21,10 +21,18 @@
  108.22  # Rules to configure and make the package.
  108.23  compile_rules()
  108.24  {
  108.25 -	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
  108.26 -	sed 's/return gobject_;/return \&gobject_;/' -i glib/glibmm/threads.h
  108.27 -	./configure $CONFIGURE_ARGS && 
  108.28 -	make && make install
  108.29 +	#find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
  108.30 +	#sed 's/return gobject_;/return \&gobject_;/' -i glib/glibmm/threads.h
  108.31 +
  108.32 +        meson build \
  108.33 +            --prefix=/usr \
  108.34 +            --libdir=lib \
  108.35 +            --bindir=/usr/bin \
  108.36 +            --sbindir=/usr/sbin \
  108.37 +	    --datadir=/usr/share \
  108.38 +            --buildtype=release &&                                                         
  108.39 +        ninja -C build &&
  108.40 +        ninja -C build install
  108.41  }
  108.42  
  108.43  # Rules to gen a SliTaz package suitable for Tazpkg.
   109.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   109.2 +++ b/gnome-desktop3-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   109.3 @@ -0,0 +1,20 @@
   109.4 +# SliTaz package receipt.
   109.5 +
   109.6 +PACKAGE="gnome-desktop3-dev"
   109.7 +VERSION="3.24.2"
   109.8 +CATEGORY="development"
   109.9 +SHORT_DESC="GNOME Desktop development files"
  109.10 +MAINTAINER="erjo@slitaz.org"
  109.11 +LICENSE="GPL2"
  109.12 +WANTED="gnome-desktop3"
  109.13 +WEB_SITE="https://www.gnome.org"
  109.14 +
  109.15 +DEPENDS="gnome-desktop3 pkg-config"
  109.16 +
  109.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  109.18 +genpkg_rules()
  109.19 +{
  109.20 +	mkdir -p $fs/usr/lib
  109.21 +	cp -a $install/usr/include $fs/usr
  109.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  109.23 +}
   110.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   110.2 +++ b/gnome-desktop3/receipt	Sun Jan 14 08:12:37 2024 +0000
   110.3 @@ -0,0 +1,45 @@
   110.4 +# SliTaz package receipt.
   110.5 +
   110.6 +PACKAGE="gnome-desktop3"
   110.7 +VERSION="3.24.2"
   110.8 +CATEGORY="x-window"
   110.9 +SHORT_DESC="GNOME Desktop 3.x"
  110.10 +MAINTAINER="erjo@slitaz.org"
  110.11 +LICENSE="GPL2"
  110.12 +TARBALL="gnome-desktop-$VERSION.tar.xz"
  110.13 +WEB_SITE="https://www.gnome.org"
  110.14 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gnome-desktop/${VERSION%.*}/$TARBALL"
  110.15 +
  110.16 +DEPENDS="gtk+3 startup-notification"
  110.17 +BUILD_DEPENDS="python-dev libxml2-python dbus-glib-dev intltool gtk+3-dev \
  110.18 +xorg-xkeyboard-config-dev iso-codes gsettings-desktop-schemas itstool"
  110.19 +
  110.20 +current_version()
  110.21 +{
  110.22 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  110.23 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  110.24 +}
  110.25 +
  110.26 +# Rules to configure and make the package.
  110.27 +compile_rules()
  110.28 +{
  110.29 +	cd $src
  110.30 +	./configure \
  110.31 +		--prefix=/usr \
  110.32 +		--sysconfdir=/etc/gnome \
  110.33 +		--localstatedir=/var/lib \
  110.34 +		--enable-gtk-doc-html=no \
  110.35 +		--enable-gtk-doc=no \
  110.36 +		--disable-scrollkeeper \
  110.37 +		--disable-static \
  110.38 +		--with-gnome-distributor="SliTaz GNU/Linux" \
  110.39 +		$CONFIGURE_ARGS &&
  110.40 +	make && make DESTDIR=$DESTDIR install
  110.41 +}
  110.42 +
  110.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
  110.44 +genpkg_rules()
  110.45 +{
  110.46 +	mkdir -p $fs/usr/lib
  110.47 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
  110.48 +}
   111.1 --- a/gnome-keyring/receipt	Mon Oct 16 18:37:14 2023 +0000
   111.2 +++ b/gnome-keyring/receipt	Sun Jan 14 08:12:37 2024 +0000
   111.3 @@ -1,18 +1,18 @@
   111.4  # SliTaz package receipt.
   111.5  
   111.6  PACKAGE="gnome-keyring"
   111.7 -VERSION="2.32.1"
   111.8 +VERSION="40.0"
   111.9  CATEGORY="x-window"
  111.10  SHORT_DESC="A program that keep password and other secrets for users."
  111.11  MAINTAINER="pankso@slitaz.org"
  111.12  LICENSE="GPL2"
  111.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
  111.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  111.15  WEB_SITE="https://www.gnome.org"
  111.16  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
  111.17  
  111.18 -DEPENDS="libgcrypt libtasn1 python dbus gtk+"
  111.19 +DEPENDS="libgcrypt libtasn1 python dbus gtk+3"
  111.20  BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool file \
  111.21 -gtk+-dev"
  111.22 +gtk+3-dev gcr-dev p11-kit-dev openssh docbook-xsl"
  111.23  
  111.24  current_version()
  111.25  {
  111.26 @@ -23,12 +23,11 @@
  111.27  # Rules to configure and make the package.
  111.28  compile_rules()
  111.29  {
  111.30 -	sed -i	-e 's|<glib.h>|&\n#include <libtasn1.h>|' \
  111.31 -		-e  's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
  111.32 -		egg/egg-asn1x.h
  111.33  	./configure \
  111.34 +		--libdir=/usr/lib \
  111.35  		--libexecdir=/usr/lib/$PACKAGE \
  111.36  		--sysconfdir=/etc/gnome \
  111.37 +		--disable-debug \
  111.38  		--disable-pam &&
  111.39  	make && make install
  111.40  }
  111.41 @@ -36,18 +35,17 @@
  111.42  # Rules to gen a SliTaz package suitable for Tazpkg.
  111.43  genpkg_rules()
  111.44  {
  111.45 -	mkdir -p $fs/usr/lib $fs/usr/share
  111.46 +	mkdir -p $fs/usr/lib/$PACKAGE/devel $fs/usr/lib/pkcs11 $fs/usr/share
  111.47  	cp -a $install/etc $fs
  111.48  	cp -a $install/usr/bin $fs/usr
  111.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  111.50 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
  111.51 -	for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
  111.52 +	cp -a $install/usr/lib/$PACKAGE/devel/*.so* $fs/usr/lib/$PACKAGE/devel
  111.53 +	cp -a $install/usr/lib/pkcs11/*.so* $fs/usr/lib/pkcs11
  111.54 +	for i in dbus-1 GConf glib-2.0
  111.55  	do
  111.56  		cp -a $install/usr/share/$i $fs/usr/share
  111.57  	done
  111.58  	
  111.59  	# Remove devel files.
  111.60 -	rm -rf $fs/usr/lib/gnome-keyring/devel
  111.61  	find $fs/usr/lib -name *.*a -exec rm -f {} \;	
  111.62  }
  111.63  
   112.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   112.2 +++ b/gnome-themes-standard/receipt	Sun Jan 14 08:12:37 2024 +0000
   112.3 @@ -0,0 +1,35 @@
   112.4 +# SliTaz package receipt v2.
   112.5 +
   112.6 +PACKAGE="gnome-themes-standard"
   112.7 +VERSION="3.22.3"
   112.8 +CATEGORY="customization"
   112.9 +SHORT_DESC="Various components of the default GNOME theme"
  112.10 +MAINTAINER="maintainer@slitaz.org"
  112.11 +LICENSE="LGPL2.1"
  112.12 +WEB_SITE="https://github.com/GNOME/gnome-themes-extra"
  112.13 +
  112.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  112.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
  112.16 +
  112.17 +BUILD_DEPENDS="automake115 glib-dev intltool gtk+3-dev \
  112.18 +librsvg-dev gtk+-dev"
  112.19 +
  112.20 +# Rules to configure and make the package.
  112.21 +compile_rules()
  112.22 +{
  112.23 +	aclocal
  112.24 +        ./configure                    \
  112.25 +        	--prefix=/usr          \
  112.26 +                $CONFIGURE_ARGS &&
  112.27 +        make &&
  112.28 +        make DESTDIR=$DESTDIR install
  112.29 +}
  112.30 +
  112.31 +genpkg_rules()
  112.32 +{
  112.33 +        mkdir -p $fs/usr
  112.34 +        cp -a $install/usr $fs
  112.35 +
  112.36 +        # Ensure remove .la files
  112.37 +        find $fs -name "*.la" -delete
  112.38 +}
   113.1 --- a/gnupg/receipt	Mon Oct 16 18:37:14 2023 +0000
   113.2 +++ b/gnupg/receipt	Sun Jan 14 08:12:37 2024 +0000
   113.3 @@ -1,7 +1,7 @@
   113.4  # SliTaz package receipt.
   113.5  
   113.6  PACKAGE="gnupg"
   113.7 -VERSION="2.2.19"
   113.8 +VERSION="2.2.36"
   113.9  CATEGORY="security"
  113.10  SHORT_DESC="Free implementation of the OpenPGP."
  113.11  MAINTAINER="pankso@slitaz.org"
  113.12 @@ -28,7 +28,7 @@
  113.13  compile_rules()
  113.14  {
  113.15  	# Integrity check: https://www.gnupg.org/download/integrity_check.html
  113.16 -	echo "e24a1208ffe69d7436b2f27e99542a85f34d0ac0  $SRC/$TARBALL" | sha1sum -c ||
  113.17 +	echo "01e2f80d6579a3b3dc25547ad13632bf87dbc757  $SRC/$TARBALL" | sha1sum -c ||
  113.18  		exit 1
  113.19  
  113.20  	export LDFLAGS="-lrt"
   114.1 --- a/gnutls-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   114.2 +++ b/gnutls-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   114.3 @@ -1,7 +1,7 @@
   114.4  # SliTaz package receipt.
   114.5  
   114.6  PACKAGE="gnutls-dev"
   114.7 -VERSION="3.6.12"
   114.8 +VERSION="3.7.9"
   114.9  CATEGORY="development"
  114.10  SHORT_DESC="GNU Transport Layer Security Library headers"
  114.11  MAINTAINER="erjo@slitaz.org"
   115.1 --- a/gnutls/receipt	Mon Oct 16 18:37:14 2023 +0000
   115.2 +++ b/gnutls/receipt	Sun Jan 14 08:12:37 2024 +0000
   115.3 @@ -1,7 +1,7 @@
   115.4  # SliTaz package receipt.
   115.5  
   115.6  PACKAGE="gnutls"
   115.7 -VERSION="3.6.12"
   115.8 +VERSION="3.7.9"
   115.9  CATEGORY="security"
  115.10  SHORT_DESC="GNU Transport Layer Security Library."
  115.11  MAINTAINER="erjo@slitaz.org"
   116.1 --- a/gobject-introspection-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   116.2 +++ b/gobject-introspection-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   116.3 @@ -1,7 +1,7 @@
   116.4  # SliTaz package receipt.
   116.5  
   116.6  PACKAGE="gobject-introspection-dev"
   116.7 -VERSION="1.43.3"
   116.8 +VERSION="1.70.0"
   116.9  CATEGORY="development"
  116.10  SHORT_DESC="Gobject-introspection devel files"
  116.11  MAINTAINER="pankso@slitaz.org"
   117.1 --- a/gobject-introspection/receipt	Mon Oct 16 18:37:14 2023 +0000
   117.2 +++ b/gobject-introspection/receipt	Sun Jan 14 08:12:37 2024 +0000
   117.3 @@ -1,7 +1,7 @@
   117.4  # SliTaz package receipt.
   117.5  
   117.6  PACKAGE="gobject-introspection"
   117.7 -VERSION="1.43.3"
   117.8 +VERSION="1.70.0"
   117.9  CATEGORY="development"
  117.10  SHORT_DESC="Introspection system for GObject-based libraries"
  117.11  MAINTAINER="pankso@slitaz.org"
  117.12 @@ -12,8 +12,8 @@
  117.13  #HOST_ARCH="i486 arm"
  117.14  
  117.15  DEPENDS="libgio dbus"
  117.16 -BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \
  117.17 -cairo-dev dbus-dev"
  117.18 +BUILD_DEPENDS="flex bison glib-dev python3-dev libgio-dev libffi-dev \
  117.19 +cairo-dev dbus-dev meson"
  117.20  
  117.21  # Handle cross compilation
  117.22  case "$ARCH" in
  117.23 @@ -33,10 +33,18 @@
  117.24  # Rules to configure and make the package.
  117.25  compile_rules()
  117.26  {
  117.27 -	./configure \
  117.28 -		--disable-static \
  117.29 -		$CONFIGURE_ARGS &&
  117.30 -	make && make install
  117.31 +	# Patch for issue with new meson
  117.32 +	# see https://bugs.gentoo.org/831427
  117.33 +	patch -p1 < $stuff/gobject-introspection-1.70.0-meson-0.61.patch
  117.34 +
  117.35 +	meson build \
  117.36 +	    --prefix=/usr \
  117.37 +	    --libdir=lib \
  117.38 +	    --bindir=/usr/bin \
  117.39 +	    --sbindir=/usr/sbin \
  117.40 +	    --buildtype=release &&
  117.41 +	ninja -C build &&
  117.42 +	ninja -C build install
  117.43  }
  117.44  
  117.45  # Rules to gen a SliTaz package suitable for Tazpkg.
   118.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   118.2 +++ b/gobject-introspection/stuff/gobject-introspection-1.70.0-meson-0.61.patch	Sun Jan 14 08:12:37 2024 +0000
   118.3 @@ -0,0 +1,218 @@
   118.4 +https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/effb1e09dee263cdac4ec593e8caf316e6f01fe2.patch
   118.5 +https://bugs.gentoo.org/831427
   118.6 +
   118.7 +From effb1e09dee263cdac4ec593e8caf316e6f01fe2 Mon Sep 17 00:00:00 2001
   118.8 +From: Emmanuele Bassi <ebassi@gnome.org>
   118.9 +Date: Tue, 11 Jan 2022 15:51:10 +0000
  118.10 +Subject: [PATCH] build: Avoid the doctemplates hack
  118.11 +MIME-Version: 1.0
  118.12 +Content-Type: text/plain; charset=UTF-8
  118.13 +Content-Transfer-Encoding: 8bit
  118.14 +
  118.15 +The hack that copies the doctemplates directory into the build
  118.16 +directory has stopped working with newer versions of Meson; while it's
  118.17 +possible to copy files, custom_target() cannot depend on a directory.
  118.18 +Additionally, the dependency has always been broken.
  118.19 +
  118.20 +Instead, we enumerate the template files—after all, it's not like they
  118.21 +change a lot—and then we list them as dependencies for the test targets.
  118.22 +
  118.23 +Fixes: #414
  118.24 +---
  118.25 + giscanner/doctemplates/devdocs/meson.build | 19 +++++++
  118.26 + giscanner/doctemplates/mallard/meson.build | 63 ++++++++++++++++++++++
  118.27 + giscanner/meson.build                      | 14 ++---
  118.28 + tests/scanner/meson.build                  | 24 +++++----
  118.29 + 4 files changed, 98 insertions(+), 22 deletions(-)
  118.30 + create mode 100644 giscanner/doctemplates/devdocs/meson.build
  118.31 + create mode 100644 giscanner/doctemplates/mallard/meson.build
  118.32 +
  118.33 +diff --git a/giscanner/doctemplates/devdocs/meson.build b/giscanner/doctemplates/devdocs/meson.build
  118.34 +new file mode 100644
  118.35 +index 00000000..2037182a
  118.36 +--- /dev/null
  118.37 ++++ b/giscanner/doctemplates/devdocs/meson.build
  118.38 +@@ -0,0 +1,19 @@
  118.39 ++doc_templates += files([
  118.40 ++  'Gjs/_doc.tmpl',
  118.41 ++  'Gjs/_index.tmpl',
  118.42 ++  'Gjs/_method.tmpl',
  118.43 ++  'Gjs/_methods.tmpl',
  118.44 ++  'Gjs/_properties.tmpl',
  118.45 ++  'Gjs/_signals.tmpl',
  118.46 ++  'Gjs/_staticmethods.tmpl',
  118.47 ++  'Gjs/_vfuncs.tmpl',
  118.48 ++  'Gjs/base.tmpl',
  118.49 ++  'Gjs/callback.tmpl',
  118.50 ++  'Gjs/class.tmpl',
  118.51 ++  'Gjs/default.tmpl',
  118.52 ++  'Gjs/enum.tmpl',
  118.53 ++  'Gjs/function.tmpl',
  118.54 ++  'Gjs/interface.tmpl',
  118.55 ++  'Gjs/method.tmpl',
  118.56 ++  'Gjs/namespace.tmpl',
  118.57 ++])
  118.58 +diff --git a/giscanner/doctemplates/mallard/meson.build b/giscanner/doctemplates/mallard/meson.build
  118.59 +new file mode 100644
  118.60 +index 00000000..5fe4e2af
  118.61 +--- /dev/null
  118.62 ++++ b/giscanner/doctemplates/mallard/meson.build
  118.63 +@@ -0,0 +1,63 @@
  118.64 ++base_templates = files([
  118.65 ++  'base.tmpl',
  118.66 ++  'class.tmpl',
  118.67 ++  'namespace.tmpl',
  118.68 ++])
  118.69 ++
  118.70 ++c_templates = files([
  118.71 ++  'C/callback.tmpl',
  118.72 ++  'C/class.tmpl',
  118.73 ++  'C/constructor.tmpl',
  118.74 ++  'C/default.tmpl',
  118.75 ++  'C/enum.tmpl',
  118.76 ++  'C/field.tmpl',
  118.77 ++  'C/function.tmpl',
  118.78 ++  'C/interface.tmpl',
  118.79 ++  'C/method.tmpl',
  118.80 ++  'C/namespace.tmpl',
  118.81 ++  'C/property.tmpl',
  118.82 ++  'C/record.tmpl',
  118.83 ++  'C/signal.tmpl',
  118.84 ++  'C/vfunc.tmpl',
  118.85 ++])
  118.86 ++
  118.87 ++gjs_templates = files([
  118.88 ++  'Gjs/callback.tmpl',
  118.89 ++  'Gjs/class.tmpl',
  118.90 ++  'Gjs/constructor.tmpl',
  118.91 ++  'Gjs/default.tmpl',
  118.92 ++  'Gjs/enum.tmpl',
  118.93 ++  'Gjs/field.tmpl',
  118.94 ++  'Gjs/function.tmpl',
  118.95 ++  'Gjs/interface.tmpl',
  118.96 ++  'Gjs/method.tmpl',
  118.97 ++  'Gjs/namespace.tmpl',
  118.98 ++  'Gjs/property.tmpl',
  118.99 ++  'Gjs/record.tmpl',
 118.100 ++  'Gjs/signal.tmpl',
 118.101 ++  'Gjs/vfunc.tmpl',
 118.102 ++])
 118.103 ++
 118.104 ++py_templates = files([
 118.105 ++  'Python/callback.tmpl',
 118.106 ++  'Python/class.tmpl',
 118.107 ++  'Python/constructor.tmpl',
 118.108 ++  'Python/default.tmpl',
 118.109 ++  'Python/enum.tmpl',
 118.110 ++  'Python/field.tmpl',
 118.111 ++  'Python/function.tmpl',
 118.112 ++  'Python/interface.tmpl',
 118.113 ++  'Python/method.tmpl',
 118.114 ++  'Python/namespace.tmpl',
 118.115 ++  'Python/property.tmpl',
 118.116 ++  'Python/record.tmpl',
 118.117 ++  'Python/signal.tmpl',
 118.118 ++  'Python/vfunc.tmpl',
 118.119 ++])
 118.120 ++
 118.121 ++doc_templates += [
 118.122 ++  base_templates,
 118.123 ++  c_templates,
 118.124 ++  gjs_templates,
 118.125 ++  py_templates,
 118.126 ++]
 118.127 +diff --git a/giscanner/meson.build b/giscanner/meson.build
 118.128 +index 41edcd44..3d7dc678 100644
 118.129 +--- a/giscanner/meson.build
 118.130 ++++ b/giscanner/meson.build
 118.131 +@@ -53,17 +53,9 @@ configure_file(input : '../girepository/gdump.c',
 118.132 + 
 118.133 + install_subdir('doctemplates', install_dir: giscannerdir)
 118.134 + 
 118.135 +-# XXX: this doesn't track the input, but there is nothing to copy many files
 118.136 +-# in meson.
 118.137 +-doc_templates = custom_target('copy-templates',
 118.138 +-  input : 'doctemplates',
 118.139 +-  output : 'doctemplates',
 118.140 +-  command : [
 118.141 +-    python, '-c',
 118.142 +-      'import sys, shutil;' +
 118.143 +-      'shutil.rmtree(sys.argv[2], ignore_errors=True);' +
 118.144 +-      'shutil.copytree(sys.argv[1], sys.argv[2])',
 118.145 +-    '@INPUT@', '@OUTPUT@'])
 118.146 ++doc_templates = []
 118.147 ++subdir('doctemplates/devdocs')
 118.148 ++subdir('doctemplates/mallard')
 118.149 + 
 118.150 + flex = find_program('flex', 'win_flex')
 118.151 + bison = find_program('bison', 'win_bison')
 118.152 +diff --git a/tests/scanner/meson.build b/tests/scanner/meson.build
 118.153 +index 5176b957..b81b3fd5 100644
 118.154 +--- a/tests/scanner/meson.build
 118.155 ++++ b/tests/scanner/meson.build
 118.156 +@@ -525,19 +525,26 @@ foreach gir : test_girs
 118.157 + endforeach
 118.158 + 
 118.159 + if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
 118.160 ++  doctool_env = environment()
 118.161 ++  doctool_env.set('srcdir', meson.current_source_dir())
 118.162 ++  doctool_env.set('builddir', meson.current_build_dir())
 118.163 ++
 118.164 +   foreach language : ['C', 'Python', 'Gjs']
 118.165 +     regress_docs = custom_target(
 118.166 +       'generate-docs-' + language,
 118.167 +       input: regress_gir,
 118.168 +-      depends: [doc_templates],
 118.169 ++      depend_files: doc_templates,
 118.170 +       build_by_default: not cairo_deps_found,
 118.171 ++      env: doctool_env,
 118.172 +       output: 'Regress-1.0-' + language,
 118.173 +       command: [
 118.174 +         python, girdoctool,
 118.175 +         '--add-include-path=' + join_paths(build_root, 'gir'),
 118.176 +         '--add-include-path=' + meson.current_build_dir(),
 118.177 +         '--language', language,
 118.178 +-        '@INPUT@', '-o', '@OUTPUT@'],
 118.179 ++        '--templates-dir=' + join_paths(meson.current_source_dir(), '../../giscanner/doctemplates'),
 118.180 ++        '@INPUT@', '-o', '@OUTPUT@',
 118.181 ++      ],
 118.182 +     )
 118.183 + 
 118.184 +     if cairo_deps_found
 118.185 +@@ -546,10 +553,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
 118.186 +         python,
 118.187 +         args: [gi_tester, 'Regress-1.0-' + language],
 118.188 +         depends: [regress_docs],
 118.189 +-        env: [
 118.190 +-          'srcdir=' + meson.current_source_dir(),
 118.191 +-          'builddir=' + meson.current_build_dir(),
 118.192 +-        ],
 118.193 ++        env: doctool_env,
 118.194 +       )
 118.195 +     endif
 118.196 +   endforeach
 118.197 +@@ -557,9 +561,10 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
 118.198 +   regress_sections = custom_target(
 118.199 +     'generate-docs-sections',
 118.200 +     input: regress_gir,
 118.201 +-    depends: [doc_templates],
 118.202 ++    depend_files: [doc_templates],
 118.203 +     build_by_default: not cairo_deps_found,
 118.204 +     output: 'Regress-1.0-sections.txt',
 118.205 ++    env: doctool_env,
 118.206 +     command: [
 118.207 +       python, girdoctool,
 118.208 +       '--add-include-path=' + join_paths(build_root, 'gir'),
 118.209 +@@ -574,10 +579,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
 118.210 +       python,
 118.211 +       args: [gi_tester, 'Regress-1.0-sections.txt'],
 118.212 +       depends: [regress_sections],
 118.213 +-      env: [
 118.214 +-        'srcdir=' + meson.current_source_dir(),
 118.215 +-        'builddir=' + meson.current_build_dir(),
 118.216 +-      ],
 118.217 ++      env: doctool_env,
 118.218 +     )
 118.219 +   endif
 118.220 + endif
 118.221 +-- 
   119.1 --- a/gpm/receipt	Mon Oct 16 18:37:14 2023 +0000
   119.2 +++ b/gpm/receipt	Sun Jan 14 08:12:37 2024 +0000
   119.3 @@ -30,6 +30,10 @@
   119.4  compile_rules()
   119.5  {
   119.6  	cd $src
   119.7 +
   119.8 +	# Patch for new gcc
   119.9 +	patch -p1 < $stuff/gpm.gcc7.diff
  119.10 +
  119.11  	./autogen.sh
  119.12  	ln -s headers/gpm.h src		# ???
  119.13  	./configure \
   120.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   120.2 +++ b/gpm/stuff/gpm.gcc7.diff	Sun Jan 14 08:12:37 2024 +0000
   120.3 @@ -0,0 +1,28 @@
   120.4 +--- ./src/prog/gpm-root.y.orig	2012-10-26 16:21:38.000000000 -0500
   120.5 ++++ ./src/prog/gpm-root.y	2018-02-03 14:52:27.229309044 -0600
   120.6 +@@ -1196,11 +1196,7 @@
   120.7 +                                                         LOG_DAEMON : LOG_USER);
   120.8 +    /* reap your zombies */
   120.9 +    childaction.sa_handler=reap_children;
  120.10 +-#if defined(__GLIBC__)
  120.11 +-   __sigemptyset(&childaction.sa_mask);
  120.12 +-#else /* __GLIBC__ */
  120.13 +-   childaction.sa_mask=0;
  120.14 +-#endif /* __GLIBC__ */
  120.15 ++   sigemptyset(&childaction.sa_mask);
  120.16 +    childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */
  120.17 +    sigaction(SIGCHLD,&childaction,NULL);
  120.18 + 
  120.19 +--- ./src/daemon/open_console.c.orig	2018-02-03 14:49:24.586310986 -0600
  120.20 ++++ ./src/daemon/open_console.c	2018-02-03 14:53:03.347308660 -0600
  120.21 +@@ -24,6 +24,10 @@
  120.22 + #include <sys/ioctl.h>              /* ioctl             */
  120.23 + #include <sys/types.h>
  120.24 + 
  120.25 ++#ifdef HAVE_SYS_SYSMACROS_H
  120.26 ++#include <sys/sysmacros.h>          /* major() w/newer glibc */
  120.27 ++#endif
  120.28 ++
  120.29 + /* Linux specific (to be outsourced in gpm2 */
  120.30 + #include <linux/serial.h>           /* for serial console check */
  120.31 + #include <asm/ioctls.h>            /* for serial console check */
   121.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   121.2 +++ b/gst-plugins-bad-1.0-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   121.3 @@ -0,0 +1,25 @@
   121.4 +
   121.5 +# SliTaz package receipt.
   121.6 +
   121.7 +PACKAGE="gst-plugins-bad-1.0-dev"
   121.8 +VERSION="1.18.5"
   121.9 +SERIES="1.0"
  121.10 +CATEGORY="development"
  121.11 +SHORT_DESC="gst-plugins-bad devel files"
  121.12 +MAINTAINER="jozee@slitaz.org"
  121.13 +LICENSE="GPL2"
  121.14 +WANTED="gst-plugins-bad-1.0"
  121.15 +WEB_SITE="https://gstreamer.freedesktop.org/"
  121.16 +
  121.17 +DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev
  121.18 +faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
  121.19 +faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
  121.20 +mjpegtools-dev neon-dev schroedinger-dev expat-dev pkg-config"
  121.21 +
  121.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
  121.23 +genpkg_rules()
  121.24 +{
  121.25 +	mkdir -p $fs/usr/lib $fs/usr/lib/gstreamer-$SERIES
  121.26 +	cp -a $install/usr/include $fs/usr
  121.27 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  121.28 +}
   122.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   122.2 +++ b/gst-plugins-bad-1.0/receipt	Sun Jan 14 08:12:37 2024 +0000
   122.3 @@ -0,0 +1,59 @@
   122.4 +# SliTaz package receipt.
   122.5 +
   122.6 +PACKAGE="gst-plugins-bad-1.0"
   122.7 +VERSION="1.18.5"
   122.8 +SERIES="1.0"
   122.9 +CATEGORY="multimedia"
  122.10 +SHORT_DESC="GStreamer Bad Plugins"
  122.11 +MAINTAINER="jozee@slitaz.org"
  122.12 +LICENSE="GPL2"
  122.13 +SUGGESTED="libsdl schroedinger"
  122.14 +SOURCE="gst-plugins-bad"
  122.15 +TARBALL="$SOURCE-$VERSION.tar.xz"
  122.16 +WEB_SITE="https://gstreamer.freedesktop.org/"
  122.17 +WGET_URL="$WEB_SITE/src/gst-plugins-bad/$TARBALL"
  122.18 +LOCALES="da de es fr id it pt_BR ru zh_CN"
  122.19 +
  122.20 +DEPENDS="gst-plugins-base-1.0 faac libpng libvpx openssl xvidcore
  122.21 +faad2 jasper libmms libmodplug libsndfile mjpegtools neon"
  122.22 +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev
  122.23 +faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
  122.24 +faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
  122.25 +mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev meson"
  122.26 +
  122.27 +current_version()
  122.28 +{
  122.29 +	wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
  122.30 +	sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
  122.31 +}
  122.32 +
  122.33 +# Rules to configure and make the package.
  122.34 +compile_rules()
  122.35 +{
  122.36 +	#grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
  122.37 +	#sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h
  122.38 +
  122.39 +	meson build \
  122.40 +            --prefix=/usr \
  122.41 +            --libdir=lib \
  122.42 +            --bindir=/usr/bin \
  122.43 +            --sbindir=/usr/sbin \
  122.44 +            --sysconfdir=/etc \
  122.45 +            --localstatedir=/var \
  122.46 +            --buildtype=release \
  122.47 +        -Dpackage-name="GStreamer Bad Plugins ($SERIES)" \
  122.48 +        -Dpackage-origin="http://www.slitaz.org/" &&
  122.49 +        ninja -C build &&
  122.50 +        ninja -C build install
  122.51 +}
  122.52 +
  122.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
  122.54 +genpkg_rules()
  122.55 +{
  122.56 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
  122.57 +	mv $install/usr/lib/*.so* $fs/usr/lib
  122.58 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
  122.59 +	for locale in $LOCALES; do
  122.60 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
  122.61 +	done
  122.62 +}
   123.1 --- a/gst-plugins-bad/receipt	Mon Oct 16 18:37:14 2023 +0000
   123.2 +++ b/gst-plugins-bad/receipt	Sun Jan 14 08:12:37 2024 +0000
   123.3 @@ -32,6 +32,10 @@
   123.4  	grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
   123.5  	sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h
   123.6  	sed -i 's|stdafx.h|libmodplug/&|' ext/modplug/gstmodplug.cc
   123.7 +
   123.8 +	# Patch to support openssl 1.1.x
   123.9 +	patch -p1 < $stuff/openssl-1.1-support.patch
  123.10 +
  123.11  	./configure \
  123.12  		--prefix=/usr \
  123.13  		--sysconfdir=/etc \
   124.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   124.2 +++ b/gst-plugins-bad/stuff/openssl-1.1-support.patch	Sun Jan 14 08:12:37 2024 +0000
   124.3 @@ -0,0 +1,11 @@
   124.4 +--- a/ext/apexsink/gstapexraop.c
   124.5 ++++ b/ext/apexsink/gstapexraop.c
   124.6 +@@ -677,7 +677,7 @@
   124.7 +   guchar *buffer, *frame_data;
   124.8 +   gushort len;
   124.9 +   gint bit_offset, byte_offset, i, out_len, res;
  124.10 +-  EVP_CIPHER_CTX aes_ctx;
  124.11 ++  EVP_CIPHER_CTX *aes_ctx;
  124.12 +   _GstApExRAOP *conn = (_GstApExRAOP *) con;
  124.13 +   const int frame_header_size = conn->generation == GST_APEX_GENERATION_ONE
  124.14 +       ? GST_APEX_RAOP_FRAME_HEADER_SIZE : GST_APEX_RTP_FRAME_HEADER_SIZE;
   125.1 --- a/gst-plugins-base-1.0-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   125.2 +++ b/gst-plugins-base-1.0-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   125.3 @@ -1,7 +1,7 @@
   125.4  # SliTaz package receipt.
   125.5  
   125.6  PACKAGE="gst-plugins-base-1.0-dev"
   125.7 -VERSION="1.10.3"
   125.8 +VERSION="1.18.5"
   125.9  SERIES="1.0"
  125.10  CATEGORY="development"
  125.11  SHORT_DESC="gst-plugins-base development files."
   126.1 --- a/gst-plugins-base-1.0/receipt	Mon Oct 16 18:37:14 2023 +0000
   126.2 +++ b/gst-plugins-base-1.0/receipt	Sun Jan 14 08:12:37 2024 +0000
   126.3 @@ -1,7 +1,7 @@
   126.4  # SliTaz package receipt.
   126.5  
   126.6  PACKAGE="gst-plugins-base-1.0"
   126.7 -VERSION="1.10.3"
   126.8 +VERSION="1.18.5"
   126.9  SERIES="1.0"
  126.10  CATEGORY="multimedia"
  126.11  SHORT_DESC="GStreamer Base Plugins."
  126.12 @@ -16,9 +16,9 @@
  126.13  DEPENDS="alsa-lib gstreamer-1.0 libogg libtheora libtheora-enc 
  126.14  	libvorbis opus orc pango udev vorbis-tools xorg xorg-libXv 
  126.15  	xorg-libXvMC"
  126.16 -BUILD_DEPENDS="alsa-lib-dev automake115 gstreamer-1.0-dev libogg-dev libtheora-dev 
  126.17 +BUILD_DEPENDS="alsa-lib-dev gstreamer-1.0-dev libogg-dev libtheora-dev 
  126.18  	libtheora-enc libvorbis-dev opus-dev orc-dev pango-dev udev-dev 
  126.19 -	util-linux-uuid-dev xorg-libXv-dev xorg-libXvMC-dev"
  126.20 +	util-linux-uuid-dev xorg-libXv-dev xorg-libXvMC-dev meson"
  126.21  
  126.22  HOST_ARCH="i486 arm"
  126.23  
  126.24 @@ -44,25 +44,22 @@
  126.25  	sysroot="/cross/arm/sysroot"
  126.26  	libs="/usr/lib"
  126.27  	incl="/usr/include"
  126.28 -	sed -i '/set ERROR_C/d'	configure
  126.29 -	grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
  126.30 +	#sed -i '/set ERROR_C/d'	configure
  126.31 +	#grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
  126.32  
  126.33 -	./configure							\
  126.34 -		--prefix=/usr						\
  126.35 -		--sysconfdir=/etc					\
  126.36 -		--localstatedir=/var					\
  126.37 -		--enable-experimental					\
  126.38 -		--disable-static					\
  126.39 -		--disable-debug						\
  126.40 -		--disable-gnome-vfs					\
  126.41 -		--disable-libvisual					\
  126.42 -		--disable-vorbisidec					\
  126.43 -		--enable-introspection=no				\
  126.44 -		--with-package-name="GStreamer Base Plugins ($SERIES)"	\
  126.45 -		--with-package-origin="http://www.slitaz.org/"		\
  126.46 -		$CONFIGURE_ARGS | grep -v 'vorbisidec' &&
  126.47 -	make $MAKEFLAGS &&
  126.48 -	make install 2>/dev/null
  126.49 +        meson build \
  126.50 +            --prefix=/usr \
  126.51 +            --libdir=lib \
  126.52 +            --bindir=/usr/bin \
  126.53 +            --sbindir=/usr/sbin \
  126.54 +            --sysconfdir=/etc \
  126.55 +            --localstatedir=/var \
  126.56 +            --buildtype=release \
  126.57 +        -Dintrospection=disabled \
  126.58 +        -Dpackage-name="GStreamer Base Plugins ($SERIES)" \
  126.59 +        -Dpackage-origin="http://www.slitaz.org/" &&
  126.60 +        ninja -C build &&
  126.61 +        ninja -C build install
  126.62  }
  126.63  
  126.64  # Rules to gen a SliTaz package suitable for Tazpkg.
   127.1 --- a/gst-plugins-good-1.0/receipt	Mon Oct 16 18:37:14 2023 +0000
   127.2 +++ b/gst-plugins-good-1.0/receipt	Sun Jan 14 08:12:37 2024 +0000
   127.3 @@ -1,7 +1,7 @@
   127.4  # SliTaz package receipt.
   127.5  
   127.6  PACKAGE="gst-plugins-good-1.0"
   127.7 -VERSION="1.16.2"
   127.8 +VERSION="1.18.5"
   127.9  SERIES="1.0"
  127.10  CATEGORY="multimedia"
  127.11  SHORT_DESC="GStreamer Base Plugins."
  127.12 @@ -14,8 +14,8 @@
  127.13  WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"
  127.14  
  127.15  DEPENDS="alsa-lib gstreamer-1.0 jpeg mpg123 pango"
  127.16 -BUILD_DEPENDS="gst-plugins-base-1.0-dev gstreamer-1.0-dev 
  127.17 -	jpeg-dev mpg123-dev"
  127.18 +BUILD_DEPENDS="gst-plugins-base-1.0-dev gstreamer-1.0-dev \
  127.19 +jpeg-dev mpg123-dev meson"
  127.20  
  127.21  current_version()
  127.22  {
  127.23 @@ -26,23 +26,18 @@
  127.24  # Rules to configure and make the package.
  127.25  compile_rules()
  127.26  {
  127.27 -	sed -i '/set ERROR_C/d'		configure
  127.28 -	sed -i '/set ERROR_OBJC/d'	configure
  127.29 -
  127.30 -	./configure							\
  127.31 -		--prefix=/usr						\
  127.32 -		--sysconfdir=/etc					\
  127.33 -		--localstatedir=/var					\
  127.34 -		--enable-experimental					\
  127.35 -		--disable-static					\
  127.36 -		--disable-debug						\
  127.37 -		--disable-libvisual					\
  127.38 -		--enable-introspection=no				\
  127.39 -		--with-package-name="GStreamer Base Plugins ($SERIES)"	\
  127.40 -		--with-package-origin="http://www.slitaz.org/"		\
  127.41 -		$CONFIGURE_ARGS | grep -v 'No package' &&
  127.42 -	make $MAKEFLAGS &&
  127.43 -	make install 2>/dev/null
  127.44 +        meson build \
  127.45 +            --prefix=/usr \
  127.46 +            --libdir=lib \
  127.47 +            --bindir=/usr/bin \
  127.48 +            --sbindir=/usr/sbin \
  127.49 +            --sysconfdir=/etc \
  127.50 +            --localstatedir=/var \
  127.51 +            --buildtype=release \
  127.52 +        -Dpackage-name="GStreamer Good Plugins ($SERIES)" \
  127.53 +        -Dpackage-origin="http://www.slitaz.org/" &&
  127.54 +        ninja -C build &&
  127.55 +        ninja -C build install
  127.56  }
  127.57  
  127.58  # Rules to gen a SliTaz package suitable for Tazpkg.
   128.1 --- a/gstreamer-1.0-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   128.2 +++ b/gstreamer-1.0-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   128.3 @@ -1,7 +1,7 @@
   128.4  # SliTaz package receipt.
   128.5  
   128.6  PACKAGE="gstreamer-1.0-dev"
   128.7 -VERSION="1.10.3"
   128.8 +VERSION="1.18.5"
   128.9  SERIES="1.0"
  128.10  CATEGORY="development"
  128.11  SHORT_DESC="The gstreamer-1.0 development files."
   129.1 --- a/gstreamer-1.0/receipt	Mon Oct 16 18:37:14 2023 +0000
   129.2 +++ b/gstreamer-1.0/receipt	Sun Jan 14 08:12:37 2024 +0000
   129.3 @@ -1,7 +1,7 @@
   129.4  # SliTaz package receipt.
   129.5  
   129.6  PACKAGE="gstreamer-1.0"
   129.7 -VERSION="1.10.3"
   129.8 +VERSION="1.18.5"
   129.9  SERIES="1.0"
  129.10  CATEGORY="multimedia"
  129.11  SHORT_DESC="GStreamer Multimedia Framework."
  129.12 @@ -14,7 +14,8 @@
  129.13  WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
  129.14  
  129.15  DEPENDS="glib libgio libxml2"
  129.16 -BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
  129.17 +BUILD_DEPENDS="glib-dev libgio-dev \
  129.18 +libxml2-dev pkg-config meson"
  129.19  
  129.20  HOST_ARCH="i486 arm"
  129.21  
  129.22 @@ -32,42 +33,34 @@
  129.23  # Rules to configure and make the package.
  129.24  compile_rules()
  129.25  {
  129.26 -	sed -i '/set ERROR_CFLAGS/d' configure
  129.27 -
  129.28 -	# Update for make 3.81
  129.29 -	sed -i 's|\\#|#|' libs/gst/controller/Makefile*
  129.30 -
  129.31 -	# Patch for make 4.x
  129.32 -	# see bugzilla.redhat.com/show_bug.cgi?id=1820512
  129.33 -	patch -p1 < $stuff/gstreamer-make4.patch
  129.34 -
  129.35 -	./configure						\
  129.36 -		--sysconfdir=/etc				\
  129.37 -		--localstatedir=/var				\
  129.38 -		--libexecdir=/usr/lib				\
  129.39 -		--enable-silent-rules				\
  129.40 -		--disable-static				\
  129.41 -		--disable-examples				\
  129.42 -		--disable-debug					\
  129.43 -		--enable-introspection=no			\
  129.44 -		--with-package-name="GStreamer ($SERIES)"	\
  129.45 -		--with-package-origin="http://www.slitaz.org/"	\
  129.46 -		$CONFIGURE_ARGS &&
  129.47 -	make $MAKEFLAGS &&
  129.48 -	make install 2>/dev/null
  129.49 +        meson build \
  129.50 +            --prefix=/usr \
  129.51 +            --libdir=lib \
  129.52 +            --bindir=/usr/bin \
  129.53 +            --sbindir=/usr/sbin \
  129.54 +	    --sysconfdir=/etc \
  129.55 +	    --localstatedir=/var \
  129.56 +            --buildtype=release \
  129.57 +	-Dintrospection=disabled \
  129.58 +	-Dpackage-name="GStreamer ($SERIES)" \
  129.59 +	-Dpackage-origin="http://www.slitaz.org/" \
  129.60 +	-Dcoretracers=disabled &&
  129.61 +        ninja -C build &&
  129.62 +        ninja -C build install
  129.63  }
  129.64  
  129.65  # Rules to gen a SliTaz package suitable for Tazpkg.
  129.66  genpkg_rules()
  129.67  {
  129.68  	mkdir -p $fs/usr/lib/gstreamer-$SERIES
  129.69 +	mkdir -p $fs/usr/libexec/gstreamer-$SERIES
  129.70  	mkdir -p $fs/usr/bin
  129.71  	mkdir -p $fs/usr/share/locale
  129.72  
  129.73  	mv $install/usr/bin/*-$SERIES			$fs/usr/bin
  129.74  	mv $install/usr/lib/*.so*			$fs/usr/lib
  129.75  	mv $install/usr/lib/gstreamer-$SERIES/*.so	$fs/usr/lib/gstreamer-$SERIES
  129.76 -	mv $install/usr/lib/gstreamer-$SERIES/gst-*	$fs/usr/lib/gstreamer-$SERIES
  129.77 +	mv $install/usr/libexec/gstreamer-$SERIES/gst-*	$fs/usr/libexec/gstreamer-$SERIES
  129.78  	for locale in $LOCALES
  129.79  	  do
  129.80  		mv $install/usr/share/locale/$locale	$fs/usr/share/locale
   130.1 --- a/gtk+-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   130.2 +++ b/gtk+-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   130.3 @@ -1,7 +1,7 @@
   130.4  # SliTaz package receipt.
   130.5  
   130.6  PACKAGE="gtk+-dev"
   130.7 -VERSION="2.24.32"
   130.8 +VERSION="2.24.33"
   130.9  CATEGORY="development"
  130.10  SHORT_DESC="The GIMP Toolkit - development files."
  130.11  MAINTAINER="pankso@slitaz.org"
  130.12 @@ -28,4 +28,7 @@
  130.13  	cp -a $install/usr/include		$fs/usr
  130.14  	cp -a $install/usr/share/gir-1.0	$fs/usr/share
  130.15  	cp -a $install/usr/share/aclocal	$fs/usr/share
  130.16 +
  130.17 +        # Ensure remove .la files
  130.18 +        find $fs -name "*.la" -delete
  130.19  }
   131.1 --- a/gtk+/receipt	Mon Oct 16 18:37:14 2023 +0000
   131.2 +++ b/gtk+/receipt	Sun Jan 14 08:12:37 2024 +0000
   131.3 @@ -1,7 +1,7 @@
   131.4  # SliTaz package receipt.
   131.5  
   131.6  PACKAGE="gtk+"
   131.7 -VERSION="2.24.32"
   131.8 +VERSION="2.24.33"
   131.9  CATEGORY="x-window"
  131.10  SHORT_DESC="The GIMP Toolkit."
  131.11  MAINTAINER="pankso@slitaz.org"
  131.12 @@ -36,8 +36,8 @@
  131.13  case "$ARCH" in
  131.14  	i?86)
  131.15  		# Remove cups-dev (avoid loop)
  131.16 -		BUILD_DEPENDS="$BUILD_DEPENDS bash gobject-introspection-dev \
  131.17 -		perl pkg-config" ;;
  131.18 +		BUILD_DEPENDS="$BUILD_DEPENDS bash cups-dev gobject-introspection-dev \
  131.19 +		perl pkg-config tiff-dev shared-mime-info-dev" ;;
  131.20  	arm*)
  131.21  		ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
  131.22  		--disable-papi --with-gdktarget=x11 --with-xinput gio_can_sniff=yes"
   132.1 --- a/gtk+3-demo/receipt	Mon Oct 16 18:37:14 2023 +0000
   132.2 +++ b/gtk+3-demo/receipt	Sun Jan 14 08:12:37 2024 +0000
   132.3 @@ -1,7 +1,7 @@
   132.4  # SliTaz package receipt.
   132.5  
   132.6  PACKAGE="gtk+3-demo"
   132.7 -VERSION="3.14.8"
   132.8 +VERSION="3.24.31"
   132.9  CATEGORY="development"
  132.10  SHORT_DESC="The GIMP Toolkit 3.x example code and demo"
  132.11  MAINTAINER="pankso@slitaz.org"
   133.1 --- a/gtk+3-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   133.2 +++ b/gtk+3-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   133.3 @@ -1,7 +1,7 @@
   133.4  # SliTaz package receipt.
   133.5  
   133.6  PACKAGE="gtk+3-dev"
   133.7 -VERSION="3.14.8"
   133.8 +VERSION="3.24.31"
   133.9  CATEGORY="development"
  133.10  SHORT_DESC="The GIMP Toolkit 3.x (development files)."
  133.11  MAINTAINER="pankso@slitaz.org"
  133.12 @@ -12,7 +12,7 @@
  133.13  DEPENDS="atk-dev cairo-dev dbus-dev gdk-pixbuf-dev glib-dev gtk+3 
  133.14  	jpeg-dev libpng-dev pango-dev pkg-config tiff-dev 
  133.15  	xorg-libXcomposite-dev xorg-libXcursor-dev xorg-libXdamage-dev 
  133.16 -	xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev"
  133.17 +	xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev libepoxy-dev"
  133.18  
  133.19  # Rules to gen a SliTaz package suitable for Tazpkg.
  133.20  genpkg_rules()
  133.21 @@ -31,4 +31,7 @@
  133.22  
  133.23  	cp -a $install/usr/share/aclocal	$fs/usr/share
  133.24  	cp -a $install/usr/share/gir-1.0	$fs/usr/share
  133.25 +
  133.26 +        # Ensure remove .la files
  133.27 +        find $fs -name "*.la" -delete
  133.28  }
   134.1 --- a/gtk+3-widget-factory/receipt	Mon Oct 16 18:37:14 2023 +0000
   134.2 +++ b/gtk+3-widget-factory/receipt	Sun Jan 14 08:12:37 2024 +0000
   134.3 @@ -1,7 +1,7 @@
   134.4  # SliTaz package receipt.
   134.5  
   134.6  PACKAGE="gtk+3-widget-factory"
   134.7 -VERSION="3.14.8"
   134.8 +VERSION="3.24.31"
   134.9  CATEGORY="development"
  134.10  SHORT_DESC="The GIMP Toolkit 3.x widget factory"
  134.11  MAINTAINER="pankso@slitaz.org"
   135.1 --- a/gtk+3/receipt	Mon Oct 16 18:37:14 2023 +0000
   135.2 +++ b/gtk+3/receipt	Sun Jan 14 08:12:37 2024 +0000
   135.3 @@ -1,7 +1,7 @@
   135.4  # SliTaz package receipt.
   135.5  
   135.6  PACKAGE="gtk+3"
   135.7 -VERSION="3.14.8"
   135.8 +VERSION="3.24.31"
   135.9  CATEGORY="x-window"
  135.10  SHORT_DESC="The GIMP Toolkit 3.x"
  135.11  MAINTAINER="pankso@slitaz.org"
  135.12 @@ -15,11 +15,11 @@
  135.13  SUGGESTED="cups"
  135.14  DEPENDS="at-spi2-atk atk gdk-pixbuf pango slitaz-icon util-linux-uuid 
  135.15  	xorg-libXcomposite xorg-libXcursor xorg-libXi xorg-libXinerama 
  135.16 -	xorg-libXrandr"
  135.17 +	xorg-libXrandr libepoxy"
  135.18  BUILD_DEPENDS="at-spi2-atk atk-dev autoconf automake bash cairo-dev 
  135.19  	cups-dev dbus-dev gdk-pixbuf-dev gobject-introspection-dev 
  135.20  	indent libffi-dev libxml2-dev pango-dev perl pkg-config 
  135.21 -	util-linux-uuid-dev xorg-dev"
  135.22 +	util-linux-uuid-dev xorg-dev libepoxy-dev iso-codes"
  135.23  
  135.24  CONFIG_FILES="/etc/gtk-3.0/settings.ini"
  135.25  
   136.1 --- a/gtk-doc/receipt	Mon Oct 16 18:37:14 2023 +0000
   136.2 +++ b/gtk-doc/receipt	Sun Jan 14 08:12:37 2024 +0000
   136.3 @@ -11,8 +11,8 @@
   136.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
   136.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
   136.6  
   136.7 -DEPENDS="py3k"
   136.8 -BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl py3k"
   136.9 +DEPENDS="python3"
  136.10 +BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl python3"
  136.11  
  136.12  current_version()
  136.13  {
   137.1 --- a/gtk-girepository/receipt	Mon Oct 16 18:37:14 2023 +0000
   137.2 +++ b/gtk-girepository/receipt	Sun Jan 14 08:12:37 2024 +0000
   137.3 @@ -1,7 +1,7 @@
   137.4  # SliTaz package receipt.
   137.5  
   137.6  PACKAGE="gtk-girepository"
   137.7 -VERSION="2.24.32"
   137.8 +VERSION="2.24.33"
   137.9  SHORT_DESC="Required to run pygobject3 applications."
  137.10  CATEGORY="development"
  137.11  MAINTAINER="psychomaniak@xakep.ru"
  137.12 @@ -9,17 +9,12 @@
  137.13  WEB_SITE="https://www.gtk.org/"
  137.14  
  137.15  DEPENDS="gobject-introspection gtk+"
  137.16 -BUILD_DEPENDS="atk-dev gdk-pixbuf-dev gtk+-dev pango-dev"
  137.17  WANTED="gtk+"
  137.18  
  137.19 -compile_rules()
  137.20 -{
  137.21 -	mkdir -p $DESTDIR/usr/lib
  137.22 -	cp -a /usr/lib/girepository-1.0	$DESTDIR/usr/lib
  137.23 -}
  137.24 -
  137.25  # Rules to gen a SliTaz package suitable for Tazpkg.
  137.26  genpkg_rules()
  137.27  {
  137.28 -	cp -a $install/*	$fs
  137.29 +	mkdir -p $fs/usr/lib
  137.30 +	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  137.31 +	#cp -a $install/*	$fs
  137.32  }
   138.1 --- a/gtksourceview-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   138.2 +++ b/gtksourceview-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   138.3 @@ -15,7 +15,7 @@
   138.4  genpkg_rules()
   138.5  {
   138.6  	mkdir -p $fs/usr/lib $fs/usr/share
   138.7 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   138.8 +	#cp -a $install/usr/lib/*.*a $fs/usr/lib
   138.9  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  138.10  	cp -a $install/usr/include $fs/usr
  138.11  }
   139.1 --- a/gtkspell/receipt	Mon Oct 16 18:37:14 2023 +0000
   139.2 +++ b/gtkspell/receipt	Sun Jan 14 08:12:37 2024 +0000
   139.3 @@ -12,7 +12,8 @@
   139.4  WGET_URL="$WEB_SITE/download/$TARBALL"
   139.5  
   139.6  DEPENDS="cairo enchant gtk+"
   139.7 -BUILD_DEPENDS="enchant-dev expat-dev gtk+-dev pkg-config"
   139.8 +BUILD_DEPENDS="automake libtool enchant-dev expat-dev gtk-doc \
   139.9 +gtk+-dev libxslt-dev docbook-xsl python3-pygments pkg-config"
  139.10  
  139.11  HOST_ARCH="i486 arm"
  139.12  
  139.13 @@ -27,6 +28,13 @@
  139.14  # Rules to configure and make the package.
  139.15  compile_rules()
  139.16  {
  139.17 +	# Patch to be build with enchant-2
  139.18 +	# Thanks Pat :)
  139.19 +	patch -p1 < $stuff/gtkspell.enchant-2.diff
  139.20 +
  139.21 +	gtkdocize
  139.22 +	autoreconf -ivf
  139.23 +
  139.24  	./configure		\
  139.25  		$CONFIGURE_ARGS &&
  139.26  	make &&
  139.27 @@ -36,6 +44,6 @@
  139.28  # Rules to gen a SliTaz package suitable for Tazpkg.
  139.29  genpkg_rules()
  139.30  {
  139.31 -	mkdir -p $fs/usr
  139.32 -	cp -a $install/usr/lib $fs/usr
  139.33 +	mkdir -p $fs/usr/lib
  139.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
  139.35  }
   140.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   140.2 +++ b/gtkspell/stuff/gtkspell.enchant-2.diff	Sun Jan 14 08:12:37 2024 +0000
   140.3 @@ -0,0 +1,28 @@
   140.4 +--- ./gtkspell/gtkspell.c.orig	2009-10-09 14:01:47.000000000 -0500
   140.5 ++++ ./gtkspell/gtkspell.c	2021-06-29 14:00:00.570508124 -0500
   140.6 +@@ -277,7 +277,7 @@
   140.7 + 	get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
   140.8 + 	word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
   140.9 + 	
  140.10 +-	enchant_dict_add_to_pwl( spell->speller, word, strlen(word));
  140.11 ++	enchant_dict_add( spell->speller, word, strlen(word));
  140.12 + 
  140.13 + 	gtkspell_recheck_all(spell);
  140.14 + 
  140.15 +--- ./configure.ac.orig	2009-10-22 21:52:31.000000000 -0500
  140.16 ++++ ./configure.ac	2021-06-29 13:58:26.549513324 -0500
  140.17 +@@ -12,12 +12,12 @@
  140.18 + AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
  140.19 + AC_CONFIG_HEADERS([config.h])
  140.20 + 
  140.21 +-SPELLER_LIB=-lenchant
  140.22 ++SPELLER_LIB=-lenchant-2
  140.23 +       
  140.24 + AC_SUBST(SPELLER_LIB)
  140.25 + GTKSPELL_PACKAGES=gtk+-2.0
  140.26 + AC_SUBST(GTKSPELL_PACKAGES)
  140.27 +-PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant >= 0.4.0 )
  140.28 ++PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant-2 >= 2.2.0 )
  140.29 + AC_SUBST(GTKSPELL_CFLAGS)
  140.30 + AC_SUBST(GTKSPELL_LIBS)
  140.31 + 
   141.1 --- a/gzip/receipt	Mon Oct 16 18:37:14 2023 +0000
   141.2 +++ b/gzip/receipt	Sun Jan 14 08:12:37 2024 +0000
   141.3 @@ -1,7 +1,7 @@
   141.4  # SliTaz package receipt.
   141.5  
   141.6  PACKAGE="gzip"
   141.7 -VERSION="1.11"
   141.8 +VERSION="1.12"
   141.9  CATEGORY="system-tools"
  141.10  SHORT_DESC="GNU compression utilities (gzip and gunzip)"
  141.11  MAINTAINER="erjo@slitaz.org"
   142.1 --- a/hal/receipt	Mon Oct 16 18:37:14 2023 +0000
   142.2 +++ b/hal/receipt	Sun Jan 14 08:12:37 2024 +0000
   142.3 @@ -47,6 +47,8 @@
   142.4  	grep -qs 'define u8' hald/linux/probing/linux_dvd_rw_utils.c ||
   142.5  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
   142.6  		hald/linux/probing/linux_dvd_rw_utils.c
   142.7 +	# Patch to be build with glibc 2.28
   142.8 +	patch -p1 < $stuff/glibc-2.28-build.patch
   142.9  	./configure \
  142.10  		--prefix=/usr \
  142.11  		--libexecdir=/usr/lib/hal \
   143.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   143.2 +++ b/hal/stuff/glibc-2.28-build.patch	Sun Jan 14 08:12:37 2024 +0000
   143.3 @@ -0,0 +1,23 @@
   143.4 +diff -up src/hal-0.5.15/hald/linux/blockdev.c.orig src/hal-0.5.15/hald/linux/blockdev.c
   143.5 +--- a/hald/linux/blockdev.c	2015-08-13 18:03:19.000000000 -0600
   143.6 ++++ b/hald/linux/blockdev.c	2019-08-06 03:30:01.000000000 -0600
   143.7 +@@ -35,6 +35,7 @@
   143.8 + #include <dirent.h>
   143.9 + #include <string.h>
  143.10 + #include <sys/stat.h>
  143.11 ++#include <sys/sysmacros.h>
  143.12 + #include <syslog.h>
  143.13 + #include <unistd.h>
  143.14 + #include <errno.h>
  143.15 +diff -up src/hal-0.5.15/tools/Makefile.in.orig src/hal-0.5.15/tools/Makefile.in
  143.16 +--- a/tools/Makefile.in	2015-08-13 18:09:13.000000000 -0600
  143.17 ++++ b/tools/Makefile.in	2019-08-06 03:28:38.000000000 -0600
  143.18 +@@ -1345,7 +1345,7 @@ uninstall-am: uninstall-binPROGRAMS unin
  143.19 + 
  143.20 + 
  143.21 + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@hal-setup-keymap-keys.txt: @LINUX_INPUT_H@
  143.22 +-@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@	awk '/^#define.*KEY_/ { if ($$2 != "KEY_MAX") { print substr($$2, 5) } }' < $< > $@
  143.23 ++@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@	cpp -fdirectives-only $< | awk '/^#define.*KEY_/ { if ($$2 != "KEY_MAX" && $$2 != "__KEY_T_TYPE") { print substr($$2, 5) } }' > $@
  143.24 + 
  143.25 + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@hal-setup-keymap-hash-name.gperf: hal-setup-keymap-keys.txt
  143.26 + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@	awk 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", KEY_" $$1 }' < $< > $@
   144.1 --- a/hardinfo/receipt	Mon Oct 16 18:37:14 2023 +0000
   144.2 +++ b/hardinfo/receipt	Sun Jan 14 08:12:37 2024 +0000
   144.3 @@ -6,9 +6,9 @@
   144.4  SHORT_DESC="A tool to get hardware informations and perform benchmarks."
   144.5  MAINTAINER="pankso@slitaz.org"
   144.6  LICENSE="GPL2"
   144.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   144.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   144.9  WEB_SITE="https://github.com/lpereira/hardinfo"
  144.10 -WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
  144.11 +WGET_URL="https://github.com/lpereira/hardinfo/archive/refs/tags/release-0.5.1.tar.gz"
  144.12  
  144.13  DEPENDS="gtk+ pciutils xorg-libXdamage"
  144.14  BUILD_DEPENDS="gtk+ gtk+-dev"
  144.15 @@ -23,6 +23,12 @@
  144.16  # Rules to configure and make the package.
  144.17  compile_rules()
  144.18  {
  144.19 +	cd $src/hardinfo2
  144.20 +
  144.21 +	# Patch to be build with new stack
  144.22 +	# See https://slackbuilds.org/slackbuilds/15.0/system/hardinfo
  144.23 +	patch -p1 < $stuff/makefile.patch
  144.24 +
  144.25  	while read file; do
  144.26  		[ -f done.$file ] && continue
  144.27  		patch -p0 < $stuff/$file || return 1
  144.28 @@ -42,12 +48,11 @@
  144.29  # Rules to gen a SliTaz package suitable for Tazpkg.
  144.30  genpkg_rules()
  144.31  {
  144.32 -	mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
  144.33 +	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
  144.34  	cp -a $install/usr/bin $fs/usr
  144.35 -	cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
  144.36 +	cp -a $install/usr/lib/$PACKAGE/modules $fs/usr/lib/$PACKAGE
  144.37  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
  144.38  	cd $fs/usr/share/pixmaps
  144.39  	rm ../$PACKAGE/pixmaps/logo.xcf
  144.40  	ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
  144.41  }
  144.42 -
   145.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   145.2 +++ b/hardinfo/stuff/makefile.patch	Sun Jan 14 08:12:37 2024 +0000
   145.3 @@ -0,0 +1,10 @@
   145.4 +--- a/Makefile.in	2015-12-19 09:39:19.955074713 +0700
   145.5 ++++ b/Makefile.in	2015-12-19 09:39:40.254827496 +0700
   145.6 +@@ -1,6 +1,6 @@
   145.7 + 
   145.8 + CCFLAGS = -fPIC -pipe -Wall -g 
   145.9 +-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I.
  145.10 ++CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89
  145.11 + CC = gcc $(ARCHOPTS) -g
  145.12 + CCSLOW = gcc -O0 -g
  145.13 + 
   146.1 --- a/hardinfo/stuff/os.patch	Mon Oct 16 18:37:14 2023 +0000
   146.2 +++ b/hardinfo/stuff/os.patch	Sun Jan 14 08:12:37 2024 +0000
   146.3 @@ -21,3 +21,14 @@
   146.4   		} else {
   146.5   		    os->distro = g_strdup(buf);
   146.6   		}
   146.7 +--- arch/linux/common/os.h
   146.8 ++++ arch/linux/common/os.h
   146.9 +@@ -61,7 +61,7 @@
  146.10 +     tmp = strstr(buf, "version ");
  146.11 +     if (!tmp) goto err;
  146.12 +     
  146.13 +-    p = strchr(tmp, ',');
  146.14 ++    p = strrchr(tmp, '.');
  146.15 +     if (p) *p = '\0';
  146.16 +     else goto err;
  146.17 +     
   147.1 --- a/harfbuzz-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   147.2 +++ b/harfbuzz-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   147.3 @@ -1,7 +1,7 @@
   147.4  # SliTaz package receipt.
   147.5  
   147.6  PACKAGE="harfbuzz-dev"
   147.7 -VERSION="2.8.1"
   147.8 +VERSION="3.2.0"
   147.9  CATEGORY="development"
  147.10  SHORT_DESC="Harfbuzz development files."
  147.11  MAINTAINER="pankso@slitaz.org"
  147.12 @@ -17,5 +17,7 @@
  147.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  147.14  genpkg_rules()
  147.15  {
  147.16 +	mkdir -p $fs/usr/share
  147.17  	cook_copy_files *.h *.pc
  147.18 +	cp -a $install/usr/share/gir-1.0 $fs/usr/share
  147.19  }
   148.1 --- a/harfbuzz-icu-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   148.2 +++ b/harfbuzz-icu-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   148.3 @@ -1,7 +1,7 @@
   148.4  # SliTaz package receipt.
   148.5  
   148.6  PACKAGE="harfbuzz-icu-dev"
   148.7 -VERSION="2.6.4"
   148.8 +VERSION="3.2.0"
   148.9  CATEGORY="development"
  148.10  SHORT_DESC="Harfbuzz with ICU development files."
  148.11  MAINTAINER="pankso@slitaz.org"
   149.1 --- a/harfbuzz-icu/receipt	Mon Oct 16 18:37:14 2023 +0000
   149.2 +++ b/harfbuzz-icu/receipt	Sun Jan 14 08:12:37 2024 +0000
   149.3 @@ -1,7 +1,7 @@
   149.4  # SliTaz package receipt.
   149.5  
   149.6  PACKAGE="harfbuzz-icu"
   149.7 -VERSION="2.6.4"
   149.8 +VERSION="3.2.0"
   149.9  CATEGORY="system-tools"
  149.10  SHORT_DESC="OpenType text shaping engine with icu support."
  149.11  MAINTAINER="pankso@slitaz.org"
  149.12 @@ -12,7 +12,6 @@
  149.13  TARBALL="$SOURCE-$VERSION.tar.xz"
  149.14  WGET_URL="https://www.freedesktop.org/software/$SOURCE/release/$TARBALL"
  149.15  
  149.16 -PROVIDE="harfbuzz"
  149.17  DEPENDS="freetype glib icu"
  149.18  BUILD_DEPENDS="freetype-dev glib-dev icu-dev"
  149.19  
   150.1 --- a/harfbuzz/receipt	Mon Oct 16 18:37:14 2023 +0000
   150.2 +++ b/harfbuzz/receipt	Sun Jan 14 08:12:37 2024 +0000
   150.3 @@ -1,7 +1,7 @@
   150.4  # SliTaz package receipt.
   150.5  
   150.6  PACKAGE="harfbuzz"
   150.7 -VERSION="2.8.1"
   150.8 +VERSION="3.2.0"
   150.9  CATEGORY="system-tools"
  150.10  SHORT_DESC="OpenType text shaping engine."
  150.11  MAINTAINER="pankso@slitaz.org"
  150.12 @@ -12,7 +12,8 @@
  150.13  WGET_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/$TARBALL"
  150.14  
  150.15  DEPENDS="cairo freetype glib libffi pcre"
  150.16 -BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev"
  150.17 +BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev \
  150.18 +gobject-introspection-dev python3-dev"
  150.19  
  150.20  HOST_ARCH="i486 arm"
  150.21  
  150.22 @@ -26,6 +27,7 @@
  150.23  compile_rules()
  150.24  {
  150.25  	./configure		\
  150.26 +		--enable-introspection=yes \
  150.27  		--with-freetype	\
  150.28  		--with-glib	\
  150.29  		--with-gobject	\
   151.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   151.2 +++ b/hplip-gui/receipt	Sun Jan 14 08:12:37 2024 +0000
   151.3 @@ -0,0 +1,29 @@
   151.4 +# SliTaz package receipt.
   151.5 +
   151.6 +PACKAGE="hplip-gui"
   151.7 +VERSION="3.20.5"
   151.8 +CATEGORY="system-tools"
   151.9 +TAGS="printer driver printing"
  151.10 +SHORT_DESC="HPLIP GUI."
  151.11 +MAINTAINER="shann@slitaz.org"
  151.12 +LICENSE="GPL2"
  151.13 +WANTED="hplip"
  151.14 +WEB_SITE="https://hplipopensource.com/"
  151.15 +
  151.16 +DEPENDS="pygobject3 Py3Qt-x11-gpl"
  151.17 +
  151.18 +# Rules to gen a SliTaz package suitable for Tazpkg.                                                             
  151.19 +genpkg_rules()                                                                            
  151.20 +{
  151.21 +        mkdir -p $fs/usr/bin
  151.22 +        mkdir -p $fs/usr/share/hplip
  151.23 +
  151.24 +	# Copy desktop files
  151.25 +	cp -a $install/usr/share/applications $fs/usr/share
  151.26 +
  151.27 +	# Copy hplip ui apps
  151.28 +	for file in $(cat $stuff/wanted-files.list)                      
  151.29 +        do                                                        
  151.30 +        	cp -a ${install}$file ${fs}$file                     
  151.31 +        done
  151.32 +}
   152.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   152.2 +++ b/hplip-gui/stuff/wanted-files.list	Sun Jan 14 08:12:37 2024 +0000
   152.3 @@ -0,0 +1,30 @@
   152.4 +/usr/share/hplip/devicesettings.py
   152.5 +/usr/share/hplip/diagnose_plugin.py
   152.6 +/usr/share/hplip/diagnose_queues.py
   152.7 +/usr/share/hplip/fab.py
   152.8 +/usr/share/hplip/faxsetup.py
   152.9 +/usr/share/hplip/linefeedcal.py
  152.10 +/usr/share/hplip/makecopies.py
  152.11 +/usr/share/hplip/pqdiag.py
  152.12 +/usr/share/hplip/print.py
  152.13 +/usr/share/hplip/printsettings.py
  152.14 +/usr/share/hplip/sendfax.py
  152.15 +/usr/share/hplip/systray.py
  152.16 +/usr/share/hplip/toolbox.py
  152.17 +/usr/share/hplip/uiscan.py
  152.18 +/usr/share/hplip/wificonfig.py
  152.19 +/usr/bin/hp-devicesettings 
  152.20 +/usr/bin/hp-diagnose_plugin
  152.21 +/usr/bin/hp-diagnose_queues
  152.22 +/usr/bin/hp-fab     
  152.23 +/usr/bin/hp-faxsetup     
  152.24 +/usr/bin/hp-linefeedcal  
  152.25 +/usr/bin/hp-makecopies
  152.26 +/usr/bin/hp-pqdiag 
  152.27 +/usr/bin/hp-print        
  152.28 +/usr/bin/hp-printsettings       
  152.29 +/usr/bin/hp-sendfax              
  152.30 +/usr/bin/hp-systray              
  152.31 +/usr/bin/hp-toolbox              
  152.32 +/usr/bin/hp-uiscan
  152.33 +/usr/bin/hp-wificonfig
   153.1 --- a/hplip/receipt	Mon Oct 16 18:37:14 2023 +0000
   153.2 +++ b/hplip/receipt	Sun Jan 14 08:12:37 2024 +0000
   153.3 @@ -1,7 +1,7 @@
   153.4  # SliTaz package receipt.
   153.5  
   153.6  PACKAGE="hplip"
   153.7 -VERSION="3.22.2" 
   153.8 +VERSION="3.20.5"
   153.9  CATEGORY="system-tools"
  153.10  TAGS="printer driver printing"
  153.11  SHORT_DESC="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet."
  153.12 @@ -12,13 +12,16 @@
  153.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
  153.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
  153.15  
  153.16 -DEPENDS="cups dbus-python gcc83-lib-base ghostscript jpeg libexif 
  153.17 -	libgphoto2 libltdl libusb libv4l net-snmp pygobject 
  153.18 -	PyQt-x11-gpl python sane-backends tiff"
  153.19 +DEPENDS="cups dbus-python gcc-lib-base ghostscript jpeg libexif
  153.20 +	libgphoto2 libltdl libusb libv4l net-snmp python3
  153.21 +	python3-distro python3-pillow sane-backends tiff"
  153.22  BUILD_DEPENDS="cups-dev dbus-dev dbus-python dbus-python-dev gawk
  153.23  	ghostscript-dev jpeg-dev libexif-dev libgphoto2-dev libtool
  153.24 -	libusb-dev net-snmp-dev openssl-dev pkg-config python
  153.25 -	python-dev Qt4-dev sane-backends-dev tiff-dev"
  153.26 +	libusb-dev net-snmp-dev openssl-dev pkg-config python3
  153.27 +	python3-dev Qt4-dev sane-backends-dev tiff-dev"
  153.28 +
  153.29 +# Take long long time for recompress, need check why
  153.30 +COOKOPTS="!gz !menus"
  153.31  
  153.32  BUGS="Unable to delete hplip.desktop from $fs.  Using hack in post_install."
  153.33  
  153.34 @@ -35,12 +38,40 @@
  153.35  {
  153.36  	grep -lr 'uname -m' . | xargs sed -i 's|uname -m|echo i686|'
  153.37  
  153.38 -	./configure			\
  153.39 -		--prefix=/usr		\
  153.40 -		--sysconfdir=/etc	\
  153.41 -		--disable-doc-build	\
  153.42 -		--disable-network-build	\
  153.43 -		--enable-qt4		\
  153.44 +	# Patch from slackware
  153.45 +	patch -p1 < $stuff/hplip.no.upgrade.diff
  153.46 +	patch -p1 < $stuff/setup.py.lc_all.c.diff
  153.47 +	patch -p1 < $stuff/hplip.python3.shebang.diff
  153.48 +	patch -p1 < $stuff/hplip.is_alive.diff
  153.49 +	patch -p1 < $stuff/hplip.python3.10.diff
  153.50 +
  153.51 +	find -name '*.py' -print0 | xargs -0 \
  153.52 +    		sed -i.env-python -e 's,^#!/usr/bin/env python,#!/usr/bin/python3,'
  153.53 +	sed -i.env-python -e 's,^#!/usr/bin/env python,#!/usr/bin/python3,' \
  153.54 +    		prnt/filters/hpps fax/filters/pstotiff
  153.55 +
  153.56 +	patch -p1 < $stuff/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
  153.57 +	patch -p1 < $stuff/0021-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
  153.58 +
  153.59 +	# autoreconf will fail if these files do not exist:
  153.60 +	for file in NEWS README AUTHORS ChangeLog ; do
  153.61 +	  if [ ! -r $file ]; then
  153.62 +    	    touch $file
  153.63 + 	  fi
  153.64 +	done
  153.65 +
  153.66 +	# Needed because Makefile.am was patched:
  153.67 +	autoreconf -vif
  153.68 +
  153.69 +	PYTHON=/usr/bin/python3				    \
  153.70 +	./configure					    \
  153.71 +		--prefix=/usr				    \
  153.72 +		--with-cupsbackenddir=/usr/lib/cups/backend \
  153.73 +		--with-cupsfilterdir=/usr/lib/cups/filter   \
  153.74 +		--sysconfdir=/etc			    \
  153.75 +		--disable-doc-build			    \
  153.76 +		--disable-network-build			    \
  153.77 +		--enable-qt4				    \
  153.78  		$CONFIGURE_ARGS &&
  153.79  	make &&
  153.80  	make -j 1 DESTDIR=$DESTDIR install
  153.81 @@ -54,7 +85,7 @@
  153.82  	mkdir -p $fs/usr/share
  153.83  
  153.84  	cp -a $install/etc		$fs
  153.85 -	cp -a $install/var		$fs
  153.86 +	#cp -a $install/var		$fs
  153.87  	cp -a $install/usr/bin		$fs/usr
  153.88  	cp -a $install/usr/lib/cups	$fs/usr/lib
  153.89  	cp -a $install/usr/lib/python*	$fs/usr/lib
  153.90 @@ -69,8 +100,18 @@
  153.91  	# compress non-zipped ppd files
  153.92  	find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;
  153.93  
  153.94 -	# make sure hp-toolbox exist
  153.95 -	ln -sf ../share/hplip/toolbox.py $fs/usr/bin/hp-toolbox	
  153.96 +	# Split UI to hplip-gui
  153.97 +        for file in $(cat $WOK/hplip-gui/stuff/wanted-files.list)
  153.98 +        do
  153.99 +                rm ${fs}$file
 153.100 +        done
 153.101 +	# Remove desktop files
 153.102 +	rm -rf $fs/usr/share/applications
 153.103 +
 153.104 +	# remove hp-uninstall / hp-upgrade
 153.105 +	rm $fs/usr/bin/hp-uninstall $fs/usr/bin/hp-upgrade
 153.106 +	rm $fs/usr/share/hplip/uninstall.py
 153.107 +	rm $fs/usr/share/hplip/upgrade.py
 153.108  
 153.109  	# remove autostart of hp-daemon
 153.110  	rm -rf				$fs/etc/sane.d
   154.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   154.2 +++ b/hplip/stuff/0021-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch	Sun Jan 14 08:12:37 2024 +0000
   154.3 @@ -0,0 +1,50 @@
   154.4 +From 1bd330a5240519781fe325c75c29de43ab0ffb29 Mon Sep 17 00:00:00 2001
   154.5 +From: Till Kamppeter <till.kamppeter@canonical.com>
   154.6 +Date: Sat, 24 Sep 2016 10:37:20 +0200
   154.7 +Subject: Add 'include <cups/ppd.h>' in various places as CUPS 2.2 moved some
   154.8 + definitions to ppd.h
   154.9 +
  154.10 +---
  154.11 + configure.in               | 2 +-
  154.12 + prnt/hpcups/HPCupsFilter.h | 2 ++
  154.13 + prnt/hpijs/hpcupsfax.cpp   | 1 +
  154.14 + 3 files changed, 4 insertions(+), 1 deletion(-)
  154.15 +
  154.16 +diff --git a/configure.in b/configure.in
  154.17 +index bf3902b84..f12eda941 100755
  154.18 +--- a/configure.in
  154.19 ++++ b/configure.in
  154.20 +@@ -591,7 +591,7 @@ fi
  154.21 + 
  154.22 + if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then
  154.23 +    AC_CHECK_LIB([cups], [cupsDoFileRequest], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libcups support], 9)])
  154.24 +-   AC_CHECK_HEADERS(cups/cups.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)])
  154.25 ++   AC_CHECK_HEADERS(cups/cups.h cups/ppd.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)])
  154.26 +    if test "$libusb01_build" = "yes"; then
  154.27 +       AC_CHECK_LIB([usb], [usb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb support], 2)])
  154.28 +       AC_CHECK_HEADERS(usb.h, ,[AC_MSG_ERROR([cannot find libusb-devel support], 11)])
  154.29 +diff --git a/prnt/hpcups/HPCupsFilter.h b/prnt/hpcups/HPCupsFilter.h
  154.30 +index 3d003d5d2..60f858025 100644
  154.31 +--- a/prnt/hpcups/HPCupsFilter.h
  154.32 ++++ b/prnt/hpcups/HPCupsFilter.h
  154.33 +@@ -38,6 +38,8 @@
  154.34 + #include <cups/ppd.h>
  154.35 + #include "dbuscomm.h"
  154.36 + 
  154.37 ++#include <cups/ppd.h>
  154.38 ++
  154.39 + #define		DBITMAPFILEHEADER		14
  154.40 + #define		DBITMAPINFOHEADER		40
  154.41 + 
  154.42 +diff --git a/prnt/hpijs/hpcupsfax.cpp b/prnt/hpijs/hpcupsfax.cpp
  154.43 +index 8514775d4..994e50f39 100644
  154.44 +--- a/prnt/hpijs/hpcupsfax.cpp
  154.45 ++++ b/prnt/hpijs/hpcupsfax.cpp
  154.46 +@@ -43,6 +43,7 @@
  154.47 + #include <arpa/inet.h>
  154.48 + #include <math.h>
  154.49 + #include <cups/cups.h>
  154.50 ++#include <cups/ppd.h>
  154.51 + #include <cups/raster.h>
  154.52 + #include <string>
  154.53 + #ifdef FALSE
   155.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   155.2 +++ b/hplip/stuff/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch	Sun Jan 14 08:12:37 2024 +0000
   155.3 @@ -0,0 +1,113 @@
   155.4 +From fa9c0cf1a5db9bf8880b4796d5e3e0da46534e3d Mon Sep 17 00:00:00 2001
   155.5 +From: Didier Raboud <odyx@debian.org>
   155.6 +Date: Tue, 21 Aug 2018 18:18:10 +0200
   155.7 +Subject: Remove all ImageProcessor functionality, which is closed-source
   155.8 +
   155.9 +---
  155.10 + Makefile.am                  | 14 ++------------
  155.11 + prnt/hpcups/HPCupsFilter.cpp | 21 ---------------------
  155.12 + 2 files changed, 2 insertions(+), 33 deletions(-)
  155.13 +
  155.14 +diff --git a/Makefile.am b/Makefile.am
  155.15 +index 1b097c4f9..8d5d78c9f 100644
  155.16 +--- a/Makefile.am
  155.17 ++++ b/Makefile.am
  155.18 +@@ -166,7 +166,7 @@ if !HPLIP_CLASS_DRIVER
  155.19 + dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py
  155.20 + endif #HPLIP_CLASS_DRIVER
  155.21 + 
  155.22 +-dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so
  155.23 ++dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template
  155.24 + dist_noinst_SCRIPTS += dat2drv.py install.py  hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv
  155.25 + 
  155.26 + if !HPLIP_CLASS_DRIVER
  155.27 +@@ -594,7 +594,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hp
  155.28 + 	prnt/hpcups/ImageProcessor.h
  155.29 + 
  155.30 + hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS)
  155.31 +-hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS)
  155.32 ++hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS)
  155.33 + #else
  155.34 + #hpcupsdir = $(cupsfilterdir)
  155.35 + #hpcups_PROGRAMS = hpcups
  155.36 +@@ -686,16 +686,6 @@ endif #HPLIP_CLASS_DRIVER
  155.37 + 
  155.38 + install-data-hook:
  155.39 + if HPLIP_BUILD
  155.40 +-	if [ \( "$(UNAME)" = "x86_64" -a  -d "$(libdir)/" \) ]; then \
  155.41 +-		cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \
  155.42 +-		chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \
  155.43 +-		ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \
  155.44 +-	fi; \
  155.45 +-	if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \
  155.46 +-		cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \
  155.47 +-		chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \
  155.48 +-		ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \
  155.49 +-	fi
  155.50 + if !HPLIP_CLASS_DRIVER
  155.51 + #	   If scanner build, add hpaio entry to sane dll.conf.
  155.52 + 	if [ "$(scan_build)" = "yes" ]; then \
  155.53 +diff --git a/prnt/hpcups/HPCupsFilter.cpp b/prnt/hpcups/HPCupsFilter.cpp
  155.54 +index 5b282d83f..0bacfafac 100644
  155.55 +--- a/prnt/hpcups/HPCupsFilter.cpp
  155.56 ++++ b/prnt/hpcups/HPCupsFilter.cpp
  155.57 +@@ -31,7 +31,6 @@
  155.58 + \*****************************************************************************/
  155.59 + 
  155.60 + #include "HPCupsFilter.h"
  155.61 +-#include "ImageProcessor.h"
  155.62 + 
  155.63 + #include <signal.h>
  155.64 + #include <sys/wait.h>
  155.65 +@@ -637,16 +636,10 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster)
  155.66 + 
  155.67 + 
  155.68 +     sprintf(hpPreProcessedRasterFile, "%s/hp_%s_cups_SwapedPagesXXXXXX",CUPS_TMP_DIR, m_JA.user_name);
  155.69 +-    image_processor_t* imageProcessor = imageProcessorCreate();
  155.70 + 
  155.71 +     while (cupsRasterReadHeader2(cups_raster, &cups_header))
  155.72 +     {
  155.73 + 
  155.74 +-        IMAGE_PROCESSOR_ERROR result = imageProcessorStartPage(imageProcessor, &cups_header);
  155.75 +-        if (result != IPE_SUCCESS){
  155.76 +-            dbglog("DEBUG: imageProcessorStartPage failed result = %d\n", result);
  155.77 +-        }
  155.78 +-
  155.79 +         current_page_number++;
  155.80 + 
  155.81 +         if (current_page_number == 1) {
  155.82 +@@ -745,12 +738,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster)
  155.83 +             color_raster = rgbRaster;
  155.84 +             black_raster = kRaster;
  155.85 + 
  155.86 +-            result = imageProcessorProcessLine(imageProcessor, m_pPrinterBuffer, cups_header.cupsBytesPerLine);
  155.87 +-            if (result != IPE_SUCCESS){
  155.88 +-                dbglog("DEBUG: imageProcessorProcessLine failed result = %d\n", result);
  155.89 +-            }
  155.90 +-
  155.91 +-
  155.92 +             if ((y == 0) && !is_ljmono) {
  155.93 +                 //For ljmono, make sure that first line is not a blankRaster line.Otherwise printer
  155.94 +                 //may not skip blank lines before actual data
  155.95 +@@ -780,12 +767,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster)
  155.96 +             }
  155.97 +         }  // for() loop end
  155.98 + 
  155.99 +-        result = imageProcessorEndPage(imageProcessor);
 155.100 +-        if (result != IPE_SUCCESS){
 155.101 +-                dbglog("DEBUG: imageProcessorEndPage failed result = %d\n", result);
 155.102 +-        }
 155.103 +-
 155.104 +-
 155.105 +         m_Job.NewPage();
 155.106 +         if (err != NO_ERROR) {
 155.107 +             break;
 155.108 +@@ -800,8 +781,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster)
 155.109 +         rgbRaster = NULL;
 155.110 +     }
 155.111 + 
 155.112 +-    imageProcessorDestroy(imageProcessor);
 155.113 +-
 155.114 +     unlink(hpPreProcessedRasterFile);
 155.115 +     return ret_status;
 155.116 + }
   156.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   156.2 +++ b/hplip/stuff/hplip.is_alive.diff	Sun Jan 14 08:12:37 2024 +0000
   156.3 @@ -0,0 +1,94 @@
   156.4 +diff --git a/copier/copier.py b/copier/copier.py
   156.5 +index a595baa..7794f48 100644
   156.6 +--- a/copier/copier.py
   156.7 ++++ b/copier/copier.py
   156.8 +@@ -73,13 +73,13 @@ class PMLCopyDevice(device.Device):
   156.9 + 
  156.10 +     def isCopyActive(self):
  156.11 +         if self.copy_thread is not None:
  156.12 +-            return self.copy_thread.isAlive()
  156.13 ++            return self.copy_thread.is_alive()
  156.14 +         else:
  156.15 +             return False
  156.16 + 
  156.17 +     def waitForCopyThread(self):
  156.18 +         if self.copy_thread is not None and \
  156.19 +-            self.copy_thread.isAlive():
  156.20 ++            self.copy_thread.is_alive():
  156.21 + 
  156.22 +             self.copy_thread.join()
  156.23 + 
  156.24 +diff --git a/fax/fax.py b/fax/fax.py
  156.25 +index 3d69226..0878a64 100644
  156.26 +--- a/fax/fax.py
  156.27 ++++ b/fax/fax.py
  156.28 +@@ -478,13 +478,13 @@ class FaxDevice(device.Device):
  156.29 + 
  156.30 +     def isSendFaxActive(self):
  156.31 +         if self.send_fax_thread is not None:
  156.32 +-            return self.send_fax_thread.isAlive()
  156.33 ++            return self.send_fax_thread.is_alive()
  156.34 +         else:
  156.35 +             return False
  156.36 + 
  156.37 +     def waitForSendFaxThread(self):
  156.38 +         if self.send_fax_thread is not None and \
  156.39 +-            self.send_fax_thread.isAlive():
  156.40 ++            self.send_fax_thread.is_alive():
  156.41 + 
  156.42 +             try:
  156.43 +                 self.send_fax_thread.join()
  156.44 +diff --git a/fax/pmlfax.py b/fax/pmlfax.py
  156.45 +index b68ff6a..b1020d0 100644
  156.46 +--- a/fax/pmlfax.py
  156.47 ++++ b/fax/pmlfax.py
  156.48 +@@ -179,13 +179,13 @@ class PMLFaxDevice(FaxDevice):
  156.49 + 
  156.50 +     def isUploadLogActive(self):
  156.51 +         if self.upload_log_thread is not None:
  156.52 +-            return self.upload_log_thread.isAlive()
  156.53 ++            return self.upload_log_thread.is_alive()
  156.54 +         else:
  156.55 +             return False
  156.56 + 
  156.57 +     def waitForUploadLogThread(self):
  156.58 +         if self.upload_log_thread is not None and \
  156.59 +-            self.upload_log_thread.isAlive():
  156.60 ++            self.upload_log_thread.is_alive():
  156.61 + 
  156.62 +             self.upload_log_thread.join()
  156.63 + 
  156.64 +diff --git a/scan/sane.py b/scan/sane.py
  156.65 +index b6c4acd..e8f8db8 100755
  156.66 +--- a/scan/sane.py
  156.67 ++++ b/scan/sane.py
  156.68 +@@ -378,14 +378,14 @@ class ScanDevice:
  156.69 + 
  156.70 +     def isScanActive(self):
  156.71 +         if self.scan_thread is not None:
  156.72 +-            return self.scan_thread.isAlive() and self.scan_thread.scan_active
  156.73 ++            return self.scan_thread.is_alive() and self.scan_thread.scan_active
  156.74 +         else:
  156.75 +             return False
  156.76 + 
  156.77 + 
  156.78 +     def waitForScanDone(self):
  156.79 +         if self.scan_thread is not None and \
  156.80 +-            self.scan_thread.isAlive() and \
  156.81 ++            self.scan_thread.is_alive() and \
  156.82 +             self.scan_thread.scan_active:
  156.83 + 
  156.84 +             try:
  156.85 +@@ -398,9 +398,9 @@ class ScanDevice:
  156.86 +         #time.sleep(0.5)
  156.87 +         if self.scan_thread is not None:
  156.88 +             while True:
  156.89 +-                #print self.scan_thread.isAlive()
  156.90 ++                #print self.scan_thread.is_alive()
  156.91 +                 #print self.scan_thread.scan_active
  156.92 +-                if self.scan_thread.isAlive() and \
  156.93 ++                if self.scan_thread.is_alive() and \
  156.94 +                     self.scan_thread.scan_active:
  156.95 +                     return
  156.96 + 
  156.97 +
   157.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   157.2 +++ b/hplip/stuff/hplip.no.upgrade.diff	Sun Jan 14 08:12:37 2024 +0000
   157.3 @@ -0,0 +1,16 @@
   157.4 +--- ./upgrade.py.orig	2013-03-08 01:15:32.000000000 -0600
   157.5 ++++ ./upgrade.py	2013-03-19 23:41:06.360870795 -0500
   157.6 +@@ -214,6 +214,13 @@
   157.7 + try:
   157.8 +     change_spinner_state(False)
   157.9 +     core =  CoreInstall(MODE_CHECK)
  157.10 ++
  157.11 ++    # To reenable upgrade in Slitaz (although it probably won't work),
  157.12 ++    # delete the following 3 lines:
  157.13 ++    log.info("HPLIP upgrade function is disabled in Slitaz.")
  157.14 ++    log.info("Not attempting to download upgrades.")
  157.15 ++    clean_exit(0)
  157.16 ++
  157.17 +     if not utils.check_network_connection():
  157.18 +         log.error("Either Internet is not working or Wget is not installed.")
  157.19 +         clean_exit(0)
   158.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   158.2 +++ b/hplip/stuff/hplip.python3.10.diff	Sun Jan 14 08:12:37 2024 +0000
   158.3 @@ -0,0 +1,77 @@
   158.4 +diff --git a/io/mudext/hpmudext.c b/io/mudext/hpmudext.c
   158.5 +index dca3e9d..dfcd22a 100644
   158.6 +--- a/io/mudext/hpmudext.c
   158.7 ++++ b/io/mudext/hpmudext.c
   158.8 +@@ -24,6 +24,8 @@ Authors: Don Welch, David Suffield, Naga Samrat Chowdary Narla
   158.9 + 
  158.10 + \*****************************************************************************/
  158.11 + 
  158.12 ++#define PY_SSIZE_T_CLEAN
  158.13 ++
  158.14 + #include <Python.h>
  158.15 + #include <stdarg.h>
  158.16 + #include "hpmud.h"
  158.17 +@@ -187,14 +189,22 @@ static PyObject *write_channel(PyObject *self, PyObject *args)
  158.18 +     HPMUD_CHANNEL cd;
  158.19 +     int timeout = 30;
  158.20 +     char * buf;
  158.21 +-    int buf_size = 0;
  158.22 ++    Py_ssize_t buf_size = 0;
  158.23 ++    int buf_size_asInt = 0;
  158.24 +     int bytes_written = 0;
  158.25 + 
  158.26 +     if (!PyArg_ParseTuple(args, "iis#|i", &dd, &cd, &buf, &buf_size, &timeout))
  158.27 +         return NULL;
  158.28 + 
  158.29 ++    if (buf_size < INT_MIN)
  158.30 ++      buf_size_asInt = INT_MIN;
  158.31 ++    else if (buf_size > INT_MAX)
  158.32 ++      buf_size_asInt = INT_MAX;
  158.33 ++    else
  158.34 ++      buf_size_asInt = (int)buf_size;
  158.35 ++
  158.36 +     Py_BEGIN_ALLOW_THREADS
  158.37 +-    result = hpmud_write_channel(dd, cd, buf, buf_size,  timeout, &bytes_written);
  158.38 ++    result = hpmud_write_channel(dd, cd, buf, buf_size_asInt,  timeout, &bytes_written);
  158.39 +     Py_END_ALLOW_THREADS
  158.40 + 
  158.41 +     return Py_BuildValue("(ii)", result, bytes_written);
  158.42 +@@ -231,14 +241,22 @@ static PyObject *set_pml(PyObject *self, PyObject *args)
  158.43 +     char * oid;
  158.44 +     int type;
  158.45 +     char * data;
  158.46 +-    int data_size;
  158.47 ++    Py_ssize_t data_size = 0;
  158.48 ++    int data_size_asInt = 0;
  158.49 +     int pml_result;
  158.50 + 
  158.51 +     if (!PyArg_ParseTuple(args, "iisis#", &dd, &cd, &oid, &type, &data, &data_size))
  158.52 +         return NULL;
  158.53 + 
  158.54 ++    if (data_size < INT_MIN)
  158.55 ++      data_size_asInt = INT_MIN;
  158.56 ++    else if (data_size > INT_MAX)
  158.57 ++      data_size_asInt = INT_MAX;
  158.58 ++    else
  158.59 ++      data_size_asInt = (int)data_size;
  158.60 ++
  158.61 +     Py_BEGIN_ALLOW_THREADS
  158.62 +-    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size, &pml_result);
  158.63 ++    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size_asInt, &pml_result);
  158.64 +     Py_END_ALLOW_THREADS
  158.65 + 
  158.66 +     return Py_BuildValue("(ii)", result, pml_result);
  158.67 +diff --git a/scan/scanext/scanext.c b/scan/scanext/scanext.c
  158.68 +index 1e6b514..597abd8 100755
  158.69 +--- a/scan/scanext/scanext.c
  158.70 ++++ b/scan/scanext/scanext.c
  158.71 +@@ -45,6 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
  158.72 + *******************************************************************/
  158.73 + 
  158.74 + 
  158.75 ++#define PY_SSIZE_T_CLEAN
  158.76 ++
  158.77 + /* _ScanDevice objects */
  158.78 + 
  158.79 + #include "Python.h"
  158.80 +
   159.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   159.2 +++ b/hplip/stuff/hplip.python3.shebang.diff	Sun Jan 14 08:12:37 2024 +0000
   159.3 @@ -0,0 +1,32 @@
   159.4 +--- ./uninstall.py.orig	2017-11-23 06:10:34.000000000 -0600
   159.5 ++++ ./uninstall.py	2017-11-27 18:41:11.976513695 -0600
   159.6 +@@ -1,4 +1,4 @@
   159.7 +-#!/usr/bin/python
   159.8 ++#!/usr/bin/python3
   159.9 + # -*- coding: utf-8 -*-
  159.10 + #
  159.11 + # (c) Copyright 2011-2015 HP Development Company, L.P.
  159.12 +--- ./logcapture.py.orig	2017-11-23 06:10:34.000000000 -0600
  159.13 ++++ ./logcapture.py	2017-11-27 18:38:34.880515365 -0600
  159.14 +@@ -1,4 +1,4 @@
  159.15 +-#!/usr/bin/python
  159.16 ++#!/usr/bin/python3
  159.17 + # -*- coding: utf-8 -*-
  159.18 + #
  159.19 + # (c) Copyright 2003-2015 HP Development Company, L.P.
  159.20 +--- ./doctor.py.orig	2017-11-23 06:10:34.000000000 -0600
  159.21 ++++ ./doctor.py	2017-11-27 18:39:14.193514947 -0600
  159.22 +@@ -1,4 +1,4 @@
  159.23 +-#!/usr/bin/python
  159.24 ++#!/usr/bin/python3
  159.25 + # -*- coding: utf-8 -*-
  159.26 + #
  159.27 + # (c) Copyright 2012-2020 HP Development Company, L.P.
  159.28 +--- ./upgrade.py.orig	2017-11-23 06:10:34.000000000 -0600
  159.29 ++++ ./upgrade.py	2017-11-27 18:36:56.502516410 -0600
  159.30 +@@ -1,4 +1,4 @@
  159.31 +-#!/usr/bin/python
  159.32 ++#!/usr/bin/python3
  159.33 + # -*- coding: utf-8 -*-
  159.34 + #
  159.35 + # (c) Copyright 2011-2015 HP Development Company, L.P.
   160.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   160.2 +++ b/hplip/stuff/setup.py.lc_all.c.diff	Sun Jan 14 08:12:37 2024 +0000
   160.3 @@ -0,0 +1,11 @@
   160.4 +--- ./setup.py.orig	2016-05-04 00:23:31.000000000 -0500
   160.5 ++++ ./setup.py	2016-06-01 13:55:52.173789909 -0500
   160.6 +@@ -42,6 +42,8 @@
   160.7 +     pass
   160.8 + 
   160.9 + 
  160.10 ++# Set LC_ALL=C so that we can properly parse info from CUPS:
  160.11 ++os.environ["LC_ALL"] = "C"
  160.12 + 
  160.13 + # Local
  160.14 + from base.g import *
   161.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   161.2 +++ b/hyphen-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   161.3 @@ -0,0 +1,19 @@
   161.4 +# SliTaz package receipt.
   161.5 +
   161.6 +PACKAGE="hyphen-dev"
   161.7 +VERSION="2.8.8"
   161.8 +CATEGORY="development"
   161.9 +SHORT_DESC="Library for high quality hyphenation and justification (dev files)."
  161.10 +MAINTAINER="maintainer@slitaz.org"
  161.11 +LICENSE="GPL2 LGPL2.1 MPL"
  161.12 +WEB_SITE="http://hunspell.github.io/"
  161.13 +
  161.14 +DEPENDS="hyphen"
  161.15 +WANTED="hyphen"
  161.16 +
  161.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  161.18 +genpkg_rules()
  161.19 +{
  161.20 +        mkdir -p $fs/usr
  161.21 +        cp -a $install/usr/include              $fs/usr
  161.22 +}
   162.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   162.2 +++ b/hyphen/receipt	Sun Jan 14 08:12:37 2024 +0000
   162.3 @@ -0,0 +1,31 @@
   162.4 +# SliTaz package receipt.
   162.5 +
   162.6 +PACKAGE="hyphen"
   162.7 +VERSION="2.8.8"
   162.8 +CATEGORY="system-tools"
   162.9 +SHORT_DESC="Library for high quality hyphenation and justification"
  162.10 +MAINTAINER="maintainer@slitaz.org"
  162.11 +LICENSE="GPL2 LGPL2.1 MPL"
  162.12 +WEB_SITE="http://hunspell.github.io/"
  162.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
  162.14 +WGET_URL="$SF_MIRROR/hunspell/$TARBALL"
  162.15 +
  162.16 +BUILD_DEPENDS="automake libtool gettext perl"
  162.17 +
  162.18 +# Rules to configure and make the package.     
  162.19 +compile_rules()                           
  162.20 +{                                         
  162.21 +	./configure $CONFIGURE_ARGS
  162.22 +	make &&
  162.23 +	make DESTDIR=$install install-libLTLIBRARIES &&
  162.24 +	make DESTDIR=$install install-binSCRIPTS     &&
  162.25 +	make DESTDIR=$install install-includeHEADERS
  162.26 +}                             
  162.27 +                              
  162.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
  162.29 +genpkg_rules()                                      
  162.30 +{                                                   
  162.31 +        mkdir -p $fs/usr/bin $fs/usr/lib
  162.32 +	cp -a $install/usr/bin $fs/usr
  162.33 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  162.34 +}   
   163.1 --- a/iptables-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   163.2 +++ b/iptables-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   163.3 @@ -18,5 +18,4 @@
   163.4  
   163.5  	cook_copy_folders	include
   163.6  	cook_copy_folders	pkgconfig
   163.7 -	cook_copy_files		*.*a
   163.8  }
   164.1 --- a/iso-codes/receipt	Mon Oct 16 18:37:14 2023 +0000
   164.2 +++ b/iso-codes/receipt	Sun Jan 14 08:12:37 2024 +0000
   164.3 @@ -12,7 +12,7 @@
   164.4  WGET_URL="$WEB_SITE/-/archive/v$VERSION/$PACKAGE-v$VERSION.tar.gz"
   164.5  
   164.6  DEPENDS=""
   164.7 -BUILD_DEPENDS="gettext py3k"
   164.8 +BUILD_DEPENDS="gettext python3"
   164.9  
  164.10  # What is the latest version available today?
  164.11  current_version()
   165.1 --- a/jack-audio-connection-kit/receipt	Mon Oct 16 18:37:14 2023 +0000
   165.2 +++ b/jack-audio-connection-kit/receipt	Sun Jan 14 08:12:37 2024 +0000
   165.3 @@ -13,7 +13,7 @@
   165.4  WGET_URL="https://github.com/jackaudio/jack2/archive/v$VERSION.tar.gz"
   165.5  
   165.6  DEPENDS="alsa-lib libogg libsamplerate libsndfile ncurses readline"
   165.7 -BUILD_DEPENDS="alsa-lib-dev db-dev libsamplerate-dev py3k util-linux-uuid-dev"
   165.8 +BUILD_DEPENDS="alsa-lib-dev db-dev libsamplerate-dev python3 util-linux-uuid-dev"
   165.9  
  165.10  HOST_ARCH="i486 arm"
  165.11  
   166.1 --- a/json-glib-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   166.2 +++ b/json-glib-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   166.3 @@ -1,7 +1,7 @@
   166.4  # SliTaz package receipt.
   166.5  
   166.6  PACKAGE="json-glib-dev"
   166.7 -VERSION="0.14.2"
   166.8 +VERSION="1.6.6"
   166.9  CATEGORY="development"
  166.10  SHORT_DESC="json-glib development files"
  166.11  MAINTAINER="mallory@sweetpeople.org"
  166.12 @@ -16,7 +16,6 @@
  166.13  {
  166.14  	mkdir -p $fs/usr/lib $fs/usr/share
  166.15  	cp -a $install/usr/include $fs/usr
  166.16 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  166.17  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  166.18  	cp -a $install/usr/share/gir-1.0 $fs/usr/share
  166.19  }
   167.1 --- a/json-glib/receipt	Mon Oct 16 18:37:14 2023 +0000
   167.2 +++ b/json-glib/receipt	Sun Jan 14 08:12:37 2024 +0000
   167.3 @@ -1,18 +1,19 @@
   167.4  # SliTaz package receipt.
   167.5  
   167.6  PACKAGE="json-glib"
   167.7 -VERSION="0.14.2"
   167.8 +VERSION="1.6.6"
   167.9  CATEGORY="development"
  167.10  SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
  167.11  MAINTAINER="mallory@sweetpeople.org"
  167.12  LICENSE="LGPL2.1"
  167.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
  167.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  167.15  WEB_SITE="http://live.gnome.org/JsonGlib"
  167.16  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  167.17  TAGS="javascript"
  167.18  
  167.19  DEPENDS="libgio glib"
  167.20 -BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev"
  167.21 +BUILD_DEPENDS="pkg-config gobject-introspection-dev \
  167.22 +libgio-dev glib-dev meson"
  167.23  
  167.24  current_version()
  167.25  {
  167.26 @@ -23,9 +24,14 @@
  167.27  # Rules to configure and make the package.
  167.28  compile_rules()
  167.29  {
  167.30 -	cd $src
  167.31 -	./configure $CONFIGURE_ARGS &&
  167.32 -	make && make install
  167.33 +        meson build \
  167.34 +            --prefix=/usr \
  167.35 +            --libdir=lib \
  167.36 +            --bindir=/usr/bin \
  167.37 +            --sbindir=/usr/sbin \
  167.38 +            --buildtype=release &&
  167.39 +        ninja -C build &&
  167.40 +        ninja -C build install
  167.41  }
  167.42  
  167.43  # Rules to gen a SliTaz package suitable for Tazpkg.
  167.44 @@ -35,4 +41,3 @@
  167.45  	cp -a $install/usr/lib/*.so* $fs/usr/lib
  167.46  	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  167.47  }
  167.48 -
   168.1 --- a/krb5-clients/receipt	Mon Oct 16 18:37:14 2023 +0000
   168.2 +++ b/krb5-clients/receipt	Sun Jan 14 08:12:37 2024 +0000
   168.3 @@ -1,7 +1,7 @@
   168.4  # SliTaz package receipt.
   168.5  
   168.6  PACKAGE="krb5-clients"
   168.7 -VERSION="1.18"
   168.8 +VERSION="1.19.4"
   168.9  CATEGORY="security"
  168.10  SHORT_DESC="Miscellaneous clients using MIT Kerberos."
  168.11  MAINTAINER="pascal.bellard@slitaz.org"
   169.1 --- a/krb5-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   169.2 +++ b/krb5-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   169.3 @@ -1,7 +1,7 @@
   169.4  # SliTaz package receipt.
   169.5  
   169.6  PACKAGE="krb5-dev"
   169.7 -VERSION="1.18"
   169.8 +VERSION="1.19.4"
   169.9  CATEGORY="development"
  169.10  SHORT_DESC="Network authentication protocol - development files."
  169.11  MAINTAINER="pascal.bellard@slitaz.org"
   170.1 --- a/krb5-plugins/receipt	Mon Oct 16 18:37:14 2023 +0000
   170.2 +++ b/krb5-plugins/receipt	Sun Jan 14 08:12:37 2024 +0000
   170.3 @@ -1,7 +1,7 @@
   170.4  # SliTaz package receipt.
   170.5  
   170.6  PACKAGE="krb5-plugins"
   170.7 -VERSION="1.18"
   170.8 +VERSION="1.19.4"
   170.9  CATEGORY="security"
  170.10  SHORT_DESC="Plugins for MIT Kerberos."
  170.11  MAINTAINER="pascal.bellard@slitaz.org"
   171.1 --- a/krb5-user/receipt	Mon Oct 16 18:37:14 2023 +0000
   171.2 +++ b/krb5-user/receipt	Sun Jan 14 08:12:37 2024 +0000
   171.3 @@ -1,7 +1,7 @@
   171.4  # SliTaz package receipt.
   171.5  
   171.6  PACKAGE="krb5-user"
   171.7 -VERSION="1.18"
   171.8 +VERSION="1.19.4"
   171.9  CATEGORY="security"
  171.10  SHORT_DESC="Basic programs to authenticate using MIT Kerberos."
  171.11  MAINTAINER="pascal.bellard@slitaz.org"
   172.1 --- a/krb5/receipt	Mon Oct 16 18:37:14 2023 +0000
   172.2 +++ b/krb5/receipt	Sun Jan 14 08:12:37 2024 +0000
   172.3 @@ -1,7 +1,7 @@
   172.4  # SliTaz package receipt.
   172.5  
   172.6  PACKAGE="krb5"
   172.7 -VERSION="1.18"
   172.8 +VERSION="1.19.4"
   172.9  CATEGORY="security"
  172.10  SHORT_DESC="Network authentication protocol with strong authentication."
  172.11  MAINTAINER="pascal.bellard@slitaz.org"
  172.12 @@ -9,7 +9,7 @@
  172.13  WEB_SITE="https://web.mit.edu/kerberos/"
  172.14  
  172.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
  172.16 -WGET_URL="${WEB_SITE}dist/$PACKAGE/$VERSION/$TARBALL"
  172.17 +WGET_URL="${WEB_SITE}dist/$PACKAGE/${VERSION%.*}/$TARBALL"
  172.18  
  172.19  DEPENDS="libkrb5"
  172.20  BUILD_DEPENDS="bison openssl-dev perl"
   173.1 --- a/libIDL/receipt	Mon Oct 16 18:37:14 2023 +0000
   173.2 +++ b/libIDL/receipt	Sun Jan 14 08:12:37 2024 +0000
   173.3 @@ -38,4 +38,7 @@
   173.4  	cp -a $install/usr/lib $fs/usr
   173.5  	cp -a $install/usr/bin $fs/usr
   173.6  	cp -a $install/usr/include $fs/usr
   173.7 +
   173.8 +        # Ensure remove .la files
   173.9 +        find $fs -name "*.la" -delete
  173.10  }
   174.1 --- a/libarchive-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   174.2 +++ b/libarchive-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   174.3 @@ -1,14 +1,14 @@
   174.4  # SliTaz package receipt.
   174.5  
   174.6  PACKAGE="libarchive-dev"
   174.7 -VERSION="3.6.1"
   174.8 +VERSION="3.7.2"
   174.9  CATEGORY="development"
  174.10  SHORT_DESC="C library and command line tool archive - development files."
  174.11  MAINTAINER="erjo@slitaz.org"
  174.12  LICENSE="BSD"
  174.13  WEB_SITE="https://github.com/libarchive/libarchive"
  174.14  
  174.15 -DEPENDS="libarchive pkg-config"
  174.16 +DEPENDS="libarchive libcrypto-dev pkg-config"
  174.17  WANTED="libarchive"
  174.18  
  174.19  # Rules to gen a SliTaz package suitable for Tazpkg.
   175.1 --- a/libarchive/receipt	Mon Oct 16 18:37:14 2023 +0000
   175.2 +++ b/libarchive/receipt	Sun Jan 14 08:12:37 2024 +0000
   175.3 @@ -1,7 +1,7 @@
   175.4  # SliTaz package receipt.
   175.5  
   175.6  PACKAGE="libarchive"
   175.7 -VERSION="3.6.1"
   175.8 +VERSION="3.7.2"
   175.9  CATEGORY="system-tools"
  175.10  SHORT_DESC="C library and command line tool for reading archive."
  175.11  MAINTAINER="erjo@slitaz.org"
  175.12 @@ -11,9 +11,9 @@
  175.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
  175.14  WGET_URL="${WEB_SITE}/releases/download/v$VERSION/$TARBALL"
  175.15  
  175.16 -DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib"
  175.17 -BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev
  175.18 -	openssl-dev zlib-dev"
  175.19 +DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib zstd"
  175.20 +BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev \
  175.21 +lz4-dev openssl-dev zlib-dev"
  175.22  
  175.23  # What is the latest version available today?
  175.24  current_version()
   176.1 --- a/libassuan-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   176.2 +++ b/libassuan-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   176.3 @@ -16,4 +16,7 @@
   176.4  {
   176.5  	cp -a $install/*	$fs
   176.6  	rm -r			$fs/usr/lib/*.so*
   176.7 +
   176.8 +        # Ensure remove .la files
   176.9 +        find $fs -name "*.la" -delete
  176.10  }
   177.1 --- a/libatomic/receipt	Mon Oct 16 18:37:14 2023 +0000
   177.2 +++ b/libatomic/receipt	Sun Jan 14 08:12:37 2024 +0000
   177.3 @@ -1,7 +1,7 @@
   177.4  # Slitaz package receipt.
   177.5  
   177.6  PACKAGE="libatomic"
   177.7 -VERSION="6.3.0"
   177.8 +VERSION="8.3.0"
   177.9  CATEGORY="development"
  177.10  SHORT_DESC="GCC libatomic (required for firefox)."
  177.11  WEB_SITE="https://gcc.gnu.org/"
   178.1 --- a/libboost-chrono-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   178.2 +++ b/libboost-chrono-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   178.3 @@ -2,7 +2,7 @@
   178.4  
   178.5  PACKAGE="libboost-chrono-dev"
   178.6  LIB_NAME="chrono"
   178.7 -VERSION="1.69.0"
   178.8 +VERSION="1.78.0"
   178.9  
  178.10  CATEGORY="development"
  178.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   179.1 --- a/libboost-chrono/receipt	Mon Oct 16 18:37:14 2023 +0000
   179.2 +++ b/libboost-chrono/receipt	Sun Jan 14 08:12:37 2024 +0000
   179.3 @@ -2,7 +2,7 @@
   179.4  
   179.5  PACKAGE="libboost-chrono"
   179.6  LIB_NAME="chrono"
   179.7 -VERSION="1.69.0"
   179.8 +VERSION="1.78.0"
   179.9  
  179.10  CATEGORY="development"
  179.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   180.1 --- a/libboost-date-time-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   180.2 +++ b/libboost-date-time-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   180.3 @@ -2,7 +2,7 @@
   180.4  
   180.5  PACKAGE="libboost-date-time-dev"
   180.6  LIB_NAME="date_time"
   180.7 -VERSION="1.69.0"
   180.8 +VERSION="1.78.0"
   180.9  
  180.10  CATEGORY="development"
  180.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   181.1 --- a/libboost-date-time/receipt	Mon Oct 16 18:37:14 2023 +0000
   181.2 +++ b/libboost-date-time/receipt	Sun Jan 14 08:12:37 2024 +0000
   181.3 @@ -2,7 +2,7 @@
   181.4  
   181.5  PACKAGE="libboost-date-time"
   181.6  LIB_NAME="date_time"
   181.7 -VERSION="1.69.0"
   181.8 +VERSION="1.78.0"
   181.9  
  181.10  CATEGORY="development"
  181.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   182.1 --- a/libboost-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   182.2 +++ b/libboost-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   182.3 @@ -7,7 +7,7 @@
   182.4  # packages : libboost-name and libboost-name-dev.
   182.5  
   182.6  PACKAGE="libboost-dev"
   182.7 -VERSION="1.69.0"
   182.8 +VERSION="1.78.0"
   182.9  CATEGORY="development"
  182.10  SHORT_DESC="Free peer-reviewed portable C++ source libraries."
  182.11  MAINTAINER="chadi.elahmad@gmail.com"
  182.12 @@ -17,7 +17,7 @@
  182.13  # We have to do it this way because of the underscores
  182.14  # to get a package with the slitaz version numbering
  182.15  SOURCE="boost"
  182.16 -WGET_SOURCE="boost_1_69_0"
  182.17 +WGET_SOURCE="boost_1_78_0"
  182.18  TARBALL="$WGET_SOURCE.tar.bz2"
  182.19  #EXTRA_SOURCE_FILES="boost_changeset_75540.u"
  182.20  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
  182.21 @@ -61,10 +61,11 @@
  182.22  		--exec-prefix=$DESTDIR/usr		\
  182.23  		--libdir=$DESTDIR/usr/lib		\
  182.24  		--includedir=$DESTDIR/usr/include	\
  182.25 +		--with-toolset=gcc 			\
  182.26  		--without-icu &&
  182.27  	EXPAT_INCLUDE=/usr/include \
  182.28  	EXPAT_LIBPATH=/usr/lib \
  182.29 -	./bjam						\
  182.30 +	./b2						\
  182.31  		--prefix=$DESTDIR/usr			\
  182.32  		--exec-prefix=$DESTDIR/usr		\
  182.33  		--libdir=$DESTDIR/usr/lib		\
   183.1 --- a/libboost-doc/receipt	Mon Oct 16 18:37:14 2023 +0000
   183.2 +++ b/libboost-doc/receipt	Sun Jan 14 08:12:37 2024 +0000
   183.3 @@ -1,7 +1,7 @@
   183.4  # SliTaz package receipt.
   183.5  
   183.6  PACKAGE="libboost-doc"
   183.7 -VERSION="1.69.0"
   183.8 +VERSION="1.78.0"
   183.9  
  183.10  CATEGORY="development"
  183.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   184.1 --- a/libboost-filesystem-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   184.2 +++ b/libboost-filesystem-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   184.3 @@ -2,7 +2,7 @@
   184.4  
   184.5  PACKAGE="libboost-filesystem-dev"
   184.6  LIB_NAME="filesystem"
   184.7 -VERSION="1.69.0"
   184.8 +VERSION="1.78.0"
   184.9  
  184.10  CATEGORY="development"
  184.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   185.1 --- a/libboost-filesystem/receipt	Mon Oct 16 18:37:14 2023 +0000
   185.2 +++ b/libboost-filesystem/receipt	Sun Jan 14 08:12:37 2024 +0000
   185.3 @@ -2,7 +2,7 @@
   185.4  
   185.5  PACKAGE="libboost-filesystem"
   185.6  LIB_NAME="filesystem"
   185.7 -VERSION="1.69.0"
   185.8 +VERSION="1.78.0"
   185.9  
  185.10  CATEGORY="development"
  185.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   186.1 --- a/libboost-graph-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   186.2 +++ b/libboost-graph-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   186.3 @@ -2,7 +2,7 @@
   186.4  
   186.5  PACKAGE="libboost-graph-dev"
   186.6  LIB_NAME="graph"
   186.7 -VERSION="1.69.0"
   186.8 +VERSION="1.78.0"
   186.9  
  186.10  CATEGORY="development"
  186.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   187.1 --- a/libboost-graph/receipt	Mon Oct 16 18:37:14 2023 +0000
   187.2 +++ b/libboost-graph/receipt	Sun Jan 14 08:12:37 2024 +0000
   187.3 @@ -2,7 +2,7 @@
   187.4  
   187.5  PACKAGE="libboost-graph"
   187.6  LIB_NAME="graph"
   187.7 -VERSION="1.69.0"
   187.8 +VERSION="1.78.0"
   187.9  
  187.10  CATEGORY="development"
  187.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   188.1 --- a/libboost-iostreams-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   188.2 +++ b/libboost-iostreams-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   188.3 @@ -2,7 +2,7 @@
   188.4  
   188.5  PACKAGE="libboost-iostreams-dev"
   188.6  LIB_NAME="iostreams"
   188.7 -VERSION="1.69.0"
   188.8 +VERSION="1.78.0"
   188.9  
  188.10  CATEGORY="development"
  188.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   189.1 --- a/libboost-iostreams/receipt	Mon Oct 16 18:37:14 2023 +0000
   189.2 +++ b/libboost-iostreams/receipt	Sun Jan 14 08:12:37 2024 +0000
   189.3 @@ -2,7 +2,7 @@
   189.4  
   189.5  PACKAGE="libboost-iostreams"
   189.6  LIB_NAME="iostreams"
   189.7 -VERSION="1.69.0"
   189.8 +VERSION="1.78.0"
   189.9  
  189.10  CATEGORY="development"
  189.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   190.1 --- a/libboost-locale-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   190.2 +++ b/libboost-locale-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   190.3 @@ -1,7 +1,7 @@
   190.4  # SliTaz package receipt.
   190.5  
   190.6  PACKAGE="libboost-locale-dev"
   190.7 -VERSION="1.69.0"
   190.8 +VERSION="1.78.0"
   190.9  CATEGORY="development"
  190.10  SHORT_DESC="Part of the Boost C++ Libraries collection."
  190.11  MAINTAINER="maintainer@slitaz.org"
   191.1 --- a/libboost-locale/receipt	Mon Oct 16 18:37:14 2023 +0000
   191.2 +++ b/libboost-locale/receipt	Sun Jan 14 08:12:37 2024 +0000
   191.3 @@ -2,7 +2,7 @@
   191.4  
   191.5  PACKAGE="libboost-locale"
   191.6  LIB_NAME="locale"
   191.7 -VERSION="1.69.0"
   191.8 +VERSION="1.78.0"
   191.9  
  191.10  CATEGORY="development"
  191.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   192.1 --- a/libboost-math-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   192.2 +++ b/libboost-math-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   192.3 @@ -2,7 +2,7 @@
   192.4  
   192.5  PACKAGE="libboost-math-dev"
   192.6  LIB_NAME="math"
   192.7 -VERSION="1.69.0"
   192.8 +VERSION="1.78.0"
   192.9  
  192.10  CATEGORY="development"
  192.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   193.1 --- a/libboost-math/receipt	Mon Oct 16 18:37:14 2023 +0000
   193.2 +++ b/libboost-math/receipt	Sun Jan 14 08:12:37 2024 +0000
   193.3 @@ -2,7 +2,7 @@
   193.4  
   193.5  PACKAGE="libboost-math"
   193.6  LIB_NAME="math"
   193.7 -VERSION="1.69.0"
   193.8 +VERSION="1.78.0"
   193.9  
  193.10  CATEGORY="development"
  193.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   194.1 --- a/libboost-program-options-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   194.2 +++ b/libboost-program-options-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   194.3 @@ -2,7 +2,7 @@
   194.4  
   194.5  PACKAGE="libboost-program-options-dev"
   194.6  LIB_NAME="program_options"
   194.7 -VERSION="1.69.0"
   194.8 +VERSION="1.78.0"
   194.9  
  194.10  CATEGORY="development"
  194.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   195.1 --- a/libboost-program-options/receipt	Mon Oct 16 18:37:14 2023 +0000
   195.2 +++ b/libboost-program-options/receipt	Sun Jan 14 08:12:37 2024 +0000
   195.3 @@ -2,7 +2,7 @@
   195.4  
   195.5  PACKAGE="libboost-program-options"
   195.6  LIB_NAME="program_options"
   195.7 -VERSION="1.69.0"
   195.8 +VERSION="1.78.0"
   195.9  
  195.10  CATEGORY="development"
  195.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   196.1 --- a/libboost-python-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   196.2 +++ b/libboost-python-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   196.3 @@ -2,7 +2,7 @@
   196.4  
   196.5  PACKAGE="libboost-python-dev"
   196.6  LIB_NAME="python"
   196.7 -VERSION="1.69.0"
   196.8 +VERSION="1.78.0"
   196.9  
  196.10  CATEGORY="development"
  196.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   197.1 --- a/libboost-python/receipt	Mon Oct 16 18:37:14 2023 +0000
   197.2 +++ b/libboost-python/receipt	Sun Jan 14 08:12:37 2024 +0000
   197.3 @@ -2,7 +2,7 @@
   197.4  
   197.5  PACKAGE="libboost-python"
   197.6  LIB_NAME="python"
   197.7 -VERSION="1.69.0"
   197.8 +VERSION="1.78.0"
   197.9  
  197.10  CATEGORY="development"
  197.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   198.1 --- a/libboost-regex-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   198.2 +++ b/libboost-regex-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   198.3 @@ -2,7 +2,7 @@
   198.4  
   198.5  PACKAGE="libboost-regex-dev"
   198.6  LIB_NAME="regex"
   198.7 -VERSION="1.69.0"
   198.8 +VERSION="1.78.0"
   198.9  
  198.10  CATEGORY="development"
  198.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   199.1 --- a/libboost-regex/receipt	Mon Oct 16 18:37:14 2023 +0000
   199.2 +++ b/libboost-regex/receipt	Sun Jan 14 08:12:37 2024 +0000
   199.3 @@ -2,7 +2,7 @@
   199.4  
   199.5  PACKAGE="libboost-regex"
   199.6  LIB_NAME="regex"
   199.7 -VERSION="1.69.0"
   199.8 +VERSION="1.78.0"
   199.9  
  199.10  CATEGORY="development"
  199.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   200.1 --- a/libboost-serialization-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   200.2 +++ b/libboost-serialization-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   200.3 @@ -2,7 +2,7 @@
   200.4  
   200.5  PACKAGE="libboost-serialization-dev"
   200.6  LIB_NAME="serialization"
   200.7 -VERSION="1.69.0"
   200.8 +VERSION="1.78.0"
   200.9  
  200.10  CATEGORY="development"
  200.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   201.1 --- a/libboost-serialization/receipt	Mon Oct 16 18:37:14 2023 +0000
   201.2 +++ b/libboost-serialization/receipt	Sun Jan 14 08:12:37 2024 +0000
   201.3 @@ -2,7 +2,7 @@
   201.4  
   201.5  PACKAGE="libboost-serialization"
   201.6  LIB_NAME="serialization"
   201.7 -VERSION="1.69.0"
   201.8 +VERSION="1.78.0"
   201.9  
  201.10  CATEGORY="development"
  201.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   202.1 --- a/libboost-signals-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   202.2 +++ b/libboost-signals-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   202.3 @@ -2,7 +2,7 @@
   202.4  
   202.5  PACKAGE="libboost-signals-dev"
   202.6  LIB_NAME="signals2"
   202.7 -VERSION="1.69.0"
   202.8 +VERSION="1.78.0"
   202.9  
  202.10  CATEGORY="development"
  202.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   203.1 --- a/libboost-signals/receipt	Mon Oct 16 18:37:14 2023 +0000
   203.2 +++ b/libboost-signals/receipt	Sun Jan 14 08:12:37 2024 +0000
   203.3 @@ -2,7 +2,7 @@
   203.4  
   203.5  PACKAGE="libboost-signals"
   203.6  LIB_NAME="signals2"
   203.7 -VERSION="1.69.0"
   203.8 +VERSION="1.78.0"
   203.9  
  203.10  CATEGORY="development"
  203.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   204.1 --- a/libboost-system-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   204.2 +++ b/libboost-system-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   204.3 @@ -2,7 +2,7 @@
   204.4  
   204.5  PACKAGE="libboost-system-dev"
   204.6  LIB_NAME="system"
   204.7 -VERSION="1.69.0"
   204.8 +VERSION="1.78.0"
   204.9  
  204.10  CATEGORY="development"
  204.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   205.1 --- a/libboost-system/receipt	Mon Oct 16 18:37:14 2023 +0000
   205.2 +++ b/libboost-system/receipt	Sun Jan 14 08:12:37 2024 +0000
   205.3 @@ -2,7 +2,7 @@
   205.4  
   205.5  PACKAGE="libboost-system"
   205.6  LIB_NAME="system"
   205.7 -VERSION="1.69.0"
   205.8 +VERSION="1.78.0"
   205.9  
  205.10  CATEGORY="development"
  205.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   206.1 --- a/libboost-test-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   206.2 +++ b/libboost-test-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   206.3 @@ -2,7 +2,7 @@
   206.4  
   206.5  PACKAGE="libboost-test-dev"
   206.6  LIB_NAME="test"
   206.7 -VERSION="1.69.0"
   206.8 +VERSION="1.78.0"
   206.9  
  206.10  CATEGORY="development"
  206.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   207.1 --- a/libboost-test/receipt	Mon Oct 16 18:37:14 2023 +0000
   207.2 +++ b/libboost-test/receipt	Sun Jan 14 08:12:37 2024 +0000
   207.3 @@ -2,7 +2,7 @@
   207.4  
   207.5  PACKAGE="libboost-test"
   207.6  LIB_NAME="test"
   207.7 -VERSION="1.69.0"
   207.8 +VERSION="1.78.0"
   207.9  
  207.10  CATEGORY="development"
  207.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   208.1 --- a/libboost-thread-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   208.2 +++ b/libboost-thread-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   208.3 @@ -2,7 +2,7 @@
   208.4  
   208.5  PACKAGE="libboost-thread-dev"
   208.6  LIB_NAME="thread"
   208.7 -VERSION="1.69.0"
   208.8 +VERSION="1.78.0"
   208.9  
  208.10  CATEGORY="development"
  208.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   209.1 --- a/libboost-thread/receipt	Mon Oct 16 18:37:14 2023 +0000
   209.2 +++ b/libboost-thread/receipt	Sun Jan 14 08:12:37 2024 +0000
   209.3 @@ -2,7 +2,7 @@
   209.4  
   209.5  PACKAGE="libboost-thread"
   209.6  LIB_NAME="thread"
   209.7 -VERSION="1.69.0"
   209.8 +VERSION="1.78.0"
   209.9  
  209.10  CATEGORY="development"
  209.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   210.1 --- a/libboost-tr1-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   210.2 +++ b/libboost-tr1-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   210.3 @@ -2,7 +2,7 @@
   210.4  
   210.5  PACKAGE="libboost-tr1-dev"
   210.6  LIB_NAME="tr1"
   210.7 -VERSION="1.69.0"
   210.8 +VERSION="1.78.0"
   210.9  
  210.10  CATEGORY="development"
  210.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   211.1 --- a/libboost-tr1/receipt	Mon Oct 16 18:37:14 2023 +0000
   211.2 +++ b/libboost-tr1/receipt	Sun Jan 14 08:12:37 2024 +0000
   211.3 @@ -2,7 +2,7 @@
   211.4  
   211.5  PACKAGE="libboost-tr1"
   211.6  LIB_NAME="tr1"
   211.7 -VERSION="1.69.0"
   211.8 +VERSION="1.78.0"
   211.9  
  211.10  CATEGORY="development"
  211.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   212.1 --- a/libboost-wave-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   212.2 +++ b/libboost-wave-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   212.3 @@ -2,7 +2,7 @@
   212.4  
   212.5  PACKAGE="libboost-wave-dev"
   212.6  LIB_NAME="wave"
   212.7 -VERSION="1.69.0"
   212.8 +VERSION="1.78.0"
   212.9  
  212.10  CATEGORY="development"
  212.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   213.1 --- a/libboost-wave/receipt	Mon Oct 16 18:37:14 2023 +0000
   213.2 +++ b/libboost-wave/receipt	Sun Jan 14 08:12:37 2024 +0000
   213.3 @@ -2,7 +2,7 @@
   213.4  
   213.5  PACKAGE="libboost-wave"
   213.6  LIB_NAME="wave"
   213.7 -VERSION="1.69.0"
   213.8 +VERSION="1.78.0"
   213.9  
  213.10  CATEGORY="development"
  213.11  SHORT_DESC="Part of the Boost C++ Libraries collection."
   214.1 --- a/libboost/receipt	Mon Oct 16 18:37:14 2023 +0000
   214.2 +++ b/libboost/receipt	Sun Jan 14 08:12:37 2024 +0000
   214.3 @@ -1,7 +1,7 @@
   214.4  # SliTaz package receipt.
   214.5  
   214.6  PACKAGE="libboost"
   214.7 -VERSION="1.69.0"
   214.8 +VERSION="1.78.0"
   214.9  CATEGORY="meta"
  214.10  SHORT_DESC="Libboost meta-package to install base modules."
  214.11  MAINTAINER="pankso@slitaz.org"
   215.1 --- a/libcap-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   215.2 +++ b/libcap-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   215.3 @@ -16,6 +16,8 @@
   215.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   215.5  genpkg_rules()
   215.6  {
   215.7 -	cook_copy_folders	include
   215.8 -	cook_copy_files		*.a
   215.9 +        mkdir -p $fs/usr/share
  215.10 +
  215.11 +        cp -a $install/usr/include          $fs/usr
  215.12 +        cp -a $install/lib/pkgconfig        $fs/usr/share
  215.13  }
   216.1 --- a/libcap/receipt	Mon Oct 16 18:37:14 2023 +0000
   216.2 +++ b/libcap/receipt	Sun Jan 14 08:12:37 2024 +0000
   216.3 @@ -34,6 +34,8 @@
   216.4  	make			\
   216.5  		CC=gcc		\
   216.6  		DYNAMIC=yes	\
   216.7 +		lib=lib		\
   216.8 +		prefix=usr	\
   216.9  		$ARCH_ARGS &&
  216.10  	make	install		\
  216.11  		RAISE_SETCAP=no	\
   217.1 --- a/libcomerr3/receipt	Mon Oct 16 18:37:14 2023 +0000
   217.2 +++ b/libcomerr3/receipt	Sun Jan 14 08:12:37 2024 +0000
   217.3 @@ -1,7 +1,7 @@
   217.4  # SliTaz package receipt.
   217.5  
   217.6  PACKAGE="libcomerr3"
   217.7 -VERSION="1.18"
   217.8 +VERSION="1.19.4"
   217.9  CATEGORY="security"
  217.10  SHORT_DESC="The libcomerr v3 library files."
  217.11  MAINTAINER="erjo@slitaz.org"
  217.12 @@ -10,7 +10,6 @@
  217.13  WANTED="krb5"
  217.14  
  217.15  DEPENDS="libkrb5support"
  217.16 -PROVIDE="libcomerr"
  217.17  
  217.18  # Rules to gen a SliTaz package suitable for Tazpkg.
  217.19  genpkg_rules()
   218.1 --- a/libcrypto-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   218.2 +++ b/libcrypto-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   218.3 @@ -1,7 +1,7 @@
   218.4  # SliTaz package receipt.
   218.5  
   218.6  PACKAGE="libcrypto-dev"
   218.7 -VERSION="1.1.1n"
   218.8 +VERSION="1.1.1w"
   218.9  CATEGORY="development"
  218.10  SHORT_DESC="General purpose cryptographic shared library devel files."
  218.11  MAINTAINER="pascal.bellard@slitaz.org"
   219.1 --- a/libcrypto/receipt	Mon Oct 16 18:37:14 2023 +0000
   219.2 +++ b/libcrypto/receipt	Sun Jan 14 08:12:37 2024 +0000
   219.3 @@ -1,7 +1,7 @@
   219.4  # SliTaz package receipt.
   219.5  
   219.6  PACKAGE="libcrypto"
   219.7 -VERSION="1.1.1n"
   219.8 +VERSION="1.1.1w"
   219.9  CATEGORY="security"
  219.10  SHORT_DESC="General purpose cryptographic shared library."
  219.11  MAINTAINER="pascal.bellard@slitaz.org"
   220.1 --- a/libcups/receipt	Mon Oct 16 18:37:14 2023 +0000
   220.2 +++ b/libcups/receipt	Sun Jan 14 08:12:37 2024 +0000
   220.3 @@ -1,7 +1,7 @@
   220.4  # SliTaz package receipt.
   220.5  
   220.6  PACKAGE="libcups"
   220.7 -VERSION="2.4.1"
   220.8 +VERSION="2.4.7"
   220.9  CATEGORY="system-tools"
  220.10  TAGS="printer printing"
  220.11  SHORT_DESC="Common UNIX Printing System - libraries."
   221.1 --- a/libcurl/receipt	Mon Oct 16 18:37:14 2023 +0000
   221.2 +++ b/libcurl/receipt	Sun Jan 14 08:12:37 2024 +0000
   221.3 @@ -1,7 +1,7 @@
   221.4  # SliTaz package receipt.
   221.5  
   221.6  PACKAGE="libcurl"
   221.7 -VERSION="7.81.0"
   221.8 +VERSION="8.4.0"
   221.9  CATEGORY="network"
  221.10  SHORT_DESC="Curl library files."
  221.11  MAINTAINER="pankso@slitaz.org"
   222.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   222.2 +++ b/libdazzle-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   222.3 @@ -0,0 +1,24 @@
   222.4 +# SliTaz package receipt.
   222.5 +
   222.6 +PACKAGE="libdazzle-dev"
   222.7 +VERSION="3.44.0"
   222.8 +CATEGORY="development"
   222.9 +SHORT_DESC="Companion library to GObject and Gtk+ - development files."
  222.10 +MAINTAINER="maintainer@slitaz.org"
  222.11 +LICENSE="GPL3"
  222.12 +WEB_SITE="https://gitlab.gnome.org/GNOME/libdazzle"
  222.13 +
  222.14 +DEPENDS="libdazzle"
  222.15 +WANTED="libdazzle"
  222.16 +
  222.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  222.18 +genpkg_rules()
  222.19 +{
  222.20 +        mkdir -p $fs/usr/lib
  222.21 +        mkdir -p $fs/usr/share
  222.22 +
  222.23 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  222.24 +        cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  222.25 +        cp -a $install/usr/share/gir-1.0        $fs/usr/share
  222.26 +        cp -a $install/usr/include              $fs/usr
  222.27 +}
   223.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   223.2 +++ b/libdazzle/receipt	Sun Jan 14 08:12:37 2024 +0000
   223.3 @@ -0,0 +1,36 @@
   223.4 +# SliTaz package receipt.
   223.5 +
   223.6 +PACKAGE="libdazzle"
   223.7 +VERSION="3.44.0"
   223.8 +CATEGORY="libs"
   223.9 +SHORT_DESC="Companion library to GObject and Gtk+"
  223.10 +MAINTAINER="maintainer@slitaz.org"
  223.11 +LICENSE="GPL3"
  223.12 +WEB_SITE="https://gitlab.gnome.org/GNOME/libdazzle"
  223.13 +
  223.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  223.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  223.16 +
  223.17 +BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev \
  223.18 +vala meson"
  223.19 +
  223.20 +# Rules to configure and make the package.
  223.21 +compile_rules()
  223.22 +{
  223.23 +        meson _build \
  223.24 +            --prefix=/usr \
  223.25 +            --libdir=lib \
  223.26 +            --bindir=/usr/bin \
  223.27 +            --sbindir=/usr/sbin \
  223.28 +            --buildtype=release
  223.29 +
  223.30 +        ninja -C _build build
  223.31 +        DESTDIR=$install ninja -C _build install
  223.32 +}
  223.33 +
  223.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
  223.35 +genpkg_rules()       
  223.36 +{                          
  223.37 +        mkdir -p $fs/usr/lib
  223.38 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  223.39 +}
   224.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   224.2 +++ b/libdrm-amdgpu/receipt	Sun Jan 14 08:12:37 2024 +0000
   224.3 @@ -0,0 +1,19 @@
   224.4 +# SliTaz package receipt.
   224.5 +
   224.6 +PACKAGE="libdrm-amdgpu"
   224.7 +VERSION="2.4.109"
   224.8 +CATEGORY="x-window"
   224.9 +SHORT_DESC="Freedesktop DRM Library (amdgpu library)."
  224.10 +MAINTAINER="pankso@slitaz.org"
  224.11 +LICENSE="MIT"
  224.12 +WEB_SITE="https://dri.freedesktop.org/"
  224.13 +
  224.14 +DEPENDS="glibc-base libdrm udev"
  224.15 +WANTED="libdrm"
  224.16 +
  224.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  224.18 +genpkg_rules()
  224.19 +{
  224.20 +	mkdir -p $fs/usr/lib
  224.21 +	cp -a $install/usr/lib/libdrm_amd*.so*	$fs/usr/lib
  224.22 +}
   225.1 --- a/libdrm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   225.2 +++ b/libdrm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   225.3 @@ -1,14 +1,15 @@
   225.4  # SliTaz package receipt.
   225.5  
   225.6  PACKAGE="libdrm-dev"
   225.7 -VERSION="2.4.100"
   225.8 +VERSION="2.4.109"
   225.9  CATEGORY="development"
  225.10  SHORT_DESC="Lib DRM - development files."
  225.11  MAINTAINER="pankso@slitaz.org"
  225.12  LICENSE="MIT"
  225.13  WEB_SITE="https://dri.freedesktop.org/"
  225.14  
  225.15 -DEPENDS="libdrm libdrm-intel libdrm-radeon pkg-config"
  225.16 +DEPENDS="libdrm libdrm-intel libdrm-radeon \
  225.17 +libdrm-nouveau libdrm-amdgpu pkg-config"
  225.18  WANTED="libdrm"
  225.19  
  225.20  HOST_ARCH="i486 arm"
   226.1 --- a/libdrm-intel/receipt	Mon Oct 16 18:37:14 2023 +0000
   226.2 +++ b/libdrm-intel/receipt	Sun Jan 14 08:12:37 2024 +0000
   226.3 @@ -1,7 +1,7 @@
   226.4  # SliTaz package receipt.
   226.5  
   226.6  PACKAGE="libdrm-intel"
   226.7 -VERSION="2.4.100"
   226.8 +VERSION="2.4.109"
   226.9  CATEGORY="x-window"
  226.10  SHORT_DESC="Freedesktop DRM Library (intel library)."
  226.11  MAINTAINER="pankso@slitaz.org"
   227.1 --- a/libdrm-nouveau/receipt	Mon Oct 16 18:37:14 2023 +0000
   227.2 +++ b/libdrm-nouveau/receipt	Sun Jan 14 08:12:37 2024 +0000
   227.3 @@ -1,7 +1,7 @@
   227.4  # SliTaz package receipt.
   227.5  
   227.6  PACKAGE="libdrm-nouveau"
   227.7 -VERSION="2.4.100"
   227.8 +VERSION="2.4.109"
   227.9  CATEGORY="x-window"
  227.10  SHORT_DESC="Freedesktop DRM Library (nouveau library)."
  227.11  MAINTAINER="pankso@slitaz.org"
   228.1 --- a/libdrm-radeon/receipt	Mon Oct 16 18:37:14 2023 +0000
   228.2 +++ b/libdrm-radeon/receipt	Sun Jan 14 08:12:37 2024 +0000
   228.3 @@ -1,7 +1,7 @@
   228.4  # SliTaz package receipt.
   228.5  
   228.6  PACKAGE="libdrm-radeon"
   228.7 -VERSION="2.4.100"
   228.8 +VERSION="2.4.109"
   228.9  CATEGORY="x-window"
  228.10  SHORT_DESC="Freedesktop DRM Library (radeon library)."
  228.11  MAINTAINER="pankso@slitaz.org"
   229.1 --- a/libdrm/receipt	Mon Oct 16 18:37:14 2023 +0000
   229.2 +++ b/libdrm/receipt	Sun Jan 14 08:12:37 2024 +0000
   229.3 @@ -1,19 +1,19 @@
   229.4  # SliTaz package receipt.
   229.5  
   229.6  PACKAGE="libdrm"
   229.7 -VERSION="2.4.100"
   229.8 +VERSION="2.4.109"
   229.9  CATEGORY="x-window"
  229.10  SHORT_DESC="Freedesktop DRM Library."
  229.11  MAINTAINER="pankso@slitaz.org"
  229.12  LICENSE="MIT"
  229.13  WEB_SITE="https://dri.freedesktop.org/"
  229.14  
  229.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
  229.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  229.17  WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
  229.18  
  229.19  DEPENDS="glibc-base linux-drm udev xorg-libpciaccess"
  229.20  BUILD_DEPENDS="gc-dev libpthread-stubs-dev pkg-config \
  229.21 -	udev-dev xorg-libpciaccess-dev"
  229.22 +	udev-dev xorg-libpciaccess-dev meson"
  229.23  	#xorg-dev xorg-dev-proto
  229.24  
  229.25  HOST_ARCH="i486 arm"
  229.26 @@ -27,15 +27,19 @@
  229.27  # Rules to configure and make the package.
  229.28  compile_rules()
  229.29  {
  229.30 -	./configure					\
  229.31 -		--enable-intel				\
  229.32 -		--enable-nouveau-experimental-api	\
  229.33 -		--enable-radeon				\
  229.34 -		--enable-udev				\
  229.35 -		--enable-vmwgfx-experimental-api	\
  229.36 -		$CONFIGURE_ARGS &&
  229.37 -	make -j 1 &&
  229.38 -	make install
  229.39 +
  229.40 +        mkdir mbuild && cd mbuild
  229.41 +        meson setup \
  229.42 +            --prefix=/usr \
  229.43 +            --libdir=lib \
  229.44 +            --bindir=/usr/bin \
  229.45 +            --sbindir=/usr/sbin \
  229.46 +            --buildtype=release \
  229.47 +	-Dudev=true \
  229.48 +        ..
  229.49 +
  229.50 +        ninja build
  229.51 +        DESTDIR=$install ninja install
  229.52  }
  229.53  
  229.54  # Rules to gen a SliTaz package suitable for Tazpkg.
   230.1 --- a/libegl-mesa/receipt	Mon Oct 16 18:37:14 2023 +0000
   230.2 +++ b/libegl-mesa/receipt	Sun Jan 14 08:12:37 2024 +0000
   230.3 @@ -1,7 +1,7 @@
   230.4  # SliTaz package receipt.
   230.5  
   230.6  PACKAGE="libegl-mesa"
   230.7 -VERSION="9.2.5"
   230.8 +VERSION="21.3.5"
   230.9  CATEGORY="development"
  230.10  SHORT_DESC="OpenGL utility library."
  230.11  MAINTAINER="pascal.bellard@slitaz.org"
  230.12 @@ -16,5 +16,5 @@
  230.13  genpkg_rules()
  230.14  {
  230.15  	mkdir -p $fs/usr/lib
  230.16 -	cp -a $install/usr/lib/libEGL*	$fs/usr/lib
  230.17 +	cp -a $install/usr/lib/libEGL*.so* $fs/usr/lib
  230.18  }
   231.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   231.2 +++ b/libepoxy-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   231.3 @@ -0,0 +1,20 @@
   231.4 +# SliTaz package receipt.
   231.5 +
   231.6 +PACKAGE="libepoxy-dev"
   231.7 +VERSION="1.5.10"
   231.8 +CATEGORY="development"
   231.9 +SHORT_DESC="Library for handling OpenGL function pointer management (devel files)."
  231.10 +MAINTAINER="mantainer@slitaz.org"
  231.11 +LICENSE="MIT"
  231.12 +WANTED="libepoxy"
  231.13 +WEB_SITE="https://github.com/anholt/libepoxy/"
  231.14 +
  231.15 +DEPENDS="libepoxy mesa-dev libegl-mesa"
  231.16 +
  231.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  231.18 +genpkg_rules()
  231.19 +{
  231.20 +        mkdir -p $fs/usr/lib
  231.21 +        cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  231.22 +        cp -a $install/usr/include $fs/usr
  231.23 +}
   232.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   232.2 +++ b/libepoxy/receipt	Sun Jan 14 08:12:37 2024 +0000
   232.3 @@ -0,0 +1,34 @@
   232.4 +# SliTaz package receipt.
   232.5 +
   232.6 +PACKAGE="libepoxy"
   232.7 +VERSION="1.5.10"
   232.8 +CATEGORY="x-window"
   232.9 +SHORT_DESC="Library for handling OpenGL function pointer management"
  232.10 +MAINTAINER="mantainer@slitaz.org"
  232.11 +LICENSE="MIT"
  232.12 +WEB_SITE="https://github.com/anholt/libepoxy/"
  232.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  232.14 +WGET_URL="https://download.gnome.org/sources/libepoxy/${VERSION%.*}/$TARBALL"
  232.15 +
  232.16 +DEPENDS=""
  232.17 +BUILD_DEPENDS="mesa-dev libegl-mesa meson"
  232.18 +
  232.19 +# Rules to configure and make the package.
  232.20 +compile_rules()
  232.21 +{
  232.22 +        meson build \
  232.23 +            --prefix=/usr \
  232.24 +            --libdir=lib \
  232.25 +            --bindir=/usr/bin \
  232.26 +            --sbindir=/usr/sbin \
  232.27 +            --buildtype=release &&
  232.28 +        ninja -C build &&
  232.29 +        ninja -C build install
  232.30 +}
  232.31 +
  232.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
  232.33 +genpkg_rules()
  232.34 +{
  232.35 +        mkdir -p $fs/usr/lib
  232.36 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  232.37 +}
   233.1 --- a/libgfortran/receipt	Mon Oct 16 18:37:14 2023 +0000
   233.2 +++ b/libgfortran/receipt	Sun Jan 14 08:12:37 2024 +0000
   233.3 @@ -1,7 +1,7 @@
   233.4  # SliTaz package receipt.
   233.5  
   233.6  PACKAGE="libgfortran"
   233.7 -VERSION="6.3.0"
   233.8 +VERSION="8.3.0"
   233.9  CATEGORY="misc"
  233.10  SHORT_DESC="GCC fortran runtime."
  233.11  WEB_SITE="http://gcc.gnu.org/"
   234.1 --- a/libgio-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   234.2 +++ b/libgio-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   234.3 @@ -1,7 +1,7 @@
   234.4  # SliTaz package receipt.
   234.5  
   234.6  PACKAGE="libgio-dev"
   234.7 -VERSION="2.43.3"
   234.8 +VERSION="2.70.3"
   234.9  CATEGORY="development"
  234.10  SHORT_DESC="Glib libgio devel files."
  234.11  MAINTAINER="pankso@slitaz.org"
   235.1 --- a/libgio/receipt	Mon Oct 16 18:37:14 2023 +0000
   235.2 +++ b/libgio/receipt	Sun Jan 14 08:12:37 2024 +0000
   235.3 @@ -1,7 +1,7 @@
   235.4  # SliTaz package receipt.
   235.5  
   235.6  PACKAGE="libgio"
   235.7 -VERSION="2.43.3"
   235.8 +VERSION="2.70.3"
   235.9  CATEGORY="x-window"
  235.10  SHORT_DESC="Glib libgio shared library."
  235.11  MAINTAINER="pankso@slitaz.org"
   236.1 --- a/libgiomm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   236.2 +++ b/libgiomm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   236.3 @@ -1,7 +1,7 @@
   236.4  # SliTaz package receipt.
   236.5  
   236.6  PACKAGE="libgiomm-dev"
   236.7 -VERSION="2.40.0"
   236.8 +VERSION="2.64.5"
   236.9  CATEGORY="development"
  236.10  SHORT_DESC="GIO Framework for C++ devel files."
  236.11  MAINTAINER="pankso@slitaz.org"
   237.1 --- a/libgiomm/receipt	Mon Oct 16 18:37:14 2023 +0000
   237.2 +++ b/libgiomm/receipt	Sun Jan 14 08:12:37 2024 +0000
   237.3 @@ -1,7 +1,7 @@
   237.4  # SliTaz package receipt.
   237.5  
   237.6  PACKAGE="libgiomm"
   237.7 -VERSION="2.40.0"
   237.8 +VERSION="2.64.5"
   237.9  CATEGORY="x-window"
  237.10  SHORT_DESC="GIO Framework for C++."
  237.11  MAINTAINER="pankso@slitaz.org"
   238.1 --- a/libglu-mesa-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   238.2 +++ b/libglu-mesa-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   238.3 @@ -1,7 +1,7 @@
   238.4  # SliTaz package receipt.
   238.5  
   238.6  PACKAGE="libglu-mesa-dev"
   238.7 -VERSION="9.0.0"
   238.8 +VERSION="9.0.2"
   238.9  CATEGORY="development"
  238.10  SHORT_DESC="OpenGL utility library, development files."
  238.11  MAINTAINER="pascal.bellard@slitaz.org"
   239.1 --- a/libglu-mesa/receipt	Mon Oct 16 18:37:14 2023 +0000
   239.2 +++ b/libglu-mesa/receipt	Sun Jan 14 08:12:37 2024 +0000
   239.3 @@ -2,14 +2,14 @@
   239.4  
   239.5  PACKAGE="libglu-mesa"
   239.6  SOURCE="glu"
   239.7 -VERSION="9.0.0"
   239.8 +VERSION="9.0.2"
   239.9  CATEGORY="x-window"
  239.10  SHORT_DESC="OpenGL utility library."
  239.11  MAINTAINER="pascal.bellard@slitaz.org"
  239.12  LICENSE="MIT"
  239.13 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  239.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
  239.15  WEB_SITE="https://www.mesa3d.org/"
  239.16 -WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$SOURCE/$TARBALL"
  239.17 +WGET_URL="https://archive.mesa3d.org/$SOURCE/$TARBALL"
  239.18  PROVIDE="libglu"
  239.19  
  239.20  DEPENDS="glibc-base gcc-lib-base mesa"
   240.1 --- a/libgnutls/receipt	Mon Oct 16 18:37:14 2023 +0000
   240.2 +++ b/libgnutls/receipt	Sun Jan 14 08:12:37 2024 +0000
   240.3 @@ -1,7 +1,7 @@
   240.4  # SliTaz package receipt.
   240.5  
   240.6  PACKAGE="libgnutls"
   240.7 -VERSION="3.6.12"
   240.8 +VERSION="3.7.9"
   240.9  CATEGORY="security"
  240.10  SHORT_DESC="GNU Transport Layer Security Library headers"
  240.11  MAINTAINER="erjo@slitaz.org"
   241.1 --- a/libgomp/receipt	Mon Oct 16 18:37:14 2023 +0000
   241.2 +++ b/libgomp/receipt	Sun Jan 14 08:12:37 2024 +0000
   241.3 @@ -1,7 +1,7 @@
   241.4  # SliTaz package receipt.
   241.5  
   241.6  PACKAGE="libgomp"
   241.7 -VERSION="6.3.0"
   241.8 +VERSION="8.3.0"
   241.9  CATEGORY="development"
  241.10  SHORT_DESC="API specification for parallel programming."
  241.11  MAINTAINER="pascal.bellard@slitaz.org"
   242.1 --- a/libgphoto2-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   242.2 +++ b/libgphoto2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   242.3 @@ -20,4 +20,7 @@
   242.4  
   242.5  	# remove *.so files
   242.6  	find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
   242.7 +
   242.8 +        # Ensure remove .la files
   242.9 +        find $fs -name "*.la" -delete
  242.10  }
   243.1 --- a/libgsf-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   243.2 +++ b/libgsf-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   243.3 @@ -1,7 +1,7 @@
   243.4  # SliTaz package receipt.
   243.5  
   243.6  PACKAGE="libgsf-dev"
   243.7 -VERSION="1.14.46"
   243.8 +VERSION="1.14.48"
   243.9  CATEGORY="development"
  243.10  SHORT_DESC="GNOME Structured File Library, development files."
  243.11  MAINTAINER="pankso@slitaz.org"
   244.1 --- a/libgsf/receipt	Mon Oct 16 18:37:14 2023 +0000
   244.2 +++ b/libgsf/receipt	Sun Jan 14 08:12:37 2024 +0000
   244.3 @@ -1,7 +1,7 @@
   244.4  # SliTaz package receipt.
   244.5  
   244.6  PACKAGE="libgsf"
   244.7 -VERSION="1.14.46"
   244.8 +VERSION="1.14.48"
   244.9  CATEGORY="libs"
  244.10  SHORT_DESC="GNOME Structured File Library."
  244.11  MAINTAINER="pankso@slitaz.org"
   245.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   245.2 +++ b/libhandy-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   245.3 @@ -0,0 +1,24 @@
   245.4 +# SliTaz package receipt.
   245.5 +
   245.6 +PACKAGE="libhandy-dev"
   245.7 +VERSION="1.6.4"
   245.8 +CATEGORY="development"
   245.9 +SHORT_DESC="Library with GTK widgets for mobile phones - development files."
  245.10 +MAINTAINER="maintainer@slitaz.org"
  245.11 +LICENSE="LGPL2.1"
  245.12 +WEB_SITE="https://gitlab.gnome.org/GNOME/libhandy"
  245.13 +
  245.14 +DEPENDS="libhandy"
  245.15 +WANTED="libhandy"
  245.16 +
  245.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  245.18 +genpkg_rules()
  245.19 +{
  245.20 +        mkdir -p $fs/usr/lib
  245.21 +        mkdir -p $fs/usr/share
  245.22 +
  245.23 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  245.24 +        cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  245.25 +        cp -a $install/usr/share/gir-1.0        $fs/usr/share
  245.26 +        cp -a $install/usr/include              $fs/usr
  245.27 +}
   246.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   246.2 +++ b/libhandy/receipt	Sun Jan 14 08:12:37 2024 +0000
   246.3 @@ -0,0 +1,38 @@
   246.4 +# SliTaz package receipt.
   246.5 +
   246.6 +PACKAGE="libhandy"
   246.7 +VERSION="1.6.4"
   246.8 +CATEGORY="libs"
   246.9 +SHORT_DESC="Library with GTK widgets for mobile phones"
  246.10 +MAINTAINER="maintainer@slitaz.org"
  246.11 +LICENSE="LGPL2.1"
  246.12 +WEB_SITE="https://gitlab.gnome.org/GNOME/libhandy"
  246.13 +
  246.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  246.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  246.16 +
  246.17 +BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev \
  246.18 +vala meson"
  246.19 +
  246.20 +# Rules to configure and make the package.
  246.21 +compile_rules()
  246.22 +{
  246.23 +        meson _build \
  246.24 +            --prefix=/usr \
  246.25 +            --libdir=lib \
  246.26 +            --bindir=/usr/bin \
  246.27 +            --sbindir=/usr/sbin \
  246.28 +            --buildtype=release \
  246.29 +	-Dtests=false \
  246.30 +	-Dexamples=false
  246.31 +
  246.32 +        ninja -C _build build
  246.33 +        DESTDIR=$install ninja -C _build install
  246.34 +}
  246.35 +
  246.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
  246.37 +genpkg_rules()       
  246.38 +{                          
  246.39 +        mkdir -p $fs/usr/lib
  246.40 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  246.41 +}
   247.1 --- a/libjson-c-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   247.2 +++ b/libjson-c-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   247.3 @@ -1,7 +1,7 @@
   247.4  # SliTaz package receipt.
   247.5  
   247.6  PACKAGE="libjson-c-dev"
   247.7 -VERSION="0.13.1-20180305"
   247.8 +VERSION="0.15-20200726"
   247.9  CATEGORY="development"
  247.10  SHORT_DESC="A JSON implementation in C, development files."
  247.11  MAINTAINER="pascal.bellard@slitaz.org"
  247.12 @@ -17,6 +17,5 @@
  247.13  	mkdir -p $fs/usr/lib
  247.14  
  247.15  	cp -a $install/usr/include		$fs/usr/
  247.16 -	cp -a $install/usr/lib/*a		$fs/usr/lib
  247.17  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  247.18  }
   248.1 --- a/libjson-c/receipt	Mon Oct 16 18:37:14 2023 +0000
   248.2 +++ b/libjson-c/receipt	Sun Jan 14 08:12:37 2024 +0000
   248.3 @@ -1,7 +1,7 @@
   248.4  # SliTaz package receipt.
   248.5  
   248.6  PACKAGE="libjson-c"
   248.7 -VERSION="0.13.1-20180305"
   248.8 +VERSION="0.15-20200726"
   248.9  CATEGORY="development"
  248.10  SHORT_DESC="A JSON implementation in C."
  248.11  MAINTAINER="pascal.bellard@slitaz.org"
  248.12 @@ -12,7 +12,7 @@
  248.13  WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz"
  248.14  
  248.15  DEPENDS=""
  248.16 -BUILD_DEPENDS="automake bash libtool"
  248.17 +BUILD_DEPENDS="automake bash libtool cmake"
  248.18  
  248.19  current_version()
  248.20  {
  248.21 @@ -23,12 +23,13 @@
  248.22  # Rules to configure and make the package.
  248.23  compile_rules()
  248.24  {
  248.25 -	sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
  248.26 +	mkdir build && cd build
  248.27  
  248.28 -	./autogen.sh &&
  248.29 -	./configure		\
  248.30 -		--prefix=/usr	\
  248.31 -		$CONFIGURE_ARGS &&
  248.32 +	cmake \
  248.33 +	   -DCMAKE_INSTALL_PREFIX=/usr \
  248.34 +	   -DBUILD_STATIC_LIBS=OFF \
  248.35 +	   -DCMAKE_BUILD_TYPE=Release \
  248.36 +	-Wno-dev .. &&
  248.37  	make -j 1 &&
  248.38  	make DESTDIR=$DESTDIR install
  248.39  }
   249.1 --- a/libkeybinder/receipt	Mon Oct 16 18:37:14 2023 +0000
   249.2 +++ b/libkeybinder/receipt	Sun Jan 14 08:12:37 2024 +0000
   249.3 @@ -39,5 +39,7 @@
   249.4  	mkdir -p $fs/usr/lib
   249.5  	cp -a $install/usr/lib/*so* $fs/usr/lib
   249.6  	cp -a $install/usr/lib/python* $fs/usr/lib
   249.7 +
   249.8 +        # Ensure remove .la files
   249.9 +        find $fs -name "*.la" -delete
  249.10  }
  249.11 -
   250.1 --- a/libkrb5/receipt	Mon Oct 16 18:37:14 2023 +0000
   250.2 +++ b/libkrb5/receipt	Sun Jan 14 08:12:37 2024 +0000
   250.3 @@ -1,7 +1,7 @@
   250.4  # SliTaz package receipt.
   250.5  
   250.6  PACKAGE="libkrb5"
   250.7 -VERSION="1.18"
   250.8 +VERSION="1.19.4"
   250.9  CATEGORY="security"
  250.10  SHORT_DESC="Kerberos network authentication protocol libraries."
  250.11  MAINTAINER="pascal.bellard@slitaz.org"
   251.1 --- a/libkrb5support/receipt	Mon Oct 16 18:37:14 2023 +0000
   251.2 +++ b/libkrb5support/receipt	Sun Jan 14 08:12:37 2024 +0000
   251.3 @@ -1,7 +1,7 @@
   251.4  # SliTaz package receipt.
   251.5  
   251.6  PACKAGE="libkrb5support"
   251.7 -VERSION="1.18"
   251.8 +VERSION="1.19.4"
   251.9  CATEGORY="security"
  251.10  SHORT_DESC="Kerberos network authentication protocol support libraries."
  251.11  MAINTAINER="pascal.bellard@slitaz.org"
   252.1 --- a/libksba-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   252.2 +++ b/libksba-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   252.3 @@ -1,7 +1,7 @@
   252.4  # SliTaz package receipt.
   252.5  
   252.6  PACKAGE="libksba-dev"
   252.7 -VERSION="1.6.0"
   252.8 +VERSION="1.6.3"
   252.9  CATEGORY="security"
  252.10  SHORT_DESC="The libksba development files."
  252.11  MAINTAINER="pankso@slitaz.org"
  252.12 @@ -16,4 +16,7 @@
  252.13  {
  252.14  	cp -a $install/*	$fs
  252.15  	rm -r			$fs/usr/lib/*.so*
  252.16 +
  252.17 +        # Ensure remove .la files
  252.18 +        find $fs -name "*.la" -delete
  252.19  }
   253.1 --- a/libksba/receipt	Mon Oct 16 18:37:14 2023 +0000
   253.2 +++ b/libksba/receipt	Sun Jan 14 08:12:37 2024 +0000
   253.3 @@ -1,7 +1,7 @@
   253.4  # SliTaz package receipt.
   253.5  
   253.6  PACKAGE="libksba"
   253.7 -VERSION="1.6.0"
   253.8 +VERSION="1.6.3"
   253.9  CATEGORY="security"
  253.10  SHORT_DESC="Library to work with X.509 certificates, CMS data and related objects."
  253.11  MAINTAINER="pankso@slitaz.org"
  253.12 @@ -25,7 +25,7 @@
  253.13  compile_rules()
  253.14  {
  253.15  	# Integrity check: https://www.gnupg.org/download/integrity_check.html
  253.16 -	echo "d71e18a71b44d7f0e93180e05971857b4900c788  $SRC/$TARBALL" | sha1sum -c || exit 1
  253.17 +	echo "7fe6d00b61e85a699a28d0aa309ba0bddcc46f3e  $SRC/$TARBALL" | sha1sum -c || exit 1
  253.18  
  253.19  	./configure $CONFIGURE_ARGS &&
  253.20  	make &&
   254.1 --- a/libldap/receipt	Mon Oct 16 18:37:14 2023 +0000
   254.2 +++ b/libldap/receipt	Sun Jan 14 08:12:37 2024 +0000
   254.3 @@ -1,7 +1,7 @@
   254.4  # SliTaz package receipt.
   254.5  
   254.6  PACKAGE="libldap"
   254.7 -VERSION="2.4.46"
   254.8 +VERSION="2.4.59"
   254.9  CATEGORY="misc"
  254.10  SHORT_DESC="LDAP database libraries."
  254.11  MAINTAINER="pascal.bellard@slitaz.org"
   255.1 --- a/liblouis-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   255.2 +++ b/liblouis-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   255.3 @@ -15,4 +15,7 @@
   255.4  genpkg_rules()
   255.5  {
   255.6  	get_dev_files
   255.7 +
   255.8 +        # Ensure remove .la files
   255.9 +        find $fs -name "*.la" -delete
  255.10  }
   256.1 --- a/libmms-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   256.2 +++ b/libmms-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   256.3 @@ -17,6 +17,5 @@
   256.4  	mkdir -p $fs/usr/lib
   256.5  
   256.6  	cp -a $install/usr/include		$fs/usr
   256.7 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   256.8  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   256.9  }
   257.1 --- a/libmng-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   257.2 +++ b/libmng-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   257.3 @@ -1,7 +1,7 @@
   257.4  # SliTaz package receipt.
   257.5  
   257.6  PACKAGE="libmng-dev"
   257.7 -VERSION="1.0.10"
   257.8 +VERSION="2.0.3"
   257.9  CATEGORY="development"
  257.10  SHORT_DESC="dev file for libmng"
  257.11  MAINTAINER="allan316@gmail.com"
   258.1 --- a/libmng/receipt	Mon Oct 16 18:37:14 2023 +0000
   258.2 +++ b/libmng/receipt	Sun Jan 14 08:12:37 2024 +0000
   258.3 @@ -1,7 +1,7 @@
   258.4  # SliTaz package receipt.
   258.5  
   258.6  PACKAGE="libmng"
   258.7 -VERSION="1.0.10"
   258.8 +VERSION="2.0.3"
   258.9  CATEGORY="development"
  258.10  SHORT_DESC="library for multi network graphics"
  258.11  MAINTAINER="allan316@gmail.com"
  258.12 @@ -25,10 +25,12 @@
  258.13  compile_rules()
  258.14  {
  258.15  	cd $src
  258.16 -	sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am
  258.17 -	sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in
  258.18 -	ln -sf makefiles/configure.in . &&
  258.19 -	ln -sf makefiles/Makefile.am . &&
  258.20 +	
  258.21 +	# Patch for libmng 2.0.2 to build with jpeg9
  258.22 +	# see http://bugs.gentoo.org/520906
  258.23 +	patch -p1 <$stuff/libmng-2.0.2-jpeg9.patch
  258.24 +
  258.25 +
  258.26  	autoreconf -f -i &&
  258.27  	./configure \
  258.28  		--prefix=/usr \
   259.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   259.2 +++ b/libmng/stuff/libmng-2.0.2-jpeg9.patch	Sun Jan 14 08:12:37 2024 +0000
   259.3 @@ -0,0 +1,17 @@
   259.4 +--- a/libmng_types.h
   259.5 ++++ b/libmng_types.h
   259.6 +@@ -200,14 +200,6 @@
   259.7 + #undef FAR                             /* possibly defined by zlib or lcms */
   259.8 + #endif
   259.9 + #define JPEG_INTERNAL_OPTIONS          /* for RGB_PIXELSIZE */
  259.10 +-/* There has been a change in jpeg-9 : */
  259.11 +-#if !defined(HAVE_BOOLEAN) && !defined(_WIN32)
  259.12 +-#define HAVE_BOOLEAN
  259.13 +-#endif
  259.14 +-#ifndef _WIN32
  259.15 +-typedef int boolean;
  259.16 +-#endif
  259.17 +-/* For jpegsrc.v09a: */
  259.18 + #include <stdio.h>
  259.19 + #include <jpeglib.h>
  259.20 + #endif /* MNG_INCLUDE_IJG6B */
   260.1 --- a/libmodplug-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   260.2 +++ b/libmodplug-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   260.3 @@ -19,6 +19,5 @@
   260.4  	mkdir -p $fs/usr/lib 
   260.5  
   260.6  	cp -a $install/usr/include		$fs/usr
   260.7 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib/
   260.8  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   260.9  }
   261.1 --- a/libmtp-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   261.2 +++ b/libmtp-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   261.3 @@ -1,7 +1,7 @@
   261.4  # SliTaz package receipt.
   261.5  
   261.6  PACKAGE="libmtp-dev"
   261.7 -VERSION="1.1.17"
   261.8 +VERSION="1.1.19"
   261.9  CATEGORY="development"
  261.10  SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP) - development files."
  261.11  MAINTAINER="keupont@no-log.org"
   262.1 --- a/libmtp/receipt	Mon Oct 16 18:37:14 2023 +0000
   262.2 +++ b/libmtp/receipt	Sun Jan 14 08:12:37 2024 +0000
   262.3 @@ -1,7 +1,7 @@
   262.4  # SliTaz package receipt.
   262.5  
   262.6  PACKAGE="libmtp"
   262.7 -VERSION="1.1.17"
   262.8 +VERSION="1.1.19"
   262.9  CATEGORY="system-tools"
  262.10  SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)."
  262.11  MAINTAINER="keupont@no-log.org"
   263.1 --- a/libnl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   263.2 +++ b/libnl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   263.3 @@ -23,4 +23,7 @@
   263.4  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   263.5  
   263.6  	find $fs/usr/lib -type f -name "*.so" -exec rm -f {} \;
   263.7 +
   263.8 +        # Ensure remove .la files
   263.9 +        find $fs -name "*.la" -delete
  263.10  }
   264.1 --- a/libnotify/receipt	Mon Oct 16 18:37:14 2023 +0000
   264.2 +++ b/libnotify/receipt	Sun Jan 14 08:12:37 2024 +0000
   264.3 @@ -12,7 +12,7 @@
   264.4  HOST_ARCH="i486 arm"
   264.5  
   264.6  DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
   264.7 -BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
   264.8 +BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev shared-mime-info-dev"
   264.9  
  264.10  # Handle cross compilation
  264.11  case "$ARCH" in
   265.1 --- a/libnsl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   265.2 +++ b/libnsl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   265.3 @@ -20,4 +20,7 @@
   265.4  #	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   265.5  #	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   265.6  	get_dev_files
   265.7 +
   265.8 +        # Ensure remove .la files
   265.9 +        find $fs -name "*.la" -delete
  265.10  }
   266.1 --- a/libobjc/receipt	Mon Oct 16 18:37:14 2023 +0000
   266.2 +++ b/libobjc/receipt	Sun Jan 14 08:12:37 2024 +0000
   266.3 @@ -1,7 +1,7 @@
   266.4  # SliTaz package receipt.
   266.5  
   266.6  PACKAGE="libobjc"
   266.7 -VERSION="6.3.0"
   266.8 +VERSION="8.3.0"
   266.9  CATEGORY="development"
  266.10  SHORT_DESC="API for gcc object"
  266.11  MAINTAINER="slaxemulator@gmail.com"
   267.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   267.2 +++ b/libpeas-demo/receipt	Sun Jan 14 08:12:37 2024 +0000
   267.3 @@ -0,0 +1,23 @@
   267.4 +# SliTaz package receipt.
   267.5 +
   267.6 +PACKAGE="libpeas-demo"
   267.7 +VERSION="1.22.0"
   267.8 +CATEGORY="libs"
   267.9 +SHORT_DESC="GObject Plugin System - (Demos)."
  267.10 +MAINTAINER="maintainer@slitaz.org"
  267.11 +LICENSE="GPL2"
  267.12 +WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
  267.13 +
  267.14 +DEPENDS="libpeas libpeas-gtk pkg-config"
  267.15 +WANTED="libpeas"
  267.16 +
  267.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  267.18 +genpkg_rules()
  267.19 +{
  267.20 +        mkdir -p $fs/usr/bin
  267.21 +        mkdir -p $fs/usr/lib
  267.22 +
  267.23 +	cp -a $install/usr/bin/* $fs/usr/bin
  267.24 +        cp -a $install/usr/lib/peas-demo  $fs/usr/lib
  267.25 +	cp -a $install/usr/share/icons $fs/usr/share
  267.26 +}
   268.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   268.2 +++ b/libpeas-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   268.3 @@ -0,0 +1,24 @@
   268.4 +# SliTaz package receipt.
   268.5 +
   268.6 +PACKAGE="libpeas-dev"
   268.7 +VERSION="1.22.0"
   268.8 +CATEGORY="development"
   268.9 +SHORT_DESC="GObject Plugin System - development files."
  268.10 +MAINTAINER="maintainer@slitaz.org"
  268.11 +LICENSE="GPL2"
  268.12 +WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
  268.13 +
  268.14 +DEPENDS="libpeas libpeas-demo pkg-config"
  268.15 +WANTED="libpeas"
  268.16 +
  268.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  268.18 +genpkg_rules()
  268.19 +{
  268.20 +        mkdir -p $fs/usr/lib
  268.21 +        mkdir -p $fs/usr/share
  268.22 +
  268.23 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  268.24 +        cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  268.25 +        cp -a $install/usr/share/gir-1.0        $fs/usr/share
  268.26 +        cp -a $install/usr/include              $fs/usr
  268.27 +}
   269.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   269.2 +++ b/libpeas-gtk/receipt	Sun Jan 14 08:12:37 2024 +0000
   269.3 @@ -0,0 +1,24 @@
   269.4 +# SliTaz package receipt.
   269.5 +
   269.6 +PACKAGE="libpeas-gtk"
   269.7 +VERSION="1.22.0"
   269.8 +CATEGORY="libs"
   269.9 +SHORT_DESC="GObject Plugin System - (GTK+ UI)."
  269.10 +MAINTAINER="maintainer@slitaz.org"
  269.11 +LICENSE="GPL2"
  269.12 +WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
  269.13 +
  269.14 +DEPENDS="libpeas"
  269.15 +WANTED="libpeas"
  269.16 +
  269.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  269.18 +genpkg_rules()
  269.19 +{
  269.20 +        mkdir -p $fs/usr/lib
  269.21 +        mkdir -p $fs/usr/share
  269.22 +
  269.23 +        cp -a $install/usr/lib/*-gtk*.so*  $fs/usr/lib
  269.24 +	cp -a $install/usr/share/gtk-doc $fs/usr/share
  269.25 +	cp -a $install/usr/share/locale $fs/usr/share
  269.26 +	cp -a $install/usr/share/icons $fs/usr/share
  269.27 +}
   270.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   270.2 +++ b/libpeas/receipt	Sun Jan 14 08:12:37 2024 +0000
   270.3 @@ -0,0 +1,33 @@
   270.4 +# SliTaz package receipt.
   270.5 +
   270.6 +PACKAGE="libpeas"
   270.7 +VERSION="1.22.0"
   270.8 +CATEGORY="libs"
   270.9 +SHORT_DESC="GObject Plugin System"
  270.10 +MAINTAINER="maintainer@slitaz.org"
  270.11 +LICENSE="GPL2"
  270.12 +WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
  270.13 +
  270.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  270.15 +WGET_URL="$GNOME_MIRROR/libpeas/${VERSION%.*}/$TARBALL"
  270.16 +
  270.17 +BUILD_DEPENDS="intltool gobject-introspection-dev \
  270.18 +gtk+3-dev python-dev python3-dev gtk-doc"
  270.19 +SPLIT="$PACKAGE-gtk $PACKAGE-python $PACKAGE-dev $PACKAGE-demo"
  270.20 +
  270.21 +# Rules to configure and make the package.
  270.22 +compile_rules()
  270.23 +{
  270.24 +	./configure $CONFIGURE_ARGS &&
  270.25 +	make && make install
  270.26 +}
  270.27 +
  270.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
  270.29 +genpkg_rules()       
  270.30 +{                          
  270.31 +        mkdir -p $fs/usr/lib
  270.32 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  270.33 +
  270.34 +	# split libpeas-gtk
  270.35 +	rm $fs/usr/lib/*-gtk*.so*
  270.36 +}
   271.1 --- a/libpng-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   271.2 +++ b/libpng-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   271.3 @@ -1,7 +1,7 @@
   271.4  # SliTaz package receipt.
   271.5  
   271.6  PACKAGE="libpng-dev"
   271.7 -VERSION="1.2.56"
   271.8 +VERSION="1.6.37"
   271.9  CATEGORY="development"
  271.10  SHORT_DESC="PNG images library devel files."
  271.11  MAINTAINER="pankso@slitaz.org"
   272.1 --- a/libpng/receipt	Mon Oct 16 18:37:14 2023 +0000
   272.2 +++ b/libpng/receipt	Sun Jan 14 08:12:37 2024 +0000
   272.3 @@ -1,7 +1,7 @@
   272.4  # SliTaz package receipt.
   272.5  
   272.6  PACKAGE="libpng"
   272.7 -VERSION="1.2.56"
   272.8 +VERSION="1.6.37"
   272.9  CATEGORY="x-window"
  272.10  SHORT_DESC="PNG images library."
  272.11  MAINTAINER="pankso@slitaz.org"
  272.12 @@ -40,7 +40,7 @@
  272.13  	make DESTDIR=$DESTDIR install
  272.14  
  272.15  	cd contrib/pngminus
  272.16 -	make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
  272.17 +	make PNGLIB_SHARED="-L$DESTDIR/usr/lib -lpng" -f Makefile png2pnm pnm2png
  272.18  	mkdir -p $DESTDIR/usr/bin
  272.19  	cp -a png2pnm pnm2png $DESTDIR/usr/bin
  272.20  }
   273.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   273.2 +++ b/libpsl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   273.3 @@ -0,0 +1,20 @@
   273.4 +# SliTaz package receipt.
   273.5 +
   273.6 +PACKAGE="libpsl-dev"
   273.7 +VERSION="0.21.2"
   273.8 +CATEGORY="development"
   273.9 +SHORT_DESC="C library for the Public Suffix List (devel files)."
  273.10 +MAINTAINER="maintainer@slitaz.org"
  273.11 +LICENSE="MIT"
  273.12 +WANTED="libpsl"
  273.13 +WEB_SITE="https://rockdaboot.github.io/libpsl/"
  273.14 +
  273.15 +DEPENDS="libpsl libidn-dev libunistring-dev gettext"
  273.16 +
  273.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  273.18 +genpkg_rules()
  273.19 +{                                                   
  273.20 +	mkdir -p $fs/usr/lib
  273.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  273.22 +	cp -a $install/usr/include $fs/usr
  273.23 +}
   274.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   274.2 +++ b/libpsl/receipt	Sun Jan 14 08:12:37 2024 +0000
   274.3 @@ -0,0 +1,41 @@
   274.4 +# SliTaz package receipt.
   274.5 +
   274.6 +PACKAGE="libpsl"
   274.7 +VERSION="0.21.2"
   274.8 +CATEGORY="network"
   274.9 +SHORT_DESC="C library for the Public Suffix List"
  274.10 +MAINTAINER="maintainer@slitaz.org"
  274.11 +LICENSE="MIT"
  274.12 +WEB_SITE="https://rockdaboot.github.io/libpsl/"
  274.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
  274.14 +WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/$VERSION/$TARBALL"
  274.15 +
  274.16 +DEPENDS=""
  274.17 +BUILD_DEPENDS="gettext libidn-dev libunistring-dev meson"
  274.18 +
  274.19 +# Rules to configure and make the package.
  274.20 +compile_rules()
  274.21 +{
  274.22 +        cd $src
  274.23 +
  274.24 +        mkdir build && cd build
  274.25 +        meson .. \
  274.26 +        --buildtype=release \
  274.27 +        --prefix=/usr \
  274.28 +        --libdir=/usr/lib \
  274.29 +        --infodir=/usr/share/info \
  274.30 +        --mandir=/usr/share/man \
  274.31 +        --localstatedir=/var \
  274.32 +        --sysconfdir=/etc
  274.33 +
  274.34 +        ninja
  274.35 +        DESTDIR=$install ninja install
  274.36 +}
  274.37 +
  274.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
  274.39 +genpkg_rules()
  274.40 +{                                                   
  274.41 +	mkdir -p $fs/usr/bin $fs/usr/lib
  274.42 +	cp -a $install/usr/bin $fs/usr
  274.43 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  274.44 +}
   275.1 --- a/librsvg-apps/receipt	Mon Oct 16 18:37:14 2023 +0000
   275.2 +++ b/librsvg-apps/receipt	Sun Jan 14 08:12:37 2024 +0000
   275.3 @@ -1,7 +1,7 @@
   275.4  # SliTaz package receipt.
   275.5  
   275.6  PACKAGE="librsvg-apps"
   275.7 -VERSION="2.40.16"
   275.8 +VERSION="2.52.5"
   275.9  CATEGORY="graphics"
  275.10  SHORT_DESC="Tiny libRSVG utilities (rsvg-convert, rsvg-view-3)"
  275.11  MAINTAINER="erjo@slitaz.org"
   276.1 --- a/librsvg-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   276.2 +++ b/librsvg-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   276.3 @@ -1,7 +1,7 @@
   276.4  # SliTaz package receipt.
   276.5  
   276.6  PACKAGE="librsvg-dev"
   276.7 -VERSION="2.40.16"
   276.8 +VERSION="2.52.5"
   276.9  CATEGORY="development"
  276.10  SHORT_DESC="SVG Rendering Library, development files"
  276.11  MAINTAINER="erjo@slitaz.org"
   277.1 --- a/librsvg/receipt	Mon Oct 16 18:37:14 2023 +0000
   277.2 +++ b/librsvg/receipt	Sun Jan 14 08:12:37 2024 +0000
   277.3 @@ -1,7 +1,7 @@
   277.4  # SliTaz package receipt.
   277.5  
   277.6  PACKAGE="librsvg"
   277.7 -VERSION="2.40.16"
   277.8 +VERSION="2.52.5"
   277.9  CATEGORY="x-window"
  277.10  SHORT_DESC="SVG Rendering Library"
  277.11  MAINTAINER="erjo@slitaz.org"
  277.12 @@ -20,7 +20,7 @@
  277.13  # Handle cross compilation
  277.14  case "$ARCH" in
  277.15  	i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \
  277.16 -	gobject-introspection-dev gtk+3-dev" ;;
  277.17 +	gobject-introspection-dev gtk+3-dev rust-cargo" ;;
  277.18  esac
  277.19  
  277.20  current_version()
   278.1 --- a/libruby-extras/receipt	Mon Oct 16 18:37:14 2023 +0000
   278.2 +++ b/libruby-extras/receipt	Sun Jan 14 08:12:37 2024 +0000
   278.3 @@ -1,7 +1,7 @@
   278.4  # SliTaz package receipt.
   278.5  
   278.6  PACKAGE="libruby-extras"
   278.7 -VERSION="2.7.1"
   278.8 +VERSION="2.7.8"
   278.9  CATEGORY="development"
  278.10  SHORT_DESC="Ruby libraries."
  278.11  MAINTAINER="pankso@slitaz.org"
   279.1 --- a/libruby/receipt	Mon Oct 16 18:37:14 2023 +0000
   279.2 +++ b/libruby/receipt	Sun Jan 14 08:12:37 2024 +0000
   279.3 @@ -1,7 +1,7 @@
   279.4  # SliTaz package receipt.
   279.5  
   279.6  PACKAGE="libruby"
   279.7 -VERSION="2.7.1"
   279.8 +VERSION="2.7.8"
   279.9  CATEGORY="development"
  279.10  SHORT_DESC="Ruby shared libraries."
  279.11  MAINTAINER="pankso@slitaz.org"
   280.1 --- a/libsamplerate-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   280.2 +++ b/libsamplerate-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   280.3 @@ -1,7 +1,7 @@
   280.4  # SliTaz package receipt.
   280.5  
   280.6  PACKAGE="libsamplerate-dev"
   280.7 -VERSION="0.1.9"
   280.8 +VERSION="0.2.2"
   280.9  CATEGORY="development"
  280.10  SHORT_DESC="Development files from the Sample Rate Converter for audio."
  280.11  MAINTAINER="pankso@slitaz.org"
   281.1 --- a/libsamplerate/receipt	Mon Oct 16 18:37:14 2023 +0000
   281.2 +++ b/libsamplerate/receipt	Sun Jan 14 08:12:37 2024 +0000
   281.3 @@ -1,15 +1,15 @@
   281.4  # SliTaz package receipt.
   281.5  
   281.6  PACKAGE="libsamplerate"
   281.7 -VERSION="0.1.9"
   281.8 +VERSION="0.2.2"
   281.9  CATEGORY="multimedia"
  281.10  SHORT_DESC="Sample Rate Converter for audio."
  281.11  MAINTAINER="pankso@slitaz.org"
  281.12  LICENSE="GPL2"
  281.13  WEB_SITE="http://www.mega-nerd.com/SRC/"
  281.14  
  281.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
  281.16 -WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL"
  281.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  281.18 +WGET_URL="https://github.com/libsndfile/libsamplerate/releases/download/$VERSION/$TARBALL"
  281.19  
  281.20  DEPENDS=""
  281.21  
  281.22 @@ -37,7 +37,5 @@
  281.23  genpkg_rules()
  281.24  {
  281.25  	mkdir -p $fs/usr/lib
  281.26 -
  281.27 -	cp -a $install/usr/bin		$fs/usr
  281.28  	cp -a $install/usr/lib/*.so*	$fs/usr/lib 
  281.29  }
   282.1 --- a/libsasl-modules/receipt	Mon Oct 16 18:37:14 2023 +0000
   282.2 +++ b/libsasl-modules/receipt	Sun Jan 14 08:12:37 2024 +0000
   282.3 @@ -1,7 +1,7 @@
   282.4  # SliTaz package receipt.
   282.5  
   282.6  PACKAGE="libsasl-modules"
   282.7 -VERSION="2.1.27"
   282.8 +VERSION="2.1.28"
   282.9  CATEGORY="system-tools"
  282.10  SHORT_DESC="SASL library modules."
  282.11  MAINTAINER="pascal.bellard@slitaz.org"
   283.1 --- a/libsasl-without-ldap/receipt	Mon Oct 16 18:37:14 2023 +0000
   283.2 +++ b/libsasl-without-ldap/receipt	Sun Jan 14 08:12:37 2024 +0000
   283.3 @@ -1,7 +1,7 @@
   283.4  # SliTaz package receipt.
   283.5  
   283.6  PACKAGE="libsasl-without-ldap"
   283.7 -VERSION="2.1.27"
   283.8 +VERSION="2.1.28"
   283.9  CATEGORY="system-tools"
  283.10  SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library."
  283.11  MAINTAINER="pascal.bellard@slitaz.org"
  283.12 @@ -51,4 +51,7 @@
  283.13  genpkg_rules()
  283.14  {
  283.15  	cp -a $install/* $fs
  283.16 +
  283.17 +        # Ensure remove .la files
  283.18 +        find $fs -name "*.la" -delete
  283.19  }
   284.1 --- a/libsasl/receipt	Mon Oct 16 18:37:14 2023 +0000
   284.2 +++ b/libsasl/receipt	Sun Jan 14 08:12:37 2024 +0000
   284.3 @@ -1,7 +1,7 @@
   284.4  # SliTaz package receipt.
   284.5  
   284.6  PACKAGE="libsasl"
   284.7 -VERSION="2.1.27"
   284.8 +VERSION="2.1.28"
   284.9  CATEGORY="system-tools"
  284.10  SHORT_DESC="SASL library."
  284.11  MAINTAINER="pascal.bellard@slitaz.org"
   285.1 --- a/libsbc-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   285.2 +++ b/libsbc-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   285.3 @@ -1,7 +1,7 @@
   285.4  # SliTaz package receipt.
   285.5  
   285.6  PACKAGE="libsbc-dev"
   285.7 -VERSION="1.4"
   285.8 +VERSION="1.5"
   285.9  CATEGORY="development"
  285.10  SHORT_DESC="Digital audio encoder and decoder for Bluetooth audio output devices, development files"
  285.11  MAINTAINER="pascal.bellard@slitaz.org"
   286.1 --- a/libsbc/receipt	Mon Oct 16 18:37:14 2023 +0000
   286.2 +++ b/libsbc/receipt	Sun Jan 14 08:12:37 2024 +0000
   286.3 @@ -1,7 +1,7 @@
   286.4  # SliTaz package receipt.
   286.5  
   286.6  PACKAGE="libsbc"
   286.7 -VERSION="1.4"
   286.8 +VERSION="1.5"
   286.9  CATEGORY="multimedia"
  286.10  SHORT_DESC="Digital audio encoder and decoder for Bluetooth audio output devices"
  286.11  MAINTAINER="pascal.bellard@slitaz.org"
   287.1 --- a/libsdl2-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   287.2 +++ b/libsdl2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   287.3 @@ -16,4 +16,7 @@
   287.4  {
   287.5  	get_dev_files
   287.6  	cook_copy_folders	aclocal
   287.7 +
   287.8 +        # Ensure remove .la files
   287.9 +        find $fs -name "*.la" -delete
  287.10  }
   288.1 --- a/libsecret-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   288.2 +++ b/libsecret-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   288.3 @@ -1,7 +1,7 @@
   288.4  # SliTaz package receipt.
   288.5  
   288.6  PACKAGE="libsecret-dev"
   288.7 -VERSION="0.18.5"
   288.8 +VERSION="0.20.4"
   288.9  CATEGORY="development"
  288.10  SHORT_DESC="GObject bindings for Secret Service API, development files"
  288.11  MAINTAINER="devl547@gmail.com"
   289.1 --- a/libsecret/receipt	Mon Oct 16 18:37:14 2023 +0000
   289.2 +++ b/libsecret/receipt	Sun Jan 14 08:12:37 2024 +0000
   289.3 @@ -1,7 +1,7 @@
   289.4  # SliTaz package receipt.
   289.5  
   289.6  PACKAGE="libsecret"
   289.7 -VERSION="0.18.5"
   289.8 +VERSION="0.20.4"
   289.9  SERIES="${VERSION%.*}"	# first two numbers from version
  289.10  SHORT_DESC="GObject based library for accessing the Secret Service API"
  289.11  MAINTAINER="devl547@gmail.com"
  289.12 @@ -25,6 +25,7 @@
  289.13  compile_rules()
  289.14  {
  289.15  	./configure \
  289.16 +		--enable-introspection \
  289.17  		--disable-manpages \
  289.18  		$CONFIGURE_ARGS &&
  289.19  	make && make install
   290.1 --- a/libsigc++-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   290.2 +++ b/libsigc++-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   290.3 @@ -1,7 +1,7 @@
   290.4  # SliTaz package receipt.
   290.5  
   290.6  PACKAGE="libsigc++-dev"
   290.7 -VERSION="2.2.10"
   290.8 +VERSION="2.10.7"
   290.9  CATEGORY="development"
  290.10  SHORT_DESC="Callback Framework for C++ devel files."
  290.11  MAINTAINER="pankso@slitaz.org"
   291.1 --- a/libsigc++/receipt	Mon Oct 16 18:37:14 2023 +0000
   291.2 +++ b/libsigc++/receipt	Sun Jan 14 08:12:37 2024 +0000
   291.3 @@ -1,17 +1,17 @@
   291.4  # SliTaz package receipt.
   291.5  
   291.6  PACKAGE="libsigc++"
   291.7 -VERSION="2.2.10"
   291.8 +VERSION="2.10.7"
   291.9  CATEGORY="system-tools"
  291.10  SHORT_DESC="Callback Framework for C++"
  291.11  MAINTAINER="pankso@slitaz.org"
  291.12  LICENSE="LGPL2.1"
  291.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
  291.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  291.15  WEB_SITE="https://developer.gnome.org/libsigc++/"
  291.16  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  291.17  HOST_ARCH="i486 arm"
  291.18  
  291.19 -BUILD_DEPENDS="m4"
  291.20 +BUILD_DEPENDS="m4 meson"
  291.21  
  291.22  current_version()
  291.23  {
  291.24 @@ -23,9 +23,15 @@
  291.25  # Rules to configure and make the package.
  291.26  compile_rules()
  291.27  {
  291.28 -	./configure \
  291.29 -		$CONFIGURE_ARGS &&
  291.30 -	make && make install
  291.31 +        meson build \
  291.32 +            --prefix=/usr \
  291.33 +            --libdir=lib \
  291.34 +            --bindir=/usr/bin \
  291.35 +            --sbindir=/usr/sbin \
  291.36 +            --buildtype=release \
  291.37 +            -Dmaintainer-mode=false &&                                                         
  291.38 +        ninja -C build &&
  291.39 +        ninja -C build install
  291.40  }
  291.41  
  291.42  # Rules to gen a SliTaz package suitable for Tazpkg.
   292.1 --- a/libsoup-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   292.2 +++ b/libsoup-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   292.3 @@ -1,7 +1,7 @@
   292.4  # SliTaz package receipt.
   292.5  
   292.6  PACKAGE="libsoup-dev"
   292.7 -VERSION="2.48.0"
   292.8 +VERSION="2.74.2"
   292.9  CATEGORY="x-window"
  292.10  SHORT_DESC="GNOME Soup Library (devel files)."
  292.11  MAINTAINER="pankso@slitaz.org"
  292.12 @@ -10,7 +10,8 @@
  292.13  WEB_SITE="http://live.gnome.org/LibSoup/"
  292.14  HOST_ARCH="i486 arm"
  292.15  
  292.16 -DEPENDS="libsoup libsoup-gnome libxml2-dev gnutls-dev glib-dev pkg-config"
  292.17 +DEPENDS="libsoup libsoup-gnome libxml2-dev \
  292.18 +gnutls-dev glib-dev libpsl-dev pkg-config"
  292.19  
  292.20  # Rules to gen a SliTaz package suitable for Tazpkg.
  292.21  genpkg_rules()
   293.1 --- a/libsoup-gnome/receipt	Mon Oct 16 18:37:14 2023 +0000
   293.2 +++ b/libsoup-gnome/receipt	Sun Jan 14 08:12:37 2024 +0000
   293.3 @@ -1,7 +1,7 @@
   293.4  # SliTaz package receipt.
   293.5  
   293.6  PACKAGE="libsoup-gnome"
   293.7 -VERSION="2.48.0"
   293.8 +VERSION="2.74.2"
   293.9  CATEGORY="x-window"
  293.10  SHORT_DESC="GNOME Soup Library."
  293.11  MAINTAINER="al.bobylev@gmail.com"
   294.1 --- a/libsoup/receipt	Mon Oct 16 18:37:14 2023 +0000
   294.2 +++ b/libsoup/receipt	Sun Jan 14 08:12:37 2024 +0000
   294.3 @@ -1,7 +1,7 @@
   294.4  # SliTaz package receipt.
   294.5  
   294.6  PACKAGE="libsoup"
   294.7 -VERSION="2.48.0"
   294.8 +VERSION="2.74.2"
   294.9  CATEGORY="x-window"
  294.10  SHORT_DESC="GNOME Soup Library."
  294.11  MAINTAINER="pankso@slitaz.org"
  294.12 @@ -11,10 +11,11 @@
  294.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  294.14  HOST_ARCH="i486 arm"
  294.15  
  294.16 -DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib"
  294.17 -BUILD_DEPENDS="glib-networking-dev libgio-dev \
  294.18 +DEPENDS="glib glibc-base libffi libgio libxml2 pcre \
  294.19 +libpsl zlib"
  294.20 +BUILD_DEPENDS="glib-networking meson libgio-dev \
  294.21  libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
  294.22 -libgnome-keyring-dev sqlite-dev dbus-dev"
  294.23 +libgnome-keyring-dev sqlite-dev dbus-dev libpsl-dev"
  294.24  
  294.25  # Handle cross compilation.
  294.26  case "$ARCH" in
  294.27 @@ -31,11 +32,14 @@
  294.28  # Rules to configure and make the package.
  294.29  compile_rules()
  294.30  {
  294.31 -	./configure \
  294.32 -		--with-html-dir=/usr/share/doc \
  294.33 -		--disable-gtk-doc \
  294.34 -		$CONFIGURE_ARGS &&
  294.35 -	make && make install
  294.36 +        meson build \
  294.37 +            --prefix=/usr \
  294.38 +            --libdir=lib \
  294.39 +            --bindir=/usr/bin \
  294.40 +            --sbindir=/usr/sbin \
  294.41 +            --buildtype=release &&
  294.42 +        ninja -C build &&
  294.43 +        ninja -C build install
  294.44  }
  294.45  
  294.46  # Rules to gen a SliTaz package suitable for Tazpkg.
   295.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   295.2 +++ b/libsoup248-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   295.3 @@ -0,0 +1,30 @@
   295.4 +# SliTaz package receipt.
   295.5 +
   295.6 +PACKAGE="libsoup248-dev"
   295.7 +VERSION="2.48.0"
   295.8 +CATEGORY="x-window"
   295.9 +SHORT_DESC="GNOME Soup Library (devel files)."
  295.10 +MAINTAINER="pankso@slitaz.org"
  295.11 +LICENSE="LGPL2"
  295.12 +WANTED="libsoup248"
  295.13 +WEB_SITE="http://live.gnome.org/LibSoup/"
  295.14 +HOST_ARCH="i486 arm"
  295.15 +
  295.16 +DEPENDS="libsoup248 libsoup248-gnome libxml2-dev gnutls-dev glib-dev pkg-config"
  295.17 +
  295.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
  295.19 +genpkg_rules()
  295.20 +{
  295.21 +	mkdir -p $fs/usr/lib/libsoup248 $fs/usr/share
  295.22 +
  295.23 +	cp -a $install/usr/lib/libsoup248/*.*a $fs/usr/lib/libsoup248
  295.24 +	cp -a $install/usr/lib/libsoup248/pkgconfig $fs/usr/lib/libsoup248
  295.25 +
  295.26 +	if [ -d "$install/usr/share/gir-1.0" ]; then
  295.27 +		cp -a $install/usr/share/gir-1.0 $fs/usr/share
  295.28 +		cp -a $install/usr/lib/libsoup248/girepository-1.0 \
  295.29 +		    $fs/usr/lib/libsoup248
  295.30 +	fi
  295.31 +
  295.32 +	cp -a $install/usr/lib/libsoup248/include $fs/usr/lib/libsoup248
  295.33 +}
   296.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   296.2 +++ b/libsoup248-gnome/receipt	Sun Jan 14 08:12:37 2024 +0000
   296.3 @@ -0,0 +1,22 @@
   296.4 +# SliTaz package receipt.
   296.5 +
   296.6 +PACKAGE="libsoup248-gnome"
   296.7 +VERSION="2.48.0"
   296.8 +CATEGORY="x-window"
   296.9 +SHORT_DESC="GNOME Soup Library."
  296.10 +MAINTAINER="al.bobylev@gmail.com"
  296.11 +LICENSE="LGPL2"
  296.12 +WEB_SITE="https://live.gnome.org/LibSoup/"
  296.13 +HOST_ARCH="i486 arm"
  296.14 +
  296.15 +DEPENDS="libsoup248 libgnome-keyring libsqlite"
  296.16 +WANTED="libsoup248"
  296.17 +
  296.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
  296.19 +genpkg_rules()
  296.20 +{
  296.21 +    mkdir -p $fs/usr/lib/libsoup248
  296.22 +
  296.23 +    cp -a $install/usr/lib/libsoup248/libsoup-gnome*.so* \
  296.24 +        $fs/usr/lib/libsoup248
  296.25 +}
   297.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   297.2 +++ b/libsoup248/receipt	Sun Jan 14 08:12:37 2024 +0000
   297.3 @@ -0,0 +1,54 @@
   297.4 +# SliTaz package receipt.
   297.5 +
   297.6 +PACKAGE="libsoup248"
   297.7 +SOURCE="libsoup"
   297.8 +VERSION="2.48.0"
   297.9 +CATEGORY="x-window"
  297.10 +SHORT_DESC="GNOME Soup Library."
  297.11 +MAINTAINER="pankso@slitaz.org"
  297.12 +LICENSE="LGPL2"
  297.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
  297.14 +WEB_SITE="https://live.gnome.org/LibSoup/"
  297.15 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
  297.16 +HOST_ARCH="i486 arm"
  297.17 +
  297.18 +DEPENDS="glib glibc-base libffi libgio libxml2 pcre zlib"
  297.19 +BUILD_DEPENDS="glib-networking libgio-dev \
  297.20 +libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
  297.21 +libgnome-keyring-dev sqlite-dev dbus-dev"
  297.22 +
  297.23 +# Handle cross compilation.
  297.24 +case "$ARCH" in
  297.25 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
  297.26 +esac
  297.27 +
  297.28 +current_version()
  297.29 +{
  297.30 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
  297.31 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
  297.32 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
  297.33 +}
  297.34 +
  297.35 +# Rules to configure and make the package.
  297.36 +compile_rules()
  297.37 +{
  297.38 +	./configure \
  297.39 +		--libdir=/usr/lib/libsoup248 \
  297.40 +		--datarootdir=/usr/lib/libsoup248/share \
  297.41 +		--includedir=/usr/lib/libsoup248/include \
  297.42 +		--oldincludedir=/usr/lib/libsoup248/include \
  297.43 +		--with-html-dir=/usr/share/doc \
  297.44 +		--disable-gtk-doc \
  297.45 +		$CONFIGURE_ARGS &&
  297.46 +	make && make install
  297.47 +}
  297.48 +
  297.49 +# Rules to gen a SliTaz package suitable for Tazpkg.
  297.50 +genpkg_rules()
  297.51 +{
  297.52 +	mkdir -p $fs/usr/lib/libsoup248
  297.53 +	cp -a $install/usr/lib/libsoup248/*.so* $fs/usr/lib/libsoup248
  297.54 +
  297.55 +	# move to libsoup-gnome package
  297.56 +	rm -f $fs/usr/lib/libsoup248/libsoup-gnome*
  297.57 +}
   298.1 --- a/libssl/receipt	Mon Oct 16 18:37:14 2023 +0000
   298.2 +++ b/libssl/receipt	Sun Jan 14 08:12:37 2024 +0000
   298.3 @@ -1,7 +1,7 @@
   298.4  # SliTaz package receipt.
   298.5  
   298.6  PACKAGE="libssl"
   298.7 -VERSION="1.1.1n"
   298.8 +VERSION="1.1.1w"
   298.9  CATEGORY="security"
  298.10  SHORT_DESC="OpenSSL libraries."
  298.11  MAINTAINER="pascal.bellard@slitaz.org"
   299.1 --- a/libtheora/receipt	Mon Oct 16 18:37:14 2023 +0000
   299.2 +++ b/libtheora/receipt	Sun Jan 14 08:12:37 2024 +0000
   299.3 @@ -11,8 +11,8 @@
   299.4  WGET_URL="https://downloads.xiph.org/releases/theora/$TARBALL"
   299.5  HOST_ARCH="i486 arm"
   299.6  
   299.7 -DEPENDS="libogg libvorbis"
   299.8 -BUILD_DEPENDS="libogg-dev libvorbis-dev"
   299.9 +DEPENDS="libogg libvorbis libpng"
  299.10 +BUILD_DEPENDS="libogg-dev libvorbis-dev libpng-dev"
  299.11  
  299.12  # What is the latest version available today?
  299.13  current_version()
  299.14 @@ -25,6 +25,11 @@
  299.15  compile_rules()
  299.16  {
  299.17  	cd $src
  299.18 +
  299.19 +	# Patch to use with new libpng
  299.20 +	# Thanks community, and Pat :)
  299.21 +	patch -p1 < $stuff/libtheora-1.1.1-libpng16.patch
  299.22 +
  299.23  	./configure \
  299.24  		--prefix=/usr \
  299.25  		--mandir=/usr/share/man \
   300.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   300.2 +++ b/libtheora/stuff/libtheora-1.1.1-libpng16.patch	Sun Jan 14 08:12:37 2024 +0000
   300.3 @@ -0,0 +1,17 @@
   300.4 +http://bugs.gentoo.org/465450
   300.5 +http://trac.xiph.org/ticket/1947
   300.6 +
   300.7 +--- a/examples/png2theora.c
   300.8 ++++ b/examples/png2theora.c
   300.9 +@@ -462,9 +462,9 @@
  300.10 +   png_set_strip_alpha(png_ptr);
  300.11 + 
  300.12 +   row_data = (png_bytep)png_malloc(png_ptr,
  300.13 +-    3*height*width*png_sizeof(*row_data));
  300.14 ++    3*height*width*sizeof(*row_data));
  300.15 +   row_pointers = (png_bytep *)png_malloc(png_ptr,
  300.16 +-    height*png_sizeof(*row_pointers));
  300.17 ++    height*sizeof(*row_pointers));
  300.18 +   for(y = 0; y < height; y++) {
  300.19 +     row_pointers[y] = row_data + y*(3*width);
  300.20 +   }
   301.1 --- a/libunique/receipt	Mon Oct 16 18:37:14 2023 +0000
   301.2 +++ b/libunique/receipt	Sun Jan 14 08:12:37 2024 +0000
   301.3 @@ -30,7 +30,15 @@
   301.4  compile_rules()
   301.5  {
   301.6  	patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch || return 1
   301.7 +	patch -Np1 < $stuff/libunique-1.1.6-upstream_fixes-1.patch
   301.8 +
   301.9 +	# Deal with old feature
  301.10 +	sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in
  301.11 +	# Disable warnings as error, old app
  301.12 +	export CFLAGS="$CFLAGS -Wno-error"
  301.13 +
  301.14  	./configure \
  301.15 +		--disable-werror \
  301.16  		--disable-dbus \
  301.17  		$CONFIGURE_ARGS &&
  301.18  	make && make install
   302.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   302.2 +++ b/libunique/stuff/libunique-1.1.6-upstream_fixes-1.patch	Sun Jan 14 08:12:37 2024 +0000
   302.3 @@ -0,0 +1,1036 @@
   302.4 +Submitted By:            Armin K. <krejzi at email dot com>
   302.5 +Date:                    2013-03-16
   302.6 +Initial Package Version: 1.1.6
   302.7 +Upstream Status:         In Upstream VCS
   302.8 +Origin:                  Upstream VCS
   302.9 +Description:             Varius fixes from upstream including build system fixes, compilation
  302.10 +                         fixes and new GDBus backend.
  302.11 +
  302.12 +--- a/build/autotools/introspection.m4	2009-09-21 14:31:14.000000000 +0200
  302.13 ++++ b/build/autotools/introspection.m4	2013-03-16 23:47:50.178671206 +0100
  302.14 +@@ -59,12 +59,18 @@
  302.15 +        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
  302.16 +        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
  302.17 +        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
  302.18 ++       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
  302.19 ++       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
  302.20 ++       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
  302.21 +     fi
  302.22 +     AC_SUBST(INTROSPECTION_SCANNER)
  302.23 +     AC_SUBST(INTROSPECTION_COMPILER)
  302.24 +     AC_SUBST(INTROSPECTION_GENERATE)
  302.25 +     AC_SUBST(INTROSPECTION_GIRDIR)
  302.26 +     AC_SUBST(INTROSPECTION_TYPELIBDIR)
  302.27 ++    AC_SUBST(INTROSPECTION_CFLAGS)
  302.28 ++    AC_SUBST(INTROSPECTION_LIBS)
  302.29 ++    AC_SUBST(INTROSPECTION_MAKEFILE)
  302.30 + 
  302.31 +     AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
  302.32 + ])
  302.33 +--- a/build/autotools/Makefile.am	2009-11-01 18:52:21.000000000 +0100
  302.34 ++++ b/build/autotools/Makefile.am	2013-03-16 23:47:50.178671206 +0100
  302.35 +@@ -1,7 +1,4 @@
  302.36 + EXTRA_DIST = \
  302.37 +-	shave-libtool.in 	\
  302.38 +-	shave.in 		\
  302.39 +-	shave.m4 		\
  302.40 + 	as-compiler-flag.m4	\
  302.41 + 	introspection.m4	\
  302.42 + 	Makefile.am.enums	\
  302.43 +--- a/build/autotools/Makefile.am.silent	2009-11-01 19:00:57.000000000 +0100
  302.44 ++++ b/build/autotools/Makefile.am.silent	2013-03-16 23:47:50.178671206 +0100
  302.45 +@@ -1,10 +1,5 @@
  302.46 + # custom rules for quiet builds
  302.47 + 
  302.48 +-if USE_SHAVE
  302.49 +-QUIET_GEN = $(Q:@=@echo '  GEN   '$@;)
  302.50 +-QUIET_LN  = $(Q:@=@echo '  LN    '$@;)
  302.51 +-QUIET_RM  = $(Q:@=@echo '  RM    '$@;)
  302.52 +-else
  302.53 + QUIET_GEN = $(AM_V_GEN)
  302.54 + 
  302.55 + QUIET_LN   = $(QUIET_LN_$(V))
  302.56 +@@ -14,4 +9,3 @@
  302.57 + QUIET_RM   = $(QUIET_RM_$(V))
  302.58 + QUIET_RM_  = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
  302.59 + QUIET_RM_0 = @echo '  RM     '$@;
  302.60 +-endif # USE_SHAVE
  302.61 +--- a/build/autotools/shave.in	2009-09-21 14:31:14.000000000 +0200
  302.62 ++++ b/build/autotools/shave.in	1970-01-01 01:00:00.000000000 +0100
  302.63 +@@ -1,79 +0,0 @@
  302.64 +-#!/bin/sh
  302.65 +-
  302.66 +-# we need sed
  302.67 +-SED=@SED@
  302.68 +-if test -z "$SED" ; then
  302.69 +-SED=sed
  302.70 +-fi
  302.71 +-
  302.72 +-lt_unmangle ()
  302.73 +-{
  302.74 +-   last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
  302.75 +-}
  302.76 +-
  302.77 +-# the tool to wrap (cc, cxx, ar, ranlib, ..)
  302.78 +-tool="$1"
  302.79 +-shift
  302.80 +-
  302.81 +-# the reel tool (to call)
  302.82 +-REEL_TOOL="$1"
  302.83 +-shift
  302.84 +-
  302.85 +-pass_through=0
  302.86 +-preserved_args=
  302.87 +-while test "$#" -gt 0; do
  302.88 +-    opt="$1"
  302.89 +-    shift
  302.90 +-
  302.91 +-    case $opt in
  302.92 +-    --shave-mode=*)
  302.93 +-        mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
  302.94 +-	;;
  302.95 +-    -o)
  302.96 +-        lt_output="$1"
  302.97 +-        preserved_args="$preserved_args $opt"
  302.98 +-	;;
  302.99 +-    *)
 302.100 +-        preserved_args="$preserved_args $opt"
 302.101 +-        ;;
 302.102 +-      esac
 302.103 +-done
 302.104 +-
 302.105 +-# mode=link is handled in the libtool wrapper
 302.106 +-case "$mode,$tool" in
 302.107 +-link,*)
 302.108 +-    pass_through=1
 302.109 +-    ;;
 302.110 +-*,cxx)
 302.111 +-    Q="  CXX   "
 302.112 +-    ;;
 302.113 +-*,cc)
 302.114 +-    Q="  CC    "
 302.115 +-    ;;
 302.116 +-*,fc)
 302.117 +-    Q="  FC    "
 302.118 +-    ;;
 302.119 +-*,f77)
 302.120 +-    Q="  F77   "
 302.121 +-    ;;
 302.122 +-*,objc)
 302.123 +-    Q="  OBJC   "
 302.124 +-    ;;
 302.125 +-*,*)
 302.126 +-    # should not happen
 302.127 +-    Q="  CC    "
 302.128 +-    ;;
 302.129 +-esac
 302.130 +-
 302.131 +-lt_unmangle "$lt_output"
 302.132 +-output=$last_result
 302.133 +-
 302.134 +-if test -z $V; then
 302.135 +-    if test $pass_through -eq 0; then
 302.136 +-        echo "$Q$output"
 302.137 +-    fi
 302.138 +-    $REEL_TOOL $preserved_args
 302.139 +-else
 302.140 +-    echo $REEL_TOOL $preserved_args
 302.141 +-    $REEL_TOOL $preserved_args
 302.142 +-fi
 302.143 +--- a/build/autotools/shave-libtool.in	2009-09-21 14:31:14.000000000 +0200
 302.144 ++++ b/build/autotools/shave-libtool.in	1970-01-01 01:00:00.000000000 +0100
 302.145 +@@ -1,69 +0,0 @@
 302.146 +-#!/bin/sh
 302.147 +-
 302.148 +-# we need sed
 302.149 +-SED=@SED@
 302.150 +-if test -z "$SED" ; then
 302.151 +-SED=sed
 302.152 +-fi
 302.153 +-
 302.154 +-lt_unmangle ()
 302.155 +-{
 302.156 +-   last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
 302.157 +-}
 302.158 +-
 302.159 +-# the real libtool to use
 302.160 +-LIBTOOL="$1"
 302.161 +-shift
 302.162 +-
 302.163 +-# if 1, don't print anything, the underlaying wrapper will do it
 302.164 +-pass_though=0
 302.165 +-
 302.166 +-# scan the arguments, keep the right ones for libtool, and discover the mode
 302.167 +-preserved_args=
 302.168 +-while test "$#" -gt 0; do
 302.169 +-    opt="$1"
 302.170 +-    shift
 302.171 +-
 302.172 +-    case $opt in
 302.173 +-    --mode=*)
 302.174 +-        mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
 302.175 +-        preserved_args="$preserved_args $opt"
 302.176 +-        ;;
 302.177 +-    -o)
 302.178 +-        lt_output="$1"
 302.179 +-        preserved_args="$preserved_args $opt"
 302.180 +-	;;
 302.181 +-    *)
 302.182 +-        preserved_args="$preserved_args $opt"
 302.183 +-        ;;
 302.184 +-      esac
 302.185 +-done
 302.186 +-
 302.187 +-case "$mode" in
 302.188 +-compile)
 302.189 +-    # shave will be called and print the actual CC/CXX/LINK line
 302.190 +-    preserved_args="$preserved_args --shave-mode=$mode"
 302.191 +-    pass_though=1
 302.192 +-    ;;
 302.193 +-link)
 302.194 +-    preserved_args="$preserved_args --shave-mode=$mode"
 302.195 +-    Q="  LINK  "
 302.196 +-    ;;
 302.197 +-*)
 302.198 +-    # let's u
 302.199 +-    # echo "*** libtool: Unimplemented mode: $mode, fill a bug report"
 302.200 +-    ;;
 302.201 +-esac
 302.202 +-
 302.203 +-lt_unmangle "$lt_output"
 302.204 +-output=$last_result
 302.205 +-
 302.206 +-if test -z $V; then
 302.207 +-    if test $pass_though -eq 0; then
 302.208 +-        echo "$Q$output"
 302.209 +-    fi
 302.210 +-    $LIBTOOL --silent $preserved_args
 302.211 +-else
 302.212 +-    echo $LIBTOOL $preserved_args
 302.213 +-    $LIBTOOL $preserved_args
 302.214 +-fi
 302.215 +--- a/build/autotools/shave.m4	2009-09-21 14:31:14.000000000 +0200
 302.216 ++++ b/build/autotools/shave.m4	1970-01-01 01:00:00.000000000 +0100
 302.217 +@@ -1,77 +0,0 @@
 302.218 +-dnl Make automake/libtool output more friendly to humans
 302.219 +-dnl  Damien Lespiau <damien.lespiau@gmail.com>
 302.220 +-dnl
 302.221 +-dnl SHAVE_INIT([shavedir],[default_mode])
 302.222 +-dnl
 302.223 +-dnl shavedir: the directory where the shave scripts are, it defaults to
 302.224 +-dnl           $(top_builddir)
 302.225 +-dnl default_mode: (enable|disable) default shave mode.  This parameter
 302.226 +-dnl               controls shave's behaviour when no option has been
 302.227 +-dnl               given to configure.  It defaults to disable.
 302.228 +-dnl
 302.229 +-dnl * SHAVE_INIT should be called late in your configure.(ac|in) file (just
 302.230 +-dnl   before AC_CONFIG_FILE/AC_OUTPUT is perfect.  This macro rewrites CC and
 302.231 +-dnl   LIBTOOL, you don't want the configure tests to have these variables
 302.232 +-dnl   re-defined.
 302.233 +-dnl * This macro requires GNU make's -s option.
 302.234 +-
 302.235 +-AC_DEFUN([_SHAVE_ARG_ENABLE],
 302.236 +-[
 302.237 +-  AC_ARG_ENABLE([shave],
 302.238 +-    AS_HELP_STRING(
 302.239 +-      [--enable-shave],
 302.240 +-      [use shave to make the build pretty [[default=$1]]]),,
 302.241 +-      [enable_shave=$1]
 302.242 +-    )
 302.243 +-])
 302.244 +-
 302.245 +-AC_DEFUN([SHAVE_INIT],
 302.246 +-[
 302.247 +-  dnl you can tweak the default value of enable_shave
 302.248 +-  m4_if([$2], [enable], [_SHAVE_ARG_ENABLE(yes)], [_SHAVE_ARG_ENABLE(no)])
 302.249 +-
 302.250 +-  if test x"$enable_shave" = xyes; then
 302.251 +-    dnl where can we find the shave scripts?
 302.252 +-    m4_if([$1],,
 302.253 +-      [shavedir="$ac_pwd"],
 302.254 +-      [shavedir="$ac_pwd/$1"])
 302.255 +-    AC_SUBST(shavedir)
 302.256 +-
 302.257 +-    dnl make is now quiet
 302.258 +-    AC_SUBST([MAKEFLAGS], [-s])
 302.259 +-    AC_SUBST([AM_MAKEFLAGS], ['`test -z $V && echo -s`'])
 302.260 +-
 302.261 +-    dnl we need sed
 302.262 +-    AC_CHECK_PROG(SED,sed,sed,false)
 302.263 +-
 302.264 +-    dnl substitute libtool
 302.265 +-    SHAVE_SAVED_LIBTOOL=$LIBTOOL
 302.266 +-    LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'"
 302.267 +-    AC_SUBST(LIBTOOL)
 302.268 +-
 302.269 +-    dnl substitute cc/cxx
 302.270 +-    SHAVE_SAVED_CC=$CC
 302.271 +-    SHAVE_SAVED_CXX=$CXX
 302.272 +-    SHAVE_SAVED_FC=$FC
 302.273 +-    SHAVE_SAVED_F77=$F77
 302.274 +-    SHAVE_SAVED_OBJC=$OBJC
 302.275 +-    CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
 302.276 +-    CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
 302.277 +-    FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}"
 302.278 +-    F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
 302.279 +-    OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}"
 302.280 +-    AC_SUBST(CC)
 302.281 +-    AC_SUBST(CXX)
 302.282 +-    AC_SUBST(FC)
 302.283 +-    AC_SUBST(F77)
 302.284 +-    AC_SUBST(OBJC)
 302.285 +-
 302.286 +-    V=@
 302.287 +-  else
 302.288 +-    V=1
 302.289 +-  fi
 302.290 +-  Q='$(V:1=)'
 302.291 +-  AC_SUBST(V)
 302.292 +-  AC_SUBST(Q)
 302.293 +-])
 302.294 +-
 302.295 +--- a/configure.ac	2009-11-12 14:57:39.000000000 +0100
 302.296 ++++ b/configure.ac	2013-03-16 23:48:53.856423651 +0100
 302.297 +@@ -14,7 +14,7 @@
 302.298 + # This is the X.Y used in the protocol negotiation
 302.299 + m4_define([unique_protocol_version], [1.0])
 302.300 + 
 302.301 +-AC_PREREQ([2.59])
 302.302 ++AC_PREREQ([2.63])
 302.303 + 
 302.304 + AC_INIT([unique], [unique_version],
 302.305 +         [http://bugzilla.gnome.org/enter_bug.cgi?product=libunique],
 302.306 +@@ -23,8 +23,20 @@
 302.307 + AC_CONFIG_SRCDIR([unique/unique.h])
 302.308 + AC_CONFIG_MACRO_DIR([build/autotools])
 302.309 + 
 302.310 +-AM_INIT_AUTOMAKE([1.10])
 302.311 +-AM_CONFIG_HEADER([config.h])
 302.312 ++AM_INIT_AUTOMAKE([1.11 no-define -Wno-portability dist-bzip2])
 302.313 ++AC_CONFIG_HEADERS([config.h])
 302.314 ++
 302.315 ++AM_SILENT_RULES([yes])
 302.316 ++
 302.317 ++AC_PROG_CC_C_O
 302.318 ++
 302.319 ++AM_PATH_GLIB_2_0
 302.320 ++
 302.321 ++LT_PREREQ([2.2])
 302.322 ++LT_INIT([disable-static])
 302.323 ++
 302.324 ++# Honor aclocal flags
 302.325 ++ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 302.326 + 
 302.327 + # version symbols
 302.328 + UNIQUE_MAJOR_VERSION=unique_major_version
 302.329 +@@ -49,21 +61,6 @@
 302.330 + AC_SUBST(UNIQUE_LT_VERSION_INFO)
 302.331 + AC_SUBST(UNIQUE_LT_CURRENT_MINUS_AGE)
 302.332 + 
 302.333 +-AC_ISC_POSIX
 302.334 +-AC_PROG_CC
 302.335 +-AC_PROG_INSTALL
 302.336 +-AC_PROG_MAKE_SET
 302.337 +-AC_C_CONST
 302.338 +-AC_PROG_LIBTOOL
 302.339 +-AC_PATH_PROG(GLIB_MKENUMS, [glib-mkenums])
 302.340 +-AC_PATH_PROG(GLIB_GENMARSHAL, [glib-genmarshal])
 302.341 +-
 302.342 +-AM_SANITY_CHECK
 302.343 +-AM_PROG_CC_STDC
 302.344 +-
 302.345 +-# Honor aclocal flags
 302.346 +-ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 302.347 +-
 302.348 + m4_define([glib_required], [2.12.0])
 302.349 + m4_define([gtk_required],  [2.11.0])
 302.350 + m4_define([dbus_required], [0.70])
 302.351 +@@ -119,10 +116,22 @@
 302.352 + 
 302.353 + AM_CONDITIONAL([HAVE_DBUS], [test "x$have_dbus" = "xyes"])
 302.354 + 
 302.355 ++dnl GDBus backend
 302.356 ++dnl This is the default backend if GIO is recent enough
 302.357 ++m4_define([gdbus_gio_required],[2.25.7])
 302.358 ++PKG_CHECK_MODULES([GDBUS],[gio-2.0 >= gdbus_gio_required],[have_gdbus=yes],[have_gdbus=no])
 302.359 ++
 302.360 ++AS_IF([test "x$have_gdbus" = "xyes"],
 302.361 ++  [
 302.362 ++    AC_DEFINE([HAVE_GDBUS],[1],[Define if GDBus backend is enabled])
 302.363 ++  ]
 302.364 ++  )
 302.365 ++
 302.366 ++AM_CONDITIONAL([HAVE_GDBUS],[test "$have_gdbus" = "yes"])
 302.367 ++
 302.368 + dnl Bacon backend
 302.369 + dnl This is the fallback backend, so we *need* these headers and functions
 302.370 + dnl even if we end up using D-Bus
 302.371 +-dnl D-Bus backend dependencies
 302.372 + m4_define([have_bacon_default], [yes])
 302.373 + AC_ARG_ENABLE([bacon],
 302.374 +               [AC_HELP_STRING([--enable-bacon=@<:@yes/no@:>@],
 302.375 +@@ -150,7 +159,13 @@
 302.376 + 
 302.377 + dnl Choose the default backend
 302.378 + AC_MSG_CHECKING([for default IPC mechanism])
 302.379 +-AS_IF([test "x$have_dbus" = "xyes"],
 302.380 ++AS_IF([test "x$have_gdbus" = "xyes"],
 302.381 ++      [
 302.382 ++        UNIQUE_DEFAULT_BACKEND=gdbus
 302.383 ++        AC_MSG_RESULT([GDBus])
 302.384 ++      ],
 302.385 ++
 302.386 ++      [test "x$have_dbus" = "xyes"],
 302.387 +       [
 302.388 +         UNIQUE_DEFAULT_BACKEND=dbus
 302.389 +         AC_MSG_RESULT([D-Bus])
 302.390 +@@ -178,9 +193,9 @@
 302.391 + AS_IF([test "x$enable_maintainer_flags" = "xyes" &&  test "x$GCC" = "xyes"],
 302.392 +       [
 302.393 +         AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
 302.394 +-                          ["-Werror -Wall -Wshadow -Wcast-align
 302.395 +-                            -Wno-uninitialized -Wempty-body -Wformat-security
 302.396 +-                            -Winit-self"])
 302.397 ++                          ["-Wall -Wshadow -Wcast-align
 302.398 ++                            -Wno-uninitialized -Wempty-body
 302.399 ++                            -Wformat-security -Winit-self"])
 302.400 +       ]
 302.401 + )
 302.402 + 
 302.403 +@@ -230,27 +245,10 @@
 302.404 + AM_GLIB_DEFINE_LOCALEDIR(UNIQUE_LOCALEDIR)
 302.405 + 
 302.406 + # introspection
 302.407 +-GOBJECT_INTROSPECTION_CHECK([0.6.3])
 302.408 ++GOBJECT_INTROSPECTION_CHECK([0.6.7])
 302.409 + 
 302.410 + # gtk-doc
 302.411 +-GTK_DOC_CHECK([1.11])
 302.412 +-
 302.413 +-# nice builds
 302.414 +-m4_ifdef([AM_SILENT_RULES],
 302.415 +-         [
 302.416 +-           AM_SILENT_RULES([yes])
 302.417 +-           use_shave=no
 302.418 +-         ],
 302.419 +-         [
 302.420 +-           SHAVE_INIT([build/autotools], [enable])
 302.421 +-           AC_CONFIG_FILES([
 302.422 +-                build/autotools/shave-libtool
 302.423 +-                build/autotools/shave
 302.424 +-           ])
 302.425 +-           use_shave=yes
 302.426 +-         ])
 302.427 +-
 302.428 +-AM_CONDITIONAL([USE_SHAVE], [test "x$use_shave" = "xyes"])
 302.429 ++GTK_DOC_CHECK([1.13])
 302.430 + 
 302.431 + AC_CONFIG_FILES([
 302.432 +         Makefile
 302.433 +@@ -264,6 +262,7 @@
 302.434 +         unique/uniqueversion.h
 302.435 +         unique/bacon/Makefile
 302.436 +         unique/dbus/Makefile
 302.437 ++        unique/gdbus/Makefile
 302.438 +         tests/Makefile
 302.439 +         po/Makefile.in
 302.440 + ])
 302.441 +@@ -282,6 +281,7 @@
 302.442 + Backends:
 302.443 +           Unix Domain Socket: $have_bacon
 302.444 +                        D-BUS: $have_dbus
 302.445 ++                       GDBus: $have_gdbus
 302.446 + 
 302.447 +              Default backend: $UNIQUE_DEFAULT_BACKEND
 302.448 + "
 302.449 +--- a/doc/reference/Makefile.am	2009-09-21 14:31:14.000000000 +0200
 302.450 ++++ b/doc/reference/Makefile.am	2013-03-16 23:48:20.572522852 +0100
 302.451 +@@ -50,7 +50,8 @@
 302.452 + 	uniquemarshal.h \
 302.453 + 	stamp-uniquemarshal.h \
 302.454 + 	bacon \
 302.455 +-	dbus 
 302.456 ++	dbus \
 302.457 ++	gdbus
 302.458 + 
 302.459 + EXTRA_HFILES =
 302.460 + 
 302.461 +--- a/unique/dbus/uniquebackend-dbus.c	2009-11-01 20:15:26.000000000 +0100
 302.462 ++++ b/unique/dbus/uniquebackend-dbus.c	2013-03-16 23:48:03.088891381 +0100
 302.463 +@@ -84,7 +84,6 @@
 302.464 + static gboolean
 302.465 + unique_backend_dbus_request_name (UniqueBackend *backend)
 302.466 + {
 302.467 +-  UniqueBackendDBus *backend_dbus;
 302.468 +   const gchar *name;
 302.469 +   DBusGConnection *connection;
 302.470 +   DBusGProxy *proxy;
 302.471 +@@ -97,8 +96,6 @@
 302.472 +   if (!connection)
 302.473 +     return FALSE;
 302.474 + 
 302.475 +-  backend_dbus = UNIQUE_BACKEND_DBUS (backend);
 302.476 +-
 302.477 +   retval = TRUE;
 302.478 +   name = unique_backend_get_name (backend);
 302.479 +   g_assert (name != NULL);
 302.480 +@@ -207,10 +204,14 @@
 302.481 +                                         cmd, data, time_,
 302.482 +                                         &resp,
 302.483 +                                         &error);
 302.484 +-  if (error)
 302.485 ++  if (!res)
 302.486 +     {
 302.487 +-      g_warning ("Error while sending message: %s", error->message);
 302.488 +-      g_error_free (error);
 302.489 ++      if (error)
 302.490 ++        {
 302.491 ++          g_warning ("Error while sending message: %s", error->message);
 302.492 ++          g_error_free (error);
 302.493 ++        }
 302.494 ++
 302.495 +       g_free (cmd);
 302.496 +       
 302.497 +       return UNIQUE_RESPONSE_INVALID;
 302.498 +--- a/unique/gdbus/.gitignore	1970-01-01 01:00:00.000000000 +0100
 302.499 ++++ b/unique/gdbus/.gitignore	2013-03-16 23:48:20.572522852 +0100
 302.500 +@@ -0,0 +1,2 @@
 302.501 ++libunique_gdbus_la-uniquebackend-gdbus.lo
 302.502 ++libunique-gdbus.la
 302.503 +--- a/unique/gdbus/Makefile.am	1970-01-01 01:00:00.000000000 +0100
 302.504 ++++ b/unique/gdbus/Makefile.am	2013-03-16 23:48:20.572522852 +0100
 302.505 +@@ -0,0 +1,24 @@
 302.506 ++include $(top_srcdir)/build/autotools/Makefile.am.silent
 302.507 ++
 302.508 ++noinst_LTLIBRARIES = libunique-gdbus.la
 302.509 ++
 302.510 ++libunique_gdbus_la_SOURCES = 	\
 302.511 ++	uniquebackend-gdbus.h	\
 302.512 ++	uniquebackend-gdbus.c
 302.513 ++
 302.514 ++libunique_gdbus_la_PPCFLAGS = \
 302.515 ++	-DG_LOG_DOMAIN=\"Unique-GDBus\"	\
 302.516 ++	-DG_DISABLE_SINGLE_INCLUDES	\
 302.517 ++	-I$(top_srcdir)			\
 302.518 ++	$(AM_CPPFLAGS)
 302.519 ++
 302.520 ++libunique_gdbus_la_CFLAGS =	\
 302.521 ++	$(UNIQUE_CFLAGS)	\
 302.522 ++	$(UNIQUE_DEBUG_CFLAGS)	\
 302.523 ++	$(MAINTAINER_CFLAGS)	\
 302.524 ++	$(GDBUS_CFLAGS)		\
 302.525 ++	$(AM_CFLAGS)
 302.526 ++
 302.527 ++libunique_gdbus_la_LIBADD = \
 302.528 ++	$(UNIQUE_LIBS) 	\
 302.529 ++	$(GDBUS_LIBS)
 302.530 +--- a/unique/gdbus/uniquebackend-gdbus.c	1970-01-01 01:00:00.000000000 +0100
 302.531 ++++ b/unique/gdbus/uniquebackend-gdbus.c	2013-03-16 23:48:20.575856242 +0100
 302.532 +@@ -0,0 +1,303 @@
 302.533 ++/* Unique - Single Instance application library
 302.534 ++ * uniquebackend-gdbus.c: GDBus implementation of UniqueBackend
 302.535 ++ *
 302.536 ++ * Copyright (C) 2007  Emmanuele Bassi  <ebassi@o-hand.com>
 302.537 ++ * Copyright © 2010 Christian Persch
 302.538 ++ *
 302.539 ++ * This library is free software; you can redistribute it and/or
 302.540 ++ * modify it under the terms of the GNU Lesser General Public
 302.541 ++ * License as published by the Free Software Foundation; either
 302.542 ++ * version 2.1 of the License, or (at your option) any later version.
 302.543 ++ *
 302.544 ++ * This library is distributed in the hope that it will be useful,
 302.545 ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 302.546 ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 302.547 ++ * Lesser General Public License for more details.
 302.548 ++ *
 302.549 ++ * You should have received a copy of the GNU Lesser General Public
 302.550 ++ * License along with this library; if not, write to the Free Software
 302.551 ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 302.552 ++ * 02110-1301 USA
 302.553 ++ */
 302.554 ++
 302.555 ++#ifdef HAVE_CONFIG_H
 302.556 ++#include "config.h"
 302.557 ++#endif
 302.558 ++
 302.559 ++#include <gio/gio.h>
 302.560 ++#include <gdk/gdk.h>
 302.561 ++
 302.562 ++#include "../uniqueinternals.h"
 302.563 ++#include "uniquebackend-gdbus.h"
 302.564 ++
 302.565 ++struct _UniqueBackendGDBus
 302.566 ++{
 302.567 ++  UniqueBackend parent_instance;
 302.568 ++
 302.569 ++  GDBusConnection *connection;
 302.570 ++  guint registration_id;
 302.571 ++  guint owner_id;
 302.572 ++  gboolean owns_name;
 302.573 ++  GMainLoop *loop;
 302.574 ++};
 302.575 ++
 302.576 ++struct _UniqueBackendGDBusClass
 302.577 ++{
 302.578 ++  UniqueBackendClass parent_class;
 302.579 ++  GDBusNodeInfo *introspection_data;
 302.580 ++};
 302.581 ++
 302.582 ++G_DEFINE_TYPE (UniqueBackendGDBus, unique_backend_gdbus, UNIQUE_TYPE_BACKEND);
 302.583 ++
 302.584 ++static const char introspection_xml[] =
 302.585 ++  "<node name='/'>"
 302.586 ++    "<interface name='org.gtk.UniqueApp'>"
 302.587 ++      "<method name='SendMessage'>"
 302.588 ++        "<arg name='command' type='s' direction='in'/>"
 302.589 ++        "<arg name='message' type='(suuus)' direction='in'/>"
 302.590 ++        "<arg name='time' type='u' direction='in'/>"
 302.591 ++        "<arg name='response' type='s' direction='out'/>"
 302.592 ++      "</method>"
 302.593 ++    "</interface>"
 302.594 ++  "</node>";
 302.595 ++
 302.596 ++static void
 302.597 ++method_call_cb (GDBusConnection       *connection,
 302.598 ++                const gchar           *sender,
 302.599 ++                const gchar           *object_path,
 302.600 ++                const gchar           *interface_name,
 302.601 ++                const gchar           *method_name,
 302.602 ++                GVariant              *parameters,
 302.603 ++                GDBusMethodInvocation *invocation,
 302.604 ++                gpointer               user_data)
 302.605 ++{
 302.606 ++  if (g_strcmp0 (interface_name, "org.gtk.UniqueApp") != 0 ||
 302.607 ++      g_strcmp0 (object_path, "/Factory") != 0)
 302.608 ++    return;
 302.609 ++
 302.610 ++  if (g_strcmp0 (method_name, "SendMessage") == 0)
 302.611 ++    {
 302.612 ++      UniqueBackend *backend = UNIQUE_BACKEND (user_data);
 302.613 ++      const gchar *command_str, *data, *startup_id;
 302.614 ++      guint len, screen_num, workspace, time_;
 302.615 ++      UniqueMessageData message_data;
 302.616 ++      gint command;
 302.617 ++      UniqueResponse response;
 302.618 ++      GdkDisplay *display;
 302.619 ++
 302.620 ++      g_variant_get (parameters,
 302.621 ++                     "(&s(&suuu&s)u)",
 302.622 ++                     &command_str,
 302.623 ++                     &data, &len, &screen_num, &workspace, &startup_id,
 302.624 ++                     &time_);
 302.625 ++
 302.626 ++      command = unique_command_from_string (backend->parent, command_str);
 302.627 ++      if (command == 0)
 302.628 ++        {
 302.629 ++          g_dbus_method_invocation_return_error (invocation,
 302.630 ++                                                 G_DBUS_ERROR,
 302.631 ++                                                 G_DBUS_ERROR_INVALID_ARGS,
 302.632 ++                                                 "Invalid command `%s' received",
 302.633 ++                                                 command_str);
 302.634 ++          return;
 302.635 ++        }
 302.636 ++
 302.637 ++      display = gdk_display_get_default ();
 302.638 ++
 302.639 ++      message_data.data = len > 0 ? (guchar *) data : NULL;
 302.640 ++      message_data.length = (gint) len;
 302.641 ++      message_data.workspace = workspace;
 302.642 ++      message_data.startup_id = (char *) startup_id;
 302.643 ++      if (screen_num >= 0 && screen_num < gdk_display_get_n_screens (display))
 302.644 ++        message_data.screen = gdk_display_get_screen (display, screen_num);
 302.645 ++      else
 302.646 ++        message_data.screen = gdk_screen_get_default ();
 302.647 ++
 302.648 ++      response = unique_app_emit_message_received (backend->parent, command, &message_data, time_);
 302.649 ++
 302.650 ++      g_dbus_method_invocation_return_value (invocation,
 302.651 ++                                             g_variant_new ("(s)", unique_response_to_string (response)));
 302.652 ++      return;
 302.653 ++    }
 302.654 ++}
 302.655 ++
 302.656 ++static void
 302.657 ++name_acquired_cb (GDBusConnection *connection,
 302.658 ++                  const gchar     *name,
 302.659 ++                  gpointer         user_data)
 302.660 ++{
 302.661 ++  UniqueBackendGDBus *backend_gdbus = UNIQUE_BACKEND_GDBUS (user_data);
 302.662 ++
 302.663 ++  backend_gdbus->owns_name = TRUE;
 302.664 ++  if (backend_gdbus->loop && g_main_loop_is_running (backend_gdbus->loop))
 302.665 ++    g_main_loop_quit (backend_gdbus->loop);
 302.666 ++}
 302.667 ++
 302.668 ++static void
 302.669 ++name_lost_cb (GDBusConnection *connection,
 302.670 ++              const gchar     *name,
 302.671 ++              gpointer         user_data)
 302.672 ++{
 302.673 ++  UniqueBackendGDBus *backend_gdbus = UNIQUE_BACKEND_GDBUS (user_data);
 302.674 ++
 302.675 ++  backend_gdbus->owns_name = FALSE;
 302.676 ++  if (backend_gdbus->loop && g_main_loop_is_running (backend_gdbus->loop))
 302.677 ++    g_main_loop_quit (backend_gdbus->loop);
 302.678 ++}
 302.679 ++
 302.680 ++static const GDBusInterfaceVTable interface_vtable = {
 302.681 ++  method_call_cb,
 302.682 ++  NULL,
 302.683 ++  NULL
 302.684 ++};
 302.685 ++
 302.686 ++static gboolean
 302.687 ++unique_backend_gdbus_request_name (UniqueBackend *backend)
 302.688 ++{
 302.689 ++  UniqueBackendGDBus *backend_gdbus = UNIQUE_BACKEND_GDBUS (backend);
 302.690 ++  UniqueBackendGDBusClass *klass = UNIQUE_BACKEND_GDBUS_GET_CLASS (backend);
 302.691 ++  GError *error;
 302.692 ++
 302.693 ++  error = NULL;
 302.694 ++  backend_gdbus->connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
 302.695 ++  if (!backend_gdbus->connection)
 302.696 ++    {
 302.697 ++      g_warning ("Unable to open a connection to the session bus: %s",
 302.698 ++                 error->message);
 302.699 ++      g_error_free (error);
 302.700 ++
 302.701 ++      return FALSE;
 302.702 ++    }
 302.703 ++
 302.704 ++  backend_gdbus->registration_id =
 302.705 ++      g_dbus_connection_register_object (backend_gdbus->connection,
 302.706 ++                                         "/Factory",
 302.707 ++                                         klass->introspection_data->interfaces[0],
 302.708 ++                                         &interface_vtable,
 302.709 ++                                         backend, NULL,
 302.710 ++                                         &error);
 302.711 ++  if (backend_gdbus->registration_id == 0)
 302.712 ++    {
 302.713 ++      g_warning ("Unable to register object with the session bus: %s",
 302.714 ++                 error->message);
 302.715 ++      g_error_free (error);
 302.716 ++
 302.717 ++      return FALSE;
 302.718 ++    }
 302.719 ++
 302.720 ++  backend_gdbus->owns_name = FALSE;
 302.721 ++
 302.722 ++  backend_gdbus->owner_id =
 302.723 ++      g_bus_own_name_on_connection (backend_gdbus->connection,
 302.724 ++                                    unique_backend_get_name (backend),
 302.725 ++                                    G_BUS_NAME_OWNER_FLAGS_NONE,
 302.726 ++                                    name_acquired_cb,
 302.727 ++                                    name_lost_cb,
 302.728 ++                                    backend, NULL);
 302.729 ++
 302.730 ++  backend_gdbus->loop = g_main_loop_new (NULL, FALSE);
 302.731 ++  g_main_loop_run (backend_gdbus->loop);
 302.732 ++  g_main_loop_unref (backend_gdbus->loop);
 302.733 ++  backend_gdbus->loop = NULL;
 302.734 ++
 302.735 ++  return backend_gdbus->owns_name;
 302.736 ++}
 302.737 ++
 302.738 ++static UniqueResponse
 302.739 ++unique_backend_gdbus_send_message (UniqueBackend     *backend,
 302.740 ++                                   gint               command,
 302.741 ++                                   UniqueMessageData *message_data,
 302.742 ++                                   guint              time_)
 302.743 ++{
 302.744 ++  UniqueBackendGDBus *backend_gdbus = UNIQUE_BACKEND_GDBUS (backend);
 302.745 ++  GVariantBuilder builder;
 302.746 ++  GVariant *result;
 302.747 ++  const gchar *command_str, *resp;
 302.748 ++  UniqueResponse response;
 302.749 ++  GError *error;
 302.750 ++
 302.751 ++  command_str = unique_command_to_string (backend->parent, command);
 302.752 ++
 302.753 ++  g_variant_builder_init (&builder, G_VARIANT_TYPE ("(s(suuus)u)"));
 302.754 ++  g_variant_builder_add (&builder, "s", command_str ? command_str : "");
 302.755 ++  g_variant_builder_open (&builder, G_VARIANT_TYPE ("(suuus)"));
 302.756 ++  g_variant_builder_add (&builder, "s", message_data->data ? (char *) message_data->data : "");
 302.757 ++  g_variant_builder_add (&builder, "u", (guint) message_data->length);
 302.758 ++  g_variant_builder_add (&builder, "u", (guint) gdk_screen_get_number (message_data->screen));
 302.759 ++  g_variant_builder_add (&builder, "u", (guint) message_data->workspace);
 302.760 ++  g_variant_builder_add (&builder, "s", message_data->startup_id ? message_data->startup_id : "");
 302.761 ++  g_variant_builder_close (&builder);
 302.762 ++  g_variant_builder_add (&builder, "u", time_);
 302.763 ++
 302.764 ++  error = NULL;
 302.765 ++  result = g_dbus_connection_call_sync (backend_gdbus->connection,
 302.766 ++                                        unique_backend_get_name (backend),
 302.767 ++                                        "/Factory",
 302.768 ++                                        "org.gtk.UniqueApp",
 302.769 ++                                        "SendMessage",
 302.770 ++                                        g_variant_builder_end (&builder),
 302.771 ++                                        G_VARIANT_TYPE ("(s)"),
 302.772 ++                                        G_DBUS_CALL_FLAGS_NO_AUTO_START,
 302.773 ++                                        -1,
 302.774 ++                                        NULL,
 302.775 ++                                        &error);
 302.776 ++  if (error)
 302.777 ++    {
 302.778 ++      g_warning ("Error while sending message: %s", error->message);
 302.779 ++      g_error_free (error);
 302.780 ++      
 302.781 ++      return UNIQUE_RESPONSE_INVALID;
 302.782 ++    }
 302.783 ++
 302.784 ++  g_variant_get (result, "(&s)", &resp);
 302.785 ++  response = unique_response_from_string (resp);
 302.786 ++  g_variant_unref (result);
 302.787 ++
 302.788 ++  return response;
 302.789 ++}
 302.790 ++
 302.791 ++static void
 302.792 ++unique_backend_gdbus_dispose (GObject *gobject)
 302.793 ++{
 302.794 ++  UniqueBackendGDBus *backend_gdbus = UNIQUE_BACKEND_GDBUS (gobject);
 302.795 ++
 302.796 ++  if (backend_gdbus->owner_id != 0)
 302.797 ++    {
 302.798 ++      g_bus_unown_name (backend_gdbus->owner_id);
 302.799 ++      backend_gdbus->owner_id = 0;
 302.800 ++    }
 302.801 ++  if (backend_gdbus->registration_id != 0)
 302.802 ++    {
 302.803 ++      g_assert (backend_gdbus->connection != NULL);
 302.804 ++      g_dbus_connection_unregister_object (backend_gdbus->connection,
 302.805 ++                                           backend_gdbus->registration_id);
 302.806 ++      backend_gdbus->registration_id = 0;
 302.807 ++    }
 302.808 ++  if (backend_gdbus->connection)
 302.809 ++    {
 302.810 ++      g_object_unref (backend_gdbus->connection);
 302.811 ++      backend_gdbus->connection = NULL;
 302.812 ++    }
 302.813 ++
 302.814 ++  G_OBJECT_CLASS (unique_backend_gdbus_parent_class)->dispose (gobject);
 302.815 ++}
 302.816 ++
 302.817 ++static void
 302.818 ++unique_backend_gdbus_class_init (UniqueBackendGDBusClass *klass)
 302.819 ++{
 302.820 ++  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
 302.821 ++  UniqueBackendClass *backend_class = UNIQUE_BACKEND_CLASS (klass);
 302.822 ++
 302.823 ++  gobject_class->dispose = unique_backend_gdbus_dispose;
 302.824 ++
 302.825 ++  backend_class->request_name = unique_backend_gdbus_request_name;
 302.826 ++  backend_class->send_message = unique_backend_gdbus_send_message;
 302.827 ++
 302.828 ++  klass->introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL);
 302.829 ++  g_assert (klass->introspection_data != NULL);
 302.830 ++}
 302.831 ++
 302.832 ++static void
 302.833 ++unique_backend_gdbus_init (UniqueBackendGDBus *backend)
 302.834 ++{
 302.835 ++}
 302.836 +--- a/unique/gdbus/uniquebackend-gdbus.h	1970-01-01 01:00:00.000000000 +0100
 302.837 ++++ b/unique/gdbus/uniquebackend-gdbus.h	2013-03-16 23:48:20.575856242 +0100
 302.838 +@@ -0,0 +1,43 @@
 302.839 ++/* Unique - Single Instance application library
 302.840 ++ * uniquebackend-gdbus.c: GDBus implementation of UniqueBackend
 302.841 ++ *
 302.842 ++ * Copyright (C) 2007  Emmanuele Bassi  <ebassi@o-hand.com>
 302.843 ++ *
 302.844 ++ * This library is free software; you can redistribute it and/or
 302.845 ++ * modify it under the terms of the GNU Lesser General Public
 302.846 ++ * License as published by the Free Software Foundation; either
 302.847 ++ * version 2.1 of the License, or (at your option) any later version.
 302.848 ++ *
 302.849 ++ * This library is distributed in the hope that it will be useful,
 302.850 ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 302.851 ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 302.852 ++ * Lesser General Public License for more details.
 302.853 ++ *
 302.854 ++ * You should have received a copy of the GNU Lesser General Public
 302.855 ++ * License along with this library; if not, write to the Free Software
 302.856 ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 302.857 ++ * 02110-1301 USA
 302.858 ++ */
 302.859 ++
 302.860 ++#ifndef __UNIQUE_BACKEND_GDBUS_H__
 302.861 ++#define __UNIQUE_BACKEND_GDBUS_H__
 302.862 ++
 302.863 ++#include <unique/uniquebackend.h>
 302.864 ++
 302.865 ++G_BEGIN_DECLS
 302.866 ++
 302.867 ++#define UNIQUE_TYPE_BACKEND_GDBUS                (unique_backend_gdbus_get_type ())
 302.868 ++#define UNIQUE_BACKEND_GDBUS(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNIQUE_TYPE_BACKEND_GDBUS, UniqueBackendGDBus))
 302.869 ++#define UNIQUE_IS_BACKEND_GDBUS(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNIQUE_TYPE_BACKEND_GDBUS))
 302.870 ++#define UNIQUE_BACKEND_GDBUS_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), UNIQUE_TYPE_BACKEND_GDBUS, UniqueBackendGDBusClass))
 302.871 ++#define UNIQUE_IS_BACKEND_GDBUS_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass), UNIQUE_TYPE_BACKEND_GDBUS))
 302.872 ++#define UNIQUE_BACKEND_GDBUS_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), UNIQUE_TYPE_BACKEND_GDBUS, UniqueBackendGDBusClass))
 302.873 ++
 302.874 ++typedef struct _UniqueBackendGDBus       UniqueBackendGDBus;
 302.875 ++typedef struct _UniqueBackendGDBusClass  UniqueBackendGDBusClass;
 302.876 ++
 302.877 ++GType unique_backend_gdbus_get_type (void) G_GNUC_CONST;
 302.878 ++
 302.879 ++G_END_DECLS
 302.880 ++
 302.881 ++#endif /* __UNIQUE_BACKEND_GDBUS_H__ */
 302.882 +--- a/unique/Makefile.am	2009-11-12 14:53:10.000000000 +0100
 302.883 ++++ b/unique/Makefile.am	2013-03-16 23:48:20.572522852 +0100
 302.884 +@@ -12,7 +12,11 @@
 302.885 + SUBDIRS += dbus
 302.886 + endif
 302.887 + 
 302.888 +-DIST_SUBDIRS = bacon dbus
 302.889 ++if HAVE_GDBUS
 302.890 ++SUBDIRS += gdbus
 302.891 ++endif
 302.892 ++
 302.893 ++DIST_SUBDIRS = bacon dbus gdbus
 302.894 + 
 302.895 + INCLUDES = -I$(top_srcdir)
 302.896 + 
 302.897 +@@ -72,6 +76,10 @@
 302.898 + unique_backend_libs += $(top_builddir)/unique/dbus/libunique-dbus.la
 302.899 + endif
 302.900 + 
 302.901 ++if HAVE_GDBUS
 302.902 ++unique_backend_libs += $(top_builddir)/unique/gdbus/libunique-gdbus.la
 302.903 ++endif
 302.904 ++
 302.905 + uniquedir = $(includedir)/unique-1.0/unique
 302.906 + unique_HEADERS = \
 302.907 + 	$(unique_sources_h) 				\
 302.908 +--- a/unique/uniqueapp.c	2009-11-01 19:33:13.000000000 +0100
 302.909 ++++ b/unique/uniqueapp.c	2013-03-16 23:49:05.236617643 +0100
 302.910 +@@ -781,7 +781,7 @@
 302.911 + }
 302.912 + 
 302.913 + 
 302.914 +-G_CONST_RETURN gchar *
 302.915 ++const gchar *
 302.916 + unique_command_to_string (UniqueApp *app,
 302.917 +                           gint       command)
 302.918 + {
 302.919 +@@ -863,7 +863,7 @@
 302.920 +   return retval;
 302.921 + }
 302.922 + 
 302.923 +-G_CONST_RETURN gchar *
 302.924 ++const gchar *
 302.925 + unique_response_to_string (UniqueResponse response)
 302.926 + {
 302.927 +   GEnumClass *enum_class;
 302.928 +--- a/unique/uniquebackend.c	2009-11-09 12:02:06.000000000 +0100
 302.929 ++++ b/unique/uniquebackend.c	2013-03-16 23:49:05.236617643 +0100
 302.930 +@@ -111,7 +111,7 @@
 302.931 +  *
 302.932 +  * Return value: FIXME
 302.933 +  */
 302.934 +-G_CONST_RETURN gchar *
 302.935 ++const gchar *
 302.936 + unique_backend_get_name (UniqueBackend *backend)
 302.937 + {
 302.938 +   g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
 302.939 +@@ -154,7 +154,7 @@
 302.940 +  *
 302.941 +  * Return value: FIXME
 302.942 +  */
 302.943 +-G_CONST_RETURN gchar *
 302.944 ++const gchar *
 302.945 + unique_backend_get_startup_id (UniqueBackend *backend)
 302.946 + {
 302.947 +   g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
 302.948 +@@ -298,6 +298,9 @@
 302.949 + #ifdef HAVE_DBUS
 302.950 + #include "dbus/uniquebackend-dbus.h"
 302.951 + #endif
 302.952 ++#ifdef HAVE_GDBUS
 302.953 ++#include "gdbus/uniquebackend-gdbus.h"
 302.954 ++#endif
 302.955 + 
 302.956 + /**
 302.957 +  * unique_backend_create:
 302.958 +@@ -329,6 +332,10 @@
 302.959 +       if (strcmp (backend_name, "dbus") == 0)
 302.960 +         backend_gtype = unique_backend_dbus_get_type ();
 302.961 + #endif /* HAVE_DBUS */
 302.962 ++#ifdef HAVE_GDBUS
 302.963 ++      if (strcmp (backend_name, "gdbus") == 0)
 302.964 ++        backend_gtype = unique_backend_gdbus_get_type ();
 302.965 ++#endif /* HAVE_GDBUS */
 302.966 + #if !defined(HAVE_BACON) && !defined(HAVE_DBUS)
 302.967 + #error Need either bacon or dbus
 302.968 + #endif 
 302.969 +--- a/unique/uniquebackend.h	2009-09-21 14:31:14.000000000 +0200
 302.970 ++++ b/unique/uniquebackend.h	2013-03-16 23:49:05.236617643 +0100
 302.971 +@@ -94,10 +94,10 @@
 302.972 + 
 302.973 + UniqueBackend *       unique_backend_create         (void);
 302.974 + 
 302.975 +-G_CONST_RETURN gchar *unique_backend_get_name       (UniqueBackend     *backend);
 302.976 ++const gchar *unique_backend_get_name       (UniqueBackend     *backend);
 302.977 + void                  unique_backend_set_name       (UniqueBackend     *backend,
 302.978 +                                                      const gchar       *name);
 302.979 +-G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend     *backend);
 302.980 ++const gchar *unique_backend_get_startup_id (UniqueBackend     *backend);
 302.981 + void                  unique_backend_set_startup_id (UniqueBackend     *backend,
 302.982 +                                                      const gchar       *startup_id);
 302.983 + GdkScreen *           unique_backend_get_screen     (UniqueBackend     *backend);
 302.984 +--- a/unique/uniqueinternals.h	2009-09-21 14:31:14.000000000 +0200
 302.985 ++++ b/unique/uniqueinternals.h	2013-03-16 23:49:05.236617643 +0100
 302.986 +@@ -44,11 +44,11 @@
 302.987 +  * and then back into an id
 302.988 +  */
 302.989 + UniqueResponse        unique_response_from_string  (const gchar    *response);
 302.990 +-G_CONST_RETURN gchar *unique_response_to_string    (UniqueResponse  response);
 302.991 ++const gchar *unique_response_to_string    (UniqueResponse  response);
 302.992 + 
 302.993 + gint                  unique_command_from_string   (UniqueApp      *app,
 302.994 +                                                     const gchar    *command);
 302.995 +-G_CONST_RETURN gchar *unique_command_to_string     (UniqueApp      *app,
 302.996 ++const gchar *unique_command_to_string     (UniqueApp      *app,
 302.997 +                                                     gint            command);
 302.998 + 
 302.999 + G_END_DECLS
302.1000 +--- a/unique/uniquemessage.c	2009-11-09 12:02:06.000000000 +0100
302.1001 ++++ b/unique/uniquemessage.c	2013-03-16 23:49:05.236617643 +0100
302.1002 +@@ -185,7 +185,7 @@
302.1003 +  *
302.1004 +  * Since: 1.0.2
302.1005 +  */
302.1006 +-G_CONST_RETURN guchar *
302.1007 ++const guchar *
302.1008 + unique_message_data_get (UniqueMessageData *message_data,
302.1009 +                          gsize             *length)
302.1010 + {
302.1011 +@@ -525,7 +525,7 @@
302.1012 +  *   owned by the #UniqueMessageData structure and should not be
302.1013 +  *   modified or freed
302.1014 +  */
302.1015 +-G_CONST_RETURN gchar *
302.1016 ++const gchar *
302.1017 + unique_message_data_get_startup_id (UniqueMessageData *message_data)
302.1018 + {
302.1019 +   g_return_val_if_fail (message_data != NULL, NULL);
302.1020 +--- a/unique/uniquemessage.h	2009-09-21 14:31:14.000000000 +0200
302.1021 ++++ b/unique/uniquemessage.h	2013-03-16 23:49:05.236617643 +0100
302.1022 +@@ -48,7 +48,7 @@
302.1023 + void                   unique_message_data_set            (UniqueMessageData *message_data,
302.1024 +                                                            const guchar      *data,
302.1025 +                                                            gsize              length);
302.1026 +-G_CONST_RETURN guchar *unique_message_data_get            (UniqueMessageData *message_data,
302.1027 ++const guchar *unique_message_data_get            (UniqueMessageData *message_data,
302.1028 +                                                            gsize             *length);
302.1029 + 
302.1030 + gboolean               unique_message_data_set_text       (UniqueMessageData *message_data,
302.1031 +@@ -63,7 +63,7 @@
302.1032 + gchar *                unique_message_data_get_filename   (UniqueMessageData *message_data);
302.1033 + 
302.1034 + GdkScreen *            unique_message_data_get_screen     (UniqueMessageData *message_data);
302.1035 +-G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
302.1036 ++const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data);
302.1037 + guint                  unique_message_data_get_workspace  (UniqueMessageData *message_data);
302.1038 + 
302.1039 + G_END_DECLS
   303.1 --- a/libv4l-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   303.2 +++ b/libv4l-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   303.3 @@ -1,7 +1,7 @@
   303.4  # SliTaz package receipt.
   303.5  
   303.6  PACKAGE="libv4l-dev"
   303.7 -VERSION="0.8.5"
   303.8 +VERSION="1.22.1"
   303.9  CATEGORY="development"
  303.10  SHORT_DESC="libv4l devel library."
  303.11  MAINTAINER="jozee@slitaz.org"
   304.1 --- a/libv4l/receipt	Mon Oct 16 18:37:14 2023 +0000
   304.2 +++ b/libv4l/receipt	Sun Jan 14 08:12:37 2024 +0000
   304.3 @@ -1,7 +1,7 @@
   304.4  # SliTaz package receipt.
   304.5  
   304.6  PACKAGE="libv4l"
   304.7 -VERSION="0.8.5"
   304.8 +VERSION="1.22.1"
   304.9  CATEGORY="multimedia"
  304.10  MAINTAINER="jozee@slitaz.org"
  304.11  LICENSE="GPL2"
  304.12 @@ -26,6 +26,11 @@
  304.13  compile_rules()
  304.14  {
  304.15  	sed -i 's|jpeg_mem|_&|' lib/libv4lconvert/jpeg_memsrcdest.h
  304.16 +	./configure \
  304.17 +	    --prefix=/usr \
  304.18 +	    --sysconfdir=/etc \
  304.19 +            --libdir=/usr/lib \
  304.20 +            $CONFIGURE_ARGS &&
  304.21  	make &&
  304.22  	make install PREFIX="/usr" DESTDIR="$DESTDIR"
  304.23  }
  304.24 @@ -36,6 +41,9 @@
  304.25  	mkdir -p $fs/usr/lib
  304.26  	cp -a $install/usr/lib/*so* $fs/usr/lib/
  304.27  	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
  304.28 +
  304.29 +        # Ensure remove .la files
  304.30 +        find $fs -name "*.la" -delete
  304.31  }
  304.32  
  304.33  post_install()
   305.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   305.2 +++ b/libvdpau-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   305.3 @@ -0,0 +1,20 @@
   305.4 +# SliTaz package receipt.
   305.5 +
   305.6 +PACKAGE="libvdpau-dev"
   305.7 +VERSION="1.4"
   305.8 +CATEGORY="development"
   305.9 +SHORT_DESC="VDPAU (Video Decode and Presentation API for Unix) devel"
  305.10 +MAINTAINER="maintainer@slitaz.org"
  305.11 +LICENSE="MIT"
  305.12 +WANTED="libvdpau"
  305.13 +WEB_SITE="https://www.freedesktop.org/wiki/Software/VDPAU/"
  305.14 +
  305.15 +DEPENDS="libvdpau"
  305.16 +
  305.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  305.18 +genpkg_rules()
  305.19 +{
  305.20 +	mkdir -p $fs/usr/lib
  305.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  305.22 +	cp -a $install/usr/include $fs/usr
  305.23 +}
   306.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   306.2 +++ b/libvdpau/receipt	Sun Jan 14 08:12:37 2024 +0000
   306.3 @@ -0,0 +1,38 @@
   306.4 +# SliTaz package receipt.
   306.5 +
   306.6 +PACKAGE="libvdpau"
   306.7 +VERSION="1.4"
   306.8 +CATEGORY="x-window"
   306.9 +SHORT_DESC="VDPAU (Video Decode and Presentation API for Unix) library"
  306.10 +MAINTAINER="maintainer@slitaz.org"
  306.11 +LICENSE="MIT"
  306.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/VDPAU/"
  306.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
  306.14 +WGET_URL="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$VERSION/$TARBALL"
  306.15 +
  306.16 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev \
  306.17 +xorg-dev-proto meson"
  306.18 +
  306.19 +# Rules to configure and make the package.
  306.20 +compile_rules()
  306.21 +{
  306.22 +	mkdir mbuild && cd mbuild
  306.23 +        meson setup \
  306.24 +            --prefix=/usr \
  306.25 +            --libdir=lib \
  306.26 +            --bindir=/usr/bin \
  306.27 +            --sbindir=/usr/sbin \
  306.28 +            --buildtype=release \
  306.29 +	..
  306.30 +
  306.31 +	ninja build
  306.32 +	DESTDIR=$install ninja install
  306.33 +}
  306.34 +
  306.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
  306.36 +genpkg_rules()
  306.37 +{
  306.38 +        mkdir -p $fs/usr/lib/vdpau
  306.39 +        cp -a $install/usr/lib/*.so*    $fs/usr/lib
  306.40 +	cp -a $install/usr/lib/vdpau/*.so* $fs/usr/lib/vdpau
  306.41 +}
   307.1 --- a/libvorbis-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   307.2 +++ b/libvorbis-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   307.3 @@ -1,7 +1,7 @@
   307.4  # SliTaz package receipt.
   307.5  
   307.6  PACKAGE="libvorbis-dev"
   307.7 -VERSION="1.3.6"
   307.8 +VERSION="1.3.7"
   307.9  CATEGORY="development"
  307.10  SHORT_DESC="Vorbis base library - development files."
  307.11  MAINTAINER="pankso@slitaz.org"
   308.1 --- a/libvorbis/receipt	Mon Oct 16 18:37:14 2023 +0000
   308.2 +++ b/libvorbis/receipt	Sun Jan 14 08:12:37 2024 +0000
   308.3 @@ -1,7 +1,7 @@
   308.4  # SliTaz package receipt.
   308.5  
   308.6  PACKAGE="libvorbis"
   308.7 -VERSION="1.3.6"
   308.8 +VERSION="1.3.7"
   308.9  CATEGORY="multimedia"
  308.10  SHORT_DESC="Vorbis base library."
  308.11  MAINTAINER="pankso@slitaz.org"
   309.1 --- a/libvpx-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   309.2 +++ b/libvpx-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   309.3 @@ -1,7 +1,7 @@
   309.4  # SliTaz package receipt.
   309.5  
   309.6  PACKAGE="libvpx-dev"
   309.7 -VERSION="1.11.0"
   309.8 +VERSION="1.12.0"
   309.9  CATEGORY="development"
  309.10  SHORT_DESC="Development files for libvpx."
  309.11  MAINTAINER="slaxemulator@gmail.com"
   310.1 --- a/libvpx/receipt	Mon Oct 16 18:37:14 2023 +0000
   310.2 +++ b/libvpx/receipt	Sun Jan 14 08:12:37 2024 +0000
   310.3 @@ -1,7 +1,7 @@
   310.4  # SliTaz package receipt.
   310.5  
   310.6  PACKAGE="libvpx"
   310.7 -VERSION="1.11.0"
   310.8 +VERSION="1.12.0"
   310.9  CATEGORY="multimedia"
  310.10  SHORT_DESC="The VP8 Codec SDK."
  310.11  MAINTAINER="slaxemulator@gmail.com"
   311.1 --- a/libwebkit-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   311.2 +++ b/libwebkit-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   311.3 @@ -11,23 +11,23 @@
   311.4  WEB_SITE="https://webkitgtk.org"
   311.5  HOST_ARCH="i486 arm"
   311.6  
   311.7 -DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
   311.8 +DEPENDS="libwebkit libsoup248-dev enchant-dev libtasn1-dev sqlite-dev"
   311.9  
  311.10  # Rules to gen a SliTaz package suitable for Tazpkg.
  311.11  genpkg_rules()
  311.12  {
  311.13  	mkdir -p $fs/usr/lib $fs/usr/share
  311.14 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  311.15 +	#cp -a $install/usr/libwebkit/*.*a $fs/usr/libwebkit
  311.16  	# ARM: no pkg-config, include or gir files 
  311.17  	case "$ARCH" in
  311.18 -		i?86)
  311.19 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  311.20 -			cp -a $install/usr/include $fs/usr
  311.21 -			cp -a $install/usr/share/webkitgtk-1.0 $fs/usr/share
  311.22 -			# webkitgtk-1.0.pc
  311.23 -			if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
  311.24 -				ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \
  311.25 -					$fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
  311.26 -			fi ;;
  311.27 +	    i?86)
  311.28 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  311.29 +		cp -a $install/usr/include $fs/usr
  311.30 +		cp -a $install/usr/share/webkitgtk-1.0w $fs/usr/share
  311.31 +		# webkitgtk-1.0w.pc
  311.32 +		if [ -f $fs/usr/lib/pkgconfig/webkit-1.0w.pc ]; then
  311.33 +		    ln -sf /usr/lib/pkgconfig/webkit-1.0w.pc \
  311.34 +			$fs/usr/lib/pkgconfig/webkitgtk-1.0w.pc
  311.35 +		fi ;;
  311.36  	esac
  311.37  }
   312.1 --- a/libwebkit/receipt	Mon Oct 16 18:37:14 2023 +0000
   312.2 +++ b/libwebkit/receipt	Sun Jan 14 08:12:37 2024 +0000
   312.3 @@ -15,12 +15,12 @@
   312.4  DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
   312.5  xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
   312.6  xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
   312.7 -xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
   312.8 +xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup248 \
   312.9  gcc-lib-base libtasn1 util-linux-uuid glib-networking"
  312.10  BUILD_DEPENDS="gtk+-dev enchant-dev libxslt-dev jpeg-dev libpng-dev \
  312.11 -glib-dev sqlite-dev gnutls-dev xorg-libXdamage-dev acl-dev libsoup-dev \
  312.12 +glib-dev sqlite-dev gnutls-dev xorg-libXdamage-dev acl-dev libsoup248-dev \
  312.13  libxml2-dev libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev \
  312.14 -libtasn1-dev glib-networking-dev"
  312.15 +libtasn1-dev glib-networking gcc49"
  312.16  
  312.17  # What is the latest version available today?
  312.18  current_version()
  312.19 @@ -54,8 +54,21 @@
  312.20  	# Build fix with newer bison 3
  312.21  	sed -i 's|%pure_parser|%define api.pure|' Source/WebCore/css/CSSGrammar.y
  312.22  	sed -i '/\$(AM_V_at)rm -f/d' GNUmakefile* Source/WebCore/GNUmakefile*
  312.23 +
  312.24 +
  312.25 +	export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
  312.26 +        #        LIBSOUP_LIBS="-L/usr/libsoup248 -lsoup-2.4" \
  312.27 +        #        LIBSOUP_CFLAGS="-I/usr/libsoup248/include/libsoup-2.4" \
  312.28 +
  312.29 +
  312.30 +	# Adjust API_VERSION to avoid clash with webkitgtk
  312.31 +	patch -p1 < $stuff/libwebkit-version.patch
  312.32 +
  312.33  	# Build
  312.34  	./configure \
  312.35 +		CC=gcc-49 \
  312.36 +		CXX=g++-49 \
  312.37 +		--libdir=/usr/lib \
  312.38  		--enable-introspection=no \
  312.39  		--enable-video=no \
  312.40  		--enable-jit=yes \
  312.41 @@ -65,8 +78,8 @@
  312.42  		--with-gtk=2.0 \
  312.43  		--disable-gtk-doc \
  312.44  		$CONFIGURE_ARGS &&
  312.45 -	make all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
  312.46 -	make install 2>&1 | \
  312.47 +	make -j4 all stamp-po 2>&1 | grep -v Source/WebCore/dom/testing &&
  312.48 +	make -j4 install 2>&1 | \
  312.49  		grep -Ev '(/usr/share/gtk-doc/html|Documentation/webkitgtk/version.xml)' &&
  312.50  	cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
  312.51  }
   313.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   313.2 +++ b/libwebkit/stuff/libwebkit-version.patch	Sun Jan 14 08:12:37 2024 +0000
   313.3 @@ -0,0 +1,13 @@
   313.4 +--- a/configure
   313.5 ++++ b/configure
   313.6 +@@ -18445,8 +18445,8 @@
   313.7 +      2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION
   313.8 +           GTK_API_VERSION=2.0
   313.9 +           WEBKITGTK_API_MAJOR_VERSION=1
  313.10 +-          WEBKITGTK_API_MINOR_VERSION=0
  313.11 +-          WEBKITGTK_API_VERSION=1.0
  313.12 ++          WEBKITGTK_API_MINOR_VERSION=0w
  313.13 ++          WEBKITGTK_API_VERSION=1.0w
  313.14 +           WEBKITGTK_PC_NAME=webkit
  313.15 +           GAIL_PC_NAME=gail
  313.16 +           GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION
   314.1 --- a/libwebp-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   314.2 +++ b/libwebp-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   314.3 @@ -1,7 +1,7 @@
   314.4  # SliTaz package receipt.
   314.5  
   314.6  PACKAGE="libwebp-dev"
   314.7 -VERSION="1.2.2"
   314.8 +VERSION="1.3.2"
   314.9  CATEGORY="development"
  314.10  SHORT_DESC="Webp image library - development files."
  314.11  MAINTAINER="pankso@slitaz.org"
   315.1 --- a/libwebp/receipt	Mon Oct 16 18:37:14 2023 +0000
   315.2 +++ b/libwebp/receipt	Sun Jan 14 08:12:37 2024 +0000
   315.3 @@ -1,7 +1,7 @@
   315.4  # SliTaz package receipt.
   315.5  
   315.6  PACKAGE="libwebp"
   315.7 -VERSION="1.2.2"
   315.8 +VERSION="1.3.2"
   315.9  CATEGORY="x-window"
  315.10  SHORT_DESC="WebP image library."
  315.11  MAINTAINER="devl547@gmail.com"
   316.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   316.2 +++ b/libwpe-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   316.3 @@ -0,0 +1,21 @@
   316.4 +# SliTaz package receipt.
   316.5 +
   316.6 +PACKAGE="libwpe-dev"
   316.7 +VERSION="1.12.0"
   316.8 +CATEGORY="development"
   316.9 +SHORT_DESC="General-purpose library for WPE WebKit - development files."
  316.10 +MAINTAINER="maintainer@slitaz.org"
  316.11 +LICENSE="other"
  316.12 +WEB_SITE="https://wpewebkit.org"
  316.13 +
  316.14 +DEPENDS="libwpe pkg-config"
  316.15 +WANTED="libwpe"
  316.16 +
  316.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  316.18 +genpkg_rules()
  316.19 +{
  316.20 +        mkdir -p $fs/usr/lib
  316.21 +
  316.22 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  316.23 +        cp -a $install/usr/include              $fs/usr
  316.24 +}
   317.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   317.2 +++ b/libwpe/receipt	Sun Jan 14 08:12:37 2024 +0000
   317.3 @@ -0,0 +1,35 @@
   317.4 +# SliTaz package receipt.
   317.5 +
   317.6 +PACKAGE="libwpe"
   317.7 +VERSION="1.12.0"
   317.8 +CATEGORY="libs"
   317.9 +SHORT_DESC="General-purpose library for WPE WebKit"
  317.10 +MAINTAINER="maintainer@slitaz.org"
  317.11 +LICENSE="other"
  317.12 +WEB_SITE="https://wpewebkit.org"
  317.13 +
  317.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  317.15 +WGET_URL="$WEB_SITE/releases/$TARBALL"
  317.16 +
  317.17 +DEPENDS="libxkbcommon mesa"
  317.18 +BUILD_DEPENDS="libxkbcommon-dev mesa-dev meson"
  317.19 +
  317.20 +# Rules to configure and make the package.
  317.21 +compile_rules()
  317.22 +{
  317.23 +        meson build \
  317.24 +            --prefix=/usr \
  317.25 +            --libdir=lib \
  317.26 +            --bindir=/usr/bin \
  317.27 +            --sbindir=/usr/sbin \
  317.28 +            --buildtype=release &&
  317.29 +        ninja -C build &&
  317.30 +        ninja -C build install
  317.31 +}
  317.32 +
  317.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
  317.34 +genpkg_rules()       
  317.35 +{                          
  317.36 +        mkdir -p $fs/usr/lib
  317.37 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  317.38 +}
   318.1 --- a/libwrap/receipt	Mon Oct 16 18:37:14 2023 +0000
   318.2 +++ b/libwrap/receipt	Sun Jan 14 08:12:37 2024 +0000
   318.3 @@ -12,6 +12,9 @@
   318.4  WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
   318.5  HOST_ARCH="i486 arm"
   318.6  
   318.7 +DEPENDS="libnsl"
   318.8 +BUILD_DEPENDS="libnsl-dev"
   318.9 +
  318.10  # What is the latest version available today?
  318.11  current_version()
  318.12  {
   319.1 --- a/libxkbcommon-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   319.2 +++ b/libxkbcommon-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   319.3 @@ -1,7 +1,7 @@
   319.4  # SliTaz package receipt.
   319.5  
   319.6  PACKAGE="libxkbcommon-dev"
   319.7 -VERSION="0.8.4"
   319.8 +VERSION="1.3.1"
   319.9  CATEGORY="development"
  319.10  SHORT_DESC="libxkbcommon development files."
  319.11  MAINTAINER="pankso@slitaz.org"
  319.12 @@ -16,7 +16,6 @@
  319.13  {
  319.14  	mkdir -p $fs/usr/lib
  319.15  
  319.16 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
  319.17  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  319.18  	cp -a $install/usr/include		$fs/usr
  319.19  }
   320.1 --- a/libxkbcommon/receipt	Mon Oct 16 18:37:14 2023 +0000
   320.2 +++ b/libxkbcommon/receipt	Sun Jan 14 08:12:37 2024 +0000
   320.3 @@ -1,7 +1,7 @@
   320.4  # SliTaz package receipt.
   320.5  
   320.6  PACKAGE="libxkbcommon"
   320.7 -VERSION="0.8.4"
   320.8 +VERSION="1.3.1"
   320.9  CATEGORY="x-window"
  320.10  SHORT_DESC="Keyboard handling library using XKB data."
  320.11  MAINTAINER="pankso@slitaz.org"
  320.12 @@ -12,7 +12,8 @@
  320.13  WGET_URL="https://xkbcommon.org/download/$TARBALL"
  320.14  
  320.15  DEPENDS="libxcb xorg-xkeyboard-config"
  320.16 -BUILD_DEPENDS="bison libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev"
  320.17 +BUILD_DEPENDS="bison libxcb-dev xorg-util-macros \
  320.18 +xorg-xkeyboard-config-dev meson"
  320.19  
  320.20  # What is the latest version available today?
  320.21  current_version()
  320.22 @@ -24,11 +25,16 @@
  320.23  # Rules to configure and make the package.
  320.24  compile_rules()
  320.25  {
  320.26 -	./configure						\
  320.27 -		--with-xkb-config-root=/usr/share/X11/xkb	\
  320.28 -		$CONFIGURE_ARGS &&
  320.29 -	make -j 1 &&
  320.30 -	make install
  320.31 +        meson build \
  320.32 +            --prefix=/usr \
  320.33 +            --libdir=lib \
  320.34 +            --bindir=/usr/bin \
  320.35 +            --sbindir=/usr/sbin \
  320.36 +            --buildtype=release \
  320.37 +	-Denable-docs=false \
  320.38 +	-Denable-wayland=false &&
  320.39 +        ninja -C build &&
  320.40 +        ninja -C build install
  320.41  }
  320.42  
  320.43  # Rules to gen a SliTaz package suitable for Tazpkg.
   321.1 --- a/libxml2-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   321.2 +++ b/libxml2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   321.3 @@ -1,7 +1,7 @@
   321.4  # SliTaz package receipt.
   321.5  
   321.6  PACKAGE="libxml2-dev"
   321.7 -VERSION="2.9.12"
   321.8 +VERSION="2.9.14"
   321.9  CATEGORY="development"
  321.10  SHORT_DESC="XML C parser and toolkit - development files."
  321.11  MAINTAINER="pankso@slitaz.org"
   322.1 --- a/libxml2-python/receipt	Mon Oct 16 18:37:14 2023 +0000
   322.2 +++ b/libxml2-python/receipt	Sun Jan 14 08:12:37 2024 +0000
   322.3 @@ -1,7 +1,7 @@
   322.4  # SliTaz package receipt.
   322.5  
   322.6  PACKAGE="libxml2-python"
   322.7 -VERSION="2.9.12"
   322.8 +VERSION="2.9.14"
   322.9  CATEGORY="development"
  322.10  SHORT_DESC="Libxml2 adapter for the Python."
  322.11  MAINTAINER="pascal.bellard@slitaz.org"
  322.12 @@ -18,4 +18,7 @@
  322.13  {
  322.14  	mkdir -p $fs/usr/lib
  322.15  	cp -a $install/usr/lib/python*	$fs/usr/lib
  322.16 +
  322.17 +        # Ensure remove .la files
  322.18 +        find $fs -name "*.la" -delete
  322.19  }
   323.1 --- a/libxml2-tools/receipt	Mon Oct 16 18:37:14 2023 +0000
   323.2 +++ b/libxml2-tools/receipt	Sun Jan 14 08:12:37 2024 +0000
   323.3 @@ -1,7 +1,7 @@
   323.4  # SliTaz package receipt.
   323.5  
   323.6  PACKAGE="libxml2-tools"
   323.7 -VERSION="2.9.12"
   323.8 +VERSION="2.9.14"
   323.9  CATEGORY="system-tools"
  323.10  SHORT_DESC="The xmllint tester and xmlcatalog parser utility."
  323.11  MAINTAINER="pankso@slitaz.org"
   324.1 --- a/libxml2/receipt	Mon Oct 16 18:37:14 2023 +0000
   324.2 +++ b/libxml2/receipt	Sun Jan 14 08:12:37 2024 +0000
   324.3 @@ -1,15 +1,15 @@
   324.4  # SliTaz package receipt.
   324.5  
   324.6  PACKAGE="libxml2"
   324.7 -VERSION="2.9.12"
   324.8 +VERSION="2.9.14"
   324.9  CATEGORY="system-tools"
  324.10  SHORT_DESC="XML C parser and toolkit."
  324.11  MAINTAINER="pankso@slitaz.org"
  324.12  LICENSE="MIT"
  324.13  WEB_SITE="http://xmlsoft.org/"
  324.14  
  324.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
  324.16 -WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
  324.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  324.18 +WGET_URL="$GNOME_MIRROR/libxml2/${VERSION%.*}/$TARBALL"
  324.19  
  324.20  DEPENDS="zlib"
  324.21  BUILD_DEPENDS="autoconf automake libtool python-dev zlib-dev"
   325.1 --- a/libxslt-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   325.2 +++ b/libxslt-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   325.3 @@ -1,7 +1,7 @@
   325.4  # SliTaz package receipt.
   325.5  
   325.6  PACKAGE="libxslt-dev"
   325.7 -VERSION="1.1.34"
   325.8 +VERSION="1.1.35"
   325.9  CATEGORY="development"
  325.10  SHORT_DESC="XSLT support for libxml2 - development files."
  325.11  MAINTAINER="pankso@slitaz.org"
   326.1 --- a/libxslt-python/receipt	Mon Oct 16 18:37:14 2023 +0000
   326.2 +++ b/libxslt-python/receipt	Sun Jan 14 08:12:37 2024 +0000
   326.3 @@ -1,7 +1,7 @@
   326.4  # SliTaz package receipt.
   326.5  
   326.6  PACKAGE="libxslt-python"
   326.7 -VERSION="1.1.34"
   326.8 +VERSION="1.1.35"
   326.9  CATEGORY="development"
  326.10  SHORT_DESC="Python module for libxslt."
  326.11  MAINTAINER="slaxemulator@gmail.com"
  326.12 @@ -18,4 +18,7 @@
  326.13  	# Python module
  326.14  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
  326.15  	cp -a $install/usr/lib/$PYTHON_LIB	$fs/usr/lib
  326.16 +
  326.17 +        # Ensure remove .la files
  326.18 +        find $fs -name "*.la" -delete
  326.19  }
   327.1 --- a/libxslt/receipt	Mon Oct 16 18:37:14 2023 +0000
   327.2 +++ b/libxslt/receipt	Sun Jan 14 08:12:37 2024 +0000
   327.3 @@ -1,15 +1,15 @@
   327.4  # SliTaz package receipt.
   327.5  
   327.6  PACKAGE="libxslt"
   327.7 -VERSION="1.1.34"
   327.8 +VERSION="1.1.35"
   327.9  CATEGORY="system-tools"
  327.10  SHORT_DESC="XSLT support for libxml2."
  327.11  MAINTAINER="pankso@slitaz.org"
  327.12  LICENSE="MIT"
  327.13  WEB_SITE="http://www.xmlsoft.org/XSLT/"
  327.14  
  327.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
  327.16 -WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
  327.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  327.18 +WGET_URL="$GNOME_MIRROR/libxslt/${VERSION%.*}/$TARBALL"
  327.19  
  327.20  DEPENDS="libgcrypt libgpg-error libxml2 zlib"
  327.21  BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev \
   328.1 --- a/lilo/receipt	Mon Oct 16 18:37:14 2023 +0000
   328.2 +++ b/lilo/receipt	Sun Jan 14 08:12:37 2024 +0000
   328.3 @@ -24,6 +24,9 @@
   328.4  # Rules to configure and make the package.
   328.5  compile_rules()
   328.6  {
   328.7 +	# Patches from slackware for mem > 4G and nvme
   328.8 +	patch -p1 < $stuff/lilo.ignore.usable.memory.above.4G.diff
   328.9 +	patch -p1 < $stuff/lilo.nvme.support.diff
  328.10  	make alles &&
  328.11  	make install
  328.12  }
   329.1 --- a/linux-acpi/receipt	Mon Oct 16 18:37:14 2023 +0000
   329.2 +++ b/linux-acpi/receipt	Sun Jan 14 08:12:37 2024 +0000
   329.3 @@ -1,7 +1,7 @@
   329.4  # SliTaz package receipt.
   329.5  
   329.6  PACKAGE="linux-acpi"
   329.7 -VERSION="4.19.294"
   329.8 +VERSION="4.19.298"
   329.9  CATEGORY="base-system"
  329.10  SHORT_DESC="The Linux kernel acpi modules."
  329.11  DEPENDS="linux"
   330.1 --- a/linux-agp/receipt	Mon Oct 16 18:37:14 2023 +0000
   330.2 +++ b/linux-agp/receipt	Sun Jan 14 08:12:37 2024 +0000
   330.3 @@ -1,7 +1,7 @@
   330.4  # SliTaz package receipt.
   330.5  
   330.6  PACKAGE="linux-agp"
   330.7 -VERSION="4.19.294"
   330.8 +VERSION="4.19.298"
   330.9  CATEGORY="base-system"
  330.10  SHORT_DESC="The Linux kernel AGP modules."
  330.11  MAINTAINER="erjo@slitaz.org"
   331.1 --- a/linux-aoe/receipt	Mon Oct 16 18:37:14 2023 +0000
   331.2 +++ b/linux-aoe/receipt	Sun Jan 14 08:12:37 2024 +0000
   331.3 @@ -1,7 +1,7 @@
   331.4  # SliTaz package receipt.
   331.5  
   331.6  PACKAGE="linux-aoe"
   331.7 -VERSION="4.19.294"
   331.8 +VERSION="4.19.298"
   331.9  CATEGORY="base-system"
  331.10  SHORT_DESC="The Linux kernel ATA over Ethernet modules."
  331.11  MAINTAINER="devel@slitaz.org"
   332.1 --- a/linux-api-headers/receipt	Mon Oct 16 18:37:14 2023 +0000
   332.2 +++ b/linux-api-headers/receipt	Sun Jan 14 08:12:37 2024 +0000
   332.3 @@ -1,7 +1,7 @@
   332.4  # SliTaz package receipt.
   332.5  
   332.6  PACKAGE="linux-api-headers"
   332.7 -VERSION="4.19.294"
   332.8 +VERSION="4.19.298"
   332.9  KBASEVER="${VERSION%.*}"
  332.10  CATEGORY="development"
  332.11  SHORT_DESC="Kernel headers sanitized for use in userspace."
   333.1 --- a/linux-appletalk/receipt	Mon Oct 16 18:37:14 2023 +0000
   333.2 +++ b/linux-appletalk/receipt	Sun Jan 14 08:12:37 2024 +0000
   333.3 @@ -1,7 +1,7 @@
   333.4  # SliTaz package receipt.
   333.5  
   333.6  PACKAGE="linux-appletalk"
   333.7 -VERSION="4.19.294"
   333.8 +VERSION="4.19.298"
   333.9  CATEGORY="base-system"
  333.10  SHORT_DESC="The Linux kernel appletalk modules."
  333.11  MAINTAINER="devel@slitaz.org"
   334.1 --- a/linux-arcnet/receipt	Mon Oct 16 18:37:14 2023 +0000
   334.2 +++ b/linux-arcnet/receipt	Sun Jan 14 08:12:37 2024 +0000
   334.3 @@ -1,7 +1,7 @@
   334.4  # SliTaz package receipt.
   334.5  
   334.6  PACKAGE="linux-arcnet"
   334.7 -VERSION="4.19.294"
   334.8 +VERSION="4.19.298"
   334.9  CATEGORY="base-system"
  334.10  SHORT_DESC="arcnet kernel modules"
  334.11  MAINTAINER="slaxemulator@gmail.com"
   335.1 --- a/linux-autofs/receipt	Mon Oct 16 18:37:14 2023 +0000
   335.2 +++ b/linux-autofs/receipt	Sun Jan 14 08:12:37 2024 +0000
   335.3 @@ -1,7 +1,7 @@
   335.4  # SliTaz package receipt.
   335.5  
   335.6  PACKAGE="linux-autofs"
   335.7 -VERSION="4.19.294"
   335.8 +VERSION="4.19.298"
   335.9  CATEGORY="base-system"
  335.10  SHORT_DESC="The Linux kernel automounter module."
  335.11  MAINTAINER="devel@slitaz.org"
   336.1 --- a/linux-bluetooth/receipt	Mon Oct 16 18:37:14 2023 +0000
   336.2 +++ b/linux-bluetooth/receipt	Sun Jan 14 08:12:37 2024 +0000
   336.3 @@ -1,7 +1,7 @@
   336.4  # SliTaz package receipt.
   336.5  
   336.6  PACKAGE="linux-bluetooth"
   336.7 -VERSION="4.19.294"
   336.8 +VERSION="4.19.298"
   336.9  CATEGORY="base-system"
  336.10  SHORT_DESC="The Linux kernel bluetooth modules."
  336.11  MAINTAINER="devel@slitaz.org"
   337.1 --- a/linux-bridge/receipt	Mon Oct 16 18:37:14 2023 +0000
   337.2 +++ b/linux-bridge/receipt	Sun Jan 14 08:12:37 2024 +0000
   337.3 @@ -1,7 +1,7 @@
   337.4  # SliTaz package receipt.
   337.5  
   337.6  PACKAGE="linux-bridge"
   337.7 -VERSION="4.19.294"
   337.8 +VERSION="4.19.298"
   337.9  CATEGORY="base-system"
  337.10  SHORT_DESC="The Linux kernel bridge modules."
  337.11  MAINTAINER="devel@slitaz.org"
   338.1 --- a/linux-chrome/receipt	Mon Oct 16 18:37:14 2023 +0000
   338.2 +++ b/linux-chrome/receipt	Sun Jan 14 08:12:37 2024 +0000
   338.3 @@ -1,7 +1,7 @@
   338.4  # SliTaz package receipt.
   338.5  
   338.6  PACKAGE="linux-chrome"
   338.7 -VERSION="4.19.294"
   338.8 +VERSION="4.19.298"
   338.9  CATEGORY="base-system"
  338.10  SHORT_DESC="The Linux kernel chromebook modules."
  338.11  MAINTAINER="devel@slitaz.org"
   339.1 --- a/linux-cifs/receipt	Mon Oct 16 18:37:14 2023 +0000
   339.2 +++ b/linux-cifs/receipt	Sun Jan 14 08:12:37 2024 +0000
   339.3 @@ -1,7 +1,7 @@
   339.4  # SliTaz package receipt.
   339.5  
   339.6  PACKAGE="linux-cifs"
   339.7 -VERSION="4.19.294"
   339.8 +VERSION="4.19.298"
   339.9  CATEGORY="base-system"
  339.10  SHORT_DESC="The Linux kernel cifs module."
  339.11  MAINTAINER="devel@slitaz.org"
   340.1 --- a/linux-coda/receipt	Mon Oct 16 18:37:14 2023 +0000
   340.2 +++ b/linux-coda/receipt	Sun Jan 14 08:12:37 2024 +0000
   340.3 @@ -1,7 +1,7 @@
   340.4  # SliTaz package receipt.
   340.5  
   340.6  PACKAGE="linux-coda"
   340.7 -VERSION="4.19.294"
   340.8 +VERSION="4.19.298"
   340.9  CATEGORY="base-system"
  340.10  SHORT_DESC="The Linux kernel coda module."
  340.11  MAINTAINER="devel@slitaz.org"
   341.1 --- a/linux-configfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   341.2 +++ b/linux-configfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   341.3 @@ -1,7 +1,7 @@
   341.4  # SliTaz package receipt.
   341.5  
   341.6  PACKAGE="linux-configfs"
   341.7 -VERSION="4.19.294"
   341.8 +VERSION="4.19.298"
   341.9  CATEGORY="base-system"
  341.10  SHORT_DESC="The Linux kernel configfs module."
  341.11  MAINTAINER="devel@slitaz.org"
   342.1 --- a/linux-cpufreq/receipt	Mon Oct 16 18:37:14 2023 +0000
   342.2 +++ b/linux-cpufreq/receipt	Sun Jan 14 08:12:37 2024 +0000
   342.3 @@ -1,7 +1,7 @@
   342.4  # SliTaz package receipt.
   342.5  
   342.6  PACKAGE="linux-cpufreq"
   342.7 -VERSION="4.19.294"
   342.8 +VERSION="4.19.298"
   342.9  CATEGORY="base-system"
  342.10  SHORT_DESC="The Linux kernel cpufreq modules."
  342.11  MAINTAINER="devel@slitaz.org"
   343.1 --- a/linux-cramfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   343.2 +++ b/linux-cramfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   343.3 @@ -1,7 +1,7 @@
   343.4  # SliTaz package receipt.
   343.5  
   343.6  PACKAGE="linux-cramfs"
   343.7 -VERSION="4.19.294"
   343.8 +VERSION="4.19.298"
   343.9  CATEGORY="base-system"
  343.10  SHORT_DESC="The Linux kernel cramfs module."
  343.11  MAINTAINER="devel@slitaz.org"
   344.1 --- a/linux-crypto/receipt	Mon Oct 16 18:37:14 2023 +0000
   344.2 +++ b/linux-crypto/receipt	Sun Jan 14 08:12:37 2024 +0000
   344.3 @@ -1,7 +1,7 @@
   344.4  # SliTaz package receipt.
   344.5  
   344.6  PACKAGE="linux-crypto"
   344.7 -VERSION="4.19.294"
   344.8 +VERSION="4.19.298"
   344.9  CATEGORY="base-system"
  344.10  SHORT_DESC="The Linux kernel crypto modules."
  344.11  MAINTAINER="devel@slitaz.org"
   345.1 --- a/linux-cryptoloop/receipt	Mon Oct 16 18:37:14 2023 +0000
   345.2 +++ b/linux-cryptoloop/receipt	Sun Jan 14 08:12:37 2024 +0000
   345.3 @@ -1,7 +1,7 @@
   345.4  # SliTaz package receipt.
   345.5  
   345.6  PACKAGE="linux-cryptoloop"
   345.7 -VERSION="4.19.294"
   345.8 +VERSION="4.19.298"
   345.9  CATEGORY="base-system"
  345.10  SHORT_DESC="The Linux kernel cryptoloop modules."
  345.11  MAINTAINER="devel@slitaz.org"
   346.1 --- a/linux-debug/receipt	Mon Oct 16 18:37:14 2023 +0000
   346.2 +++ b/linux-debug/receipt	Sun Jan 14 08:12:37 2024 +0000
   346.3 @@ -1,7 +1,7 @@
   346.4  # SliTaz package receipt.
   346.5  
   346.6  PACKAGE="linux-debug"
   346.7 -VERSION="4.19.294"
   346.8 +VERSION="4.19.298"
   346.9  CATEGORY="base-system"
  346.10  SHORT_DESC="The Linux kernel debug files."
  346.11  MAINTAINER="devel@slitaz.org"
   347.1 --- a/linux-dialup/receipt	Mon Oct 16 18:37:14 2023 +0000
   347.2 +++ b/linux-dialup/receipt	Sun Jan 14 08:12:37 2024 +0000
   347.3 @@ -1,7 +1,7 @@
   347.4  # SliTaz package receipt.
   347.5  
   347.6  PACKAGE="linux-dialup"
   347.7 -VERSION="4.19.294"
   347.8 +VERSION="4.19.298"
   347.9  CATEGORY="base-system"
  347.10  SHORT_DESC="The Linux kernel dial-up modules."
  347.11  MAINTAINER="domcox@slitaz.org"
   348.1 --- a/linux-dlm/receipt	Mon Oct 16 18:37:14 2023 +0000
   348.2 +++ b/linux-dlm/receipt	Sun Jan 14 08:12:37 2024 +0000
   348.3 @@ -1,7 +1,7 @@
   348.4  # SliTaz package receipt.
   348.5  
   348.6  PACKAGE="linux-dlm"
   348.7 -VERSION="4.19.294"
   348.8 +VERSION="4.19.298"
   348.9  CATEGORY="base-system"
  348.10  SHORT_DESC="The Linux kernel dlmfs module."
  348.11  MAINTAINER="devel@slitaz.org"
   349.1 --- a/linux-drm/receipt	Mon Oct 16 18:37:14 2023 +0000
   349.2 +++ b/linux-drm/receipt	Sun Jan 14 08:12:37 2024 +0000
   349.3 @@ -1,7 +1,7 @@
   349.4  # SliTaz package receipt.
   349.5  
   349.6  PACKAGE="linux-drm"
   349.7 -VERSION="4.19.294"
   349.8 +VERSION="4.19.298"
   349.9  CATEGORY="base-system"
  349.10  SHORT_DESC="The Linux kernel drm module."
  349.11  MAINTAINER="devel@slitaz.org"
   350.1 --- a/linux-ecryptfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   350.2 +++ b/linux-ecryptfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   350.3 @@ -1,7 +1,7 @@
   350.4  # SliTaz package receipt.
   350.5  
   350.6  PACKAGE="linux-ecryptfs"
   350.7 -VERSION="4.19.294"
   350.8 +VERSION="4.19.298"
   350.9  CATEGORY="base-system"
  350.10  SHORT_DESC="The Linux kernel ecryptfs module."
  350.11  MAINTAINER="devel@slitaz.org"
   351.1 --- a/linux-exofs/receipt	Mon Oct 16 18:37:14 2023 +0000
   351.2 +++ b/linux-exofs/receipt	Sun Jan 14 08:12:37 2024 +0000
   351.3 @@ -1,7 +1,7 @@
   351.4  # SliTaz package receipt.
   351.5  
   351.6  PACKAGE="linux-exofs"
   351.7 -VERSION="4.19.294"
   351.8 +VERSION="4.19.298"
   351.9  CATEGORY="base-system"
  351.10  SHORT_DESC="The Linux kernel OSD based file system module."
  351.11  MAINTAINER="devel@slitaz.org"
   352.1 --- a/linux-firewire/receipt	Mon Oct 16 18:37:14 2023 +0000
   352.2 +++ b/linux-firewire/receipt	Sun Jan 14 08:12:37 2024 +0000
   352.3 @@ -1,7 +1,7 @@
   352.4  # SliTaz package receipt.
   352.5  
   352.6  PACKAGE="linux-firewire"
   352.7 -VERSION="4.19.294"
   352.8 +VERSION="4.19.298"
   352.9  CATEGORY="base-system"
  352.10  SHORT_DESC="The Linux kernel firewire modules."
  352.11  MAINTAINER="devel@slitaz.org"
   353.1 --- a/linux-firmware/receipt	Mon Oct 16 18:37:14 2023 +0000
   353.2 +++ b/linux-firmware/receipt	Sun Jan 14 08:12:37 2024 +0000
   353.3 @@ -1,7 +1,7 @@
   353.4  # SliTaz package receipt.
   353.5  
   353.6  PACKAGE="linux-firmware"
   353.7 -VERSION="4.19.294"
   353.8 +VERSION="4.19.298"
   353.9  CATEGORY="non-free"
  353.10  SHORT_DESC="Firmware thats compiled from linux source code."
  353.11  MAINTAINER="slaxemulator@gmail.com"
   354.1 --- a/linux-gfs2/receipt	Mon Oct 16 18:37:14 2023 +0000
   354.2 +++ b/linux-gfs2/receipt	Sun Jan 14 08:12:37 2024 +0000
   354.3 @@ -1,7 +1,7 @@
   354.4  # SliTaz package receipt.
   354.5  
   354.6  PACKAGE="linux-gfs2"
   354.7 -VERSION="4.19.294"
   354.8 +VERSION="4.19.298"
   354.9  CATEGORY="base-system"
  354.10  SHORT_DESC="The Linux kernel gfs2 module."
  354.11  MAINTAINER="devel@slitaz.org"
   355.1 --- a/linux-gpio/receipt	Mon Oct 16 18:37:14 2023 +0000
   355.2 +++ b/linux-gpio/receipt	Sun Jan 14 08:12:37 2024 +0000
   355.3 @@ -1,7 +1,7 @@
   355.4  # SliTaz package receipt.
   355.5  
   355.6  PACKAGE="linux-gpio"
   355.7 -VERSION="4.19.294"
   355.8 +VERSION="4.19.298"
   355.9  CATEGORY="base-system"
  355.10  SHORT_DESC="The Linux kernel gpio module."
  355.11  MAINTAINER="devel@slitaz.org"
   356.1 --- a/linux-hfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   356.2 +++ b/linux-hfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   356.3 @@ -1,7 +1,7 @@
   356.4  # SliTaz package receipt.
   356.5  
   356.6  PACKAGE="linux-hfs"
   356.7 -VERSION="4.19.294"
   356.8 +VERSION="4.19.298"
   356.9  CATEGORY="base-system"
  356.10  SHORT_DESC="The Linux kernel hfs module."
  356.11  MAINTAINER="devel@slitaz.org"
   357.1 --- a/linux-hfsplus/receipt	Mon Oct 16 18:37:14 2023 +0000
   357.2 +++ b/linux-hfsplus/receipt	Sun Jan 14 08:12:37 2024 +0000
   357.3 @@ -1,7 +1,7 @@
   357.4  # SliTaz package receipt.
   357.5  
   357.6  PACKAGE="linux-hfsplus"
   357.7 -VERSION="4.19.294"
   357.8 +VERSION="4.19.298"
   357.9  CATEGORY="base-system"
  357.10  SHORT_DESC="The Linux kernel hfsplus module."
  357.11  MAINTAINER="devel@slitaz.org"
   358.1 --- a/linux-hwmon/receipt	Mon Oct 16 18:37:14 2023 +0000
   358.2 +++ b/linux-hwmon/receipt	Sun Jan 14 08:12:37 2024 +0000
   358.3 @@ -1,7 +1,7 @@
   358.4  # SliTaz package receipt.
   358.5  
   358.6  PACKAGE="linux-hwmon"
   358.7 -VERSION="4.19.294"
   358.8 +VERSION="4.19.298"
   358.9  CATEGORY="base-system"
  358.10  SHORT_DESC="The Linux kernel hwmon modules."
  358.11  MAINTAINER="devel@slitaz.org"
   359.1 --- a/linux-input-misc/receipt	Mon Oct 16 18:37:14 2023 +0000
   359.2 +++ b/linux-input-misc/receipt	Sun Jan 14 08:12:37 2024 +0000
   359.3 @@ -1,7 +1,7 @@
   359.4  # SliTaz package receipt.
   359.5  
   359.6  PACKAGE="linux-input-misc"
   359.7 -VERSION="4.19.294"
   359.8 +VERSION="4.19.298"
   359.9  CATEGORY="base-system"
  359.10  SHORT_DESC="The Linux kernel misc. input drivers, including the ATI RemoteWonders."
  359.11  MAINTAINER="rcx@zoominternet.net"
   360.1 --- a/linux-input-tablet/receipt	Mon Oct 16 18:37:14 2023 +0000
   360.2 +++ b/linux-input-tablet/receipt	Sun Jan 14 08:12:37 2024 +0000
   360.3 @@ -1,7 +1,7 @@
   360.4  # SliTaz package receipt.
   360.5  
   360.6  PACKAGE="linux-input-tablet"
   360.7 -VERSION="4.19.294"
   360.8 +VERSION="4.19.298"
   360.9  CATEGORY="base-system"
  360.10  SHORT_DESC="The Linux kernel tablet input drivers."
  360.11  MAINTAINER="rcx@zoominternet.net"
   361.1 --- a/linux-input-touchscreen/receipt	Mon Oct 16 18:37:14 2023 +0000
   361.2 +++ b/linux-input-touchscreen/receipt	Sun Jan 14 08:12:37 2024 +0000
   361.3 @@ -1,7 +1,7 @@
   361.4  # SliTaz package receipt.
   361.5  
   361.6  PACKAGE="linux-input-touchscreen"
   361.7 -VERSION="4.19.294"
   361.8 +VERSION="4.19.298"
   361.9  CATEGORY="base-system"
  361.10  SHORT_DESC="The Linux kernel touchscreen input drivers."
  361.11  MAINTAINER="jozee@slitaz.org"
   362.1 --- a/linux-ipv6/receipt	Mon Oct 16 18:37:14 2023 +0000
   362.2 +++ b/linux-ipv6/receipt	Sun Jan 14 08:12:37 2024 +0000
   362.3 @@ -1,7 +1,7 @@
   362.4  # SliTaz package receipt.
   362.5  
   362.6  PACKAGE="linux-ipv6"
   362.7 -VERSION="4.19.294"
   362.8 +VERSION="4.19.298"
   362.9  CATEGORY="base-system"
  362.10  SHORT_DESC="The Linux kernel ipv6 modules."
  362.11  MAINTAINER="devel@slitaz.org"
   363.1 --- a/linux-irda/receipt	Mon Oct 16 18:37:14 2023 +0000
   363.2 +++ b/linux-irda/receipt	Sun Jan 14 08:12:37 2024 +0000
   363.3 @@ -1,7 +1,7 @@
   363.4  # SliTaz package receipt.
   363.5  
   363.6  PACKAGE="linux-irda"
   363.7 -VERSION="4.19.294"
   363.8 +VERSION="4.19.298"
   363.9  CATEGORY="base-system"
  363.10  SHORT_DESC="The Linux kernel irda modules."
  363.11  MAINTAINER="devel@slitaz.org"
   364.1 --- a/linux-isdn/receipt	Mon Oct 16 18:37:14 2023 +0000
   364.2 +++ b/linux-isdn/receipt	Sun Jan 14 08:12:37 2024 +0000
   364.3 @@ -1,7 +1,7 @@
   364.4  # SliTaz package receipt.
   364.5  
   364.6  PACKAGE="linux-isdn"
   364.7 -VERSION="4.19.294"
   364.8 +VERSION="4.19.298"
   364.9  CATEGORY="base-system"
  364.10  SHORT_DESC="The Linux kernel isdn modules."
  364.11  MAINTAINER="devel@slitaz.org"
   365.1 --- a/linux-jffs2/receipt	Mon Oct 16 18:37:14 2023 +0000
   365.2 +++ b/linux-jffs2/receipt	Sun Jan 14 08:12:37 2024 +0000
   365.3 @@ -1,7 +1,7 @@
   365.4  # SliTaz package receipt.
   365.5  
   365.6  PACKAGE="linux-jffs2"
   365.7 -VERSION="4.19.294"
   365.8 +VERSION="4.19.298"
   365.9  CATEGORY="base-system"
  365.10  SHORT_DESC="The Linux kernel jffs2 module."
  365.11  MAINTAINER="devel@slitaz.org"
   366.1 --- a/linux-jfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   366.2 +++ b/linux-jfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   366.3 @@ -1,7 +1,7 @@
   366.4  # SliTaz package receipt.
   366.5  
   366.6  PACKAGE="linux-jfs"
   366.7 -VERSION="4.19.294"
   366.8 +VERSION="4.19.298"
   366.9  CATEGORY="base-system"
  366.10  SHORT_DESC="The Linux kernel jfs module."
  366.11  MAINTAINER="devel@slitaz.org"
   367.1 --- a/linux-joystick/receipt	Mon Oct 16 18:37:14 2023 +0000
   367.2 +++ b/linux-joystick/receipt	Sun Jan 14 08:12:37 2024 +0000
   367.3 @@ -1,7 +1,7 @@
   367.4  # SliTaz package receipt.
   367.5  
   367.6  PACKAGE="linux-joystick"
   367.7 -VERSION="4.19.294"
   367.8 +VERSION="4.19.298"
   367.9  CATEGORY="base-system"
  367.10  SHORT_DESC="The Linux kernel joystick modules."
  367.11  MAINTAINER="devel@slitaz.org"
   368.1 --- a/linux-kvm/receipt	Mon Oct 16 18:37:14 2023 +0000
   368.2 +++ b/linux-kvm/receipt	Sun Jan 14 08:12:37 2024 +0000
   368.3 @@ -1,7 +1,7 @@
   368.4  # SliTaz package receipt.
   368.5  
   368.6  PACKAGE="linux-kvm"
   368.7 -VERSION="4.19.294"
   368.8 +VERSION="4.19.298"
   368.9  CATEGORY="base-system"
  368.10  SHORT_DESC="The Linux kernel kvm and virtio modules."
  368.11  MAINTAINER="devel@slitaz.org"
   369.1 --- a/linux-l2tp/receipt	Mon Oct 16 18:37:14 2023 +0000
   369.2 +++ b/linux-l2tp/receipt	Sun Jan 14 08:12:37 2024 +0000
   369.3 @@ -1,7 +1,7 @@
   369.4  # SliTaz package receipt.
   369.5  
   369.6  PACKAGE="linux-l2tp"
   369.7 -VERSION="4.19.294"
   369.8 +VERSION="4.19.298"
   369.9  CATEGORY="base-system"
  369.10  SHORT_DESC="The Linux kernel l2tp module."
  369.11  MAINTAINER="devel@slitaz.org"
   370.1 --- a/linux-logfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   370.2 +++ b/linux-logfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   370.3 @@ -1,7 +1,7 @@
   370.4  # SliTaz package receipt.
   370.5  
   370.6  PACKAGE="linux-logfs"
   370.7 -VERSION="4.19.294"
   370.8 +VERSION="4.19.298"
   370.9  CATEGORY="base-system"
  370.10  SHORT_DESC="The Linux kernel logfs module."
  370.11  MAINTAINER="devel@slitaz.org"
   371.1 --- a/linux-md/receipt	Mon Oct 16 18:37:14 2023 +0000
   371.2 +++ b/linux-md/receipt	Sun Jan 14 08:12:37 2024 +0000
   371.3 @@ -1,7 +1,7 @@
   371.4  # SliTaz package receipt.
   371.5  
   371.6  PACKAGE="linux-md"
   371.7 -VERSION="4.19.294"
   371.8 +VERSION="4.19.298"
   371.9  CATEGORY="base-system"
  371.10  SHORT_DESC="The Linux kernel md modules."
  371.11  MAINTAINER="devel@slitaz.org"
   372.1 --- a/linux-media/receipt	Mon Oct 16 18:37:14 2023 +0000
   372.2 +++ b/linux-media/receipt	Sun Jan 14 08:12:37 2024 +0000
   372.3 @@ -1,7 +1,7 @@
   372.4  # SliTaz package receipt.
   372.5  
   372.6  PACKAGE="linux-media"
   372.7 -VERSION="4.19.294"
   372.8 +VERSION="4.19.298"
   372.9  CATEGORY="base-system"
  372.10  SHORT_DESC="The Linux kernel media modules."
  372.11  MAINTAINER="slaxemulator@gmail.com"
   373.1 --- a/linux-memstick/receipt	Mon Oct 16 18:37:14 2023 +0000
   373.2 +++ b/linux-memstick/receipt	Sun Jan 14 08:12:37 2024 +0000
   373.3 @@ -1,7 +1,7 @@
   373.4  # SliTaz package receipt.
   373.5  
   373.6  PACKAGE="linux-memstick"
   373.7 -VERSION="4.19.294"
   373.8 +VERSION="4.19.298"
   373.9  CATEGORY="base-system"
  373.10  SHORT_DESC="The Linux kernel sony memory stick modules."
  373.11  MAINTAINER="devel@slitaz.org"
   374.1 --- a/linux-minix/receipt	Mon Oct 16 18:37:14 2023 +0000
   374.2 +++ b/linux-minix/receipt	Sun Jan 14 08:12:37 2024 +0000
   374.3 @@ -1,7 +1,7 @@
   374.4  # SliTaz package receipt.
   374.5  
   374.6  PACKAGE="linux-minix"
   374.7 -VERSION="4.19.294"
   374.8 +VERSION="4.19.298"
   374.9  CATEGORY="base-system"
  374.10  SHORT_DESC="The Linux kernel minix module."
  374.11  MAINTAINER="devel@slitaz.org"
   375.1 --- a/linux-mmc/receipt	Mon Oct 16 18:37:14 2023 +0000
   375.2 +++ b/linux-mmc/receipt	Sun Jan 14 08:12:37 2024 +0000
   375.3 @@ -1,7 +1,7 @@
   375.4  # SliTaz package receipt.
   375.5  
   375.6  PACKAGE="linux-mmc"
   375.7 -VERSION="4.19.294"
   375.8 +VERSION="4.19.298"
   375.9  CATEGORY="base-system"
  375.10  SHORT_DESC="The Linux kernel MMC modules."
  375.11  MAINTAINER="pascal.bellard@slitaz.org"
   376.1 --- a/linux-module-headers/receipt	Mon Oct 16 18:37:14 2023 +0000
   376.2 +++ b/linux-module-headers/receipt	Sun Jan 14 08:12:37 2024 +0000
   376.3 @@ -1,12 +1,12 @@
   376.4  # SliTaz package receipt.
   376.5  
   376.6  PACKAGE="linux-module-headers"
   376.7 -VERSION="4.19.294"
   376.8 +VERSION="4.19.298"
   376.9  CATEGORY="development"
  376.10  SHORT_DESC="Header files and scripts for building modules for linux kernel."
  376.11  MAINTAINER="devel@slitaz.org"
  376.12  LICENSE="GPL2"
  376.13 -DEPENDS="slitaz-toolchain uclibc-cross-compiler-x86_64 xz"
  376.14 +DEPENDS="slitaz-toolchain xz"
  376.15  WANTED="linux"
  376.16  WEB_SITE="https://kernel.org/"
  376.17  KVERSION=$VERSION-slitaz
   377.1 --- a/linux-mtd/receipt	Mon Oct 16 18:37:14 2023 +0000
   377.2 +++ b/linux-mtd/receipt	Sun Jan 14 08:12:37 2024 +0000
   377.3 @@ -1,7 +1,7 @@
   377.4  # SliTaz package receipt.
   377.5  
   377.6  PACKAGE="linux-mtd"
   377.7 -VERSION="4.19.294"
   377.8 +VERSION="4.19.298"
   377.9  CATEGORY="base-system"
  377.10  SHORT_DESC="The Linux kernel mtd module."
  377.11  MAINTAINER="devel@slitaz.org"
   378.1 --- a/linux-mwave/receipt	Mon Oct 16 18:37:14 2023 +0000
   378.2 +++ b/linux-mwave/receipt	Sun Jan 14 08:12:37 2024 +0000
   378.3 @@ -1,7 +1,7 @@
   378.4  # SliTaz package receipt.
   378.5  
   378.6  PACKAGE="linux-mwave"
   378.7 -VERSION="4.19.294"
   378.8 +VERSION="4.19.298"
   378.9  CATEGORY="base-system"
  378.10  SHORT_DESC="The Linux kernel ACP Modem driver module (for IBM Thinkpad)"
  378.11  MAINTAINER="devel@slitaz.org"
   379.1 --- a/linux-nbd/receipt	Mon Oct 16 18:37:14 2023 +0000
   379.2 +++ b/linux-nbd/receipt	Sun Jan 14 08:12:37 2024 +0000
   379.3 @@ -1,7 +1,7 @@
   379.4  # SliTaz package receipt.
   379.5  
   379.6  PACKAGE="linux-nbd"
   379.7 -VERSION="4.19.294"
   379.8 +VERSION="4.19.298"
   379.9  CATEGORY="base-system"
  379.10  SHORT_DESC="The Linux kernel network block device modules."
  379.11  MAINTAINER="devel@slitaz.org"
   380.1 --- a/linux-ncpfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   380.2 +++ b/linux-ncpfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   380.3 @@ -1,7 +1,7 @@
   380.4  # SliTaz package receipt.
   380.5  
   380.6  PACKAGE="linux-ncpfs"
   380.7 -VERSION="4.19.294"
   380.8 +VERSION="4.19.298"
   380.9  CATEGORY="base-system"
  380.10  SHORT_DESC="The Linux kernel ncpfs module."
  380.11  MAINTAINER="devel@slitaz.org"
   381.1 --- a/linux-netfilter/receipt	Mon Oct 16 18:37:14 2023 +0000
   381.2 +++ b/linux-netfilter/receipt	Sun Jan 14 08:12:37 2024 +0000
   381.3 @@ -1,7 +1,7 @@
   381.4  # SliTaz package receipt.
   381.5  
   381.6  PACKAGE="linux-netfilter"
   381.7 -VERSION="4.19.294"
   381.8 +VERSION="4.19.298"
   381.9  CATEGORY="base-system"
  381.10  SHORT_DESC="The Linux kernel netfilter modules."
  381.11  MAINTAINER="devel@slitaz.org"
   382.1 --- a/linux-nfsd/receipt	Mon Oct 16 18:37:14 2023 +0000
   382.2 +++ b/linux-nfsd/receipt	Sun Jan 14 08:12:37 2024 +0000
   382.3 @@ -1,7 +1,7 @@
   382.4  # SliTaz package receipt.
   382.5  
   382.6  PACKAGE="linux-nfsd"
   382.7 -VERSION="4.19.294"
   382.8 +VERSION="4.19.298"
   382.9  CATEGORY="base-system"
  382.10  SHORT_DESC="The Linux kernel NFS server module."
  382.11  MAINTAINER="devel@slitaz.org"
   383.1 --- a/linux-ocfs2/receipt	Mon Oct 16 18:37:14 2023 +0000
   383.2 +++ b/linux-ocfs2/receipt	Sun Jan 14 08:12:37 2024 +0000
   383.3 @@ -1,7 +1,7 @@
   383.4  # SliTaz package receipt.
   383.5  
   383.6  PACKAGE="linux-ocfs2"
   383.7 -VERSION="4.19.294"
   383.8 +VERSION="4.19.298"
   383.9  CATEGORY="base-system"
  383.10  SHORT_DESC="ocfs2 filesystem"
  383.11  MAINTAINER="slaxemulator@gmail.com"
   384.1 --- a/linux-openvswitch/receipt	Mon Oct 16 18:37:14 2023 +0000
   384.2 +++ b/linux-openvswitch/receipt	Sun Jan 14 08:12:37 2024 +0000
   384.3 @@ -1,7 +1,7 @@
   384.4  # SliTaz package receipt.
   384.5  
   384.6  PACKAGE="linux-openvswitch"
   384.7 -VERSION="4.19.294"
   384.8 +VERSION="4.19.298"
   384.9  CATEGORY="base-system"
  384.10  SHORT_DESC="The Linux kernel openvswitch module."
  384.11  MAINTAINER="devel@slitaz.org"
   385.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   385.2 +++ b/linux-pae-agp/receipt	Sun Jan 14 08:12:37 2024 +0000
   385.3 @@ -0,0 +1,47 @@
   385.4 +# SliTaz package receipt.
   385.5 +
   385.6 +PACKAGE="linux-pae-agp"
   385.7 +VERSION="4.19.298"
   385.8 +CATEGORY="base-system"
   385.9 +SHORT_DESC="The Linux kernel AGP modules."
  385.10 +MAINTAINER="erjo@slitaz.org"
  385.11 +LICENSE="GPL2"
  385.12 +DEPENDS="linux-pae"
  385.13 +WANTED="linux"
  385.14 +PROVIDE="linux-agp:linux-pae"
  385.15 +WEB_SITE="https://www.kernel.org/"
  385.16 +
  385.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  385.18 +genpkg_rules()
  385.19 +{
  385.20 +    local path
  385.21 +    src=$WOK/linux-pae/source/tmp
  385.22 +    install=$install/linux-pae
  385.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  385.24 +    mkdir -p $fs/$path
  385.25 +    export src
  385.26 +    export install
  385.27 +    $wanted_stuff/list_modules.sh drivers/char/agp | while read module; do
  385.28 +    	dir=$path/$(dirname $module)
  385.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  385.30 +        cp -a $install/$path/$module $fs/$dir
  385.31 +    done
  385.32 +
  385.33 +    for i in $(cat $wanted_stuff/modules.list); do
  385.34 +        if [ -f $fs/$path/$i ]; then
  385.35 +	    rm -f $fs/$path/$i
  385.36 +	fi
  385.37 +    done
  385.38 +}
  385.39 +
  385.40 +# Post install/remove commands for Tazpkg.
  385.41 +post_install()
  385.42 +{
  385.43 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  385.44 +}
  385.45 +
  385.46 +post_remove()
  385.47 +{
  385.48 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  385.49 +}
  385.50 +
   386.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   386.2 +++ b/linux-pae-aufs/receipt	Sun Jan 14 08:12:37 2024 +0000
   386.3 @@ -0,0 +1,83 @@
   386.4 +# SliTaz package receipt.
   386.5 +
   386.6 +PACKAGE="linux-pae-aufs"
   386.7 +SOURCE="aufs"
   386.8 +VERSION="20200622"
   386.9 +CATEGORY="base-system"
  386.10 +SHORT_DESC="aufs4 kernel module"
  386.11 +MAINTAINER="godane@slitaz.org"
  386.12 +LICENSE="GPL2"
  386.13 +WEB_SITE="https://aufs.sf.net/"
  386.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
  386.15 +WGET_URL="git|https://github.com/sfjro/aufs4-standalone.git"
  386.16 +BRANCH="origin/${PACKAGE}4.19"
  386.17 +PROVIDE="aufs:linux-pae"
  386.18 +
  386.19 +DEPENDS="linux-pae"
  386.20 +BUILD_DEPENDS="linux-pae-module-headers git xz"
  386.21 +
  386.22 +# Use cross toolchain instead uclibc
  386.23 +
  386.24 +current_version()
  386.25 +{
  386.26 +	wget -O - https://sourceforge.net/p/aufs/aufs4-standalone/ci/${BRANCH#*linux-}/tree/ 2> /dev/null | \
  386.27 +	sed '/History/!d;s|.*href="|https://sourceforge.net|;s|".*||' | xargs wget -O - 2> /dev/null | \
  386.28 +	sed '/markdown_content/!d;s|</p>||;s|.* ||;q'
  386.29 +}
  386.30 +
  386.31 +# Rules to configure and make the package.
  386.32 +compile_rules()
  386.33 +{
  386.34 +	# Must match kernel version
  386.35 +	#[ -d fs ] && rm -rf *
  386.36 +
  386.37 +	if [ ! -d fs ]; then
  386.38 +		kver=$(. $WOK/linux/receipt ; echo $VERSION)
  386.39 +		git checkout origin/aufs${kver%.*}
  386.40 +	fi
  386.41 +
  386.42 +	sed -i \
  386.43 +		-e 's|CONFIG_AUFS_BRANCH_MAX_127 =.*|CONFIG_AUFS_BRANCH_MAX_127 =|' \
  386.44 +		-e 's|#CONFIG_AUFS_BRANCH_MAX_32767 =.*|CONFIG_AUFS_BRANCH_MAX_32767 = y|' \
  386.45 +		-e 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
  386.46 +		-e 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
  386.47 +		-e 's|CONFIG_AUFS_EXPORT =.*|CONFIG_AUFS_EXPORT = y|' \
  386.48 +		-e 's|CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
  386.49 +		-e 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \
  386.50 +		-e 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \
  386.51 +		-e 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' config.mk
  386.52 +
  386.53 +	# The sed fixes are from gentoo portage build.
  386.54 +	sed -i "s:aufs.ko usr/include/uapi/linux/aufs_type.h:aufs.ko:g" Makefile
  386.55 +	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
  386.56 +	sed -i "s:__user::g" include/uapi/linux/aufs_type.h
  386.57 +	
  386.58 +	sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c
  386.59 +	sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c
  386.60 +
  386.61 +	make ARCH=i386 KDIR=/usr/src/linux
  386.62 +	xz -f fs/aufs/aufs.ko
  386.63 +}
  386.64 +
  386.65 +# Rules to gen a SliTaz package suitable for Tazpkg.
  386.66 +genpkg_rules()
  386.67 +{
  386.68 +	EXTRAVERSION=_${kvers}
  386.69 +	mkdir -p $fs/lib/modules/${kvers}-slitaz-pae/kernel/fs/aufs \
  386.70 +		$install/usr/include/linux
  386.71 +	install -o root -m 0644 $src/fs/aufs/aufs.ko.xz \
  386.72 +		$fs/lib/modules/${kvers}-slitaz-pae/kernel/fs/aufs/aufs.ko.xz
  386.73 +	install -o root -m 0644 $src/include/uapi/linux/aufs_type.h \
  386.74 +		$install/usr/include/linux/aufs_type.h
  386.75 +}
  386.76 +
  386.77 +# Post install/remove commands for Tazpkg.
  386.78 +post_install()
  386.79 +{
  386.80 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz-pae
  386.81 +}
  386.82 +
  386.83 +post_remove()
  386.84 +{
  386.85 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz-pae
  386.86 +}
   387.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   387.2 +++ b/linux-pae-chrome/receipt	Sun Jan 14 08:12:37 2024 +0000
   387.3 @@ -0,0 +1,49 @@
   387.4 +# SliTaz package receipt.
   387.5 +
   387.6 +PACKAGE="linux-pae-chrome"
   387.7 +VERSION="4.19.298"
   387.8 +CATEGORY="base-system"
   387.9 +SHORT_DESC="The Linux kernel chromebook modules."
  387.10 +MAINTAINER="devel@slitaz.org"
  387.11 +LICENSE="GPL2"
  387.12 +WANTED="linux"
  387.13 +DEPENDS="linux-pae"
  387.14 +PROVIDE="linux-chrome:linux-pae"
  387.15 +WEB_SITE="https://www.kernel.org/"
  387.16 +
  387.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  387.18 +genpkg_rules()
  387.19 +{
  387.20 +    local path
  387.21 +    src=$WOK/linux-pae/source/tmp
  387.22 +    install=$install/linux-pae
  387.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  387.24 +    mkdir -p $fs/$path
  387.25 +    
  387.26 +    export src
  387.27 +    export install
  387.28 +    
  387.29 +    $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do
  387.30 +    	dir=$path/$(dirname $module)
  387.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  387.32 +        cp -a $install/$path/$module $fs/$dir
  387.33 +    done
  387.34 +
  387.35 +    for i in $(cat $wanted_stuff/modules.list); do
  387.36 +        if [ -f $fs/$path/$i ]; then
  387.37 +	    rm -f $fs/$path/$i
  387.38 +	fi
  387.39 +    done
  387.40 +}
  387.41 +
  387.42 +# Post install/remove commands for Tazpkg.
  387.43 +post_install()
  387.44 +{
  387.45 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  387.46 +}
  387.47 +
  387.48 +post_remove()
  387.49 +{
  387.50 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  387.51 +}
  387.52 +
   388.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   388.2 +++ b/linux-pae-crypto/receipt	Sun Jan 14 08:12:37 2024 +0000
   388.3 @@ -0,0 +1,48 @@
   388.4 +# SliTaz package receipt.
   388.5 +
   388.6 +PACKAGE="linux-pae-crypto"
   388.7 +VERSION="4.19.298"
   388.8 +CATEGORY="base-system"
   388.9 +SHORT_DESC="The Linux kernel crypto modules."
  388.10 +MAINTAINER="devel@slitaz.org"
  388.11 +LICENSE="GPL2"
  388.12 +DEPENDS="linux-pae"
  388.13 +WANTED="linux"
  388.14 +PROVIDE="linux-crypto:linux-pae"
  388.15 +WEB_SITE="https://www.kernel.org/"
  388.16 +
  388.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  388.18 +genpkg_rules()
  388.19 +{
  388.20 +    local path
  388.21 +    src=$WOK/linux-pae/source/tmp
  388.22 +    install=$install/linux-pae
  388.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  388.24 +    mkdir -p $fs/$path
  388.25 +    export src
  388.26 +    export install
  388.27 +    $wanted_stuff/list_modules.sh arch/x86/crypto crypto drivers/crypto | \
  388.28 +    while read module; do
  388.29 +    	dir=$path/$(dirname $module)
  388.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  388.31 +        cp -a $install/$path/$module $fs/$dir
  388.32 +    done
  388.33 +
  388.34 +    for i in $(cat $wanted_stuff/modules.list); do
  388.35 +        if [ -f $fs/$path/$i ]; then
  388.36 +	    rm -f $fs/$path/$i
  388.37 +	fi
  388.38 +    done
  388.39 +}
  388.40 +
  388.41 +# Post install/remove commands for Tazpkg.
  388.42 +post_install()
  388.43 +{
  388.44 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  388.45 +}
  388.46 +
  388.47 +post_remove()
  388.48 +{
  388.49 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  388.50 +}
  388.51 +
   389.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   389.2 +++ b/linux-pae-drm/receipt	Sun Jan 14 08:12:37 2024 +0000
   389.3 @@ -0,0 +1,52 @@
   389.4 +# SliTaz package receipt.
   389.5 +
   389.6 +PACKAGE="linux-pae-drm"
   389.7 +VERSION="4.19.298"
   389.8 +CATEGORY="base-system"
   389.9 +SHORT_DESC="The Linux kernel drm module."
  389.10 +MAINTAINER="devel@slitaz.org"
  389.11 +LICENSE="GPL2"
  389.12 +DEPENDS="linux-pae-agp"
  389.13 +WANTED="linux"
  389.14 +PROVIDE="linux-drm:linux-pae"
  389.15 +WEB_SITE="https://www.kernel.org/"
  389.16 +
  389.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  389.18 +genpkg_rules()
  389.19 +{
  389.20 +	local path
  389.21 +	src=$WOK/linux-pae/source/tmp
  389.22 +	install=$install/linux-pae
  389.23 +	path=lib/modules/$VERSION-slitaz-pae/kernel
  389.24 +	mkdir -p $fs/$path
  389.25 +	export src
  389.26 +	export install
  389.27 +	$wanted_stuff/list_modules.sh drivers/gpu/drm | while read module; do
  389.28 +		dir=$path/$(dirname $module)
  389.29 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
  389.30 +		cp -a $install/$path/$module $fs/$dir
  389.31 +	done
  389.32 +
  389.33 +    for i in $(cat $wanted_stuff/modules.list); do
  389.34 +        if [ -f $fs/$path/$i ]; then
  389.35 +	    rm -f $fs/$path/$i
  389.36 +	fi
  389.37 +    done
  389.38 +
  389.39 +    # remove drivers/char/agp kernel modules cause there in linux-agp package
  389.40 +    if [ -d $fs/$path/drivers/char/agp ]; then
  389.41 +        rm -rf $fs/$path/drivers/char/agp
  389.42 +    fi
  389.43 +}
  389.44 +
  389.45 +# Post install/remove commands for Tazpkg.
  389.46 +post_install()
  389.47 +{
  389.48 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  389.49 +}
  389.50 +
  389.51 +post_remove()
  389.52 +{
  389.53 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  389.54 +}
  389.55 +
   390.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   390.2 +++ b/linux-pae-hfsplus/receipt	Sun Jan 14 08:12:37 2024 +0000
   390.3 @@ -0,0 +1,45 @@
   390.4 +# SliTaz package receipt.
   390.5 +
   390.6 +PACKAGE="linux-pae-hfsplus"
   390.7 +VERSION="4.19.298"
   390.8 +CATEGORY="base-system"
   390.9 +SHORT_DESC="The Linux kernel hfsplus module."
  390.10 +MAINTAINER="devel@slitaz.org"
  390.11 +LICENSE="GPL2"
  390.12 +DEPENDS="linux-pae"
  390.13 +WANTED="linux"
  390.14 +PROVIDE="linux-hfsplus:linux-pae"
  390.15 +WEB_SITE="https://www.kernel.org/"
  390.16 +CONFIG_FILES="/etc/filesystems"
  390.17 +
  390.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
  390.19 +genpkg_rules()
  390.20 +{
  390.21 +    local path
  390.22 +    src=$WOK/linux-pae/source/tmp
  390.23 +    install=$install/linux-pae
  390.24 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  390.25 +    mkdir -p $fs/$path $fs/etc
  390.26 +    export src
  390.27 +    export install
  390.28 +    $wanted_stuff/list_modules.sh fs/hfsplus | while read module; do
  390.29 +    	dir=$path/$(dirname $module)
  390.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  390.31 +        cp -a $install/$path/$module $fs/$dir
  390.32 +    done
  390.33 +    touch $fs/etc/filesystems
  390.34 +}
  390.35 +
  390.36 +# Post install/remove commands for Tazpkg.
  390.37 +post_install()
  390.38 +{
  390.39 +	grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
  390.40 +		echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
  390.41 +	chroot "$1/" depmod -a $VERSION-slitaz-pae
  390.42 +}
  390.43 +
  390.44 +post_remove()
  390.45 +{
  390.46 +	sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
  390.47 +	chroot "$1/" depmod -a $VERSION-slitaz-pae
  390.48 +}
   391.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   391.2 +++ b/linux-pae-input-touchscreen/receipt	Sun Jan 14 08:12:37 2024 +0000
   391.3 @@ -0,0 +1,48 @@
   391.4 +# SliTaz package receipt.
   391.5 +
   391.6 +PACKAGE="linux-pae-input-touchscreen"
   391.7 +VERSION="4.19.298"
   391.8 +CATEGORY="base-system"
   391.9 +SHORT_DESC="The Linux kernel touchscreen input drivers."
  391.10 +MAINTAINER="jozee@slitaz.org"
  391.11 +LICENSE="GPL2"
  391.12 +WANTED="linux"
  391.13 +DEPENDS="linux-pae"
  391.14 +PROVIDE="linux-input-touchscreen:linux-pae"
  391.15 +WEB_SITE="https://www.kernel.org/"
  391.16 +
  391.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  391.18 +genpkg_rules()
  391.19 +{
  391.20 +    local path
  391.21 +    src=$WOK/linux-pae/source/tmp
  391.22 +    install=$install/linux-pae
  391.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  391.24 +    mkdir -p $fs/$path
  391.25 +    export src
  391.26 +    export install
  391.27 +    $wanted_stuff/list_modules.sh drivers/input/touchscreen | \
  391.28 +    while read module; do
  391.29 +    	dir=$path/$(dirname $module)
  391.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  391.31 +        cp -a $install/$path/$module $fs/$dir
  391.32 +    done
  391.33 +
  391.34 +    for i in $(cat $wanted_stuff/modules.list); do
  391.35 +        if [ -f $fs/$path/$i ]; then
  391.36 +	    rm -f $fs/$path/$i
  391.37 +	fi
  391.38 +    done
  391.39 +}
  391.40 +
  391.41 +# Post install/remove commands for Tazpkg.
  391.42 +post_install()
  391.43 +{
  391.44 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  391.45 +}
  391.46 +
  391.47 +post_remove()
  391.48 +{
  391.49 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  391.50 +}
  391.51 +
   392.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   392.2 +++ b/linux-pae-module-headers/receipt	Sun Jan 14 08:12:37 2024 +0000
   392.3 @@ -0,0 +1,35 @@
   392.4 +# SliTaz package receipt.
   392.5 +
   392.6 +PACKAGE="linux-pae-module-headers"
   392.7 +VERSION="4.19.298"
   392.8 +CATEGORY="development"
   392.9 +SHORT_DESC="Header files and scripts for building modules for linux kernel."
  392.10 +MAINTAINER="devel@slitaz.org"
  392.11 +LICENSE="GPL2"
  392.12 +DEPENDS="slitaz-toolchain"
  392.13 +WANTED="linux"
  392.14 +WEB_SITE="https://kernel.org/"
  392.15 +KVERSION=$VERSION-slitaz-pae
  392.16 +
  392.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  392.18 +genpkg_rules()
  392.19 +{
  392.20 +	mkdir -p $fs/lib/modules/$KVERSION $fs/usr
  392.21 +	cp -a $install/linux-pae/usr/src $fs/usr
  392.22 +	[ -e $fs/usr/src/linux-$VERSION-slitaz-pae/include/linux/version.h ] ||
  392.23 +	ln -s ../generated/uapi/linux/version.h \
  392.24 +		$fs/usr/src/linux-$VERSION-slitaz-pae/include/linux/version.h
  392.25 +}	
  392.26 +
  392.27 +pre_remove() {
  392.28 +	if [ -e "$1/usr/src/linux" ]; then
  392.29 +		rm -rf "$1/usr/src/linux"
  392.30 +	fi
  392.31 +}
  392.32 +
  392.33 +post_install() {
  392.34 +	# Added soft link to make it easier to point to kernel folder
  392.35 +	[ -L "$1/usr/src/linux" ] && rm -f "$1/usr/src/linux"
  392.36 +	ln -sf /usr/src/linux-$KVERSION "$1/usr/src/linux"
  392.37 +	ln -sf /usr/src/linux-$KVERSION "$1/lib/modules/$KVERSION/build"
  392.38 +}
   393.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   393.2 +++ b/linux-pae-netfilter/receipt	Sun Jan 14 08:12:37 2024 +0000
   393.3 @@ -0,0 +1,51 @@
   393.4 +# SliTaz package receipt.
   393.5 +
   393.6 +PACKAGE="linux-pae-netfilter"
   393.7 +VERSION="4.19.298"
   393.8 +CATEGORY="base-system"
   393.9 +SHORT_DESC="The Linux kernel netfilter modules."
  393.10 +MAINTAINER="devel@slitaz.org"
  393.11 +LICENSE="GPL2"
  393.12 +DEPENDS="linux-pae"
  393.13 +WANTED="linux"
  393.14 +PROVIDE="linux-netfilter:linux-pae"
  393.15 +WEB_SITE="https://www.kernel.org/"
  393.16 +
  393.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  393.18 +genpkg_rules()
  393.19 +{
  393.20 +    local path
  393.21 +    src=$WOK/linux-pae/source/tmp
  393.22 +    install=$install/linux-pae
  393.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  393.24 +    mkdir -p $fs/$path
  393.25 +    
  393.26 +    export src
  393.27 +    export install
  393.28 +    
  393.29 +    $wanted_stuff/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \
  393.30 +    while read module; do
  393.31 +    	dir=$path/$(dirname $module)
  393.32 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  393.33 +        cp -a $install/$path/$module $fs/$dir
  393.34 +    done
  393.35 +    rm -rf $fs/$path/net/ipv6 2> /dev/null
  393.36 +
  393.37 +    for i in $(cat $wanted_stuff/modules.list); do
  393.38 +        if [ -f $fs/$path/$i ]; then
  393.39 +	    rm -f $fs/$path/$i
  393.40 +	fi
  393.41 +    done
  393.42 +}
  393.43 +
  393.44 +# Post install/remove commands for Tazpkg.
  393.45 +post_install()
  393.46 +{
  393.47 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  393.48 +}
  393.49 +
  393.50 +post_remove()
  393.51 +{
  393.52 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  393.53 +}
  393.54 +
   394.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   394.2 +++ b/linux-pae-sound/receipt	Sun Jan 14 08:12:37 2024 +0000
   394.3 @@ -0,0 +1,52 @@
   394.4 +# SliTaz package receipt.
   394.5 +
   394.6 +PACKAGE="linux-pae-sound"
   394.7 +VERSION="4.19.298"
   394.8 +CATEGORY="base-system"
   394.9 +SHORT_DESC="The Linux kernel sound modules."
  394.10 +MAINTAINER="devel@slitaz.org"
  394.11 +LICENSE="GPL2"
  394.12 +DEPENDS="linux-pae"
  394.13 +WANTED="linux"
  394.14 +PROVIDE="linux-sound:linux-pae"
  394.15 +WEB_SITE="https://www.kernel.org/"
  394.16 +
  394.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  394.18 +genpkg_rules()
  394.19 +{
  394.20 +    local path
  394.21 +    src=$WOK/linux-pae/source/tmp
  394.22 +    install=$install/linux-pae
  394.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  394.24 +    mkdir -p $fs/$path
  394.25 +    export src
  394.26 +    export install
  394.27 +    $wanted_stuff/list_modules.sh sound | while read module; do
  394.28 +    	dir=$path/$(dirname $module)
  394.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  394.30 +        cp -a $install/$path/$module $fs/$dir
  394.31 +    done
  394.32 +	mkdir $fs/lib/firmware
  394.33 +	for i in ess korg sun yamaha; do
  394.34 +		cp -a $install/lib/firmware/$i $fs/lib/firmware
  394.35 +	done
  394.36 +
  394.37 +    for i in $(cat $wanted_stuff/modules.list); do
  394.38 +        if [ -f $fs/$path/$i ]; then
  394.39 +	    rm -f $fs/$path/$i
  394.40 +	fi
  394.41 +    done
  394.42 +
  394.43 +}
  394.44 +
  394.45 +# Post install/remove commands for Tazpkg.
  394.46 +post_install()
  394.47 +{
  394.48 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  394.49 +}
  394.50 +
  394.51 +post_remove()
  394.52 +{
  394.53 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  394.54 +}
  394.55 +
   395.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   395.2 +++ b/linux-pae-wireless/receipt	Sun Jan 14 08:12:37 2024 +0000
   395.3 @@ -0,0 +1,54 @@
   395.4 +# SliTaz package receipt.
   395.5 +
   395.6 +PACKAGE="linux-pae-wireless"
   395.7 +VERSION="4.19.298"
   395.8 +CATEGORY="base-system"
   395.9 +SHORT_DESC="The Linux kernel wireless modules."
  395.10 +MAINTAINER="devel@slitaz.org"
  395.11 +LICENSE="GPL2"
  395.12 +WANTED="linux"
  395.13 +PROVIDE="linux-wireless:linux-pae"
  395.14 +WEB_SITE="https://www.kernel.org/"
  395.15 +DEPENDS="linux-pae-crypto wireless_tools"
  395.16 +
  395.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  395.18 +genpkg_rules()
  395.19 +{
  395.20 +    local path
  395.21 +    src=$WOK/linux-pae/source/tmp
  395.22 +    install=$install/linux-pae
  395.23 +    path=lib/modules/$VERSION-slitaz-pae/kernel
  395.24 +    mkdir -p $fs/$path
  395.25 +    
  395.26 +    export src
  395.27 +    export install
  395.28 +    
  395.29 +    $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
  395.30 +    drivers/misc/echo drivers/leds net/wireless net/mac80211 \
  395.31 +    drivers/staging/rtl8188eu/r8188eu.ko.xz drivers/staging/rtl8192u/r8192u_usb.ko.xz \
  395.32 +    drivers/staging/rtl8712/r8712u.ko.xz | while read module; do
  395.33 +    	dir=$path/$(dirname $module)
  395.34 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
  395.35 +        cp -a $install/$path/$module $fs/$dir
  395.36 +    done
  395.37 +
  395.38 +    for i in $(cat $wanted_stuff/modules.list); do
  395.39 +        if [ -f $fs/$path/$i ]; then
  395.40 +	    rm -f $fs/$path/$i
  395.41 +	fi
  395.42 +    done
  395.43 +
  395.44 +    # Workaround for cfg80211
  395.45 +    cp -a $install/$path/net/wireless/cfg80211.ko.xz $fs/$path/net/wireless/
  395.46 +}
  395.47 +
  395.48 +# Post install/remove commands for Tazpkg.
  395.49 +post_install()
  395.50 +{
  395.51 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  395.52 +}
  395.53 +
  395.54 +post_remove()
  395.55 +{
  395.56 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  395.57 +}
   396.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   396.2 +++ b/linux-pae-zram/receipt	Sun Jan 14 08:12:37 2024 +0000
   396.3 @@ -0,0 +1,48 @@
   396.4 +# SliTaz package receipt.
   396.5 +
   396.6 +PACKAGE="linux-pae-zram"
   396.7 +VERSION="4.19.298"
   396.8 +CATEGORY="base-system"
   396.9 +SHORT_DESC="Compressed caching"
  396.10 +MAINTAINER="devel@slitaz.org"
  396.11 +LICENSE="GPL2"
  396.12 +WEB_SITE="https://www.kernel.org/"
  396.13 +CONFIG_FILES="/etc/compcache.conf"
  396.14 +WANTED="linux"
  396.15 +PROVIDE="compcache:linux-pae linux-zram:linux-pae"
  396.16 +
  396.17 +DEPENDS="linux-pae slitaz-boot-scripts"
  396.18 +
  396.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
  396.20 +genpkg_rules()
  396.21 +{
  396.22 +	local path
  396.23 +	src=$WOK/linux-pae/source/tmp
  396.24 +	install=$install/linux-pae
  396.25 +	path=lib/modules/$VERSION-slitaz-pae/kernel
  396.26 +	mkdir -p $fs/$path $fs/etc/init.d
  396.27 +	export src install
  396.28 +	$wanted_stuff/list_modules.sh drivers/block/zram | \
  396.29 +	while read module; do
  396.30 +		dir=$path/$(dirname $module)
  396.31 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
  396.32 +		cp -a $install/$path/$module $fs/$dir
  396.33 +	done
  396.34 +	install -o root -m 755 $stuff/compcache $fs/etc/init.d/
  396.35 +	install -o root -m 644 $stuff/compcache.conf $fs/etc/
  396.36 +}
  396.37 +
  396.38 +# Post install/remove commands for Tazpkg.
  396.39 +post_install()
  396.40 +{
  396.41 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  396.42 +	grep ^RUN_DAEMONS "$1/etc/rcS.conf" | grep -q "compcache" || sed -i \
  396.43 +	  's/RUN_DAEMONS="/RUN_DAEMONS="compcache /' "$1/etc/rcS.conf"
  396.44 +	[ -z "$1" ] && /etc/init.d/compcache start
  396.45 +}
  396.46 +
  396.47 +post_remove()
  396.48 +{
  396.49 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  396.50 +}
  396.51 +
   397.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   397.2 +++ b/linux-pae-zram/stuff/compcache	Sun Jan 14 08:12:37 2024 +0000
   397.3 @@ -0,0 +1,60 @@
   397.4 +#!/bin/sh
   397.5 +# /etc/init.d/compcache: Start, stop and restart COMPCACHE daemon on SliTaz,
   397.6 +# at boot time or with the command line. Daemons options are configured
   397.7 +# with /etc/daemons.conf
   397.8 +#
   397.9 +. /etc/init.d/rc.functions
  397.10 +source /etc/compcache.conf
  397.11 +
  397.12 +NAME="compcache"
  397.13 +DESC="$(_ '%s daemon' compcache)"
  397.14 +EXIST="$(grep -s zram0 /proc/swaps)"
  397.15 +
  397.16 +case "$1" in
  397.17 +  start)
  397.18 +    if [ "$EXIST" ] ; then
  397.19 +      _ '%s is already running.' $NAME
  397.20 +      exit 1
  397.21 +    fi
  397.22 +    if [ -z "$SIZE" -o "$SIZE" = "0%" ]; then
  397.23 +      _ '%s disabled in %s.' $NAME '/etc/compcache.conf'
  397.24 +      exit 1
  397.25 +    fi
  397.26 +    action 'Loading module...'
  397.27 +    devices=$(awk '/cpu cores/{c=$4} /processor/{p++} /siblings/{s=$3}
  397.28 +	END { if (c*s>0) p/=s/c; if (p==0) p++; print p}' /proc/cpuinfo)
  397.29 +    modprobe zram num_devices=$devices &&
  397.30 +    for i in $(seq 0 $(($devices-1))); do
  397.31 +	awk "/MemTotal/ { printf(\"%uk\\n\", \$2 * ${SIZE%\%} / 100 / $devices) }" \
  397.32 +		< /proc/meminfo > /sys/block/zram$i/disksize
  397.33 +    done
  397.34 +    status
  397.35 +
  397.36 +    action 'Starting %s: %s...' "$DESC" $NAME
  397.37 +    for i in $(seq 0 $(($devices-1))); do
  397.38 +	mkswap /dev/zram$i && swapon /dev/zram$i -p 100
  397.39 +    done
  397.40 +    status
  397.41 +    ;;
  397.42 +  stop)
  397.43 +    if [ -z "$EXIST" ] ; then
  397.44 +      _ '%s is not running.' $NAME
  397.45 +      exit 1
  397.46 +    fi
  397.47 +    action 'Stopping %s: %s...' "$DESC" $NAME
  397.48 +    for i in $(cd /sys/block/; ls -d zram*); do
  397.49 +	swapoff /dev/$i && echo 1 > /sys/block/$i/reset
  397.50 +    done
  397.51 +    status
  397.52 +    action 'Unloading module...'
  397.53 +    rmmod zram
  397.54 +    status
  397.55 +    ;;
  397.56 +  *)
  397.57 +    emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop]"
  397.58 +    newline
  397.59 +    exit 1
  397.60 +    ;;
  397.61 +esac
  397.62 +
  397.63 +exit 0
   398.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   398.2 +++ b/linux-pae-zram/stuff/compcache.conf	Sun Jan 14 08:12:37 2024 +0000
   398.3 @@ -0,0 +1,1 @@
   398.4 +SIZE=50%
   399.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   399.2 +++ b/linux-pae/receipt	Sun Jan 14 08:12:37 2024 +0000
   399.3 @@ -0,0 +1,85 @@
   399.4 +# SliTaz package receipt.
   399.5 +
   399.6 +PACKAGE="linux-pae"
   399.7 +VERSION="4.19.298"
   399.8 +CATEGORY="base-system"
   399.9 +SHORT_DESC="The Linux PAE kernel and modules."
  399.10 +MAINTAINER="devel@slitaz.org"
  399.11 +LICENSE="GPL2"
  399.12 +WEB_SITE="https://www.kernel.org/"
  399.13 +WANTED="linux"
  399.14 +PROVIDE="linux"
  399.15 +
  399.16 +# We want it regenerated on each kernel/module install
  399.17 +#CONFIG_FILES="/lib/modules/$VERSION-slitaz-pae/modules.dep"
  399.18 +
  399.19 +DEPENDS="kmod"
  399.20 +
  399.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
  399.22 +genpkg_rules()
  399.23 +{
  399.24 +	local path
  399.25 +	install=$install/linux-pae
  399.26 +	src=$WOK/$PACKAGE/source/tmp
  399.27 +	cp -a $install/boot $fs
  399.28 +	path=$fs/lib/modules/$VERSION-slitaz-pae/kernel
  399.29 +	mkdir -p $path
  399.30 +	cp -a $install/lib/modules/$VERSION-slitaz-pae/mo* \
  399.31 +		$fs/lib/modules/$VERSION-slitaz-pae
  399.32 +
  399.33 +	# Get the base modules
  399.34 +	export src
  399.35 +	export install
  399.36 +	mkdir -p $WOK/$PACKAGE/source/tmp
  399.37 +	$wanted_stuff/list_modules.sh \
  399.38 +	$(cat $stuff/modules-pae.list) > $WOK/$PACKAGE/source/tmp/modules.list
  399.39 +	while read module; do
  399.40 +		dir=$(dirname $module)
  399.41 +		[ -d $path/$dir ] || mkdir -p $path/$dir
  399.42 +		cp -a $install/lib/modules/$VERSION-slitaz-pae/kernel/$module $path/$dir
  399.43 +	done < $WOK/$PACKAGE/source/tmp/modules.list
  399.44 +	# Remove unresolved links
  399.45 +	rm -f $fs/lib/modules/$VERSION-slitaz-pae/build
  399.46 +	rm -f $fs/lib/modules/$VERSION-slitaz-pae/source
  399.47 +	# Cook all packages with a kernel module
  399.48 +	for i in $(cd $WOK; grep -l '^WANTED="linux"' linux-pae-*/receipt); do
  399.49 +		cook ${i%/receipt}
  399.50 +	done
  399.51 +	# Fixed modules.dep to use right path
  399.52 +	# saves 100kb of space too
  399.53 +	sed -i "s|$install||g" $fs/lib/modules/$VERSION-slitaz-pae/modules.dep
  399.54 +	sed -i "s|99.98.$VERSION-slitaz|$VERSION-slitaz|g" $fs/lib/modules/$VERSION-slitaz-pae/modules.dep
  399.55 +	# Check and echo any module in kernel .config that's not added to 
  399.56 +	# one of linux-* pkgs
  399.57 +	$wanted_stuff/check_modules.sh 2>&1 | grep -v files.list
  399.58 +}
  399.59 +
  399.60 +# Pre and post install commands for Tazpkg.
  399.61 +post_install()
  399.62 +{
  399.63 +	chroot "$root/" depmod -a $VERSION-slitaz-pae
  399.64 +	# GRUB stuff.
  399.65 +	if [ -f "$root/boot/grub/menu.lst" ]; then
  399.66 +		root_dev=$(cat $root/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1)
  399.67 +		grub_dev=$(cat $root/boot/grub/menu.lst | grep "root (" | head -n 1)
  399.68 +		# Add new kernel entry in case of upgrade for installed system.
  399.69 +		if ! grep -q $PACKAGE-$VERSION-slitaz-pae "$1/boot/grub/menu.lst"; then
  399.70 +			cat >> "$1/boot/grub/menu.lst" <<EOT
  399.71 +
  399.72 +title SliTaz GNU/Linux (Kernel $VERSION-slitaz-pae)
  399.73 +$grub_dev
  399.74 +kernel /boot/vmlinuz-$VERSION-slitaz-pae root=$root_dev
  399.75 +EOT
  399.76 +		fi
  399.77 +		# Display information message.
  399.78 +		cat <<EOT
  399.79 +----
  399.80 +GRUB is installed, these tree lines must be in your /boot/grub/menu.lst:
  399.81 +
  399.82 +title  SliTaz GNU/Linux (Kernel $VERSION-slitaz-pae)
  399.83 +$grub_dev
  399.84 +kernel /boot/vmlinuz-$VERSION-slitaz-pae root=$root_dev
  399.85 +----
  399.86 +EOT
  399.87 +	fi
  399.88 +}
   400.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   400.2 +++ b/linux-pae/stuff/modules-pae.list	Sun Jan 14 08:12:37 2024 +0000
   400.3 @@ -0,0 +1,304 @@
   400.4 +arch/x86/kernel/msr.ko.xz
   400.5 +arch/x86/kernel/cpuid.ko.xz
   400.6 +drivers/acpi/video.ko.xz
   400.7 +drivers/acpi/button.ko.xz
   400.8 +drivers/ata/libahci_platform.ko.xz
   400.9 +drivers/auxdisplay/charlcd.ko.xz
  400.10 +drivers/auxdisplay/panel.ko.xz
  400.11 +drivers/char/lp.ko.xz
  400.12 +drivers/char/ppdev.ko.xz
  400.13 +drivers/firmware/efi/efivars.ko.xz
  400.14 +drivers/regulator/fixed.ko.xz
  400.15 +drivers/regulator/tps6105x-regulator.ko.xz
  400.16 +drivers/mmc/host/sdricoh_cs.ko.xz
  400.17 +drivers/usb/misc/ftdi-elan.ko.xz
  400.18 +drivers/char/agp/agpgart.ko.xz
  400.19 +drivers/connector/cn.ko.xz
  400.20 +drivers/i2c/algos/i2c-algo-bit.ko.xz
  400.21 +drivers/net/wan/hdlc.ko.xz
  400.22 +drivers/gpu/drm/drm.ko.xz
  400.23 +drivers/gpu/drm/drm_kms_helper.ko.xz
  400.24 +drivers/misc/eeprom/eeprom_93cx6.ko.xz
  400.25 +drivers/pps/pps_core.ko.xz
  400.26 +drivers/vhost/vhost.ko.xz
  400.27 +drivers/vhost/vhost_net.ko.xz
  400.28 +drivers/usb/dwc3/dwc3.ko.xz
  400.29 +drivers/usb/dwc3/dwc3-pci.ko.xz
  400.30 +drivers/usb/dwc3/dwc3-haps.ko.xz
  400.31 +drivers/usb/c67x00/c67x00.ko.xz
  400.32 +drivers/usb/storage/uas.ko.xz
  400.33 +drivers/usb/storage/ums-alauda.ko.xz
  400.34 +drivers/usb/storage/ums-cypress.ko.xz
  400.35 +drivers/usb/storage/ums-datafab.ko.xz
  400.36 +drivers/usb/storage/ums-eneub6250.ko.xz
  400.37 +drivers/usb/storage/ums-freecom.ko.xz
  400.38 +drivers/usb/storage/ums-isd200.ko.xz
  400.39 +drivers/usb/storage/ums-jumpshot.ko.xz
  400.40 +drivers/usb/storage/ums-karma.ko.xz
  400.41 +drivers/usb/storage/ums-onetouch.ko.xz
  400.42 +drivers/usb/storage/ums-realtek.ko.xz
  400.43 +drivers/usb/storage/ums-sddr09.ko.xz
  400.44 +drivers/usb/storage/ums-sddr55.ko.xz
  400.45 +drivers/usb/storage/ums-usbat.ko.xz
  400.46 +drivers/usb/host/u132-hcd.ko.xz
  400.47 +drivers/usb/host/isp116x-hcd.ko.xz
  400.48 +drivers/usb/host/sl811-hcd.ko.xz
  400.49 +drivers/usb/host/sl811_cs.ko.xz
  400.50 +drivers/usb/isp1760/isp1760.ko.xz
  400.51 +drivers/usb/host/oxu210hp-hcd.ko.xz
  400.52 +drivers/usb/host/r8a66597-hcd.ko.xz
  400.53 +drivers/usb/host/xhci-plat-hcd.ko.xz
  400.54 +drivers/usb/image/microtek.ko.xz
  400.55 +drivers/usb/image/mdc800.ko.xz
  400.56 +drivers/usb/class/cdc-wdm.ko.xz
  400.57 +drivers/usb/gadget/udc/fusb300_udc.ko.xz
  400.58 +drivers/usb/gadget/udc/net2272.ko.xz
  400.59 +drivers/usb/gadget/udc/pch_udc.ko.xz
  400.60 +drivers/usb/gadget/udc/r8a66597-udc.ko.xz
  400.61 +drivers/usb/gadget/udc/dummy_hcd.ko.xz
  400.62 +drivers/usb/gadget/udc/net2280.ko.xz
  400.63 +drivers/usb/gadget/udc/udc-core.ko.xz
  400.64 +drivers/usb/gadget/udc/amd5536udc_pci.ko.xz
  400.65 +drivers/usb/gadget/udc/goku_udc.ko.xz
  400.66 +drivers/usb/gadget/udc/m66592-udc.ko.xz
  400.67 +drivers/usb/gadget/libcomposite.ko.xz
  400.68 +drivers/usb/gadget/legacy/g_acm_ms.ko.xz
  400.69 +drivers/usb/gadget/function/usb_f_mass_storage.ko.xz
  400.70 +drivers/hv/hv_utils.ko.xz
  400.71 +drivers/hv/hv_vmbus.ko.xz
  400.72 +drivers/gpio/gpio-generic.ko.xz
  400.73 +drivers/base/regmap/regmap-i2c.ko.xz
  400.74 +security/keys/encrypted-keys/encrypted-keys.ko.xz
  400.75 +fs/quota/quota_tree.ko.xz
  400.76 +fs/efivarfs/efivarfs.ko.xz
  400.77 +drivers/gpu/drm/gma500/gma500_gfx.ko.xz
  400.78 +drivers/hwmon/coretemp.ko.xz
  400.79 +drivers/hwmon/hwmon.ko.xz
  400.80 +drivers/input/mouse/inport.ko.xz
  400.81 +drivers/input/mouse/logibm.ko.xz
  400.82 +drivers/input/mouse/pc110pad.ko.xz
  400.83 +drivers/input/input-polldev.ko.xz
  400.84 +drivers/input/sparse-keymap.ko.xz
  400.85 +drivers/net/ethernet/agere/et131x.ko.xz
  400.86 +drivers/net/ethernet/realtek/atp.ko.xz
  400.87 +drivers/net/ethernet/realtek/8139cp.ko.xz
  400.88 +drivers/net/ethernet/realtek/r8169.ko.xz
  400.89 +drivers/net/ethernet/cisco/enic/enic.ko.xz
  400.90 +drivers/net/ethernet/qlogic/qlge/qlge.ko.xz
  400.91 +drivers/net/ethernet/qlogic/netxen/netxen_nic.ko.xz
  400.92 +drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko.xz
  400.93 +drivers/net/ethernet/broadcom/bnx2.ko.xz
  400.94 +drivers/net/ethernet/myricom/myri10ge/myri10ge.ko.xz
  400.95 +drivers/net/ethernet/3com/3c509.ko.xz
  400.96 +drivers/net/ethernet/3com/3c515.ko.xz
  400.97 +drivers/net/ethernet/3com/3c59x.ko.xz
  400.98 +drivers/net/ethernet/amd/amd8111e.ko.xz
  400.99 +drivers/net/ethernet/amd/lance.ko.xz
 400.100 +drivers/net/ethernet/amd/ni65.ko.xz
 400.101 +drivers/net/ethernet/atheros/atl1c/atl1c.ko.xz
 400.102 +drivers/net/ethernet/atheros/atl1e/atl1e.ko.xz
 400.103 +drivers/net/ethernet/atheros/atlx/atl2.ko.xz
 400.104 +drivers/net/ethernet/sun/cassini.ko.xz
 400.105 +drivers/net/ethernet/cirrus/cs89x0.ko.xz
 400.106 +drivers/net/ethernet/dlink/dl2k.ko.xz
 400.107 +drivers/net/ethernet/intel/e1000/e1000.ko.xz
 400.108 +drivers/net/ethernet/intel/e100.ko.xz
 400.109 +drivers/net/ethernet/intel/e1000e/e1000e.ko.xz
 400.110 +drivers/net/ethernet/intel/igb/igb.ko.xz
 400.111 +drivers/net/ethernet/jme.ko.xz
 400.112 +drivers/net/ethernet/8390/ne.ko.xz
 400.113 +drivers/net/ethernet/fealnx.ko.xz
 400.114 +drivers/net/ethernet/hp/hp100.ko.xz
 400.115 +drivers/net/ethernet/tehuti/tehuti.ko.xz
 400.116 +drivers/net/ethernet/neterion/s2io.ko.xz
 400.117 +drivers/net/sb1000.ko.xz
 400.118 +drivers/net/mdio.ko.xz
 400.119 +drivers/net/ethernet/sun/niu.ko.xz
 400.120 +drivers/net/ifb.ko.xz
 400.121 +drivers/net/ethernet/neterion/vxge/vxge.ko.xz
 400.122 +drivers/net/ethernet/intel/ixgb/ixgb.ko.xz
 400.123 +drivers/net/ethernet/intel/ixgbe/ixgbe.ko.xz
 400.124 +drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko.xz
 400.125 +drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko.xz
 400.126 +drivers/net/ethernet/brocade/bna/bna.ko.xz
 400.127 +drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf.ko.xz
 400.128 +drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko.xz
 400.129 +drivers/net/ethernet/chelsio/cxgb/cxgb.ko.xz
 400.130 +drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko.xz
 400.131 +drivers/net/ethernet/3com/3c574_cs.ko.xz
 400.132 +drivers/net/ethernet/3com/3c589_cs.ko.xz
 400.133 +drivers/net/ethernet/8390/axnet_cs.ko.xz
 400.134 +drivers/net/arcnet/arcnet.ko.xz
 400.135 +drivers/net/arcnet/com20020.ko.xz
 400.136 +drivers/net/arcnet/com20020_cs.ko.xz
 400.137 +drivers/net/ethernet/fujitsu/fmvj18x_cs.ko.xz
 400.138 +drivers/net/ethernet/amd/nmclan_cs.ko.xz
 400.139 +drivers/net/ethernet/8390/pcnet_cs.ko.xz
 400.140 +drivers/net/ethernet/smsc/smc91c92_cs.ko.xz
 400.141 +drivers/net/ethernet/xircom/xirc2ps_cs.ko.xz
 400.142 +drivers/net/phy/broadcom.ko.xz
 400.143 +drivers/net/phy/bcm-phy-lib.ko.xz
 400.144 +drivers/net/phy/cicada.ko.xz
 400.145 +drivers/net/phy/davicom.ko.xz
 400.146 +drivers/net/phy/libphy.ko.xz
 400.147 +drivers/net/phy/lxt.ko.xz
 400.148 +drivers/net/phy/marvell.ko.xz
 400.149 +drivers/net/phy/qsemi.ko.xz
 400.150 +drivers/net/phy/smsc.ko.xz
 400.151 +drivers/net/ethernet/dnet.ko.xz
 400.152 +drivers/net/ethernet/silan/sc92031.ko.xz
 400.153 +drivers/net/ethernet/sis/sis190.ko.xz
 400.154 +drivers/net/ethernet/marvell/skge.ko.xz
 400.155 +drivers/net/ethernet/marvell/sky2.ko.xz
 400.156 +drivers/net/ethernet/smsc/smc9194.ko.xz
 400.157 +drivers/net/ethernet/8390/smc-ultra.ko.xz
 400.158 +drivers/net/ethernet/adaptec/starfire.ko.xz
 400.159 +drivers/net/ethernet/sun/sungem.ko.xz
 400.160 +drivers/net/sungem_phy.ko.xz
 400.161 +drivers/net/ethernet/sun/sunhme.ko.xz
 400.162 +drivers/net/ethernet/broadcom/tg3.ko.xz
 400.163 +drivers/net/ethernet/dec/tulip/tulip.ko.xz
 400.164 +drivers/net/ethernet/dec/tulip/uli526x.ko.xz
 400.165 +drivers/net/ethernet/3com/typhoon.ko.xz
 400.166 +drivers/net/usb/asix.ko.xz
 400.167 +drivers/net/usb/cdc_ether.ko.xz
 400.168 +drivers/net/usb/cdc_subset.ko.xz
 400.169 +drivers/net/usb/net1080.ko.xz
 400.170 +drivers/net/usb/rndis_host.ko.xz
 400.171 +drivers/net/usb/usbnet.ko.xz
 400.172 +drivers/net/usb/zaurus.ko.xz
 400.173 +drivers/net/usb/cdc_eem.ko.xz
 400.174 +drivers/net/usb/cdc_ncm.ko.xz
 400.175 +drivers/net/usb/dm9601.ko.xz
 400.176 +drivers/net/usb/gl620a.ko.xz
 400.177 +drivers/net/usb/catc.ko.xz
 400.178 +drivers/net/usb/kaweth.ko.xz
 400.179 +drivers/net/usb/sierra_net.ko.xz
 400.180 +drivers/net/usb/rtl8150.ko.xz
 400.181 +drivers/net/usb/pegasus.ko.xz
 400.182 +drivers/net/usb/mcs7830.ko.xz
 400.183 +drivers/net/usb/plusb.ko.xz
 400.184 +drivers/net/ethernet/via/via-velocity.ko.xz
 400.185 +drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko.xz
 400.186 +drivers/net/ethernet/8390/wd.ko.xz
 400.187 +drivers/net/ethernet/8390/8390p.ko.xz
 400.188 +drivers/net/ethernet/broadcom/b44.ko.xz
 400.189 +drivers/net/ethernet/rdc/r6040.ko.xz
 400.190 +drivers/net/vmxnet3/vmxnet3.ko.xz
 400.191 +drivers/net/usb/int51x1.ko.xz
 400.192 +drivers/net/usb/ipheth.ko.xz
 400.193 +drivers/net/usb/smsc75xx.ko.xz
 400.194 +drivers/net/usb/kalmia.ko.xz
 400.195 +drivers/net/usb/smsc95xx.ko.xz
 400.196 +drivers/net/usb/cx82310_eth.ko.xz
 400.197 +drivers/net/usb/lg-vl600.ko.xz
 400.198 +drivers/net/ethernet/sfc/sfc.ko.xz
 400.199 +drivers/net/bonding/bonding.ko.xz
 400.200 +drivers/net/ethernet/emulex/benet/be2net.ko.xz
 400.201 +drivers/net/ethernet/smsc/smsc9420.ko.xz
 400.202 +drivers/nfc/pn544/pn544.ko.xz
 400.203 +drivers/nfc/pn544/pn544_i2c.ko.xz
 400.204 +drivers/nfc/pn533/pn533.ko.xz
 400.205 +drivers/nfc/pn533/pn533_i2c.ko.xz
 400.206 +drivers/watchdog/softdog.ko.xz
 400.207 +drivers/parport/parport.ko.xz
 400.208 +drivers/parport/parport_pc.ko.xz
 400.209 +drivers/parport/parport_serial.ko.xz
 400.210 +drivers/pcmcia/i82092.ko.xz
 400.211 +drivers/pcmcia/i82365.ko.xz
 400.212 +drivers/pcmcia/pcmcia_core.ko.xz
 400.213 +drivers/pcmcia/pcmcia.ko.xz
 400.214 +drivers/pcmcia/pcmcia_rsrc.ko.xz
 400.215 +drivers/pcmcia/pd6729.ko.xz
 400.216 +drivers/pcmcia/yenta_socket.ko.xz
 400.217 +drivers/usb/class/cdc-acm.ko.xz
 400.218 +drivers/usb/class/usblp.ko.xz
 400.219 +drivers/usb/serial/ch341.ko.xz
 400.220 +drivers/usb/serial/pl2303.ko.xz
 400.221 +drivers/usb/serial/usbserial.ko.xz
 400.222 +drivers/usb/serial/visor.ko.xz
 400.223 +drivers/usb/mon/usbmon.ko.xz
 400.224 +drivers/ssb/ssb.ko.xz
 400.225 +drivers/block/floppy.ko.xz
 400.226 +drivers/input/mouse/sermouse.ko.xz
 400.227 +drivers/video/fbdev/core/syscopyarea.ko.xz
 400.228 +drivers/video/fbdev/smscufx.ko.xz
 400.229 +drivers/video/fbdev/core/sysimgblt.ko.xz
 400.230 +drivers/video/fbdev/core/fb_sys_fops.ko.xz
 400.231 +drivers/video/fbdev/core/sysfillrect.ko.xz
 400.232 +fs/binfmt_misc.ko.xz
 400.233 +fs/fuse/cuse.ko.xz
 400.234 +fs/nfs/blocklayout/blocklayoutdriver.ko.xz
 400.235 +net/ipv4/netfilter/ipt_REJECT.ko.xz
 400.236 +net/ipv4/ip_gre.ko.xz
 400.237 +net/netfilter/nfnetlink.ko.xz
 400.238 +net/netfilter/nfnetlink_log.ko.xz
 400.239 +net/nfc/nfc.ko.xz
 400.240 +net/nfc/nci/nci.ko.xz
 400.241 +lib/crc7.ko.xz
 400.242 +drivers/tty/nozomi.ko.xz
 400.243 +drivers/misc/lis3lv02d/lis3lv02d.ko.xz
 400.244 +drivers/misc/lis3lv02d/lis3lv02d_i2c.ko.xz
 400.245 +drivers/misc/fsa9480.ko.xz
 400.246 +drivers/misc/altera-stapl/altera-stapl.ko.xz
 400.247 +drivers/hid/hid-speedlink.ko.xz
 400.248 +drivers/hid/hid-holtekff.ko.xz
 400.249 +drivers/hid/hid-primax.ko.xz
 400.250 +net/llc/llc.ko.xz
 400.251 +net/rfkill/rfkill.ko.xz
 400.252 +net/sunrpc/auth_gss/rpcsec_gss_krb5.ko.xz
 400.253 +net/netfilter/nf_conntrack.ko.xz
 400.254 +net/batman-adv/batman-adv.ko.xz
 400.255 +net/sctp/sctp.ko.xz
 400.256 +drivers/input/gameport/gameport.ko.xz
 400.257 +drivers/i2c/i2c-core.ko.xz
 400.258 +drivers/i2c/i2c-dev.ko.xz
 400.259 +drivers/i2c/busses/i2c-designware-pci.ko.xz
 400.260 +drivers/i2c/busses/i2c-designware-core.ko.xz
 400.261 +drivers/i2c/busses/i2c-eg20t.ko.xz
 400.262 +drivers/regulator/gpio-regulator.ko.xz
 400.263 +drivers/misc/ti-st/st_drv.ko.xz
 400.264 +sound/soundcore.ko.xz
 400.265 +sound/ac97_bus.ko.xz
 400.266 +sound/core/snd.ko.xz
 400.267 +lib/lru_cache.ko.xz
 400.268 +lib/crc8.ko.xz
 400.269 +lib/cordic.ko.xz
 400.270 +lib/ts_bm.ko.xz
 400.271 +lib/ts_fsm.ko.xz
 400.272 +lib/ts_kmp.ko.xz
 400.273 +drivers/uio/uio.ko.xz
 400.274 +drivers/uio/uio_pci_generic.ko.xz
 400.275 +drivers/net/macvlan.ko.xz
 400.276 +drivers/net/veth.ko.xz
 400.277 +drivers/net/macvtap.ko.xz
 400.278 +drivers/ata/pata_optidma.ko.xz
 400.279 +drivers/ata/sata_inic162x.ko.xz
 400.280 +drivers/ata/pata_ninja32.ko.xz
 400.281 +drivers/ata/pata_cypress.ko.xz
 400.282 +drivers/ata/pata_pdc202xx_old.ko.xz
 400.283 +drivers/ata/pata_rdc.ko.xz
 400.284 +drivers/ata/pata_triflex.ko.xz
 400.285 +drivers/ata/pata_pdc2027x.ko.xz
 400.286 +drivers/ata/pata_pcmcia.ko.xz
 400.287 +drivers/ata/pata_sl82c105.ko.xz
 400.288 +drivers/ata/pata_hpt3x2n.ko.xz
 400.289 +drivers/ata/pata_sil680.ko.xz
 400.290 +drivers/ata/pata_cs5520.ko.xz
 400.291 +drivers/ata/pata_opti.ko.xz
 400.292 +drivers/ata/pata_ns87410.ko.xz
 400.293 +drivers/ata/pata_hpt3x3.ko.xz
 400.294 +drivers/ata/acard-ahci.ko.xz
 400.295 +drivers/ata/pata_cs5535.ko.xz
 400.296 +drivers/ata/pata_efar.ko.xz
 400.297 +drivers/ata/pata_cs5536.ko.xz
 400.298 +drivers/ata/ahci_platform.ko.xz
 400.299 +drivers/ata/pata_hpt366.ko.xz
 400.300 +drivers/ata/pata_it8213.ko.xz
 400.301 +drivers/ata/pata_netcell.ko.xz
 400.302 +drivers/ata/pata_hpt37x.ko.xz
 400.303 +drivers/ata/pata_serverworks.ko.xz
 400.304 +drivers/ata/pata_cmd64x.ko.xz
 400.305 +drivers/ata/pata_ns87415.ko.xz
 400.306 +drivers/ata/pata_cs5530.ko.xz
 400.307 +drivers/block/sx8.ko.xz
   401.1 --- a/linux-reiserfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   401.2 +++ b/linux-reiserfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   401.3 @@ -1,7 +1,7 @@
   401.4  # SliTaz package receipt.
   401.5  
   401.6  PACKAGE="linux-reiserfs"
   401.7 -VERSION="4.19.294"
   401.8 +VERSION="4.19.298"
   401.9  CATEGORY="base-system"
  401.10  SHORT_DESC="The Linux kernel reiserfs module."
  401.11  MAINTAINER="devel@slitaz.org"
   402.1 --- a/linux-romfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   402.2 +++ b/linux-romfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   402.3 @@ -1,7 +1,7 @@
   402.4  # SliTaz package receipt.
   402.5  
   402.6  PACKAGE="linux-romfs"
   402.7 -VERSION="4.19.294"
   402.8 +VERSION="4.19.298"
   402.9  CATEGORY="base-system"
  402.10  SHORT_DESC="The Linux kernel romfs module."
  402.11  MAINTAINER="devel@slitaz.org"
   403.1 --- a/linux-sched/receipt	Mon Oct 16 18:37:14 2023 +0000
   403.2 +++ b/linux-sched/receipt	Sun Jan 14 08:12:37 2024 +0000
   403.3 @@ -1,7 +1,7 @@
   403.4  # SliTaz package receipt.
   403.5  
   403.6  PACKAGE="linux-sched"
   403.7 -VERSION="4.19.294"
   403.8 +VERSION="4.19.298"
   403.9  CATEGORY="base-system"
  403.10  SHORT_DESC="The Linux kernel sched modules."
  403.11  MAINTAINER="devel@slitaz.org"
   404.1 --- a/linux-scsi/receipt	Mon Oct 16 18:37:14 2023 +0000
   404.2 +++ b/linux-scsi/receipt	Sun Jan 14 08:12:37 2024 +0000
   404.3 @@ -1,7 +1,7 @@
   404.4  # SliTaz package receipt.
   404.5  
   404.6  PACKAGE="linux-scsi"
   404.7 -VERSION="4.19.294"
   404.8 +VERSION="4.19.298"
   404.9  CATEGORY="base-system"
  404.10  SHORT_DESC="The Linux kernel scsi modules."
  404.11  MAINTAINER="devel@slitaz.org"
   405.1 --- a/linux-sound/receipt	Mon Oct 16 18:37:14 2023 +0000
   405.2 +++ b/linux-sound/receipt	Sun Jan 14 08:12:37 2024 +0000
   405.3 @@ -1,7 +1,7 @@
   405.4  # SliTaz package receipt.
   405.5  
   405.6  PACKAGE="linux-sound"
   405.7 -VERSION="4.19.294"
   405.8 +VERSION="4.19.298"
   405.9  CATEGORY="base-system"
  405.10  SHORT_DESC="The Linux kernel sound modules."
  405.11  MAINTAINER="devel@slitaz.org"
   406.1 --- a/linux-source/receipt	Mon Oct 16 18:37:14 2023 +0000
   406.2 +++ b/linux-source/receipt	Sun Jan 14 08:12:37 2024 +0000
   406.3 @@ -1,7 +1,7 @@
   406.4  # SliTaz package receipt.
   406.5  
   406.6  PACKAGE="linux-source"
   406.7 -VERSION="4.19.294"
   406.8 +VERSION="4.19.298"
   406.9  CATEGORY="development"
  406.10  SHORT_DESC="The Linux kernel source files."
  406.11  MAINTAINER="devel@slitaz.org"
   407.1 --- a/linux-speakup/receipt	Mon Oct 16 18:37:14 2023 +0000
   407.2 +++ b/linux-speakup/receipt	Sun Jan 14 08:12:37 2024 +0000
   407.3 @@ -1,7 +1,7 @@
   407.4  # SliTaz package receipt.
   407.5  
   407.6  PACKAGE="linux-speakup"
   407.7 -VERSION="4.19.294"
   407.8 +VERSION="4.19.298"
   407.9  CATEGORY="base-system"
  407.10  SHORT_DESC="The Linux kernel Speakup modules."
  407.11  MAINTAINER="erjo@slitaz.org"
   408.1 --- a/linux-squashfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   408.2 +++ b/linux-squashfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   408.3 @@ -1,7 +1,7 @@
   408.4  # SliTaz package receipt.
   408.5  
   408.6  PACKAGE="linux-squashfs"
   408.7 -VERSION="4.19.294"
   408.8 +VERSION="4.19.298"
   408.9  CATEGORY="base-system"
  408.10  SHORT_DESC="The Linux kernel squashfs module."
  408.11  MAINTAINER="devel@slitaz.org"
   409.1 --- a/linux-staging/receipt	Mon Oct 16 18:37:14 2023 +0000
   409.2 +++ b/linux-staging/receipt	Sun Jan 14 08:12:37 2024 +0000
   409.3 @@ -1,7 +1,7 @@
   409.4  # SliTaz package receipt.
   409.5  
   409.6  PACKAGE="linux-staging"
   409.7 -VERSION="4.19.294"
   409.8 +VERSION="4.19.298"
   409.9  CATEGORY="base-system"
  409.10  SHORT_DESC="staging kernel modules"
  409.11  MAINTAINER="slaxemulator@gmail.com"
   410.1 --- a/linux-toshiba/receipt	Mon Oct 16 18:37:14 2023 +0000
   410.2 +++ b/linux-toshiba/receipt	Sun Jan 14 08:12:37 2024 +0000
   410.3 @@ -1,7 +1,7 @@
   410.4  # SliTaz package receipt.
   410.5  
   410.6  PACKAGE="linux-toshiba"
   410.7 -VERSION="4.19.294"
   410.8 +VERSION="4.19.298"
   410.9  CATEGORY="base-system"
  410.10  SHORT_DESC="The Linux kernel toshiba module."
  410.11  MAINTAINER="devel@slitaz.org"
   411.1 --- a/linux-ubifs/receipt	Mon Oct 16 18:37:14 2023 +0000
   411.2 +++ b/linux-ubifs/receipt	Sun Jan 14 08:12:37 2024 +0000
   411.3 @@ -1,7 +1,7 @@
   411.4  # SliTaz package receipt.
   411.5  
   411.6  PACKAGE="linux-ubifs"
   411.7 -VERSION="4.19.294"
   411.8 +VERSION="4.19.298"
   411.9  CATEGORY="base-system"
  411.10  SHORT_DESC="The Linux kernel ubifs module."
  411.11  MAINTAINER="devel@slitaz.org"
   412.1 --- a/linux-usb-misc/receipt	Mon Oct 16 18:37:14 2023 +0000
   412.2 +++ b/linux-usb-misc/receipt	Sun Jan 14 08:12:37 2024 +0000
   412.3 @@ -1,7 +1,7 @@
   412.4  # SliTaz package receipt.
   412.5  
   412.6  PACKAGE="linux-usb-misc"
   412.7 -VERSION="4.19.294"
   412.8 +VERSION="4.19.298"
   412.9  CATEGORY="base-system"
  412.10  SHORT_DESC="The Linux kernel misc. USB drivers, including the Lego USB tower."
  412.11  MAINTAINER="rcx@zoominternet.net"
   413.1 --- a/linux-usbdsl/receipt	Mon Oct 16 18:37:14 2023 +0000
   413.2 +++ b/linux-usbdsl/receipt	Sun Jan 14 08:12:37 2024 +0000
   413.3 @@ -1,7 +1,7 @@
   413.4  # SliTaz package receipt.
   413.5  
   413.6  PACKAGE="linux-usbdsl"
   413.7 -VERSION="4.19.294"
   413.8 +VERSION="4.19.298"
   413.9  CATEGORY="base-system"
  413.10  SHORT_DESC="The Linux kernel usb dsl modem modules."
  413.11  MAINTAINER="devel@slitaz.org"
   414.1 --- a/linux-usbip/receipt	Mon Oct 16 18:37:14 2023 +0000
   414.2 +++ b/linux-usbip/receipt	Sun Jan 14 08:12:37 2024 +0000
   414.3 @@ -1,7 +1,7 @@
   414.4  # SliTaz package receipt.
   414.5  
   414.6  PACKAGE="linux-usbip"
   414.7 -VERSION="4.19.294"
   414.8 +VERSION="4.19.298"
   414.9  CATEGORY="base-system"
  414.10  SHORT_DESC="The Linux kernel usbip module."
  414.11  MAINTAINER="devel@slitaz.org"
   415.1 --- a/linux-uwb/receipt	Mon Oct 16 18:37:14 2023 +0000
   415.2 +++ b/linux-uwb/receipt	Sun Jan 14 08:12:37 2024 +0000
   415.3 @@ -1,7 +1,7 @@
   415.4  # SliTaz package receipt.
   415.5  
   415.6  PACKAGE="linux-uwb"
   415.7 -VERSION="4.19.294"
   415.8 +VERSION="4.19.298"
   415.9  CATEGORY="base-system"
  415.10  SHORT_DESC="The Linux kernel uwb modules."
  415.11  MAINTAINER="devel@slitaz.org"
   416.1 --- a/linux-video/receipt	Mon Oct 16 18:37:14 2023 +0000
   416.2 +++ b/linux-video/receipt	Sun Jan 14 08:12:37 2024 +0000
   416.3 @@ -1,7 +1,7 @@
   416.4  # SliTaz package receipt.
   416.5  
   416.6  PACKAGE="linux-video"
   416.7 -VERSION="4.19.294"
   416.8 +VERSION="4.19.298"
   416.9  CATEGORY="base-system"
  416.10  SHORT_DESC="The Linux kernel video modules."
  416.11  MAINTAINER="devel@slitaz.org"
   417.1 --- a/linux-wan/receipt	Mon Oct 16 18:37:14 2023 +0000
   417.2 +++ b/linux-wan/receipt	Sun Jan 14 08:12:37 2024 +0000
   417.3 @@ -1,7 +1,7 @@
   417.4  # SliTaz package receipt.
   417.5  
   417.6  PACKAGE="linux-wan"
   417.7 -VERSION="4.19.294"
   417.8 +VERSION="4.19.298"
   417.9  CATEGORY="base-system"
  417.10  SHORT_DESC="Wide Area Networks (WANs) kernel modules"
  417.11  MAINTAINER="slaxemulator@gmail.com"
   418.1 --- a/linux-wimax/receipt	Mon Oct 16 18:37:14 2023 +0000
   418.2 +++ b/linux-wimax/receipt	Sun Jan 14 08:12:37 2024 +0000
   418.3 @@ -1,7 +1,7 @@
   418.4  # SliTaz package receipt.
   418.5  
   418.6  PACKAGE="linux-wimax"
   418.7 -VERSION="4.19.294"
   418.8 +VERSION="4.19.298"
   418.9  CATEGORY="base-system"
  418.10  SHORT_DESC="The Linux kernel wimax modules."
  418.11  MAINTAINER="devel@slitaz.org"
   419.1 --- a/linux-wireless/receipt	Mon Oct 16 18:37:14 2023 +0000
   419.2 +++ b/linux-wireless/receipt	Sun Jan 14 08:12:37 2024 +0000
   419.3 @@ -1,7 +1,7 @@
   419.4  # SliTaz package receipt.
   419.5  
   419.6  PACKAGE="linux-wireless"
   419.7 -VERSION="4.19.294"
   419.8 +VERSION="4.19.298"
   419.9  CATEGORY="base-system"
  419.10  SHORT_DESC="The Linux kernel wireless modules."
  419.11  MAINTAINER="devel@slitaz.org"
   420.1 --- a/linux-without-modules-debug/receipt	Mon Oct 16 18:37:14 2023 +0000
   420.2 +++ b/linux-without-modules-debug/receipt	Sun Jan 14 08:12:37 2024 +0000
   420.3 @@ -1,7 +1,7 @@
   420.4  # SliTaz package receipt.
   420.5  
   420.6  PACKAGE="linux-without-modules-debug"
   420.7 -VERSION="4.19.294"
   420.8 +VERSION="4.19.298"
   420.9  CATEGORY="base-system"
  420.10  SHORT_DESC="The Linux kernel debug files."
  420.11  MAINTAINER="devel@slitaz.org"
   421.1 --- a/linux-without-modules/receipt	Mon Oct 16 18:37:14 2023 +0000
   421.2 +++ b/linux-without-modules/receipt	Sun Jan 14 08:12:37 2024 +0000
   421.3 @@ -1,7 +1,7 @@
   421.4  # SliTaz package receipt.
   421.5  
   421.6  PACKAGE="linux-without-modules"
   421.7 -VERSION="4.19.294"
   421.8 +VERSION="4.19.298"
   421.9  CATEGORY="base-system"
  421.10  SHORT_DESC="The Linux kernel without module support."
  421.11  MAINTAINER="devel@slitaz.org"
   422.1 --- a/linux-zram/receipt	Mon Oct 16 18:37:14 2023 +0000
   422.2 +++ b/linux-zram/receipt	Sun Jan 14 08:12:37 2024 +0000
   422.3 @@ -1,7 +1,7 @@
   422.4  # SliTaz package receipt.
   422.5  
   422.6  PACKAGE="linux-zram"
   422.7 -VERSION="4.19.294"
   422.8 +VERSION="4.19.298"
   422.9  CATEGORY="base-system"
  422.10  SHORT_DESC="Compressed caching"
  422.11  MAINTAINER="devel@slitaz.org"
   423.1 --- a/linux/receipt	Mon Oct 16 18:37:14 2023 +0000
   423.2 +++ b/linux/receipt	Sun Jan 14 08:12:37 2024 +0000
   423.3 @@ -1,7 +1,7 @@
   423.4  # SliTaz package receipt.
   423.5  
   423.6  PACKAGE="linux"
   423.7 -VERSION="4.19.294"
   423.8 +VERSION="4.19.298"
   423.9  CATEGORY="base-system"
  423.10  SHORT_DESC="The Linux kernel and modules."
  423.11  MAINTAINER="devel@slitaz.org"
  423.12 @@ -243,6 +243,10 @@
  423.13  	#patch -p1 < $stuff/linux-fix-format-overflow-gcc8.patch
  423.14  	#patch -p1 < $stuff/linux-fix-noreturn-attributes-gcc8.patch
  423.15  
  423.16 +	# Patch for Picasso AMDGPU, until switch to 5.x
  423.17 +	# see https://bugs.gentoo.org/696164
  423.18 +	patch -p1 < $stuff/picasso-amdgpu.patch
  423.19 +
  423.20  	# Mrproper
  423.21  	echo "Make kernel proper..."
  423.22  	make mrproper
  423.23 @@ -359,7 +363,59 @@
  423.24  		cp .config config-modules
  423.25          else                                                                                                                                                             
  423.26                  echo "* Skipping: x86 Kernel..."                                                                                                                      
  423.27 -        fi 
  423.28 +        fi
  423.29 +
  423.30 +	#
  423.31 +	# Linux Arch i386 - GCC arch i486 - PAE
  423.32 +	#
  423.33 +	if [ ! "$nopae" ]; then
  423.34 +                echo "Compiling: PAE Kernel..."
  423.35 +
  423.36 +                # Build PAE bzImage without modules first
  423.37 +                if [ ! "$nonomods" ]; then
  423.38 +                	 [ -d $DESTDIR/linux-pae ] || mkdir -p $DESTDIR/linux-pae ||
  423.39 +                	         return 1
  423.40 +                        cp -f $stuff/$PACKAGE-slitaz-pae.config .config
  423.41 +                        sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config
  423.42 +                        echo -e "\n* Configure bzImage PAE without modules...\n"
  423.43 +                        yes '' | make ARCH=i386 oldconfig
  423.44 +                        echo -e "\n* Building bzImage PAE without modules...\n"
  423.45 +                        make ARCH=i386 bzImage || exit 1
  423.46 +                        mv arch/x86/boot/bzImage $DESTDIR/linux-pae
  423.47 +                        mv System.map System.map-without-modules-pae
  423.48 +                        mv vmlinux vmlinux-without-modules-pae
  423.49 +                        mv .config config-without-modules-pae
  423.50 +                fi
  423.51 +
  423.52 +                # Build PAE bzImage with modules
  423.53 +                cp -f $stuff/$PACKAGE-slitaz-pae.config .config
  423.54 +                echo -e "\n* Configure bzImage PAE with modules...\n"
  423.55 +                yes '' | make ARCH=i386 oldconfig
  423.56 +                echo -e "\n* Building bzImage PAE with modules...\n"
  423.57 +                make ARCH=i386 bzImage &&
  423.58 +                make ARCH=i386 modules &&
  423.59 +                make ARCH=i386 INSTALL_MOD_PATH=$DESTDIR/linux-pae modules_install &&
  423.60 +                make ARCH=i386 INSTALL_HDR_PATH=$DESTDIR/linux-pae/usr headers_install &&
  423.61 +                ln .config $WOK/$PACKAGE/source/slitaz/configpae
  423.62 +                [ -s arch/x86/boot/bzImage ] || return 1
  423.63 +                mkdir -p $DESTDIR/linux-pae/boot 2> /dev/null
  423.64 +                mv arch/x86/boot/bzImage $DESTDIR/linux-pae/boot/vmlinuz-$VERSION-slitaz-pae
  423.65 +                KVERSION=$VERSION-slitaz-pae
  423.66 +                install_module_headers $DESTDIR/linux-pae
  423.67 +
  423.68 +                # Compress all modules.
  423.69 +                if [ -d "$DESTDIR/linux-pae/lib/modules/$VERSION-slitaz-pae" ]; then
  423.70 +                        $stuff/gztazmod.sh $DESTDIR/linux-pae/lib/modules/$VERSION-slitaz-pae
  423.71 +                else
  423.72 +                        return 1
  423.73 +                fi
  423.74 +                ln System.map System.map-modules-pae
  423.75 +                ln vmlinux vmlinux-modules-pae
  423.76 +                ln Module.symvers Module.symvers-modules-pae
  423.77 +                cp .config config-modules-pae
  423.78 +	else
  423.79 +                echo "* Skipping: x86 PAE Kernel..."
  423.80 +	fi
  423.81  }
  423.82  
  423.83  # Rules to gen a SliTaz package suitable for Tazpkg.
   424.1 --- a/linux/stuff/linux-slitaz.config	Mon Oct 16 18:37:14 2023 +0000
   424.2 +++ b/linux/stuff/linux-slitaz.config	Sun Jan 14 08:12:37 2024 +0000
   424.3 @@ -1,13 +1,13 @@
   424.4  #
   424.5  # Automatically generated file; DO NOT EDIT.
   424.6 -# Linux/i386 4.19.294 Kernel Configuration
   424.7 -#
   424.8 -
   424.9 -#
  424.10 -# Compiler: gcc (SliTaz) 6.3.0
  424.11 +# Linux/i386 4.19.298 Kernel Configuration
  424.12 +#
  424.13 +
  424.14 +#
  424.15 +# Compiler: gcc (SliTaz) 8.3.0
  424.16  #
  424.17  CONFIG_CC_IS_GCC=y
  424.18 -CONFIG_GCC_VERSION=60300
  424.19 +CONFIG_GCC_VERSION=80300
  424.20  CONFIG_CLANG_VERSION=0
  424.21  CONFIG_CC_HAS_ASM_GOTO=y
  424.22  CONFIG_IRQ_WORK=y
  424.23 @@ -1345,8 +1345,6 @@
  424.24  CONFIG_NET_CLS_U32=m
  424.25  CONFIG_CLS_U32_PERF=y
  424.26  CONFIG_CLS_U32_MARK=y
  424.27 -CONFIG_NET_CLS_RSVP=m
  424.28 -CONFIG_NET_CLS_RSVP6=m
  424.29  CONFIG_NET_CLS_FLOW=m
  424.30  CONFIG_NET_CLS_CGROUP=m
  424.31  CONFIG_NET_CLS_BPF=m
  424.32 @@ -1748,7 +1746,6 @@
  424.33  CONFIG_BLK_DEV_DRBD=m
  424.34  # CONFIG_DRBD_FAULT_INJECTION is not set
  424.35  CONFIG_BLK_DEV_NBD=m
  424.36 -CONFIG_BLK_DEV_SX8=m
  424.37  CONFIG_BLK_DEV_RAM=y
  424.38  CONFIG_BLK_DEV_RAM_COUNT=16
  424.39  CONFIG_BLK_DEV_RAM_SIZE=4096
   425.1 --- a/linux/stuff/linux-slitaz.config64	Mon Oct 16 18:37:14 2023 +0000
   425.2 +++ b/linux/stuff/linux-slitaz.config64	Sun Jan 14 08:12:37 2024 +0000
   425.3 @@ -1,6 +1,6 @@
   425.4  #
   425.5  # Automatically generated file; DO NOT EDIT.
   425.6 -# Linux/x86_64 4.19.294 Kernel Configuration
   425.7 +# Linux/x86_64 4.19.298 Kernel Configuration
   425.8  #
   425.9  
  425.10  #
  425.11 @@ -1333,8 +1333,6 @@
  425.12  CONFIG_NET_CLS_U32=m
  425.13  CONFIG_CLS_U32_PERF=y
  425.14  CONFIG_CLS_U32_MARK=y
  425.15 -CONFIG_NET_CLS_RSVP=m
  425.16 -CONFIG_NET_CLS_RSVP6=m
  425.17  CONFIG_NET_CLS_FLOW=m
  425.18  CONFIG_NET_CLS_CGROUP=m
  425.19  CONFIG_NET_CLS_BPF=m
  425.20 @@ -1734,7 +1732,6 @@
  425.21  # CONFIG_DRBD_FAULT_INJECTION is not set
  425.22  CONFIG_BLK_DEV_NBD=m
  425.23  # CONFIG_BLK_DEV_SKD is not set
  425.24 -CONFIG_BLK_DEV_SX8=m
  425.25  CONFIG_BLK_DEV_RAM=y
  425.26  CONFIG_BLK_DEV_RAM_COUNT=16
  425.27  CONFIG_BLK_DEV_RAM_SIZE=4096
  425.28 @@ -4387,6 +4384,7 @@
  425.29  # CONFIG_DRM_DP_CEC is not set
  425.30  CONFIG_DRM_TTM=m
  425.31  CONFIG_DRM_VM=y
  425.32 +CONFIG_DRM_SCHED=m
  425.33  
  425.34  #
  425.35  # I2C encoder or helper chips
  425.36 @@ -4397,15 +4395,29 @@
  425.37  # CONFIG_DRM_I2C_NXP_TDA9950 is not set
  425.38  CONFIG_DRM_RADEON=m
  425.39  # CONFIG_DRM_RADEON_USERPTR is not set
  425.40 -# CONFIG_DRM_AMDGPU is not set
  425.41 +CONFIG_DRM_AMDGPU=m
  425.42 +# CONFIG_DRM_AMDGPU_SI is not set
  425.43 +# CONFIG_DRM_AMDGPU_CIK is not set
  425.44 +# CONFIG_DRM_AMDGPU_USERPTR is not set
  425.45  
  425.46  #
  425.47  # ACP (Audio CoProcessor) Configuration
  425.48  #
  425.49 +# CONFIG_DRM_AMD_ACP is not set
  425.50 +
  425.51 +#
  425.52 +# Display Engine Configuration
  425.53 +#
  425.54 +CONFIG_DRM_AMD_DC=y
  425.55 +CONFIG_DRM_AMD_DC_DCN1_0=y
  425.56 +# CONFIG_DEBUG_KERNEL_DC is not set
  425.57  
  425.58  #
  425.59  # AMD Library routines
  425.60  #
  425.61 +CONFIG_CHASH=m
  425.62 +# CONFIG_CHASH_STATS is not set
  425.63 +# CONFIG_CHASH_SELFTEST is not set
  425.64  CONFIG_DRM_NOUVEAU=m
  425.65  CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=y
  425.66  CONFIG_NOUVEAU_DEBUG=5
  425.67 @@ -4445,6 +4457,7 @@
  425.68  # Display Interface Bridges
  425.69  #
  425.70  # CONFIG_DRM_ANALOGIX_ANX78XX is not set
  425.71 +# CONFIG_HSA_AMD is not set
  425.72  # CONFIG_DRM_HISI_HIBMC is not set
  425.73  # CONFIG_DRM_TINYDRM is not set
  425.74  # CONFIG_DRM_LEGACY is not set
   426.1 --- a/linux64-acpi/receipt	Mon Oct 16 18:37:14 2023 +0000
   426.2 +++ b/linux64-acpi/receipt	Sun Jan 14 08:12:37 2024 +0000
   426.3 @@ -1,7 +1,7 @@
   426.4  # SliTaz package receipt.
   426.5  
   426.6  PACKAGE="linux64-acpi"
   426.7 -VERSION="4.19.294"
   426.8 +VERSION="4.19.298"
   426.9  CATEGORY="base-system"
  426.10  SHORT_DESC="The Linux kernel acpi modules."
  426.11  DEPENDS="linux64"
   427.1 --- a/linux64-agp/receipt	Mon Oct 16 18:37:14 2023 +0000
   427.2 +++ b/linux64-agp/receipt	Sun Jan 14 08:12:37 2024 +0000
   427.3 @@ -1,7 +1,7 @@
   427.4  # SliTaz package receipt.
   427.5  
   427.6  PACKAGE="linux64-agp"
   427.7 -VERSION="4.19.294"
   427.8 +VERSION="4.19.298"
   427.9  CATEGORY="base-system"
  427.10  SHORT_DESC="The Linux kernel AGP modules."
  427.11  MAINTAINER="erjo@slitaz.org"
   428.1 --- a/linux64-aoe/receipt	Mon Oct 16 18:37:14 2023 +0000
   428.2 +++ b/linux64-aoe/receipt	Sun Jan 14 08:12:37 2024 +0000
   428.3 @@ -1,7 +1,7 @@
   428.4  # SliTaz package receipt.
   428.5  
   428.6  PACKAGE="linux64-aoe"
   428.7 -VERSION="4.19.294"
   428.8 +VERSION="4.19.298"
   428.9  CATEGORY="base-system"
  428.10  SHORT_DESC="The Linux kernel ATA over Ethernet modules."
  428.11  MAINTAINER="devel@slitaz.org"
   429.1 --- a/linux64-appletalk/receipt	Mon Oct 16 18:37:14 2023 +0000
   429.2 +++ b/linux64-appletalk/receipt	Sun Jan 14 08:12:37 2024 +0000
   429.3 @@ -1,7 +1,7 @@
   429.4  # SliTaz package receipt.
   429.5  
   429.6  PACKAGE="linux64-appletalk"
   429.7 -VERSION="4.19.294"
   429.8 +VERSION="4.19.298"
   429.9  CATEGORY="base-system"
  429.10  SHORT_DESC="The Linux kernel appletalk modules."
  429.11  MAINTAINER="devel@slitaz.org"
   430.1 --- a/linux64-arcnet/receipt	Mon Oct 16 18:37:14 2023 +0000
   430.2 +++ b/linux64-arcnet/receipt	Sun Jan 14 08:12:37 2024 +0000
   430.3 @@ -1,7 +1,7 @@
   430.4  # SliTaz package receipt.
   430.5  
   430.6  PACKAGE="linux64-arcnet"
   430.7 -VERSION="4.19.294"
   430.8 +VERSION="4.19.298"
   430.9  CATEGORY="base-system"
  430.10  SHORT_DESC="arcnet kernel modules"
  430.11  MAINTAINER="slaxemulator@gmail.com"
   431.1 --- a/linux64-autofs/receipt	Mon Oct 16 18:37:14 2023 +0000
   431.2 +++ b/linux64-autofs/receipt	Sun Jan 14 08:12:37 2024 +0000
   431.3 @@ -1,7 +1,7 @@
   431.4  # SliTaz package receipt.
   431.5  
   431.6  PACKAGE="linux64-autofs"
   431.7 -VERSION="4.19.294"
   431.8 +VERSION="4.19.298"
   431.9  CATEGORY="base-system"
  431.10  SHORT_DESC="The Linux kernel automounter module."
  431.11  MAINTAINER="devel@slitaz.org"
   432.1 --- a/linux64-bluetooth/receipt	Mon Oct 16 18:37:14 2023 +0000
   432.2 +++ b/linux64-bluetooth/receipt	Sun Jan 14 08:12:37 2024 +0000
   432.3 @@ -1,7 +1,7 @@
   432.4  # SliTaz package receipt.
   432.5  
   432.6  PACKAGE="linux64-bluetooth"
   432.7 -VERSION="4.19.294"
   432.8 +VERSION="4.19.298"
   432.9  CATEGORY="base-system"
  432.10  SHORT_DESC="The Linux kernel bluetooth modules."
  432.11  MAINTAINER="devel@slitaz.org"
   433.1 --- a/linux64-bridge/receipt	Mon Oct 16 18:37:14 2023 +0000
   433.2 +++ b/linux64-bridge/receipt	Sun Jan 14 08:12:37 2024 +0000
   433.3 @@ -1,7 +1,7 @@
   433.4  # SliTaz package receipt.
   433.5  
   433.6  PACKAGE="linux64-bridge"
   433.7 -VERSION="4.19.294"
   433.8 +VERSION="4.19.298"
   433.9  CATEGORY="base-system"
  433.10  SHORT_DESC="The Linux kernel bridge modules."
  433.11  MAINTAINER="devel@slitaz.org"
   434.1 --- a/linux64-chrome/receipt	Mon Oct 16 18:37:14 2023 +0000
   434.2 +++ b/linux64-chrome/receipt	Sun Jan 14 08:12:37 2024 +0000
   434.3 @@ -1,7 +1,7 @@
   434.4  # SliTaz package receipt.
   434.5  
   434.6  PACKAGE="linux64-chrome"
   434.7 -VERSION="4.19.294"
   434.8 +VERSION="4.19.298"
   434.9  CATEGORY="base-system"
  434.10  SHORT_DESC="The Linux kernel chromebook modules."
  434.11  MAINTAINER="devel@slitaz.org"
   435.1 --- a/linux64-cifs/receipt	Mon Oct 16 18:37:14 2023 +0000
   435.2 +++ b/linux64-cifs/receipt	Sun Jan 14 08:12:37 2024 +0000
   435.3 @@ -1,7 +1,7 @@
   435.4  # SliTaz package receipt.
   435.5  
   435.6  PACKAGE="linux64-cifs"
   435.7 -VERSION="4.19.294"
   435.8 +VERSION="4.19.298"
   435.9  CATEGORY="base-system"
  435.10  SHORT_DESC="The Linux kernel cifs module."
  435.11  MAINTAINER="devel@slitaz.org"
   436.1 --- a/linux64-coda/receipt	Mon Oct 16 18:37:14 2023 +0000
   436.2 +++ b/linux64-coda/receipt	Sun Jan 14 08:12:37 2024 +0000
   436.3 @@ -1,7 +1,7 @@
   436.4  # SliTaz package receipt.
   436.5  
   436.6  PACKAGE="linux64-coda"
   436.7 -VERSION="4.19.294"
   436.8 +VERSION="4.19.298"
   436.9  CATEGORY="base-system"
  436.10  SHORT_DESC="The Linux kernel coda module."
  436.11  MAINTAINER="devel@slitaz.org"
   437.1 --- a/linux64-configfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   437.2 +++ b/linux64-configfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   437.3 @@ -1,7 +1,7 @@
   437.4  # SliTaz package receipt.
   437.5  
   437.6  PACKAGE="linux64-configfs"
   437.7 -VERSION="4.19.294"
   437.8 +VERSION="4.19.298"
   437.9  CATEGORY="base-system"
  437.10  SHORT_DESC="The Linux kernel configfs module."
  437.11  MAINTAINER="devel@slitaz.org"
   438.1 --- a/linux64-cpufreq/receipt	Mon Oct 16 18:37:14 2023 +0000
   438.2 +++ b/linux64-cpufreq/receipt	Sun Jan 14 08:12:37 2024 +0000
   438.3 @@ -1,7 +1,7 @@
   438.4  # SliTaz package receipt.
   438.5  
   438.6  PACKAGE="linux64-cpufreq"
   438.7 -VERSION="4.19.294"
   438.8 +VERSION="4.19.298"
   438.9  CATEGORY="base-system"
  438.10  SHORT_DESC="The Linux kernel cpufreq modules."
  438.11  MAINTAINER="devel@slitaz.org"
   439.1 --- a/linux64-cramfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   439.2 +++ b/linux64-cramfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   439.3 @@ -1,7 +1,7 @@
   439.4  # SliTaz package receipt.
   439.5  
   439.6  PACKAGE="linux64-cramfs"
   439.7 -VERSION="4.19.294"
   439.8 +VERSION="4.19.298"
   439.9  CATEGORY="base-system"
  439.10  SHORT_DESC="The Linux kernel cramfs module."
  439.11  MAINTAINER="devel@slitaz.org"
   440.1 --- a/linux64-crypto/receipt	Mon Oct 16 18:37:14 2023 +0000
   440.2 +++ b/linux64-crypto/receipt	Sun Jan 14 08:12:37 2024 +0000
   440.3 @@ -1,7 +1,7 @@
   440.4  # SliTaz package receipt.
   440.5  
   440.6  PACKAGE="linux64-crypto"
   440.7 -VERSION="4.19.294"
   440.8 +VERSION="4.19.298"
   440.9  CATEGORY="base-system"
  440.10  SHORT_DESC="The Linux kernel crypto modules."
  440.11  MAINTAINER="devel@slitaz.org"
   441.1 --- a/linux64-cryptoloop/receipt	Mon Oct 16 18:37:14 2023 +0000
   441.2 +++ b/linux64-cryptoloop/receipt	Sun Jan 14 08:12:37 2024 +0000
   441.3 @@ -1,7 +1,7 @@
   441.4  # SliTaz package receipt.
   441.5  
   441.6  PACKAGE="linux64-cryptoloop"
   441.7 -VERSION="4.19.294"
   441.8 +VERSION="4.19.298"
   441.9  CATEGORY="base-system"
  441.10  SHORT_DESC="The Linux kernel cryptoloop modules."
  441.11  MAINTAINER="devel@slitaz.org"
   442.1 --- a/linux64-debug/receipt	Mon Oct 16 18:37:14 2023 +0000
   442.2 +++ b/linux64-debug/receipt	Sun Jan 14 08:12:37 2024 +0000
   442.3 @@ -1,7 +1,7 @@
   442.4  # SliTaz package receipt.
   442.5  
   442.6  PACKAGE="linux64-debug"
   442.7 -VERSION="4.19.294"
   442.8 +VERSION="4.19.298"
   442.9  CATEGORY="base-system"
  442.10  SHORT_DESC="The Linux kernel debug files."
  442.11  MAINTAINER="devel@slitaz.org"
   443.1 --- a/linux64-dialup/receipt	Mon Oct 16 18:37:14 2023 +0000
   443.2 +++ b/linux64-dialup/receipt	Sun Jan 14 08:12:37 2024 +0000
   443.3 @@ -1,7 +1,7 @@
   443.4  # SliTaz package receipt.
   443.5  
   443.6  PACKAGE="linux64-dialup"
   443.7 -VERSION="4.19.294"
   443.8 +VERSION="4.19.298"
   443.9  CATEGORY="base-system"
  443.10  SHORT_DESC="The Linux kernel dial-up modules."
  443.11  MAINTAINER="domcox@slitaz.org"
   444.1 --- a/linux64-dlm/receipt	Mon Oct 16 18:37:14 2023 +0000
   444.2 +++ b/linux64-dlm/receipt	Sun Jan 14 08:12:37 2024 +0000
   444.3 @@ -1,7 +1,7 @@
   444.4  # SliTaz package receipt.
   444.5  
   444.6  PACKAGE="linux64-dlm"
   444.7 -VERSION="4.19.294"
   444.8 +VERSION="4.19.298"
   444.9  CATEGORY="base-system"
  444.10  SHORT_DESC="The Linux kernel dlmfs module."
  444.11  MAINTAINER="devel@slitaz.org"
   445.1 --- a/linux64-drm/receipt	Mon Oct 16 18:37:14 2023 +0000
   445.2 +++ b/linux64-drm/receipt	Sun Jan 14 08:12:37 2024 +0000
   445.3 @@ -1,7 +1,7 @@
   445.4  # SliTaz package receipt.
   445.5  
   445.6  PACKAGE="linux64-drm"
   445.7 -VERSION="4.19.294"
   445.8 +VERSION="4.19.298"
   445.9  CATEGORY="base-system"
  445.10  SHORT_DESC="The Linux kernel drm module."
  445.11  MAINTAINER="devel@slitaz.org"
   446.1 --- a/linux64-ecryptfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   446.2 +++ b/linux64-ecryptfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   446.3 @@ -1,7 +1,7 @@
   446.4  # SliTaz package receipt.
   446.5  
   446.6  PACKAGE="linux64-ecryptfs"
   446.7 -VERSION="4.19.294"
   446.8 +VERSION="4.19.298"
   446.9  CATEGORY="base-system"
  446.10  SHORT_DESC="The Linux kernel ecryptfs module."
  446.11  MAINTAINER="devel@slitaz.org"
   447.1 --- a/linux64-exofs/receipt	Mon Oct 16 18:37:14 2023 +0000
   447.2 +++ b/linux64-exofs/receipt	Sun Jan 14 08:12:37 2024 +0000
   447.3 @@ -1,7 +1,7 @@
   447.4  # SliTaz package receipt.
   447.5  
   447.6  PACKAGE="linux64-exofs"
   447.7 -VERSION="4.19.294"
   447.8 +VERSION="4.19.298"
   447.9  CATEGORY="base-system"
  447.10  SHORT_DESC="The Linux kernel OSD based file system module."
  447.11  MAINTAINER="devel@slitaz.org"
   448.1 --- a/linux64-firewire/receipt	Mon Oct 16 18:37:14 2023 +0000
   448.2 +++ b/linux64-firewire/receipt	Sun Jan 14 08:12:37 2024 +0000
   448.3 @@ -1,7 +1,7 @@
   448.4  # SliTaz package receipt.
   448.5  
   448.6  PACKAGE="linux64-firewire"
   448.7 -VERSION="4.19.294"
   448.8 +VERSION="4.19.298"
   448.9  CATEGORY="base-system"
  448.10  SHORT_DESC="The Linux kernel firewire modules."
  448.11  MAINTAINER="devel@slitaz.org"
   449.1 --- a/linux64-gfs2/receipt	Mon Oct 16 18:37:14 2023 +0000
   449.2 +++ b/linux64-gfs2/receipt	Sun Jan 14 08:12:37 2024 +0000
   449.3 @@ -1,7 +1,7 @@
   449.4  # SliTaz package receipt.
   449.5  
   449.6  PACKAGE="linux64-gfs2"
   449.7 -VERSION="4.19.294"
   449.8 +VERSION="4.19.298"
   449.9  CATEGORY="base-system"
  449.10  SHORT_DESC="The Linux kernel gfs2 module."
  449.11  MAINTAINER="devel@slitaz.org"
   450.1 --- a/linux64-hfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   450.2 +++ b/linux64-hfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   450.3 @@ -1,7 +1,7 @@
   450.4  # SliTaz package receipt.
   450.5  
   450.6  PACKAGE="linux64-hfs"
   450.7 -VERSION="4.19.294"
   450.8 +VERSION="4.19.298"
   450.9  CATEGORY="base-system"
  450.10  SHORT_DESC="The Linux kernel hfs module."
  450.11  MAINTAINER="devel@slitaz.org"
   451.1 --- a/linux64-hfsplus/receipt	Mon Oct 16 18:37:14 2023 +0000
   451.2 +++ b/linux64-hfsplus/receipt	Sun Jan 14 08:12:37 2024 +0000
   451.3 @@ -1,7 +1,7 @@
   451.4  # SliTaz package receipt.
   451.5  
   451.6  PACKAGE="linux64-hfsplus"
   451.7 -VERSION="4.19.294"
   451.8 +VERSION="4.19.298"
   451.9  CATEGORY="base-system"
  451.10  SHORT_DESC="The Linux kernel hfsplus module."
  451.11  MAINTAINER="devel@slitaz.org"
   452.1 --- a/linux64-hwmon/receipt	Mon Oct 16 18:37:14 2023 +0000
   452.2 +++ b/linux64-hwmon/receipt	Sun Jan 14 08:12:37 2024 +0000
   452.3 @@ -1,7 +1,7 @@
   452.4  # SliTaz package receipt.
   452.5  
   452.6  PACKAGE="linux64-hwmon"
   452.7 -VERSION="4.19.294"
   452.8 +VERSION="4.19.298"
   452.9  CATEGORY="base-system"
  452.10  SHORT_DESC="The Linux kernel hwmon modules."
  452.11  MAINTAINER="devel@slitaz.org"
   453.1 --- a/linux64-input-misc/receipt	Mon Oct 16 18:37:14 2023 +0000
   453.2 +++ b/linux64-input-misc/receipt	Sun Jan 14 08:12:37 2024 +0000
   453.3 @@ -1,7 +1,7 @@
   453.4  # SliTaz package receipt.
   453.5  
   453.6  PACKAGE="linux64-input-misc"
   453.7 -VERSION="4.19.294"
   453.8 +VERSION="4.19.298"
   453.9  CATEGORY="base-system"
  453.10  SHORT_DESC="The Linux kernel misc. input drivers, including the ATI RemoteWonders."
  453.11  MAINTAINER="rcx@zoominternet.net"
   454.1 --- a/linux64-input-tablet/receipt	Mon Oct 16 18:37:14 2023 +0000
   454.2 +++ b/linux64-input-tablet/receipt	Sun Jan 14 08:12:37 2024 +0000
   454.3 @@ -1,7 +1,7 @@
   454.4  # SliTaz package receipt.
   454.5  
   454.6  PACKAGE="linux64-input-tablet"
   454.7 -VERSION="4.19.294"
   454.8 +VERSION="4.19.298"
   454.9  CATEGORY="base-system"
  454.10  SHORT_DESC="The Linux kernel tablet input drivers."
  454.11  MAINTAINER="rcx@zoominternet.net"
   455.1 --- a/linux64-input-touchscreen/receipt	Mon Oct 16 18:37:14 2023 +0000
   455.2 +++ b/linux64-input-touchscreen/receipt	Sun Jan 14 08:12:37 2024 +0000
   455.3 @@ -1,7 +1,7 @@
   455.4  # SliTaz package receipt.
   455.5  
   455.6  PACKAGE="linux64-input-touchscreen"
   455.7 -VERSION="4.19.294"
   455.8 +VERSION="4.19.298"
   455.9  CATEGORY="base-system"
  455.10  SHORT_DESC="The Linux kernel touchscreen input drivers."
  455.11  MAINTAINER="jozee@slitaz.org"
   456.1 --- a/linux64-ipv6/receipt	Mon Oct 16 18:37:14 2023 +0000
   456.2 +++ b/linux64-ipv6/receipt	Sun Jan 14 08:12:37 2024 +0000
   456.3 @@ -1,7 +1,7 @@
   456.4  # SliTaz package receipt.
   456.5  
   456.6  PACKAGE="linux64-ipv6"
   456.7 -VERSION="4.19.294"
   456.8 +VERSION="4.19.298"
   456.9  CATEGORY="base-system"
  456.10  SHORT_DESC="The Linux kernel ipv6 modules."
  456.11  MAINTAINER="devel@slitaz.org"
   457.1 --- a/linux64-irda/receipt	Mon Oct 16 18:37:14 2023 +0000
   457.2 +++ b/linux64-irda/receipt	Sun Jan 14 08:12:37 2024 +0000
   457.3 @@ -1,7 +1,7 @@
   457.4  # SliTaz package receipt.
   457.5  
   457.6  PACKAGE="linux64-irda"
   457.7 -VERSION="4.19.294"
   457.8 +VERSION="4.19.298"
   457.9  CATEGORY="base-system"
  457.10  SHORT_DESC="The Linux kernel irda modules."
  457.11  MAINTAINER="devel@slitaz.org"
   458.1 --- a/linux64-isdn/receipt	Mon Oct 16 18:37:14 2023 +0000
   458.2 +++ b/linux64-isdn/receipt	Sun Jan 14 08:12:37 2024 +0000
   458.3 @@ -1,7 +1,7 @@
   458.4  # SliTaz package receipt.
   458.5  
   458.6  PACKAGE="linux64-isdn"
   458.7 -VERSION="4.19.294"
   458.8 +VERSION="4.19.298"
   458.9  CATEGORY="base-system"
  458.10  SHORT_DESC="The Linux kernel isdn modules."
  458.11  MAINTAINER="devel@slitaz.org"
   459.1 --- a/linux64-jfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   459.2 +++ b/linux64-jfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   459.3 @@ -1,7 +1,7 @@
   459.4  # SliTaz package receipt.
   459.5  
   459.6  PACKAGE="linux64-jfs"
   459.7 -VERSION="4.19.294"
   459.8 +VERSION="4.19.298"
   459.9  CATEGORY="base-system"
  459.10  SHORT_DESC="The Linux kernel jfs module."
  459.11  MAINTAINER="devel@slitaz.org"
   460.1 --- a/linux64-joystick/receipt	Mon Oct 16 18:37:14 2023 +0000
   460.2 +++ b/linux64-joystick/receipt	Sun Jan 14 08:12:37 2024 +0000
   460.3 @@ -1,7 +1,7 @@
   460.4  # SliTaz package receipt.
   460.5  
   460.6  PACKAGE="linux64-joystick"
   460.7 -VERSION="4.19.294"
   460.8 +VERSION="4.19.298"
   460.9  CATEGORY="base-system"
  460.10  SHORT_DESC="The Linux kernel joystick modules."
  460.11  MAINTAINER="devel@slitaz.org"
   461.1 --- a/linux64-kvm/receipt	Mon Oct 16 18:37:14 2023 +0000
   461.2 +++ b/linux64-kvm/receipt	Sun Jan 14 08:12:37 2024 +0000
   461.3 @@ -1,7 +1,7 @@
   461.4  # SliTaz package receipt.
   461.5  
   461.6  PACKAGE="linux64-kvm"
   461.7 -VERSION="4.19.294"
   461.8 +VERSION="4.19.298"
   461.9  CATEGORY="base-system"
  461.10  SHORT_DESC="The Linux kernel kvm and virtio modules."
  461.11  MAINTAINER="devel@slitaz.org"
   462.1 --- a/linux64-logfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   462.2 +++ b/linux64-logfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   462.3 @@ -1,7 +1,7 @@
   462.4  # SliTaz package receipt.
   462.5  
   462.6  PACKAGE="linux64-logfs"
   462.7 -VERSION="4.19.294"
   462.8 +VERSION="4.19.298"
   462.9  CATEGORY="base-system"
  462.10  SHORT_DESC="The Linux kernel logfs module."
  462.11  MAINTAINER="devel@slitaz.org"
   463.1 --- a/linux64-md/receipt	Mon Oct 16 18:37:14 2023 +0000
   463.2 +++ b/linux64-md/receipt	Sun Jan 14 08:12:37 2024 +0000
   463.3 @@ -1,7 +1,7 @@
   463.4  # SliTaz package receipt.
   463.5  
   463.6  PACKAGE="linux64-md"
   463.7 -VERSION="4.19.294"
   463.8 +VERSION="4.19.298"
   463.9  CATEGORY="base-system"
  463.10  SHORT_DESC="The Linux kernel md modules."
  463.11  MAINTAINER="devel@slitaz.org"
   464.1 --- a/linux64-media/receipt	Mon Oct 16 18:37:14 2023 +0000
   464.2 +++ b/linux64-media/receipt	Sun Jan 14 08:12:37 2024 +0000
   464.3 @@ -1,7 +1,7 @@
   464.4  # SliTaz package receipt.
   464.5  
   464.6  PACKAGE="linux64-media"
   464.7 -VERSION="4.19.294"
   464.8 +VERSION="4.19.298"
   464.9  CATEGORY="base-system"
  464.10  SHORT_DESC="The Linux kernel media modules."
  464.11  MAINTAINER="slaxemulator@gmail.com"
   465.1 --- a/linux64-memstick/receipt	Mon Oct 16 18:37:14 2023 +0000
   465.2 +++ b/linux64-memstick/receipt	Sun Jan 14 08:12:37 2024 +0000
   465.3 @@ -1,7 +1,7 @@
   465.4  # SliTaz package receipt.
   465.5  
   465.6  PACKAGE="linux64-memstick"
   465.7 -VERSION="4.19.294"
   465.8 +VERSION="4.19.298"
   465.9  CATEGORY="base-system"
  465.10  SHORT_DESC="The Linux kernel sony memory stick modules."
  465.11  MAINTAINER="devel@slitaz.org"
   466.1 --- a/linux64-minix/receipt	Mon Oct 16 18:37:14 2023 +0000
   466.2 +++ b/linux64-minix/receipt	Sun Jan 14 08:12:37 2024 +0000
   466.3 @@ -1,7 +1,7 @@
   466.4  # SliTaz package receipt.
   466.5  
   466.6  PACKAGE="linux64-minix"
   466.7 -VERSION="4.19.294"
   466.8 +VERSION="4.19.298"
   466.9  CATEGORY="base-system"
  466.10  SHORT_DESC="The Linux kernel minix module."
  466.11  MAINTAINER="devel@slitaz.org"
   467.1 --- a/linux64-mmc/receipt	Mon Oct 16 18:37:14 2023 +0000
   467.2 +++ b/linux64-mmc/receipt	Sun Jan 14 08:12:37 2024 +0000
   467.3 @@ -1,7 +1,7 @@
   467.4  # SliTaz package receipt.
   467.5  
   467.6  PACKAGE="linux64-mmc"
   467.7 -VERSION="4.19.294"
   467.8 +VERSION="4.19.298"
   467.9  CATEGORY="base-system"
  467.10  SHORT_DESC="The Linux kernel MMC modules."
  467.11  MAINTAINER="pascal.bellard@slitaz.org"
   468.1 --- a/linux64-module-headers/receipt	Mon Oct 16 18:37:14 2023 +0000
   468.2 +++ b/linux64-module-headers/receipt	Sun Jan 14 08:12:37 2024 +0000
   468.3 @@ -1,7 +1,7 @@
   468.4  # SliTaz package receipt.
   468.5  
   468.6  PACKAGE="linux64-module-headers"
   468.7 -VERSION="4.19.294"
   468.8 +VERSION="4.19.298"
   468.9  CATEGORY="development"
  468.10  SHORT_DESC="Header files and scripts for building modules for linux kernel."
  468.11  MAINTAINER="devel@slitaz.org"
   469.1 --- a/linux64-mwave/receipt	Mon Oct 16 18:37:14 2023 +0000
   469.2 +++ b/linux64-mwave/receipt	Sun Jan 14 08:12:37 2024 +0000
   469.3 @@ -1,7 +1,7 @@
   469.4  # SliTaz package receipt.
   469.5  
   469.6  PACKAGE="linux64-mwave"
   469.7 -VERSION="4.19.294"
   469.8 +VERSION="4.19.298"
   469.9  CATEGORY="base-system"
  469.10  SHORT_DESC="The Linux kernel ACP Modem driver module (for IBM Thinkpad)"
  469.11  MAINTAINER="devel@slitaz.org"
   470.1 --- a/linux64-nbd/receipt	Mon Oct 16 18:37:14 2023 +0000
   470.2 +++ b/linux64-nbd/receipt	Sun Jan 14 08:12:37 2024 +0000
   470.3 @@ -1,7 +1,7 @@
   470.4  # SliTaz package receipt.
   470.5  
   470.6  PACKAGE="linux64-nbd"
   470.7 -VERSION="4.19.294"
   470.8 +VERSION="4.19.298"
   470.9  CATEGORY="base-system"
  470.10  SHORT_DESC="The Linux kernel network block device modules."
  470.11  MAINTAINER="devel@slitaz.org"
   471.1 --- a/linux64-ncpfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   471.2 +++ b/linux64-ncpfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   471.3 @@ -1,7 +1,7 @@
   471.4  # SliTaz package receipt.
   471.5  
   471.6  PACKAGE="linux64-ncpfs"
   471.7 -VERSION="4.19.294"
   471.8 +VERSION="4.19.298"
   471.9  CATEGORY="base-system"
  471.10  SHORT_DESC="The Linux kernel ncpfs module."
  471.11  MAINTAINER="devel@slitaz.org"
   472.1 --- a/linux64-netfilter/receipt	Mon Oct 16 18:37:14 2023 +0000
   472.2 +++ b/linux64-netfilter/receipt	Sun Jan 14 08:12:37 2024 +0000
   472.3 @@ -1,7 +1,7 @@
   472.4  # SliTaz package receipt.
   472.5  
   472.6  PACKAGE="linux64-netfilter"
   472.7 -VERSION="4.19.294"
   472.8 +VERSION="4.19.298"
   472.9  CATEGORY="base-system"
  472.10  SHORT_DESC="The Linux kernel netfilter modules."
  472.11  MAINTAINER="devel@slitaz.org"
   473.1 --- a/linux64-nfsd/receipt	Mon Oct 16 18:37:14 2023 +0000
   473.2 +++ b/linux64-nfsd/receipt	Sun Jan 14 08:12:37 2024 +0000
   473.3 @@ -1,7 +1,7 @@
   473.4  # SliTaz package receipt.
   473.5  
   473.6  PACKAGE="linux64-nfsd"
   473.7 -VERSION="4.19.294"
   473.8 +VERSION="4.19.298"
   473.9  CATEGORY="base-system"
  473.10  SHORT_DESC="The Linux kernel NFS server module."
  473.11  MAINTAINER="devel@slitaz.org"
   474.1 --- a/linux64-ocfs2/receipt	Mon Oct 16 18:37:14 2023 +0000
   474.2 +++ b/linux64-ocfs2/receipt	Sun Jan 14 08:12:37 2024 +0000
   474.3 @@ -1,7 +1,7 @@
   474.4  # SliTaz package receipt.
   474.5  
   474.6  PACKAGE="linux64-ocfs2"
   474.7 -VERSION="4.19.294"
   474.8 +VERSION="4.19.298"
   474.9  CATEGORY="base-system"
  474.10  SHORT_DESC="ocfs2 filesystem"
  474.11  MAINTAINER="slaxemulator@gmail.com"
   475.1 --- a/linux64-radio/receipt	Mon Oct 16 18:37:14 2023 +0000
   475.2 +++ b/linux64-radio/receipt	Sun Jan 14 08:12:37 2024 +0000
   475.3 @@ -1,7 +1,7 @@
   475.4  # SliTaz package receipt.
   475.5  
   475.6  PACKAGE="linux64-radio"
   475.7 -VERSION="4.19.294"
   475.8 +VERSION="4.19.298"
   475.9  CATEGORY="base-system"
  475.10  SHORT_DESC="The Linux kernel radio modules."
  475.11  MAINTAINER="slaxemulator@gmail.com"
   476.1 --- a/linux64-reiserfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   476.2 +++ b/linux64-reiserfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   476.3 @@ -1,7 +1,7 @@
   476.4  # SliTaz package receipt.
   476.5  
   476.6  PACKAGE="linux64-reiserfs"
   476.7 -VERSION="4.19.294"
   476.8 +VERSION="4.19.298"
   476.9  CATEGORY="base-system"
  476.10  SHORT_DESC="The Linux kernel reiserfs module."
  476.11  MAINTAINER="devel@slitaz.org"
   477.1 --- a/linux64-romfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   477.2 +++ b/linux64-romfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   477.3 @@ -1,7 +1,7 @@
   477.4  # SliTaz package receipt.
   477.5  
   477.6  PACKAGE="linux64-romfs"
   477.7 -VERSION="4.19.294"
   477.8 +VERSION="4.19.298"
   477.9  CATEGORY="base-system"
  477.10  SHORT_DESC="The Linux kernel romfs module."
  477.11  MAINTAINER="devel@slitaz.org"
   478.1 --- a/linux64-sched/receipt	Mon Oct 16 18:37:14 2023 +0000
   478.2 +++ b/linux64-sched/receipt	Sun Jan 14 08:12:37 2024 +0000
   478.3 @@ -1,7 +1,7 @@
   478.4  # SliTaz package receipt.
   478.5  
   478.6  PACKAGE="linux64-sched"
   478.7 -VERSION="4.19.294"
   478.8 +VERSION="4.19.298"
   478.9  CATEGORY="base-system"
  478.10  SHORT_DESC="The Linux kernel sched modules."
  478.11  MAINTAINER="devel@slitaz.org"
   479.1 --- a/linux64-scsi/receipt	Mon Oct 16 18:37:14 2023 +0000
   479.2 +++ b/linux64-scsi/receipt	Sun Jan 14 08:12:37 2024 +0000
   479.3 @@ -1,7 +1,7 @@
   479.4  # SliTaz package receipt.
   479.5  
   479.6  PACKAGE="linux64-scsi"
   479.7 -VERSION="4.19.294"
   479.8 +VERSION="4.19.298"
   479.9  CATEGORY="base-system"
  479.10  SHORT_DESC="The Linux kernel scsi modules."
  479.11  MAINTAINER="devel@slitaz.org"
   480.1 --- a/linux64-sound/receipt	Mon Oct 16 18:37:14 2023 +0000
   480.2 +++ b/linux64-sound/receipt	Sun Jan 14 08:12:37 2024 +0000
   480.3 @@ -1,7 +1,7 @@
   480.4  # SliTaz package receipt.
   480.5  
   480.6  PACKAGE="linux64-sound"
   480.7 -VERSION="4.19.294"
   480.8 +VERSION="4.19.298"
   480.9  CATEGORY="base-system"
  480.10  SHORT_DESC="The Linux kernel sound modules."
  480.11  MAINTAINER="devel@slitaz.org"
   481.1 --- a/linux64-speakup/receipt	Mon Oct 16 18:37:14 2023 +0000
   481.2 +++ b/linux64-speakup/receipt	Sun Jan 14 08:12:37 2024 +0000
   481.3 @@ -1,7 +1,7 @@
   481.4  # SliTaz package receipt.
   481.5  
   481.6  PACKAGE="linux64-speakup"
   481.7 -VERSION="4.19.294"
   481.8 +VERSION="4.19.298"
   481.9  CATEGORY="base-system"
  481.10  SHORT_DESC="The Linux kernel Speakup modules."
  481.11  MAINTAINER="erjo@slitaz.org"
   482.1 --- a/linux64-squashfs/receipt	Mon Oct 16 18:37:14 2023 +0000
   482.2 +++ b/linux64-squashfs/receipt	Sun Jan 14 08:12:37 2024 +0000
   482.3 @@ -1,7 +1,7 @@
   482.4  # SliTaz package receipt.
   482.5  
   482.6  PACKAGE="linux64-squashfs"
   482.7 -VERSION="4.19.294"
   482.8 +VERSION="4.19.298"
   482.9  CATEGORY="base-system"
  482.10  SHORT_DESC="The Linux kernel squashfs module."
  482.11  MAINTAINER="devel@slitaz.org"
   483.1 --- a/linux64-staging/receipt	Mon Oct 16 18:37:14 2023 +0000
   483.2 +++ b/linux64-staging/receipt	Sun Jan 14 08:12:37 2024 +0000
   483.3 @@ -1,7 +1,7 @@
   483.4  # SliTaz package receipt.
   483.5  
   483.6  PACKAGE="linux64-staging"
   483.7 -VERSION="4.19.294"
   483.8 +VERSION="4.19.298"
   483.9  CATEGORY="base-system"
  483.10  SHORT_DESC="staging kernel modules"
  483.11  MAINTAINER="slaxemulator@gmail.com"
   484.1 --- a/linux64-usb-misc/receipt	Mon Oct 16 18:37:14 2023 +0000
   484.2 +++ b/linux64-usb-misc/receipt	Sun Jan 14 08:12:37 2024 +0000
   484.3 @@ -1,7 +1,7 @@
   484.4  # SliTaz package receipt.
   484.5  
   484.6  PACKAGE="linux64-usb-misc"
   484.7 -VERSION="4.19.294"
   484.8 +VERSION="4.19.298"
   484.9  CATEGORY="base-system"
  484.10  SHORT_DESC="The Linux kernel misc. USB drivers, including the Lego USB tower."
  484.11  MAINTAINER="rcx@zoominternet.net"
   485.1 --- a/linux64-usbdsl/receipt	Mon Oct 16 18:37:14 2023 +0000
   485.2 +++ b/linux64-usbdsl/receipt	Sun Jan 14 08:12:37 2024 +0000
   485.3 @@ -1,7 +1,7 @@
   485.4  # SliTaz package receipt.
   485.5  
   485.6  PACKAGE="linux64-usbdsl"
   485.7 -VERSION="4.19.294"
   485.8 +VERSION="4.19.298"
   485.9  CATEGORY="base-system"
  485.10  SHORT_DESC="The Linux kernel usb dsl modem modules."
  485.11  MAINTAINER="devel@slitaz.org"
   486.1 --- a/linux64-usbip/receipt	Mon Oct 16 18:37:14 2023 +0000
   486.2 +++ b/linux64-usbip/receipt	Sun Jan 14 08:12:37 2024 +0000
   486.3 @@ -1,7 +1,7 @@
   486.4  # SliTaz package receipt.
   486.5  
   486.6  PACKAGE="linux64-usbip"
   486.7 -VERSION="4.19.294"
   486.8 +VERSION="4.19.298"
   486.9  CATEGORY="base-system"
  486.10  SHORT_DESC="The Linux kernel usbip module."
  486.11  MAINTAINER="devel@slitaz.org"
   487.1 --- a/linux64-uwb/receipt	Mon Oct 16 18:37:14 2023 +0000
   487.2 +++ b/linux64-uwb/receipt	Sun Jan 14 08:12:37 2024 +0000
   487.3 @@ -1,7 +1,7 @@
   487.4  # SliTaz package receipt.
   487.5  
   487.6  PACKAGE="linux64-uwb"
   487.7 -VERSION="4.19.294"
   487.8 +VERSION="4.19.298"
   487.9  CATEGORY="base-system"
  487.10  SHORT_DESC="The Linux kernel uwb modules."
  487.11  MAINTAINER="devel@slitaz.org"
   488.1 --- a/linux64-video/receipt	Mon Oct 16 18:37:14 2023 +0000
   488.2 +++ b/linux64-video/receipt	Sun Jan 14 08:12:37 2024 +0000
   488.3 @@ -1,7 +1,7 @@
   488.4  # SliTaz package receipt.
   488.5  
   488.6  PACKAGE="linux64-video"
   488.7 -VERSION="4.19.294"
   488.8 +VERSION="4.19.298"
   488.9  CATEGORY="base-system"
  488.10  SHORT_DESC="The Linux kernel video modules."
  488.11  MAINTAINER="devel@slitaz.org"
   489.1 --- a/linux64-wan/receipt	Mon Oct 16 18:37:14 2023 +0000
   489.2 +++ b/linux64-wan/receipt	Sun Jan 14 08:12:37 2024 +0000
   489.3 @@ -1,7 +1,7 @@
   489.4  # SliTaz package receipt.
   489.5  
   489.6  PACKAGE="linux64-wan"
   489.7 -VERSION="4.19.294"
   489.8 +VERSION="4.19.298"
   489.9  CATEGORY="base-system"
  489.10  SHORT_DESC="Wide Area Networks (WANs) kernel modules"
  489.11  MAINTAINER="slaxemulator@gmail.com"
   490.1 --- a/linux64-wimax/receipt	Mon Oct 16 18:37:14 2023 +0000
   490.2 +++ b/linux64-wimax/receipt	Sun Jan 14 08:12:37 2024 +0000
   490.3 @@ -1,7 +1,7 @@
   490.4  # SliTaz package receipt.
   490.5  
   490.6  PACKAGE="linux64-wimax"
   490.7 -VERSION="4.19.294"
   490.8 +VERSION="4.19.298"
   490.9  CATEGORY="base-system"
  490.10  SHORT_DESC="The Linux kernel wimax modules."
  490.11  MAINTAINER="devel@slitaz.org"
   491.1 --- a/linux64-wireless/receipt	Mon Oct 16 18:37:14 2023 +0000
   491.2 +++ b/linux64-wireless/receipt	Sun Jan 14 08:12:37 2024 +0000
   491.3 @@ -1,7 +1,7 @@
   491.4  # SliTaz package receipt.
   491.5  
   491.6  PACKAGE="linux64-wireless"
   491.7 -VERSION="4.19.294"
   491.8 +VERSION="4.19.298"
   491.9  CATEGORY="base-system"
  491.10  SHORT_DESC="The Linux kernel wireless modules."
  491.11  MAINTAINER="devel@slitaz.org"
   492.1 --- a/linux64-without-modules-debug/receipt	Mon Oct 16 18:37:14 2023 +0000
   492.2 +++ b/linux64-without-modules-debug/receipt	Sun Jan 14 08:12:37 2024 +0000
   492.3 @@ -1,7 +1,7 @@
   492.4  # SliTaz package receipt.
   492.5  
   492.6  PACKAGE="linux64-without-modules-debug"
   492.7 -VERSION="4.19.294"
   492.8 +VERSION="4.19.298"
   492.9  CATEGORY="base-system"
  492.10  SHORT_DESC="The Linux kernel debug files."
  492.11  MAINTAINER="devel@slitaz.org"
   493.1 --- a/linux64-without-modules/receipt	Mon Oct 16 18:37:14 2023 +0000
   493.2 +++ b/linux64-without-modules/receipt	Sun Jan 14 08:12:37 2024 +0000
   493.3 @@ -1,7 +1,7 @@
   493.4  # SliTaz package receipt.
   493.5  
   493.6  PACKAGE="linux64-without-modules"
   493.7 -VERSION="4.19.294"
   493.8 +VERSION="4.19.298"
   493.9  CATEGORY="base-system"
  493.10  SHORT_DESC="The Linux kernel without module support."
  493.11  MAINTAINER="devel@slitaz.org"
   494.1 --- a/linux64-zram/receipt	Mon Oct 16 18:37:14 2023 +0000
   494.2 +++ b/linux64-zram/receipt	Sun Jan 14 08:12:37 2024 +0000
   494.3 @@ -1,7 +1,7 @@
   494.4  # SliTaz package receipt.
   494.5  
   494.6  PACKAGE="linux64-zram"
   494.7 -VERSION="4.19.294"
   494.8 +VERSION="4.19.298"
   494.9  CATEGORY="base-system"
  494.10  SHORT_DESC="Compressed caching"
  494.11  MAINTAINER="devel@slitaz.org"
   495.1 --- a/linux64/receipt	Mon Oct 16 18:37:14 2023 +0000
   495.2 +++ b/linux64/receipt	Sun Jan 14 08:12:37 2024 +0000
   495.3 @@ -1,7 +1,7 @@
   495.4  # SliTaz package receipt.
   495.5  
   495.6  PACKAGE="linux64"
   495.7 -VERSION="4.19.294"
   495.8 +VERSION="4.19.298"
   495.9  CATEGORY="base-system"
  495.10  SHORT_DESC="The Linux 64 bits kernel and modules."
  495.11  MAINTAINER="devel@slitaz.org"
   496.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   496.2 +++ b/llvm-lib/receipt	Sun Jan 14 08:12:37 2024 +0000
   496.3 @@ -0,0 +1,18 @@
   496.4 +# SliTaz package receipt.
   496.5 +
   496.6 +PACKAGE="llvm-lib"
   496.7 +VERSION="13.0.0"
   496.8 +CATEGORY="development"
   496.9 +SHORT_DESC="Modular compiler toolchain collection (runtime)."
  496.10 +MAINTAINER="pascal.bellard@slitaz.org"
  496.11 +LICENSE="MIT"
  496.12 +WEB_SITE="https://llvm.org/"
  496.13 +WANTED="llvm"
  496.14 +
  496.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
  496.16 +genpkg_rules()
  496.17 +{
  496.18 +    mkdir -p $fs/usr/lib
  496.19 +    cp -a $install/usr/lib/libLLVM-${VERSION%%.*}*.so $fs/usr/lib
  496.20 +    cp -a $install/usr/lib/libLLVM.so $fs/usr/lib
  496.21 +}
   497.1 --- a/llvm/receipt	Mon Oct 16 18:37:14 2023 +0000
   497.2 +++ b/llvm/receipt	Sun Jan 14 08:12:37 2024 +0000
   497.3 @@ -1,17 +1,19 @@
   497.4  # SliTaz package receipt.
   497.5  
   497.6  PACKAGE="llvm"
   497.7 -VERSION="3.2"
   497.8 +VERSION="13.0.0"
   497.9  CATEGORY="development"
  497.10  SHORT_DESC="Modular compiler toolchain collection."
  497.11  MAINTAINER="pascal.bellard@slitaz.org"
  497.12  LICENSE="MIT"
  497.13  WEB_SITE="https://llvm.org/"
  497.14 -TARBALL="$PACKAGE-$VERSION.src.tar.gz"
  497.15 -WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
  497.16 +TARBALL="$PACKAGE-$VERSION.src.tar.xz"
  497.17 +#WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
  497.18 +WGET_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$VERSION/$TARBALL"
  497.19  
  497.20  DEPENDS="libffi gcc-lib-base"
  497.21 -BUILD_DEPENDS="libffi-dev libffi perl gcc"
  497.22 +BUILD_DEPENDS="libffi-dev libffi perl gcc \
  497.23 +ninja cmake"
  497.24  
  497.25  # What is the latest version available today?
  497.26  current_version()
  497.27 @@ -23,17 +25,23 @@
  497.28  # Rules to configure and make the package.
  497.29  compile_rules()
  497.30  {
  497.31 -	./configure CC=gcc CXX=g++ \
  497.32 -		--prefix=/usr --sysconfdir=/etc \
  497.33 -		--enable-libffi \
  497.34 -		--enable-optimized \
  497.35 -		--enable-shared \
  497.36 -		--enable-targets=all \
  497.37 -		--disable-assertions \
  497.38 -		--disable-debug-runtime \
  497.39 -		--disable-expensive-checks \
  497.40 -		$CONFIGURE_ARGS &&
  497.41 -	make && make DESTDIR=$DESTDIR install
  497.42 +	# Use MinSizeRel instead Release to reduce size
  497.43 +
  497.44 +	mkdir build && cd build
  497.45 +	CC=gcc CXX=g++ \
  497.46 +	cmake \
  497.47 +	    -DCMAKE_INSTALL_PREFIX=/usr \
  497.48 +	    -DLLVM_ENABLE_FFI=ON \
  497.49 +	    -DCMAKE_BUILD_TYPE=MinSizeRel \
  497.50 +	    -DLLVM_BUILD_LLVM_DYLIB=ON \
  497.51 +	    -DLLVM_LINK_LLVM_DYLIB=ON \
  497.52 +	    -DLLVM_BUILD_TESTS=OFF \
  497.53 +	    -Wno-dev \
  497.54 +	    -G Ninja \
  497.55 +	..
  497.56 +
  497.57 +	ninja
  497.58 +	DESTDIR=$install ninja install
  497.59  }
  497.60  
  497.61  # Rules to gen a SliTaz package suitable for Tazpkg.
   498.1 --- a/mate-common/receipt	Mon Oct 16 18:37:14 2023 +0000
   498.2 +++ b/mate-common/receipt	Sun Jan 14 08:12:37 2024 +0000
   498.3 @@ -1,7 +1,7 @@
   498.4  # SliTaz package receipt.
   498.5  
   498.6  PACKAGE="mate-common"
   498.7 -VERSION="1.9.0"
   498.8 +VERSION="1.26.0"
   498.9  CATEGORY="utilities"
  498.10  LICENSE="GPL3"
  498.11  SHORT_DESC="Common package for MATE applications."
   499.1 --- a/mate-themes/receipt	Mon Oct 16 18:37:14 2023 +0000
   499.2 +++ b/mate-themes/receipt	Sun Jan 14 08:12:37 2024 +0000
   499.3 @@ -1,7 +1,7 @@
   499.4  # SliTaz package receipt.
   499.5  
   499.6  PACKAGE="mate-themes"
   499.7 -VERSION="1.9.0"
   499.8 +VERSION="3.22.24"
   499.9  CATEGORY="customization"
  499.10  LICENSE="GPL"
  499.11  SHORT_DESC="MATE's default themes."
   500.1 --- a/mc/receipt	Mon Oct 16 18:37:14 2023 +0000
   500.2 +++ b/mc/receipt	Sun Jan 14 08:12:37 2024 +0000
   500.3 @@ -13,8 +13,8 @@
   500.4  WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
   500.5  
   500.6  SUGGESTED="cdrkit-isoinfo file gpm lynx mc-lang poppler-apps w3m wv xz"
   500.7 -DEPENDS="e2fsprogs gcc83-lib-base glib ncursesw util-linux-blkid"
   500.8 -BUILD_DEPENDS="gcc83 glib-dev gpm-dev ncursesw-dev ncurses-extra
   500.9 +DEPENDS="e2fsprogs gcc-lib-base glib ncursesw util-linux-blkid"
  500.10 +BUILD_DEPENDS="gcc glib-dev gpm-dev ncursesw-dev ncurses-extra
  500.11  	util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev"
  500.12  
  500.13  GENERIC_MENUS="no"
  500.14 @@ -33,9 +33,11 @@
  500.15  {
  500.16  	sed -i 's|lzma -cd|lzcat|'	src/editor/edit.c
  500.17  
  500.18 +	# Patch to use mouse with ncurses 6.x
  500.19 +	# see https://midnight-commander.org/ticket/4144
  500.20 +	patch -p1 < $stuff/fix-mouse-ncurses6.patch
  500.21 +
  500.22  	./configure			\
  500.23 -		CC=gcc-83		\
  500.24 -		CXX=g++-83		\
  500.25  		--prefix=/usr		\
  500.26  		--with-gpm-mouse	\
  500.27  		--with-screen=ncurses	\
   501.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   501.2 +++ b/mc/stuff/fix-mouse-ncurses6.patch	Sun Jan 14 08:12:37 2024 +0000
   501.3 @@ -0,0 +1,12 @@
   501.4 +--- a/lib/tty/key.c
   501.5 ++++ b/lib/tty/key.c
   501.6 +@@ -2114,8 +2114,7 @@
   501.7 +         gboolean extended = c == MCKEY_EXTENDED_MOUSE;
   501.8 + 
   501.9 + #ifdef KEY_MOUSE
  501.10 +-        extended = extended || (c == KEY_MOUSE && xmouse_seq == NULL
  501.11 +-                                && xmouse_extended_seq != NULL);
  501.12 ++        extended = extended || (c == KEY_MOUSE && xmouse_extended_seq != NULL);
  501.13 + #endif /* KEY_MOUSE */
  501.14 + 
  501.15 +         xmouse_get_event (event, extended);
   502.1 --- a/mesa-demos/receipt	Mon Oct 16 18:37:14 2023 +0000
   502.2 +++ b/mesa-demos/receipt	Sun Jan 14 08:12:37 2024 +0000
   502.3 @@ -1,7 +1,7 @@
   502.4  # SliTaz package receipt.
   502.5  
   502.6  PACKAGE="mesa-demos"
   502.7 -VERSION="8.0.1"
   502.8 +VERSION="8.4.0"
   502.9  CATEGORY="development"
  502.10  SHORT_DESC="Mesa GLX demos progs."
  502.11  MAINTAINER="pascal.bellard@slitaz.org"
   503.1 --- a/mesa-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   503.2 +++ b/mesa-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   503.3 @@ -1,7 +1,7 @@
   503.4  # SliTaz package receipt.
   503.5  
   503.6  PACKAGE="mesa-dev"
   503.7 -VERSION="9.2.5"
   503.8 +VERSION="21.3.5"
   503.9  CATEGORY="development"
  503.10  SHORT_DESC="3D Graphics Library - development files."
  503.11  MAINTAINER="pascal.bellard@slitaz.org"
   504.1 --- a/mesa-dri-ati/receipt	Mon Oct 16 18:37:14 2023 +0000
   504.2 +++ b/mesa-dri-ati/receipt	Sun Jan 14 08:12:37 2024 +0000
   504.3 @@ -1,7 +1,7 @@
   504.4  # SliTaz package receipt.
   504.5  
   504.6  PACKAGE="mesa-dri-ati"
   504.7 -VERSION="9.2.5"
   504.8 +VERSION="21.3.5"
   504.9  CATEGORY="x-window"
  504.10  SHORT_DESC="Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon."
  504.11  MAINTAINER="pascal.bellard@slitaz.org"
   505.1 --- a/mesa-dri-intel/receipt	Mon Oct 16 18:37:14 2023 +0000
   505.2 +++ b/mesa-dri-intel/receipt	Sun Jan 14 08:12:37 2024 +0000
   505.3 @@ -1,7 +1,7 @@
   505.4  # SliTaz package receipt.
   505.5  
   505.6  PACKAGE="mesa-dri-intel"
   505.7 -VERSION="9.2.5"
   505.8 +VERSION="21.3.5"
   505.9  CATEGORY="x-window"
  505.10  SHORT_DESC="Mesa DRI drivers for Intel."
  505.11  MAINTAINER="pascal.bellard@slitaz.org"
   506.1 --- a/mesa-dri-nouveau/receipt	Mon Oct 16 18:37:14 2023 +0000
   506.2 +++ b/mesa-dri-nouveau/receipt	Sun Jan 14 08:12:37 2024 +0000
   506.3 @@ -1,7 +1,7 @@
   506.4  # SliTaz package receipt.
   506.5  
   506.6  PACKAGE="mesa-dri-nouveau"
   506.7 -VERSION="9.2.5"
   506.8 +VERSION="21.3.5"
   506.9  CATEGORY="x-window"
  506.10  SHORT_DESC="Mesa classic DRI + Gallium3D drivers for Nouveau."
  506.11  MAINTAINER="pascal.bellard@slitaz.org"
   507.1 --- a/mesa-dri-vmwgfx/receipt	Mon Oct 16 18:37:14 2023 +0000
   507.2 +++ b/mesa-dri-vmwgfx/receipt	Sun Jan 14 08:12:37 2024 +0000
   507.3 @@ -1,7 +1,7 @@
   507.4  # SliTaz package receipt.
   507.5  
   507.6  PACKAGE="mesa-dri-vmwgfx"
   507.7 -VERSION="9.2.5"
   507.8 +VERSION="21.3.5"
   507.9  CATEGORY="x-window"
  507.10  SHORT_DESC="Mesa DRI driver for OpenGL rendering in Slitaz as VmWare guest OS."
  507.11  MAINTAINER="pascal.bellard@slitaz.org"
   508.1 --- a/mesa-dri/receipt	Mon Oct 16 18:37:14 2023 +0000
   508.2 +++ b/mesa-dri/receipt	Sun Jan 14 08:12:37 2024 +0000
   508.3 @@ -1,14 +1,16 @@
   508.4  # SliTaz package receipt.
   508.5  
   508.6  PACKAGE="mesa-dri"
   508.7 -VERSION="9.2.5"
   508.8 +VERSION="21.3.5"
   508.9  CATEGORY="x-window"
  508.10  SHORT_DESC="Mesa DRI drivers."
  508.11  MAINTAINER="pascal.bellard@slitaz.org"
  508.12  LICENSE="MIT"
  508.13  WEB_SITE="https://www.mesa3d.org/"
  508.14  
  508.15 -DEPENDS="expat libdrm linux-agp linux-drm"
  508.16 +DEPENDS="expat libdrm linux-agp llvm-lib \
  508.17 +linux-drm libdrm-amdgpu libdrm-radeon \
  508.18 +libdrm-nouveau libdrm-intel"
  508.19  WANTED="mesa"
  508.20  
  508.21  # Rules to gen a SliTaz package suitable for Tazpkg.
   509.1 --- a/mesa-wayland-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   509.2 +++ b/mesa-wayland-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   509.3 @@ -1,7 +1,7 @@
   509.4  # SliTaz package receipt.
   509.5  
   509.6  PACKAGE="mesa-wayland-dev"
   509.7 -VERSION="9.2.5"
   509.8 +VERSION="21.3.5"
   509.9  CATEGORY="development"
  509.10  SHORT_DESC="Wayland X server - development files."
  509.11  MAINTAINER="pankso@slitaz.org"
  509.12 @@ -14,10 +14,10 @@
  509.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  509.14  genpkg_rules()
  509.15  {
  509.16 -	mkdir -p $fs/usr/lib/dri
  509.17 +	mkdir -p $fs/usr/lib
  509.18  
  509.19  	cp -a $install/usr/include		$fs/usr
  509.20 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
  509.21 -	cp -a $install/usr/lib/dri/*.*a		$fs/usr/lib/dri
  509.22 +	#cp -a $install/usr/lib/*.*a		$fs/usr/lib
  509.23 +	#cp -a $install/usr/lib/dri/*.*a	$fs/usr/lib/dri
  509.24  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  509.25  }
   510.1 --- a/mesa-wayland/receipt	Mon Oct 16 18:37:14 2023 +0000
   510.2 +++ b/mesa-wayland/receipt	Sun Jan 14 08:12:37 2024 +0000
   510.3 @@ -1,77 +1,81 @@
   510.4  # SliTaz package receipt.
   510.5  
   510.6  PACKAGE="mesa-wayland"
   510.7 -VERSION="9.2.5"
   510.8 +VERSION="21.3.5"
   510.9  CATEGORY="x-window"
  510.10  SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
  510.11  MAINTAINER="pascal.bellard@slitaz.org"
  510.12  LICENSE="MIT"
  510.13 +SOURCE="mesa"
  510.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
  510.15  WEB_SITE="https://www.mesa3d.org/"
  510.16 +WGET_URL="https://archive.mesa3d.org/$TARBALL"
  510.17 +PROVIDE="mesa"
  510.18  
  510.19 -SOURCE="Mesa"
  510.20 -TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
  510.21 -WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL"
  510.22 +DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt \
  510.23 +xorg-libxshmfence udev libvdpau wayland" #libpthread-stubs
  510.24  
  510.25 -# Have Wayland support by default ?
  510.26 -PROVIDE="libegl-mesa libgl libglw-mesa"
  510.27 -
  510.28 -SUGGESTED="nvidia"
  510.29 -DEPENDS="expat libdrm udev wayland xorg-libXdamage xorg-libXt xorg-libXxf86vm"
  510.30 -BUILD_DEPENDS="expat-dev lesstif-dev libdrm-dev libxml2-python pkg-config 
  510.31 -	udev-dev wayland-dev xorg-dri2proto xorg-glproto \
  510.32 -	xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev xorg-server-dev"
  510.33 -
  510.34 -#HOST_ARCH="arm i486"
  510.35 -
  510.36 -# Use some build system tools
  510.37 -case "$ARCH" in
  510.38 -	i?86) 
  510.39 -		BUILD_DEPENDS="$BUILD_DEPENDS autoconf automake file libdrm-nouveau 
  510.40 -		libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;;
  510.41 -esac
  510.42 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
  510.43 +xorg-libXxf86vm-dev xorg-libXt-dev xorg-libXvMC-dev xorg-libXv-dev \
  510.44 +xorg-dri2proto xorg-glproto talloc xorg-makedepend lesstif-dev \
  510.45 +libxml2-python xorg-imake xorg-libxshmfence-dev udev-dev file \
  510.46 +xorg-libpciaccess-dev libtool llvm meson054 python3-mako libvdpau-dev \
  510.47 +elfutils-dev wayland-dev wayland-protocols"
  510.48 +# libpthread-stubs-dev llvm  xorg-dri3proto xorg-presentproto
  510.49 +# --with-gallium-drivers= \
  510.50  
  510.51  # What is the latest version available today?
  510.52  current_version()
  510.53  {
  510.54 -	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \
  510.55 +	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc&search=mesa-7' 2>/dev/null | \
  510.56  	sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q'
  510.57  }
  510.58  
  510.59  # Rules to configure and make the package.
  510.60  compile_rules()
  510.61  {
  510.62 -	find . -name 'nouveau*.h' | \
  510.63 -		xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
  510.64 +	DRI_DRIVERS="i915,i965,r100,r200,nouveau"
  510.65 +	GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast"
  510.66  
  510.67 -	./autogen.sh						\
  510.68 -		--prefix=/usr					\
  510.69 -		--sysconfdir=/etc/X11/${PACKAGE}		\
  510.70 -		--enable-gles2					\
  510.71 -		--disable-gallium-egl				\
  510.72 -		--with-egl-platforms=x11,wayland,drm		\
  510.73 -		--enable-gbm					\
  510.74 -		--enable-shared-glapi				\
  510.75 -		--with-gallium-drivers=r300,r600,swrast,nouveau	\
  510.76 -		$CONFIGURE_ARGS &&
  510.77 -	make $MAKEFLAGS &&
  510.78 -	make install
  510.79 +
  510.80 +	# Use meson 0.54, issue with meson 0.62
  510.81 +	# see https://gitlab.freedesktop.org/mesa/mesa/-/issues/5576
  510.82 +
  510.83 +	# Disable vulkan drivers, seem issue with i486
  510.84 +	# see https://bugs.freedesktop.org/show_bug.cgi?id=93089
  510.85 +	VULKAN_DRIVERS=""
  510.86 +
  510.87 +	meson _build \
  510.88 +            --prefix=/usr \
  510.89 +            --libdir=lib \
  510.90 +            --bindir=/usr/bin \
  510.91 +            --sbindir=/usr/sbin \
  510.92 +            --buildtype=release \
  510.93 +	-Dplatforms=x11,wayland \
  510.94 +	-Ddri-drivers=$DRI_DRIVERS \
  510.95 +	-Dgallium-drivers=$GALLIUM_DRIVERS \
  510.96 +	-Dvulkan-drivers=$VULKAN_DRIVERS \
  510.97 +	-Dvulkan-layers=device-select \
  510.98 +	-Dglvnd=false \
  510.99 +	-Dllvm=enabled \
 510.100 +	-Dshared-llvm=enabled \
 510.101 +	-Dshared-glapi=enabled \
 510.102 +	-Degl=enabled \
 510.103 +	-Dgles1=enabled \
 510.104 +	-Dgles2=enabled \
 510.105 +	-Dopengl=true \
 510.106 +	-Dglx=dri \
 510.107 +	-Dstrip=true
 510.108 +
 510.109 +	ninja -C _build
 510.110 +	DESTDIR=$install ninja -C _build install
 510.111  }
 510.112 -
 510.113 +        
 510.114  # Rules to gen a SliTaz package suitable for Tazpkg.
 510.115  genpkg_rules()
 510.116  {
 510.117 -	mkdir -p $fs/usr/lib/dri
 510.118 -
 510.119 -	cp -a $install/etc			$fs
 510.120 -	cp -a $install/usr/lib/*.so*		$fs/usr/lib
 510.121 -	cp -a $install/usr/lib/dri/*.so*	$fs/usr/lib/dri
 510.122 -
 510.123 -	# libGLU is included in the package libglu-mesa
 510.124 -	#rm -r -f $fs/usr/lib/libGLU*
 510.125 -
 510.126 -	#libGLw is included in the package libglw-mesa
 510.127 -	#rm -r -f $fs/usr/lib/libGLw*
 510.128 -
 510.129 -	#libEGL is included in the package libegl-mesa
 510.130 -	#rm -r -f $fs/usr/lib/libEGL*
 510.131 +        mkdir -p $fs/usr/lib
 510.132 +        cp -a $install/usr/lib/*.so*    $fs/usr/lib
 510.133 +        cp -a $install/usr/include              $fs/usr
 510.134 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
 510.135  }
   511.1 --- a/mesa/receipt	Mon Oct 16 18:37:14 2023 +0000
   511.2 +++ b/mesa/receipt	Sun Jan 14 08:12:37 2024 +0000
   511.3 @@ -1,59 +1,81 @@
   511.4  # SliTaz package receipt.
   511.5  
   511.6  PACKAGE="mesa"
   511.7 -VERSION="9.2.5"
   511.8 +VERSION="21.3.5"
   511.9  CATEGORY="x-window"
  511.10  SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
  511.11  MAINTAINER="pascal.bellard@slitaz.org"
  511.12  LICENSE="MIT"
  511.13 +SOURCE="mesa"
  511.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
  511.15  WEB_SITE="https://www.mesa3d.org/"
  511.16 +WGET_URL="https://archive.mesa3d.org/$TARBALL"
  511.17 +PROVIDE="mesa"
  511.18  
  511.19 -SOURCE="Mesa"
  511.20 -TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
  511.21 -WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL"
  511.22 +DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt \
  511.23 +xorg-libxshmfence udev libvdpau" #libpthread-stubs
  511.24  
  511.25 -PROVIDE="libgl"
  511.26 -SUGGESTED="nvidia"
  511.27 -DEPENDS="expat libdrm libpthread-stubs udev xorg-libXdamage xorg-libXt 
  511.28 -	xorg-libXxf86vm"
  511.29 -BUILD_DEPENDS="autoconf automake expat-dev file lesstif-dev libdrm-dev 
  511.30 -	libdrm-nouveau libpthread-stubs-dev libtool libxml2-python llvm 
  511.31 -	pkg-config talloc udev-dev xorg-dri2proto xorg-glproto xorg-imake 
  511.32 -	xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev 
  511.33 -	xorg-makedepend" # xorg-server-dev (avoid loop mesa-dev / xorg-server)
  511.34 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
  511.35 +xorg-libXxf86vm-dev xorg-libXt-dev xorg-libXvMC-dev xorg-libXv-dev \
  511.36 +xorg-dri2proto xorg-glproto talloc xorg-makedepend lesstif-dev \
  511.37 +libxml2-python xorg-imake xorg-libxshmfence-dev udev-dev file \
  511.38 +xorg-libpciaccess-dev libtool llvm meson054 python3-mako libvdpau-dev \
  511.39 +elfutils-dev"
  511.40 +# libpthread-stubs-dev llvm  xorg-dri3proto xorg-presentproto
  511.41 +# --with-gallium-drivers= \
  511.42  
  511.43  # What is the latest version available today?
  511.44  current_version()
  511.45  {
  511.46 -	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \
  511.47 +	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc&search=mesa-7' 2>/dev/null | \
  511.48  	sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q'
  511.49  }
  511.50  
  511.51  # Rules to configure and make the package.
  511.52  compile_rules()
  511.53  {
  511.54 -	find . -name 'nouveau*.h' | \
  511.55 -		xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
  511.56 +	DRI_DRIVERS="i915,i965,r100,r200,nouveau"
  511.57 +	GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast"
  511.58  
  511.59 -	./autogen.sh		\
  511.60 -		--prefix=/usr	\
  511.61 -		$CONFIGURE_ARGS &&
  511.62 -	make $MAKEFLAGS &&
  511.63 -	make install
  511.64 +
  511.65 +	# Use meson 0.54, issue with meson 0.62
  511.66 +	# see https://gitlab.freedesktop.org/mesa/mesa/-/issues/5576
  511.67 +
  511.68 +	# Disable vulkan drivers, seem issue with i486
  511.69 +	# see https://bugs.freedesktop.org/show_bug.cgi?id=93089
  511.70 +	VULKAN_DRIVERS=""
  511.71 +
  511.72 +	meson _build \
  511.73 +            --prefix=/usr \
  511.74 +            --libdir=lib \
  511.75 +            --bindir=/usr/bin \
  511.76 +            --sbindir=/usr/sbin \
  511.77 +            --buildtype=release \
  511.78 +	-Dplatforms=x11 \
  511.79 +	-Ddri-drivers=$DRI_DRIVERS \
  511.80 +	-Dgallium-drivers=$GALLIUM_DRIVERS \
  511.81 +	-Dvulkan-drivers=$VULKAN_DRIVERS \
  511.82 +	-Dvulkan-layers=device-select \
  511.83 +	-Dglvnd=false \
  511.84 +	-Dllvm=enabled \
  511.85 +	-Dshared-llvm=enabled \
  511.86 +	-Dshared-glapi=enabled \
  511.87 +	-Degl=enabled \
  511.88 +	-Dgles1=enabled \
  511.89 +	-Dgles2=enabled \
  511.90 +	-Dopengl=true \
  511.91 +	-Dglx=dri \
  511.92 +	-Dstrip=true
  511.93 +
  511.94 +	ninja -C _build
  511.95 +	DESTDIR=$install ninja -C _build install
  511.96  }
  511.97 -
  511.98 +        
  511.99  # Rules to gen a SliTaz package suitable for Tazpkg.
 511.100  genpkg_rules()
 511.101  {
 511.102 -	mkdir -p $fs/usr/lib
 511.103 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
 511.104 -
 511.105 -	# libGLU is included in the package libglu-mesa
 511.106 -	rm -r -f $fs/usr/lib/libGLU*
 511.107 -
 511.108 -	#libGLw is included in the package libglw-mesa
 511.109 -	rm -r -f $fs/usr/lib/libGLw*
 511.110 -
 511.111 -	#libEGL is included in the package libegl-mesa
 511.112 -	rm -r -f $fs/usr/lib/libEGL*
 511.113 +        mkdir -p $fs/usr/lib
 511.114 +        cp -a $install/usr/lib/*.so*    $fs/usr/lib
 511.115 +        #cp -a $install/usr/include              $fs/usr
 511.116 +        #cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
 511.117  }
   512.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   512.2 +++ b/meson054/receipt	Sun Jan 14 08:12:37 2024 +0000
   512.3 @@ -0,0 +1,35 @@
   512.4 +# SliTaz package receipt.
   512.5 +
   512.6 +PACKAGE="meson054"
   512.7 +VERSION="0.54.3"
   512.8 +CATEGORY="development"
   512.9 +SHORT_DESC="The Meson Build System."
  512.10 +MAINTAINER="pascal.bellard@slitaz.org"
  512.11 +LICENSE="Apache"
  512.12 +WEB_SITE="https://mesonbuild.com/"
  512.13 +
  512.14 +SOURCE="meson"
  512.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
  512.16 +WGET_URL="https://github.com/mesonbuild/$SOURCE/releases/download/$VERSION/$TARBALL"
  512.17 +
  512.18 +DEPENDS="ninja python3-setuptools"
  512.19 +BUILD_DEPENDS="python3-setuptools"
  512.20 +
  512.21 +current_version()
  512.22 +{
  512.23 +	wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
  512.24 +	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
  512.25 +}
  512.26 +
  512.27 +# Rules to configure and make the package.
  512.28 +compile_rules()
  512.29 +{
  512.30 +	python3 setup.py build &&
  512.31 +	python3 setup.py install --root=$DESTDIR
  512.32 +}
  512.33 +
  512.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
  512.35 +genpkg_rules()
  512.36 +{
  512.37 +	cp -a $install/usr	$fs
  512.38 +}
   513.1 --- a/mhwaveedit/receipt	Mon Oct 16 18:37:14 2023 +0000
   513.2 +++ b/mhwaveedit/receipt	Sun Jan 14 08:12:37 2024 +0000
   513.3 @@ -11,11 +11,13 @@
   513.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
   513.5  WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
   513.6  
   513.7 -DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \
   513.8 -	xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
   513.9 -	xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
  513.10 +DEPENDS="alsa-lib lame libxml2 expat gtk+ xorg-libX11 \
  513.11 +	xorg-libXau xorg-libXcomposite xorg-libXcursor \
  513.12 +	xorg-libXdmcp xorg-libXext xorg-libXfixes \
  513.13 +	xorg-libXinerama xorg-libXrandr xorg-libXrender \
  513.14  	xorg-libXdamage"
  513.15 -BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev"
  513.16 +BUILD_DEPENDS="alsa-lib-dev lame-dev libxml2-dev \
  513.17 +xorg-libX11-dev gtk+-dev"
  513.18  
  513.19  HOST_ARCH="i486 arm"
  513.20  
  513.21 @@ -51,3 +53,23 @@
  513.22  	cp -a $stuff/skel	$fs/etc
  513.23  	chown -R 0.0 $fs
  513.24  }
  513.25 +
  513.26 +post_install()
  513.27 +{
  513.28 +	for i in $(ls "$1/home" 2> /dev/null); do
  513.29 +	    if grep -E '\$HOME|/home/user_name' $1/home/$i/.mhwaveedit/config 2>&1 > /dev/null; then
  513.30 +	        echo
  513.31 +	        echo -n "Fix configuration files for $i ..."
  513.32 +		sed -i -e "s|\$HOME|/home/$i|" -e "s|user_name|$i|" \
  513.33 +		$1/home/$i/.mhwaveedit/config
  513.34 +	    fi
  513.35 +	done
  513.36 +	status
  513.37 +}
  513.38 + 
  513.39 +post_remove()
  513.40 +{
  513.41 +	echo -n "Removing configuration files..."
  513.42 + 	rm -rf /home/*/.mhwaveedit
  513.43 +	status
  513.44 +}
   514.1 --- a/mhwaveedit/stuff/skel/.mhwaveedit/config	Mon Oct 16 18:37:14 2023 +0000
   514.2 +++ b/mhwaveedit/stuff/skel/.mhwaveedit/config	Sun Jan 14 08:12:37 2024 +0000
   514.3 @@ -14,7 +14,7 @@
   514.4  tempfilesFP = true
   514.5  ditherEditing = 1
   514.6  outputByteswap = false
   514.7 -tempDir1 = $HOME/.mhwaveedit
   514.8 +tempDir1 = /home/user_name/.mhwaveedit
   514.9  playerFallback_SampleSize = 2
  514.10  varispeed = true
  514.11  varispeedConv = 0
   515.1 --- a/microperl/receipt	Mon Oct 16 18:37:14 2023 +0000
   515.2 +++ b/microperl/receipt	Sun Jan 14 08:12:37 2024 +0000
   515.3 @@ -1,13 +1,44 @@
   515.4  # SliTaz package receipt.
   515.5  
   515.6  PACKAGE="microperl"
   515.7 +SOURCE="perl"
   515.8  VERSION="5.24.4"
   515.9  CATEGORY="development"
  515.10  SHORT_DESC="A micro version of Perl."
  515.11  MAINTAINER="pankso@slitaz.org"
  515.12  LICENSE="GPL"
  515.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
  515.14 +DEPENDS="libdb gdbm zlib"
  515.15 +BUILD_DEPENDS="db gdbm zlib less"
  515.16  WEB_SITE="https://www.perl.org/"
  515.17 -WANTED="perl"
  515.18 +WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
  515.19 +
  515.20 +current_version()
  515.21 +{
  515.22 +        wget -O - $WEB_SITE 2>/dev/null | \
  515.23 +        sed '/version-highlight/!d;s|.*">||;s|<.*||;q'
  515.24 +}
  515.25 +
  515.26 +# Rules to configure and make the package.
  515.27 +compile_rules()
  515.28 +{
  515.29 +	# patch to fix issue Perl_fp_class_denorm(). test
  515.30 +        # see https://github.com/Perl/perl5/commit/488307f
  515.31 +        patch -p1 -i $stuff/perl-5.24.4-math-fix.patch
  515.32 +
  515.33 +        # patch to fix compiling microperl
  515.34 +        patch -p1 -i $stuff/perl-5.24.1-microperl-fix.patch
  515.35 +        # Install in /usr (default is /usr/local).
  515.36 +        sed -i s/'usr\/local'/'usr'/ uconfig.sh
  515.37 +        # Sed to search mods in /usr/lib/perl5.
  515.38 +        sed -i s/'perl5\/'${VERSION%.*}/'perl5'/ uconfig.sh
  515.39 +        # Optimisation.
  515.40 +        sed -i s/'unknown'/$ARCH-linux/ uconfig.sh
  515.41 +        # Make it!
  515.42 +        make -f Makefile.micro regen_uconfig &&
  515.43 +        make -f Makefile.micro &&
  515.44 +        strip microperl
  515.45 +}
  515.46  
  515.47  # Rules to gen a SliTaz package suitable for Tazpkg.
  515.48  genpkg_rules()
   516.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   516.2 +++ b/microperl/stuff/perl-5.24.1-microperl-fix.patch	Sun Jan 14 08:12:37 2024 +0000
   516.3 @@ -0,0 +1,137 @@
   516.4 +diff -Naur perl-5.24.1.orig/Makefile.micro perl-5.24.1/Makefile.micro
   516.5 +--- perl-5.24.1.orig/Makefile.micro	2016-07-15 00:36:55.000000000 +0530
   516.6 ++++ perl-5.24.1/Makefile.micro	2018-05-31 18:02:44.478616268 +0530
   516.7 +@@ -14,7 +14,7 @@
   516.8 + 
   516.9 + all:	microperl
  516.10 + 
  516.11 +-O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
  516.12 ++O = uav$(_O) ucaretx$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
  516.13 + 	uglobals$(_O) ugv$(_O) uhv$(_O) umro$(_O)\
  516.14 + 	umg$(_O) uperlmain$(_O) uop$(_O) ureentr$(_O) \
  516.15 + 	upad$(_O) uperl$(_O) uperlio$(_O) uperly$(_O) upp$(_O) \
  516.16 +@@ -37,7 +37,7 @@
  516.17 + HE = $(H) EXTERN.h
  516.18 + 
  516.19 + clean:
  516.20 +-	-rm -f $(O) microperl ugenerate_uudmap$(_X) $(generated_headers)
  516.21 ++	-rm -f $(O) microperl ugenerate_uudmap$(_X) ugenerate_uudmap$(_O) $(generated_headers)
  516.22 + 
  516.23 + distclean:	clean
  516.24 + 
  516.25 +@@ -67,6 +67,9 @@
  516.26 + uav$(_O):	$(HE) av.c
  516.27 + 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) av.c
  516.28 + 
  516.29 ++ucaretx$(_O):	$(HE) caretx.c
  516.30 ++	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) caretx.c
  516.31 ++
  516.32 + udeb$(_O):	$(HE) deb.c
  516.33 + 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) deb.c
  516.34 + 
  516.35 +diff -Naur perl-5.24.1.orig/uconfig64.sh perl-5.24.1/uconfig64.sh
  516.36 +--- perl-5.24.1.orig/uconfig64.sh	2016-07-15 00:38:08.000000000 +0530
  516.37 ++++ perl-5.24.1/uconfig64.sh	2018-05-31 18:01:58.718279780 +0530
  516.38 +@@ -96,7 +96,7 @@
  516.39 + d_ctime64='undef'
  516.40 + d_ctime_r='undef'
  516.41 + d_cuserid='undef'
  516.42 +-d_dbl_dig='undef'
  516.43 ++d_dbl_dig='define'
  516.44 + d_dbminitproto='undef'
  516.45 + d_difftime64='undef'
  516.46 + d_difftime='undef'
  516.47 +@@ -630,9 +630,9 @@
  516.48 + i_dirent='define'
  516.49 + i_dlfcn='undef'
  516.50 + i_execinfo='undef'
  516.51 +-i_fcntl='undef'
  516.52 ++i_fcntl='define'
  516.53 + i_fenv='undef'
  516.54 +-i_float='undef'
  516.55 ++i_float='define'
  516.56 + i_fp='undef'
  516.57 + i_fp_class='undef'
  516.58 + i_gdbm='undef'
  516.59 +@@ -643,7 +643,7 @@
  516.60 + i_inttypes='undef'
  516.61 + i_langinfo='undef'
  516.62 + i_libutil='undef'
  516.63 +-i_limits='undef'
  516.64 ++i_limits='define'
  516.65 + i_locale='undef'
  516.66 + i_machcthr='undef'
  516.67 + i_malloc='undef'
  516.68 +@@ -878,7 +878,7 @@
  516.69 + usenm='false'
  516.70 + usensgetexecutablepath='undef'
  516.71 + useopcode='true'
  516.72 +-useperlio='undef'
  516.73 ++useperlio='define'
  516.74 + useposix='true'
  516.75 + usequadmath='undef'
  516.76 + usereentrant='undef'
  516.77 +diff -Naur perl-5.24.1.orig/uconfig.h perl-5.24.1/uconfig.h
  516.78 +--- perl-5.24.1.orig/uconfig.h	2016-07-15 00:38:08.000000000 +0530
  516.79 ++++ perl-5.24.1/uconfig.h	2018-05-31 18:01:58.718279780 +0530
  516.80 +@@ -94,7 +94,7 @@
  516.81 +  *	of significant digits in a double precision number.  If this
  516.82 +  *	symbol is not defined, a guess of 15 is usually pretty good.
  516.83 +  */
  516.84 +-/*#define HAS_DBL_DIG 	/ **/
  516.85 ++#define HAS_DBL_DIG 	/**/
  516.86 + 
  516.87 + /* HAS_DIFFTIME:
  516.88 +  *	This symbol, if defined, indicates that the difftime routine is
  516.89 +@@ -683,7 +683,7 @@
  516.90 +  *	include <float.h> to get definition of symbols like DBL_MAX or
  516.91 +  *	DBL_MIN, i.e. machine dependent floating point values.
  516.92 +  */
  516.93 +-/*#define I_FLOAT		/ **/
  516.94 ++#define I_FLOAT		/**/
  516.95 + 
  516.96 + /* I_GDBM:
  516.97 +  *	This symbol, if defined, indicates that <gdbm.h> exists and should
  516.98 +diff -Naur perl-5.24.1.orig/uconfig.sh perl-5.24.1/uconfig.sh
  516.99 +--- perl-5.24.1.orig/uconfig.sh	2016-07-15 00:38:08.000000000 +0530
 516.100 ++++ perl-5.24.1/uconfig.sh	2018-05-31 18:01:58.718279780 +0530
 516.101 +@@ -95,7 +95,7 @@
 516.102 + d_ctime64='undef'
 516.103 + d_ctime_r='undef'
 516.104 + d_cuserid='undef'
 516.105 +-d_dbl_dig='undef'
 516.106 ++d_dbl_dig='define'
 516.107 + d_dbminitproto='undef'
 516.108 + d_difftime64='undef'
 516.109 + d_difftime='undef'
 516.110 +@@ -629,9 +629,9 @@
 516.111 + i_dirent='define'
 516.112 + i_dlfcn='undef'
 516.113 + i_execinfo='undef'
 516.114 +-i_fcntl='undef'
 516.115 ++i_fcntl='define'
 516.116 + i_fenv='undef'
 516.117 +-i_float='undef'
 516.118 ++i_float='define'
 516.119 + i_fp='undef'
 516.120 + i_fp_class='undef'
 516.121 + i_gdbm='undef'
 516.122 +@@ -642,7 +642,7 @@
 516.123 + i_inttypes='undef'
 516.124 + i_langinfo='undef'
 516.125 + i_libutil='undef'
 516.126 +-i_limits='undef'
 516.127 ++i_limits='define'
 516.128 + i_locale='undef'
 516.129 + i_machcthr='undef'
 516.130 + i_malloc='undef'
 516.131 +@@ -877,7 +877,7 @@
 516.132 + usenm='false'
 516.133 + usensgetexecutablepath='undef'
 516.134 + useopcode='true'
 516.135 +-useperlio='undef'
 516.136 ++useperlio='define'
 516.137 + useposix='true'
 516.138 + usequadmath='undef'
 516.139 + usereentrant='undef'
 516.140 +
   517.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   517.2 +++ b/microperl/stuff/perl-5.24.4-math-fix.patch	Sun Jan 14 08:12:37 2024 +0000
   517.3 @@ -0,0 +1,29 @@
   517.4 +--- a/perl.h
   517.5 ++++ b/perl.h
   517.6 +@@ -2337,6 +2337,26 @@
   517.7 +     (Perl_fp_class_pdenorm(x) || Perl_fp_class_ndenorm(x))
   517.8 + #endif
   517.9 + 
  517.10 ++/* We have somehow managed not to define the denormal/subnormal
  517.11 ++ * detection.
  517.12 ++ *
  517.13 ++ * This may happen if the compiler doesn't expose the C99 math like
  517.14 ++ * the fpclassify() without some special switches.  Perl tries to
  517.15 ++ * stay C89, so for example -std=c99 is not an option.
  517.16 ++ *
  517.17 ++ * The Perl_isinf() and Perl_isnan() should have been defined even if
  517.18 ++ * the C99 isinf() and isnan() are unavailable, and the NV_MIN becomes
  517.19 ++ * from the C89 DBL_MIN or moral equivalent. */
  517.20 ++#if !defined(Perl_fp_class_denorm) && defined(Perl_isinf) && defined(Perl_isnan) && defined(NV_MIN)
  517.21 ++#  define Perl_fp_class_denorm(x) ((x) != 0.0 && !Perl_isinf(x) && !Perl_isnan(x) && PERL_ABS(x) < NV_MIN)
  517.22 ++#endif
  517.23 ++ 
  517.24 ++/* This is not a great fallback: subnormals tests will fail,
  517.25 ++ * but at least Perl will link and 99.999% of tests will work. */
  517.26 ++#if !defined(Perl_fp_class_denorm)
  517.27 ++#  define Perl_fp_class_denorm(x) FALSE
  517.28 ++#endif
  517.29 ++
  517.30 + #ifdef UNDER_CE
  517.31 + int isnan(double d);
  517.32 + #endif
   518.1 --- a/midori/receipt	Mon Oct 16 18:37:14 2023 +0000
   518.2 +++ b/midori/receipt	Sun Jan 14 08:12:37 2024 +0000
   518.3 @@ -14,11 +14,11 @@
   518.4  
   518.5  GENERIC_MENUS="no"
   518.6  SUGGESTED="midori-lang"
   518.7 -DEPENDS="libnotify libunique libsoup webkitgtk libxslt xorg-libXss \
   518.8 -libsoup-gnome gcr-base harfbuzz-icu gst-plugins-base-1.0 libsecret \
   518.9 +DEPENDS="libnotify libunique libsoup webkit2gtk libxslt xorg-libXss \
  518.10 +libsoup248-gnome gcr-base harfbuzz-icu gst-plugins-base-1.0 libsecret \
  518.11  mesa libegl-mesa libwebp"
  518.12 -BUILD_DEPENDS="glib-dev gtk+-dev gtk+3-dev libnotify-dev libsoup-dev libunique-dev
  518.13 -	webkitgtk-dev libxslt-dev xorg-libXss-dev gcr-dev"
  518.14 +BUILD_DEPENDS="glib-dev gtk+-dev gtk+3-dev libnotify-dev libsoup-dev \
  518.15 +libunique-dev webkit2gtk-dev libxslt-dev xorg-libXss-dev gcr-dev"
  518.16  
  518.17  # Handle cross compilation
  518.18  case "$ARCH" in
  518.19 @@ -55,12 +55,21 @@
  518.20  	# patch for cmake
  518.21  	patch -p1 < $stuff/midori-cmake.patch
  518.22  
  518.23 +	# Let's pkg-config found libsoup248 
  518.24 +	export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
  518.25 +
  518.26 +	# Fix build with new glib/gtk
  518.27 +	find . -type f -regex '.*\.\(c\|vala\)' -exec sed -i \
  518.28 +    	's/Gtk.STOCK_FILE/"text-x-generic"/g;s/Gtk.STOCK_CLOSE/"window-close"/g;s/Gtk.STOCK_ADD/"list-add"/g;s/Gtk.STOCK_HELP/"help-browser"/g;s/Gtk.STOCK_APPLY/""/g;s/Gtk.STOCK_CANCEL/""/g;s/Gtk.STOCK_COPY/"edit-copy"/g;s/Gtk.STOCK_DELETE/"edit-delete"/g;s/Gtk.STOCK_EDIT/""/g;s/Gtk.STOCK_OPEN/"document-open"/g;s/Gtk.STOCK_PREFERENCES/"preferences-system"/g;s/Gtk.STOCK_PROPERTIES/"document-properties"/g;s/Gtk.STOCK_SAVE/"document-save"/g;s/Gtk.STOCK_CLEAR/"edit-clear"/g;s/Gtk.STOCK_DIRECTORY/"folder"/g' \
  518.29 +    	"{}" +;
  518.30 +
  518.31  	mkdir -p build && cd build
  518.32  	cmake \
  518.33  		-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
  518.34  		-DCMAKE_INSTALL_PREFIX=/usr \
  518.35  		-DCMAKE_INSTALL_LIBDIR=lib \
  518.36  		-DUSE_GTK3=OFF \
  518.37 +		-DHALF_BRO_INCOM_WEBKIT2=ON \
  518.38  		-DUSE_ZEITGEIST=0 .. &&
  518.39  	#./configure \
  518.40  	#	--prefix=/usr \
   519.1 --- a/mjpegtools-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   519.2 +++ b/mjpegtools-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   519.3 @@ -15,4 +15,7 @@
   519.4  genpkg_rules()
   519.5  {
   519.6  	get_dev_files
   519.7 +
   519.8 +        # Ensure remove .la files
   519.9 +        find $fs -name "*.la" -delete
  519.10  }
   520.1 --- a/mtpaint/receipt	Mon Oct 16 18:37:14 2023 +0000
   520.2 +++ b/mtpaint/receipt	Sun Jan 14 08:12:37 2024 +0000
   520.3 @@ -33,11 +33,11 @@
   520.4  
   520.5  	case "$ARCH" in
   520.6  		(i?86)
   520.7 -			export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpng12"
   520.8 +			export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
   520.9  			./configure		\
  520.10  				--cpu=$ARCH	\
  520.11  				--prefix=/usr	\
  520.12 -				intl nogif nojp2
  520.13 +				intl nogif nojp2 gtk2
  520.14  			;;
  520.15  		(arm*)
  520.16  			# we need: arm-slitaz-linux-gnueabi-pkg-config
   521.1 --- a/neon-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   521.2 +++ b/neon-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   521.3 @@ -16,5 +16,4 @@
   521.4  {
   521.5  	cook_copy_folders	include
   521.6  	cook_copy_folders	pkgconfig
   521.7 -	cook_copy_files		*.*a
   521.8  }
   522.1 --- a/net-snmp-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   522.2 +++ b/net-snmp-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   522.3 @@ -1,7 +1,7 @@
   522.4  # SliTaz package receipt.
   522.5  
   522.6  PACKAGE="net-snmp-dev"
   522.7 -VERSION="5.9"
   522.8 +VERSION="5.9.3"
   522.9  CATEGORY="development"
  522.10  SHORT_DESC="Development files for net-snmp."
  522.11  MAINTAINER="allan316@gmail.com"
   523.1 --- a/net-snmp/receipt	Mon Oct 16 18:37:14 2023 +0000
   523.2 +++ b/net-snmp/receipt	Sun Jan 14 08:12:37 2024 +0000
   523.3 @@ -1,7 +1,7 @@
   523.4  # SliTaz package receipt.
   523.5  
   523.6  PACKAGE="net-snmp"
   523.7 -VERSION="5.9"
   523.8 +VERSION="5.9.3"
   523.9  CATEGORY="network"
  523.10  TAGS="snmp"
  523.11  SHORT_DESC="SNMP tools."
   524.1 --- a/ninja/receipt	Mon Oct 16 18:37:14 2023 +0000
   524.2 +++ b/ninja/receipt	Sun Jan 14 08:12:37 2024 +0000
   524.3 @@ -12,7 +12,7 @@
   524.4  WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
   524.5  
   524.6  DEPENDS="gcc-lib-base"
   524.7 -BUILD_DEPENDS="python"
   524.8 +BUILD_DEPENDS="python3"
   524.9  
  524.10  current_version()
  524.11  {
  524.12 @@ -23,7 +23,7 @@
  524.13  # Rules to configure and make the package.
  524.14  compile_rules()
  524.15  {
  524.16 -	./configure.py --bootstrap
  524.17 +	python3 ./configure.py --bootstrap
  524.18  }
  524.19  
  524.20  # Rules to gen a SliTaz package suitable for Tazpkg.
   525.1 --- a/npth-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   525.2 +++ b/npth-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   525.3 @@ -16,4 +16,7 @@
   525.4  {
   525.5  	cp -a $install/*	$fs
   525.6  	rm -r $fs/usr/lib/*.so*
   525.7 +
   525.8 +        # Ensure remove .la files
   525.9 +        find $fs -name "*.la" -delete
  525.10  }
   526.1 --- a/ntfs-3g-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   526.2 +++ b/ntfs-3g-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   526.3 @@ -1,7 +1,7 @@
   526.4  # SliTaz package receipt.
   526.5  
   526.6  PACKAGE="ntfs-3g-dev"
   526.7 -VERSION="2021.8.22"
   526.8 +VERSION="2022.10.3"
   526.9  CATEGORY="development"
  526.10  SHORT_DESC="The free ntfs driver development files."
  526.11  MAINTAINER="pankso@slitaz.org"
   527.1 --- a/ntfs-3g/receipt	Mon Oct 16 18:37:14 2023 +0000
   527.2 +++ b/ntfs-3g/receipt	Sun Jan 14 08:12:37 2024 +0000
   527.3 @@ -1,7 +1,7 @@
   527.4  # SliTaz package receipt.
   527.5  
   527.6  PACKAGE="ntfs-3g"
   527.7 -VERSION="2021.8.22"
   527.8 +VERSION="2022.10.3"
   527.9  CATEGORY="system-tools"
  527.10  TAGS="windows"
  527.11  SHORT_DESC="Read and write NTFS driver for FUSE."
  527.12 @@ -48,7 +48,7 @@
  527.13  	rm -rf			$fs/usr/s*
  527.14  	rm -rf			$fs/usr/share
  527.15  	rm -rf			$fs/usr/lib/pkgconfig
  527.16 -	rm -rf			$fs/usr/lib/*.a
  527.17 +	rm -rf			$fs/usr/lib/*.*a
  527.18  	rm -rf			$fs/usr/include
  527.19  	touch			$fs/etc/filesystems
  527.20  	#this link allows udisks2 to use ntfs-3g
   528.1 --- a/openbox-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   528.2 +++ b/openbox-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   528.3 @@ -16,7 +16,6 @@
   528.4  genpkg_rules()
   528.5  {
   528.6  	mkdir -p $fs/usr/lib
   528.7 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   528.8  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   528.9  	cp -a $install/usr/include $fs/usr
  528.10  }
   529.1 --- a/openbox/receipt	Mon Oct 16 18:37:14 2023 +0000
   529.2 +++ b/openbox/receipt	Sun Jan 14 08:12:37 2024 +0000
   529.3 @@ -16,7 +16,7 @@
   529.4  DEPENDS="pango glib xorg-libX11 fontconfig freetype xorg-libXrandr \
   529.5  xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 slitaz-configs"
   529.6  BUILD_DEPENDS=" pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \
   529.7 -libxml2-dev xcb-util-dev"
   529.8 +libxml2-dev xcb-util-dev python-xdg"
   529.9  
  529.10  # Handle slitaz arch: /etc/slitaz/slitaz.conf
  529.11  case "$SLITAZ_ARCH" in 
  529.12 @@ -40,7 +40,15 @@
  529.13  compile_rules()
  529.14  {
  529.15  	chmod +x install-sh
  529.16 -	patch -p1 < ${stuff}/openbox-rounded.patch || exit 1
  529.17 +	# Disable patch to avoid artefact with round corners
  529.18 +	#patch -p1 < ${stuff}/openbox-rounded.patch || exit 1
  529.19 +
  529.20 +	# Patch from Arch
  529.21 +	patch -p1 < $stuff/openbox-3.5.0-title-matching.patch
  529.22 +	patch -p1 < $stuff/openbox-3.5.0-which-2.20.patch
  529.23 +	patch -p1 < $stuff/debian-887908.patch
  529.24 +	patch -p1 < $stuff/9ed6fdd71890c5cc43747f105382d5677e5d37e7.patch
  529.25 +
  529.26  	./configure \
  529.27  		--prefix=/usr \
  529.28  		--sysconfdir=/etc \
   530.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   530.2 +++ b/openbox/stuff/9ed6fdd71890c5cc43747f105382d5677e5d37e7.patch	Sun Jan 14 08:12:37 2024 +0000
   530.3 @@ -0,0 +1,50 @@
   530.4 +From 9ed6fdd71890c5cc43747f105382d5677e5d37e7 Mon Sep 17 00:00:00 2001
   530.5 +From: pldubouilh <pldubouilh@gmail.com>
   530.6 +Date: Fri, 17 Mar 2023 18:23:47 +0100
   530.7 +Subject: [PATCH] Fix list traversal issue in client_calc_layer
   530.8 +
   530.9 +The calls to client_calc_layer_internal can modify stacking_list, which
  530.10 +can cause us to follow dangling ->next pointers (either by the pointer
  530.11 +itself already being freed, or it pointing to a freed area). Avoid this
  530.12 +by copying the list first, the goal is to visit every client in the list
  530.13 +once so this should be fine.
  530.14 +---
  530.15 + openbox/client.c | 9 +++++++--
  530.16 + 1 file changed, 7 insertions(+), 2 deletions(-)
  530.17 +
  530.18 +diff --git a/openbox/client.c b/openbox/client.c
  530.19 +index 7168b2407..b8264587c 100644
  530.20 +--- a/openbox/client.c
  530.21 ++++ b/openbox/client.c
  530.22 +@@ -2742,9 +2742,12 @@ static void client_calc_layer_internal(ObClient *self)
  530.23 + void client_calc_layer(ObClient *self)
  530.24 + {
  530.25 +     GList *it;
  530.26 ++    /* the client_calc_layer_internal calls below modify stacking_list,
  530.27 ++       so we have to make a copy to iterate over */
  530.28 ++    GList *list = g_list_copy(stacking_list);
  530.29 + 
  530.30 +     /* skip over stuff above fullscreen layer */
  530.31 +-    for (it = stacking_list; it; it = g_list_next(it))
  530.32 ++    for (it = list; it; it = g_list_next(it))
  530.33 +         if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
  530.34 + 
  530.35 +     /* find the windows in the fullscreen layer, and mark them not-visited */
  530.36 +@@ -2757,7 +2760,7 @@ void client_calc_layer(ObClient *self)
  530.37 +     client_calc_layer_internal(self);
  530.38 + 
  530.39 +     /* skip over stuff above fullscreen layer */
  530.40 +-    for (it = stacking_list; it; it = g_list_next(it))
  530.41 ++    for (it = list; it; it = g_list_next(it))
  530.42 +         if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
  530.43 + 
  530.44 +     /* now recalc any windows in the fullscreen layer which have not
  530.45 +@@ -2768,6 +2771,8 @@ void client_calc_layer(ObClient *self)
  530.46 +                  !WINDOW_AS_CLIENT(it->data)->visited)
  530.47 +             client_calc_layer_internal(it->data);
  530.48 +     }
  530.49 ++
  530.50 ++    g_list_free(it);
  530.51 + }
  530.52 + 
  530.53 + gboolean client_should_show(ObClient *self)
   531.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   531.2 +++ b/openbox/stuff/debian-887908.patch	Sun Jan 14 08:12:37 2024 +0000
   531.3 @@ -0,0 +1,31 @@
   531.4 +Description: Fix toggled hover and pressed images masks not loaded
   531.5 +Author: "E. Serradilla" <eserradi@gmx.com>
   531.6 +Debian-Bugs: https://bugs.debian.org/887908
   531.7 +
   531.8 +--- a/obrender/theme.c
   531.9 ++++ b/obrender/theme.c
  531.10 +@@ -1494,8 +1494,10 @@ static void read_button_styles(XrmDataba
  531.11 +     READ_BUTTON_MASK_COPY(disabled, btn->unpressed_mask);
  531.12 +     READ_BUTTON_MASK_COPY(hover, btn->unpressed_mask);
  531.13 +     if (toggled_mask) {
  531.14 +-        READ_BUTTON_MASK_COPY(pressed_toggled, btn->unpressed_toggled_mask);
  531.15 +-        READ_BUTTON_MASK_COPY(hover_toggled, btn->unpressed_toggled_mask);
  531.16 ++        g_snprintf(name, 128, "%s_toggled_pressed.xbm", btnname);
  531.17 ++        READ_MASK_COPY(name, btn->pressed_toggled_mask, btn->unpressed_toggled_mask);
  531.18 ++        g_snprintf(name, 128, "%s_toggled_hover.xbm", btnname);
  531.19 ++        READ_MASK_COPY(name, btn->hover_toggled_mask, btn->unpressed_toggled_mask);
  531.20 +     }
  531.21 + 
  531.22 + #define READ_BUTTON_APPEARANCE(typedots, type, fallback) \
  531.23 +@@ -1532,8 +1534,8 @@ static void read_button_styles(XrmDataba
  531.24 +     READ_BUTTON_APPEARANCE("disabled", disabled, 0);
  531.25 +     READ_BUTTON_APPEARANCE("hover", hover, 0);
  531.26 +     if (toggled_mask) {
  531.27 +-        READ_BUTTON_APPEARANCE("unpressed.toggled", unpressed_toggled, 1);
  531.28 +-        READ_BUTTON_APPEARANCE("pressed.toggled", pressed_toggled, 0);
  531.29 +-        READ_BUTTON_APPEARANCE("hover.toggled", hover_toggled, 0);
  531.30 ++        READ_BUTTON_APPEARANCE("toggled.unpressed", unpressed_toggled, 1);
  531.31 ++        READ_BUTTON_APPEARANCE("toggled.pressed", pressed_toggled, 0);
  531.32 ++        READ_BUTTON_APPEARANCE("toggled.hover", hover_toggled, 0);
  531.33 +     }
  531.34 + }
   532.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   532.2 +++ b/openbox/stuff/openbox-3.5.0-title-matching.patch	Sun Jan 14 08:12:37 2024 +0000
   532.3 @@ -0,0 +1,11 @@
   532.4 +--- openbox-3.5.0/openbox/client.c    2011-08-01 22:14:58.000000000 +0200
   532.5 ++++ openbox-3.5.0/openbox/client.c    2011-10-22 14:59:56.000000000 +0200
   532.6 +@@ -883,7 +883,7 @@
   532.7 +                  !g_pattern_match(app->role,
   532.8 +                                   strlen(self->role), self->role, NULL))
   532.9 +             match = FALSE;
  532.10 +-        else if (app->title &&
  532.11 ++        else if (app->title && self->title &&
  532.12 +                  !g_pattern_match(app->title,
  532.13 +                                   strlen(self->title), self->title, NULL))
  532.14 +             match = FALSE;
   533.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   533.2 +++ b/openbox/stuff/openbox-3.5.0-which-2.20.patch	Sun Jan 14 08:12:37 2024 +0000
   533.3 @@ -0,0 +1,11 @@
   533.4 +--- openbox-3.5.0/data/autostart/autostart.in~	2011-08-02 15:50:01.963531310 +0000
   533.5 ++++ openbox-3.5.0/data/autostart/autostart.in	2011-08-02 15:51:57.277879458 +0000
   533.6 +@@ -8,7 +8,7 @@
   533.7 + #
   533.8 + #if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then
   533.9 + #  @libexecdir@/gnome-settings-daemon &
  533.10 +-#elif which gnome-settings-daemon >/dev/null; then
  533.11 ++#elif which gnome-settings-daemon >/dev/null 2>&1; then
  533.12 + #  gnome-settings-daemon &
  533.13 + #fi
  533.14 + 
   534.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   534.2 +++ b/openbox/stuff/py3.patch	Sun Jan 14 08:12:37 2024 +0000
   534.3 @@ -0,0 +1,163 @@
   534.4 +From acfbbc4ea40932f183617bb7006700140fe5f61e Mon Sep 17 00:00:00 2001
   534.5 +From: Troy Curtis Jr <troycurtisjr@gmail.com>
   534.6 +Date: Wed, 13 Sep 2017 21:59:48 -0500
   534.7 +Subject: [PATCH] Add python3 support to openbox-xdg-autostart.
   534.8 +
   534.9 +Updated syntax in openbox-xdg-autostart to support both python2 and
  534.10 +python3.
  534.11 +
  534.12 +Added a configure substitution to set the choosen python at build time.
  534.13 +
  534.14 +https://bugzilla.icculus.org/show_bug.cgi?id=6444
  534.15 +---
  534.16 + .gitignore                                    |  1 +
  534.17 + configure.ac                                  |  3 +
  534.18 + ...xdg-autostart => openbox-xdg-autostart.in} | 70 +++++++++----------
  534.19 + 3 files changed, 38 insertions(+), 36 deletions(-)
  534.20 + rename data/autostart/{openbox-xdg-autostart => openbox-xdg-autostart.in} (77%)
  534.21 +
  534.22 +diff --git a/configure.ac b/configure.ac
  534.23 +index ca1602670..9a31e9845 100644
  534.24 +--- a/configure.ac
  534.25 ++++ b/configure.ac
  534.26 +@@ -103,6 +103,8 @@ AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h grp.h locale.h pwd.h)
  534.27 + AC_CHECK_HEADERS(signal.h string.h stdio.h stdlib.h unistd.h sys/stat.h)
  534.28 + AC_CHECK_HEADERS(sys/select.h sys/socket.h sys/time.h sys/types.h sys/wait.h)
  534.29 + 
  534.30 ++AM_PATH_PYTHON([2],,)
  534.31 ++
  534.32 + AC_PATH_PROG([SED], [sed], [no])
  534.33 + if test "$SED" = "no"; then
  534.34 +   AC_MSG_ERROR([The program "sed" is not available. This program is required to build Openbox.])
  534.35 +@@ -259,6 +261,7 @@ AC_CONFIG_FILES([
  534.36 +   obrender/version.h
  534.37 +   obt/version.h
  534.38 +   version.h
  534.39 ++  data/autostart/openbox-xdg-autostart
  534.40 + ])
  534.41 + AC_CONFIG_COMMANDS([doc],
  534.42 +                    [test -d doc || mkdir doc])
  534.43 +diff --git a/data/autostart/openbox-xdg-autostart b/data/autostart/openbox-xdg-autostart.in
  534.44 +similarity index 77%
  534.45 +rename from data/autostart/openbox-xdg-autostart
  534.46 +rename to data/autostart/openbox-xdg-autostart.in
  534.47 +index 04a17a199..3c365b112 100755
  534.48 +--- a/data/autostart/openbox-xdg-autostart
  534.49 ++++ b/data/autostart/openbox-xdg-autostart.in
  534.50 +@@ -1,4 +1,4 @@
  534.51 +-#!/usr/bin/env python
  534.52 ++#!@PYTHON@
  534.53 + 
  534.54 + # openbox-xdg-autostart runs things based on the XDG autostart specification
  534.55 + # Copyright (C) 2008       Dana Jansens
  534.56 +@@ -28,9 +28,7 @@ try:
  534.57 +     from xdg.DesktopEntry import DesktopEntry
  534.58 +     from xdg.Exceptions import ParsingError
  534.59 + except ImportError:
  534.60 +-    print
  534.61 +-    print >>sys.stderr, "ERROR:", ME, "requires PyXDG to be installed"
  534.62 +-    print
  534.63 ++    sys.stderr.write("\nERROR: %s requires PyXDG to be installed\n" % ME)
  534.64 +     sys.exit(1)
  534.65 + 
  534.66 + def main(argv=sys.argv):
  534.67 +@@ -51,7 +49,7 @@ def main(argv=sys.argv):
  534.68 +             try:
  534.69 +                 autofile = AutostartFile(path)
  534.70 +             except ParsingError:
  534.71 +-                print "Invalid .desktop file: " + path
  534.72 ++                print("Invalid .desktop file: " + path)
  534.73 +             else:
  534.74 +                 if not autofile in files:
  534.75 +                     files.append(autofile)
  534.76 +@@ -99,9 +97,9 @@ class AutostartFile:
  534.77 + 
  534.78 +     def _alert(self, str, info=False):
  534.79 +         if info:
  534.80 +-            print "\t ", str
  534.81 ++            print("\t ", str)
  534.82 +         else:
  534.83 +-            print "\t*", str
  534.84 ++            print("\t*", str)
  534.85 + 
  534.86 +     def _showInEnvironment(self, envs, verbose=False):
  534.87 +         default = not self.de.getOnlyShowIn()
  534.88 +@@ -146,14 +144,14 @@ class AutostartFile:
  534.89 + 
  534.90 +     def display(self, envs):
  534.91 +         if self._shouldRun(envs):
  534.92 +-            print "[*] " + self.de.getName()
  534.93 ++            print("[*] " + self.de.getName())
  534.94 +         else:
  534.95 +-            print "[ ] " + self.de.getName()
  534.96 ++            print("[ ] " + self.de.getName())
  534.97 +         self._alert("File: " + self.path, info=True)
  534.98 +         if self.de.getExec():
  534.99 +             self._alert("Executes: " + self.de.getExec(), info=True)
 534.100 +         self._shouldRun(envs, True)
 534.101 +-        print
 534.102 ++        print()
 534.103 + 
 534.104 +     def run(self, envs):
 534.105 +         here = os.getcwd()
 534.106 +@@ -165,34 +163,34 @@ class AutostartFile:
 534.107 +         os.chdir(here)
 534.108 + 
 534.109 + def show_help():
 534.110 +-    print "Usage:", ME, "[OPTION]... [ENVIRONMENT]..."
 534.111 +-    print
 534.112 +-    print "This tool will run xdg autostart .desktop files"
 534.113 +-    print
 534.114 +-    print "OPTIONS"
 534.115 +-    print "  --list        Show a list of the files which would be run"
 534.116 +-    print "                Files which would be run are marked with an asterix"
 534.117 +-    print "                symbol [*].  For files which would not be run,"
 534.118 +-    print "                information is given for why they are excluded"
 534.119 +-    print "  --help        Show this help and exit"
 534.120 +-    print "  --version     Show version and copyright information"
 534.121 +-    print
 534.122 +-    print "ENVIRONMENT specifies a list of environments for which to run autostart"
 534.123 +-    print "applications.  If none are specified, only applications which do not "
 534.124 +-    print "limit themselves to certain environments will be run."
 534.125 +-    print
 534.126 +-    print "ENVIRONMENT can be one or more of:"
 534.127 +-    print "  GNOME         Gnome Desktop"
 534.128 +-    print "  KDE           KDE Desktop"
 534.129 +-    print "  ROX           ROX Desktop"
 534.130 +-    print "  XFCE          XFCE Desktop"
 534.131 +-    print "  Old           Legacy systems"
 534.132 +-    print
 534.133 ++    print("Usage:", ME, "[OPTION]... [ENVIRONMENT]...")
 534.134 ++    print()
 534.135 ++    print("This tool will run xdg autostart .desktop files")
 534.136 ++    print()
 534.137 ++    print("OPTIONS")
 534.138 ++    print("  --list        Show a list of the files which would be run")
 534.139 ++    print("                Files which would be run are marked with an asterix")
 534.140 ++    print("                symbol [*].  For files which would not be run,")
 534.141 ++    print("                information is given for why they are excluded")
 534.142 ++    print("  --help        Show this help and exit")
 534.143 ++    print("  --version     Show version and copyright information")
 534.144 ++    print()
 534.145 ++    print("ENVIRONMENT specifies a list of environments for which to run autostart")
 534.146 ++    print("applications.  If none are specified, only applications which do not ")
 534.147 ++    print("limit themselves to certain environments will be run.")
 534.148 ++    print()
 534.149 ++    print("ENVIRONMENT can be one or more of:")
 534.150 ++    print("  GNOME         Gnome Desktop")
 534.151 ++    print("  KDE           KDE Desktop")
 534.152 ++    print("  ROX           ROX Desktop")
 534.153 ++    print("  XFCE          XFCE Desktop")
 534.154 ++    print("  Old           Legacy systems")
 534.155 ++    print()
 534.156 + 
 534.157 + def show_version():
 534.158 +-    print ME, VERSION
 534.159 +-    print "Copyright (c) 2008        Dana Jansens"
 534.160 +-    print
 534.161 ++    print(ME, VERSION)
 534.162 ++    print("Copyright (c) 2008        Dana Jansens")
 534.163 ++    print()
 534.164 + 
 534.165 + if __name__ == "__main__":
 534.166 +         sys.exit(main())
   535.1 --- a/openldap-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   535.2 +++ b/openldap-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   535.3 @@ -1,7 +1,7 @@
   535.4  # SliTaz package receipt.
   535.5  
   535.6  PACKAGE="openldap-dev"
   535.7 -VERSION="2.4.46"
   535.8 +VERSION="2.4.59"
   535.9  CATEGORY="development"
  535.10  SHORT_DESC="LDAP database development files."
  535.11  MAINTAINER="pascal.bellard@slitaz.org"
   536.1 --- a/openldap/receipt	Mon Oct 16 18:37:14 2023 +0000
   536.2 +++ b/openldap/receipt	Sun Jan 14 08:12:37 2024 +0000
   536.3 @@ -1,7 +1,7 @@
   536.4  # SliTaz package receipt.
   536.5  
   536.6  PACKAGE="openldap"
   536.7 -VERSION="2.4.46"
   536.8 +VERSION="2.4.59"
   536.9  CATEGORY="misc"
  536.10  SHORT_DESC="LDAP database system."
  536.11  MAINTAINER="pascal.bellard@slitaz.org"
   537.1 --- a/openssh-pam/receipt	Mon Oct 16 18:37:14 2023 +0000
   537.2 +++ b/openssh-pam/receipt	Sun Jan 14 08:12:37 2024 +0000
   537.3 @@ -1,7 +1,7 @@
   537.4  # SliTaz package receipt.
   537.5  
   537.6  PACKAGE="openssh-pam"
   537.7 -VERSION="9.3p1"
   537.8 +VERSION="9.6p1"
   537.9  CATEGORY="security"
  537.10  TAGS="ssh security"
  537.11  SHORT_DESC="Openbsd Secure Shell using PAM."
   538.1 --- a/openssh/receipt	Mon Oct 16 18:37:14 2023 +0000
   538.2 +++ b/openssh/receipt	Sun Jan 14 08:12:37 2024 +0000
   538.3 @@ -1,7 +1,7 @@
   538.4  # SliTaz package receipt.
   538.5  
   538.6  PACKAGE="openssh"
   538.7 -VERSION="9.3p1"
   538.8 +VERSION="9.6p1"
   538.9  CATEGORY="security"
  538.10  TAGS="ssh security"
  538.11  SHORT_DESC="Openbsd Secure Shell."
   539.1 --- a/openssl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   539.2 +++ b/openssl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   539.3 @@ -1,7 +1,7 @@
   539.4  # SliTaz package receipt.
   539.5  
   539.6  PACKAGE="openssl-dev"
   539.7 -VERSION="1.1.1n"
   539.8 +VERSION="1.1.1w"
   539.9  CATEGORY="development"
  539.10  SHORT_DESC="Open source Secure Sockets Layer devel files."
  539.11  MAINTAINER="pascal.bellard@slitaz.org"
   540.1 --- a/openssl/receipt	Mon Oct 16 18:37:14 2023 +0000
   540.2 +++ b/openssl/receipt	Sun Jan 14 08:12:37 2024 +0000
   540.3 @@ -1,7 +1,7 @@
   540.4  # SliTaz package receipt.
   540.5  
   540.6  PACKAGE="openssl"
   540.7 -VERSION="1.1.1n"
   540.8 +VERSION="1.1.1w"
   540.9  CATEGORY="security"
  540.10  SHORT_DESC="Open source Secure Sockets Layer."
  540.11  MAINTAINER="pascal.bellard@slitaz.org"
   541.1 --- a/pam-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   541.2 +++ b/pam-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   541.3 @@ -1,7 +1,7 @@
   541.4  # SliTaz package receipt.
   541.5  
   541.6  PACKAGE="pam-dev"
   541.7 -VERSION="1.2.0"
   541.8 +VERSION="1.5.2"
   541.9  CATEGORY="development"
  541.10  SHORT_DESC="Pluggable Authentication Modules, development files."
  541.11  MAINTAINER="pascal.bellard@slitaz.org"
   542.1 --- a/pam/receipt	Mon Oct 16 18:37:14 2023 +0000
   542.2 +++ b/pam/receipt	Sun Jan 14 08:12:37 2024 +0000
   542.3 @@ -1,15 +1,15 @@
   542.4  # SliTaz package receipt.
   542.5  
   542.6  PACKAGE="pam"
   542.7 -VERSION="1.2.0"
   542.8 +VERSION="1.5.2"
   542.9  CATEGORY="system-tools"
  542.10  SHORT_DESC="Pluggable Authentication Modules."
  542.11  MAINTAINER="pascal.bellard@slitaz.org"
  542.12  LICENSE="BSD GPL2"
  542.13  SOURCE="Linux-PAM"
  542.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  542.15 +TARBALL="$SOURCE-$VERSION.tar.xz"
  542.16  WEB_SITE="http://www.linux-pam.org/"
  542.17 -WGET_URL="https://web.archive.org/web/20160711113353if_/http://linux-pam.org/library/$TARBALL"
  542.18 +WGET_URL="https://github.com/linux-pam/linux-pam/releases/download/v$VERSION/$TARBALL"
  542.19  HOST_ARCH="i486 arm"
  542.20  
  542.21  DEPENDS="glibc-base libdb"
   543.1 --- a/pango-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   543.2 +++ b/pango-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   543.3 @@ -1,7 +1,7 @@
   543.4  # SliTaz package receipt.
   543.5  
   543.6  PACKAGE="pango-dev"
   543.7 -VERSION="1.36.8"
   543.8 +VERSION="1.48.11"
   543.9  CATEGORY="development"
  543.10  SHORT_DESC="Library for layout and rendering of text devel files."
  543.11  MAINTAINER="pankso@slitaz.org"
  543.12 @@ -10,7 +10,7 @@
  543.13  WEB_SITE="https://www.pango.org/"
  543.14  HOST_ARCH="i486 arm"
  543.15  
  543.16 -DEPENDS="pango cairo-dev pkg-config harfbuzz-dev"
  543.17 +DEPENDS="pango cairo-dev pkg-config fribidi-dev harfbuzz-dev"
  543.18  
  543.19  # Rules to gen a SliTaz package suitable for Tazpkg.
  543.20  genpkg_rules()
  543.21 @@ -22,6 +22,4 @@
  543.22  	[ -d "$install/usr/share/gir-1.0" ] && \
  543.23  		cp -a $install/usr/share/gir-1.0 $fs/usr/share
  543.24  	cp -a $install/usr/include $fs/usr
  543.25 -	cp -a $install/usr/lib/pango $fs/usr/lib
  543.26 -	rm -rf $fs/usr/lib/pango/1.8.0/modules/*.so
  543.27  }
   544.1 --- a/pango/receipt	Mon Oct 16 18:37:14 2023 +0000
   544.2 +++ b/pango/receipt	Sun Jan 14 08:12:37 2024 +0000
   544.3 @@ -1,7 +1,7 @@
   544.4  # SliTaz package receipt.
   544.5  
   544.6  PACKAGE="pango"
   544.7 -VERSION="1.36.8"
   544.8 +VERSION="1.48.11"
   544.9  CATEGORY="x-window"
  544.10  SHORT_DESC="Layout and rendering of internationalized text"
  544.11  MAINTAINER="pankso@slitaz.org"
  544.12 @@ -12,8 +12,10 @@
  544.13  CONFIG_FILES="/etc/pango/pango.modules"
  544.14  HOST_ARCH="i486 arm"
  544.15  
  544.16 -DEPENDS="cairo xorg-libXft slitaz-base-files gcc-lib-base util-linux-uuid"
  544.17 -BUILD_DEPENDS="cairo-dev libxml2-dev xorg-libXft-dev"
  544.18 +DEPENDS="cairo xorg-libXft slitaz-base-files gcc-lib-base \
  544.19 +util-linux-uuid fribidi"
  544.20 +BUILD_DEPENDS="cairo-dev libxml2-dev xorg-libXft-dev \
  544.21 +meson fribidi-dev harfbuzz-dev"
  544.22  
  544.23  # Handle cross compilation
  544.24  case "$ARCH" in
  544.25 @@ -34,29 +36,20 @@
  544.26  # Rules to configure and make the package. 
  544.27  compile_rules()
  544.28  {
  544.29 -	./configure \
  544.30 -		--prefix=/usr \
  544.31 -		--sysconfdir=/etc \
  544.32 -		--with-html-dir=/usr/share/doc \
  544.33 -		$CONFIGURE_ARGS $ARCH_ARGS &&
  544.34 -	make && make install
  544.35 +        meson build \
  544.36 +            --prefix=/usr \
  544.37 +            --libdir=lib \
  544.38 +            --bindir=/usr/bin \
  544.39 +            --sbindir=/usr/sbin \
  544.40 +            --buildtype=release &&
  544.41 +        ninja -C build &&
  544.42 +        ninja -C build install
  544.43  }
  544.44  
  544.45  # Rules to gen a SliTaz package suitable for Tazpkg.
  544.46  genpkg_rules()
  544.47  {
  544.48 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc/pango
  544.49 +	mkdir -p $fs/usr/bin $fs/usr/lib
  544.50  	cp -a $install/usr/bin/* $fs/usr/bin
  544.51  	cp -a $install/usr/lib/*.so* $fs/usr/lib
  544.52 -	cp -a $install/usr/lib/pango $fs/usr/lib
  544.53 -	rm -rf $fs/usr/lib/pango/1.8.0/modules/*.la
  544.54 -	[ -d "$install/etc" ] && cp -a $install/etc $fs
  544.55 -	touch $fs/etc/pango/pango.modules
  544.56  }
  544.57 -
  544.58 -# Pre and post install commands for Tazpkg.
  544.59 -post_install()
  544.60 -{
  544.61 -	# Rebuilds pango.modules when installed.
  544.62 -	chroot "$1/" /usr/bin/pango-querymodules > "$1/etc/pango/pango.modules"
  544.63 -}
   545.1 --- a/pangomm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   545.2 +++ b/pangomm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   545.3 @@ -1,7 +1,7 @@
   545.4  # SliTaz package receipt.
   545.5  
   545.6  PACKAGE="pangomm-dev"
   545.7 -VERSION="2.35.1"
   545.8 +VERSION="2.42.2"
   545.9  CATEGORY="development"
  545.10  SHORT_DESC="Pangomm library devel files."
  545.11  MAINTAINER="pankso@slitaz.org"
   546.1 --- a/pangomm/receipt	Mon Oct 16 18:37:14 2023 +0000
   546.2 +++ b/pangomm/receipt	Sun Jan 14 08:12:37 2024 +0000
   546.3 @@ -1,7 +1,7 @@
   546.4  # SliTaz package receipt.
   546.5  
   546.6  PACKAGE="pangomm"
   546.7 -VERSION="2.35.1"
   546.8 +VERSION="2.42.2"
   546.9  CATEGORY="x-window"
  546.10  SHORT_DESC="Pango binding for GTKmm."
  546.11  MAINTAINER="pankso@slitaz.org"
  546.12 @@ -11,7 +11,8 @@
  546.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  546.14  
  546.15  DEPENDS="pixman cairomm glibmm libgiomm pango gcc-lib-base"
  546.16 -BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev libxml2-dev"
  546.17 +BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev \
  546.18 +libxml2-dev meson"
  546.19  
  546.20  current_version()
  546.21  {
  546.22 @@ -23,12 +24,14 @@
  546.23  # Rules to configure and make the package.
  546.24  compile_rules()
  546.25  {
  546.26 -    cd $src
  546.27 -    ./configure \
  546.28 -	--disable-documentation \
  546.29 -	$CONFIGURE_ARGS &&
  546.30 -    make &&
  546.31 -    make install
  546.32 +        meson build \
  546.33 +            --prefix=/usr \
  546.34 +            --libdir=lib \
  546.35 +            --bindir=/usr/bin \
  546.36 +            --sbindir=/usr/sbin \
  546.37 +            --buildtype=release &&                                                         
  546.38 +        ninja -C build &&
  546.39 +        ninja -C build install
  546.40  }
  546.41  
  546.42  # Rules to gen a SliTaz package suitable for Tazpkg.
   547.1 --- a/parted/receipt	Mon Oct 16 18:37:14 2023 +0000
   547.2 +++ b/parted/receipt	Sun Jan 14 08:12:37 2024 +0000
   547.3 @@ -26,6 +26,9 @@
   547.4  # Rules to configure and make the package.
   547.5  compile_rules()
   547.6  {
   547.7 +	# Patch to be build with glibc 2.28
   547.8 +	patch -p1 < $stuff/build_with_glibc-2.28.patch
   547.9 +
  547.10  	patch -p1 < $stuff/device_mapper.u
  547.11  	grep -qs 'define u8' libparted/arch/linux.c ||
  547.12  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
   548.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   548.2 +++ b/parted/stuff/build_with_glibc-2.28.patch	Sun Jan 14 08:12:37 2024 +0000
   548.3 @@ -0,0 +1,12 @@
   548.4 +diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
   548.5 +index 31b98ab..7e86b51 100644
   548.6 +--- a/libparted/arch/linux.c
   548.7 ++++ b/libparted/arch/linux.c
   548.8 +@@ -41,6 +41,7 @@
   548.9 + #include <sys/utsname.h>        /* for uname() */
  548.10 + #include <scsi/scsi.h>
  548.11 + #include <assert.h>
  548.12 ++#include <sys/sysmacros.h>
  548.13 + #ifdef ENABLE_DEVICE_MAPPER
  548.14 + #include <libdevmapper.h>
  548.15 + #endif
   549.1 --- a/perl-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   549.2 +++ b/perl-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   549.3 @@ -1,13 +1,13 @@
   549.4  # SliTaz package receipt.
   549.5  
   549.6  PACKAGE="perl-dev"
   549.7 -VERSION="5.14.1"
   549.8 +VERSION="5.34.0"
   549.9  CATEGORY="development"
  549.10  SHORT_DESC="Full Perl interpreter and modules using libperl.so."
  549.11  MAINTAINER="pankso@slitaz.org"
  549.12  LICENSE="GPL"
  549.13  SOURCE="perl"
  549.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  549.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
  549.16  DEPENDS="libdb gdbm zlib"
  549.17  BUILD_DEPENDS="db gdbm zlib less"
  549.18  WEB_SITE="https://www.perl.org/"
   550.1 --- a/perl-thread/receipt	Mon Oct 16 18:37:14 2023 +0000
   550.2 +++ b/perl-thread/receipt	Sun Jan 14 08:12:37 2024 +0000
   550.3 @@ -2,7 +2,7 @@
   550.4  
   550.5  PACKAGE="perl-thread"
   550.6  SOURCE="perl"
   550.7 -VERSION="5.24.4"
   550.8 +VERSION="5.34.0"
   550.9  CATEGORY="development"
  550.10  SHORT_DESC="Full Perl interpreter and modules."
  550.11  MAINTAINER="pankso@slitaz.org"
   551.1 --- a/perl/receipt	Mon Oct 16 18:37:14 2023 +0000
   551.2 +++ b/perl/receipt	Sun Jan 14 08:12:37 2024 +0000
   551.3 @@ -1,7 +1,7 @@
   551.4  # SliTaz package receipt.
   551.5  
   551.6  PACKAGE="perl"
   551.7 -VERSION="5.24.4"
   551.8 +VERSION="5.34.0"
   551.9  CATEGORY="development"
  551.10  SHORT_DESC="Full Perl interpreter and modules."
  551.11  MAINTAINER="pankso@slitaz.org"
  551.12 @@ -11,7 +11,6 @@
  551.13  BUILD_DEPENDS="db gdbm zlib less"
  551.14  WEB_SITE="https://www.perl.org/"
  551.15  WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
  551.16 -PROVIDE="microperl"
  551.17  
  551.18  current_version()
  551.19  {
  551.20 @@ -46,10 +45,6 @@
  551.21  #
  551.22  compile_rules()
  551.23  {
  551.24 -	# patch to fix issue Perl_fp_class_denorm(). test
  551.25 -	# see https://github.com/Perl/perl5/commit/488307f
  551.26 -	patch -p1 -i $stuff/perl-5.24.4-math-fix.patch
  551.27 -
  551.28  	./configure.gnu --prefix=/usr \
  551.29  		-Darchname="$ARCH-linux" \
  551.30  		-Dmyarchname="$ARCH-linux" \
  551.31 @@ -60,21 +55,6 @@
  551.32  		-Dinstallarchlib="/usr/lib/perl5/$VERSION/$ARCH-linux" &&
  551.33  	make &&
  551.34  	make install
  551.35 -
  551.36 -	# make microperl here
  551.37 -	# patch to fix compiling microperl
  551.38 -	#patch -p0 -i $stuff/miniperlmain.patch
  551.39 -        patch -p1 -i $stuff/perl-5.24.1-microperl-fix.patch
  551.40 -	# Install in /usr (default is /usr/local).
  551.41 -	sed -i s/'usr\/local'/'usr'/ uconfig.sh
  551.42 -	# Sed to search mods in /usr/lib/perl5.
  551.43 -	sed -i s/'perl5\/'${VERSION%.*}/'perl5'/ uconfig.sh
  551.44 -	# Optimisation.
  551.45 -	sed -i s/'unknown'/'$HOST_SYSTEM'/ uconfig.sh
  551.46 -	# Make it!
  551.47 -	make -f Makefile.micro regen_uconfig &&
  551.48 -	make -f Makefile.micro &&
  551.49 -	strip microperl
  551.50  }
  551.51  
  551.52  # Rules to gen a SliTaz package suitable for Tazpkg.
   552.1 --- a/pinentry-gtk/receipt	Mon Oct 16 18:37:14 2023 +0000
   552.2 +++ b/pinentry-gtk/receipt	Sun Jan 14 08:12:37 2024 +0000
   552.3 @@ -1,7 +1,7 @@
   552.4  # SliTaz package receipt.
   552.5  
   552.6  PACKAGE="pinentry-gtk"
   552.7 -VERSION="1.1.0"
   552.8 +VERSION="1.2.0"
   552.9  CATEGORY="security"
  552.10  SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)."
  552.11  MAINTAINER="pascal.bellard@slitaz.org"
  552.12 @@ -28,7 +28,7 @@
  552.13  compile_rules()
  552.14  {
  552.15  	# Integrity check: https://www.gnupg.org/download/integrity_check.html
  552.16 -	echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0  $SRC/$TARBALL" | sha1sum -c || exit 1
  552.17 +	echo "e37fb307f3842c1bb56ab94b4862b64beb38c629  $SRC/$TARBALL" | sha1sum -c || exit 1
  552.18  
  552.19  	export LDFLAGS="$LDFLAGS -ltinfo"
  552.20  	./configure \
   553.1 --- a/pinentry/receipt	Mon Oct 16 18:37:14 2023 +0000
   553.2 +++ b/pinentry/receipt	Sun Jan 14 08:12:37 2024 +0000
   553.3 @@ -1,7 +1,7 @@
   553.4  # SliTaz package receipt.
   553.5  
   553.6  PACKAGE="pinentry"
   553.7 -VERSION="1.1.0"
   553.8 +VERSION="1.2.0"
   553.9  CATEGORY="security"
  553.10  SHORT_DESC="Collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner."
  553.11  MAINTAINER="pascal.bellard@slitaz.org"
  553.12 @@ -27,7 +27,7 @@
  553.13  compile_rules()
  553.14  {
  553.15  	# Integrity check: https://www.gnupg.org/download/integrity_check.html
  553.16 -	echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0  $SRC/$TARBALL" | sha1sum -c || exit 1
  553.17 +	echo "e37fb307f3842c1bb56ab94b4862b64beb38c629  $SRC/$TARBALL" | sha1sum -c || exit 1
  553.18  
  553.19  	./configure --enable-pinentry-curses --build=i486-slitaz-linux-gnu &&
  553.20  	make && make install
   554.1 --- a/polkit/receipt	Mon Oct 16 18:37:14 2023 +0000
   554.2 +++ b/polkit/receipt	Sun Jan 14 08:12:37 2024 +0000
   554.3 @@ -32,6 +32,7 @@
   554.4  		--libexecdir=/usr/lib/polkit-1 \
   554.5  		--disable-man-pages \
   554.6  		--disable-gtk-doc \
   554.7 +		--enable-introspection \
   554.8  		--with-authfw=shadow \
   554.9  		$CONFIGURE_ARGS &&
  554.10  	make && make install
   555.1 --- a/poppler-data/receipt	Mon Oct 16 18:37:14 2023 +0000
   555.2 +++ b/poppler-data/receipt	Sun Jan 14 08:12:37 2024 +0000
   555.3 @@ -1,7 +1,7 @@
   555.4  # SliTaz package receipt.
   555.5  
   555.6  PACKAGE="poppler-data"
   555.7 -VERSION="0.4.6"
   555.8 +VERSION="0.4.11"
   555.9  CATEGORY="office"
  555.10  SHORT_DESC="Poppler encoding data."
  555.11  MAINTAINER="rocky@slitaz.org"
   556.1 --- a/ppp-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   556.2 +++ b/ppp-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   556.3 @@ -1,7 +1,7 @@
   556.4  # SliTaz package receipt.
   556.5  
   556.6  PACKAGE="ppp-dev"
   556.7 -VERSION="2.4.7"
   556.8 +VERSION="2.4.9"
   556.9  CATEGORY="development"
  556.10  SHORT_DESC="Point-to-Point Protocol (PPP) development files."
  556.11  MAINTAINER="pankso@slitaz.org"
   557.1 --- a/ppp-pam/receipt	Mon Oct 16 18:37:14 2023 +0000
   557.2 +++ b/ppp-pam/receipt	Sun Jan 14 08:12:37 2024 +0000
   557.3 @@ -1,7 +1,7 @@
   557.4  # SliTaz package receipt.
   557.5  
   557.6  PACKAGE="ppp-pam"
   557.7 -VERSION="2.4.7"
   557.8 +VERSION="2.4.9"
   557.9  CATEGORY="network"
  557.10  SHORT_DESC="Implements the Point-to-Point Protocol (PPP) with PAM support."
  557.11  MAINTAINER="pascal.bellard@slitaz.org"
  557.12 @@ -13,8 +13,8 @@
  557.13  CONFIG_FILES="/etc/ppp/options"
  557.14  SECRET_FILES="/etc/ppp/*secrets"
  557.15  
  557.16 -DEPENDS="pam"
  557.17 -BUILD_DEPENDS="wget pam pam-dev"
  557.18 +DEPENDS="pam libpcap libssl"
  557.19 +BUILD_DEPENDS="wget pam pam-dev libpcap-dev openssl-dev"
  557.20  PROVIDE="ppp:pam"
  557.21  
  557.22  current_version()
  557.23 @@ -27,6 +27,11 @@
  557.24  compile_rules()
  557.25  {
  557.26  	sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
  557.27 +
  557.28 +        # Patch to use with glibc < 2.24
  557.29 +        # see https://github.com/ppp-project/ppp/commit/98ec18f
  557.30 +        patch -p1 < $stuff/ppp-glibc.patch
  557.31 +
  557.32  	./configure --prefix=/usr \
  557.33  		$CONFIGURE_ARGS &&
  557.34  	make &&
   558.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   558.2 +++ b/ppp-pam/stuff/ppp-glibc.patch	Sun Jan 14 08:12:37 2024 +0000
   558.3 @@ -0,0 +1,60 @@
   558.4 +From 98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be Mon Sep 17 00:00:00 2001
   558.5 +From: pali <7141871+pali@users.noreply.github.com>
   558.6 +Date: Mon, 15 Feb 2021 07:54:01 +0100
   558.7 +Subject: [PATCH] pppd: Fix compilation with older glibc or kernel headers
   558.8 + (#248)
   558.9 +MIME-Version: 1.0
  558.10 +Content-Type: text/plain; charset=UTF-8
  558.11 +Content-Transfer-Encoding: 8bit
  558.12 +
  558.13 +glibc versions prior to 2.24 do not define SOL_NETLINK and linux kernel
  558.14 +versions prior to 4.3 do not define NETLINK_CAP_ACK. So add fallback
  558.15 +definitions for these macros into pppd/sys-linux.c file.
  558.16 +
  558.17 +Also extend description why we call SOL_NETLINK/NETLINK_CAP_ACK option.
  558.18 +
  558.19 +Signed-off-by: Pali Rohár <pali@kernel.org>
  558.20 +
  558.21 +[Retrieved from:
  558.22 +https://github.com/ppp-project/ppp/commit/98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be]
  558.23 +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  558.24 +---
  558.25 + pppd/sys-linux.c | 18 +++++++++++++++++-
  558.26 + 1 file changed, 17 insertions(+), 1 deletion(-)
  558.27 +
  558.28 +diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
  558.29 +index 85033d97..50c4f2da 100644
  558.30 +--- a/pppd/sys-linux.c
  558.31 ++++ b/pppd/sys-linux.c
  558.32 +@@ -125,6 +125,14 @@
  558.33 + #include <linux/netlink.h>
  558.34 + #include <linux/rtnetlink.h>
  558.35 + #include <linux/if_addr.h>
  558.36 ++/* glibc versions prior to 2.24 do not define SOL_NETLINK */
  558.37 ++#ifndef SOL_NETLINK
  558.38 ++#define SOL_NETLINK 270
  558.39 ++#endif
  558.40 ++/* linux kernel versions prior to 4.3 do not define/support NETLINK_CAP_ACK */
  558.41 ++#ifndef NETLINK_CAP_ACK
  558.42 ++#define NETLINK_CAP_ACK 10
  558.43 ++#endif
  558.44 + #endif
  558.45 + 
  558.46 + #include "pppd.h"
  558.47 +@@ -2843,7 +2851,15 @@ static int append_peer_ipv6_address(unsigned int iface, struct in6_addr *local_a
  558.48 +     if (fd < 0)
  558.49 +         return 0;
  558.50 + 
  558.51 +-    /* do not ask for error message content */
  558.52 ++    /*
  558.53 ++     * Tell kernel to not send to us payload of acknowledgment error message.
  558.54 ++     * NETLINK_CAP_ACK option is supported since Linux kernel version 4.3 and
  558.55 ++     * older kernel versions always send full payload in acknowledgment netlink
  558.56 ++     * message. We ignore payload of this message as we need only error code,
  558.57 ++     * to check if our set remote peer address request succeeded or failed.
  558.58 ++     * So ignore return value from the following setsockopt() call as setting
  558.59 ++     * option NETLINK_CAP_ACK means for us just a kernel hint / optimization.
  558.60 ++     */
  558.61 +     one = 1;
  558.62 +     setsockopt(fd, SOL_NETLINK, NETLINK_CAP_ACK, &one, sizeof(one));
  558.63 + 
   559.1 --- a/ppp/receipt	Mon Oct 16 18:37:14 2023 +0000
   559.2 +++ b/ppp/receipt	Sun Jan 14 08:12:37 2024 +0000
   559.3 @@ -1,7 +1,7 @@
   559.4  # SliTaz package receipt.
   559.5  
   559.6  PACKAGE="ppp"
   559.7 -VERSION="2.4.7"
   559.8 +VERSION="2.4.9"
   559.9  CATEGORY="network"
  559.10  SHORT_DESC="Implements the Point-to-Point Protocol (PPP)."
  559.11  MAINTAINER="pankso@slitaz.org"
  559.12 @@ -13,7 +13,8 @@
  559.13  SECRET_FILES="/etc/ppp/*secrets"
  559.14  HOST_ARCH="i486 arm"
  559.15  
  559.16 -BUILD_DEPENDS="wget"
  559.17 +DEPENDS="libpcap libssl"
  559.18 +BUILD_DEPENDS="wget openssl-dev libpcap-dev"
  559.19  SUGGESTED="tazpanel"
  559.20  
  559.21  current_version()
  559.22 @@ -29,6 +30,11 @@
  559.23  	arm*)
  559.24  		export PATH=/cross/arm/tools/arm-slitaz-linux-gnueabi/bin:$PATH
  559.25  	esac
  559.26 +
  559.27 +	# Patch to use with glibc < 2.24
  559.28 +	# see https://github.com/ppp-project/ppp/commit/98ec18f
  559.29 +	patch -p1 < $stuff/ppp-glibc.patch
  559.30 +
  559.31  	./configure --prefix=/usr \
  559.32  		$CONFIGURE_ARGS &&
  559.33  	make &&
   560.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   560.2 +++ b/ppp/stuff/ppp-glibc.patch	Sun Jan 14 08:12:37 2024 +0000
   560.3 @@ -0,0 +1,60 @@
   560.4 +From 98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be Mon Sep 17 00:00:00 2001
   560.5 +From: pali <7141871+pali@users.noreply.github.com>
   560.6 +Date: Mon, 15 Feb 2021 07:54:01 +0100
   560.7 +Subject: [PATCH] pppd: Fix compilation with older glibc or kernel headers
   560.8 + (#248)
   560.9 +MIME-Version: 1.0
  560.10 +Content-Type: text/plain; charset=UTF-8
  560.11 +Content-Transfer-Encoding: 8bit
  560.12 +
  560.13 +glibc versions prior to 2.24 do not define SOL_NETLINK and linux kernel
  560.14 +versions prior to 4.3 do not define NETLINK_CAP_ACK. So add fallback
  560.15 +definitions for these macros into pppd/sys-linux.c file.
  560.16 +
  560.17 +Also extend description why we call SOL_NETLINK/NETLINK_CAP_ACK option.
  560.18 +
  560.19 +Signed-off-by: Pali Rohár <pali@kernel.org>
  560.20 +
  560.21 +[Retrieved from:
  560.22 +https://github.com/ppp-project/ppp/commit/98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be]
  560.23 +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  560.24 +---
  560.25 + pppd/sys-linux.c | 18 +++++++++++++++++-
  560.26 + 1 file changed, 17 insertions(+), 1 deletion(-)
  560.27 +
  560.28 +diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
  560.29 +index 85033d97..50c4f2da 100644
  560.30 +--- a/pppd/sys-linux.c
  560.31 ++++ b/pppd/sys-linux.c
  560.32 +@@ -125,6 +125,14 @@
  560.33 + #include <linux/netlink.h>
  560.34 + #include <linux/rtnetlink.h>
  560.35 + #include <linux/if_addr.h>
  560.36 ++/* glibc versions prior to 2.24 do not define SOL_NETLINK */
  560.37 ++#ifndef SOL_NETLINK
  560.38 ++#define SOL_NETLINK 270
  560.39 ++#endif
  560.40 ++/* linux kernel versions prior to 4.3 do not define/support NETLINK_CAP_ACK */
  560.41 ++#ifndef NETLINK_CAP_ACK
  560.42 ++#define NETLINK_CAP_ACK 10
  560.43 ++#endif
  560.44 + #endif
  560.45 + 
  560.46 + #include "pppd.h"
  560.47 +@@ -2843,7 +2851,15 @@ static int append_peer_ipv6_address(unsigned int iface, struct in6_addr *local_a
  560.48 +     if (fd < 0)
  560.49 +         return 0;
  560.50 + 
  560.51 +-    /* do not ask for error message content */
  560.52 ++    /*
  560.53 ++     * Tell kernel to not send to us payload of acknowledgment error message.
  560.54 ++     * NETLINK_CAP_ACK option is supported since Linux kernel version 4.3 and
  560.55 ++     * older kernel versions always send full payload in acknowledgment netlink
  560.56 ++     * message. We ignore payload of this message as we need only error code,
  560.57 ++     * to check if our set remote peer address request succeeded or failed.
  560.58 ++     * So ignore return value from the following setsockopt() call as setting
  560.59 ++     * option NETLINK_CAP_ACK means for us just a kernel hint / optimization.
  560.60 ++     */
  560.61 +     one = 1;
  560.62 +     setsockopt(fd, SOL_NETLINK, NETLINK_CAP_ACK, &one, sizeof(one));
  560.63 + 
   561.1 --- a/pth-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   561.2 +++ b/pth-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   561.3 @@ -12,9 +12,8 @@
   561.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   561.5  genpkg_rules()
   561.6  {
   561.7 -	mkdir -p $fs/usr/lib $fs/usr/share
   561.8 +	mkdir -p $fs/usr/share
   561.9  	cp -a $install/usr/bin $fs/usr
  561.10 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  561.11  	cp -a $install/usr/include $fs/usr
  561.12  	cp -a $install/usr/share/aclocal $fs/usr/share
  561.13  }
   562.1 --- a/pulseaudio-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   562.2 +++ b/pulseaudio-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   562.3 @@ -14,6 +14,6 @@
   562.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   562.5  genpkg_rules()
   562.6  {
   562.7 -	cook_copy_files *.h *.la *.pc *.cmake
   562.8 +	cook_copy_files *.h *.pc *.cmake
   562.9  }
  562.10  
   563.1 --- a/pulseaudio/receipt	Mon Oct 16 18:37:14 2023 +0000
   563.2 +++ b/pulseaudio/receipt	Sun Jan 14 08:12:37 2024 +0000
   563.3 @@ -11,11 +11,11 @@
   563.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
   563.5  WGET_URL="https://freedesktop.org/software/$PACKAGE/releases/$TARBALL"
   563.6  
   563.7 -DEPENDS="attr dbus flac gcc83-lib-base gdbm jack-audio-connection-kit \
   563.8 +DEPENDS="attr dbus flac gcc-lib-base gdbm jack-audio-connection-kit \
   563.9  	libcap libjson-c libsamplerate libsndfile libltdl libvorbis \
  563.10  	speex"
  563.11  BUILD_DEPENDS="alsa-lib-dev autoconf automake dbus-dev file flac-dev \
  563.12 -	gcc83 intltool jack-audio-connection-kit-dev libcap-dev \
  563.13 +	gcc intltool jack-audio-connection-kit-dev libcap-dev \
  563.14  	libjson-c-dev libsamplerate-dev libsndfile-dev libtool libvorbis-dev \
  563.15  	m4 pkg-config speex-dev udev-dev util-linux-uuid-dev"
  563.16  SPLIT="pulseaudio-locale pulseaudio-man pulseaudio-vala pulseaudio-dev"
  563.17 @@ -35,9 +35,6 @@
  563.18  {
  563.19  	grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
  563.20  
  563.21 -	export	CC=gcc-83
  563.22 -	export	CXX=g++-83
  563.23 -
  563.24  	./bootstrap.sh &&
  563.25  	./configure					\
  563.26  		--sysconfdir=/etc			\
   564.1 --- a/pycairo-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   564.2 +++ b/pycairo-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   564.3 @@ -1,7 +1,7 @@
   564.4  # SliTaz package receipt.
   564.5  
   564.6  PACKAGE="pycairo-dev"
   564.7 -VERSION="1.18.2"
   564.8 +VERSION="1.20.1"
   564.9  CATEGORY="development"
  564.10  SHORT_DESC="Python bindings for the cairo graphics library - development files."
  564.11  MAINTAINER="erjo@slitaz.org"
   565.1 --- a/pycairo/receipt	Mon Oct 16 18:37:14 2023 +0000
   565.2 +++ b/pycairo/receipt	Sun Jan 14 08:12:37 2024 +0000
   565.3 @@ -1,7 +1,7 @@
   565.4  # SliTaz package receipt.
   565.5  
   565.6  PACKAGE="pycairo"
   565.7 -VERSION="1.18.2"
   565.8 +VERSION="1.20.1"
   565.9  CATEGORY="development"
  565.10  SHORT_DESC="Python bindings for the cairo graphics library."
  565.11  MAINTAINER="erjo@slitaz.org"
  565.12 @@ -13,7 +13,7 @@
  565.13  
  565.14  DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
  565.15  	xorg-libXdmcp xorg-libXrender xcb-util"
  565.16 -BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto"
  565.17 +BUILD_DEPENDS="cairo cairo-dev pkg-config python3-dev xorg-xproto"
  565.18  
  565.19  current_version()
  565.20  {
  565.21 @@ -24,14 +24,14 @@
  565.22  # Rules to configure and make the package.
  565.23  compile_rules()
  565.24  {
  565.25 -	python setup.py build &&
  565.26 -	python setup.py install --root=$DESTDIR
  565.27 +	python3 setup.py build &&
  565.28 +	python3 setup.py install --root=$DESTDIR
  565.29  }
  565.30  
  565.31  # Rules to gen a SliTaz package suitable for Tazpkg.
  565.32  genpkg_rules()
  565.33  {
  565.34 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
  565.35 +	PYTHON_LIB=python$(grep ^VERSION= $WOK/python3/receipt | sed 's/.*"\(...\).*/\1/')
  565.36  
  565.37  	mkdir -p $fs/usr/lib
  565.38  	cp -a $install/usr/lib/$PYTHON_LIB	$fs/usr/lib
   566.1 --- a/pygobject/receipt	Mon Oct 16 18:37:14 2023 +0000
   566.2 +++ b/pygobject/receipt	Sun Jan 14 08:12:37 2024 +0000
   566.3 @@ -39,4 +39,7 @@
   566.4  	mkdir -p $fs/usr/lib
   566.5  	cp -a $install/usr/lib/$PYTHON_LIB	$fs/usr/lib
   566.6  	cp -a $install/usr/lib/*.so*		$fs/usr/lib
   566.7 +
   566.8 +        # Ensure remove .la files
   566.9 +        find $fs -name "*.la" -delete
  566.10  }
   567.1 --- a/pygobject3/receipt	Mon Oct 16 18:37:14 2023 +0000
   567.2 +++ b/pygobject3/receipt	Sun Jan 14 08:12:37 2024 +0000
   567.3 @@ -2,7 +2,7 @@
   567.4  
   567.5  PACKAGE="pygobject3"
   567.6  SOURCE="pygobject"
   567.7 -VERSION="3.18.2"
   567.8 +VERSION="3.42.0"
   567.9  CATEGORY="development"
  567.10  SHORT_DESC="Python bindings for the GObject3 library"
  567.11  MAINTAINER="psychomaniak@xakep.ru"
  567.12 @@ -12,9 +12,10 @@
  567.13  WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
  567.14  
  567.15  PROVIDE="python-gi"
  567.16 -DEPENDS="python pycairo glib libffi libgio gtk-girepository"
  567.17 -BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev libgio-dev \
  567.18 -pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
  567.19 +DEPENDS="python3 pycairo glib libffi libgio gtk-girepository"
  567.20 +BUILD_DEPENDS="$DEPENDS python3-pip python3-dev python3-setuptools \
  567.21 +pkg-config glib-dev libgio-dev pycairo-dev cairo-dev \
  567.22 +libffi-dev gobject-introspection-dev"
  567.23  
  567.24  current_version()
  567.25  {
  567.26 @@ -25,9 +26,7 @@
  567.27  # Rules to configure and make the package.
  567.28  compile_rules()
  567.29  {
  567.30 -	./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool
  567.31 -	./configure $CONFIGURE_ARGS &&
  567.32 -	make && make install
  567.33 +	pip3 install --no-compile --root=$install PyGObject==$VERSION
  567.34  }
  567.35  
  567.36  # Rules to gen a SliTaz package suitable for Tazpkg.
   568.1 --- a/pygtk-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   568.2 +++ b/pygtk-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   568.3 @@ -21,5 +21,7 @@
   568.4  	cp -a $install/usr/bin $fs/usr
   568.5  	cp -a $install/usr/share/pygtk $fs/usr/share
   568.6  	chmod +x $fs/usr/bin/*
   568.7 +
   568.8 +        # Ensure remove .la files
   568.9 +        find $fs -name "*.la" -delete
  568.10  }
  568.11 -
   569.1 --- a/pygtk/receipt	Mon Oct 16 18:37:14 2023 +0000
   569.2 +++ b/pygtk/receipt	Sun Jan 14 08:12:37 2024 +0000
   569.3 @@ -10,11 +10,11 @@
   569.4  WEB_SITE="http://www.pygtk.org/"
   569.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   569.6  
   569.7 -DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
   569.8 +DEPENDS="python pycairo118 pygobject expat gtk+ libglade libxml2 xorg-libX11 \
   569.9  xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
  569.10  xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
  569.11  xorg-libXdamage libffi python-numpy"
  569.12 -BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \
  569.13 +BUILD_DEPENDS="python-dev pycairo118-dev pygobject-dev expat-dev gtk+-dev \
  569.14  libglade-dev libxml2-dev libffi-dev python-numpy"
  569.15  
  569.16  current_version()
  569.17 @@ -28,6 +28,9 @@
  569.18  {
  569.19  	#https://bugzilla.gnome.org/show_bug.cgi?id=623965
  569.20  	patch -Np1 -i $stuff/python27.patch
  569.21 +	# Thanks Pat, fix build with recent pango
  569.22 +	patch -p1 < $stuff/pygtk-fix-pango-object-leaks.patch
  569.23 +	patch -p1 < $stuff/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
  569.24  	./configure --disable-docs $CONFIGURE_ARGS &&
  569.25  	make $MAKEFLAGS && make install
  569.26  }
  569.27 @@ -38,4 +41,7 @@
  569.28  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
  569.29  	mkdir -p $fs/usr/lib
  569.30  	cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
  569.31 +
  569.32 +	# Ensure remove .la files
  569.33 +	find $fs -name "*.la" -delete
  569.34  }
   570.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   570.2 +++ b/pygtk/stuff/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch	Sun Jan 14 08:12:37 2024 +0000
   570.3 @@ -0,0 +1,39 @@
   570.4 +From 877164b6b70780468a31d8211f29421b6f34b0c8 Mon Sep 17 00:00:00 2001
   570.5 +From: Mathieu Bridon <bochecha@daitauha.fr>
   570.6 +Date: Thu, 24 Oct 2019 22:58:36 +0200
   570.7 +Subject: [PATCH] Drop the PangoFont find_shaper virtual method
   570.8 +
   570.9 +This API has been removed from Pango 1.44.6, because it was completely
  570.10 +unused by anything.
  570.11 +
  570.12 +However, PyGTK tries to bind everything, even unused API.
  570.13 +
  570.14 +Removing this from PyGTK means we can build it against the latest Pango
  570.15 +again.
  570.16 +---
  570.17 + pango.defs | 9 ---------
  570.18 + 1 file changed, 9 deletions(-)
  570.19 +
  570.20 +diff --git a/pango.defs b/pango.defs
  570.21 +index 2a79ecc..862667a 100644
  570.22 +--- a/pango.defs
  570.23 ++++ b/pango.defs
  570.24 +@@ -1391,15 +1391,6 @@
  570.25 +   )
  570.26 + )
  570.27 + 
  570.28 +-(define-virtual find_shaper
  570.29 +-  (of-object "PangoFont")
  570.30 +-  (return-type "PangoEngineShape*")
  570.31 +-  (parameters
  570.32 +-    '("PangoLanguage*" "lang")
  570.33 +-    '("guint32" "ch")
  570.34 +-  )
  570.35 +-)
  570.36 +-
  570.37 + (define-virtual get_glyph_extents
  570.38 +   (of-object "PangoFont")
  570.39 +   (return-type "none")
  570.40 +-- 
  570.41 +2.21.0
  570.42 +
   571.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   571.2 +++ b/pygtk/stuff/pygtk-fix-pango-object-leaks.patch	Sun Jan 14 08:12:37 2024 +0000
   571.3 @@ -0,0 +1,63 @@
   571.4 +From eca72baa5616fbe4dbebea43c7e5940847dc5ab8 Mon Sep 17 00:00:00 2001
   571.5 +From: "Owen W. Taylor" <otaylor@fishsoup.net>
   571.6 +Date: Tue, 27 Sep 2011 00:17:52 -0400
   571.7 +Subject: Fix leaks of Pango objects
   571.8 +
   571.9 +Gtk.PrintContext.create_pango_context()
  571.10 +Gtk.PrintContext.create_pango_layout()
  571.11 +pangocairo.CairoContext.create_layout()
  571.12 +
  571.13 +were leaking the objects they returned.
  571.14 +
  571.15 +https://bugzilla.gnome.org/show_bug.cgi?id=660216
  571.16 +---
  571.17 + gtk/gtk-2.10.defs   |  2 ++
  571.18 + pangocairo.override | 11 ++++++++---
  571.19 + 2 files changed, 10 insertions(+), 3 deletions(-)
  571.20 +
  571.21 +diff --git a/gtk/gtk-2.10.defs b/gtk/gtk-2.10.defs
  571.22 +index 69c7e0c..faa45e1 100644
  571.23 +--- a/gtk/gtk-2.10.defs
  571.24 ++++ b/gtk/gtk-2.10.defs
  571.25 +@@ -1388,12 +1388,14 @@
  571.26 + (define-method create_pango_context
  571.27 +   (of-object "GtkPrintContext")
  571.28 +   (c-name "gtk_print_context_create_pango_context")
  571.29 ++  (caller-owns-return #t)
  571.30 +   (return-type "PangoContext*")
  571.31 + )
  571.32 + 
  571.33 + (define-method create_pango_layout
  571.34 +   (of-object "GtkPrintContext")
  571.35 +   (c-name "gtk_print_context_create_pango_layout")
  571.36 ++  (caller-owns-return #t)
  571.37 +   (return-type "PangoLayout*")
  571.38 + )
  571.39 + 
  571.40 +diff --git a/pangocairo.override b/pangocairo.override
  571.41 +index bb923e6..5101107 100644
  571.42 +--- a/pangocairo.override
  571.43 ++++ b/pangocairo.override
  571.44 +@@ -118,11 +118,16 @@ _wrap_pango_cairo_update_context(PyGObject *self, PyObject *args, PyObject *kwar
  571.45 + static PyObject *
  571.46 + _wrap_pango_cairo_create_layout(PyGObject *self)
  571.47 + {
  571.48 +-    PangoLayout *ret;
  571.49 ++    PangoLayout *layout;
  571.50 ++    PyObject *ret;
  571.51 + 
  571.52 +-    ret = pango_cairo_create_layout(PycairoContext_GET(self));
  571.53 ++    layout = pango_cairo_create_layout(PycairoContext_GET(self));
  571.54 +     /* pygobject_new handles NULL checking */
  571.55 +-    return pygobject_new((GObject *)ret);
  571.56 ++    ret = pygobject_new((GObject *)layout);
  571.57 ++    if (layout)
  571.58 ++	g_object_unref(layout);
  571.59 ++
  571.60 ++    return ret;
  571.61 + }
  571.62 + 
  571.63 + static PyObject *
  571.64 +-- 
  571.65 +cgit v0.12
  571.66 +
   572.1 --- a/python-pygments/receipt	Mon Oct 16 18:37:14 2023 +0000
   572.2 +++ b/python-pygments/receipt	Sun Jan 14 08:12:37 2024 +0000
   572.3 @@ -1,7 +1,7 @@
   572.4  # SliTaz package receipt.
   572.5  
   572.6  PACKAGE="python-pygments"
   572.7 -VERSION="2.6.1"
   572.8 +VERSION="2.10.0"
   572.9  CATEGORY="development"
  572.10  SHORT_DESC="Generic syntax highlighter."
  572.11  MAINTAINER="claudinei@slitaz.org"
   573.1 --- a/python3-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   573.2 +++ b/python3-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   573.3 @@ -1,7 +1,7 @@
   573.4  # SliTaz package receipt.
   573.5  
   573.6  PACKAGE="python3-dev"
   573.7 -VERSION="3.8.3"
   573.8 +VERSION="3.9.10"
   573.9  CATEGORY="development"
  573.10  SHORT_DESC="The Python programming language devel files."
  573.11  MAINTAINER="shann@slitaz.org"
   574.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   574.2 +++ b/python3-distro/receipt	Sun Jan 14 08:12:37 2024 +0000
   574.3 @@ -0,0 +1,37 @@
   574.4 +# SliTaz package receipt.
   574.5 +
   574.6 +PACKAGE="python3-distro"
   574.7 +VERSION="1.6.0"
   574.8 +CATEGORY="development"
   574.9 +TAGS="python"
  574.10 +SHORT_DESC="OS platform information API"
  574.11 +MAINTAINER="slitaz@slitaz.org"
  574.12 +LICENSE="MIT"
  574.13 +WEB_SITE="https://pypi.org/project/distro/"
  574.14 +REPOLOGY="python:distro"
  574.15 +
  574.16 +SOURCE="Distro"
  574.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
  574.18 +WGET_URL="https://github.com/python-distro/distro/archive/refs/tags/v$VERSION.tar.gz"
  574.19 +
  574.20 +DEPENDS="python3"
  574.21 +BUILD_DEPENDS="python3 python3-dev python3-setuptools"
  574.22 +
  574.23 +# What is the latest version available today?
  574.24 +current_version()
  574.25 +{
  574.26 +	wget -O - https://pypi.org/project/Mako/ 2>/dev/null | \
  574.27 +	sed '/Mako [0-9]/!d;s|.*Mako ||;q'
  574.28 +}
  574.29 +
  574.30 +# Rules to configure and make the package.
  574.31 +compile_rules()
  574.32 +{
  574.33 +	python3 setup.py install --root=$DESTDIR
  574.34 +}
  574.35 +
  574.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
  574.37 +genpkg_rules()
  574.38 +{
  574.39 +	cp -a $install/usr	$fs
  574.40 +}
   575.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   575.2 +++ b/python3-idle/receipt	Sun Jan 14 08:12:37 2024 +0000
   575.3 @@ -0,0 +1,26 @@
   575.4 +# SliTaz package receipt.
   575.5 +
   575.6 +PACKAGE="python3-idle"
   575.7 +VERSION="3.9.10"
   575.8 +CATEGORY="development"
   575.9 +SHORT_DESC="Python GUI IDE using TK Toolkit."
  575.10 +MAINTAINER="pankso@slitaz.org"
  575.11 +LICENSE="PSL"
  575.12 +WEB_SITE="https://www.python.org/"
  575.13 +
  575.14 +DEPENDS="python3 tcl tk"
  575.15 +WANTED="python3"
  575.16 +
  575.17 +HOST_ARCH="i486 arm"
  575.18 +
  575.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
  575.20 +genpkg_rules()
  575.21 +{
  575.22 +	python_version=${VERSION%.*}
  575.23 +	mkdir -p $fs/usr/bin
  575.24 +	mkdir -p $fs/usr/lib/python$python_version
  575.25 +
  575.26 +	cp -a $install/usr/bin/idle3*		$fs/usr/bin
  575.27 +	cp -a $install/usr/lib/python$python_version/idlelib \
  575.28 +						$fs/usr/lib/python$python_version
  575.29 +}
   576.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   576.2 +++ b/python3-mako/description.txt	Sun Jan 14 08:12:37 2024 +0000
   576.3 @@ -0,0 +1,9 @@
   576.4 +Mako is a template library written in Python.
   576.5 +It provides a familiar, non-XML syntax which compiles into Python modules
   576.6 +for maximum performance.
   576.7 +Mako's syntax and API borrows from the best ideas of many others,
   576.8 +including Django templates, Cheetah, Myghty, and Genshi.
   576.9 +Conceptually, Mako is an embedded Python (i.e. Python Server Page) language,
  576.10 +which refines the familiar ideas of componentised layout and inheritance to
  576.11 +produce one of the most straightforward and flexible models available, while
  576.12 +also maintaining close ties to Python calling and scoping semantics.
   577.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   577.2 +++ b/python3-mako/receipt	Sun Jan 14 08:12:37 2024 +0000
   577.3 @@ -0,0 +1,37 @@
   577.4 +# SliTaz package receipt.
   577.5 +
   577.6 +PACKAGE="python3-mako"
   577.7 +VERSION="1.1.6"
   577.8 +CATEGORY="development"
   577.9 +TAGS="python"
  577.10 +SHORT_DESC="Fast template library."
  577.11 +MAINTAINER="taziden@slitaz.org"
  577.12 +LICENSE="MIT"
  577.13 +WEB_SITE="https://pypi.org/project/Mako/"
  577.14 +REPOLOGY="python:mako"
  577.15 +
  577.16 +SOURCE="Mako"
  577.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
  577.18 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
  577.19 +
  577.20 +DEPENDS="python3"
  577.21 +BUILD_DEPENDS="python3 python3-dev python3-setuptools"
  577.22 +
  577.23 +# What is the latest version available today?
  577.24 +current_version()
  577.25 +{
  577.26 +	wget -O - https://pypi.org/project/Mako/ 2>/dev/null | \
  577.27 +	sed '/Mako [0-9]/!d;s|.*Mako ||;q'
  577.28 +}
  577.29 +
  577.30 +# Rules to configure and make the package.
  577.31 +compile_rules()
  577.32 +{
  577.33 +	python3 setup.py install --root=$DESTDIR
  577.34 +}
  577.35 +
  577.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
  577.37 +genpkg_rules()
  577.38 +{
  577.39 +	cp -a $install/usr	$fs
  577.40 +}
   578.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   578.2 +++ b/python3-pillow/receipt	Sun Jan 14 08:12:37 2024 +0000
   578.3 @@ -0,0 +1,35 @@
   578.4 +# SliTaz package receipt.
   578.5 +
   578.6 +PACKAGE="python3-pillow"
   578.7 +VERSION="8.4.0"
   578.8 +CATEGORY="development"
   578.9 +SHORT_DESC="Python3 Imaging Library (Fork)."
  578.10 +MAINTAINER="pascal.bellard@slitaz.org"
  578.11 +LICENSE="PSL"
  578.12 +WEB_SITE="https://pypi.python.org/pypi/Pillow"
  578.13 +
  578.14 +SOURCE="Pillow"
  578.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
  578.16 +WGET_URL="https://github.com/python-pillow/$SOURCE/archive/refs/tags/$VERSION.tar.gz"
  578.17 +
  578.18 +DEPENDS="python3"
  578.19 +BUILD_DEPENDS="jpeg-dev python3-dev python3-setuptools tiff-dev"
  578.20 +
  578.21 +# What is the latest version available today?
  578.22 +current_version()
  578.23 +{
  578.24 +	wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
  578.25 +	sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
  578.26 +}
  578.27 +
  578.28 +# Rules to configure and make the package.
  578.29 +compile_rules()
  578.30 +{
  578.31 +	python3 setup.py install --root=$DESTDIR
  578.32 +}
  578.33 +
  578.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
  578.35 +genpkg_rules()
  578.36 +{
  578.37 +	cp -a $install/usr $fs
  578.38 +}
   579.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   579.2 +++ b/python3-pip/receipt	Sun Jan 14 08:12:37 2024 +0000
   579.3 @@ -0,0 +1,36 @@
   579.4 +# SliTaz package receipt.
   579.5 +
   579.6 +PACKAGE="python3-pip"
   579.7 +VERSION="21.3.1"
   579.8 +CATEGORY="development"
   579.9 +SHORT_DESC="The PyPA recommended tool for installing Python packages."
  579.10 +MAINTAINER="pascal.bellard@slitaz.org"
  579.11 +LICENSE="MIT"
  579.12 +WEB_SITE="https://pypi.org/project/pip/"
  579.13 +REPOLOGY="python:pip"
  579.14 +
  579.15 +SOURCE="pip"
  579.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
  579.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
  579.18 +
  579.19 +DEPENDS="python3"
  579.20 +BUILD_DEPENDS="python3 python3-setuptools"
  579.21 +
  579.22 +current_version()
  579.23 +{
  579.24 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
  579.25 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
  579.26 +}
  579.27 +
  579.28 +# Rules to configure and make the package.
  579.29 +compile_rules()
  579.30 +{
  579.31 +	python3 setup.py build &&
  579.32 +	python3 setup.py install --root=$DESTDIR
  579.33 +}
  579.34 +
  579.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
  579.36 +genpkg_rules()
  579.37 +{
  579.38 +	cp -a $install/usr	$fs
  579.39 +}
   580.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   580.2 +++ b/python3-pygments/receipt	Sun Jan 14 08:12:37 2024 +0000
   580.3 @@ -0,0 +1,34 @@
   580.4 +# SliTaz package receipt.
   580.5 +
   580.6 +PACKAGE="python3-pygments"
   580.7 +VERSION="2.10.0"
   580.8 +CATEGORY="development"
   580.9 +SHORT_DESC="Generic syntax highlighter."
  580.10 +MAINTAINER="claudinei@slitaz.org"
  580.11 +LICENSE="BSD"
  580.12 +WEB_SITE="https://pypi.org/project/Pygments/"
  580.13 +
  580.14 +SOURCE="Pygments"
  580.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
  580.16 +WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL"
  580.17 +
  580.18 +DEPENDS="python"
  580.19 +BUILD_DEPENDS="python3 python3-setuptools"
  580.20 +
  580.21 +# What is the latest version available today?
  580.22 +current_version()
  580.23 +{
  580.24 +	wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
  580.25 +}
  580.26 +
  580.27 +# Rules to configure and make the package.
  580.28 +compile_rules()
  580.29 +{
  580.30 +	python3 setup.py install --no-compile --root=$install
  580.31 +}
  580.32 +
  580.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
  580.34 +genpkg_rules()
  580.35 +{
  580.36 +	cp -a $install/*	$fs
  580.37 +}
   581.1 --- a/python3/receipt	Mon Oct 16 18:37:14 2023 +0000
   581.2 +++ b/python3/receipt	Sun Jan 14 08:12:37 2024 +0000
   581.3 @@ -1,7 +1,7 @@
   581.4  # SliTaz package receipt.
   581.5  
   581.6  PACKAGE="python3"
   581.7 -VERSION="3.8.3"
   581.8 +VERSION="3.9.10"
   581.9  CATEGORY="development"
  581.10  SHORT_DESC="The Python 3 programming language."
  581.11  MAINTAINER="shann@slitaz.org"
  581.12 @@ -78,7 +78,7 @@
  581.13                  --without-ensurepip \
  581.14                  --build=${HOST_SYSTEM} \
  581.15                  --host=${HOST_SYSTEM} &&
  581.16 -                make &&    make DESTDIR=$DESTDIR install ;;
  581.17 +                make && make DESTDIR=$DESTDIR install ;;
  581.18      esac
  581.19  
  581.20  #    chmod 755 $install/usr/lib/libpython${VERSION%.*}m.so
  581.21 @@ -101,7 +101,7 @@
  581.22      rm -f $fs/usr/bin/*-config
  581.23      # Split IDLE with TK dep
  581.24      rm -f $fs/usr/bin/idle*
  581.25 -    rm -rf $fs/usr/lib/python3.8/idlelib
  581.26 +    rm -rf $fs/usr/lib/python3.9/idlelib
  581.27  }
  581.28  
  581.29  # Post install commands for Tazpkg.       
   582.1 --- a/qt4/receipt	Mon Oct 16 18:37:14 2023 +0000
   582.2 +++ b/qt4/receipt	Sun Jan 14 08:12:37 2024 +0000
   582.3 @@ -40,6 +40,13 @@
   582.4  {
   582.5  	# Patch for build with gcc 6
   582.6  	patch -p1 < $stuff/gcc6_build_fix.patch
   582.7 +
   582.8 +	# Patch for build with gcc 8
   582.9 +	patch -p1 < $stuff/gcc8_build_fix.patch
  582.10 +	
  582.11 +	# Patch for build with glibc >= 2.25
  582.12 +	patch -p1 < $stuff/glibc2.25_build_fix.patch
  582.13 +
  582.14  	# Patch for build with openssl 1.1.x, thanks FreeBSD / Arch Linux
  582.15  	# see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214691
  582.16  	# and https://aur.archlinux.org/cgit/aur.git/tree/?h=qt4
   583.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   583.2 +++ b/qt4/stuff/gcc8_build_fix.patch	Sun Jan 14 08:12:37 2024 +0000
   583.3 @@ -0,0 +1,315 @@
   583.4 +--- a/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp	2015-05-07 17:14:48.000000000 +0300
   583.5 ++++ b/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp	2019-05-04 13:10:49.491856288 +0300
   583.6 +@@ -114,11 +114,11 @@
   583.7 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) % 16 == 0x0, JITStackFrame_maintains_16byte_stack_alignment);
   583.8 + COMPILE_ASSERT(offsetof(struct JITStackFrame, savedEBX) == 0x3c, JITStackFrame_stub_argument_space_matches_ctiTrampoline);
   583.9 + COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_matches_ctiTrampoline);
  583.10 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) == 0x50, JITStackFrame_code_offset_matches_ctiTrampoline);
  583.11 + 
  583.12 +-asm volatile (
  583.13 ++asm (
  583.14 + ".text\n"
  583.15 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
  583.16 + HIDE_SYMBOL(ctiTrampoline) "\n"
  583.17 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
  583.18 +     "pushl %ebp" "\n"
  583.19 +@@ -136,11 +136,11 @@
  583.20 +     "popl %esi" "\n"
  583.21 +     "popl %ebp" "\n"
  583.22 +     "ret" "\n"
  583.23 + );
  583.24 + 
  583.25 +-asm volatile (
  583.26 ++asm (
  583.27 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
  583.28 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
  583.29 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
  583.30 + #if !USE(JIT_STUB_ARGUMENT_VA_LIST)
  583.31 +     "movl %esp, %ecx" "\n"
  583.32 +@@ -152,11 +152,11 @@
  583.33 +     "popl %esi" "\n"
  583.34 +     "popl %ebp" "\n"
  583.35 +     "ret" "\n"
  583.36 + );
  583.37 +     
  583.38 +-asm volatile (
  583.39 ++asm (
  583.40 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
  583.41 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
  583.42 + SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
  583.43 +     "addl $0x3c, %esp" "\n"
  583.44 +     "popl %ebx" "\n"
  583.45 +@@ -177,11 +177,11 @@
  583.46 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) % 32 == 0x0, JITStackFrame_maintains_32byte_stack_alignment);
  583.47 + COMPILE_ASSERT(offsetof(struct JITStackFrame, savedRBX) == 0x48, JITStackFrame_stub_argument_space_matches_ctiTrampoline);
  583.48 + COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x90, JITStackFrame_callFrame_offset_matches_ctiTrampoline);
  583.49 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) == 0x80, JITStackFrame_code_offset_matches_ctiTrampoline);
  583.50 + 
  583.51 +-asm volatile (
  583.52 ++asm (
  583.53 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
  583.54 + HIDE_SYMBOL(ctiTrampoline) "\n"
  583.55 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
  583.56 +     "pushq %rbp" "\n"
  583.57 +     "movq %rsp, %rbp" "\n"
  583.58 +@@ -204,11 +204,11 @@
  583.59 +     "popq %r12" "\n"
  583.60 +     "popq %rbp" "\n"
  583.61 +     "ret" "\n"
  583.62 + );
  583.63 + 
  583.64 +-asm volatile (
  583.65 ++asm (
  583.66 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
  583.67 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
  583.68 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
  583.69 +     "movq %rsp, %rdi" "\n"
  583.70 +     "call " SYMBOL_STRING_RELOCATION(cti_vm_throw) "\n"
  583.71 +@@ -220,11 +220,11 @@
  583.72 +     "popq %r12" "\n"
  583.73 +     "popq %rbp" "\n"
  583.74 +     "ret" "\n"
  583.75 + );
  583.76 + 
  583.77 +-asm volatile (
  583.78 ++asm (
  583.79 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
  583.80 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
  583.81 + SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
  583.82 +     "addq $0x48, %rsp" "\n"
  583.83 +     "popq %rbx" "\n"
  583.84 +@@ -240,11 +240,11 @@
  583.85 + 
  583.86 + #if USE(JIT_STUB_ARGUMENT_VA_LIST)
  583.87 + #error "JIT_STUB_ARGUMENT_VA_LIST not supported on ARMv7."
  583.88 + #endif
  583.89 + 
  583.90 +-asm volatile (
  583.91 ++asm (
  583.92 + ".text" "\n"
  583.93 + ".align 2" "\n"
  583.94 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
  583.95 + HIDE_SYMBOL(ctiTrampoline) "\n"
  583.96 + ".thumb" "\n"
  583.97 +@@ -267,11 +267,11 @@
  583.98 +     "ldr lr, [sp, #0x20]" "\n"
  583.99 +     "add sp, sp, #0x3c" "\n"
 583.100 +     "bx lr" "\n"
 583.101 + );
 583.102 + 
 583.103 +-asm volatile (
 583.104 ++asm (
 583.105 + ".text" "\n"
 583.106 + ".align 2" "\n"
 583.107 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.108 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.109 + ".thumb" "\n"
 583.110 +@@ -285,11 +285,11 @@
 583.111 +     "ldr lr, [sp, #0x20]" "\n"
 583.112 +     "add sp, sp, #0x3c" "\n"
 583.113 +     "bx lr" "\n"
 583.114 + );
 583.115 + 
 583.116 +-asm volatile (
 583.117 ++asm (
 583.118 + ".text" "\n"
 583.119 + ".align 2" "\n"
 583.120 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
 583.121 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
 583.122 + ".thumb" "\n"
 583.123 +@@ -303,11 +303,11 @@
 583.124 +     "bx lr" "\n"
 583.125 + );
 583.126 + 
 583.127 + #elif COMPILER(GCC) && CPU(ARM_TRADITIONAL)
 583.128 + 
 583.129 +-asm volatile (
 583.130 ++asm (
 583.131 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
 583.132 + HIDE_SYMBOL(ctiTrampoline) "\n"
 583.133 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
 583.134 +     "stmdb sp!, {r1-r3}" "\n"
 583.135 +     "stmdb sp!, {r4-r8, lr}" "\n"
 583.136 +@@ -321,11 +321,11 @@
 583.137 +     "ldmia sp!, {r4-r8, lr}" "\n"
 583.138 +     "add sp, sp, #12" "\n"
 583.139 +     "mov pc, lr" "\n"
 583.140 + );
 583.141 + 
 583.142 +-asm volatile (
 583.143 ++asm (
 583.144 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.145 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.146 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
 583.147 +     "mov r0, sp" "\n"
 583.148 +     "bl " SYMBOL_STRING(cti_vm_throw) "\n"
 583.149 +@@ -416,11 +416,11 @@
 583.150 + // need to change the assembly trampolines below to match.
 583.151 + COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x38, JITStackFrame_callFrame_offset_matches_ctiTrampoline);
 583.152 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) == 0x30, JITStackFrame_code_offset_matches_ctiTrampoline);
 583.153 + COMPILE_ASSERT(offsetof(struct JITStackFrame, savedEBX) == 0x1c, JITStackFrame_stub_argument_space_matches_ctiTrampoline);
 583.154 + 
 583.155 +-asm volatile (
 583.156 ++asm (
 583.157 + ".text\n"
 583.158 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
 583.159 + HIDE_SYMBOL(ctiTrampoline) "\n"
 583.160 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
 583.161 +     "pushl %ebp" "\n"
 583.162 +@@ -438,11 +438,11 @@
 583.163 +     "popl %esi" "\n"
 583.164 +     "popl %ebp" "\n"
 583.165 +     "ret" "\n"
 583.166 + );
 583.167 + 
 583.168 +-asm volatile (
 583.169 ++asm (
 583.170 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.171 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.172 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
 583.173 + #if !USE(JIT_STUB_ARGUMENT_VA_LIST)
 583.174 +     "movl %esp, %ecx" "\n"
 583.175 +@@ -454,11 +454,11 @@
 583.176 +     "popl %esi" "\n"
 583.177 +     "popl %ebp" "\n"
 583.178 +     "ret" "\n"
 583.179 + );
 583.180 +     
 583.181 +-asm volatile (
 583.182 ++asm (
 583.183 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
 583.184 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
 583.185 + SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
 583.186 +     "addl $0x1c, %esp" "\n"
 583.187 +     "popl %ebx" "\n"
 583.188 +@@ -478,11 +478,11 @@
 583.189 + // need to change the assembly trampolines below to match.
 583.190 + COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_matches_ctiTrampoline);
 583.191 + COMPILE_ASSERT(offsetof(struct JITStackFrame, code) == 0x48, JITStackFrame_code_offset_matches_ctiTrampoline);
 583.192 + COMPILE_ASSERT(offsetof(struct JITStackFrame, savedRBX) == 0x78, JITStackFrame_stub_argument_space_matches_ctiTrampoline);
 583.193 + 
 583.194 +-asm volatile (
 583.195 ++asm (
 583.196 + ".text\n"
 583.197 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
 583.198 + HIDE_SYMBOL(ctiTrampoline) "\n"
 583.199 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
 583.200 +     "pushq %rbp" "\n"
 583.201 +@@ -513,11 +513,11 @@
 583.202 +     "popq %r12" "\n"
 583.203 +     "popq %rbp" "\n"
 583.204 +     "ret" "\n"
 583.205 + );
 583.206 + 
 583.207 +-asm volatile (
 583.208 ++asm (
 583.209 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.210 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.211 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
 583.212 +     "movq %rsp, %rdi" "\n"
 583.213 +     "call " SYMBOL_STRING_RELOCATION(cti_vm_throw) "\n"
 583.214 +@@ -529,11 +529,11 @@
 583.215 +     "popq %r12" "\n"
 583.216 +     "popq %rbp" "\n"
 583.217 +     "ret" "\n"
 583.218 + );
 583.219 + 
 583.220 +-asm volatile (
 583.221 ++asm (
 583.222 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
 583.223 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
 583.224 + SYMBOL_STRING(ctiOpThrowNotCaught) ":" "\n"
 583.225 +     "addq $0x78, %rsp" "\n"
 583.226 +     "popq %rbx" "\n"
 583.227 +@@ -549,11 +549,11 @@
 583.228 + 
 583.229 + #if USE(JIT_STUB_ARGUMENT_VA_LIST)
 583.230 + #error "JIT_STUB_ARGUMENT_VA_LIST not supported on ARMv7."
 583.231 + #endif
 583.232 + 
 583.233 +-asm volatile (
 583.234 ++asm (
 583.235 + ".text" "\n"
 583.236 + ".align 2" "\n"
 583.237 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
 583.238 + HIDE_SYMBOL(ctiTrampoline) "\n"
 583.239 + ".thumb" "\n"
 583.240 +@@ -576,11 +576,11 @@
 583.241 +     "ldr lr, [sp, #0x20]" "\n"
 583.242 +     "add sp, sp, #0x40" "\n"
 583.243 +     "bx lr" "\n"
 583.244 + );
 583.245 + 
 583.246 +-asm volatile (
 583.247 ++asm (
 583.248 + ".text" "\n"
 583.249 + ".align 2" "\n"
 583.250 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.251 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.252 + ".thumb" "\n"
 583.253 +@@ -594,11 +594,11 @@
 583.254 +     "ldr lr, [sp, #0x20]" "\n"
 583.255 +     "add sp, sp, #0x40" "\n"
 583.256 +     "bx lr" "\n"
 583.257 + );
 583.258 + 
 583.259 +-asm volatile (
 583.260 ++asm (
 583.261 + ".text" "\n"
 583.262 + ".align 2" "\n"
 583.263 + ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
 583.264 + HIDE_SYMBOL(ctiOpThrowNotCaught) "\n"
 583.265 + ".thumb" "\n"
 583.266 +@@ -612,11 +612,11 @@
 583.267 +     "bx lr" "\n"
 583.268 + );
 583.269 + 
 583.270 + #elif COMPILER(GCC) && CPU(ARM_TRADITIONAL)
 583.271 + 
 583.272 +-asm volatile (
 583.273 ++asm (
 583.274 + ".text\n"
 583.275 + ".globl " SYMBOL_STRING(ctiTrampoline) "\n"
 583.276 + HIDE_SYMBOL(ctiTrampoline) "\n"
 583.277 + SYMBOL_STRING(ctiTrampoline) ":" "\n"
 583.278 +     "stmdb sp!, {r1-r3}" "\n"
 583.279 +@@ -630,11 +630,11 @@
 583.280 +     "ldmia sp!, {r4-r8, lr}" "\n"
 583.281 +     "add sp, sp, #12" "\n"
 583.282 +     "mov pc, lr" "\n"
 583.283 + );
 583.284 + 
 583.285 +-asm volatile (
 583.286 ++asm (
 583.287 + ".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
 583.288 + HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
 583.289 + SYMBOL_STRING(ctiVMThrowTrampoline) ":" "\n"
 583.290 +     "mov r0, sp" "\n"
 583.291 +     "bl " SYMBOL_STRING_RELOCATION(cti_vm_throw) "\n"
 583.292 +@@ -1022,11 +1022,11 @@
 583.293 + 
 583.294 + #define DEFINE_STUB_FUNCTION(rtype, op) \
 583.295 +     extern "C" { \
 583.296 +         rtype JITStubThunked_##op(STUB_ARGS_DECLARATION); \
 583.297 +     }; \
 583.298 +-    asm volatile ( \
 583.299 ++    asm ( \
 583.300 +         ".text" "\n" \
 583.301 +         ".align 2" "\n" \
 583.302 +         ".globl " SYMBOL_STRING(cti_##op) "\n" \
 583.303 +         HIDE_SYMBOL(cti_##op) "\n"             \
 583.304 +         ".thumb" "\n" \
 583.305 +@@ -1051,11 +1051,11 @@
 583.306 + 
 583.307 + #define DEFINE_STUB_FUNCTION(rtype, op) \
 583.308 +     extern "C" { \
 583.309 +         rtype JITStubThunked_##op(STUB_ARGS_DECLARATION); \
 583.310 +     }; \
 583.311 +-    asm volatile ( \
 583.312 ++    asm ( \
 583.313 +         ".globl " SYMBOL_STRING(cti_##op) "\n" \
 583.314 +         HIDE_SYMBOL(cti_##op) "\n"             \
 583.315 +         SYMBOL_STRING(cti_##op) ":" "\n" \
 583.316 +         "str lr, [sp, #" STRINGIZE_VALUE_OF(THUNK_RETURN_ADDRESS_OFFSET) "]" "\n" \
 583.317 +         "bl " SYMBOL_STRING(JITStubThunked_##op) "\n" \
 583.318 +
   584.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   584.2 +++ b/qt4/stuff/glibc2.25_build_fix.patch	Sun Jan 14 08:12:37 2024 +0000
   584.3 @@ -0,0 +1,31 @@
   584.4 +diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h.majmin 
   584.5 +qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h
   584.6 +--- qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h.majmin	2015-05-07 09:14:48.000000000 -0500
   584.7 ++++ qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h	2016-12-08 12:10:29.677359701 -0600
   584.8 +@@ -52,7 +52,7 @@
   584.9 + /*
  584.10 +    can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))
  584.11 + */
  584.12 +-#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
  584.13 ++#define QT_VERSION_CHECK(qt_version_check_major, qt_version_check_minor, qt_version_check_patch) ((qt_version_check_major<<16)|(qt_version_check_minor<<8)|(qt_version_check_patch))
  584.14 + 
  584.15 + #define QT_PACKAGEDATE_STR "2015-05-07"
  584.16 + 
  584.17 +diff -up qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp
  584.18 +--- qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829	2015-05-07 09:14:44.000000000 -0500
  584.19 ++++ qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp	2016-12-08 12:32:46.638962448 -0600
  584.20 +@@ -188,8 +188,12 @@
  584.21 +     pp.macros["Q_MOC_RUN"];
  584.22 +     pp.macros["__cplusplus"];
  584.23 + 
  584.24 +-    // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829
  584.25 ++    // Workaround a bugs while parsing some boost headers. See QTBUG-22829
  584.26 +     pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
  584.27 ++    pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
  584.28 ++    pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"];
  584.29 ++    pp.macros["BOOST_TYPE_TRAITS_HPP"];
  584.30 ++    pp.macros["_SYS_SYSMACROS_H_OUTER"];
  584.31 + 
  584.32 +     QByteArray filename;
  584.33 +     QByteArray output;
  584.34 +
   585.1 --- a/qupzilla/receipt	Mon Oct 16 18:37:14 2023 +0000
   585.2 +++ b/qupzilla/receipt	Sun Jan 14 08:12:37 2024 +0000
   585.3 @@ -1,7 +1,7 @@
   585.4  # SliTaz PACKAGE receipt.
   585.5  
   585.6  PACKAGE="qupzilla"
   585.7 -VERSION="1.8.5"
   585.8 +VERSION="1.8.9"
   585.9  CATEGORY="network"
  585.10  SHORT_DESC="QupZilla - QtWebKit browser"
  585.11  MAINTAINER="claudinei@slitaz.org"
  585.12 @@ -26,6 +26,10 @@
  585.13  # Rules to configure and make the PACKAGE.
  585.14  compile_rules()
  585.15  {
  585.16 +	# Patch to support openssl 1.1.x                       
  585.17 +	# see https://github.com/QupZilla/qupzilla/pull/2325
  585.18 +	patch -p1 < $stuff/openssl-1.1-support.patch
  585.19 +
  585.20  	qmake QupZilla.pro &&
  585.21  	make &&
  585.22  	make INSTALL_ROOT=$install install
   586.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   586.2 +++ b/qupzilla/stuff/openssl-1.1-support.patch	Sun Jan 14 08:12:37 2024 +0000
   586.3 @@ -0,0 +1,82 @@
   586.4 +--- a/src/lib/tools/aesinterface.cpp
   586.5 ++++ b/src/lib/tools/aesinterface.cpp
   586.6 +@@ -39,14 +39,18 @@
   586.7 +     : QObject(parent)
   586.8 +     , m_ok(false)
   586.9 + {
  586.10 +-    EVP_CIPHER_CTX_init(&m_encodeCTX);
  586.11 +-    EVP_CIPHER_CTX_init(&m_decodeCTX);
  586.12 ++    m_encodeCTX = EVP_CIPHER_CTX_new();
  586.13 ++    m_decodeCTX = EVP_CIPHER_CTX_new();
  586.14 ++    EVP_CIPHER_CTX_init(m_encodeCTX);
  586.15 ++    EVP_CIPHER_CTX_init(m_decodeCTX);
  586.16 + }
  586.17 + 
  586.18 + AesInterface::~AesInterface()
  586.19 + {
  586.20 +-    EVP_CIPHER_CTX_cleanup(&m_encodeCTX);
  586.21 +-    EVP_CIPHER_CTX_cleanup(&m_decodeCTX);
  586.22 ++    EVP_CIPHER_CTX_cleanup(m_encodeCTX);
  586.23 ++    EVP_CIPHER_CTX_cleanup(m_decodeCTX);
  586.24 ++    EVP_CIPHER_CTX_free(m_encodeCTX);
  586.25 ++    EVP_CIPHER_CTX_free(m_decodeCTX);
  586.26 + }
  586.27 + 
  586.28 + bool AesInterface::isOk()
  586.29 +@@ -78,10 +82,10 @@
  586.30 +     int result = 0;
  586.31 +     if (evpMode == EVP_PKEY_MO_ENCRYPT) {
  586.32 +         m_iVector = createRandomData(EVP_MAX_IV_LENGTH);
  586.33 +-        result = EVP_EncryptInit_ex(&m_encodeCTX, EVP_aes_256_cbc(), NULL, key, (uchar*)m_iVector.constData());
  586.34 ++        result = EVP_EncryptInit_ex(m_encodeCTX, EVP_aes_256_cbc(), NULL, key, (uchar*)m_iVector.constData());
  586.35 +     }
  586.36 +     else if (evpMode == EVP_PKEY_MO_DECRYPT) {
  586.37 +-        result = EVP_DecryptInit_ex(&m_decodeCTX, EVP_aes_256_cbc(), NULL, key, (uchar*)iVector.constData());
  586.38 ++        result = EVP_DecryptInit_ex(m_decodeCTX, EVP_aes_256_cbc(), NULL, key, (uchar*)iVector.constData());
  586.39 +     }
  586.40 + 
  586.41 +     if (result == 0) {
  586.42 +@@ -106,14 +110,14 @@
  586.43 +     uchar* ciphertext = (uchar*)malloc(cipherlength);
  586.44 + 
  586.45 +     // allows reusing of 'm_encodeCTX' for multiple encryption cycles
  586.46 +-    EVP_EncryptInit_ex(&m_encodeCTX, NULL, NULL, NULL, NULL);
  586.47 ++    EVP_EncryptInit_ex(m_encodeCTX, NULL, NULL, NULL, NULL);
  586.48 + 
  586.49 +     // update ciphertext, c_len is filled with the length of ciphertext generated,
  586.50 +     // dataLength is the size of plaintext in bytes
  586.51 +-    EVP_EncryptUpdate(&m_encodeCTX, ciphertext, &cipherlength, (uchar*)plainData.data(), dataLength);
  586.52 ++    EVP_EncryptUpdate(m_encodeCTX, ciphertext, &cipherlength, (uchar*)plainData.data(), dataLength);
  586.53 + 
  586.54 +     // update ciphertext with the final remaining bytes
  586.55 +-    EVP_EncryptFinal_ex(&m_encodeCTX, ciphertext + cipherlength, &finalLength);
  586.56 ++    EVP_EncryptFinal_ex(m_encodeCTX, ciphertext + cipherlength, &finalLength);
  586.57 + 
  586.58 +     dataLength = cipherlength + finalLength;
  586.59 +     QByteArray out((char*)ciphertext, dataLength);
  586.60 +@@ -163,9 +167,9 @@
  586.61 +     // because we have padding ON, we must allocate an extra cipher block size of memory
  586.62 +     uchar* plainText = (uchar*)malloc(plainTextLength + AES_BLOCK_SIZE);
  586.63 + 
  586.64 +-    EVP_DecryptInit_ex(&m_decodeCTX, NULL, NULL, NULL, NULL);
  586.65 +-    EVP_DecryptUpdate(&m_decodeCTX, plainText, &plainTextLength, cipherText, cipherLength);
  586.66 +-    int success = EVP_DecryptFinal_ex(&m_decodeCTX, plainText + plainTextLength, &finalLength);
  586.67 ++    EVP_DecryptInit_ex(m_decodeCTX, NULL, NULL, NULL, NULL);
  586.68 ++    EVP_DecryptUpdate(m_decodeCTX, plainText, &plainTextLength, cipherText, cipherLength);
  586.69 ++    int success = EVP_DecryptFinal_ex(m_decodeCTX, plainText + plainTextLength, &finalLength);
  586.70 + 
  586.71 +     cipherLength = plainTextLength + finalLength;
  586.72 + 
  586.73 +--- a/src/lib/tools/aesinterface.h
  586.74 ++++ b/src/lib/tools/aesinterface.h
  586.75 +@@ -50,8 +50,8 @@
  586.76 + private:
  586.77 +     bool init(int evpMode, const QByteArray &password, const QByteArray &iVector = QByteArray());
  586.78 + 
  586.79 +-    EVP_CIPHER_CTX m_encodeCTX;
  586.80 +-    EVP_CIPHER_CTX m_decodeCTX;
  586.81 ++    EVP_CIPHER_CTX *m_encodeCTX;
  586.82 ++    EVP_CIPHER_CTX *m_decodeCTX;
  586.83 + 
  586.84 +     bool m_ok;
  586.85 +     QByteArray m_iVector;
   587.1 --- a/rsync/receipt	Mon Oct 16 18:37:14 2023 +0000
   587.2 +++ b/rsync/receipt	Sun Jan 14 08:12:37 2024 +0000
   587.3 @@ -1,7 +1,7 @@
   587.4  # SliTaz package receipt.
   587.5  
   587.6  PACKAGE="rsync"
   587.7 -VERSION="3.2.4"
   587.8 +VERSION="3.2.7"
   587.9  CATEGORY="network"
  587.10  TAGS="sync copy secure"
  587.11  SHORT_DESC="Utility that provides fast incremental file transfer."
   588.1 --- a/rtmpdump-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   588.2 +++ b/rtmpdump-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   588.3 @@ -18,6 +18,5 @@
   588.4  	mkdir -p $fs/usr/lib
   588.5  
   588.6  	cp -a $install/usr/include		$fs/usr
   588.7 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   588.8  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   588.9  }
   589.1 --- a/rtmpdump/receipt	Mon Oct 16 18:37:14 2023 +0000
   589.2 +++ b/rtmpdump/receipt	Sun Jan 14 08:12:37 2024 +0000
   589.3 @@ -24,10 +24,17 @@
   589.4  # Rules to configure and make the package.
   589.5  compile_rules()
   589.6  {
   589.7 +	# patch makefiles for shared library install
   589.8 +	patch -p1 < $stuff/librtmp-makefile.patch
   589.9 +	# Patch for openssl 
  589.10 +	# see https://github.com/JudgeZarbi/RTMPDump-OpenSSL-1.1/issues/2
  589.11 +	patch -p1 < $stuff/librtmp-openssl-1.1.x-build-fixes.diff
  589.12 +
  589.13  	mkdir -p $DESTDIR/usr/lib
  589.14  	make &&
  589.15  	make install			\
  589.16  		prefix="/usr"		\
  589.17 +		libdir="/usr/lib"	\
  589.18  		sbindir="/usr/bin"	\
  589.19  		mandir="/usr/share/man"	\
  589.20  		DESTDIR="$DESTDIR"
   590.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   590.2 +++ b/rtmpdump/stuff/librtmp-makefile.patch	Sun Jan 14 08:12:37 2024 +0000
   590.3 @@ -0,0 +1,12 @@
   590.4 +diff -Naur rtmpdump-2.3.orig/librtmp/Makefile rtmpdump-2.3/librtmp/Makefile
   590.5 +--- rtmpdump-2.3.orig/librtmp/Makefile	2010-06-30 22:01:28.000000000 +0200
   590.6 ++++ rtmpdump-2.3/librtmp/Makefile	2010-09-14 04:35:48.967060986 +0200
   590.7 +@@ -52,7 +52,7 @@
   590.8 + 
   590.9 + OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o
  590.10 + 
  590.11 +-all:	librtmp.a $(SO_LIB)
  590.12 ++all:	librtmp.a $(SO_LIB) librtmp.pc
  590.13 + 
  590.14 + clean:
  590.15 + 	rm -f *.o *.a *.so *.$(SO_EXT)
   591.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   591.2 +++ b/rtmpdump/stuff/librtmp-openssl-1.1.x-build-fixes.diff	Sun Jan 14 08:12:37 2024 +0000
   591.3 @@ -0,0 +1,350 @@
   591.4 + librtmp/dh.h        | 60 +++++++++++++++++++++++++++++++++--------------------
   591.5 + librtmp/handshake.h | 14 ++++++++-----
   591.6 + librtmp/hashswf.c   | 10 ++++-----
   591.7 + librtmp/rtmp.c      | 10 ++++-----
   591.8 + librtmp/rtmp_sys.h  |  2 +-
   591.9 + rtmpsrv.c           |  6 +++---
  591.10 + rtmpsuck.c          | 16 +++++++-------
  591.11 + thread.c            |  6 +++---
  591.12 + 8 files changed, 72 insertions(+), 52 deletions(-)
  591.13 +
  591.14 +diff --git a/librtmp/dh.h b/librtmp/dh.h
  591.15 +index 5fc3f32..28d727c 100644
  591.16 +--- a/librtmp/dh.h
  591.17 ++++ b/librtmp/dh.h
  591.18 +@@ -194,7 +194,7 @@ typedef BIGNUM * MP_t;
  591.19 + 
  591.20 + /* RFC 2631, Section 2.1.5, http://www.ietf.org/rfc/rfc2631.txt */
  591.21 + static int
  591.22 +-isValidPublicKey(MP_t y, MP_t p, MP_t q)
  591.23 ++isValidPublicKey(const BIGNUM *y, const BIGNUM *p, const BIGNUM *q)
  591.24 + {
  591.25 +   int ret = TRUE;
  591.26 +   MP_t bn;
  591.27 +@@ -234,9 +234,9 @@ isValidPublicKey(MP_t y, MP_t p, MP_t q)
  591.28 +       MP_modexp(bn, y, q, p);
  591.29 + 
  591.30 +       if (MP_cmp_1(bn) != 0)
  591.31 +-	{
  591.32 +-	  RTMP_Log(RTMP_LOGWARNING, "DH public key does not fulfill y^q mod p = 1");
  591.33 +-	}
  591.34 ++        {
  591.35 ++          RTMP_Log(RTMP_LOGWARNING, "DH public key does not fulfill y^q mod p = 1");
  591.36 ++        }
  591.37 +     }
  591.38 + 
  591.39 + failed:
  591.40 +@@ -253,20 +253,22 @@ DHInit(int nKeyBits)
  591.41 +   if (!dh)
  591.42 +     goto failed;
  591.43 + 
  591.44 +-  MP_new(dh->g);
  591.45 ++  BIGNUM *g = BN_new(); /*MP_new(dh->g);*/
  591.46 + 
  591.47 +-  if (!dh->g)
  591.48 ++  if (!g) /*(!dh->g)*/
  591.49 +     goto failed;
  591.50 + 
  591.51 +-  MP_gethex(dh->p, P1024, res);	/* prime P1024, see dhgroups.h */
  591.52 ++  BIGNUM *p;
  591.53 ++  res = BN_hex2bn(&p, P1024); /*MP_gethex(dh->p, P1024, res);*/	/* prime P1024, see dhgroups.h */
  591.54 +   if (!res)
  591.55 +     {
  591.56 +       goto failed;
  591.57 +     }
  591.58 + 
  591.59 +-  MP_set_w(dh->g, 2);	/* base 2 */
  591.60 ++  BN_set_word(g, 2); /*MP_set_w(dh->g, 2);*/	/* base 2 */
  591.61 + 
  591.62 +-  dh->length = nKeyBits;
  591.63 ++  DH_set0_pqg(dh, p, NULL, g);
  591.64 ++  DH_set_length(dh, nKeyBits); /*dh->length = nKeyBits;*/
  591.65 +   return dh;
  591.66 + 
  591.67 + failed:
  591.68 +@@ -286,20 +288,24 @@ DHGenerateKey(MDH *dh)
  591.69 +   while (!res)
  591.70 +     {
  591.71 +       MP_t q1 = NULL;
  591.72 ++      const BIGNUM *p, *q, *g, *pub_key, *priv_key;
  591.73 + 
  591.74 +       if (!MDH_generate_key(dh))
  591.75 +-	return 0;
  591.76 ++        return 0;
  591.77 + 
  591.78 +       MP_gethex(q1, Q1024, res);
  591.79 +       assert(res);
  591.80 + 
  591.81 +-      res = isValidPublicKey(dh->pub_key, dh->p, q1);
  591.82 ++      DH_get0_key(dh, &pub_key, &priv_key);
  591.83 ++      DH_get0_pqg(dh, &p, &q, &g);
  591.84 ++
  591.85 ++      res = isValidPublicKey(pub_key, p, q1);
  591.86 +       if (!res)
  591.87 +-	{
  591.88 +-	  MP_free(dh->pub_key);
  591.89 +-	  MP_free(dh->priv_key);
  591.90 +-	  dh->pub_key = dh->priv_key = 0;
  591.91 +-	}
  591.92 ++        {
  591.93 ++          /*MP_free(dh->pub_key);*/
  591.94 ++          /*MP_free(dh->priv_key);*/
  591.95 ++          /*dh->pub_key = dh->priv_key = 0;*/
  591.96 ++        }
  591.97 + 
  591.98 +       MP_free(q1);
  591.99 +     }
 591.100 +@@ -311,18 +317,25 @@ DHGenerateKey(MDH *dh)
 591.101 +  */
 591.102 + 
 591.103 + static int
 591.104 +-DHGetPublicKey(MDH *dh, uint8_t *pubkey, size_t nPubkeyLen)
 591.105 ++DHGetPublicKey(MDH *dh, uint8_t *pubkey_out, size_t nPubkeyLen)
 591.106 + {
 591.107 +   int len;
 591.108 +-  if (!dh || !dh->pub_key)
 591.109 ++  const BIGNUM *pub_key, *priv_key;
 591.110 ++
 591.111 ++  if (!dh) /*|| !dh->pub_key*/
 591.112 ++    return 0;
 591.113 ++
 591.114 ++  DH_get0_key(dh, &pub_key, &priv_key);
 591.115 ++  if (!pub_key)
 591.116 +     return 0;
 591.117 + 
 591.118 +-  len = MP_bytes(dh->pub_key);
 591.119 ++
 591.120 ++  len = MP_bytes(pub_key); /*dh->pub_key*/
 591.121 +   if (len <= 0 || len > (int) nPubkeyLen)
 591.122 +     return 0;
 591.123 + 
 591.124 +-  memset(pubkey, 0, nPubkeyLen);
 591.125 +-  MP_setbin(dh->pub_key, pubkey + (nPubkeyLen - len), len);
 591.126 ++  memset(pubkey_out, 0, nPubkeyLen);
 591.127 ++  BN_bn2bin(pub_key, pubkey_out + (nPubkeyLen - len)); /*MP_setbin(dh->pub_key, pubkey + (nPubkeyLen - len), len);*/
 591.128 +   return 1;
 591.129 + }
 591.130 + 
 591.131 +@@ -353,6 +366,7 @@ DHComputeSharedSecretKey(MDH *dh, uint8_t *pubkey, size_t nPubkeyLen,
 591.132 +   MP_t q1 = NULL, pubkeyBn = NULL;
 591.133 +   size_t len;
 591.134 +   int res;
 591.135 ++  const BIGNUM *p, *q, *g;
 591.136 + 
 591.137 +   if (!dh || !secret || nPubkeyLen >= INT_MAX)
 591.138 +     return -1;
 591.139 +@@ -364,7 +378,9 @@ DHComputeSharedSecretKey(MDH *dh, uint8_t *pubkey, size_t nPubkeyLen,
 591.140 +   MP_gethex(q1, Q1024, len);
 591.141 +   assert(len);
 591.142 + 
 591.143 +-  if (isValidPublicKey(pubkeyBn, dh->p, q1))
 591.144 ++  DH_get0_pqg(dh, &p, &q, &g);
 591.145 ++
 591.146 ++  if (isValidPublicKey(pubkeyBn, p, q1))
 591.147 +     res = MDH_compute_key(secret, nPubkeyLen, pubkeyBn, dh);
 591.148 +   else
 591.149 +     res = -1;
 591.150 +diff --git a/librtmp/handshake.h b/librtmp/handshake.h
 591.151 +index 0438486..86d3648 100644
 591.152 +--- a/librtmp/handshake.h
 591.153 ++++ b/librtmp/handshake.h
 591.154 +@@ -69,9 +69,9 @@ typedef struct arcfour_ctx*	RC4_handle;
 591.155 + #if OPENSSL_VERSION_NUMBER < 0x0090800 || !defined(SHA256_DIGEST_LENGTH)
 591.156 + #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256
 591.157 + #endif
 591.158 +-#define HMAC_setup(ctx, key, len)	HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, key, len, EVP_sha256(), 0)
 591.159 +-#define HMAC_crunch(ctx, buf, len)	HMAC_Update(&ctx, buf, len)
 591.160 +-#define HMAC_finish(ctx, dig, dlen)	HMAC_Final(&ctx, dig, &dlen); HMAC_CTX_cleanup(&ctx)
 591.161 ++#define HMAC_setup(ctx, key, len)	HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, key, len, EVP_sha256(), 0)
 591.162 ++#define HMAC_crunch(ctx, buf, len)	HMAC_Update(ctx, buf, len)
 591.163 ++#define HMAC_finish(ctx, dig, dlen)	HMAC_Final(ctx, dig, &dlen); HMAC_CTX_free(ctx)
 591.164 + 
 591.165 + typedef RC4_KEY *	RC4_handle;
 591.166 + #define RC4_alloc(h)	*h = malloc(sizeof(RC4_KEY))
 591.167 +@@ -117,7 +117,9 @@ static void InitRC4Encryption
 591.168 + {
 591.169 +   uint8_t digest[SHA256_DIGEST_LENGTH];
 591.170 +   unsigned int digestLen = 0;
 591.171 +-  HMAC_CTX ctx;
 591.172 ++  HMAC_CTX *ctx = HMAC_CTX_new();
 591.173 ++  if(!ctx)
 591.174 ++    return;
 591.175 + 
 591.176 +   RC4_alloc(rc4keyIn);
 591.177 +   RC4_alloc(rc4keyOut);
 591.178 +@@ -266,7 +268,9 @@ HMACsha256(const uint8_t *message, size_t messageLen, const uint8_t *key,
 591.179 + 	   size_t keylen, uint8_t *digest)
 591.180 + {
 591.181 +   unsigned int digestLen;
 591.182 +-  HMAC_CTX ctx;
 591.183 ++  HMAC_CTX *ctx = HMAC_CTX_new();
 591.184 ++  if(!ctx)
 591.185 ++    return;
 591.186 + 
 591.187 +   HMAC_setup(ctx, key, keylen);
 591.188 +   HMAC_crunch(ctx, message, messageLen);
 591.189 +diff --git a/librtmp/hashswf.c b/librtmp/hashswf.c
 591.190 +index 32b2eed..9673863 100644
 591.191 +--- a/librtmp/hashswf.c
 591.192 ++++ b/librtmp/hashswf.c
 591.193 +@@ -57,10 +57,10 @@
 591.194 + #include <openssl/sha.h>
 591.195 + #include <openssl/hmac.h>
 591.196 + #include <openssl/rc4.h>
 591.197 +-#define HMAC_setup(ctx, key, len)	HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, (unsigned char *)key, len, EVP_sha256(), 0)
 591.198 +-#define HMAC_crunch(ctx, buf, len)	HMAC_Update(&ctx, (unsigned char *)buf, len)
 591.199 +-#define HMAC_finish(ctx, dig, dlen)	HMAC_Final(&ctx, (unsigned char *)dig, &dlen);
 591.200 +-#define HMAC_close(ctx)	HMAC_CTX_cleanup(&ctx)
 591.201 ++#define HMAC_setup(ctx, key, len)	HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, (unsigned char *)key, len, EVP_sha256(), 0)
 591.202 ++#define HMAC_crunch(ctx, buf, len)	HMAC_Update(ctx, (unsigned char *)buf, len)
 591.203 ++#define HMAC_finish(ctx, dig, dlen)	HMAC_Final(ctx, (unsigned char *)dig, &dlen);
 591.204 ++#define HMAC_close(ctx)	HMAC_CTX_free(ctx)
 591.205 + #endif
 591.206 + 
 591.207 + extern void RTMP_TLS_Init();
 591.208 +@@ -298,7 +298,7 @@ leave:
 591.209 + struct info
 591.210 + {
 591.211 +   z_stream *zs;
 591.212 +-  HMAC_CTX ctx;
 591.213 ++  HMAC_CTX *ctx;
 591.214 +   int first;
 591.215 +   int zlib;
 591.216 +   int size;
 591.217 +diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
 591.218 +index 0865689..df65bee 100644
 591.219 +--- a/librtmp/rtmp.c
 591.220 ++++ b/librtmp/rtmp.c
 591.221 +@@ -1902,7 +1902,7 @@ SendFCUnpublish(RTMP *r)
 591.222 + 
 591.223 + SAVC(publish);
 591.224 + SAVC(live);
 591.225 +-SAVC(record);
 591.226 ++/*SAVC(record);*/
 591.227 + 
 591.228 + static int
 591.229 + SendPublish(RTMP *r)
 591.230 +@@ -2904,8 +2904,8 @@ AVC("NetStream.Play.PublishNotify");
 591.231 + static const AVal av_NetStream_Play_UnpublishNotify =
 591.232 + AVC("NetStream.Play.UnpublishNotify");
 591.233 + static const AVal av_NetStream_Publish_Start = AVC("NetStream.Publish.Start");
 591.234 +-static const AVal av_NetConnection_Connect_Rejected =
 591.235 +-AVC("NetConnection.Connect.Rejected");
 591.236 ++/*static const AVal av_NetConnection_Connect_Rejected =
 591.237 ++AVC("NetConnection.Connect.Rejected"); */
 591.238 + 
 591.239 + /* Returns 0 for OK/Failed/error, 1 for 'Stop or Complete' */
 591.240 + static int
 591.241 +@@ -3552,7 +3552,7 @@ RTMP_ReadPacket(RTMP *r, RTMPPacket *packet)
 591.242 +   uint8_t hbuf[RTMP_MAX_HEADER_SIZE] = { 0 };
 591.243 +   char *header = (char *)hbuf;
 591.244 +   int nSize, hSize, nToRead, nChunk;
 591.245 +-  int didAlloc = FALSE;
 591.246 ++  /*int didAlloc = FALSE;*/
 591.247 +   int extendedTimestamp;
 591.248 + 
 591.249 +   RTMP_Log(RTMP_LOGDEBUG2, "%s: fd=%d", __FUNCTION__, r->m_sb.sb_socket);
 591.250 +@@ -3679,7 +3679,7 @@ RTMP_ReadPacket(RTMP *r, RTMPPacket *packet)
 591.251 + 	  RTMP_Log(RTMP_LOGDEBUG, "%s, failed to allocate packet", __FUNCTION__);
 591.252 + 	  return FALSE;
 591.253 + 	}
 591.254 +-      didAlloc = TRUE;
 591.255 ++      /*didAlloc = TRUE;*/
 591.256 +       packet->m_headerType = (hbuf[0] & 0xc0) >> 6;
 591.257 +     }
 591.258 + 
 591.259 +diff --git a/librtmp/rtmp_sys.h b/librtmp/rtmp_sys.h
 591.260 +index 85d7e53..048f538 100644
 591.261 +--- a/librtmp/rtmp_sys.h
 591.262 ++++ b/librtmp/rtmp_sys.h
 591.263 +@@ -37,7 +37,7 @@
 591.264 + #define GetSockError()	WSAGetLastError()
 591.265 + #define SetSockError(e)	WSASetLastError(e)
 591.266 + #define setsockopt(a,b,c,d,e)	(setsockopt)(a,b,c,(const char *)d,(int)e)
 591.267 +-#define EWOULDBLOCK	WSAETIMEDOUT	/* we don't use nonblocking, but we do use timeouts */
 591.268 ++/* #define EWOULDBLOCK	WSAETIMEDOUT */	/* we don't use nonblocking, but we do use timeouts */
 591.269 + #define sleep(n)	Sleep(n*1000)
 591.270 + #define msleep(n)	Sleep(n)
 591.271 + #define SET_RCVTIMEO(tv,s)	int tv = s*1000
 591.272 +diff --git a/rtmpsrv.c b/rtmpsrv.c
 591.273 +index 5df4d3a..0a4166a 100644
 591.274 +--- a/rtmpsrv.c
 591.275 ++++ b/rtmpsrv.c
 591.276 +@@ -152,11 +152,11 @@ SAVC(flashVer);
 591.277 + SAVC(swfUrl);
 591.278 + SAVC(pageUrl);
 591.279 + SAVC(tcUrl);
 591.280 +-SAVC(fpad);
 591.281 ++/*SAVC(fpad);*/
 591.282 + SAVC(capabilities);
 591.283 + SAVC(audioCodecs);
 591.284 + SAVC(videoCodecs);
 591.285 +-SAVC(videoFunction);
 591.286 ++/*SAVC(videoFunction);*/
 591.287 + SAVC(objectEncoding);
 591.288 + SAVC(_result);
 591.289 + SAVC(createStream);
 591.290 +@@ -167,7 +167,7 @@ SAVC(mode);
 591.291 + SAVC(level);
 591.292 + SAVC(code);
 591.293 + SAVC(description);
 591.294 +-SAVC(secureToken);
 591.295 ++/*SAVC(secureToken);*/
 591.296 + 
 591.297 + static int
 591.298 + SendConnectResult(RTMP *r, double txn)
 591.299 +diff --git a/rtmpsuck.c b/rtmpsuck.c
 591.300 +index e886179..33ffff9 100644
 591.301 +--- a/rtmpsuck.c
 591.302 ++++ b/rtmpsuck.c
 591.303 +@@ -124,21 +124,21 @@ SAVC(flashVer);
 591.304 + SAVC(swfUrl);
 591.305 + SAVC(pageUrl);
 591.306 + SAVC(tcUrl);
 591.307 +-SAVC(fpad);
 591.308 +-SAVC(capabilities);
 591.309 ++/*SAVC(fpad);*/
 591.310 ++/*SAVC(capabilities);*/
 591.311 + SAVC(audioCodecs);
 591.312 + SAVC(videoCodecs);
 591.313 +-SAVC(videoFunction);
 591.314 ++/*SAVC(videoFunction);*/
 591.315 + SAVC(objectEncoding);
 591.316 +-SAVC(_result);
 591.317 +-SAVC(createStream);
 591.318 ++/*SAVC(_result);*/
 591.319 ++/*SAVC(createStream);*/
 591.320 + SAVC(play);
 591.321 + SAVC(closeStream);
 591.322 +-SAVC(fmsVer);
 591.323 +-SAVC(mode);
 591.324 ++/*SAVC(fmsVer);*/
 591.325 ++/*SAVC(mode);*/
 591.326 + SAVC(level);
 591.327 + SAVC(code);
 591.328 +-SAVC(secureToken);
 591.329 ++/*SAVC(secureToken);*/
 591.330 + SAVC(onStatus);
 591.331 + SAVC(close);
 591.332 + static const AVal av_NetStream_Failed = AVC("NetStream.Failed");
 591.333 +diff --git a/thread.c b/thread.c
 591.334 +index 0913c98..9de42ea 100644
 591.335 +--- a/thread.c
 591.336 ++++ b/thread.c
 591.337 +@@ -29,13 +29,13 @@
 591.338 + HANDLE
 591.339 + ThreadCreate(thrfunc *routine, void *args)
 591.340 + {
 591.341 +-  HANDLE thd;
 591.342 ++  uintptr_t thd;
 591.343 + 
 591.344 +-  thd = (HANDLE) _beginthread(routine, 0, args);
 591.345 ++  thd = _beginthread(routine, 0, args);
 591.346 +   if (thd == -1L)
 591.347 +     RTMP_LogPrintf("%s, _beginthread failed with %d\n", __FUNCTION__, errno);
 591.348 + 
 591.349 +-  return thd;
 591.350 ++  return (HANDLE) thd;
 591.351 + }
 591.352 + #else
 591.353 + pthread_t
   592.1 --- a/ruby-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   592.2 +++ b/ruby-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   592.3 @@ -1,7 +1,7 @@
   592.4  # SliTaz package receipt.
   592.5  
   592.6  PACKAGE="ruby-dev"
   592.7 -VERSION="2.7.1"
   592.8 +VERSION="2.7.8"
   592.9  CATEGORY="development"
  592.10  SHORT_DESC="Development files for Ruby (to compile ruby-modules)."
  592.11  MAINTAINER="pankso@slitaz.org"
   593.1 --- a/ruby/receipt	Mon Oct 16 18:37:14 2023 +0000
   593.2 +++ b/ruby/receipt	Sun Jan 14 08:12:37 2024 +0000
   593.3 @@ -1,7 +1,7 @@
   593.4  # SliTaz package receipt.
   593.5  
   593.6  PACKAGE="ruby"
   593.7 -VERSION="2.7.1"
   593.8 +VERSION="2.7.8"
   593.9  CATEGORY="development"
  593.10  TAGS="ruby language programming"
  593.11  SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
   594.1 --- a/rust-cargo/receipt	Mon Oct 16 18:37:14 2023 +0000
   594.2 +++ b/rust-cargo/receipt	Sun Jan 14 08:12:37 2024 +0000
   594.3 @@ -1,7 +1,7 @@
   594.4  # SliTaz package receipt.
   594.5  
   594.6  PACKAGE="rust-cargo"
   594.7 -VERSION="1.62.0"
   594.8 +VERSION="1.70.0"
   594.9  CATEGORY="development"
  594.10  SHORT_DESC="The Rust package manager."
  594.11  MAINTAINER="al.bobylev@gmail.com"
   595.1 --- a/rust/receipt	Mon Oct 16 18:37:14 2023 +0000
   595.2 +++ b/rust/receipt	Sun Jan 14 08:12:37 2024 +0000
   595.3 @@ -1,7 +1,7 @@
   595.4  # SliTaz package receipt.
   595.5  
   595.6  PACKAGE="rust"
   595.7 -VERSION="1.62.0"
   595.8 +VERSION="1.70.0"
   595.9  CATEGORY="development"
  595.10  SHORT_DESC="The Rust programming language."
  595.11  MAINTAINER="al.bobylev@gmail.com"
   596.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   596.2 +++ b/sakura-gtk2/description.txt	Sun Jan 14 08:12:37 2024 +0000
   596.3 @@ -0,0 +1,6 @@
   596.4 +Sakura is a terminal emulator based just on GTK and VTE. It's a terminal
   596.5 +emulator with few dependencies, so you don't need a full GNOME desktop
   596.6 +installed to have a decent terminal emulator. Some of the terminal emulators
   596.7 +based on VTE are gnome-terminal, XFCE Terminal, TermIt, etc. Sakura just uses
   596.8 +a notebook to provide several terminals in one window and adds a contextual
   596.9 +menu with some basic options. No more no less.
   597.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   597.2 +++ b/sakura-gtk2/receipt	Sun Jan 14 08:12:37 2024 +0000
   597.3 @@ -0,0 +1,53 @@
   597.4 +# SliTaz package receipt
   597.5 +
   597.6 +PACKAGE="sakura-gtk2"
   597.7 +VERSION="2.4.2"
   597.8 +CATEGORY="utilities"
   597.9 +SHORT_DESC="A simple but powerful libvte-based terminal emulator"
  597.10 +MAINTAINER="pankso@slitaz.org"
  597.11 +LICENSE="GPL2"
  597.12 +WEB_SITE="https://www.pleyades.net/david/projects/sakura"
  597.13 +TARBALL="sakura-$VERSION.tar.bz2"
  597.14 +WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
  597.15 +TAGS="terminal"
  597.16 +HOST_ARCH="i486 arm"
  597.17 +
  597.18 +PROVIDE="sakura"
  597.19 +DEPENDS="gtk+ vte-gtk2 xorg-libXdamage xorg-libXi"
  597.20 +BUILD_DEPENDS="gtk+-dev vte-gtk2-dev xorg-libXdamage-dev xorg-libXi-dev"
  597.21 +
  597.22 +# Handle cross compilation.
  597.23 +case "$ARCH" in
  597.24 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
  597.25 +esac
  597.26 +
  597.27 +current_version()
  597.28 +{
  597.29 +	wget -O - https://launchpad.net/sakura 2>/dev/null | \
  597.30 +	sed '/Latest version/!d;s|.* is ||;q'
  597.31 +}
  597.32 +
  597.33 +# Rules to configure and make the package.
  597.34 +compile_rules()
  597.35 +{
  597.36 +	patch -p1 -i $stuff/sakura-icon.patch
  597.37 +	patch -p1 -i $stuff/ru.po.patch
  597.38 +	patch -p1 -i $stuff/fr.po.patch
  597.39 +	patch -p1 -i $stuff/login_shell.patch
  597.40 +
  597.41 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
  597.42 +	sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
  597.43 +	sed -i 's/-u//' CMakeLists.txt &&
  597.44 +	sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
  597.45 +	make &&
  597.46 +	make DESTDIR=$DESTDIR install
  597.47 +	cp -f $stuff/sakura.desktop $install/usr/share/applications
  597.48 +}
  597.49 +
  597.50 +# Rules to gen a SliTaz package suitable for Tazpkg.
  597.51 +genpkg_rules()
  597.52 +{
  597.53 +	mkdir -p $fs/usr
  597.54 +	cp -a $install/usr/bin $fs/usr
  597.55 +}
  597.56 +
   598.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   598.2 +++ b/sakura-gtk2/stuff/fr.po.patch	Sun Jan 14 08:12:37 2024 +0000
   598.3 @@ -0,0 +1,40 @@
   598.4 +--- a/po/fr.po
   598.5 ++++ b/po/fr.po
   598.6 +@@ -29,6 +29,6 @@
   598.7 + msgid "Execute command"
   598.8 +-msgstr "Exécuter une command"
   598.9 ++msgstr "Exécuter une commande"
  598.10 + 
  598.11 + msgid "Execute command (xterm compatible)"
  598.12 +-msgstr ""
  598.13 ++msgstr "Exécuter une commande (compatible xterm)"
  598.14 + 
  598.15 +@@ -50,6 +50,6 @@
  598.16 + msgid "X geometry specification"
  598.17 +-msgstr ""
  598.18 ++msgstr "Dimension & position X"
  598.19 + 
  598.20 + msgid "Configuration has been modified by another proccess. Overwrite?"
  598.21 +-msgstr ""
  598.22 ++msgstr "La configuration a été modifiée par un autre processus. L'écraser ?"
  598.23 + 
  598.24 +@@ -71,3 +71,3 @@
  598.25 + msgid "Tab new text"
  598.26 +-msgstr ""
  598.27 ++msgstr "Nouveau titre de l'onglet"
  598.28 + 
  598.29 +@@ -116,3 +116,3 @@
  598.30 + msgid "New window"
  598.31 +-msgstr ""
  598.32 ++msgstr "Nouvelle fenêtre"
  598.33 + 
  598.34 +@@ -152,3 +152,3 @@
  598.35 + msgid "Always show tab bar"
  598.36 +-msgstr ""
  598.37 ++msgstr "Toujours afficher la barre d'onglet"
  598.38 + 
  598.39 +@@ -170,3 +170,3 @@
  598.40 + msgid "Borderless and maximized"
  598.41 +-msgstr ""
  598.42 ++msgstr "Taille maximum sans bords"
  598.43 + 
   599.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   599.2 +++ b/sakura-gtk2/stuff/login_shell.patch	Sun Jan 14 08:12:37 2024 +0000
   599.3 @@ -0,0 +1,28 @@
   599.4 +--- a/src/sakura.c
   599.5 ++++ b/src/sakura.c
   599.6 +@@ -196,7 +196,7 @@
   599.7 + 	gint scrollbar_key;
   599.8 + 	gint fullscreen_key;
   599.9 + 	GRegex *http_regexp;
  599.10 +-	char *argv[2];
  599.11 ++	char *argv[3];
  599.12 + } sakura;
  599.13 + 
  599.14 + struct terminal {
  599.15 +@@ -1825,12 +1825,13 @@
  599.16 + 	}
  599.17 + 
  599.18 + 	/* Set argv for forked childs */
  599.19 ++	sakura.argv[0]=g_strdup(g_getenv("SHELL"));
  599.20 + 	if (option_login) {
  599.21 +-		sakura.argv[0]=g_strdup_printf("-%s", g_getenv("SHELL"));
  599.22 ++		sakura.argv[1]=g_strdup("-l");
  599.23 + 	} else {
  599.24 +-		sakura.argv[0]=g_strdup(g_getenv("SHELL"));
  599.25 ++		sakura.argv[1]=NULL;
  599.26 + 	}
  599.27 +-	sakura.argv[1]=NULL;
  599.28 ++	sakura.argv[2]=NULL;
  599.29 + 
  599.30 + 	if (option_title) {
  599.31 + 		gtk_window_set_title(GTK_WINDOW(sakura.main_window), option_title);
   600.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   600.2 +++ b/sakura-gtk2/stuff/ru.po.patch	Sun Jan 14 08:12:37 2024 +0000
   600.3 @@ -0,0 +1,80 @@
   600.4 +Update translations
   600.5 +
   600.6 +--- a/po/ru.po
   600.7 ++++ b/po/ru.po
   600.8 +@@ -32,7 +32,7 @@
   600.9 + msgstr "Логин shell"
  600.10 + 
  600.11 + msgid "Set window title"
  600.12 +-msgstr "Изменение заголовка окна"
  600.13 ++msgstr "Изменить заголовок окна"
  600.14 + 
  600.15 + msgid "Set columns number"
  600.16 + msgstr "Установить число столбцов"
  600.17 +@@ -44,10 +44,10 @@
  600.18 + msgstr "Удерживать окно после выполнения команды"
  600.19 + 
  600.20 + msgid "X geometry specification"
  600.21 +-msgstr "Определение геометрии окна X"
  600.22 ++msgstr "Указать геометрию окна X (ШxВ)"
  600.23 + 
  600.24 + msgid "Configuration has been modified by another proccess. Overwrite?"
  600.25 +-msgstr "Настройки могут быть изменены в другом процессе. Перезаписать?"
  600.26 ++msgstr "Настройки были изменены другим процессом. Перезаписать?"
  600.27 + 
  600.28 + msgid ""
  600.29 + "There are running processes.\n"
  600.30 +@@ -56,19 +56,19 @@
  600.31 + msgstr ""
  600.32 + "Не все процессы завершены.\n"
  600.33 + "\n"
  600.34 +-"Вы уверены, что хотите выйти из программы?"
  600.35 ++"Вы уверены, что хотите закрыть Sakura?"
  600.36 + 
  600.37 + msgid "Select font"
  600.38 + msgstr "Выбор шрифта"
  600.39 + 
  600.40 + msgid "Set name"
  600.41 +-msgstr "Изменение заголовка вкладки"
  600.42 ++msgstr "Изменить заголовок вкладки"
  600.43 + 
  600.44 + msgid "Tab new text"
  600.45 +-msgstr "Новоый заголовок:"
  600.46 ++msgstr "Новый заголовок"
  600.47 + 
  600.48 + msgid "Select color"
  600.49 +-msgstr "Выбор цвета"
  600.50 ++msgstr "Выбрать цвета"
  600.51 + 
  600.52 + msgid "Select foreground color:"
  600.53 + msgstr "Цвет текста:"
  600.54 +@@ -86,7 +86,7 @@
  600.55 + msgstr "Отключить прозрачность"
  600.56 + 
  600.57 + msgid "New window title"
  600.58 +-msgstr "Новый заголовок:"
  600.59 ++msgstr "Новый заголовок"
  600.60 + 
  600.61 + msgid "Select a background file"
  600.62 + msgstr "Выбор файла с фоновым рисунком"
  600.63 +@@ -96,9 +96,9 @@
  600.64 + "\n"
  600.65 + "Do you really want to close it?"
  600.66 + msgstr ""
  600.67 +-"Не все процессы завершены.\n"
  600.68 ++"В этом терминале продолжает работать процесс.\n"
  600.69 + "\n"
  600.70 +-"Вы уверены, что хотите выйти из программы?"
  600.71 ++"Вы уверены, что хотите закрыть его?"
  600.72 + 
  600.73 + msgid "Open link..."
  600.74 + msgstr "Открыть ссылку..."
  600.75 +@@ -164,7 +164,7 @@
  600.76 + msgstr "Мигающий курсор"
  600.77 + 
  600.78 + msgid "Borderless and maximized"
  600.79 +-msgstr "На весь экран без рамки."
  600.80 ++msgstr "На весь экран без рамки"
  600.81 + 
  600.82 + msgid "Input methods"
  600.83 + msgstr "Методы ввода"
   601.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   601.2 +++ b/sakura-gtk2/stuff/sakura-icon.patch	Sun Jan 14 08:12:37 2024 +0000
   601.3 @@ -0,0 +1,22 @@
   601.4 +Set Freedesktop standard icon
   601.5 +
   601.6 +--- a/src/sakura.c
   601.7 ++++ b/src/sakura.c
   601.8 +@@ -210,7 +210,7 @@
   601.9 + };
  601.10 + 
  601.11 + 
  601.12 +-#define ICON_FILE "terminal-tango.svg"
  601.13 ++#define ICON_NAME "utilities-terminal"
  601.14 + #define SCROLL_LINES 4096
  601.15 + #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"
  601.16 + #define CONFIGFILE "sakura.conf"
  601.17 +@@ -1803,7 +1803,7 @@
  601.18 + 
  601.19 + 	sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
  601.20 + 	gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura");
  601.21 +-	gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror);
  601.22 ++	gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME);
  601.23 + 	/* Default terminal size*/
  601.24 + 	sakura.columns = DEFAULT_COLUMNS;
  601.25 + 	sakura.rows = DEFAULT_ROWS;
   602.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   602.2 +++ b/sakura-gtk2/stuff/sakura.desktop	Sun Jan 14 08:12:37 2024 +0000
   602.3 @@ -0,0 +1,9 @@
   602.4 +[Desktop Entry]
   602.5 +Type=Application
   602.6 +Name=Sakura Terminal
   602.7 +Name[fr]=Terminal Sakura
   602.8 +Name[ru]=Терминал Sakura
   602.9 +Exec=sakura --sync -l
  602.10 +Icon=utilities-terminal
  602.11 +Categories=GTK;System;TerminalEmulator;
  602.12 +StartupNotify=true
   603.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   603.2 +++ b/sakura-gtk3/receipt	Sun Jan 14 08:12:37 2024 +0000
   603.3 @@ -0,0 +1,52 @@
   603.4 +# SliTaz package receipt
   603.5 +
   603.6 +PACKAGE="sakura-gtk3"
   603.7 +VERSION="3.6.0"
   603.8 +CATEGORY="utilities"
   603.9 +SHORT_DESC="A simple but powerful libvte-based terminal emulator"
  603.10 +MAINTAINER="pankso@slitaz.org"
  603.11 +LICENSE="GPL2"
  603.12 +WEB_SITE="https://www.pleyades.net/david/projects/sakura"
  603.13 +TARBALL="sakura-$VERSION.tar.bz2"
  603.14 +WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
  603.15 +TAGS="terminal"
  603.16 +HOST_ARCH="i486 arm"
  603.17 +
  603.18 +DEPENDS="gtk+3 vte-gtk3 xorg-libXdamage xorg-libXi"
  603.19 +BUILD_DEPENDS="gtk+3-dev vte-gtk3-dev xorg-libXdamage-dev xorg-libXi-dev"
  603.20 +
  603.21 +# Handle cross compilation.
  603.22 +case "$ARCH" in
  603.23 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
  603.24 +esac
  603.25 +
  603.26 +current_version()
  603.27 +{
  603.28 +	wget -O - https://launchpad.net/sakura 2>/dev/null | \
  603.29 +	sed '/Latest version/!d;s|.* is ||;q'
  603.30 +}
  603.31 +
  603.32 +# Rules to configure and make the package.
  603.33 +compile_rules()
  603.34 +{
  603.35 +	#patch -p1 -i $stuff/sakura-icon.patch
  603.36 +	#patch -p1 -i $stuff/ru.po.patch
  603.37 +	#patch -p1 -i $stuff/fr.po.patch
  603.38 +	#patch -p1 -i $stuff/login_shell.patch
  603.39 +
  603.40 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
  603.41 +	sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
  603.42 +	sed -i 's/-u//' CMakeLists.txt &&
  603.43 +	sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
  603.44 +	make &&
  603.45 +	make DESTDIR=$DESTDIR install
  603.46 +	cp -f $stuff/sakura.desktop $install/usr/share/applications
  603.47 +}
  603.48 +
  603.49 +# Rules to gen a SliTaz package suitable for Tazpkg.
  603.50 +genpkg_rules()
  603.51 +{
  603.52 +	mkdir -p $fs/usr
  603.53 +	cp -a $install/usr/bin $fs/usr
  603.54 +}
  603.55 +
   604.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   604.2 +++ b/sakura-gtk3/stuff/fr.po.patch	Sun Jan 14 08:12:37 2024 +0000
   604.3 @@ -0,0 +1,40 @@
   604.4 +--- a/po/fr.po
   604.5 ++++ b/po/fr.po
   604.6 +@@ -29,6 +29,6 @@
   604.7 + msgid "Execute command"
   604.8 +-msgstr "Exécuter une command"
   604.9 ++msgstr "Exécuter une commande"
  604.10 + 
  604.11 + msgid "Execute command (xterm compatible)"
  604.12 +-msgstr ""
  604.13 ++msgstr "Exécuter une commande (compatible xterm)"
  604.14 + 
  604.15 +@@ -50,6 +50,6 @@
  604.16 + msgid "X geometry specification"
  604.17 +-msgstr ""
  604.18 ++msgstr "Dimension & position X"
  604.19 + 
  604.20 + msgid "Configuration has been modified by another proccess. Overwrite?"
  604.21 +-msgstr ""
  604.22 ++msgstr "La configuration a été modifiée par un autre processus. L'écraser ?"
  604.23 + 
  604.24 +@@ -71,3 +71,3 @@
  604.25 + msgid "Tab new text"
  604.26 +-msgstr ""
  604.27 ++msgstr "Nouveau titre de l'onglet"
  604.28 + 
  604.29 +@@ -116,3 +116,3 @@
  604.30 + msgid "New window"
  604.31 +-msgstr ""
  604.32 ++msgstr "Nouvelle fenêtre"
  604.33 + 
  604.34 +@@ -152,3 +152,3 @@
  604.35 + msgid "Always show tab bar"
  604.36 +-msgstr ""
  604.37 ++msgstr "Toujours afficher la barre d'onglet"
  604.38 + 
  604.39 +@@ -170,3 +170,3 @@
  604.40 + msgid "Borderless and maximized"
  604.41 +-msgstr ""
  604.42 ++msgstr "Taille maximum sans bords"
  604.43 + 
   605.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   605.2 +++ b/sakura-gtk3/stuff/login_shell.patch	Sun Jan 14 08:12:37 2024 +0000
   605.3 @@ -0,0 +1,28 @@
   605.4 +--- a/src/sakura.c
   605.5 ++++ b/src/sakura.c
   605.6 +@@ -196,7 +196,7 @@
   605.7 + 	gint scrollbar_key;
   605.8 + 	gint fullscreen_key;
   605.9 + 	GRegex *http_regexp;
  605.10 +-	char *argv[2];
  605.11 ++	char *argv[3];
  605.12 + } sakura;
  605.13 + 
  605.14 + struct terminal {
  605.15 +@@ -1825,12 +1825,13 @@
  605.16 + 	}
  605.17 + 
  605.18 + 	/* Set argv for forked childs */
  605.19 ++	sakura.argv[0]=g_strdup(g_getenv("SHELL"));
  605.20 + 	if (option_login) {
  605.21 +-		sakura.argv[0]=g_strdup_printf("-%s", g_getenv("SHELL"));
  605.22 ++		sakura.argv[1]=g_strdup("-l");
  605.23 + 	} else {
  605.24 +-		sakura.argv[0]=g_strdup(g_getenv("SHELL"));
  605.25 ++		sakura.argv[1]=NULL;
  605.26 + 	}
  605.27 +-	sakura.argv[1]=NULL;
  605.28 ++	sakura.argv[2]=NULL;
  605.29 + 
  605.30 + 	if (option_title) {
  605.31 + 		gtk_window_set_title(GTK_WINDOW(sakura.main_window), option_title);
   606.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   606.2 +++ b/sakura-gtk3/stuff/ru.po.patch	Sun Jan 14 08:12:37 2024 +0000
   606.3 @@ -0,0 +1,80 @@
   606.4 +Update translations
   606.5 +
   606.6 +--- a/po/ru.po
   606.7 ++++ b/po/ru.po
   606.8 +@@ -32,7 +32,7 @@
   606.9 + msgstr "Логин shell"
  606.10 + 
  606.11 + msgid "Set window title"
  606.12 +-msgstr "Изменение заголовка окна"
  606.13 ++msgstr "Изменить заголовок окна"
  606.14 + 
  606.15 + msgid "Set columns number"
  606.16 + msgstr "Установить число столбцов"
  606.17 +@@ -44,10 +44,10 @@
  606.18 + msgstr "Удерживать окно после выполнения команды"
  606.19 + 
  606.20 + msgid "X geometry specification"
  606.21 +-msgstr "Определение геометрии окна X"
  606.22 ++msgstr "Указать геометрию окна X (ШxВ)"
  606.23 + 
  606.24 + msgid "Configuration has been modified by another proccess. Overwrite?"
  606.25 +-msgstr "Настройки могут быть изменены в другом процессе. Перезаписать?"
  606.26 ++msgstr "Настройки были изменены другим процессом. Перезаписать?"
  606.27 + 
  606.28 + msgid ""
  606.29 + "There are running processes.\n"
  606.30 +@@ -56,19 +56,19 @@
  606.31 + msgstr ""
  606.32 + "Не все процессы завершены.\n"
  606.33 + "\n"
  606.34 +-"Вы уверены, что хотите выйти из программы?"
  606.35 ++"Вы уверены, что хотите закрыть Sakura?"
  606.36 + 
  606.37 + msgid "Select font"
  606.38 + msgstr "Выбор шрифта"
  606.39 + 
  606.40 + msgid "Set name"
  606.41 +-msgstr "Изменение заголовка вкладки"
  606.42 ++msgstr "Изменить заголовок вкладки"
  606.43 + 
  606.44 + msgid "Tab new text"
  606.45 +-msgstr "Новоый заголовок:"
  606.46 ++msgstr "Новый заголовок"
  606.47 + 
  606.48 + msgid "Select color"
  606.49 +-msgstr "Выбор цвета"
  606.50 ++msgstr "Выбрать цвета"
  606.51 + 
  606.52 + msgid "Select foreground color:"
  606.53 + msgstr "Цвет текста:"
  606.54 +@@ -86,7 +86,7 @@
  606.55 + msgstr "Отключить прозрачность"
  606.56 + 
  606.57 + msgid "New window title"
  606.58 +-msgstr "Новый заголовок:"
  606.59 ++msgstr "Новый заголовок"
  606.60 + 
  606.61 + msgid "Select a background file"
  606.62 + msgstr "Выбор файла с фоновым рисунком"
  606.63 +@@ -96,9 +96,9 @@
  606.64 + "\n"
  606.65 + "Do you really want to close it?"
  606.66 + msgstr ""
  606.67 +-"Не все процессы завершены.\n"
  606.68 ++"В этом терминале продолжает работать процесс.\n"
  606.69 + "\n"
  606.70 +-"Вы уверены, что хотите выйти из программы?"
  606.71 ++"Вы уверены, что хотите закрыть его?"
  606.72 + 
  606.73 + msgid "Open link..."
  606.74 + msgstr "Открыть ссылку..."
  606.75 +@@ -164,7 +164,7 @@
  606.76 + msgstr "Мигающий курсор"
  606.77 + 
  606.78 + msgid "Borderless and maximized"
  606.79 +-msgstr "На весь экран без рамки."
  606.80 ++msgstr "На весь экран без рамки"
  606.81 + 
  606.82 + msgid "Input methods"
  606.83 + msgstr "Методы ввода"
   607.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   607.2 +++ b/sakura-gtk3/stuff/sakura-icon.patch	Sun Jan 14 08:12:37 2024 +0000
   607.3 @@ -0,0 +1,22 @@
   607.4 +Set Freedesktop standard icon
   607.5 +
   607.6 +--- a/src/sakura.c
   607.7 ++++ b/src/sakura.c
   607.8 +@@ -210,7 +210,7 @@
   607.9 + };
  607.10 + 
  607.11 + 
  607.12 +-#define ICON_FILE "terminal-tango.svg"
  607.13 ++#define ICON_NAME "utilities-terminal"
  607.14 + #define SCROLL_LINES 4096
  607.15 + #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"
  607.16 + #define CONFIGFILE "sakura.conf"
  607.17 +@@ -1803,7 +1803,7 @@
  607.18 + 
  607.19 + 	sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
  607.20 + 	gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura");
  607.21 +-	gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror);
  607.22 ++	gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME);
  607.23 + 	/* Default terminal size*/
  607.24 + 	sakura.columns = DEFAULT_COLUMNS;
  607.25 + 	sakura.rows = DEFAULT_ROWS;
   608.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   608.2 +++ b/sakura-gtk3/stuff/sakura.desktop	Sun Jan 14 08:12:37 2024 +0000
   608.3 @@ -0,0 +1,9 @@
   608.4 +[Desktop Entry]
   608.5 +Type=Application
   608.6 +Name=Sakura Terminal
   608.7 +Name[fr]=Terminal Sakura
   608.8 +Name[ru]=Терминал Sakura
   608.9 +Exec=sakura -l
  608.10 +Icon=utilities-terminal
  608.11 +Categories=GTK;System;TerminalEmulator;
  608.12 +StartupNotify=true
   609.1 --- a/samba-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   609.2 +++ b/samba-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   609.3 @@ -12,7 +12,8 @@
   609.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   609.5  genpkg_rules()
   609.6  {
   609.7 -	mkdir -p $fs/usr
   609.8 +	mkdir -p $fs/usr/share/pkgconfig
   609.9  	cp -a $install/usr/include $fs/usr
  609.10 +	# Workaround for smbclient.pc files
  609.11 +	cp -a $src/source3/pkgconfig/smbclient.pc $fs/usr/share/pkgconfig/
  609.12  }
  609.13 -
   610.1 --- a/sane-backends-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   610.2 +++ b/sane-backends-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   610.3 @@ -1,7 +1,7 @@
   610.4  # SliTaz package receipt.
   610.5  
   610.6  PACKAGE="sane-backends-dev"
   610.7 -VERSION="1.0.24"
   610.8 +VERSION="1.0.32"
   610.9  CATEGORY="development"
  610.10  SHORT_DESC="Scanner Access Now Easy - development files."
  610.11  MAINTAINER="pankso@slitaz.org"
  610.12 @@ -14,9 +14,7 @@
  610.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  610.14  genpkg_rules()
  610.15  {
  610.16 -	mkdir -p $fs/usr/lib/sane
  610.17 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
  610.18 +	mkdir -p $fs/usr/lib
  610.19  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  610.20 -	cp -a $install/usr/lib/sane/*.*a	$fs/usr/lib/sane
  610.21  	cp -a $install/usr/include		$fs/usr
  610.22  }
   611.1 --- a/sane-backends/receipt	Mon Oct 16 18:37:14 2023 +0000
   611.2 +++ b/sane-backends/receipt	Sun Jan 14 08:12:37 2024 +0000
   611.3 @@ -1,7 +1,7 @@
   611.4  # SliTaz package receipt.
   611.5  
   611.6  PACKAGE="sane-backends"
   611.7 -VERSION="1.0.24"
   611.8 +VERSION="1.0.32"
   611.9  CATEGORY="system-tools"
  611.10  SHORT_DESC="Scanner Access Now Easy."
  611.11  MAINTAINER="pankso@slitaz.org"
  611.12 @@ -9,11 +9,11 @@
  611.13  WEB_SITE="http://www.sane-project.org/"
  611.14  
  611.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
  611.16 -WGET_URL="https://gitlab.com/sane-project/backends/-/archive/RELEASE_${VERSION//./_}/backends-RELEASE_${VERSION//./_}.tar.gz"
  611.17 +WGET_URL="https://anduin.linuxfromscratch.org/BLFS/sane/$TARBALL"
  611.18  
  611.19  DEPENDS="jpeg libgphoto2 libltdl libusb-compat libv4l tiff zlib"
  611.20  BUILD_DEPENDS="jpeg-dev libgphoto2-dev libtool libusb-compat-dev 
  611.21 -	libv4l-dev tiff-dev zlib-dev"
  611.22 +	libv4l-dev tiff-dev zlib-dev automake"
  611.23  SUGGESTED="gocr imagemagick sane-backends-lang tesseract-ocr"
  611.24  
  611.25  current_version()
   612.1 --- a/schroedinger-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   612.2 +++ b/schroedinger-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   612.3 @@ -17,5 +17,4 @@
   612.4  	mkdir -p $fs/usr/lib
   612.5  	cp -a $install/usr/include $fs/usr
   612.6  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   612.7 -	cp -a $install/usr/lib/*.la $fs/usr/lib
   612.8  }
   613.1 --- a/sftp-server/receipt	Mon Oct 16 18:37:14 2023 +0000
   613.2 +++ b/sftp-server/receipt	Sun Jan 14 08:12:37 2024 +0000
   613.3 @@ -1,7 +1,7 @@
   613.4  # SliTaz package receipt.
   613.5  
   613.6  PACKAGE="sftp-server"
   613.7 -VERSION="9.3p1"
   613.8 +VERSION="9.6p1"
   613.9  CATEGORY="security"
  613.10  TAGS="ssh"
  613.11  SHORT_DESC="Openbsd Secure FTP server."
   614.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   614.2 +++ b/sip3-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   614.3 @@ -0,0 +1,19 @@
   614.4 +# SliTaz package receipt.
   614.5 +
   614.6 +PACKAGE="sip3-dev"
   614.7 +VERSION="4.19.25"
   614.8 +CATEGORY="development"
   614.9 +SHORT_DESC="Development files for sip3."
  614.10 +MAINTAINER="allan316@gmail.com"
  614.11 +LICENSE="GPL2 GPL3"
  614.12 +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
  614.13 +
  614.14 +WANTED="sip3"
  614.15 +DEPENDS="sip3"
  614.16 +
  614.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  614.18 +genpkg_rules()
  614.19 +{
  614.20 +	mkdir -p $fs/usr
  614.21 +	cp -a $install/usr/include $fs/usr
  614.22 +}
   615.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   615.2 +++ b/sip3/receipt	Sun Jan 14 08:12:37 2024 +0000
   615.3 @@ -0,0 +1,47 @@
   615.4 +# SliTaz package receipt.
   615.5 +
   615.6 +PACKAGE="sip3"
   615.7 +VERSION="4.19.25"
   615.8 +CATEGORY="development"
   615.9 +SHORT_DESC="C/C++ Bindings Generator for Python v3."
  615.10 +MAINTAINER="allan316@gmail.com"
  615.11 +LICENSE="GPL2 GPL3"
  615.12 +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
  615.13 +REPOLOGY="python:sip"
  615.14 +
  615.15 +TARBALL="sip-$VERSION.tar.gz"
  615.16 +#WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
  615.17 +WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL"
  615.18 +
  615.19 +DEPENDS="gcc-lib-base python3"
  615.20 +BUILD_DEPENDS="python3-dev"
  615.21 +
  615.22 +# What is the latest version available today?
  615.23 +current_version()
  615.24 +{
  615.25 +	wget -O - $WEB_SITE 2>/dev/null | \
  615.26 +	sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
  615.27 +}
  615.28 +
  615.29 +# Rules to configure and make the package.
  615.30 +compile_rules()
  615.31 +{
  615.32 +	python3 configure.py &&
  615.33 +	make &&
  615.34 +	make install DESTDIR=$DESTDIR
  615.35 +
  615.36 +        # SIP module
  615.37 +	make clean
  615.38 +        python3 configure.py \
  615.39 +          --sip-module PyQt4.sip \
  615.40 +          --no-tools &&
  615.41 +        make &&
  615.42 +        make install DESTDIR=$DESTDIR
  615.43 +}
  615.44 +
  615.45 +# Rules to gen a SliTaz package suitable for Tazpkg.
  615.46 +genpkg_rules()
  615.47 +{
  615.48 +	cook_copy_folders	bin
  615.49 +	cook_copy_folders	lib
  615.50 +}
   616.1 --- a/slang-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   616.2 +++ b/slang-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   616.3 @@ -17,6 +17,6 @@
   616.4  	mkdir -p $fs/usr/lib 
   616.5  
   616.6  	cp -a $install/usr/include		$fs/usr
   616.7 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   616.8 +	#cp -a $install/usr/lib/*.*a		$fs/usr/lib
   616.9  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  616.10  }
   617.1 --- a/slim-pam/receipt	Mon Oct 16 18:37:14 2023 +0000
   617.2 +++ b/slim-pam/receipt	Sun Jan 14 08:12:37 2024 +0000
   617.3 @@ -41,7 +41,8 @@
   617.4  	cmake	..					\
   617.5  		-D CMAKE_INSTALL_PREFIX=/usr		\
   617.6  		-D X11_Xmu_LIB=-lXmu			\
   617.7 -		-D USE_PAM=yes &&
   617.8 +		-D USE_PAM=yes				\
   617.9 +	-Wno-dev &&
  617.10  	make &&
  617.11  	make install DESTDIR=$DESTDIR
  617.12  }
   618.1 --- a/slim/receipt	Mon Oct 16 18:37:14 2023 +0000
   618.2 +++ b/slim/receipt	Sun Jan 14 08:12:37 2024 +0000
   618.3 @@ -60,7 +60,8 @@
   618.4  		-D CMAKE_INSTALL_PREFIX=/usr		\
   618.5  		-D X11_Xmu_LIB="$LIBS/libXmu.so"	\
   618.6  		-D X11_Xft_INCLUDE_PATH=${INCL}		\
   618.7 -		-D X11_Xmu_INCLUDE_PATH=${INCL} &&
   618.8 +		-D X11_Xmu_INCLUDE_PATH=${INCL}		\
   618.9 +	-Wno-dev &&
  618.10  	make &&
  618.11  	make install DESTDIR=$DESTDIR
  618.12  }
   619.1 --- a/slitaz-boot-scripts/receipt	Mon Oct 16 18:37:14 2023 +0000
   619.2 +++ b/slitaz-boot-scripts/receipt	Sun Jan 14 08:12:37 2024 +0000
   619.3 @@ -35,6 +35,10 @@
   619.4  #
   619.5  genpkg_rules()
   619.6  {
   619.7 +	cd $src
   619.8 +	# Thanks Rantanplan, fix mhwaveedit tempdir path
   619.9 +	patch -p1 < $stuff/fix-mhwaveedit-tempdir-path.patch
  619.10 +
  619.11  	cp -a $src/etc $fs
  619.12  	cp -a $src/usr $fs
  619.13  	cp -a $src/init $fs
   620.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   620.2 +++ b/slitaz-boot-scripts/stuff/fix-mhwaveedit-tempdir-path.patch	Sun Jan 14 08:12:37 2024 +0000
   620.3 @@ -0,0 +1,14 @@
   620.4 +--- a/etc/init.d/bootopts.sh
   620.5 ++++ b/etc/init.d/bootopts.sh
   620.6 +@@ -52,6 +52,11 @@
   620.7 + 	if [ -f /etc/slim.conf ]; then
   620.8 + 		sed -i "s|default_user .*|default_user    $USER|" /etc/slim.conf
   620.9 + 	fi
  620.10 ++
  620.11 ++	# Workaround for mhwaveedit tempDir path
  620.12 ++	if [ -f /home/$USER/.mhwaveedit/config ]; then
  620.13 ++		sed -i "s|user_name|$USER|" /home/$USER/.mhwaveedit/config
  620.14 ++	fi
  620.15 + fi
  620.16 + 
  620.17 + # Make sure selected user has home
   621.1 --- a/slitaz-i18n/receipt	Mon Oct 16 18:37:14 2023 +0000
   621.2 +++ b/slitaz-i18n/receipt	Sun Jan 14 08:12:37 2024 +0000
   621.3 @@ -13,11 +13,14 @@
   621.4  BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
   621.5  elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \
   621.6  gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \
   621.7 -libidn liblzma webkitgtk lxappearance lxinput lxpanel lxrandr lxsession \
   621.8 -lxsession-edit lxtask mhwaveedit midori mtpaint nano parted \
   621.9 -pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
  621.10 -vorbis-tools vte xorg-xkeyboard-config yad-gtk2 tzdata"
  621.11 +libidn liblzma libwebkit webkitgtk lxappearance lxinput lxpanel lxrandr \
  621.12 +lxsession lxsession-edit lxtask mhwaveedit mtpaint nano obconf openbox \
  621.13 +parted pcmanfm polkit popt sakura-gtk2 shared-mime-info udisks2 \
  621.14 +util-linux-blkid vorbis-tools vte-gtk2 xorg-xkeyboard-config \
  621.15 +yad-gtk2 tzdata"
  621.16  # exclude obconf openbox to avoid loop with slitaz-configs
  621.17 +# exclude midori, don't rebuild at time
  621.18 +
  621.19  
  621.20  # Handle slitaz arch: /etc/slitaz/slitaz.conf
  621.21  case "$SLITAZ_ARCH" in
   622.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Mon Oct 16 18:37:14 2023 +0000
   622.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Sun Jan 14 08:12:37 2024 +0000
   622.3 @@ -2,12 +2,13 @@
   622.4  # Packages LC_MESSAGES included in the locale pack.
   622.5  CORE_PKGS="acl alsaplayer alsa-utils asunder atk attr busybox dialog e2fsprogs \
   622.6  elfutils epdfview galculator gdk-pixbuf glib glibc glib-networking gparted \
   622.7 -gpicview gtk+ gvfs kbd leafpad libfm gnutls libgpg-error libidn xz webkitgtk \
   622.8 -lxappearance lxinput lxpanel lxrandr lxsession lxsession-edit lxtask \
   622.9 -mhwaveedit midori mtpaint nano parted pcmanfm polkit popt \
  622.10 -sakura shared-mime-info udisks2 util-linux vorbis-tools vte \
  622.11 +gpicview gtk+ gvfs kbd leafpad libfm gnutls libgpg-error libidn xz libwebkit \
  622.12 +webkitgtk lxappearance lxinput lxpanel lxrandr lxsession lxsession-edit lxtask \
  622.13 +mhwaveedit mtpaint nano openbox obconf parted pcmanfm polkit popt sakura-gtk2 \
  622.14 +shared-mime-info udisks2 util-linux vorbis-tools vte-gtk2 \
  622.15  xorg-xkeyboard-config yad-gtk2"
  622.16  # Exclude obconf openbox (loop with slitaz-configs / locale-*)
  622.17 +# Exclude midori don't rebuild at time
  622.18  
  622.19  CORE_PKGS_ARM="acl attr dialog e2fsprogs jwm libgpg-error lynx nano"
  622.20  
   623.1 --- a/slitaz-tools-boxes/receipt	Mon Oct 16 18:37:14 2023 +0000
   623.2 +++ b/slitaz-tools-boxes/receipt	Sun Jan 14 08:12:37 2024 +0000
   623.3 @@ -28,6 +28,13 @@
   623.4  # Rules to configure and make the package.
   623.5  compile_rules()
   623.6  {
   623.7 +        # Thanks Rantanplan
   623.8 +	# fix typo burn-box and fr comment tazbox-tazapps
   623.9 +        patch -p1 < $stuff/fix_typo_burn-box.patch
  623.10 +	patch -p1 < $stuff/fr_comment_tazbox-tazapps.patch
  623.11 +	# fix list videos for tazbox-video
  623.12 +	patch -p1 < $stuff/fix_list_tazbox-video.patch
  623.13 +
  623.14  	make && make DESTDIR=$DESTDIR install-boxes
  623.15  
  623.16  	# make zone-mini.tab for timezone selector
   624.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   624.2 +++ b/slitaz-tools-boxes/stuff/fix_list_tazbox-video.patch	Sun Jan 14 08:12:37 2024 +0000
   624.3 @@ -0,0 +1,11 @@
   624.4 +--- a/tazbox/tazbox
   624.5 ++++ b/tazbox/tazbox
   624.6 +@@ -931,7 +931,7 @@
   624.7 + 	[ "${1:0:1}" = "/" ] && file="$1"
   624.8 + 	[ -s "$file" ] || file="$(yad --file --width='600' --height='500' --add-preview \
   624.9 + 		--window-icon $icon --title "$(_ 'Select the video file')" --center \
  624.10 +-		--file-filter="$(_ 'All video files')|*.mp4 *.m4v *.webm *.ogg *.ogv *.flv *.avi *.3gp" \
  624.11 ++		--file-filter="$(_ 'All video files')|*.mp4 *.m4v *.webm *.ogg *.ogv *.flv *.avi *.3gp *.mov" \
  624.12 + 		--file-filter="$(_ 'All files')|*")"
  624.13 + 	[ -s "$file" ] || return
  624.14 + 
   625.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   625.2 +++ b/slitaz-tools-boxes/stuff/fix_typo_burn-box.patch	Sun Jan 14 08:12:37 2024 +0000
   625.3 @@ -0,0 +1,11 @@
   625.4 +--- a/applications/burn-box.desktop
   625.5 ++++ b/applications/burn-box.desktop
   625.6 +@@ -7,7 +7,7 @@
   625.7 + Name[pt_BR]=Gravador de CD/DVD
   625.8 + Name[ru]=Записать CD/DVD
   625.9 + Comment=Burn ISO images or audio tracks to CD or DVD
  625.10 +-Comment[fr]=Grave des images ISO or des pistes audio sur CD ou DVD
  625.11 ++Comment[fr]=Grave des images ISO ou des pistes audio sur CD ou DVD
  625.12 + Comment[ru]=Запись образа ISO или аудио-дорожек на CD или DVD
  625.13 + Exec=burn-box
  625.14 + Icon=burn-box
   626.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   626.2 +++ b/slitaz-tools-boxes/stuff/fr_comment_tazbox-tazapps.patch	Sun Jan 14 08:12:37 2024 +0000
   626.3 @@ -0,0 +1,10 @@
   626.4 +--- a/applications/tazbox-tazapps.desktop
   626.5 ++++ b/applications/tazbox-tazapps.desktop
   626.6 +@@ -5,6 +5,7 @@
   626.7 + Name[fr]=Applications par défaut
   626.8 + Name[ru]=Избранные приложения
   626.9 + Comment=SliTaz default applications configuration
  626.10 ++Comment[fr]=Configurer les applications SliTaz par défaut
  626.11 + Comment[ru]=Настройка избранных приложений SliTaz
  626.12 + Exec=tazbox tazapps
  626.13 + Icon=preferences-desktop-default-applications
   627.1 --- a/slitaz-tools/receipt	Mon Oct 16 18:37:14 2023 +0000
   627.2 +++ b/slitaz-tools/receipt	Sun Jan 14 08:12:37 2024 +0000
   627.3 @@ -33,6 +33,9 @@
   627.4  # Rules to configure and make the package.
   627.5  compile_rules()
   627.6  {
   627.7 +	# Patch for sakura 3.x
   627.8 +	patch -p1 < $stuff/sakura-workaround.patch
   627.9 +
  627.10  	mkdir -p $DESTDIR/usr/share
  627.11  	make && make DESTDIR=$DESTDIR install
  627.12  }
   628.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   628.2 +++ b/slitaz-tools/stuff/sakura-workaround.patch	Sun Jan 14 08:12:37 2024 +0000
   628.3 @@ -0,0 +1,25 @@
   628.4 +--- a/tinyutils/terminal
   628.5 ++++ b/tinyutils/terminal
   628.6 +@@ -33,8 +33,8 @@
   628.7 + 
   628.8 + case $TERMINAL in
   628.9 + 	sakura)
  628.10 +-		(grep -q 'Unloading fbdev' /var/log/Xorg.0.log) || TERMINAL="sakura --sync"
  628.11 +-		OPT_TITLE='-t'; OPT_GEOM='--geometry'; OPT_HELP='-?'; OPT_HOLD='-h';;
  628.12 ++		(grep -q 'Unloading fbdev' /var/log/Xorg.0.log) || TERMINAL="sakura"
  628.13 ++		OPT_TITLE='-t'; OPT_GEOM=''; OPT_HELP='-?'; OPT_HOLD='-h';;
  628.14 + 	xterm|*)
  628.15 + 		OPT_TITLE='-T'; OPT_GEOM='-geometry'; OPT_HELP='-help'; OPT_HOLD='-hold';;
  628.16 + esac
  628.17 +@@ -51,6 +51,11 @@
  628.18 + 		*)						shift; PARAMS="$PARAMS $PARAM";;
  628.19 + 	esac
  628.20 + done
  628.21 ++
  628.22 ++# Sakura 3.x don't support --geometry / --sync, set workaround
  628.23 ++if [[ $TERMINAL == "sakura" && $GEOMETRY ]];then
  628.24 ++   GEOMETRY="-c ${GEOMETRY%x*} -r ${GEOMETRY#*x}"
  628.25 ++fi
  628.26 + 
  628.27 + $TERMINAL $PARAMS $OPT_GEOM $GEOMETRY $OPT_TITLE "$TITLE" $COMMAND &
  628.28 + 
   629.1 --- a/smartmontools/receipt	Mon Oct 16 18:37:14 2023 +0000
   629.2 +++ b/smartmontools/receipt	Sun Jan 14 08:12:37 2024 +0000
   629.3 @@ -11,9 +11,6 @@
   629.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
   629.5  WGET_URL="https://github.com/smartmontools/smartmontools/releases/download/RELEASE_${VERSION/./_}/$TARBALL"
   629.6  
   629.7 -DEPENDS="gcc83-lib-base"
   629.8 -BUILD_DEPENDS="gcc83"
   629.9 -
  629.10  # What is the latest version available today?
  629.11  current_version()
  629.12  {
  629.13 @@ -25,8 +22,6 @@
  629.14  compile_rules()
  629.15  {
  629.16  	./configure			\
  629.17 -		CC=gcc-83		\
  629.18 -		CXX=g++-83		\
  629.19  		--prefix=/usr		\
  629.20  		--sysconfdir=/etc	\
  629.21  		--with-nvme-devicescan	\
   630.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   630.2 +++ b/sndfile-tools/receipt	Sun Jan 14 08:12:37 2024 +0000
   630.3 @@ -0,0 +1,44 @@
   630.4 +# SliTaz package receipt.
   630.5 +
   630.6 +PACKAGE="sndfile-tools"
   630.7 +VERSION="1.5"
   630.8 +CATEGORY="multimedia"
   630.9 +SHORT_DESC="Sample Rate Converter for audio binary."
  630.10 +MAINTAINER="pankso@slitaz.org"
  630.11 +LICENSE="GPL2"
  630.12 +WEB_SITE="http://www.mega-nerd.com/SRC/"
  630.13 +
  630.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
  630.15 +WGET_URL="https://github.com/libsndfile/sndfile-tools/archive/refs/tags/$VERSION.tar.gz"
  630.16 +
  630.17 +DEPENDS=""
  630.18 +BUILD_DEPENDS="automake libtool libsndfile-dev libsamplerate-dev \
  630.19 +fftw-dev cairo-dev"
  630.20 +
  630.21 +HOST_ARCH="i486 arm"
  630.22 +
  630.23 +# What is the latest version available today?
  630.24 +current_version()
  630.25 +{
  630.26 +	wget -O - http://www.mega-nerd.com/SRC/download.html 2>/dev/null | \
  630.27 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  630.28 +}
  630.29 +
  630.30 +# Rules to configure and make the package.
  630.31 +compile_rules()
  630.32 +{
  630.33 +	./autogen.sh
  630.34 +	./configure			\
  630.35 +		--prefix=/usr		\
  630.36 +		--mandir=/usr/share/man	\
  630.37 +		$CONFIGURE_ARGS &&
  630.38 +	make -j 1 &&
  630.39 +	make DESTDIR=$DESTDIR install
  630.40 +}
  630.41 +
  630.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
  630.43 +genpkg_rules()
  630.44 +{
  630.45 +	mkdir -p $fs/usr
  630.46 +	cp -a $install/usr/bin	$fs/usr
  630.47 +}
   631.1 --- a/syslinux/receipt	Mon Oct 16 18:37:14 2023 +0000
   631.2 +++ b/syslinux/receipt	Sun Jan 14 08:12:37 2024 +0000
   631.3 @@ -25,6 +25,10 @@
   631.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   631.5  compile_rules()
   631.6  {
   631.7 +	# Patch to be build with glibc 2.28
   631.8 +	# see https://github.com/buildroot/buildroot/commit/c91e7da5cf6ecf4690148751f72a4185da6243a0
   631.9 +	patch -p1 < $stuff/build_with_glibc-2.28.patch
  631.10 +
  631.11  	rm -f $src/core/isolinux.bin
  631.12  	for i in loadhigh iso9660 readconfig keytab-lilo lzop-1.03-gcc6 fixes-4.07 ; do
  631.13  		patch -p 0 < $stuff/extra/$i.u
   632.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   632.2 +++ b/syslinux/stuff/build_with_glibc-2.28.patch	Sun Jan 14 08:12:37 2024 +0000
   632.3 @@ -0,0 +1,35 @@
   632.4 +From 1a74985b2a404639b08882c57f3147229605dfd5 Mon Sep 17 00:00:00 2001
   632.5 +From: Mike Frysinger <vapier@gentoo.org>
   632.6 +Date: Tue, 19 Apr 2016 06:50:31 -0400
   632.7 +Subject: [PATCH] extlinux: pull in sys/sysmacros.h for major/minor/makedev
   632.8 +
   632.9 +These functions are defined in sys/sysmacros.h, so add the include to
  632.10 +main.c.  This is already handled correctly in mountinfo.c.  Otherwise
  632.11 +we get build failures like:
  632.12 +
  632.13 +main.o: In function 'find_device_sysfs':
  632.14 +extlinux/main.c:1131: undefined reference to 'minor'
  632.15 +
  632.16 +Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  632.17 +Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  632.18 +Signed-off-by: Alexander Sverdlin <alexader.sverdlin@gmail.com>
  632.19 +---
  632.20 + extlinux/main.c | 1 +
  632.21 + 1 file changed, 1 insertion(+)
  632.22 +
  632.23 +diff --git a/extlinux/main.c b/extlinux/main.c
  632.24 +index a7ebd49..ebff7ea 100644
  632.25 +--- a/extlinux/main.c
  632.26 ++++ b/extlinux/main.c
  632.27 +@@ -38,6 +38,7 @@
  632.28 + #include <sysexits.h>
  632.29 + #include <sys/ioctl.h>
  632.30 + #include <sys/stat.h>
  632.31 ++#include <sys/sysmacros.h>
  632.32 + #include <sys/types.h>
  632.33 + #include <sys/mount.h>
  632.34 + #include <sys/vfs.h>
  632.35 +-- 
  632.36 +2.10.5.GIT
  632.37 +
  632.38 +
   633.1 --- a/talloc-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   633.2 +++ b/talloc-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   633.3 @@ -1,7 +1,7 @@
   633.4  # SliTaz package receipt.
   633.5  
   633.6  PACKAGE="talloc-dev"
   633.7 -VERSION="2.0.7"
   633.8 +VERSION="2.3.3"
   633.9  CATEGORY="development"
  633.10  SHORT_DESC="Hierarchical pool based memory allocator with destructors (devel files)."
  633.11  MAINTAINER="slaxemulator@gmail.com"
   634.1 --- a/talloc-python/receipt	Mon Oct 16 18:37:14 2023 +0000
   634.2 +++ b/talloc-python/receipt	Sun Jan 14 08:12:37 2024 +0000
   634.3 @@ -1,7 +1,7 @@
   634.4  # SliTaz package receipt.
   634.5  
   634.6  PACKAGE="talloc-python"
   634.7 -VERSION="2.0.7"
   634.8 +VERSION="2.3.3"
   634.9  CATEGORY="development"
  634.10  SHORT_DESC="Python bindings for talloc"
  634.11  MAINTAINER="slaxemulator@gmail.com"
  634.12 @@ -9,7 +9,7 @@
  634.13  WEB_SITE="https://talloc.samba.org/talloc/doc/html/index.html"
  634.14  WANTED="talloc"
  634.15  
  634.16 -DEPENDS="talloc python"
  634.17 +DEPENDS="talloc python3"
  634.18  
  634.19  # Rules to gen a SliTaz package suitable for Tazpkg.
  634.20  genpkg_rules()
   635.1 --- a/talloc/receipt	Mon Oct 16 18:37:14 2023 +0000
   635.2 +++ b/talloc/receipt	Sun Jan 14 08:12:37 2024 +0000
   635.3 @@ -1,7 +1,7 @@
   635.4  # SliTaz package receipt.
   635.5  
   635.6  PACKAGE="talloc"
   635.7 -VERSION="2.0.7"
   635.8 +VERSION="2.3.3"
   635.9  CATEGORY="system-tools"
  635.10  SHORT_DESC="Hierarchical pool based memory allocator with destructors."
  635.11  MAINTAINER="slaxemulator@gmail.com"
  635.12 @@ -12,7 +12,7 @@
  635.13  CROSS="bug: must use --cross-compile and --cross-execute="
  635.14  
  635.15  DEPENDS="glibc-base"
  635.16 -BUILD_DEPENDS="python-dev"
  635.17 +BUILD_DEPENDS="python3-dev"
  635.18  
  635.19  # What is the latest version available today?
  635.20  current_version()
   636.1 --- a/tazdev/receipt	Mon Oct 16 18:37:14 2023 +0000
   636.2 +++ b/tazdev/receipt	Sun Jan 14 08:12:37 2024 +0000
   636.3 @@ -21,6 +21,13 @@
   636.4  	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
   636.5  }
   636.6  
   636.7 +# Rules to configure and make the package.
   636.8 +compile_rules()
   636.9 +{
  636.10 +	cd $src
  636.11 +	patch -p1 < $stuff/current_version.patch
  636.12 +}
  636.13 +
  636.14  # Rules to gen a SliTaz package suitable for Tazpkg.
  636.15  genpkg_rules()
  636.16  {
   637.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   637.2 +++ b/tazdev/stuff/current_version.patch	Sun Jan 14 08:12:37 2024 +0000
   637.3 @@ -0,0 +1,46 @@
   637.4 +--- a/tazdev/tazdev
   637.5 ++++ b/tazdev/tazdev
   637.6 +@@ -60,7 +62,7 @@
   637.7 + }
   637.8 + 
   637.9 + get_version() {
  637.10 +-	# Stable, undigest or custom.
  637.11 ++	# Stable, current, undigest or custom.
  637.12 + 	if [ "$2" ] && [ ! $(echo $2 | grep "\--*") ]; then
  637.13 + 		version=$2
  637.14 + 		slitaz=$SLITAZ_HOME/$2
  637.15 +@@ -91,9 +93,18 @@
  637.16 + 	elif [ "$2" = "undigest" ] || [ "$3" = "undigest" ]; then
  637.17 + 		remote=$MIRROR_PKGS/undigest/
  637.18 + 		local=$SLITAZ_HOME/undigest/packages/
  637.19 ++	elif [ "$2" = "current" ] || [ "$3" = "current" ]; then
  637.20 ++		remote=$MIRROR_PKGS/current/
  637.21 ++		local=$SLITAZ_HOME/current/packages/
  637.22 + 	elif [ "$2" = "rpi" ] || [ "$3" = "rpi" ]; then
  637.23 + 		remote=$MIRROR_PKGS/cross/rpi/
  637.24 + 		local=$SLITAZ_HOME/cooking/arm/packages/
  637.25 ++	elif [ "$2" = "next" ] || [ "$3" = "next" ]; then
  637.26 ++		remote=$MIRROR_PKGS/next/
  637.27 ++		local=$SLITAZ_HOME/next/packages/
  637.28 ++	elif [ "$2" = "next64" ] || [ "$3" = "next64" ]; then
  637.29 ++		remote=$MIRROR_PKGS/next64/
  637.30 ++		local=$SLITAZ_HOME/next64/packages/
  637.31 + 	else
  637.32 + 		remote=$MIRROR_PKGS/cooking/
  637.33 + 		local=$SLITAZ_HOME/cooking/packages/
  637.34 +@@ -164,6 +175,7 @@
  637.35 + 	# We my gen cooking chroot from a stable version or invers
  637.36 + 	case "$version" in
  637.37 + 		cooking|undigest) url="http://$MIRROR/packages/cooking/" ;;
  637.38 ++		current) url="http://$MIRROR/packages/current/" ;;
  637.39 + 		stable*|4.0*|backports) url="http://$MIRROR/packages/stable/" ;;
  637.40 + 	esac
  637.41 + 	# --mirror=
  637.42 +@@ -182,6 +194,7 @@
  637.43 + 		tazpkg -gi $pkg --root=$rootfs 2>/dev/null 1>/dev/null
  637.44 + 		status
  637.45 + 	done
  637.46 ++	mkdir $rootfs/etc
  637.47 + 	echo -n "Creating resolv.conf..."
  637.48 + 	cat /etc/resolv.conf > $rootfs/etc/resolv.conf
  637.49 + 	status
   638.1 --- a/tazinst/receipt	Mon Oct 16 18:37:14 2023 +0000
   638.2 +++ b/tazinst/receipt	Sun Jan 14 08:12:37 2024 +0000
   638.3 @@ -26,6 +26,9 @@
   638.4  # Rules to configure and make the package.
   638.5  compile_rules()
   638.6  {
   638.7 +        # Thanks Rantanplan, fix mhwaveedit tempdir path
   638.8 +        patch -p1 < $stuff/fix-mhwaveedit-tempdir-path.patch
   638.9 +
  638.10  	make &&
  638.11  	make DESTDIR=$DESTDIR VERSION=$VERSION install
  638.12  }
   639.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   639.2 +++ b/tazinst/stuff/fix-mhwaveedit-tempdir-path.patch	Sun Jan 14 08:12:37 2024 +0000
   639.3 @@ -0,0 +1,11 @@
   639.4 +--- a/tazinst
   639.5 ++++ b/tazinst
   639.6 +@@ -2077,6 +2077,8 @@
   639.7 + 	do
   639.8 + 		[ -e "$i" ] && sed -i s/"user_name"/"$USER_LOGIN"/g \$i
   639.9 + 	done
  639.10 ++	# Workaround for mhwaveedit config
  639.11 ++       sed -i "s|user_name|$USER_LOGIN|" /home/$USER_LOGIN/.mhwaveedit/config
  639.12 + fi
  639.13 + # Slim default user.
  639.14 + if [ -f /etc/slim.conf ]; then
   640.1 --- a/tazlito/receipt	Mon Oct 16 18:37:14 2023 +0000
   640.2 +++ b/tazlito/receipt	Sun Jan 14 08:12:37 2024 +0000
   640.3 @@ -27,6 +27,9 @@
   640.4  # Rules to configure and make the package.
   640.5  compile_rules()
   640.6  {
   640.7 +	# Patch for support pae kernel
   640.8 +	patch -p1 < $stuff/support-kernel-pae.patch
   640.9 +
  640.10  	sed -i "s/^VERSION=.*/VERSION=$VERSION/" tazlito
  640.11  	make DESTDIR=$DESTDIR VERSION=$VERSION install
  640.12  }
   641.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   641.2 +++ b/tazlito/stuff/support-kernel-pae.patch	Sun Jan 14 08:12:37 2024 +0000
   641.3 @@ -0,0 +1,13 @@
   641.4 +--- a/tazlito
   641.5 ++++ b/tazlito
   641.6 +@@ -654,6 +654,10 @@
   641.7 + 		rm -f ${1:-.}/bzImage64 2> /dev/null
   641.8 + 		ln    ${1:-.}/vmlinuz*slitaz64 ${1:-.}/bzImage64
   641.9 + 	fi
  641.10 ++        if [   -e ${1:-.}/vmlinuz*slitaz*pae ]; then
  641.11 ++                rm -f ${1:-.}/bzImage 2> /dev/null
  641.12 ++                ln    ${1:-.}/vmlinuz*slitaz*pae ${1:-.}/bzImage
  641.13 ++        fi
  641.14 + }
  641.15 + 
  641.16 + 
   642.1 --- a/tazpanel/receipt	Mon Oct 16 18:37:14 2023 +0000
   642.2 +++ b/tazpanel/receipt	Sun Jan 14 08:12:37 2024 +0000
   642.3 @@ -13,7 +13,7 @@
   642.4  CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
   642.5  
   642.6  SUGGESTED="tazinst-gui tazinst"
   642.7 -DEPENDS="busybox gettext-base libjpeg sundown"
   642.8 +DEPENDS="busybox gettext-base libjpeg sundown tazweb-legacy"
   642.9  BUILD_DEPENDS="gettext jsmin tidy-html5"
  642.10  SIBLINGS="tazpanel-extra"
  642.11  HOST_ARCH="i486 arm"
  642.12 @@ -28,6 +28,9 @@
  642.13  # Rules to configure and make the package.
  642.14  compile_rules()
  642.15  {
  642.16 +	# Patch to use tazweb-legacy instead tazweb with webkitgtk
  642.17 +	patch -p1 < $stuff/tazweb_libwebkit.patch
  642.18 +
  642.19  	make -j 1 &&
  642.20  	make DESTDIR=$DESTDIR VERSION=$VERSION install
  642.21  }
   643.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   643.2 +++ b/tazpanel/stuff/tazweb_libwebkit.patch	Sun Jan 14 08:12:37 2024 +0000
   643.3 @@ -0,0 +1,11 @@
   643.4 +--- a/tazpanel
   643.5 ++++ b/tazpanel
   643.6 +@@ -88,7 +88,7 @@
   643.7 + 		echo "$url"
   643.8 + 
   643.9 + 		case "$BROWSER" in
  643.10 +-			tazweb) tazweb --notoolbar "$url" & ;;
  643.11 ++			tazweb) tazweb-legacy --notoolbar "$url" & ;;
  643.12 + 			midori) midori "--app=$url" & ;;
  643.13 + 			*) $BROWSER "$url" & ;;
  643.14 + 		esac ;;
   644.1 --- a/tazpkg/receipt	Mon Oct 16 18:37:14 2023 +0000
   644.2 +++ b/tazpkg/receipt	Sun Jan 14 08:12:37 2024 +0000
   644.3 @@ -14,7 +14,7 @@
   644.4  
   644.5  DEPENDS="busybox gettext-base"
   644.6  SUGGESTED="tazpanel"
   644.7 -BUILD_DEPENDS="gettext tidy-html5 libnotify-dev"
   644.8 +BUILD_DEPENDS="gettext tidy-html5 libnotify-dev glib-dev"
   644.9  
  644.10  # Gettext is part of cross-chroot
  644.11  case "$ARCH" in
  644.12 @@ -37,6 +37,12 @@
  644.13  # Rules to configure and make the package.
  644.14  compile_rules()
  644.15  {
  644.16 +	# Patch to use tazweb-legacy for tazpanel
  644.17 +	patch -p1 < $stuff/tazweb-libwebkit.patch
  644.18 +
  644.19 +	# Thanks Rantanplan, fix miss translate in tazpkg.fr.html
  644.20 +	patch -p1 < $stuff/tazpkg-doc-fr.patch
  644.21 +
  644.22  	sed -i 's|\. receipt|. ./receipt|' */*
  644.23  	make && make DESTDIR=$DESTDIR VERSION=$VERSION install
  644.24  }
  644.25 @@ -58,6 +64,13 @@
  644.26  
  644.27  post_install()
  644.28  {
  644.29 +	# Ensure symlink for locale doc always exist
  644.30 +	if [ -f $1/etc/locale.conf ]; then
  644.31 +		locale=$(cat /etc/locale.conf | awk -F'LANG=' '{print $2}' \
  644.32 +		| sed 's/.UTF-8//')
  644.33 +		chroot "$1/" /sbin/tazlocale $locale 
  644.34 +	fi
  644.35 +
  644.36  	# Apply a fix to config file /etc/slitaz/slitaz.conf
  644.37  	[ -f $1/etc/slitaz/slitaz.conf ] && \
  644.38  		sed -i 's/LOCAL_STATE/LOCALSTATE/' $1/etc/slitaz/slitaz.conf
   645.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   645.2 +++ b/tazpkg/stuff/tazpkg-doc-fr.patch	Sun Jan 14 08:12:37 2024 +0000
   645.3 @@ -0,0 +1,24 @@
   645.4 +--- a/doc/tazpkg.fr.html
   645.5 ++++ b/doc/tazpkg.fr.html
   645.6 +@@ -283,8 +283,7 @@
   645.7 +             denières actions de TazPkg</li>
   645.8 +           <li><a href="#clean-cache">clean-cache</a>&nbsp;: efface tous
   645.9 +             les paquets téléchargés dans le répertoire cache</li>
  645.10 +-          <li><a href="#list-cache">list-cache</a>: list all packages downloaded
  645.11 +-            in cache directory</li>
  645.12 ++          <li><a href="#list-cache">list-cache</a>: liste les paquets dans le répertoire cache</li>
  645.13 +           <li><a href="#shell">shell</a>&nbsp;: lancer le shell
  645.14 +             interactif de TazPkg</li>
  645.15 +         </ul>
  645.16 +@@ -447,8 +446,9 @@
  645.17 +       </article>
  645.18 + 
  645.19 +       <article id="list-cache"><h3>list-cache</h3>
  645.20 +-        <p>List *.tazpkg packages downloaded to the cache. Displays a list of
  645.21 +-          file names and their sizes, as well as the total amount and size.</p>
  645.22 ++        <p>Liste les paquets *.tazpkg téléchargés dans le cache. Affiche une liste
  645.23 ++          des noms de fichiers et leur taille, ainsi que le nombre de fichiers et la
  645.24 ++          taille totale de ceux-ci.</p>
  645.25 +         <pre>
  645.26 + # tazpkg list-cache
  645.27 + </pre>
   646.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   646.2 +++ b/tazpkg/stuff/tazweb-libwebkit.patch	Sun Jan 14 08:12:37 2024 +0000
   646.3 @@ -0,0 +1,12 @@
   646.4 +--- a/applications/tazpanel-pkgs.desktop
   646.5 ++++ b/applications/tazpanel-pkgs.desktop
   646.6 +@@ -5,7 +5,7 @@
   646.7 + Name[pt]=Gerenciador de Pacotes
   646.8 + Name[pt_BR]=Gerenciador de Pacotes
   646.9 + Name[ru]=Менеджер пакетов
  646.10 +-TryExec=tazweb
  646.11 +-Exec=sh -c 'tazweb root:$$@127.0.0.1:82/user/pkgs.cgi'
  646.12 ++TryExec=tazweb-legacy
  646.13 ++Exec=sh -c 'tazweb-legacy root:$$@127.0.0.1:82/user/pkgs.cgi'
  646.14 + Icon=system-software-installer
  646.15 + Categories=Settings;PackageManager;
   647.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   647.2 +++ b/tazweb-legacy/receipt	Sun Jan 14 08:12:37 2024 +0000
   647.3 @@ -0,0 +1,52 @@
   647.4 +# SliTaz package receipt.
   647.5 +
   647.6 +PACKAGE="tazweb-legacy"
   647.7 +VERSION="209"
   647.8 +CATEGORY="network"
   647.9 +TAGS="web-browser"
  647.10 +SHORT_DESC="SliTaz simple, fast and small Web Browser Legacy."
  647.11 +MAINTAINER="pankso@slitaz.org"
  647.12 +LICENSE="BSD"
  647.13 +WEB_SITE="http://www.slitaz.org/"
  647.14 +
  647.15 +TARBALL="tazweb-$VERSION.tar.gz"
  647.16 +WGET_URL="http://hg.slitaz.org/tazweb/archive/$VERSION.tar.gz"
  647.17 +
  647.18 +DEPENDS="libwebkit libsoup"
  647.19 +BUILD_DEPENDS="glib-dev gtk+-dev libsoup248-dev libwebkit-dev \
  647.20 +libidn-dev libxslt-dev"
  647.21 +HOST_ARCH="i486 arm"
  647.22 +
  647.23 +current_version()
  647.24 +{
  647.25 +	wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
  647.26 +	sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
  647.27 +	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
  647.28 +}
  647.29 +
  647.30 +# Rules to configure and make the package.
  647.31 +compile_rules()
  647.32 +{
  647.33 +	export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
  647.34 +	patch -p1 < $stuff/build_libwebkit.patch
  647.35 +	make -j 1 &&
  647.36 +	make DESTDIR=$install install
  647.37 +}
  647.38 +
  647.39 +# Cross compilation check
  647.40 +testsuite() {
  647.41 +	readelf -h $install/usr/bin/tazweb
  647.42 +}
  647.43 +
  647.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
  647.45 +genpkg_rules()
  647.46 +{
  647.47 +	mkdir -p $fs/usr/bin
  647.48 +	cp -a $install/usr/bin/tazweb $fs/usr/bin/tazweb-legacy
  647.49 +}
  647.50 +
  647.51 +#post_install()
  647.52 +#{
  647.53 +#	sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
  647.54 +#		$1/usr/share/doc/tazweb/style.css
  647.55 +#}
   648.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   648.2 +++ b/tazweb-legacy/stuff/build_libwebkit.patch	Sun Jan 14 08:12:37 2024 +0000
   648.3 @@ -0,0 +1,22 @@
   648.4 +--- a/Makefile
   648.5 ++++ b/Makefile
   648.6 +@@ -12,13 +12,17 @@
   648.7 + 
   648.8 + all:
   648.9 + 	$(CC) src/tazweb.c -o $(PACKAGE) $(CFLAGS) \
  648.10 +-		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
  648.11 ++		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0w` \
  648.12 ++	-I/usr/lib/libsoup248/include/libsoup-2.4 \
  648.13 ++	-L/usr/lib/libsoup248 -lsoup-2.4
  648.14 + 	@du -sh $(PACKAGE)
  648.15 + 
  648.16 + # Next generation
  648.17 + ng:
  648.18 + 	$(CC) src/tazweb-ng.c -o $(PACKAGE)-ng $(CFLAGS) \
  648.19 +-		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
  648.20 ++		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0w` \
  648.21 ++	-I/usr/lib/libsoup248/include/libsoup-2.4 \        
  648.22 ++	-L/usr/lib/libsoup248 -lsoup-2.4
  648.23 + 	@du -sh $(PACKAGE)-ng
  648.24 + 	
  648.25 + qt:
   649.1 --- a/tazweb/receipt	Mon Oct 16 18:37:14 2023 +0000
   649.2 +++ b/tazweb/receipt	Sun Jan 14 08:12:37 2024 +0000
   649.3 @@ -12,8 +12,9 @@
   649.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
   649.5  WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
   649.6  
   649.7 -DEPENDS="webkitgtk"
   649.8 -BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev webkitgtk-dev libxslt-dev"
   649.9 +DEPENDS="webkitgtk libsoup"
  649.10 +BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev webkitgtk-dev \
  649.11 +libidn-dev libxslt-dev"
  649.12  HOST_ARCH="i486 arm"
  649.13  
  649.14  current_version()
  649.15 @@ -26,6 +27,7 @@
  649.16  # Rules to configure and make the package.
  649.17  compile_rules()
  649.18  {
  649.19 +	patch -p1 < $stuff/build_libwebkit.patch
  649.20  	make -j 1 &&
  649.21  	make DESTDIR=$install install
  649.22  }
   650.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   650.2 +++ b/tazweb/stuff/build_libwebkit.patch	Sun Jan 14 08:12:37 2024 +0000
   650.3 @@ -0,0 +1,23 @@
   650.4 +--- Makefile.orig
   650.5 ++++ Makefile
   650.6 +@@ -12,13 +12,18 @@
   650.7 + 
   650.8 + all:
   650.9 + 	$(CC) src/tazweb.c -o $(PACKAGE) $(CFLAGS) \
  650.10 +-		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
  650.11 ++		`pkg-config --cflags --libs gtk+-2.0` \
  650.12 ++	-I/usr/include/webkitgtk-1.0 \
  650.13 ++	-L/usr/lib -lwebkitgtk-1.0
  650.14 + 	@du -sh $(PACKAGE)
  650.15 + 
  650.16 + # Next generation
  650.17 + ng:
  650.18 + 	$(CC) src/tazweb-ng.c -o $(PACKAGE)-ng $(CFLAGS) \
  650.19 +-		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
  650.20 ++		`pkg-config --cflags --libs gtk+-2.0` \
  650.21 ++	-I/usr/include/webkitgtk-1.0 \
  650.22 ++	-L/usr/lib -lwebkitgtk-1.0
  650.23 ++
  650.24 + 	@du -sh $(PACKAGE)-ng
  650.25 + 	
  650.26 + qt:
   651.1 --- a/tcpdump/receipt	Mon Oct 16 18:37:14 2023 +0000
   651.2 +++ b/tcpdump/receipt	Sun Jan 14 08:12:37 2024 +0000
   651.3 @@ -1,7 +1,7 @@
   651.4  # SliTaz package receipt.
   651.5  
   651.6  PACKAGE="tcpdump"
   651.7 -VERSION="4.9.3"
   651.8 +VERSION="4.99.1"
   651.9  CATEGORY="security"
  651.10  TAGS="network security"
  651.11  SHORT_DESC="A network traffic monitoring tool."
  651.12 @@ -37,6 +37,7 @@
  651.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  651.14  genpkg_rules()
  651.15  {
  651.16 -	mkdir -p $fs/usr
  651.17 -	cp -a $install/usr/sbin $fs/usr
  651.18 +	# Move tcpdump to /usr/sbin (it's system tools)
  651.19 +	mkdir -p $fs/usr/sbin
  651.20 +	cp -a $install/usr/bin $fs/usr
  651.21  }
   652.1 --- a/texinfo/receipt	Mon Oct 16 18:37:14 2023 +0000
   652.2 +++ b/texinfo/receipt	Sun Jan 14 08:12:37 2024 +0000
   652.3 @@ -1,7 +1,7 @@
   652.4  # SliTaz package receipt.
   652.5  
   652.6  PACKAGE="texinfo"
   652.7 -VERSION="4.13a"
   652.8 +VERSION="6.8"
   652.9  CATEGORY="development"
  652.10  SHORT_DESC="GNU documentation tools."
  652.11  MAINTAINER="rcx@zoominternet.net"
  652.12 @@ -11,8 +11,8 @@
  652.13  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
  652.14  TAGS="documentation"
  652.15  
  652.16 -DEPENDS="ncurses"
  652.17 -BUILD_DEPENDS="ncurses-dev"
  652.18 +DEPENDS="ncurses perl"
  652.19 +BUILD_DEPENDS="ncurses-dev perl-dev"
  652.20  
  652.21  # What is the latest version available today?
  652.22  current_version()
   653.1 --- a/tzdata/receipt	Mon Oct 16 18:37:14 2023 +0000
   653.2 +++ b/tzdata/receipt	Sun Jan 14 08:12:37 2024 +0000
   653.3 @@ -1,7 +1,7 @@
   653.4  # SliTaz package receipt.
   653.5  
   653.6  PACKAGE="tzdata"
   653.7 -VERSION="2022a"
   653.8 +VERSION="2023c"
   653.9  CATEGORY="base-system"
  653.10  SHORT_DESC="Time Zone Database."
  653.11  MAINTAINER="al.bobylev@gmail.com"
   654.1 --- a/udev/receipt	Mon Oct 16 18:37:14 2023 +0000
   654.2 +++ b/udev/receipt	Sun Jan 14 08:12:37 2024 +0000
   654.3 @@ -15,7 +15,7 @@
   654.4  DEPENDS="util-linux-blkid pciids usbids acl kmod"
   654.5  BUILD_DEPENDS="util-linux-blkid-dev gperf pkg-config pciids acl-dev \
   654.6  libgio-dev usbutils-dev libusb-dev glib-dev pciids usbids kmod-dev \
   654.7 -pcre-dev liblzma-dev util-linux-uuid-dev"
   654.8 +pcre-dev liblzma-dev util-linux-uuid-dev python3-dev"
   654.9  
  654.10  # Need avoid loop, rebuild after with libgudev-dev
  654.11  
  654.12 @@ -49,6 +49,10 @@
  654.13  	# see https://github.com/openwrt/packages/issues/2293
  654.14  	patch -p1 < $stuff/udev-gcc6.patch
  654.15  
  654.16 +	# Patch for glibc >= 2.28
  654.17 +	# see https://svn.exactcode.de/t2/trunk/package/filesystem/udev/hotfix-glibc2.18.patch
  654.18 +	patch -p1 < $stuff/udev-glibc2.28.patch
  654.19 +
  654.20  	LDFLAGS='-lrt' ./configure \
  654.21  		--exec-prefix="" \
  654.22  		--with-rootprefix="" \
   655.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   655.2 +++ b/udev/stuff/udev-glibc2.28.patch	Sun Jan 14 08:12:37 2024 +0000
   655.3 @@ -0,0 +1,54 @@
   655.4 +# --- T2-COPYRIGHT-NOTE-BEGIN ---
   655.5 +# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
   655.6 +# 
   655.7 +# T2 SDE: package/.../udev/glibc-2.18.patch
   655.8 +# Copyright (C) 2011 - 2020 The T2 SDE Project
   655.9 +# 
  655.10 +# More information can be found in the files COPYING and README.
  655.11 +# 
  655.12 +# This patch file is dual-licensed. It is available under the license the
  655.13 +# patched project is licensed under, as long as it is an OpenSource license
  655.14 +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  655.15 +# of the GNU General Public License as published by the Free Software
  655.16 +# Foundation; either version 2 of the License, or (at your option) any later
  655.17 +# version.
  655.18 +# --- T2-COPYRIGHT-NOTE-END ---
  655.19 +
  655.20 +Fix build w/ dietlibc, probably related to implicit glibc include hierarchy:
  655.21 +
  655.22 +extras/ata_id/ata_id.o: In function `disk_identify_fixup_uint16':
  655.23 +ata_id.c:(.text+0xd1): undefined reference to `le16toh'
  655.24 +
  655.25 +  - Rene Rebe <rene@exactcode.de>
  655.26 +
  655.27 +--- udev-147/src/ata_id/ata_id.c.vanilla	2011-01-05 19:15:42.000000000 +0100
  655.28 ++++ udev-147/src/ata_id/ata_id.c	2011-01-05 19:15:53.000000000 +0100
  655.29 +@@ -39,6 +39,7 @@
  655.30 + #include <linux/hdreg.h>
  655.31 + #include <linux/fs.h>
  655.32 + #include <arpa/inet.h>
  655.33 ++#include <endian.h>
  655.34 + 
  655.35 + #include "libudev.h"
  655.36 + #include "libudev-private.h"
  655.37 +--- udev-167/src/libudev-device-private.c.vanilla	2018-08-08 17:46:08.247860535 +0000
  655.38 ++++ udev-167/src/libudev-device-private.c	2018-08-08 17:46:34.963860133 +0000
  655.39 +@@ -18,6 +18,7 @@
  655.40 + #include <fcntl.h>
  655.41 + #include <string.h>
  655.42 + #include <sys/stat.h>
  655.43 ++#include <sys/sysmacros.h>
  655.44 + 
  655.45 + #include "libudev.h"
  655.46 + #include "libudev-private.h"
  655.47 +--- udev-167/src/libudev-private.h.vanilla	2018-08-08 17:48:01.711858828 +0000
  655.48 ++++ udev-167/src/libudev-private.h	2018-08-08 17:48:06.659858754 +0000
  655.49 +@@ -16,6 +16,8 @@
  655.50 + #include <signal.h>
  655.51 + #include <stdint.h>
  655.52 + #include <stdbool.h>
  655.53 ++#include <sys/sysmacros.h>
  655.54 ++
  655.55 + #include "libudev.h"
  655.56 + 
  655.57 + #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
   656.1 --- a/usbip-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   656.2 +++ b/usbip-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   656.3 @@ -1,7 +1,7 @@
   656.4  # SliTaz package receipt.
   656.5  
   656.6  PACKAGE="usbip-dev"
   656.7 -VERSION="4.19.294"
   656.8 +VERSION="4.19.298"
   656.9  CATEGORY="development"
  656.10  SHORT_DESC="general USB device sharing system over IP network, development files."
  656.11  MAINTAINER="pascal.bellard@slitaz.org"
  656.12 @@ -17,5 +17,4 @@
  656.13  {
  656.14  	mkdir -p $fs/usr/lib
  656.15  	cp -a $install/usbip/usr/include $fs/usr
  656.16 -	cp -a $install/usbip/usr/lib/*a $fs/usr/lib
  656.17  }
   657.1 --- a/usbip/receipt	Mon Oct 16 18:37:14 2023 +0000
   657.2 +++ b/usbip/receipt	Sun Jan 14 08:12:37 2024 +0000
   657.3 @@ -1,7 +1,7 @@
   657.4  # SliTaz package receipt.
   657.5  
   657.6  PACKAGE="usbip"
   657.7 -VERSION="4.19.294"
   657.8 +VERSION="4.19.298"
   657.9  CATEGORY="system-tools"
  657.10  SHORT_DESC="general USB device sharing system over IP network."
  657.11  MAINTAINER="pascal.bellard@slitaz.org"
   658.1 --- a/vala/receipt	Mon Oct 16 18:37:14 2023 +0000
   658.2 +++ b/vala/receipt	Sun Jan 14 08:12:37 2024 +0000
   658.3 @@ -1,7 +1,7 @@
   658.4  # SliTaz package receipt.
   658.5  
   658.6  PACKAGE="vala"
   658.7 -VERSION="0.36.4"
   658.8 +VERSION="0.54.6"
   658.9  CATEGORY="development"
  658.10  SHORT_DESC="Compiler for the GObject type system"
  658.11  MAINTAINER="mimas@slitaz.org"
  658.12 @@ -13,7 +13,8 @@
  658.13  HOST_ARCH="i486 arm"
  658.14  
  658.15  DEPENDS="glib"
  658.16 -BUILD_DEPENDS="flex bison glib-dev pkg-config"
  658.17 +BUILD_DEPENDS="automake autoconf libtool flex bison \
  658.18 +glib-dev pkg-config"
  658.19  
  658.20  current_version()
  658.21  {
  658.22 @@ -24,7 +25,23 @@
  658.23  # Rules to configure and make the package.
  658.24  compile_rules()
  658.25  {
  658.26 -	./configure $CONFIGURE_ARGS &&
  658.27 +	# Patch to avoid graphviz dep
  658.28 +	# See vala.SlackBuild
  658.29 +	# thanks openembedded team and Pat :)
  658.30 +	patch -p1 < $stuff/disable-graphviz.patch
  658.31 +	patch -p1 < $stuff//no.gvc-compat.c.diff
  658.32 +
  658.33 +	autoreconf -vif 
  658.34 +
  658.35 +	# Hack to build vala himself
  658.36 +	# Thanks Pat again ;)
  658.37 +	PATH=$(pwd)/compiler:$PATH
  658.38 +
  658.39 +	./configure \
  658.40 +	    --prefix=/usr \
  658.41 +	    --libdir=/usr/lib \
  658.42 +	    --disable-graphviz \
  658.43 +	$CONFIGURE_ARGS &&
  658.44  	make && make install
  658.45  }
  658.46  
  658.47 @@ -34,8 +51,12 @@
  658.48  	mkdir -p $fs/usr/lib $fs/usr/share
  658.49  	cp -a $install/usr/bin $fs/usr
  658.50  	cp -a $install/usr/lib/*.so* $fs/usr/lib
  658.51 +	cp -a $install/usr/lib/vala* $fs/usr/lib
  658.52  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  658.53  	cp -a $install/usr/include $fs/usr
  658.54  	cp -a $install/usr/share/vala* $fs/usr/share
  658.55  	cp -a $install/usr/share/aclocal $fs/usr/share
  658.56 +
  658.57 +        # Ensure remove .la files
  658.58 +        find $fs -name "*.la" -delete
  658.59  }
   659.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   659.2 +++ b/vala/stuff/disable-graphviz.patch	Sun Jan 14 08:12:37 2024 +0000
   659.3 @@ -0,0 +1,154 @@
   659.4 +--- ./configure.ac.orig	2019-03-10 13:06:41.459005634 -0500
   659.5 ++++ ./configure.ac	2019-03-10 13:11:12.155008532 -0500
   659.6 +@@ -158,8 +158,11 @@
   659.7 + 
   659.8 + AC_ARG_ENABLE(valadoc, AS_HELP_STRING([--disable-valadoc], [Disable valadoc]), enable_valadoc=$enableval, enable_valadoc=yes)
   659.9 + if test x$enable_valadoc = xyes; then
  659.10 ++AC_ARG_ENABLE(graphviz, AS_HELP_STRING([--disable-graphviz], [Disable graphviz usage for valadoc]), enable_graphviz=$enableval, enable_graphviz=yes)
  659.11 ++if test x$enable_graphviz = xyes; then
  659.12 + 	PKG_CHECK_MODULES(LIBGVC, libgvc >= $LIBGVC_REQUIRED)
  659.13 + 	AC_MSG_CHECKING([for CGRAPH])
  659.14 ++	VALAFLAGS="$VALAFLAGS -D HAVE_GRAPHVIZ"
  659.15 + 	cgraph_tmp_LIBADD="$LIBADD"
  659.16 + 	cgraph_tmp_CFLAGS="$CFLAGS"
  659.17 + 	LIBADD="$LIBADD $LIBGVC_LIBS"
  659.18 +@@ -186,6 +189,8 @@
  659.19 + 	LIBADD="$cgraph_tmp_LIBADD"
  659.20 + 	CFLAGS="$cgraph_tmp_CFLAGS"
  659.21 + fi
  659.22 ++AM_CONDITIONAL(ENABLE_GRAPHVIZ, test x$enable_graphviz = xyes)
  659.23 ++fi
  659.24 + AM_CONDITIONAL(HAVE_CGRAPH, test "$have_cgraph" = "yes")
  659.25 + AM_CONDITIONAL(ENABLE_VALADOC, test x$enable_valadoc = xyes)
  659.26 + 
  659.27 +--- ./libvaladoc/html/basicdoclet.vala.orig	2019-03-07 06:45:45.000000000 -0600
  659.28 ++++ ./libvaladoc/html/basicdoclet.vala	2019-03-10 13:06:41.513005635 -0500
  659.29 +@@ -46,7 +46,11 @@
  659.30 + 	protected HtmlRenderer _renderer;
  659.31 + 	protected Html.MarkupWriter writer;
  659.32 + 	protected Html.CssClassResolver cssresolver;
  659.33 ++#if HAVE_GRAPHVIZ
  659.34 + 	protected Charts.Factory image_factory;
  659.35 ++#else
  659.36 ++	protected void* image_factory;
  659.37 ++#endif
  659.38 + 	protected ErrorReporter reporter;
  659.39 + 	protected string package_list_link = "../index.html";
  659.40 + 
  659.41 +@@ -120,7 +124,9 @@
  659.42 + 		this.linker = new LinkHelper ();
  659.43 + 
  659.44 + 		_renderer = new HtmlRenderer (settings, this.linker, this.cssresolver);
  659.45 ++#if HAVE_GRAPHVIZ
  659.46 + 		this.image_factory = new SimpleChartFactory (settings, linker);
  659.47 ++#endif
  659.48 + 	}
  659.49 + 
  659.50 + 
  659.51 +@@ -1025,6 +1031,7 @@
  659.52 + 	}
  659.53 + 
  659.54 + 	protected void write_image_block (Api.Node element) {
  659.55 ++#if HAVE_GRAPHVIZ
  659.56 + 		if (element is Class || element is Interface || element is Struct) {
  659.57 + 			unowned string format = (settings.use_svg_images ? "svg" : "png");
  659.58 + 			var chart = new Charts.Hierarchy (image_factory, element);
  659.59 +@@ -1044,6 +1051,7 @@
  659.60 + 									   this.get_img_path_html (element, format)});
  659.61 + 			writer.add_usemap (chart);
  659.62 + 		}
  659.63 ++#endif
  659.64 + 	}
  659.65 + 
  659.66 + 	public void write_namespace_content (Namespace node, Api.Node? parent) {
  659.67 +--- ./libvaladoc/html/htmlmarkupwriter.vala.orig	2019-03-07 06:45:45.000000000 -0600
  659.68 ++++ ./libvaladoc/html/htmlmarkupwriter.vala	2019-03-10 13:06:41.528005635 -0500
  659.69 +@@ -51,12 +51,16 @@
  659.70 + 		}
  659.71 + 	}
  659.72 + 
  659.73 ++#if HAVE_GRAPHVIZ
  659.74 + 	public unowned MarkupWriter add_usemap (Charts.Chart chart) {
  659.75 + 		string? buf = (string?) chart.write_buffer ("cmapx");
  659.76 + 		if (buf != null) {
  659.77 + 			raw_text ("\n");
  659.78 + 			raw_text ((!) buf);
  659.79 + 		}
  659.80 ++#else
  659.81 ++	public unowned MarkupWriter add_usemap (void* chart) {
  659.82 ++#endif
  659.83 + 
  659.84 + 		return this;
  659.85 + 	}
  659.86 +--- ./libvaladoc/Makefile.am.orig	2019-03-07 08:55:35.000000000 -0600
  659.87 ++++ ./libvaladoc/Makefile.am	2019-03-10 13:06:41.509005635 -0500
  659.88 +@@ -119,10 +119,6 @@
  659.89 + 	content/tablerow.vala \
  659.90 + 	content/taglet.vala \
  659.91 + 	content/text.vala \
  659.92 +-	charts/chart.vala \
  659.93 +-	charts/chartfactory.vala \
  659.94 +-	charts/hierarchychart.vala \
  659.95 +-	charts/simplechartfactory.vala \
  659.96 + 	parser/manyrule.vala \
  659.97 + 	parser/oneofrule.vala \
  659.98 + 	parser/optionalrule.vala \
  659.99 +@@ -149,13 +145,24 @@
 659.100 + 	highlighter/codetoken.vala \
 659.101 + 	highlighter/highlighter.vala \
 659.102 + 	html/basicdoclet.vala \
 659.103 +-	html/htmlchartfactory.vala \
 659.104 + 	html/linkhelper.vala \
 659.105 + 	html/cssclassresolver.vala \
 659.106 + 	html/htmlmarkupwriter.vala \
 659.107 + 	html/htmlrenderer.vala \
 659.108 + 	$(NULL)
 659.109 + 
 659.110 ++if ENABLE_GRAPHVIZ
 659.111 ++libvaladoc_la_VALASOURCES += \
 659.112 ++	charts/chart.vala \
 659.113 ++	charts/chartfactory.vala \
 659.114 ++	charts/hierarchychart.vala \
 659.115 ++	charts/simplechartfactory.vala \
 659.116 ++	html/htmlchartfactory.vala \
 659.117 ++	$(NULL)
 659.118 ++
 659.119 ++LIBGVC_PKG = --vapidir $(top_srcdir)/vapi --pkg libgvc
 659.120 ++endif
 659.121 ++
 659.122 + libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \
 659.123 + 	libvaladoc.vala.stamp \
 659.124 + 	$(libvaladoc_la_VALASOURCES:.vala=.c) \
 659.125 +@@ -175,11 +182,11 @@
 659.126 + 		--library valadoc \
 659.127 + 		--vapi valadoc@PACKAGE_SUFFIX@.vapi \
 659.128 + 		--vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 \
 659.129 +-		--vapidir $(top_srcdir)/vapi --pkg libgvc \
 659.130 + 		--vapidir $(top_srcdir)/gee --pkg gee \
 659.131 + 		--vapidir $(top_srcdir)/vala --pkg vala \
 659.132 + 		--vapidir $(top_srcdir)/ccode --pkg ccode \
 659.133 + 		--vapidir $(top_srcdir)/codegen --pkg codegen \
 659.134 ++		$(LIBGVC_PKG) \
 659.135 + 		--pkg config \
 659.136 + 		$(filter %.vala %.c,$^)
 659.137 + 	touch $@
 659.138 +@@ -207,6 +214,9 @@
 659.139 + 
 659.140 + valadoc@PACKAGE_SUFFIX@.pc: valadoc.pc
 659.141 + 	cp $< $@
 659.142 ++if !ENABLE_GRAPHVIZ
 659.143 ++	sed -i "s/libgvc //g" $@
 659.144 ++endif
 659.145 + 
 659.146 + vapidir = $(datadir)/vala/vapi
 659.147 + dist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.vapi
 659.148 +@@ -214,6 +224,9 @@
 659.149 + 
 659.150 + valadoc@PACKAGE_SUFFIX@.deps: valadoc.deps
 659.151 + 	cp $< $@
 659.152 ++if !ENABLE_GRAPHVIZ
 659.153 ++	sed -i "s/libgvc//g" $@
 659.154 ++endif
 659.155 + 
 659.156 + EXTRA_DIST = \
 659.157 + 	$(libvaladoc_la_VALASOURCES) \
   660.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   660.2 +++ b/vala/stuff/no.gvc-compat.c.diff	Sun Jan 14 08:12:37 2024 +0000
   660.3 @@ -0,0 +1,10 @@
   660.4 +--- ./libvaladoc/Makefile.am.orig	2018-11-10 23:02:49.675409848 -0600
   660.5 ++++ ./libvaladoc/Makefile.am	2018-11-10 23:09:49.068418810 -0600
   660.6 +@@ -173,7 +173,6 @@
   660.7 + libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \
   660.8 + 	libvaladoc.vala.stamp \
   660.9 + 	$(libvaladoc_la_VALASOURCES:.vala=.c) \
  660.10 +-	gvc-compat.c \
  660.11 + 	$(NULL)
  660.12 + 
  660.13 + valadoc@PACKAGE_SUFFIX@.vapi valadoc.h: libvaladoc.vala.stamp
   661.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   661.2 +++ b/vte-gtk2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   661.3 @@ -0,0 +1,25 @@
   661.4 +# SliTaz package receipt.
   661.5 +
   661.6 +PACKAGE="vte-gtk2-dev"
   661.7 +VERSION="0.28.2"
   661.8 +CATEGORY="development"
   661.9 +SHORT_DESC="Terminal capabilities for GTK+ widgets devel files."
  661.10 +WANTED="vte-gtk2"
  661.11 +MAINTAINER="pankso@slitaz.org"
  661.12 +LICENSE="GPL2"
  661.13 +WEB_SITE="https://www.gnome.org/"
  661.14 +HOST_ARCH="i486 arm"
  661.15 +
  661.16 +DEPENDS="vte-gtk2 pkg-config"
  661.17 +
  661.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
  661.19 +genpkg_rules()
  661.20 +{
  661.21 +	mkdir -p $fs/usr/lib
  661.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  661.23 +	[ -d "$install/usr/lib/girepository-1.0" ] && 
  661.24 +		cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  661.25 +	[ -d "$install/usr/share/gir-1.0" ] && \
  661.26 +		cp -a $install/usr/share/gir-1.0 $fs/usr/share
  661.27 +	cp -a $install/usr/include $fs/usr
  661.28 +}
   662.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   662.2 +++ b/vte-gtk2/receipt	Sun Jan 14 08:12:37 2024 +0000
   662.3 @@ -0,0 +1,57 @@
   662.4 +# SliTaz package receipt.
   662.5 +
   662.6 +PACKAGE="vte-gtk2"
   662.7 +VERSION="0.28.2" # Also --> python-vte
   662.8 +CATEGORY="utilities"
   662.9 +SHORT_DESC="Terminal capabilities for GTK+ widgets."
  662.10 +MAINTAINER="pankso@slitaz.org"
  662.11 +LICENSE="GPL2"
  662.12 +TARBALL="vte-$VERSION.tar.bz2"
  662.13 +WEB_SITE="https://www.gnome.org/"
  662.14 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  662.15 +HOST_ARCH="i486 arm"
  662.16 +
  662.17 +DEPENDS="gtk+ ncurses xorg-libXdamage"
  662.18 +BUILD_DEPENDS="gtk+-dev ncurses-dev"
  662.19 +
  662.20 +# Handle cross compilation.
  662.21 +case "$ARCH" in
  662.22 +	i?86) 
  662.23 +		BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
  662.24 +		perl perl-xml-parser ncurses-dev"
  662.25 +		ARCH_ARGS="--enable-introspection=yes" ;;
  662.26 +	arm) 
  662.27 +		ARCH_ARGS="--enable-introspection=no" ;;
  662.28 +esac
  662.29 +
  662.30 +current_version()
  662.31 +{
  662.32 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
  662.33 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
  662.34 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
  662.35 +}
  662.36 +
  662.37 +# Rules to configure and make the package.
  662.38 +compile_rules()
  662.39 +{
  662.40 +	patch -p1 -i $stuff/AltKey.patch
  662.41 +	./configure \
  662.42 +		--libexecdir=/usr/lib/vte \
  662.43 +		--with-html-dir=/usr/share/doc \
  662.44 +		--with-pcre \
  662.45 +		--with-gtk=2.0 \
  662.46 +		--disable-static \
  662.47 +		$CONFIGURE_ARGS &&
  662.48 +	make && make install
  662.49 +	# add 'Home' and 'End' keys
  662.50 +	#sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
  662.51 +}
  662.52 +
  662.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
  662.54 +genpkg_rules()
  662.55 +{
  662.56 +	mkdir -p $fs/usr/lib $fs/usr/share
  662.57 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
  662.58 +	cp -a $install/usr/lib/vte $fs/usr/lib
  662.59 +	cp -a $install/usr/share/vte $fs/usr/share
  662.60 +}
   663.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   663.2 +++ b/vte-gtk2/stuff/AltKey.patch	Sun Jan 14 08:12:37 2024 +0000
   663.3 @@ -0,0 +1,50 @@
   663.4 +From a9d6a34708f846952f423d078397352858f7b1a4 Mon Sep 17 00:00:00 2001
   663.5 +From: Christian Persch <chpe@gnome.org>
   663.6 +Date: Sat, 12 May 2012 18:48:05 +0200
   663.7 +Subject: [PATCH] keymap: Treat ALT as META
   663.8 +
   663.9 +https://bugzilla.gnome.org/show_bug.cgi?id=663779
  663.10 +---
  663.11 + src/vte.c |   23 ++++++++++++++---------
  663.12 + 1 files changed, 14 insertions(+), 9 deletions(-)
  663.13 +
  663.14 +diff --git a/src/vte.c b/src/vte.c
  663.15 +index dd27e9a..0657921 100644
  663.16 +--- a/src/vte.c
  663.17 ++++ b/src/vte.c
  663.18 +@@ -5170,19 +5170,24 @@ static void
  663.19 + vte_terminal_read_modifiers (VteTerminal *terminal,
  663.20 + 			     GdkEvent *event)
  663.21 + {
  663.22 ++        GdkKeymap *keymap;
  663.23 + 	GdkModifierType modifiers;
  663.24 + 
  663.25 + 	/* Read the modifiers. */
  663.26 +-	if (gdk_event_get_state((GdkEvent*)event, &modifiers)) {
  663.27 +-		GdkKeymap *keymap;
  663.28 +-#if GTK_CHECK_VERSION (2, 90, 8)
  663.29 +-                keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
  663.30 +-#else
  663.31 +-                keymap = gdk_keymap_get_for_display(gdk_drawable_get_display(((GdkEventAny*)event)->window));
  663.32 ++	if (!gdk_event_get_state((GdkEvent*)event, &modifiers))
  663.33 ++                return;
  663.34 ++
  663.35 ++        keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
  663.36 ++
  663.37 ++        gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
  663.38 ++
  663.39 ++#if 1
  663.40 ++        /* HACK! Treat ALT as META; see bug #663779. */
  663.41 ++        if (modifiers & GDK_MOD1_MASK)
  663.42 ++                modifiers |= VTE_META_MASK;
  663.43 + #endif
  663.44 +-                gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
  663.45 +-		terminal->pvt->modifiers = modifiers;
  663.46 +-	}
  663.47 ++
  663.48 ++        terminal->pvt->modifiers = modifiers;
  663.49 + }
  663.50 + 
  663.51 + /* Read and handle a keypress event. */
  663.52 +-- 
  663.53 +1.7.5.1.217.g4e3aa.dirty
  663.54 \ No newline at end of file
   664.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   664.2 +++ b/vte-gtk2/stuff/vte-vala.patch	Sun Jan 14 08:12:37 2024 +0000
   664.3 @@ -0,0 +1,10 @@
   664.4 +--- a/bindings/vala/app.vala
   664.5 ++++ b/bindings/vala/app.vala
   664.6 +@@ -819,6 +819,7 @@
   664.7 + 
   664.8 +   public struct Options
   664.9 +   {
  664.10 ++    public int dummy;
  664.11 +     public static bool audible = false;
  664.12 +     public static string? command = null;
  664.13 +     private static string? cjk_ambiguous_width_string = null;
   665.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   665.2 +++ b/vte-gtk3-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   665.3 @@ -0,0 +1,25 @@
   665.4 +# SliTaz package receipt.
   665.5 +
   665.6 +PACKAGE="vte-gtk3-dev"
   665.7 +VERSION="0.50.2"
   665.8 +CATEGORY="development"
   665.9 +SHORT_DESC="Terminal capabilities for GTK+ widgets devel files."
  665.10 +WANTED="vte-gtk3"
  665.11 +MAINTAINER="pankso@slitaz.org"
  665.12 +LICENSE="GPL2"
  665.13 +WEB_SITE="https://www.gnome.org/"
  665.14 +HOST_ARCH="i486 arm"
  665.15 +
  665.16 +DEPENDS="vte-gtk3 pcre2-dev gtk+3-dev gnutls-dev gperf pkg-config"
  665.17 +
  665.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
  665.19 +genpkg_rules()
  665.20 +{
  665.21 +	mkdir -p $fs/usr/lib
  665.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  665.23 +	[ -d "$install/usr/lib/girepository-1.0" ] && 
  665.24 +		cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  665.25 +	[ -d "$install/usr/share/gir-1.0" ] && \
  665.26 +		cp -a $install/usr/share/gir-1.0 $fs/usr/share
  665.27 +	cp -a $install/usr/include $fs/usr
  665.28 +}
   666.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   666.2 +++ b/vte-gtk3/receipt	Sun Jan 14 08:12:37 2024 +0000
   666.3 @@ -0,0 +1,60 @@
   666.4 +# SliTaz package receipt.
   666.5 +
   666.6 +PACKAGE="vte-gtk3"
   666.7 +SOURCE="vte"
   666.8 +VERSION="0.50.2" # Also --> python-vte
   666.9 +CATEGORY="utilities"
  666.10 +SHORT_DESC="Terminal capabilities for GTK+ widgets."
  666.11 +MAINTAINER="pankso@slitaz.org"
  666.12 +LICENSE="GPL2"
  666.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
  666.14 +WEB_SITE="https://www.gnome.org/"
  666.15 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
  666.16 +HOST_ARCH="i486 arm"
  666.17 +
  666.18 +DEPENDS="gtk+ gtk+3 libgnutls gdk-pixbuf ncurses xorg-libXdamage pcre2"
  666.19 +BUILD_DEPENDS="gtk+-dev ncurses-dev"
  666.20 +
  666.21 +# Handle cross compilation.
  666.22 +case "$ARCH" in
  666.23 +	i?86) 
  666.24 +		BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev perl
  666.25 +		perl-xml-parser ncurses-dev pcre2-dev gtk+3-dev gnutls-dev gperf vala"
  666.26 +		ARCH_ARGS="--enable-introspection=yes" ;;
  666.27 +	arm) 
  666.28 +		ARCH_ARGS="--enable-introspection=no" ;;
  666.29 +esac
  666.30 +
  666.31 +current_version()
  666.32 +{
  666.33 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
  666.34 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
  666.35 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
  666.36 +}
  666.37 +
  666.38 +# Rules to configure and make the package.
  666.39 +compile_rules()
  666.40 +{
  666.41 +	# Fix build with vala
  666.42 +	# see https://gitlab.gnome.org/GNOME/vte/issues/76
  666.43 +	patch -p1 < $stuff/vte-vala.patch
  666.44 +
  666.45 +	./configure \
  666.46 +		--libexecdir=/usr/lib/vte \
  666.47 +		--with-html-dir=/usr/share/doc \
  666.48 +		--with-pcre \
  666.49 +		--disable-static \
  666.50 +		$CONFIGURE_ARGS &&
  666.51 +	make && make install
  666.52 +	# add 'Home' and 'End' keys
  666.53 +	#sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
  666.54 +}
  666.55 +
  666.56 +# Rules to gen a SliTaz package suitable for Tazpkg.
  666.57 +genpkg_rules()
  666.58 +{
  666.59 +	mkdir -p $fs/usr/lib $fs/usr/share
  666.60 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
  666.61 +	#cp -a $install/usr/lib/vte $fs/usr/lib
  666.62 +	#cp -a $install/usr/share/vte $fs/usr/share
  666.63 +}
   667.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   667.2 +++ b/vte-gtk3/stuff/AltKey.patch	Sun Jan 14 08:12:37 2024 +0000
   667.3 @@ -0,0 +1,50 @@
   667.4 +From a9d6a34708f846952f423d078397352858f7b1a4 Mon Sep 17 00:00:00 2001
   667.5 +From: Christian Persch <chpe@gnome.org>
   667.6 +Date: Sat, 12 May 2012 18:48:05 +0200
   667.7 +Subject: [PATCH] keymap: Treat ALT as META
   667.8 +
   667.9 +https://bugzilla.gnome.org/show_bug.cgi?id=663779
  667.10 +---
  667.11 + src/vte.c |   23 ++++++++++++++---------
  667.12 + 1 files changed, 14 insertions(+), 9 deletions(-)
  667.13 +
  667.14 +diff --git a/src/vte.c b/src/vte.c
  667.15 +index dd27e9a..0657921 100644
  667.16 +--- a/src/vte.c
  667.17 ++++ b/src/vte.c
  667.18 +@@ -5170,19 +5170,24 @@ static void
  667.19 + vte_terminal_read_modifiers (VteTerminal *terminal,
  667.20 + 			     GdkEvent *event)
  667.21 + {
  667.22 ++        GdkKeymap *keymap;
  667.23 + 	GdkModifierType modifiers;
  667.24 + 
  667.25 + 	/* Read the modifiers. */
  667.26 +-	if (gdk_event_get_state((GdkEvent*)event, &modifiers)) {
  667.27 +-		GdkKeymap *keymap;
  667.28 +-#if GTK_CHECK_VERSION (2, 90, 8)
  667.29 +-                keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
  667.30 +-#else
  667.31 +-                keymap = gdk_keymap_get_for_display(gdk_drawable_get_display(((GdkEventAny*)event)->window));
  667.32 ++	if (!gdk_event_get_state((GdkEvent*)event, &modifiers))
  667.33 ++                return;
  667.34 ++
  667.35 ++        keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
  667.36 ++
  667.37 ++        gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
  667.38 ++
  667.39 ++#if 1
  667.40 ++        /* HACK! Treat ALT as META; see bug #663779. */
  667.41 ++        if (modifiers & GDK_MOD1_MASK)
  667.42 ++                modifiers |= VTE_META_MASK;
  667.43 + #endif
  667.44 +-                gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
  667.45 +-		terminal->pvt->modifiers = modifiers;
  667.46 +-	}
  667.47 ++
  667.48 ++        terminal->pvt->modifiers = modifiers;
  667.49 + }
  667.50 + 
  667.51 + /* Read and handle a keypress event. */
  667.52 +-- 
  667.53 +1.7.5.1.217.g4e3aa.dirty
  667.54 \ No newline at end of file
   668.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   668.2 +++ b/vte-gtk3/stuff/vte-vala.patch	Sun Jan 14 08:12:37 2024 +0000
   668.3 @@ -0,0 +1,10 @@
   668.4 +--- a/bindings/vala/app.vala
   668.5 ++++ b/bindings/vala/app.vala
   668.6 +@@ -819,6 +819,7 @@
   668.7 + 
   668.8 +   public struct Options
   668.9 +   {
  668.10 ++    public int dummy;
  668.11 +     public static bool audible = false;
  668.12 +     public static string? command = null;
  668.13 +     private static string? cjk_ambiguous_width_string = null;
   669.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   669.2 +++ b/vte-terminal-gtk2/receipt	Sun Jan 14 08:12:37 2024 +0000
   669.3 @@ -0,0 +1,21 @@
   669.4 +# SliTaz package receipt.
   669.5 +
   669.6 +PACKAGE="vte-terminal-gtk2"
   669.7 +VERSION="0.28.2"
   669.8 +CATEGORY="development"
   669.9 +SHORT_DESC="X Terminal from the vte package."
  669.10 +WANTED="vte-gtk2"
  669.11 +MAINTAINER="pankso@slitaz.org"
  669.12 +LICENSE="GPL2"
  669.13 +WEB_SITE="https://www.gnome.org/"
  669.14 +TAGS="terminal"
  669.15 +HOST_ARCH="i486 arm"
  669.16 +
  669.17 +DEPENDS="expat vte-gtk2"
  669.18 +
  669.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
  669.20 +genpkg_rules()
  669.21 +{
  669.22 +	mkdir -p $fs/usr
  669.23 +	cp -a $install/usr/bin $fs/usr
  669.24 +}
   670.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   670.2 +++ b/vte-terminal-gtk3/receipt	Sun Jan 14 08:12:37 2024 +0000
   670.3 @@ -0,0 +1,21 @@
   670.4 +# SliTaz package receipt.
   670.5 +
   670.6 +PACKAGE="vte-terminal-gtk3"
   670.7 +VERSION="0.50.2"
   670.8 +CATEGORY="development"
   670.9 +SHORT_DESC="X Terminal from the vte package."
  670.10 +WANTED="vte-gtk3"
  670.11 +MAINTAINER="pankso@slitaz.org"
  670.12 +LICENSE="GPL2"
  670.13 +WEB_SITE="https://www.gnome.org/"
  670.14 +TAGS="terminal"
  670.15 +HOST_ARCH="i486 arm"
  670.16 +
  670.17 +DEPENDS="expat vte-gtk3"
  670.18 +
  670.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
  670.20 +genpkg_rules()
  670.21 +{
  670.22 +	mkdir -p $fs/usr
  670.23 +	cp -a $install/usr/bin $fs/usr
  670.24 +}
   671.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   671.2 +++ b/vte/stuff/vte-vala.patch	Sun Jan 14 08:12:37 2024 +0000
   671.3 @@ -0,0 +1,10 @@
   671.4 +--- a/bindings/vala/app.vala
   671.5 ++++ b/bindings/vala/app.vala
   671.6 +@@ -819,6 +819,7 @@
   671.7 + 
   671.8 +   public struct Options
   671.9 +   {
  671.10 ++    public int dummy;
  671.11 +     public static bool audible = false;
  671.12 +     public static string? command = null;
  671.13 +     private static string? cjk_ambiguous_width_string = null;
   672.1 --- a/wayland-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   672.2 +++ b/wayland-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   672.3 @@ -1,7 +1,7 @@
   672.4  # SliTaz package receipt.
   672.5  
   672.6  PACKAGE="wayland-dev"
   672.7 -VERSION="1.21.0"
   672.8 +VERSION="1.22.0"
   672.9  CATEGORY="development"
  672.10  SHORT_DESC="Wayland X server development files."
  672.11  MAINTAINER="pankso@slitaz.org"
   673.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   673.2 +++ b/wayland-protocols/receipt	Sun Jan 14 08:12:37 2024 +0000
   673.3 @@ -0,0 +1,42 @@
   673.4 +# SliTaz package receipt.
   673.5 +
   673.6 +PACKAGE="wayland-protocols"
   673.7 +VERSION="1.25"
   673.8 +CATEGORY="system-tools"
   673.9 +SHORT_DESC="Additional Wayland protocols"
  673.10 +MAINTAINER="maintainer@slitaz.org"
  673.11 +LICENSE="LGPL2.1"
  673.12 +WEB_SITE="https://wayland.freedesktop.org/"
  673.13 +
  673.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  673.15 +WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"
  673.16 +
  673.17 +DEPENDS="wayland"
  673.18 +BUILD_DEPENDS="wayland-dev meson"
  673.19 +
  673.20 +HOST_ARCH="i486 arm"
  673.21 +
  673.22 +# What is the latest version available today?
  673.23 +current_version()
  673.24 +{
  673.25 +	wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/tags?sort=updated_desc' 2>/dev/null | \
  673.26 +	sed '/item-title/!d;s|.*">||;s|<.*||;q'
  673.27 +}
  673.28 +
  673.29 +# Rules to configure and make the package.
  673.30 +compile_rules()
  673.31 +{
  673.32 +	meson	_build	\
  673.33 +	    --buildtype=release \
  673.34 +	    --prefix=/usr &&
  673.35 +	ninja	-C _build &&
  673.36 +	ninja	-C _build install
  673.37 +}
  673.38 +
  673.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
  673.40 +genpkg_rules()
  673.41 +{
  673.42 +	mkdir -p $fs/usr/share
  673.43 +	cp -a $install/usr/share/pkgconfig $fs/usr/share
  673.44 +	cp -a $install/usr/share/wayland-protocols $fs/usr/share
  673.45 +}
   674.1 --- a/wayland/receipt	Mon Oct 16 18:37:14 2023 +0000
   674.2 +++ b/wayland/receipt	Sun Jan 14 08:12:37 2024 +0000
   674.3 @@ -1,7 +1,7 @@
   674.4  # SliTaz package receipt.
   674.5  
   674.6  PACKAGE="wayland"
   674.7 -VERSION="1.21.0"
   674.8 +VERSION="1.22.0"
   674.9  CATEGORY="x-window"
  674.10  SHORT_DESC="Wayland simpler X display server protocol."
  674.11  MAINTAINER="pankso@slitaz.org"
  674.12 @@ -13,8 +13,8 @@
  674.13  
  674.14  # WARNING: wayland must be installed in chroot since build host 
  674.15  # wayland-scanner is used for cross compilation to ARM
  674.16 -DEPENDS="expat gcc83-lib-base libffi"
  674.17 -BUILD_DEPENDS="expat-dev gcc83 libffi-dev meson"
  674.18 +DEPENDS="expat gcc-lib-base libffi"
  674.19 +BUILD_DEPENDS="expat-dev gcc libffi-dev meson"
  674.20  
  674.21  HOST_ARCH="i486 arm"
  674.22  
  674.23 @@ -33,11 +33,11 @@
  674.24  # Rules to configure and make the package.
  674.25  compile_rules()
  674.26  {
  674.27 -	export	CC=gcc-83
  674.28 -
  674.29  	meson	_build			\
  674.30  		-D documentation=false	\
  674.31 +		--buildtype=release \
  674.32  		--prefix=/usr &&
  674.33 +
  674.34  	ninja	-C _build &&
  674.35  	ninja	-C _build install
  674.36  }
   675.1 --- a/web-applications/receipt	Mon Oct 16 18:37:14 2023 +0000
   675.2 +++ b/web-applications/receipt	Sun Jan 14 08:12:37 2024 +0000
   675.3 @@ -9,6 +9,9 @@
   675.4  WEB_SITE="http://www.slitaz.org/"
   675.5  HOST_ARCH="any"
   675.6  
   675.7 +# ensure gstreamer plugins as deps for radios
   675.8 +DEPENDS="gst-libav"
   675.9 +
  675.10  # Rules to gen a SliTaz package suitable for Tazpkg.
  675.11  genpkg_rules()
  675.12  {
   676.1 --- a/web-applications/stuff/applications/gemini.desktop	Mon Oct 16 18:37:14 2023 +0000
   676.2 +++ b/web-applications/stuff/applications/gemini.desktop	Sun Jan 14 08:12:37 2024 +0000
   676.3 @@ -3,7 +3,6 @@
   676.4  Name=Gemini project
   676.5  Name[fr]=Projet Gemini
   676.6  TryExec=browser
   676.7 -Exec=browser https://proxy.vulpes.one/gemini/gemini.circumlunar.space/
   676.8 -#Exec=browser https://portal.mozz.us/gemini/gemini.circumlunar.space/
   676.9 +Exec=browser https://portal.mozz.us/gemini/geminiprotocol.net/
  676.10  Icon=applications-internet
  676.11  Categories=Network;
   677.1 --- a/webgames/receipt	Mon Oct 16 18:37:14 2023 +0000
   677.2 +++ b/webgames/receipt	Sun Jan 14 08:12:37 2024 +0000
   677.3 @@ -30,7 +30,7 @@
   677.4  Type=Application
   677.5  $(mline Name "$name")${comment:+
   677.6  $(mline Comment "$comment")}
   677.7 -Exec=sh -c "url=$url; tazweb --notoolbar \$url || browser \$url"
   677.8 +Exec=sh -c "url=$url; tazweb-legacy --notoolbar \$url || browser \$url"
   677.9  Terminal=false
  677.10  Categories=Game;
  677.11  Icon=${icon:-applications-games}
   678.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   678.2 +++ b/webkit2gtk-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   678.3 @@ -0,0 +1,29 @@
   678.4 +# SliTaz package receipt.
   678.5 +
   678.6 +PACKAGE="webkit2gtk-dev"
   678.7 +VERSION="2.34.6"
   678.8 +CATEGORY="development"
   678.9 +SHORT_DESC="devel files for webkit2gtk"
  678.10 +WANTED="webkit2gtk"
  678.11 +MAINTAINER="mallory@sweetpeople.org"
  678.12 +LICENSE="LGPL2"
  678.13 +WEB_SITE="https://webkitgtk.org"
  678.14 +HOST_ARCH="i486 arm"
  678.15 +
  678.16 +DEPENDS="webkit2gtk libatomic libsoup-dev enchant-dev libtasn1-dev sqlite-dev \
  678.17 +harfbuzz-icu gstreamer-1.0 gst-plugins-base-1.0 libegl-mesa libsecret-dev \
  678.18 +libwebp-dev libnotify-dev woff2-dev openjpeg2-dev hyphen-dev lcms2-dev"
  678.19 +
  678.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
  678.21 +genpkg_rules()
  678.22 +{
  678.23 +	mkdir -p $fs/usr/lib $fs/usr/share
  678.24 +	# ARM: no pkg-config, include or gir files 
  678.25 +	case "$ARCH" in
  678.26 +		i?86)
  678.27 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  678.28 +			cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
  678.29 +			cp -a $install/usr/share/gir-1.0 $fs/usr/share
  678.30 +			cp -a $install/usr/include $fs/usr;;
  678.31 +	esac
  678.32 +}
   679.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   679.2 +++ b/webkit2gtk/receipt	Sun Jan 14 08:12:37 2024 +0000
   679.3 @@ -0,0 +1,113 @@
   679.4 +# SliTaz package receipt.
   679.5 +
   679.6 +PACKAGE="webkit2gtk"
   679.7 +SOURCE="webkitgtk"
   679.8 +VERSION="2.34.6"
   679.9 +CATEGORY="network"
  679.10 +SHORT_DESC="xHTML render library."
  679.11 +MAINTAINER="devel@slitaz.org"
  679.12 +LICENSE="LGPL2"
  679.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
  679.14 +WEB_SITE="https://webkitgtk.org"
  679.15 +WGET_URL="$WEB_SITE/releases/$TARBALL"
  679.16 +HOST_ARCH="i486 arm"
  679.17 +
  679.18 +DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
  679.19 +xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
  679.20 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
  679.21 +xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
  679.22 +xorg-libxshmfence gcc-lib-base libtasn1 util-linux-uuid glib-networking \
  679.23 +libnotify hyphen openjpeg2 woff2 lcms2 libatomic"
  679.24 +BUILD_DEPENDS="gtk+3-dev enchant-dev libxslt-dev jpeg-dev libpng-dev \
  679.25 +glib-dev sqlite-dev gnutls-dev xorg-libXdamage-dev acl-dev libsoup-dev \
  679.26 +libxml2-dev libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev \
  679.27 +libtasn1-dev glib-networking ruby-dev icu-dev harfbuzz-icu-dev mesa \
  679.28 +mesa-dev libglu-mesa-dev libglw-mesa-dev libegl-mesa libwebp-dev \
  679.29 +libsecret-dev gstreamer-1.0-dev gst-plugins-base-1.0-dev \
  679.30 +gst-plugins-bad-1.0-dev gobject-introspection-dev libnotify-dev \
  679.31 +hyphen-dev openjpeg2-dev woff2-dev lcms2-dev cmake ninja"
  679.32 +
  679.33 +# What is the latest version available today?
  679.34 +current_version()
  679.35 +{
  679.36 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  679.37 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr  | sed q
  679.38 +}
  679.39 +
  679.40 +# Handle cross compilation.
  679.41 +case "$ARCH" in
  679.42 +	i?86) 
  679.43 +		BUILD_DEPENDS="$BUILD_DEPENDS tar gettext m4 bison flex gperf
  679.44 +		autoconf automake115 gtk-doc libtool" ;;
  679.45 +esac
  679.46 +
  679.47 +# Rules to configure and make the package.
  679.48 +compile_rules()
  679.49 +{
  679.50 +	# libwebkit does not like parallel builds.
  679.51 +	#export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
  679.52 +
  679.53 +	patch -p1 < $stuff/unhide-deprecated-api.patch
  679.54 +
  679.55 +	# Thanks ArchLinux32 team
  679.56 +	# flags for build webkit2gtk
  679.57 +	export CFLAGS="$CFLAGS -g1"
  679.58 +	export CXXFLAGS="$CFLAGS -g1 -fpermissive"
  679.59 +	export LDFLAGS="$LDFLAGS -Wl,--no-keep-memory"
  679.60 +
  679.61 +	# Disable WPE, seem issue to found wpebackend
  679.62 +	#-DWPE_INCLUDE_DIR=/usr/include/wpe-1.0 \                                                                   
  679.63 +	#-DWPE_VERSION=$(grep ^VERSION= $WOK/libwpe/receipt | cut -d "=" -f2 | sed -e 's/"//g') \                   
  679.64 +        #-DWPEBACKEND_FDO_INCLUDE_DIRS=/usr/include/wpe-fdo-1.0 \                                                   
  679.65 +        #-DWPEBACKEND_FDO_VERSION=$(grep ^VERSION= $WOK/wpebackend-fdo/receipt | cut -d "=" -f2 | sed -e 's/"//g') \
  679.66 +
  679.67 +
  679.68 +	# Try with disabled OpenGL (failed)
  679.69 +	#-DENABLE_WEBGL=OFF \
  679.70 +        #-DENABLE_WEBGL2=OFF \
  679.71 +        #-DUSE_OPENGL_OR_ES=OFF \
  679.72 +        #-DENABLE_GRAPHICS_CONTEXT_GL=OFF \
  679.73 +	
  679.74 +
  679.75 +	mkdir -p build
  679.76 +	cd build
  679.77 +  	cmake -DPORT=GTK \
  679.78 +		-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
  679.79 +		-DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
  679.80 +		-DCMAKE_BUILD_TYPE=Release \
  679.81 +		-DCMAKE_SKIP_RPATH=ON \
  679.82 +		-DCMAKE_INSTALL_PREFIX=/usr \
  679.83 +		-DLIB_INSTALL_DIR=/usr/lib \
  679.84 +		-DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
  679.85 +		-DENABLE_GAMEPAD=OFF \
  679.86 +		-DENABLE_MINIBROWSER=OFF \
  679.87 +        	-DUSE_SOUP2=ON \
  679.88 +        	-DENABLE_JOURNALD_LOG=OFF \
  679.89 +		-DENABLE_DOCUMENTATION=OFF \
  679.90 +		-DENABLE_BUBBLEWRAP_SANDBOX=off \
  679.91 +		-DUSE_SYSTEM_MALLOC=on \
  679.92 +        	-DUSE_GSTREAMER_TRANSCODER=OFF \
  679.93 +        	-DUSE_AVIF=OFF \
  679.94 +		-DUSE_WPE_RENDERER=OFF \
  679.95 +		-DOpenJPEG_INCLUDE_DIR=/usr/include/openjpeg-2.5 \
  679.96 +		-DUSE_SYSTEMD=OFF \
  679.97 +		-DUSE_GSTREAMER_GL=OFF \
  679.98 +		-DWTF_CPU_X86=X86 \
  679.99 +		-DENABLE_JIT=OFF \
 679.100 +		-DENABLE_C_LOOP=ON \
 679.101 +		-DENABLE_SAMPLING_PROFILER=OFF \
 679.102 +        	-Wno-dev \
 679.103 +        	-G Ninja \
 679.104 +        	..
 679.105 +
 679.106 +	ninja
 679.107 +	DESTDIR=$install ninja install
 679.108 +}
 679.109 +
 679.110 +# Rules to gen a SliTaz package suitable for Tazpkg.
 679.111 +genpkg_rules()
 679.112 +{
 679.113 +	mkdir -p $fs/usr/lib
 679.114 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
 679.115 +	cp -a $install/usr/lib/webkit2gtk-4.0 $fs/usr/lib
 679.116 +}
   680.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   680.2 +++ b/webkit2gtk/stuff/unhide-deprecated-api.patch	Sun Jan 14 08:12:37 2024 +0000
   680.3 @@ -0,0 +1,12 @@
   680.4 +diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
   680.5 +index 6fa104c82992..8c8640c3dee7 100644
   680.6 +--- a/Source/WTF/wtf/Platform.h
   680.7 ++++ b/Source/WTF/wtf/Platform.h
   680.8 +@@ -113,7 +113,6 @@
   680.9 + 
  680.10 + /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */
  680.11 + /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */
  680.12 +-#define U_HIDE_DEPRECATED_API 1
  680.13 + #define U_SHOW_CPLUSPLUS_API 0
  680.14 + #ifdef __cplusplus
  680.15 + #define UCHAR_TYPE char16_t
   681.1 --- a/webkitgtk/receipt	Mon Oct 16 18:37:14 2023 +0000
   681.2 +++ b/webkitgtk/receipt	Sun Jan 14 08:12:37 2024 +0000
   681.3 @@ -15,11 +15,12 @@
   681.4  xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
   681.5  xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
   681.6  xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
   681.7 -gcc-lib-base libtasn1 util-linux-uuid glib-networking"
   681.8 +gcc-lib-base libtasn1 util-linux-uuid glib-networking harfbuzz-icu \
   681.9 +libegl-mesa libwebp libsecret gstreamer-1.0 gst-plugins-base-1.0 libatomic"
  681.10  BUILD_DEPENDS="autoconf automake115 gtk+-dev enchant-dev libxslt-dev jpeg-dev libpng-dev \
  681.11  glib-dev sqlite-dev gnutls-dev xorg-libXdamage-dev acl-dev libsoup-dev \
  681.12  libxml2-dev libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev \
  681.13 -libtasn1-dev glib-networking-dev ruby-dev icu-dev harfbuzz-icu-dev mesa-dev \
  681.14 +libtasn1-dev glib-networking ruby-dev icu-dev harfbuzz-icu-dev mesa-dev \
  681.15  libglu-mesa-dev libglw-mesa-dev libegl-mesa libwebp-dev libsecret-dev \
  681.16  gstreamer-1.0-dev gst-plugins-base-1.0-dev"
  681.17  
  681.18 @@ -53,19 +54,28 @@
  681.19  	patch -p1 < $stuff/webkitgtk-fix-abs.patch
  681.20  	# Fix toRenderBox see https://bugs.gentoo.org/579350
  681.21  	patch -p1 < $stuff/webkitgtk-fix-renderbox.patch
  681.22 +	# Patch with new glib / enchant-2
  681.23 +	# see https://aur.archlinux.org/cgit/aur.git/tree/?h=webkitgtk
  681.24 +	patch -p1 < $stuff/webkitgtk-fix-enchant2.patch
  681.25 +	patch -p1 < $stuff/webkitgtk-fix-glib-2.68.0.patch	
  681.26 +
  681.27 +	# Build fix
  681.28 +	patch -p1 < $stuff/webkitgtk-fix-glib-min.patch
  681.29  
  681.30  	# Build fix with newer bison 3
  681.31  	sed -i 's|%pure_parser|%define api.pure|' Source/WebCore/css/CSSGrammar.y.in
  681.32  	patch -p1 < $stuff/webkitgtk-fix-grammar.patch
  681.33  
  681.34  	# Silence harmless warnings
  681.35 -	export CFLAGS="$CFLAGS -Wno-unused-local-typedefs"
  681.36 -	export CXXFLAGS="$CXXFLAGS -Wno-unused-local-typedefs"
  681.37 +	export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations \
  681.38 +	-Wno-error=format-security -Wno-unused-local-typedefs"
  681.39 +	export CXXFLAGS="$CXXFLAGS -Wno-unused-local-typedefs \
  681.40 +	-Wno-error=deprecated-declarations -Wno-error=format-security"
  681.41  
  681.42  	# Build
  681.43  	./configure \
  681.44  		--enable-introspection=no \
  681.45 -		--enable-video=no \
  681.46 +		--enable-video=yes \
  681.47  		--enable-jit=yes \
  681.48  		--enable-webgl \
  681.49  		--disable-geolocation \
   682.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   682.2 +++ b/webkitgtk/stuff/webkitgtk-fix-enchant2.patch	Sun Jan 14 08:12:37 2024 +0000
   682.3 @@ -0,0 +1,27 @@
   682.4 +diff --git a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
   682.5 +index d2d2c6f..905ca5b 100644
   682.6 +--- a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
   682.7 ++++ b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
   682.8 +@@ -128,7 +128,7 @@ Vector<String> TextCheckerEnchant::getGuessesForWord(const String& word)
   682.9 +         for (i = 0; i < numberOfSuggestions; i++)
  682.10 +             guesses.append(String::fromUTF8(suggestions[i]));
  682.11 + 
  682.12 +-        enchant_dict_free_suggestions(*iter, suggestions);
  682.13 ++        enchant_dict_free_string_list(*iter, suggestions);
  682.14 +     }
  682.15 + 
  682.16 +     return guesses;
  682.17 +
  682.18 +diff --git a/Source/autotools/FindDependencies.m4 b/Source/autotools/FindDependencies.m4
  682.19 +index 60ee32d..cf1019f 100644
  682.20 +--- a/Source/autotools/FindDependencies.m4
  682.21 ++++ b/Source/autotools/FindDependencies.m4
  682.22 +@@ -154,7 +154,7 @@ AC_SUBST(PANGO_CFLAGS)
  682.23 + AC_SUBST(PANGO_LIBS)
  682.24 + 
  682.25 + if test "$enable_spellcheck" = "yes"; then
  682.26 +-    PKG_CHECK_MODULES(ENCHANT, enchant >= enchant_required_version, [], [enable_spellcheck="no"])
  682.27 ++    PKG_CHECK_MODULES(ENCHANT, enchant-2 >= enchant_required_version, [], [enable_spellcheck="no"])
  682.28 +     AC_SUBST(ENCHANT_CFLAGS)
  682.29 +     AC_SUBST(ENCHANT_LIBS)
  682.30 + fi
   683.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   683.2 +++ b/webkitgtk/stuff/webkitgtk-fix-glib-2.68.0.patch	Sun Jan 14 08:12:37 2024 +0000
   683.3 @@ -0,0 +1,33 @@
   683.4 +diff --git a/GNUmakefile.in b/GNUmakefile.in
   683.5 +index 7d4d21c..646197f 100644
   683.6 +--- a/GNUmakefile.in
   683.7 ++++ b/GNUmakefile.in
   683.8 +@@ -96250,8 +96250,8 @@ $(GENSOURCES_WEBKIT)/webkitmarshal.h: stamp-webkitmarshal.h
   683.9 + 	@true
  683.10 + 
  683.11 + stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
  683.12 +-	$(AM_V_GEN) echo "extern \"C\" {" > $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
  683.13 +-	$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
  683.14 ++	$(AM_V_GEN)	$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
  683.15 ++	sed -i '1,10s/#ifdef/extern "C" {\n#ifdef/gm' $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
  683.16 + 	echo '}' >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
  683.17 + 	echo timestamp > $(@F)
  683.18 + 
  683.19 +diff --git a/Source/WTF/wtf/gobject/GRefPtr.h b/Source/WTF/wtf/gobject/GRefPtr.h
  683.20 +index b25b7bb..447015e 100644
  683.21 +--- a/Source/WTF/wtf/gobject/GRefPtr.h
  683.22 ++++ b/Source/WTF/wtf/gobject/GRefPtr.h
  683.23 +@@ -25,11 +25,11 @@
  683.24 + 
  683.25 + #if USE(GLIB)
  683.26 + 
  683.27 ++#include <glib-object.h>
  683.28 ++
  683.29 + #include <wtf/RefPtr.h>
  683.30 + #include <algorithm>
  683.31 + 
  683.32 +-extern "C" void g_object_unref(gpointer);
  683.33 +-extern "C" gpointer g_object_ref_sink(gpointer);
  683.34 + 
  683.35 + namespace WTF {
  683.36 + 
   684.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   684.2 +++ b/webkitgtk/stuff/webkitgtk-fix-glib-min.patch	Sun Jan 14 08:12:37 2024 +0000
   684.3 @@ -0,0 +1,10 @@
   684.4 +--- a/Source/WTF/wtf/Platform.h
   684.5 ++++ b/Source/WTF/wtf/Platform.h
   684.6 +@@ -479,6 +479,7 @@
   684.7 + #define WTF_USE_HARFBUZZ 1
   684.8 + #define WTF_USE_SOUP 1
   684.9 + #define WTF_USE_WEBP 1
  684.10 ++#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_36
  684.11 + #define ENABLE_GLOBAL_FASTMALLOC_NEW 0
  684.12 + #endif
  684.13 + 
   685.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   685.2 +++ b/webkitgtk/stuff/webkitgtk-version.patch	Sun Jan 14 08:12:37 2024 +0000
   685.3 @@ -0,0 +1,26 @@
   685.4 +--- a/configure
   685.5 ++++ b/configure
   685.6 +@@ -17760,8 +17760,8 @@
   685.7 +     2.0) GTK_REQUIRED_VERSION=2.24.10
   685.8 +         GTK_API_VERSION=2.0
   685.9 +         WEBKITGTK_API_MAJOR_VERSION=1
  685.10 +-        WEBKITGTK_API_MINOR_VERSION=0
  685.11 +-        WEBKITGTK_API_VERSION=1.0
  685.12 ++        WEBKITGTK_API_MINOR_VERSION=1
  685.13 ++        WEBKITGTK_API_VERSION=1.1
  685.14 +         WEBKITGTK_PC_NAME=webkit
  685.15 +         ;;
  685.16 +     3.0) GTK_REQUIRED_VERSION=3.6.0
  685.17 +--- a/Source/autotools/FindDependencies.m4
  685.18 ++++ b/Source/autotools/FindDependencies.m4
  685.19 +@@ -71,8 +71,8 @@
  685.20 +     2.0) GTK_REQUIRED_VERSION=gtk2_required_version
  685.21 +         GTK_API_VERSION=2.0
  685.22 +         WEBKITGTK_API_MAJOR_VERSION=1
  685.23 +-        WEBKITGTK_API_MINOR_VERSION=0
  685.24 +-        WEBKITGTK_API_VERSION=1.0
  685.25 ++        WEBKITGTK_API_MINOR_VERSION=1
  685.26 ++        WEBKITGTK_API_VERSION=1.1
  685.27 +         WEBKITGTK_PC_NAME=webkit
  685.28 +         ;;
  685.29 +     3.0) GTK_REQUIRED_VERSION=gtk3_required_version
   686.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   686.2 +++ b/woff2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   686.3 @@ -0,0 +1,21 @@
   686.4 +# SliTaz package receipt.
   686.5 +
   686.6 +PACKAGE="woff2-dev"
   686.7 +VERSION="20220330"
   686.8 +CATEGORY="development"
   686.9 +SHORT_DESC="Web Open Font Format 2 reference implementation"
  686.10 +MAINTAINER="al.bobylev@gmail.com"
  686.11 +LICENSE="MIT"
  686.12 +WEB_SITE="https://github.com/google/woff2"
  686.13 +
  686.14 +DEPENDS="woff2 brotli-dev"
  686.15 +WANTED="woff2"
  686.16 +
  686.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  686.18 +genpkg_rules()
  686.19 +{
  686.20 +        mkdir -p $fs/usr/lib
  686.21 +
  686.22 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  686.23 +        cp -a $install/usr/include              $fs/usr
  686.24 +}
   687.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   687.2 +++ b/woff2/receipt	Sun Jan 14 08:12:37 2024 +0000
   687.3 @@ -0,0 +1,36 @@
   687.4 +# SliTaz package receipt.
   687.5 +
   687.6 +PACKAGE="woff2"
   687.7 +VERSION="20220330"
   687.8 +CATEGORY="system-tools"
   687.9 +SHORT_DESC="Web Open Font Format 2 reference implementation"
  687.10 +MAINTAINER="al.bobylev@gmail.com"
  687.11 +LICENSE="MIT"
  687.12 +WEB_SITE="https://github.com/google/woff2"
  687.13 +
  687.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
  687.15 +WGET_URL="git|https://github.com/google/woff2.git"
  687.16 +BRANCH="4721483ad780ee2b63cb787bfee4aa64b61a0446"
  687.17 +
  687.18 +DEPENDS="brotli"
  687.19 +BUILD_DEPENDS="cmake ninja git brotli-dev"
  687.20 +
  687.21 +# Rules to configure and make the package.         
  687.22 +compile_rules()                             
  687.23 +{            
  687.24 +	mkdir build && cd build                             
  687.25 +	cmake \
  687.26 +	    -G Ninja \
  687.27 +	    -DCMAKE_INSTALL_PREFIX=/usr \
  687.28 +	    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
  687.29 +	.. &&
  687.30 +	ninja &&
  687.31 +	DESTDIR=$install ninja install
  687.32 +}                                
  687.33 +                              
  687.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
  687.35 +genpkg_rules()                
  687.36 +{                                                   
  687.37 +        mkdir -p $fs/usr/bin $fs/usr/lib
  687.38 +        cp -a $install/usr/lib/*.so* $fs/usr/lib    
  687.39 +} 
   688.1 --- a/wpa_supplicant/receipt	Mon Oct 16 18:37:14 2023 +0000
   688.2 +++ b/wpa_supplicant/receipt	Sun Jan 14 08:12:37 2024 +0000
   688.3 @@ -1,7 +1,7 @@
   688.4  # SliTaz package receipt.
   688.5  
   688.6  PACKAGE="wpa_supplicant"
   688.7 -VERSION="2.9"
   688.8 +VERSION="2.10"
   688.9  CATEGORY="utilities"
  688.10  SHORT_DESC="WPA Supplicant with support for WPA and WPA2"
  688.11  MAINTAINER="0dddba11@googlemail.com"
   689.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   689.2 +++ b/wpebackend-fdo-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   689.3 @@ -0,0 +1,21 @@
   689.4 +# SliTaz package receipt.
   689.5 +
   689.6 +PACKAGE="wpebackend-fdo-dev"
   689.7 +VERSION="1.12.0"
   689.8 +CATEGORY="development"
   689.9 +SHORT_DESC="General-purpose library for WPE WebKit - development files."
  689.10 +MAINTAINER="maintainer@slitaz.org"
  689.11 +LICENSE="other"
  689.12 +WEB_SITE="https://wpewebkit.org"
  689.13 +
  689.14 +DEPENDS="libwpe-dev pkg-config"
  689.15 +WANTED="wpebackend-fdo"
  689.16 +
  689.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
  689.18 +genpkg_rules()
  689.19 +{
  689.20 +        mkdir -p $fs/usr/lib
  689.21 +
  689.22 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  689.23 +        cp -a $install/usr/include              $fs/usr
  689.24 +}
   690.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   690.2 +++ b/wpebackend-fdo/receipt	Sun Jan 14 08:12:37 2024 +0000
   690.3 @@ -0,0 +1,37 @@
   690.4 +# SliTaz package receipt.
   690.5 +
   690.6 +PACKAGE="wpebackend-fdo"
   690.7 +VERSION="1.12.0"
   690.8 +CATEGORY="libs"
   690.9 +SHORT_DESC="General-purpose library for WPE WebKit"
  690.10 +MAINTAINER="maintainer@slitaz.org"
  690.11 +LICENSE="other"
  690.12 +WEB_SITE="https://wpewebkit.org"
  690.13 +
  690.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  690.15 +WGET_URL="$WEB_SITE/releases/$TARBALL"
  690.16 +
  690.17 +DEPENDS="libxkbcommon libwpe wayland mesa libepoxy"
  690.18 +BUILD_DEPENDS="libxkbcommon-dev libwpe-dev \
  690.19 +libepoxy-dev wayland-dev mesa-dev meson"
  690.20 +
  690.21 +# Rules to configure and make the package.
  690.22 +compile_rules()
  690.23 +{
  690.24 +        meson build \
  690.25 +            --prefix=/usr \
  690.26 +            --libdir=lib \
  690.27 +            --bindir=/usr/bin \
  690.28 +            --sbindir=/usr/sbin \
  690.29 +            --buildtype=release \
  690.30 +	-Dstrip=true &&
  690.31 +        ninja -C build &&
  690.32 +        ninja -C build install
  690.33 +}
  690.34 +
  690.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
  690.36 +genpkg_rules()       
  690.37 +{                          
  690.38 +        mkdir -p $fs/usr/lib
  690.39 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
  690.40 +}
   691.1 --- a/x264-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   691.2 +++ b/x264-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   691.3 @@ -18,7 +18,6 @@
   691.4  {
   691.5  	mkdir -p $fs/usr/lib
   691.6  
   691.7 -	cp -a $src/*.*a				$fs/usr/lib
   691.8  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   691.9  	cp -a $install/usr/include		$fs/usr
  691.10  }
   692.1 --- a/x265-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   692.2 +++ b/x265-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   692.3 @@ -15,4 +15,7 @@
   692.4  genpkg_rules()
   692.5  {
   692.6  	get_dev_files
   692.7 +
   692.8 +        # Ensure remove .la files
   692.9 +        find $fs -name "*.la" -delete
  692.10  }
   693.1 --- a/xarchiver/receipt	Mon Oct 16 18:37:14 2023 +0000
   693.2 +++ b/xarchiver/receipt	Sun Jan 14 08:12:37 2024 +0000
   693.3 @@ -45,7 +45,7 @@
   693.4  # Rules to gen a SliTaz package suitable for Tazpkg.
   693.5  genpkg_rules()
   693.6  {
   693.7 -	mkdir -p $fs/usr/share
   693.8 +	mkdir -p $fs/usr/share/pixmaps
   693.9  	mkdir -p $fs/var/www/cgi-bin
  693.10  	mkdir -p $fs/usr/share/doc/xarchiver/html
  693.11  
  693.12 @@ -53,6 +53,7 @@
  693.13  	cp -a $install/usr/lib			$fs/usr
  693.14  	cp -a $install/usr/share/applications	$fs/usr/share
  693.15  	cp -a $install/usr/share/icons		$fs/usr/share
  693.16 +	cp -a $install/usr/share/pixmaps/*	$fs/usr/share/pixmaps
  693.17  
  693.18  	rm -rf					$fs/usr/share/icons/hicolor/scalable
  693.19  
   694.1 --- a/xcb-proto/receipt	Mon Oct 16 18:37:14 2023 +0000
   694.2 +++ b/xcb-proto/receipt	Sun Jan 14 08:12:37 2024 +0000
   694.3 @@ -1,7 +1,7 @@
   694.4  # SliTaz package receipt.
   694.5  
   694.6  PACKAGE="xcb-proto"
   694.7 -VERSION="1.14"
   694.8 +VERSION="1.14.1"
   694.9  CATEGORY="development"
  694.10  SHORT_DESC="X protocol descriptions for XCB."
  694.11  MAINTAINER="mallory@sweetpeople.org"
   695.1 --- a/xine-fonts/receipt	Mon Oct 16 18:37:14 2023 +0000
   695.2 +++ b/xine-fonts/receipt	Sun Jan 14 08:12:37 2024 +0000
   695.3 @@ -1,7 +1,7 @@
   695.4  # SliTaz package receipt.
   695.5  
   695.6  PACKAGE="xine-fonts"
   695.7 -VERSION="1.2.10"
   695.8 +VERSION="1.2.11"
   695.9  CATEGORY="x-window"
  695.10  SHORT_DESC="Extra fonts for Xine video player."
  695.11  MAINTAINER="pankso@slitaz.org"
   696.1 --- a/xine-lib-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   696.2 +++ b/xine-lib-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   696.3 @@ -1,7 +1,7 @@
   696.4  # SliTaz package receipt.
   696.5  
   696.6  PACKAGE="xine-lib-dev"
   696.7 -VERSION="1.2.10"
   696.8 +VERSION="1.2.11"
   696.9  CATEGORY="development"
  696.10  SHORT_DESC="Xine video library - development files."
  696.11  MAINTAINER="pankso@slitaz.org"
  696.12 @@ -22,7 +22,7 @@
  696.13  	cp -a $install/usr/bin			$fs/usr
  696.14  	chmod 755				$fs/usr/bin/*
  696.15  	cp -a $install/usr/include		$fs/usr
  696.16 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
  696.17 +	#cp -a $install/usr/lib/*.*a		$fs/usr/lib
  696.18  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  696.19  	cp -a $install/usr/share/aclocal	$fs/usr/share
  696.20  }
   697.1 --- a/xine-lib/receipt	Mon Oct 16 18:37:14 2023 +0000
   697.2 +++ b/xine-lib/receipt	Sun Jan 14 08:12:37 2024 +0000
   697.3 @@ -1,7 +1,7 @@
   697.4  # SliTaz package receipt.
   697.5  
   697.6  PACKAGE="xine-lib"
   697.7 -VERSION="1.2.10"
   697.8 +VERSION="1.2.11"
   697.9  CATEGORY="multimedia"
  697.10  SHORT_DESC="Xine video library."
  697.11  MAINTAINER="pankso@slitaz.org"
  697.12 @@ -14,7 +14,7 @@
  697.13  SUGGESTED="faac faad2 xine-fonts"
  697.14  DEPENDS="alsa-lib ffmpeg libmodplug libogg libtheora libvorbis libxcb xorg-libX11 
  697.15  	xorg-libXv xorg-libXvMC zlib"
  697.16 -BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev file freetype-dev gcc83 libmodplug-dev libogg-dev 
  697.17 +BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev file freetype-dev libmodplug-dev libogg-dev 
  697.18  	libtheora-dev libvorbis-dev libxcb-dev perl pkg-config util-linux-uuid-dev 
  697.19  	xorg-libXv-dev xorg-libXvMC-dev xorg-videoproto xorg-xextproto"
  697.20  
   698.1 --- a/xine-ui/receipt	Mon Oct 16 18:37:14 2023 +0000
   698.2 +++ b/xine-ui/receipt	Sun Jan 14 08:12:37 2024 +0000
   698.3 @@ -1,7 +1,7 @@
   698.4  # SliTaz package receipt.
   698.5  
   698.6  PACKAGE="xine-ui"
   698.7 -VERSION="0.99.10"
   698.8 +VERSION="0.99.13"
   698.9  CATEGORY="multimedia"
  698.10  SHORT_DESC="Xine media player user interface."
  698.11  MAINTAINER="pankso@slitaz.org"
   699.1 --- a/xorg-cf-files/receipt	Mon Oct 16 18:37:14 2023 +0000
   699.2 +++ b/xorg-cf-files/receipt	Sun Jan 14 08:12:37 2024 +0000
   699.3 @@ -1,7 +1,7 @@
   699.4  # SliTaz package receipt.
   699.5  
   699.6  PACKAGE="xorg-cf-files"
   699.7 -VERSION="1.0.6"
   699.8 +VERSION="1.0.7"
   699.9  CATEGORY="development"
  699.10  SHORT_DESC="Configuration files used by xorg and imake."
  699.11  MAINTAINER="rcx@zoominternet.net"
   700.1 --- a/xorg-fixesproto/receipt	Mon Oct 16 18:37:14 2023 +0000
   700.2 +++ b/xorg-fixesproto/receipt	Sun Jan 14 08:12:37 2024 +0000
   700.3 @@ -1,14 +1,15 @@
   700.4  # SliTaz package receipt.
   700.5  
   700.6  PACKAGE="xorg-fixesproto"
   700.7 -VERSION="5.0"
   700.8 +VERSION="6.0"
   700.9 +RVERSION="5.0"
  700.10  CATEGORY="development"
  700.11  SHORT_DESC="X Fixes extension headers"
  700.12  MAINTAINER="pankso@slitaz.org"
  700.13  LICENSE="other"
  700.14  WEB_SITE="https://www.x.org/"
  700.15  SOURCE="fixesproto"
  700.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  700.17 +TARBALL="$SOURCE-$RVERSION.tar.bz2"
  700.18  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
  700.19  HOST_ARCH="i486 arm"
  700.20  
  700.21 @@ -24,6 +25,10 @@
  700.22  # Rules to configure and make the package.
  700.23  compile_rules()
  700.24  {
  700.25 +	# Patch to bump 6.0 
  700.26 +	# see https://build.opensuse.org/package/show/openSUSE:Leap:15.5/fixesproto
  700.27 +	patch -p1 < $stuff/fixesproto-6.0.patch
  700.28 +
  700.29  	./configure \
  700.30  		--sysconfdir=/etc \
  700.31  		--localstatedir=/var \
   701.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   701.2 +++ b/xorg-fixesproto/stuff/fixesproto-6.0.patch	Sun Jan 14 08:12:37 2024 +0000
   701.3 @@ -0,0 +1,836 @@
   701.4 +diff -u -r fixesproto-5.0/fixesproto.pc.in fixesproto-6.0/fixesproto.pc.in
   701.5 +--- fixesproto-5.0/fixesproto.pc.in	2010-11-15 22:29:42.000000000 +0100
   701.6 ++++ fixesproto-6.0/fixesproto.pc.in	2021-10-28 11:09:06.574704000 +0200
   701.7 +@@ -1,10 +1,8 @@
   701.8 + prefix=@prefix@
   701.9 +-exec_prefix=@exec_prefix@
  701.10 +-libdir=@libdir@
  701.11 + includedir=@includedir@
  701.12 + 
  701.13 + Name: FixesProto
  701.14 + Description: X Fixes extension headers
  701.15 +-Version: @PACKAGE_VERSION@
  701.16 ++Version: 6.0
  701.17 + Cflags: -I${includedir}
  701.18 + Requires: xextproto >= 7.0.99.1
  701.19 +diff -u -r fixesproto-5.0/fixesproto.txt fixesproto-6.0/fixesproto.txt
  701.20 +--- fixesproto-5.0/fixesproto.txt	2011-02-23 17:47:21.000000000 +0100
  701.21 ++++ fixesproto-6.0/fixesproto.txt	2021-10-28 11:09:22.137906000 +0200
  701.22 +@@ -190,7 +190,7 @@
  701.23 + 	Servers supporting the X Input Extension Version 2.0 or higher only
  701.24 + 	notify the clients of cursor change events for the ClientPointer, not
  701.25 + 	of any other master pointer (see Section 4.4. in the XI2 protocol
  701.26 +-	specificiation).
  701.27 ++	specification).
  701.28 + 
  701.29 + GetCursorImage
  701.30 + 
  701.31 +@@ -469,8 +469,8 @@
  701.32 + 		y-hot:			CARD16
  701.33 + 		cursor-serial:		CARD32
  701.34 + 		cursor-atom:		ATOM
  701.35 +-		cursor-name:		LISTofCARD8
  701.36 + 		cursor-image:		LISTofCARD32
  701.37 ++		cursor-name:		LISTofCARD8
  701.38 + 
  701.39 + 	This is similar to GetCursorImage except for including both
  701.40 + 	the atom and name of the current cursor.
  701.41 +@@ -525,20 +525,14 @@
  701.42 + 
  701.43 + 	A client sends this request to indicate that it wants the
  701.44 + 	cursor image to be hidden (i.e. to not be displayed) when
  701.45 +-	the sprite is inside the specified window, or one of its
  701.46 +-	subwindows. If the sprite is inside a window for which one
  701.47 +-	or more active clients have requested cursor hiding then the
  701.48 +-	cursor image will not be displayed.
  701.49 ++	the sprite is on the same screen as the specified window.
  701.50 ++	The sprite will be hidden if one or more clients have called
  701.51 ++	HideCursor and not ShowCursor.
  701.52 + 
  701.53 + 	Note that even though cursor hiding causes the cursor image
  701.54 + 	to be invisible, CursorNotify events will still be sent
  701.55 + 	normally, as if the cursor image were visible.
  701.56 + 
  701.57 +-	If, during a grab, one or more active clients have requested
  701.58 +-	cursor hiding for grab window, or one of its ancestors, the
  701.59 +-	cursor image of the grab cursor will not be displayed during
  701.60 +-	the lifetime of that grab.
  701.61 +-
  701.62 + 	When a client with outstanding cursor hiding requests
  701.63 + 	terminates its connection these requests will be deleted.
  701.64 + 
  701.65 +@@ -552,13 +546,9 @@
  701.66 + 		window:			WINDOW
  701.67 + 
  701.68 + 	A client sends this request to indicate that it wants the
  701.69 +-	cursor image to be displayed when the sprite is inside the
  701.70 +-	specified window, or one of its subwindows. If the sprite
  701.71 +-	is inside a window for which no active clients have requested
  701.72 +-	cursor hiding then the cursor image for that window will be
  701.73 +-	displayed. In other words, if a client calls HideCursor for
  701.74 +-	a specified window, or window subtree, this request reverses
  701.75 +-	the effects of the HideCursor request.
  701.76 ++	cursor image to be displayed when the sprite is on the same
  701.77 ++	screen as the specified window. The sprite will be hidden
  701.78 ++	if one or more clients have called HideCursor and not ShowCursor.
  701.79 + 
  701.80 + 	If the client has made no outstanding HideCursor requests
  701.81 + 	a BadMatch error is generated.
  701.82 +@@ -606,13 +596,13 @@
  701.83 + CreatePointerBarrier
  701.84 + 
  701.85 + 		barrier:		    BARRIER
  701.86 +-		drawable:		    DRAWABLE
  701.87 ++		window:			    Window
  701.88 + 		x1, y2, x2, y2:		    INT16
  701.89 + 		directions:		    CARD32
  701.90 + 		devices:		    LISTofDEVICEID
  701.91 + 
  701.92 + 	Creates a pointer barrier along the line specified by the given
  701.93 +-	coordinates on the screen associated with the given drawable.  The
  701.94 ++	coordinates on the screen associated with the given window.  The
  701.95 + 	barrier has no spatial extent; it is simply a line along the left
  701.96 + 	or top edge of the specified pixels.  Barrier coordinates are in
  701.97 + 	screen space.
  701.98 +@@ -650,6 +640,63 @@
  701.99 + 
 701.100 + 	Errors: Barrier 
 701.101 + 
 701.102 ++************* XFIXES VERSION 6 OR BETTER ***********
 701.103 ++
 701.104 ++13. Disconnect mode
 701.105 ++
 701.106 ++The X11 server is capable of terminating itself once all X11 clients are
 701.107 ++gone.
 701.108 ++
 701.109 ++Yet, in a typical user session, there are a number of X11 clients running
 701.110 ++continuously (e.g. Xsettings daemon, IBus, etc.). Those always-running
 701.111 ++clients will prevent the X11 server from terminating, because the actual
 701.112 ++number of X11 clients will never drop to 0.
 701.113 ++
 701.114 ++Disconnect mode allows the X11 clients themselves to specify that they
 701.115 ++should not be accounted for when checking the remaining clients prior
 701.116 ++to terminate the X11 server.
 701.117 ++
 701.118 ++This can be particularly useful for Wayland compositors which are able to
 701.119 ++start Xwayland on demand, as this allows Xwayland to terminate automatically
 701.120 ++when the relevant X11 clients have quit.
 701.121 ++
 701.122 ++13.1 Types
 701.123 ++
 701.124 ++	XFixesClientDisconnectFlags
 701.125 ++
 701.126 ++		XFixesClientDisconnectFlagDefault:	    0
 701.127 ++		XFixesClientDisconnectFlagTerminate:	    1 << 0
 701.128 ++
 701.129 ++	XFixesClientDisconnectFlagDefault is the default behavior for
 701.130 ++	regular clients, i.e. the X11 server won't terminate as long as such
 701.131 ++	clients are still connected.
 701.132 ++
 701.133 ++	XFixesClientDisconnectFlagTerminate indicates to the X11 server that
 701.134 ++	it can ignore the client and terminate itself even though the client
 701.135 ++	is still connected to the X11 server.
 701.136 ++
 701.137 ++13.2 Requests
 701.138 ++
 701.139 ++SetClientDisconnectMode
 701.140 ++
 701.141 ++		disconnect-mode:	    CARD32
 701.142 ++
 701.143 ++	Sets the disconnect mode for the client.
 701.144 ++
 701.145 ++	The disconnect-mode is a bit mask of XFixesClientDisconnectFlags.
 701.146 ++
 701.147 ++
 701.148 ++GetClientDisconnectMode
 701.149 ++
 701.150 ++	Gets the disconnect mode for the client.
 701.151 ++
 701.152 ++		->
 701.153 ++
 701.154 ++		disconnect-mode:	    CARD32
 701.155 ++
 701.156 ++	The disconnect-mode is a bit mask of XFixesClientDisconnectFlags.
 701.157 ++
 701.158 ++
 701.159 + 99. Future compatibility
 701.160 + 
 701.161 + This extension is not expected to remain fixed.  Future changes will
 701.162 +diff -u -r fixesproto-5.0/xfixesproto.h fixesproto-6.0/xfixesproto.h
 701.163 +--- fixesproto-5.0/xfixesproto.h	2011-02-23 17:47:21.000000000 +0100
 701.164 ++++ fixesproto-6.0/xfixesproto.h	2021-10-28 11:09:54.950687000 +0200
 701.165 +@@ -69,18 +69,18 @@
 701.166 + typedef struct {
 701.167 +     CARD8   reqType;
 701.168 +     CARD8   xfixesReqType;
 701.169 +-    CARD16  length B16;
 701.170 ++    CARD16  length;
 701.171 + } xXFixesReq;
 701.172 + 
 701.173 +-/* 
 701.174 ++/*
 701.175 +  * requests and replies
 701.176 +  */
 701.177 + typedef struct {
 701.178 +     CARD8   reqType;
 701.179 +     CARD8   xfixesReqType;
 701.180 +-    CARD16  length B16;
 701.181 +-    CARD32  majorVersion B32;
 701.182 +-    CARD32  minorVersion B32;
 701.183 ++    CARD16  length;
 701.184 ++    CARD32  majorVersion;
 701.185 ++    CARD32  minorVersion;
 701.186 + } xXFixesQueryVersionReq;
 701.187 + 
 701.188 + #define sz_xXFixesQueryVersionReq   12
 701.189 +@@ -88,14 +88,14 @@
 701.190 + typedef struct {
 701.191 +     BYTE    type;   /* X_Reply */
 701.192 +     BYTE    pad1;
 701.193 +-    CARD16  sequenceNumber B16;
 701.194 +-    CARD32  length B32;
 701.195 +-    CARD32  majorVersion B32;
 701.196 +-    CARD32  minorVersion B32;
 701.197 +-    CARD32  pad2 B32;
 701.198 +-    CARD32  pad3 B32;
 701.199 +-    CARD32  pad4 B32;
 701.200 +-    CARD32  pad5 B32;
 701.201 ++    CARD16  sequenceNumber;
 701.202 ++    CARD32  length;
 701.203 ++    CARD32  majorVersion;
 701.204 ++    CARD32  minorVersion;
 701.205 ++    CARD32  pad2;
 701.206 ++    CARD32  pad3;
 701.207 ++    CARD32  pad4;
 701.208 ++    CARD32  pad5;
 701.209 + } xXFixesQueryVersionReply;
 701.210 + 
 701.211 + #define sz_xXFixesQueryVersionReply	32
 701.212 +@@ -103,7 +103,7 @@
 701.213 + typedef struct {
 701.214 +     CARD8   reqType;
 701.215 +     CARD8   xfixesReqType;
 701.216 +-    CARD16  length B16;
 701.217 ++    CARD16  length;
 701.218 +     BYTE    mode;	    /* SetModeInsert/SetModeDelete*/
 701.219 +     BYTE    target;	    /* SaveSetNearest/SaveSetRoot*/
 701.220 +     BYTE    map;	    /* SaveSetMap/SaveSetUnmap */
 701.221 +@@ -116,10 +116,10 @@
 701.222 + typedef struct {
 701.223 +     CARD8   reqType;
 701.224 +     CARD8   xfixesReqType;
 701.225 +-    CARD16  length B16;
 701.226 +-    Window  window  B32;
 701.227 +-    Atom    selection B32;
 701.228 +-    CARD32  eventMask B32;
 701.229 ++    CARD16  length;
 701.230 ++    Window  window;
 701.231 ++    Atom    selection;
 701.232 ++    CARD32  eventMask;
 701.233 + } xXFixesSelectSelectionInputReq;
 701.234 + 
 701.235 + #define sz_xXFixesSelectSelectionInputReq   16
 701.236 +@@ -127,22 +127,22 @@
 701.237 + typedef struct {
 701.238 +     CARD8   type;
 701.239 +     CARD8   subtype;
 701.240 +-    CARD16  sequenceNumber B16;
 701.241 +-    Window  window B32;
 701.242 +-    Window  owner B32;
 701.243 +-    Atom    selection B32;
 701.244 +-    Time    timestamp B32;
 701.245 +-    Time    selectionTimestamp B32;
 701.246 +-    CARD32  pad2 B32;
 701.247 +-    CARD32  pad3 B32;
 701.248 ++    CARD16  sequenceNumber;
 701.249 ++    Window  window;
 701.250 ++    Window  owner;
 701.251 ++    Atom    selection;
 701.252 ++    Time    timestamp;
 701.253 ++    Time    selectionTimestamp;
 701.254 ++    CARD32  pad2;
 701.255 ++    CARD32  pad3;
 701.256 + } xXFixesSelectionNotifyEvent;
 701.257 + 
 701.258 + typedef struct {
 701.259 +     CARD8   reqType;
 701.260 +     CARD8   xfixesReqType;
 701.261 +-    CARD16  length B16;
 701.262 +-    Window  window B32;
 701.263 +-    CARD32  eventMask B32;
 701.264 ++    CARD16  length;
 701.265 ++    Window  window;
 701.266 ++    CARD32  eventMask;
 701.267 + } xXFixesSelectCursorInputReq;
 701.268 + 
 701.269 + #define sz_xXFixesSelectCursorInputReq	12
 701.270 +@@ -150,20 +150,20 @@
 701.271 + typedef struct {
 701.272 +     CARD8   type;
 701.273 +     CARD8   subtype;
 701.274 +-    CARD16  sequenceNumber B16;
 701.275 +-    Window  window B32;
 701.276 +-    CARD32  cursorSerial B32;
 701.277 ++    CARD16  sequenceNumber;
 701.278 ++    Window  window;
 701.279 ++    CARD32  cursorSerial;
 701.280 +     Time    timestamp;
 701.281 +-    Atom    name B32;	    /* Version 2 */
 701.282 +-    CARD32  pad1 B32;
 701.283 +-    CARD32  pad2 B32;
 701.284 +-    CARD32  pad3 B32;
 701.285 ++    Atom    name;	    /* Version 2 */
 701.286 ++    CARD32  pad1;
 701.287 ++    CARD32  pad2;
 701.288 ++    CARD32  pad3;
 701.289 + } xXFixesCursorNotifyEvent;
 701.290 + 
 701.291 + typedef struct {
 701.292 +     CARD8   reqType;
 701.293 +     CARD8   xfixesReqType;
 701.294 +-    CARD16  length B16;
 701.295 ++    CARD16  length;
 701.296 + } xXFixesGetCursorImageReq;
 701.297 + 
 701.298 + #define sz_xXFixesGetCursorImageReq 4
 701.299 +@@ -171,17 +171,17 @@
 701.300 + typedef struct {
 701.301 +     BYTE    type;   /* X_Reply */
 701.302 +     BYTE    pad1;
 701.303 +-    CARD16  sequenceNumber B16;
 701.304 +-    CARD32  length B32;
 701.305 +-    INT16   x B16;
 701.306 +-    INT16   y B16;
 701.307 +-    CARD16  width B16;
 701.308 +-    CARD16  height B16;
 701.309 +-    CARD16  xhot B16;
 701.310 +-    CARD16  yhot B16;
 701.311 +-    CARD32  cursorSerial B32;
 701.312 +-    CARD32  pad2 B32;
 701.313 +-    CARD32  pad3 B32;
 701.314 ++    CARD16  sequenceNumber;
 701.315 ++    CARD32  length;
 701.316 ++    INT16   x;
 701.317 ++    INT16   y;
 701.318 ++    CARD16  width;
 701.319 ++    CARD16  height;
 701.320 ++    CARD16  xhot;
 701.321 ++    CARD16  yhot;
 701.322 ++    CARD32  cursorSerial;
 701.323 ++    CARD32  pad2;
 701.324 ++    CARD32  pad3;
 701.325 + } xXFixesGetCursorImageReply;
 701.326 + 
 701.327 + #define sz_xXFixesGetCursorImageReply	32
 701.328 +@@ -193,8 +193,8 @@
 701.329 + typedef struct {
 701.330 +     CARD8   reqType;
 701.331 +     CARD8   xfixesReqType;
 701.332 +-    CARD16  length B16;
 701.333 +-    Region  region B32;
 701.334 ++    CARD16  length;
 701.335 ++    Region  region;
 701.336 +     /* LISTofRECTANGLE */
 701.337 + } xXFixesCreateRegionReq;
 701.338 + 
 701.339 +@@ -203,9 +203,9 @@
 701.340 + typedef struct {
 701.341 +     CARD8   reqType;
 701.342 +     CARD8   xfixesReqType;
 701.343 +-    CARD16  length B16;
 701.344 +-    Region  region B32;
 701.345 +-    Pixmap  bitmap B32;
 701.346 ++    CARD16  length;
 701.347 ++    Region  region;
 701.348 ++    Pixmap  bitmap;
 701.349 + } xXFixesCreateRegionFromBitmapReq;
 701.350 + 
 701.351 + #define sz_xXFixesCreateRegionFromBitmapReq	12
 701.352 +@@ -213,12 +213,12 @@
 701.353 + typedef struct {
 701.354 +     CARD8   reqType;
 701.355 +     CARD8   xfixesReqType;
 701.356 +-    CARD16  length B16;
 701.357 +-    Region  region B32;
 701.358 +-    Window  window B32;
 701.359 ++    CARD16  length;
 701.360 ++    Region  region;
 701.361 ++    Window  window;
 701.362 +     CARD8   kind;
 701.363 +     CARD8   pad1;
 701.364 +-    CARD16  pad2 B16;
 701.365 ++    CARD16  pad2;
 701.366 + } xXFixesCreateRegionFromWindowReq;
 701.367 + 
 701.368 + #define sz_xXFixesCreateRegionFromWindowReq	16
 701.369 +@@ -226,9 +226,9 @@
 701.370 + typedef struct {
 701.371 +     CARD8   reqType;
 701.372 +     CARD8   xfixesReqType;
 701.373 +-    CARD16  length B16;
 701.374 +-    Region  region B32;
 701.375 +-    GContext gc B32;
 701.376 ++    CARD16  length;
 701.377 ++    Region  region;
 701.378 ++    GContext gc;
 701.379 + } xXFixesCreateRegionFromGCReq;
 701.380 + 
 701.381 + #define sz_xXFixesCreateRegionFromGCReq	12
 701.382 +@@ -236,9 +236,9 @@
 701.383 + typedef struct {
 701.384 +     CARD8   reqType;
 701.385 +     CARD8   xfixesReqType;
 701.386 +-    CARD16  length B16;
 701.387 +-    Region  region B32;
 701.388 +-    Picture picture B32;
 701.389 ++    CARD16  length;
 701.390 ++    Region  region;
 701.391 ++    Picture picture;
 701.392 + } xXFixesCreateRegionFromPictureReq;
 701.393 + 
 701.394 + #define sz_xXFixesCreateRegionFromPictureReq	12
 701.395 +@@ -246,8 +246,8 @@
 701.396 + typedef struct {
 701.397 +     CARD8   reqType;
 701.398 +     CARD8   xfixesReqType;
 701.399 +-    CARD16  length B16;
 701.400 +-    Region  region B32;
 701.401 ++    CARD16  length;
 701.402 ++    Region  region;
 701.403 + } xXFixesDestroyRegionReq;
 701.404 + 
 701.405 + #define sz_xXFixesDestroyRegionReq	8
 701.406 +@@ -255,8 +255,8 @@
 701.407 + typedef struct {
 701.408 +     CARD8   reqType;
 701.409 +     CARD8   xfixesReqType;
 701.410 +-    CARD16  length B16;
 701.411 +-    Region  region B32;
 701.412 ++    CARD16  length;
 701.413 ++    Region  region;
 701.414 +     /* LISTofRECTANGLE */
 701.415 + } xXFixesSetRegionReq;
 701.416 + 
 701.417 +@@ -265,9 +265,9 @@
 701.418 + typedef struct {
 701.419 +     CARD8   reqType;
 701.420 +     CARD8   xfixesReqType;
 701.421 +-    CARD16  length B16;
 701.422 +-    Region  source B32;
 701.423 +-    Region  destination B32;
 701.424 ++    CARD16  length;
 701.425 ++    Region  source;
 701.426 ++    Region  destination;
 701.427 + } xXFixesCopyRegionReq;
 701.428 + 
 701.429 + #define sz_xXFixesCopyRegionReq		12
 701.430 +@@ -275,10 +275,10 @@
 701.431 + typedef struct {
 701.432 +     CARD8   reqType;
 701.433 +     CARD8   xfixesReqType;
 701.434 +-    CARD16  length B16;
 701.435 +-    Region  source1 B32;
 701.436 +-    Region  source2 B32;
 701.437 +-    Region  destination B32;
 701.438 ++    CARD16  length;
 701.439 ++    Region  source1;
 701.440 ++    Region  source2;
 701.441 ++    Region  destination;
 701.442 + } xXFixesCombineRegionReq,
 701.443 +   xXFixesUnionRegionReq,
 701.444 +   xXFixesIntersectRegionReq,
 701.445 +@@ -292,11 +292,11 @@
 701.446 + typedef struct {
 701.447 +     CARD8   reqType;
 701.448 +     CARD8   xfixesReqType;
 701.449 +-    CARD16  length B16;
 701.450 +-    Region  source B32;
 701.451 +-    INT16   x B16, y B16;
 701.452 +-    CARD16  width B16, height B16;
 701.453 +-    Region  destination B32;
 701.454 ++    CARD16  length;
 701.455 ++    Region  source;
 701.456 ++    INT16   x, y;
 701.457 ++    CARD16  width, height;
 701.458 ++    Region  destination;
 701.459 + } xXFixesInvertRegionReq;
 701.460 + 
 701.461 + #define sz_xXFixesInvertRegionReq	20
 701.462 +@@ -304,19 +304,19 @@
 701.463 + typedef struct {
 701.464 +     CARD8   reqType;
 701.465 +     CARD8   xfixesReqType;
 701.466 +-    CARD16  length B16;
 701.467 +-    Region  region B32;
 701.468 +-    INT16   dx B16, dy B16;
 701.469 ++    CARD16  length;
 701.470 ++    Region  region;
 701.471 ++    INT16   dx, dy;
 701.472 + } xXFixesTranslateRegionReq;
 701.473 + 
 701.474 + #define sz_xXFixesTranslateRegionReq	12
 701.475 +-    
 701.476 ++
 701.477 + typedef struct {
 701.478 +     CARD8   reqType;
 701.479 +     CARD8   xfixesReqType;
 701.480 +-    CARD16  length B16;
 701.481 +-    Region  source B32;
 701.482 +-    Region  destination B32;
 701.483 ++    CARD16  length;
 701.484 ++    Region  source;
 701.485 ++    Region  destination;
 701.486 + } xXFixesRegionExtentsReq;
 701.487 + 
 701.488 + #define sz_xXFixesRegionExtentsReq	12
 701.489 +@@ -324,8 +324,8 @@
 701.490 + typedef struct {
 701.491 +     CARD8   reqType;
 701.492 +     CARD8   xfixesReqType;
 701.493 +-    CARD16  length B16;
 701.494 +-    Region  region B32;
 701.495 ++    CARD16  length;
 701.496 ++    Region  region;
 701.497 + } xXFixesFetchRegionReq;
 701.498 + 
 701.499 + #define sz_xXFixesFetchRegionReq	8
 701.500 +@@ -333,14 +333,14 @@
 701.501 + typedef struct {
 701.502 +     BYTE    type;   /* X_Reply */
 701.503 +     BYTE    pad1;
 701.504 +-    CARD16  sequenceNumber B16;
 701.505 +-    CARD32  length B32;
 701.506 +-    INT16   x B16, y B16;
 701.507 +-    CARD16  width B16, height B16;
 701.508 +-    CARD32  pad2 B32;
 701.509 +-    CARD32  pad3 B32;
 701.510 +-    CARD32  pad4 B32;
 701.511 +-    CARD32  pad5 B32;
 701.512 ++    CARD16  sequenceNumber;
 701.513 ++    CARD32  length;
 701.514 ++    INT16   x, y;
 701.515 ++    CARD16  width, height;
 701.516 ++    CARD32  pad2;
 701.517 ++    CARD32  pad3;
 701.518 ++    CARD32  pad4;
 701.519 ++    CARD32  pad5;
 701.520 + } xXFixesFetchRegionReply;
 701.521 + 
 701.522 + #define sz_xXFixesFetchRegionReply	32
 701.523 +@@ -348,10 +348,10 @@
 701.524 + typedef struct {
 701.525 +     CARD8   reqType;
 701.526 +     CARD8   xfixesReqType;
 701.527 +-    CARD16  length B16;
 701.528 +-    GContext	gc B32;
 701.529 +-    Region  region B32;
 701.530 +-    INT16   xOrigin B16, yOrigin B16;
 701.531 ++    CARD16  length;
 701.532 ++    GContext	gc;
 701.533 ++    Region  region;
 701.534 ++    INT16   xOrigin, yOrigin;
 701.535 + } xXFixesSetGCClipRegionReq;
 701.536 + 
 701.537 + #define sz_xXFixesSetGCClipRegionReq	16
 701.538 +@@ -359,12 +359,12 @@
 701.539 + typedef struct {
 701.540 +     CARD8   reqType;
 701.541 +     CARD8   xfixesReqType;
 701.542 +-    CARD16  length B16;
 701.543 ++    CARD16  length;
 701.544 +     Window  dest;
 701.545 +     BYTE    destKind;
 701.546 +     CARD8   pad1;
 701.547 +-    CARD16  pad2 B16;
 701.548 +-    INT16   xOff B16, yOff B16;
 701.549 ++    CARD16  pad2;
 701.550 ++    INT16   xOff, yOff;
 701.551 +     Region  region;
 701.552 + } xXFixesSetWindowShapeRegionReq;
 701.553 + 
 701.554 +@@ -373,10 +373,10 @@
 701.555 + typedef struct {
 701.556 +     CARD8   reqType;
 701.557 +     CARD8   xfixesReqType;
 701.558 +-    CARD16  length B16;
 701.559 +-    Picture picture B32;
 701.560 +-    Region  region B32;
 701.561 +-    INT16   xOrigin B16, yOrigin B16;
 701.562 ++    CARD16  length;
 701.563 ++    Picture picture;
 701.564 ++    Region  region;
 701.565 ++    INT16   xOrigin, yOrigin;
 701.566 + } xXFixesSetPictureClipRegionReq;
 701.567 + 
 701.568 + #define sz_xXFixesSetPictureClipRegionReq   16
 701.569 +@@ -384,10 +384,10 @@
 701.570 + typedef struct {
 701.571 +     CARD8   reqType;
 701.572 +     CARD8   xfixesReqType;
 701.573 +-    CARD16  length B16;
 701.574 +-    Cursor  cursor B32;
 701.575 +-    CARD16  nbytes B16;
 701.576 +-    CARD16  pad B16;
 701.577 ++    CARD16  length;
 701.578 ++    Cursor  cursor;
 701.579 ++    CARD16  nbytes;
 701.580 ++    CARD16  pad;
 701.581 + } xXFixesSetCursorNameReq;
 701.582 + 
 701.583 + #define sz_xXFixesSetCursorNameReq	    12
 701.584 +@@ -395,8 +395,8 @@
 701.585 + typedef struct {
 701.586 +     CARD8   reqType;
 701.587 +     CARD8   xfixesReqType;
 701.588 +-    CARD16  length B16;
 701.589 +-    Cursor  cursor B32;
 701.590 ++    CARD16  length;
 701.591 ++    Cursor  cursor;
 701.592 + } xXFixesGetCursorNameReq;
 701.593 + 
 701.594 + #define sz_xXFixesGetCursorNameReq	    8
 701.595 +@@ -404,15 +404,15 @@
 701.596 + typedef struct {
 701.597 +     BYTE    type;   /* X_Reply */
 701.598 +     BYTE    pad1;
 701.599 +-    CARD16  sequenceNumber B16;
 701.600 +-    CARD32  length B32;
 701.601 +-    Atom    atom B32;
 701.602 +-    CARD16  nbytes B16;
 701.603 +-    CARD16  pad2 B16;
 701.604 +-    CARD32  pad3 B32;
 701.605 +-    CARD32  pad4 B32;
 701.606 +-    CARD32  pad5 B32;
 701.607 +-    CARD32  pad6 B32;
 701.608 ++    CARD16  sequenceNumber;
 701.609 ++    CARD32  length;
 701.610 ++    Atom    atom;
 701.611 ++    CARD16  nbytes;
 701.612 ++    CARD16  pad2;
 701.613 ++    CARD32  pad3;
 701.614 ++    CARD32  pad4;
 701.615 ++    CARD32  pad5;
 701.616 ++    CARD32  pad6;
 701.617 + } xXFixesGetCursorNameReply;
 701.618 + 
 701.619 + #define sz_xXFixesGetCursorNameReply	    32
 701.620 +@@ -420,7 +420,7 @@
 701.621 + typedef struct {
 701.622 +     CARD8   reqType;
 701.623 +     CARD8   xfixesReqType;
 701.624 +-    CARD16  length B16;
 701.625 ++    CARD16  length;
 701.626 + } xXFixesGetCursorImageAndNameReq;
 701.627 + 
 701.628 + #define sz_xXFixesGetCursorImageAndNameReq  4
 701.629 +@@ -428,18 +428,18 @@
 701.630 + typedef struct {
 701.631 +     BYTE    type;   /* X_Reply */
 701.632 +     BYTE    pad1;
 701.633 +-    CARD16  sequenceNumber B16;
 701.634 +-    CARD32  length B32;
 701.635 +-    INT16   x B16;
 701.636 +-    INT16   y B16;
 701.637 +-    CARD16  width B16;
 701.638 +-    CARD16  height B16;
 701.639 +-    CARD16  xhot B16;
 701.640 +-    CARD16  yhot B16;
 701.641 +-    CARD32  cursorSerial B32;
 701.642 +-    Atom    cursorName B32;
 701.643 +-    CARD16  nbytes B16;
 701.644 +-    CARD16  pad B16;
 701.645 ++    CARD16  sequenceNumber;
 701.646 ++    CARD32  length;
 701.647 ++    INT16   x;
 701.648 ++    INT16   y;
 701.649 ++    CARD16  width;
 701.650 ++    CARD16  height;
 701.651 ++    CARD16  xhot;
 701.652 ++    CARD16  yhot;
 701.653 ++    CARD32  cursorSerial;
 701.654 ++    Atom    cursorName;
 701.655 ++    CARD16  nbytes;
 701.656 ++    CARD16  pad;
 701.657 + } xXFixesGetCursorImageAndNameReply;
 701.658 + 
 701.659 + #define sz_xXFixesGetCursorImageAndNameReply	32
 701.660 +@@ -447,9 +447,9 @@
 701.661 + typedef struct {
 701.662 +     CARD8   reqType;
 701.663 +     CARD8   xfixesReqType;
 701.664 +-    CARD16  length B16;
 701.665 +-    Cursor  source B32;
 701.666 +-    Cursor  destination B32;
 701.667 ++    CARD16  length;
 701.668 ++    Cursor  source;
 701.669 ++    Cursor  destination;
 701.670 + } xXFixesChangeCursorReq;
 701.671 + 
 701.672 + #define sz_xXFixesChangeCursorReq	12
 701.673 +@@ -457,8 +457,8 @@
 701.674 + typedef struct {
 701.675 +     CARD8   reqType;
 701.676 +     CARD8   xfixesReqType;
 701.677 +-    CARD16  length B16;
 701.678 +-    Cursor  source B32;
 701.679 ++    CARD16  length;
 701.680 ++    Cursor  source;
 701.681 +     CARD16  nbytes;
 701.682 +     CARD16  pad;
 701.683 + } xXFixesChangeCursorByNameReq;
 701.684 +@@ -470,13 +470,13 @@
 701.685 + typedef struct {
 701.686 +     CARD8   reqType;
 701.687 +     CARD8   xfixesReqType;
 701.688 +-    CARD16  length B16;
 701.689 +-    Region  source B32;
 701.690 +-    Region  destination B32;
 701.691 +-    CARD16  left B16;
 701.692 +-    CARD16  right B16;
 701.693 +-    CARD16  top B16;
 701.694 +-    CARD16  bottom B16;
 701.695 ++    CARD16  length;
 701.696 ++    Region  source;
 701.697 ++    Region  destination;
 701.698 ++    CARD16  left;
 701.699 ++    CARD16  right;
 701.700 ++    CARD16  top;
 701.701 ++    CARD16  bottom;
 701.702 + } xXFixesExpandRegionReq;
 701.703 + 
 701.704 + #define sz_xXFixesExpandRegionReq	20
 701.705 +@@ -486,8 +486,8 @@
 701.706 + typedef struct {
 701.707 +     CARD8   reqType;
 701.708 +     CARD8   xfixesReqType;
 701.709 +-    CARD16  length B16;
 701.710 +-    Window  window B32;
 701.711 ++    CARD16  length;
 701.712 ++    Window  window;
 701.713 + } xXFixesHideCursorReq;
 701.714 + 
 701.715 + #define sz_xXFixesHideCursorReq	sizeof(xXFixesHideCursorReq)
 701.716 +@@ -495,8 +495,8 @@
 701.717 + typedef struct {
 701.718 +     CARD8   reqType;
 701.719 +     CARD8   xfixesReqType;
 701.720 +-    CARD16  length B16;
 701.721 +-    Window  window B32;
 701.722 ++    CARD16  length;
 701.723 ++    Window  window;
 701.724 + } xXFixesShowCursorReq;
 701.725 + 
 701.726 + #define sz_xXFixesShowCursorReq	sizeof(xXFixesShowCursorReq)
 701.727 +@@ -508,16 +508,16 @@
 701.728 + typedef struct {
 701.729 +     CARD8   reqType;
 701.730 +     CARD8   xfixesReqType;
 701.731 +-    CARD16  length B16;
 701.732 +-    Barrier barrier B32;
 701.733 +-    Window  window B32;
 701.734 +-    INT16   x1 B16;
 701.735 +-    INT16   y1 B16;
 701.736 +-    INT16   x2 B16;
 701.737 +-    INT16   y2 B16;
 701.738 ++    CARD16  length;
 701.739 ++    Barrier barrier;
 701.740 ++    Window  window;
 701.741 ++    INT16   x1;
 701.742 ++    INT16   y1;
 701.743 ++    INT16   x2;
 701.744 ++    INT16   y2;
 701.745 +     CARD32  directions;
 701.746 +-    CARD16  pad B16;
 701.747 +-    CARD16  num_devices B16;
 701.748 ++    CARD16  pad;
 701.749 ++    CARD16  num_devices;
 701.750 +     /* array of CARD16 devices */
 701.751 + } xXFixesCreatePointerBarrierReq;
 701.752 + 
 701.753 +@@ -526,12 +526,46 @@
 701.754 + typedef struct {
 701.755 +     CARD8   reqType;
 701.756 +     CARD8   xfixesReqType;
 701.757 +-    CARD16  length B16;
 701.758 +-    Barrier barrier B32;
 701.759 ++    CARD16  length;
 701.760 ++    Barrier barrier;
 701.761 + } xXFixesDestroyPointerBarrierReq;
 701.762 + 
 701.763 + #define sz_xXFixesDestroyPointerBarrierReq 8
 701.764 + 
 701.765 ++/*************** Version 6.0 ******************/
 701.766 ++
 701.767 ++typedef struct {
 701.768 ++    CARD8   reqType;
 701.769 ++    CARD8   xfixesReqType;
 701.770 ++    CARD16  length;
 701.771 ++    CARD32  disconnect_mode;
 701.772 ++} xXFixesSetClientDisconnectModeReq;
 701.773 ++
 701.774 ++#define sz_xXFixesSetClientDisconnectModeReq    8
 701.775 ++
 701.776 ++typedef struct {
 701.777 ++    CARD8   reqType;
 701.778 ++    CARD8   xfixesReqType;
 701.779 ++    CARD16  length;
 701.780 ++} xXFixesGetClientDisconnectModeReq;
 701.781 ++
 701.782 ++#define sz_xXFixesGetClientDisconnectModeReq    4
 701.783 ++
 701.784 ++typedef struct {
 701.785 ++    BYTE        type;                   /* X_Reply */
 701.786 ++    CARD8       pad0;
 701.787 ++    CARD16      sequenceNumber;
 701.788 ++    CARD32      length;
 701.789 ++    CARD32      disconnect_mode;
 701.790 ++    CARD32      pad1;
 701.791 ++    CARD32      pad2;
 701.792 ++    CARD32      pad3;
 701.793 ++    CARD32      pad4;
 701.794 ++    CARD32      pad5;
 701.795 ++} xXFixesGetClientDisconnectModeReply;
 701.796 ++
 701.797 ++#define sz_xXFixesGetClientDisconnectModeReply	32
 701.798 ++
 701.799 + #undef Barrier
 701.800 + #undef Region
 701.801 + #undef Picture
 701.802 +diff -u -r fixesproto-5.0/xfixeswire.h fixesproto-6.0/xfixeswire.h
 701.803 +--- fixesproto-5.0/xfixeswire.h	2011-02-23 17:47:21.000000000 +0100
 701.804 ++++ fixesproto-6.0/xfixeswire.h	2021-10-28 11:10:15.562761000 +0200
 701.805 +@@ -48,7 +48,7 @@
 701.806 + #define _XFIXESWIRE_H_
 701.807 + 
 701.808 + #define XFIXES_NAME	"XFIXES"
 701.809 +-#define XFIXES_MAJOR	5
 701.810 ++#define XFIXES_MAJOR	6
 701.811 + #define XFIXES_MINOR	0
 701.812 + 
 701.813 + /*************** Version 1 ******************/
 701.814 +@@ -89,8 +89,11 @@
 701.815 + /*************** Version 5 ******************/
 701.816 + #define X_XFixesCreatePointerBarrier	    31
 701.817 + #define X_XFixesDestroyPointerBarrier	    32
 701.818 ++/*************** Version 6 ******************/
 701.819 ++#define X_XFixesSetClientDisconnectMode	    33
 701.820 ++#define X_XFixesGetClientDisconnectMode	    34
 701.821 + 
 701.822 +-#define XFixesNumberRequests		    (X_XFixesDestroyPointerBarrier+1)
 701.823 ++#define XFixesNumberRequests		    (X_XFixesGetClientDisconnectMode+1)
 701.824 + 
 701.825 + /* Selection events share one event number */
 701.826 + #define XFixesSelectionNotify		    0
 701.827 +@@ -136,4 +139,11 @@
 701.828 + #define BarrierNegativeX		    (1L << 2)
 701.829 + #define BarrierNegativeY		    (1L << 3)
 701.830 + 
 701.831 ++/*************** Version 6 ******************/
 701.832 ++
 701.833 ++/* The default server behaviour */
 701.834 ++#define XFixesClientDisconnectFlagDefault   0
 701.835 ++/* The server may disconnect this client to shut down */
 701.836 ++#define XFixesClientDisconnectFlagTerminate  (1L << 0)
 701.837 ++
 701.838 + #endif	/* _XFIXESWIRE_H_ */
 701.839 +
   702.1 --- a/xorg-inputproto/receipt	Mon Oct 16 18:37:14 2023 +0000
   702.2 +++ b/xorg-inputproto/receipt	Sun Jan 14 08:12:37 2024 +0000
   702.3 @@ -1,7 +1,8 @@
   702.4  # SliTaz package receipt.
   702.5  
   702.6  PACKAGE="xorg-inputproto"
   702.7 -VERSION="2.3.2"
   702.8 +VERSION="2.4"
   702.9 +RVERSION="2.3.2"
  702.10  CATEGORY="development"
  702.11  SHORT_DESC="Input extension headers."
  702.12  MAINTAINER="pankso@slitaz.org"
  702.13 @@ -9,7 +10,7 @@
  702.14  WEB_SITE="https://www.x.org/wiki/"
  702.15  
  702.16  SOURCE="inputproto"
  702.17 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  702.18 +TARBALL="$SOURCE-$RVERSION.tar.bz2"
  702.19  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
  702.20  
  702.21  DEPENDS="xorg-xproto pkg-config"
  702.22 @@ -26,6 +27,10 @@
  702.23  # Rules to configure and make the package.
  702.24  compile_rules()
  702.25  {
  702.26 +	# patch to bump 2.4
  702.27 +	# see https://build.opensuse.org/package/show/openSUSE:Leap:15.5/inputproto
  702.28 +	patch -p1 < $stuff/inputproto-2.4.patch
  702.29 +
  702.30  	./configure			\
  702.31  		--sysconfdir=/etc	\
  702.32  		--localstatedir=/var	\
   703.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   703.2 +++ b/xorg-inputproto/stuff/inputproto-2.4.patch	Sun Jan 14 08:12:37 2024 +0000
   703.3 @@ -0,0 +1,1785 @@
   703.4 +diff -u -r inputproto-2.3.2/XI2.h inputproto-2.4/XI2.h
   703.5 +--- inputproto-2.3.2/XI2.h	2014-05-29 23:15:03.000000000 +0200
   703.6 ++++ inputproto-2.4/XI2.h	2021-10-28 11:30:52.660668000 +0200
   703.7 +@@ -30,7 +30,7 @@
   703.8 +    See commit libXi-1.4.2-21-ge8531dd */
   703.9 + 
  703.10 + #define XI_2_Major                              2
  703.11 +-#define XI_2_Minor                              3
  703.12 ++#define XI_2_Minor                              4
  703.13 + 
  703.14 + /* Property event flags */
  703.15 + #define XIPropertyDeleted                       0
  703.16 +@@ -85,6 +85,8 @@
  703.17 + #define XIGrabtypeEnter                         2
  703.18 + #define XIGrabtypeFocusIn                       3
  703.19 + #define XIGrabtypeTouchBegin                    4
  703.20 ++#define XIGrabtypeGesturePinchBegin             5
  703.21 ++#define XIGrabtypeGestureSwipeBegin             6
  703.22 + 
  703.23 + /* Passive grab modifier */
  703.24 + #define XIAnyModifier                           (1U << 31)
  703.25 +@@ -142,6 +144,7 @@
  703.26 + #define XIValuatorClass                         2
  703.27 + #define XIScrollClass                           3
  703.28 + #define XITouchClass                            8
  703.29 ++#define XIGestureClass                          9
  703.30 + 
  703.31 + /* Scroll class types */
  703.32 + #define XIScrollTypeVertical                    1
  703.33 +@@ -164,6 +167,11 @@
  703.34 + #define XIBarrierPointerReleased                (1 << 0)
  703.35 + #define XIBarrierDeviceIsGrabbed                (1 << 1)
  703.36 + 
  703.37 ++/* Gesture pinch event flags */
  703.38 ++#define XIGesturePinchEventCancelled            (1 << 0)
  703.39 ++
  703.40 ++/* Gesture swipe event flags */
  703.41 ++#define XIGestureSwipeEventCancelled            (1 << 0)
  703.42 + 
  703.43 + /* Touch modes */
  703.44 + #define XIDirectTouch                           1
  703.45 +@@ -206,7 +214,13 @@
  703.46 + #define XI_RawTouchEnd                   24
  703.47 + #define XI_BarrierHit                    25 /* XI 2.3 */
  703.48 + #define XI_BarrierLeave                  26
  703.49 +-#define XI_LASTEVENT                     XI_BarrierLeave
  703.50 ++#define XI_GesturePinchBegin             27 /* XI 2.4 */
  703.51 ++#define XI_GesturePinchUpdate            28
  703.52 ++#define XI_GesturePinchEnd               29
  703.53 ++#define XI_GestureSwipeBegin             30
  703.54 ++#define XI_GestureSwipeUpdate            31
  703.55 ++#define XI_GestureSwipeEnd               32
  703.56 ++#define XI_LASTEVENT                     XI_GestureSwipeEnd
  703.57 + /* NOTE: XI2LASTEVENT in xserver/include/inputstr.h must be the same value
  703.58 +  * as XI_LASTEVENT if the server is supposed to handle masks etc. for this
  703.59 +  * type of event. */
  703.60 +diff -u -r inputproto-2.3.2/XI2proto.h inputproto-2.4/XI2proto.h
  703.61 +--- inputproto-2.3.2/XI2proto.h	2014-08-25 03:09:23.000000000 +0200
  703.62 ++++ inputproto-2.4/XI2proto.h	2021-10-28 11:30:52.664670000 +0200
  703.63 +@@ -44,7 +44,7 @@
  703.64 +  *      appended to the common structs section before the definition of the
  703.65 +  *      first request.
  703.66 +  * members of structs vertically aligned on column 16 if datatypes permit.
  703.67 +- *      otherwise alingned on next available 8n column.
  703.68 ++ *      otherwise aligned on next available 8n column.
  703.69 +  */
  703.70 + 
  703.71 + /**
  703.72 +@@ -149,8 +149,9 @@
  703.73 + 
  703.74 + /**
  703.75 +  * Denotes button capability on a device.
  703.76 +- * Struct is followed by num_buttons * Atom that names the buttons in the
  703.77 +- * device-native setup (i.e. ignoring button mappings).
  703.78 ++ * Struct is followed by a button bit-mask (padded to four byte chunks) and
  703.79 ++ * then num_buttons * Atom that names the buttons in the device-native setup
  703.80 ++ * (i.e.  ignoring button mappings).
  703.81 +  */
  703.82 + typedef struct {
  703.83 +     uint16_t    type;           /**< Always ButtonClass */
  703.84 +@@ -218,6 +219,17 @@
  703.85 + } xXITouchInfo;
  703.86 + 
  703.87 + /**
  703.88 ++ * Denotes touchpad gesture capability on a device.
  703.89 ++ */
  703.90 ++typedef struct {
  703.91 ++    uint16_t    type;           /**< Always GestureClass */
  703.92 ++    uint16_t    length;         /**< Length in 4 byte units */
  703.93 ++    uint16_t    sourceid;       /**< source device for this class */
  703.94 ++    uint8_t     num_touches;    /**< Maximum number of touches gesture supports (0==unlimited) */
  703.95 ++    uint8_t     pad0;
  703.96 ++} xXIGestureInfo;
  703.97 ++
  703.98 ++/**
  703.99 +  * Used to select for events on a given window.
 703.100 +  * Struct is followed by (mask_len * CARD8), with each bit set representing
 703.101 +  * the event mask for the given type. A mask bit represents an event type if
 703.102 +@@ -1082,6 +1094,72 @@
 703.103 + typedef xXIBarrierEvent xXIBarrierPointerReleasedEvent;
 703.104 + typedef xXIBarrierEvent xXIBarrierLeaveEvent;
 703.105 + 
 703.106 ++/**
 703.107 ++ * Event for touchpad gesture pinch input events
 703.108 ++ */
 703.109 ++typedef struct
 703.110 ++{
 703.111 ++    uint8_t     type;                   /**< Always GenericEvent */
 703.112 ++    uint8_t     extension;              /**< XI extension offset */
 703.113 ++    uint16_t    sequenceNumber;
 703.114 ++    uint32_t    length;                 /**< Length in 4 byte uints */
 703.115 ++    uint16_t    evtype;
 703.116 ++    uint16_t    deviceid;
 703.117 ++    Time        time;
 703.118 ++    uint32_t    detail;                 /**< The number of touches in the gesture */
 703.119 ++    Window      root;
 703.120 ++    Window      event;
 703.121 ++    Window      child;
 703.122 ++/* └──────── 32 byte boundary ────────┘ */
 703.123 ++    FP1616      root_x;                 /**< Always screen coords, 16.16 fixed point */
 703.124 ++    FP1616      root_y;
 703.125 ++    FP1616      event_x;                /**< Always screen coords, 16.16 fixed point */
 703.126 ++    FP1616      event_y;
 703.127 ++    FP1616      delta_x;
 703.128 ++    FP1616      delta_y;
 703.129 ++    FP1616      delta_unaccel_x;
 703.130 ++    FP1616      delta_unaccel_y;
 703.131 ++    FP1616      scale;
 703.132 ++    FP1616      delta_angle;
 703.133 ++    uint16_t    sourceid;               /**< The source device */
 703.134 ++    uint16_t    pad0;
 703.135 ++    xXIModifierInfo     mods;
 703.136 ++    xXIGroupInfo        group;
 703.137 ++    uint32_t    flags;                  /**< ::XIGesturePinchEventCancelled */
 703.138 ++} xXIGesturePinchEvent;
 703.139 ++
 703.140 ++/**
 703.141 ++ * Event for touchpad gesture swipe input events
 703.142 ++ */
 703.143 ++typedef struct
 703.144 ++{
 703.145 ++    uint8_t     type;                   /**< Always GenericEvent */
 703.146 ++    uint8_t     extension;              /**< XI extension offset */
 703.147 ++    uint16_t    sequenceNumber;
 703.148 ++    uint32_t    length;                 /**< Length in 4 byte uints */
 703.149 ++    uint16_t    evtype;
 703.150 ++    uint16_t    deviceid;
 703.151 ++    Time        time;
 703.152 ++    uint32_t    detail;                 /**< The number of touches in the gesture */
 703.153 ++    Window      root;
 703.154 ++    Window      event;
 703.155 ++    Window      child;
 703.156 ++/* └──────── 32 byte boundary ────────┘ */
 703.157 ++    FP1616      root_x;                 /**< Always screen coords, 16.16 fixed point */
 703.158 ++    FP1616      root_y;
 703.159 ++    FP1616      event_x;                /**< Always screen coords, 16.16 fixed point */
 703.160 ++    FP1616      event_y;
 703.161 ++    FP1616      delta_x;
 703.162 ++    FP1616      delta_y;
 703.163 ++    FP1616      delta_unaccel_x;
 703.164 ++    FP1616      delta_unaccel_y;
 703.165 ++    uint16_t    sourceid;               /**< The source device */
 703.166 ++    uint16_t    pad0;
 703.167 ++    xXIModifierInfo     mods;
 703.168 ++    xXIGroupInfo        group;
 703.169 ++    uint32_t    flags;                  /**< ::XIGestureSwipeEventCancelled */
 703.170 ++} xXIGestureSwipeEvent;
 703.171 ++
 703.172 + #undef Window
 703.173 + #undef Time
 703.174 + #undef Atom
 703.175 +diff -u -r inputproto-2.3.2/XIproto.h inputproto-2.4/XIproto.h
 703.176 +--- inputproto-2.3.2/XIproto.h	2014-05-29 23:15:03.000000000 +0200
 703.177 ++++ inputproto-2.4/XIproto.h	2021-10-28 11:30:52.669685000 +0200
 703.178 +@@ -177,24 +177,24 @@
 703.179 + typedef struct {
 703.180 +     CARD8	reqType;       /* input extension major code   */
 703.181 +     CARD8	ReqType;       /* always X_GetExtensionVersion */
 703.182 +-    CARD16	length B16;
 703.183 +-    CARD16	nbytes B16;
 703.184 ++    CARD16	length;
 703.185 ++    CARD16	nbytes;
 703.186 +     CARD8	pad1, pad2;
 703.187 + } xGetExtensionVersionReq;
 703.188 + 
 703.189 + typedef struct {
 703.190 +     CARD8	repType;	/* X_Reply			*/
 703.191 +     CARD8	RepType;	/* always X_GetExtensionVersion */
 703.192 +-    CARD16	sequenceNumber B16;
 703.193 +-    CARD32	length B32;
 703.194 +-    CARD16	major_version B16;
 703.195 +-    CARD16	minor_version B16;
 703.196 ++    CARD16	sequenceNumber;
 703.197 ++    CARD32	length;
 703.198 ++    CARD16	major_version;
 703.199 ++    CARD16	minor_version;
 703.200 +     BOOL	present;
 703.201 +     CARD8	pad1, pad2, pad3;
 703.202 +-    CARD32	pad01 B32;
 703.203 +-    CARD32	pad02 B32;
 703.204 +-    CARD32	pad03 B32;
 703.205 +-    CARD32	pad04 B32;
 703.206 ++    CARD32	pad01;
 703.207 ++    CARD32	pad02;
 703.208 ++    CARD32	pad03;
 703.209 ++    CARD32	pad04;
 703.210 + } xGetExtensionVersionReply;
 703.211 + 
 703.212 + /*********************************************************
 703.213 +@@ -206,21 +206,21 @@
 703.214 + typedef struct {
 703.215 +     CARD8	reqType;	/* input extension major code	*/
 703.216 +     CARD8	ReqType;	/* always X_ListInputDevices	*/
 703.217 +-    CARD16	length B16;
 703.218 ++    CARD16	length;
 703.219 + } xListInputDevicesReq;
 703.220 + 
 703.221 + typedef struct {
 703.222 +     CARD8	repType;	/* X_Reply			*/
 703.223 +     CARD8	RepType;        /* always X_ListInputDevices	*/
 703.224 +-    CARD16	sequenceNumber B16;
 703.225 +-    CARD32	length B32;
 703.226 ++    CARD16	sequenceNumber;
 703.227 ++    CARD32	length;
 703.228 +     CARD8	ndevices;
 703.229 +     CARD8	pad1, pad2, pad3;
 703.230 +-    CARD32	pad01 B32;
 703.231 +-    CARD32	pad02 B32;
 703.232 +-    CARD32	pad03 B32;
 703.233 +-    CARD32	pad04 B32;
 703.234 +-    CARD32	pad05 B32;
 703.235 ++    CARD32	pad01;
 703.236 ++    CARD32	pad02;
 703.237 ++    CARD32	pad03;
 703.238 ++    CARD32	pad04;
 703.239 ++    CARD32	pad05;
 703.240 + } xListInputDevicesReply;
 703.241 + 
 703.242 + typedef struct _xDeviceInfo *xDeviceInfoPtr;
 703.243 +@@ -237,7 +237,7 @@
 703.244 +     } xAnyClassInfo;
 703.245 + 
 703.246 + typedef struct _xDeviceInfo {
 703.247 +-    CARD32	type B32;
 703.248 ++    CARD32	type;
 703.249 +     CARD8	id;
 703.250 +     CARD8	num_classes;
 703.251 +     CARD8	use;      /* IsXPointer | IsXKeyboard | IsXExtension... */
 703.252 +@@ -255,7 +255,7 @@
 703.253 +     CARD8	length;
 703.254 +     KeyCode	min_keycode;
 703.255 +     KeyCode	max_keycode;
 703.256 +-    CARD16	num_keys B16;
 703.257 ++    CARD16	num_keys;
 703.258 +     CARD8	pad1,pad2;
 703.259 +     } xKeyInfo;
 703.260 + 
 703.261 +@@ -268,7 +268,7 @@
 703.262 +     CARD8	class;
 703.263 + #endif
 703.264 +     CARD8	length;
 703.265 +-    CARD16	num_buttons B16;
 703.266 ++    CARD16	num_buttons;
 703.267 +     } xButtonInfo;
 703.268 + 
 703.269 + typedef struct _xValuatorInfo *xValuatorInfoPtr;
 703.270 +@@ -282,15 +282,15 @@
 703.271 +     CARD8	length;
 703.272 +     CARD8	num_axes;
 703.273 +     CARD8	mode;
 703.274 +-    CARD32	motion_buffer_size B32;
 703.275 ++    CARD32	motion_buffer_size;
 703.276 +     } xValuatorInfo;
 703.277 + 
 703.278 + typedef struct _xAxisInfo *xAxisInfoPtr;
 703.279 + 
 703.280 + typedef struct _xAxisInfo {
 703.281 +-    CARD32	resolution B32;
 703.282 +-    CARD32	min_value B32;
 703.283 +-    CARD32	max_value B32;
 703.284 ++    CARD32	resolution;
 703.285 ++    CARD32	min_value;
 703.286 ++    CARD32	max_value;
 703.287 +     } xAxisInfo;
 703.288 + 
 703.289 + /*********************************************************
 703.290 +@@ -302,7 +302,7 @@
 703.291 + typedef struct {
 703.292 +     CARD8	reqType;	/* input extension major code	*/
 703.293 +     CARD8	ReqType;        /* always X_OpenDevice		*/
 703.294 +-    CARD16	length B16;
 703.295 ++    CARD16	length;
 703.296 +     CARD8       deviceid;
 703.297 +     BYTE	pad1, pad2, pad3;
 703.298 + } xOpenDeviceReq;
 703.299 +@@ -310,15 +310,15 @@
 703.300 + typedef struct {
 703.301 +     CARD8	repType;	/* X_Reply			*/
 703.302 +     CARD8	RepType;	/* always X_OpenDevice		*/
 703.303 +-    CARD16	sequenceNumber B16;
 703.304 +-    CARD32	length B32;
 703.305 ++    CARD16	sequenceNumber;
 703.306 ++    CARD32	length;
 703.307 +     CARD8	num_classes;
 703.308 +     BYTE	pad1, pad2, pad3;
 703.309 +-    CARD32	pad00 B32;
 703.310 +-    CARD32	pad01 B32;
 703.311 +-    CARD32	pad02 B32;
 703.312 +-    CARD32	pad03 B32;
 703.313 +-    CARD32	pad04 B32;
 703.314 ++    CARD32	pad00;
 703.315 ++    CARD32	pad01;
 703.316 ++    CARD32	pad02;
 703.317 ++    CARD32	pad03;
 703.318 ++    CARD32	pad04;
 703.319 +     } xOpenDeviceReply;
 703.320 + 
 703.321 + typedef struct {
 703.322 +@@ -339,7 +339,7 @@
 703.323 + typedef struct {
 703.324 +     CARD8	reqType;	/* input extension major code	*/
 703.325 +     CARD8	ReqType;        /* always X_CloseDevice	*/
 703.326 +-    CARD16	length B16;
 703.327 ++    CARD16	length;
 703.328 +     CARD8       deviceid;
 703.329 +     BYTE	pad1, pad2, pad3;
 703.330 + } xCloseDeviceReq;
 703.331 +@@ -353,7 +353,7 @@
 703.332 + typedef struct {
 703.333 +     CARD8	reqType;	/* input extension major code	*/
 703.334 +     CARD8	ReqType;	/* always X_SetDeviceMode	*/
 703.335 +-    CARD16	length B16;
 703.336 ++    CARD16	length;
 703.337 +     CARD8       deviceid;
 703.338 +     CARD8       mode;
 703.339 +     BYTE	pad1, pad2;
 703.340 +@@ -362,15 +362,15 @@
 703.341 + typedef struct {
 703.342 +     CARD8	repType;	/* X_Reply			*/
 703.343 +     CARD8	RepType;	/* always X_SetDeviceMode	*/
 703.344 +-    CARD16	sequenceNumber B16;
 703.345 +-    CARD32	length B32;
 703.346 ++    CARD16	sequenceNumber;
 703.347 ++    CARD32	length;
 703.348 +     CARD8	status;
 703.349 +     BYTE	pad1, pad2, pad3;
 703.350 +-    CARD32	pad01 B32;
 703.351 +-    CARD32	pad02 B32;
 703.352 +-    CARD32	pad03 B32;
 703.353 +-    CARD32	pad04 B32;
 703.354 +-    CARD32	pad05 B32;
 703.355 ++    CARD32	pad01;
 703.356 ++    CARD32	pad02;
 703.357 ++    CARD32	pad03;
 703.358 ++    CARD32	pad04;
 703.359 ++    CARD32	pad05;
 703.360 + } xSetDeviceModeReply;
 703.361 + 
 703.362 + /*********************************************************
 703.363 +@@ -382,10 +382,10 @@
 703.364 + typedef struct {
 703.365 +     CARD8	reqType;	/* input extension major code	*/
 703.366 +     CARD8	ReqType;        /* always X_SelectExtensionEvent */
 703.367 +-    CARD16	length B16;
 703.368 +-    Window	window B32;
 703.369 +-    CARD16	count B16;
 703.370 +-    CARD16	pad00 B16;
 703.371 ++    CARD16	length;
 703.372 ++    Window	window;
 703.373 ++    CARD16	count;
 703.374 ++    CARD16	pad00;
 703.375 + } xSelectExtensionEventReq;
 703.376 + 
 703.377 + /*********************************************************
 703.378 +@@ -397,22 +397,22 @@
 703.379 + typedef struct {
 703.380 +     CARD8	reqType;	/* input extension major code	*/
 703.381 +     CARD8	ReqType;        /* X_GetSelectedExtensionEvents */
 703.382 +-    CARD16	length B16;
 703.383 +-    Window	window B32;
 703.384 ++    CARD16	length;
 703.385 ++    Window	window;
 703.386 + } xGetSelectedExtensionEventsReq;
 703.387 + 
 703.388 + typedef struct {
 703.389 +     CARD8	repType;	/* X_Reply			*/
 703.390 +     CARD8	RepType;	/* GetSelectedExtensionEvents	*/
 703.391 +-    CARD16	sequenceNumber B16;
 703.392 +-    CARD32	length B32;
 703.393 +-    CARD16	this_client_count B16;
 703.394 +-    CARD16	all_clients_count B16;
 703.395 +-    CARD32	pad01 B32;
 703.396 +-    CARD32	pad02 B32;
 703.397 +-    CARD32	pad03 B32;
 703.398 +-    CARD32	pad04 B32;
 703.399 +-    CARD32	pad05 B32;
 703.400 ++    CARD16	sequenceNumber;
 703.401 ++    CARD32	length;
 703.402 ++    CARD16	this_client_count;
 703.403 ++    CARD16	all_clients_count;
 703.404 ++    CARD32	pad01;
 703.405 ++    CARD32	pad02;
 703.406 ++    CARD32	pad03;
 703.407 ++    CARD32	pad04;
 703.408 ++    CARD32	pad05;
 703.409 + } xGetSelectedExtensionEventsReply;
 703.410 + 
 703.411 + /*********************************************************
 703.412 +@@ -424,9 +424,9 @@
 703.413 + typedef struct {
 703.414 +     CARD8	reqType;	/* input extension major code	*/
 703.415 +     CARD8	ReqType;        /* X_ChangeDeviceDontPropagateList */
 703.416 +-    CARD16	length B16;
 703.417 +-    Window	window B32;
 703.418 +-    CARD16	count B16;
 703.419 ++    CARD16	length;
 703.420 ++    Window	window;
 703.421 ++    CARD16	count;
 703.422 +     CARD8	mode;
 703.423 +     BYTE	pad;
 703.424 + } xChangeDeviceDontPropagateListReq;
 703.425 +@@ -440,22 +440,22 @@
 703.426 + typedef struct {
 703.427 +     CARD8	reqType;	/* input extension major code	*/
 703.428 +     CARD8	ReqType;        /* X_GetDeviceDontPropagateList */
 703.429 +-    CARD16	length B16;
 703.430 +-    Window	window B32;
 703.431 ++    CARD16	length;
 703.432 ++    Window	window;
 703.433 + } xGetDeviceDontPropagateListReq;
 703.434 + 
 703.435 + typedef struct {
 703.436 +     CARD8	repType;	/* X_Reply			*/
 703.437 +     CARD8	RepType;        /* GetDeviceDontPropagateList   */
 703.438 +-    CARD16	sequenceNumber B16;
 703.439 +-    CARD32	length B32;
 703.440 +-    CARD16	count B16;
 703.441 +-    CARD16	pad00 B16;
 703.442 +-    CARD32	pad01 B32;
 703.443 +-    CARD32	pad02 B32;
 703.444 +-    CARD32	pad03 B32;
 703.445 +-    CARD32	pad04 B32;
 703.446 +-    CARD32	pad05 B32;
 703.447 ++    CARD16	sequenceNumber;
 703.448 ++    CARD32	length;
 703.449 ++    CARD16	count;
 703.450 ++    CARD16	pad00;
 703.451 ++    CARD32	pad01;
 703.452 ++    CARD32	pad02;
 703.453 ++    CARD32	pad03;
 703.454 ++    CARD32	pad04;
 703.455 ++    CARD32	pad05;
 703.456 +     } xGetDeviceDontPropagateListReply;
 703.457 + 
 703.458 + /*********************************************************
 703.459 +@@ -467,9 +467,9 @@
 703.460 + typedef struct {
 703.461 +     CARD8	reqType;	/* input extension major code	*/
 703.462 +     CARD8	ReqType;        /* always X_GetDeviceMotionEvents*/
 703.463 +-    CARD16	length B16;
 703.464 +-    Time	start B32;
 703.465 +-    Time	stop B32;
 703.466 ++    CARD16	length;
 703.467 ++    Time	start;
 703.468 ++    Time	stop;
 703.469 +     CARD8	deviceid;
 703.470 +     BYTE	pad1, pad2, pad3;
 703.471 + } xGetDeviceMotionEventsReq;
 703.472 +@@ -477,16 +477,16 @@
 703.473 + typedef struct {
 703.474 +     CARD8	repType;	/* X_Reply */
 703.475 +     CARD8	RepType;        /* always X_GetDeviceMotionEvents  */
 703.476 +-    CARD16	sequenceNumber B16;
 703.477 +-    CARD32	length B32;
 703.478 +-    CARD32	nEvents B32;
 703.479 ++    CARD16	sequenceNumber;
 703.480 ++    CARD32	length;
 703.481 ++    CARD32	nEvents;
 703.482 +     CARD8	axes;
 703.483 +     CARD8	mode;
 703.484 +     BYTE	pad1, pad2;
 703.485 +-    CARD32	pad01 B32;
 703.486 +-    CARD32	pad02 B32;
 703.487 +-    CARD32	pad03 B32;
 703.488 +-    CARD32	pad04 B32;
 703.489 ++    CARD32	pad01;
 703.490 ++    CARD32	pad02;
 703.491 ++    CARD32	pad03;
 703.492 ++    CARD32	pad04;
 703.493 + } xGetDeviceMotionEventsReply;
 703.494 + 
 703.495 + /*********************************************************
 703.496 +@@ -498,7 +498,7 @@
 703.497 + typedef struct {
 703.498 +     CARD8	reqType;	/* input extension major code	*/
 703.499 +     CARD8	ReqType;        /* X_ChangeKeyboardDevice	*/
 703.500 +-    CARD16	length B16;
 703.501 ++    CARD16	length;
 703.502 +     CARD8	deviceid;
 703.503 +     BYTE	pad1, pad2, pad3;
 703.504 + } xChangeKeyboardDeviceReq;
 703.505 +@@ -506,15 +506,15 @@
 703.506 + typedef struct {
 703.507 +     CARD8	repType;	/* X_Reply			*/
 703.508 +     CARD8	RepType;        /* always X_ChangeKeyboardDevice*/
 703.509 +-    CARD16	sequenceNumber B16;
 703.510 +-    CARD32	length B32;  /* 0 */
 703.511 ++    CARD16	sequenceNumber;
 703.512 ++    CARD32	length;		/* 0 */
 703.513 +     CARD8	status;
 703.514 +     BYTE	pad1, pad2, pad3;
 703.515 +-    CARD32	pad01 B32;
 703.516 +-    CARD32	pad02 B32;
 703.517 +-    CARD32	pad03 B32;
 703.518 +-    CARD32	pad04 B32;
 703.519 +-    CARD32	pad05 B32;
 703.520 ++    CARD32	pad01;
 703.521 ++    CARD32	pad02;
 703.522 ++    CARD32	pad03;
 703.523 ++    CARD32	pad04;
 703.524 ++    CARD32	pad05;
 703.525 +     } xChangeKeyboardDeviceReply;
 703.526 + 
 703.527 + /*********************************************************
 703.528 +@@ -526,7 +526,7 @@
 703.529 + typedef struct {
 703.530 +     CARD8	reqType;	/* input extension major code	*/
 703.531 +     CARD8	ReqType;        /* X_ChangePointerDevice	*/
 703.532 +-    CARD16	length B16;
 703.533 ++    CARD16	length;
 703.534 +     CARD8	xaxis;
 703.535 +     CARD8	yaxis;
 703.536 +     CARD8	deviceid;
 703.537 +@@ -536,15 +536,15 @@
 703.538 + typedef struct {
 703.539 +     CARD8	repType;	/* X_Reply			*/
 703.540 +     CARD8	RepType;        /* always X_ChangePointerDevice */
 703.541 +-    CARD16	sequenceNumber B16;
 703.542 +-    CARD32	length B32;  /* 0 */
 703.543 ++    CARD16	sequenceNumber;
 703.544 ++    CARD32	length;		/* 0 */
 703.545 +     CARD8	status;
 703.546 +     BYTE	pad1, pad2, pad3;
 703.547 +-    CARD32	pad01 B32;
 703.548 +-    CARD32	pad02 B32;
 703.549 +-    CARD32	pad03 B32;
 703.550 +-    CARD32	pad04 B32;
 703.551 +-    CARD32	pad05 B32;
 703.552 ++    CARD32	pad01;
 703.553 ++    CARD32	pad02;
 703.554 ++    CARD32	pad03;
 703.555 ++    CARD32	pad04;
 703.556 ++    CARD32	pad05;
 703.557 +     } xChangePointerDeviceReply;
 703.558 + 
 703.559 + /*********************************************************
 703.560 +@@ -556,29 +556,29 @@
 703.561 + typedef struct {
 703.562 +     CARD8	reqType;	/* input extension major code	*/
 703.563 +     CARD8	ReqType;        /* always X_GrabDevice */
 703.564 +-    CARD16	length B16;
 703.565 +-    Window	grabWindow B32;
 703.566 +-    Time	time B32;
 703.567 +-    CARD16	event_count B16;
 703.568 ++    CARD16	length;
 703.569 ++    Window	grabWindow;
 703.570 ++    Time	time;
 703.571 ++    CARD16	event_count;
 703.572 +     CARD8	this_device_mode;
 703.573 +     CARD8	other_devices_mode;
 703.574 +     BOOL	ownerEvents;
 703.575 +     CARD8	deviceid;
 703.576 +-    CARD16	pad01 B16;
 703.577 ++    CARD16	pad01;
 703.578 + } xGrabDeviceReq;
 703.579 + 
 703.580 + typedef struct {
 703.581 +     CARD8	repType;	/* X_Reply			*/
 703.582 +     CARD8	RepType;        /* always X_GrabDevice	*/
 703.583 +-    CARD16	sequenceNumber B16;
 703.584 +-    CARD32	length B32;  /* 0 */
 703.585 ++    CARD16	sequenceNumber;
 703.586 ++    CARD32	length;		/* 0 */
 703.587 +     CARD8	status;
 703.588 +     BYTE	pad1, pad2, pad3;
 703.589 +-    CARD32	pad01 B32;
 703.590 +-    CARD32	pad02 B32;
 703.591 +-    CARD32	pad03 B32;
 703.592 +-    CARD32	pad04 B32;
 703.593 +-    CARD32	pad05 B32;
 703.594 ++    CARD32	pad01;
 703.595 ++    CARD32	pad02;
 703.596 ++    CARD32	pad03;
 703.597 ++    CARD32	pad04;
 703.598 ++    CARD32	pad05;
 703.599 +     } xGrabDeviceReply;
 703.600 + 
 703.601 + /*********************************************************
 703.602 +@@ -590,8 +590,8 @@
 703.603 + typedef struct {
 703.604 +     CARD8	reqType;	/* input extension major code	*/
 703.605 +     CARD8	ReqType;        /* always X_UnGrabDevice	*/
 703.606 +-    CARD16	length B16;
 703.607 +-    Time	time B32;
 703.608 ++    CARD16	length;
 703.609 ++    Time	time;
 703.610 +     CARD8	deviceid;
 703.611 +     BYTE	pad1, pad2, pad3;
 703.612 + } xUngrabDeviceReq;
 703.613 +@@ -605,10 +605,10 @@
 703.614 + typedef struct {
 703.615 +     CARD8	reqType;	/* input extension major code	*/
 703.616 +     CARD8	ReqType;        /* always X_GrabDeviceKey	*/
 703.617 +-    CARD16	length B16;
 703.618 +-    Window	grabWindow B32;
 703.619 +-    CARD16	event_count B16;
 703.620 +-    CARD16	modifiers B16;
 703.621 ++    CARD16	length;
 703.622 ++    Window	grabWindow;
 703.623 ++    CARD16	event_count;
 703.624 ++    CARD16	modifiers;
 703.625 +     CARD8	modifier_device;
 703.626 +     CARD8	grabbed_device;
 703.627 +     CARD8	key;
 703.628 +@@ -627,9 +627,9 @@
 703.629 + typedef struct {
 703.630 +     CARD8	reqType;	/* input extension major code	*/
 703.631 +     CARD8	ReqType;        /* always X_UngrabDeviceKey	*/
 703.632 +-    CARD16	length B16;
 703.633 +-    Window	grabWindow B32;
 703.634 +-    CARD16	modifiers B16;
 703.635 ++    CARD16	length;
 703.636 ++    Window	grabWindow;
 703.637 ++    CARD16	modifiers;
 703.638 +     CARD8	modifier_device;
 703.639 +     CARD8	key;
 703.640 +     CARD8	grabbed_device;
 703.641 +@@ -645,12 +645,12 @@
 703.642 + typedef struct {
 703.643 +     CARD8	reqType;	/* input extension major code	*/
 703.644 +     CARD8	ReqType;        /* always X_GrabDeviceButton	*/
 703.645 +-    CARD16	length B16;
 703.646 +-    Window	grabWindow B32;
 703.647 ++    CARD16	length;
 703.648 ++    Window	grabWindow;
 703.649 +     CARD8	grabbed_device;
 703.650 +     CARD8	modifier_device;
 703.651 +-    CARD16	event_count B16;
 703.652 +-    CARD16	modifiers B16;
 703.653 ++    CARD16	event_count;
 703.654 ++    CARD16	modifiers;
 703.655 +     BYTE	this_device_mode;
 703.656 +     BYTE	other_devices_mode;
 703.657 +     CARD8	button;
 703.658 +@@ -667,9 +667,9 @@
 703.659 + typedef struct {
 703.660 +     CARD8	reqType;	/* input extension major code	*/
 703.661 +     CARD8	ReqType;        /* always X_UngrabDeviceButton	*/
 703.662 +-    CARD16	length B16;
 703.663 +-    Window	grabWindow B32;
 703.664 +-    CARD16	modifiers B16;
 703.665 ++    CARD16	length;
 703.666 ++    Window	grabWindow;
 703.667 ++    CARD16	modifiers;
 703.668 +     CARD8	modifier_device;
 703.669 +     CARD8	button;
 703.670 +     CARD8	grabbed_device;
 703.671 +@@ -685,8 +685,8 @@
 703.672 + typedef struct {
 703.673 +     CARD8	reqType;	/* input extension major code	*/
 703.674 +     CARD8	ReqType;        /* always X_AllowDeviceEvents	*/
 703.675 +-    CARD16	length B16;
 703.676 +-    Time	time B32;
 703.677 ++    CARD16	length;
 703.678 ++    Time	time;
 703.679 +     CARD8	mode;
 703.680 +     CARD8	deviceid;
 703.681 +     BYTE	pad1, pad2;
 703.682 +@@ -701,7 +701,7 @@
 703.683 + typedef struct {
 703.684 +     CARD8	reqType;        /* input extension major code   */
 703.685 +     CARD8	ReqType;        /* always X_GetDeviceFocus	*/
 703.686 +-    CARD16	length B16;
 703.687 ++    CARD16	length;
 703.688 +     CARD8	deviceid;
 703.689 +     BYTE	pad1, pad2, pad3;
 703.690 + } xGetDeviceFocusReq;
 703.691 +@@ -709,15 +709,15 @@
 703.692 + typedef struct {
 703.693 +     CARD8	repType;	/* X_Reply			*/
 703.694 +     CARD8	RepType;        /* always X_GetDeviceFocus	*/
 703.695 +-    CARD16	sequenceNumber B16;
 703.696 +-    CARD32	length B32;
 703.697 +-    CARD32	focus B32;
 703.698 +-    Time	time B32;
 703.699 ++    CARD16	sequenceNumber;
 703.700 ++    CARD32	length;
 703.701 ++    CARD32	focus;
 703.702 ++    Time	time;
 703.703 +     CARD8	revertTo;
 703.704 +     BYTE	pad1, pad2, pad3;
 703.705 +-    CARD32	pad01 B32;
 703.706 +-    CARD32	pad02 B32;
 703.707 +-    CARD32	pad03 B32;
 703.708 ++    CARD32	pad01;
 703.709 ++    CARD32	pad02;
 703.710 ++    CARD32	pad03;
 703.711 +     } xGetDeviceFocusReply;
 703.712 + 
 703.713 + /*********************************************************
 703.714 +@@ -729,12 +729,12 @@
 703.715 + typedef struct {
 703.716 +     CARD8	reqType;        /* input extension major code   */
 703.717 +     CARD8	ReqType;        /* always X_SetDeviceFocus	*/
 703.718 +-    CARD16	length B16;
 703.719 +-    Window	focus B32;
 703.720 +-    Time	time B32;
 703.721 ++    CARD16	length;
 703.722 ++    Window	focus;
 703.723 ++    Time	time;
 703.724 +     CARD8	revertTo;
 703.725 +     CARD8	device;
 703.726 +-    CARD16	pad01 B16;
 703.727 ++    CARD16	pad01;
 703.728 + } xSetDeviceFocusReq;
 703.729 + 
 703.730 + /*********************************************************
 703.731 +@@ -746,7 +746,7 @@
 703.732 + typedef struct {
 703.733 +     CARD8	reqType;	/* input extension major code	*/
 703.734 +     CARD8	ReqType;        /* X_GetFeedbackControl	*/
 703.735 +-    CARD16	length B16;
 703.736 ++    CARD16	length;
 703.737 +     CARD8	deviceid;
 703.738 +     BYTE	pad1, pad2, pad3;
 703.739 + } xGetFeedbackControlReq;
 703.740 +@@ -754,15 +754,15 @@
 703.741 + typedef struct {
 703.742 +     CARD8	repType;	/* X_Reply			*/
 703.743 +     CARD8	RepType;        /* always X_GetFeedbackControl	*/
 703.744 +-    CARD16	sequenceNumber B16;
 703.745 +-    CARD32	length B32;
 703.746 +-    CARD16	num_feedbacks B16;
 703.747 +-    CARD16	pad01 B16;
 703.748 +-    CARD32	pad02 B32;
 703.749 +-    CARD32	pad03 B32;
 703.750 +-    CARD32	pad04 B32;
 703.751 +-    CARD32	pad05 B32;
 703.752 +-    CARD32	pad06 B32;
 703.753 ++    CARD16	sequenceNumber;
 703.754 ++    CARD32	length;
 703.755 ++    CARD16	num_feedbacks;
 703.756 ++    CARD16	pad01;
 703.757 ++    CARD32	pad02;
 703.758 ++    CARD32	pad03;
 703.759 ++    CARD32	pad04;
 703.760 ++    CARD32	pad05;
 703.761 ++    CARD32	pad06;
 703.762 + } xGetFeedbackControlReply;
 703.763 + 
 703.764 + typedef struct {
 703.765 +@@ -772,7 +772,7 @@
 703.766 +     CARD8	class;		/* feedback class		*/
 703.767 + #endif
 703.768 +     CARD8	id;		/* feedback id		*/
 703.769 +-    CARD16	length B16;	/* feedback length		*/
 703.770 ++    CARD16	length;		/* feedback length		*/
 703.771 + } xFeedbackState;
 703.772 + 
 703.773 + typedef struct {
 703.774 +@@ -782,11 +782,11 @@
 703.775 +     CARD8   class;
 703.776 + #endif
 703.777 +     CARD8   id;
 703.778 +-    CARD16  length B16;
 703.779 +-    CARD16  pitch B16;
 703.780 +-    CARD16  duration B16;
 703.781 +-    CARD32  led_mask B32;
 703.782 +-    CARD32  led_values B32;
 703.783 ++    CARD16  length;
 703.784 ++    CARD16  pitch;
 703.785 ++    CARD16  duration;
 703.786 ++    CARD32  led_mask;
 703.787 ++    CARD32  led_values;
 703.788 +     BOOL    global_auto_repeat;
 703.789 +     CARD8   click;
 703.790 +     CARD8   percent;
 703.791 +@@ -801,11 +801,11 @@
 703.792 +     CARD8   class;
 703.793 + #endif
 703.794 +     CARD8   id;
 703.795 +-    CARD16  length B16;
 703.796 ++    CARD16  length;
 703.797 +     CARD8   pad1,pad2;
 703.798 +-    CARD16  accelNum B16;
 703.799 +-    CARD16  accelDenom B16;
 703.800 +-    CARD16  threshold B16;
 703.801 ++    CARD16  accelNum;
 703.802 ++    CARD16  accelDenom;
 703.803 ++    CARD16  threshold;
 703.804 + } xPtrFeedbackState;
 703.805 + 
 703.806 + typedef struct {
 703.807 +@@ -815,10 +815,10 @@
 703.808 +     CARD8	class;		/* feedback class id		*/
 703.809 + #endif
 703.810 +     CARD8	id;
 703.811 +-    CARD16	length B16;	/* feedback length		*/
 703.812 +-    CARD32	resolution B32;
 703.813 +-    INT32	min_value B32;
 703.814 +-    INT32	max_value B32;
 703.815 ++    CARD16	length;		/* feedback length		*/
 703.816 ++    CARD32	resolution;
 703.817 ++    INT32	min_value;
 703.818 ++    INT32	max_value;
 703.819 + } xIntegerFeedbackState;
 703.820 + 
 703.821 + typedef struct {
 703.822 +@@ -828,9 +828,9 @@
 703.823 +     CARD8	class;		/* feedback class id		*/
 703.824 + #endif
 703.825 +     CARD8	id;
 703.826 +-    CARD16	length B16;	/* feedback length		*/
 703.827 +-    CARD16	max_symbols B16;
 703.828 +-    CARD16	num_syms_supported B16;
 703.829 ++    CARD16	length;		/* feedback length		*/
 703.830 ++    CARD16	max_symbols;
 703.831 ++    CARD16	num_syms_supported;
 703.832 + } xStringFeedbackState;
 703.833 + 
 703.834 + typedef struct {
 703.835 +@@ -840,11 +840,11 @@
 703.836 +     CARD8	class;		/* feedback class id		*/
 703.837 + #endif
 703.838 +     CARD8	id;
 703.839 +-    CARD16	length B16;	/* feedback length		*/
 703.840 ++    CARD16	length;		/* feedback length		*/
 703.841 +     CARD8	percent;
 703.842 +     BYTE	pad1, pad2, pad3;
 703.843 +-    CARD16	pitch B16;
 703.844 +-    CARD16	duration B16;
 703.845 ++    CARD16	pitch;
 703.846 ++    CARD16	duration;
 703.847 + } xBellFeedbackState;
 703.848 + 
 703.849 + typedef struct {
 703.850 +@@ -854,9 +854,9 @@
 703.851 +     CARD8	class;		/* feedback class id		*/
 703.852 + #endif
 703.853 +     CARD8	id;
 703.854 +-    CARD16	length B16;	/* feedback length		*/
 703.855 +-    CARD32	led_mask B32;
 703.856 +-    CARD32	led_values B32;
 703.857 ++    CARD16	length;		/* feedback length		*/
 703.858 ++    CARD32	led_mask;
 703.859 ++    CARD32	led_values;
 703.860 + } xLedFeedbackState;
 703.861 + 
 703.862 + /*********************************************************
 703.863 +@@ -868,8 +868,8 @@
 703.864 + typedef struct {
 703.865 +     CARD8	reqType;	/* input extension major code	*/
 703.866 +     CARD8	ReqType;        /* X_ChangeFeedbackControl	*/
 703.867 +-    CARD16	length B16;
 703.868 +-    CARD32	mask B32;
 703.869 ++    CARD16	length;
 703.870 ++    CARD32	mask;
 703.871 +     CARD8	deviceid;
 703.872 +     CARD8	feedbackid;
 703.873 +     BYTE	pad1, pad2;
 703.874 +@@ -882,7 +882,7 @@
 703.875 +     CARD8	class;		/* feedback class id		*/
 703.876 + #endif
 703.877 +     CARD8	id;		/* feedback id		*/
 703.878 +-    CARD16	length B16;	/* feedback length		*/
 703.879 ++    CARD16	length;		/* feedback length		*/
 703.880 + } xFeedbackCtl;
 703.881 + 
 703.882 + typedef struct {
 703.883 +@@ -892,15 +892,15 @@
 703.884 +     CARD8	class;		/* feedback class id		*/
 703.885 + #endif
 703.886 +     CARD8	id;		/* feedback length		*/
 703.887 +-    CARD16	length B16;	/* feedback length		*/
 703.888 ++    CARD16	length;		/* feedback length		*/
 703.889 +     KeyCode	key;
 703.890 +     CARD8	auto_repeat_mode;
 703.891 +     INT8	click;
 703.892 +     INT8	percent;
 703.893 +-    INT16	pitch B16;
 703.894 +-    INT16	duration B16;
 703.895 +-    CARD32	led_mask B32;
 703.896 +-    CARD32	led_values B32;
 703.897 ++    INT16	pitch;
 703.898 ++    INT16	duration;
 703.899 ++    CARD32	led_mask;
 703.900 ++    CARD32	led_values;
 703.901 + } xKbdFeedbackCtl;
 703.902 + 
 703.903 + typedef struct {
 703.904 +@@ -910,11 +910,11 @@
 703.905 +     CARD8	class;		/* feedback class id		*/
 703.906 + #endif
 703.907 +     CARD8	id;		/* feedback id		*/
 703.908 +-    CARD16	length B16;	/* feedback length		*/
 703.909 ++    CARD16	length;		/* feedback length		*/
 703.910 +     CARD8	pad1,pad2;
 703.911 +-    INT16	num B16;
 703.912 +-    INT16	denom B16;
 703.913 +-    INT16	thresh B16;
 703.914 ++    INT16	num;
 703.915 ++    INT16	denom;
 703.916 ++    INT16	thresh;
 703.917 + } xPtrFeedbackCtl;
 703.918 + 
 703.919 + typedef struct {
 703.920 +@@ -924,8 +924,8 @@
 703.921 +     CARD8	class;		/* feedback class id		*/
 703.922 + #endif
 703.923 +     CARD8	id;		/* feedback id		*/
 703.924 +-    CARD16	length B16;	/* feedback length		*/
 703.925 +-    INT32	int_to_display B32;
 703.926 ++    CARD16	length;		/* feedback length		*/
 703.927 ++    INT32	int_to_display;
 703.928 + } xIntegerFeedbackCtl;
 703.929 + 
 703.930 + typedef struct {
 703.931 +@@ -935,9 +935,9 @@
 703.932 +     CARD8	class;		/* feedback class id		*/
 703.933 + #endif
 703.934 +     CARD8	id;		/* feedback id		*/
 703.935 +-    CARD16	length B16;	/* feedback length		*/
 703.936 ++    CARD16	length;		/* feedback length		*/
 703.937 +     CARD8	pad1,pad2;
 703.938 +-    CARD16	num_keysyms B16;
 703.939 ++    CARD16	num_keysyms;
 703.940 + } xStringFeedbackCtl;
 703.941 + 
 703.942 + typedef struct {
 703.943 +@@ -947,11 +947,11 @@
 703.944 +     CARD8	class;		/* feedback class id		*/
 703.945 + #endif
 703.946 +     CARD8	id;		/* feedback id		*/
 703.947 +-    CARD16	length B16;	/* feedback length		*/
 703.948 ++    CARD16	length;		/* feedback length		*/
 703.949 +     INT8	percent;
 703.950 +     BYTE	pad1, pad2, pad3;
 703.951 +-    INT16	pitch B16;
 703.952 +-    INT16	duration B16;
 703.953 ++    INT16	pitch;
 703.954 ++    INT16	duration;
 703.955 + } xBellFeedbackCtl;
 703.956 + 
 703.957 + typedef struct {
 703.958 +@@ -961,9 +961,9 @@
 703.959 +     CARD8	class;		/* feedback class id		*/
 703.960 + #endif
 703.961 +     CARD8	id;		/* feedback id		*/
 703.962 +-    CARD16	length B16;	/* feedback length		*/
 703.963 +-    CARD32	led_mask B32;
 703.964 +-    CARD32	led_values B32;
 703.965 ++    CARD16	length;		/* feedback length		*/
 703.966 ++    CARD32	led_mask;
 703.967 ++    CARD32	led_values;
 703.968 + } xLedFeedbackCtl;
 703.969 + 
 703.970 + /*********************************************************
 703.971 +@@ -975,7 +975,7 @@
 703.972 + typedef struct {
 703.973 +     CARD8	reqType;        /* input extension major code   */
 703.974 +     CARD8	ReqType;	/* always X_GetDeviceKeyMapping */
 703.975 +-    CARD16	length B16;
 703.976 ++    CARD16	length;
 703.977 +     CARD8	deviceid;
 703.978 +     KeyCode	firstKeyCode;
 703.979 +     CARD8	count;
 703.980 +@@ -985,16 +985,16 @@
 703.981 + typedef struct {
 703.982 +     CARD8	repType;	/* X_Reply			*/
 703.983 +     CARD8	RepType;	/* always X_GetDeviceKeyMapping */
 703.984 +-    CARD16	sequenceNumber B16;
 703.985 +-    CARD32	length B32;
 703.986 ++    CARD16	sequenceNumber;
 703.987 ++    CARD32	length;
 703.988 +     CARD8	keySymsPerKeyCode;
 703.989 +     CARD8	pad0;
 703.990 +-    CARD16	pad1 B16;
 703.991 +-    CARD32	pad2 B32;
 703.992 +-    CARD32	pad3 B32;
 703.993 +-    CARD32	pad4 B32;
 703.994 +-    CARD32	pad5 B32;
 703.995 +-    CARD32	pad6 B32;
 703.996 ++    CARD16	pad1;
 703.997 ++    CARD32	pad2;
 703.998 ++    CARD32	pad3;
 703.999 ++    CARD32	pad4;
703.1000 ++    CARD32	pad5;
703.1001 ++    CARD32	pad6;
703.1002 + } xGetDeviceKeyMappingReply;
703.1003 + 
703.1004 + /*********************************************************
703.1005 +@@ -1006,7 +1006,7 @@
703.1006 + typedef struct {
703.1007 +     CARD8	reqType;        /* input extension major code   */
703.1008 +     CARD8	ReqType;        /* always X_ChangeDeviceKeyMapping */
703.1009 +-    CARD16	length B16;
703.1010 ++    CARD16	length;
703.1011 +     CARD8	deviceid;
703.1012 +     KeyCode	firstKeyCode;
703.1013 +     CARD8	keySymsPerKeyCode;
703.1014 +@@ -1022,7 +1022,7 @@
703.1015 + typedef struct {
703.1016 +     CARD8	reqType;        /* input extension major code   */
703.1017 +     CARD8	ReqType;        /* always X_GetDeviceModifierMapping */
703.1018 +-    CARD16	length B16;
703.1019 ++    CARD16	length;
703.1020 +     CARD8	deviceid;
703.1021 +     BYTE	pad1, pad2, pad3;
703.1022 + } xGetDeviceModifierMappingReq;
703.1023 +@@ -1030,16 +1030,16 @@
703.1024 + typedef struct {
703.1025 +     CARD8	repType;	/* X_Reply */
703.1026 +     CARD8	RepType;        /* always X_GetDeviceModifierMapping */
703.1027 +-    CARD16	sequenceNumber B16;
703.1028 +-    CARD32	length B32;
703.1029 ++    CARD16	sequenceNumber;
703.1030 ++    CARD32	length;
703.1031 +     CARD8	numKeyPerModifier;
703.1032 +     CARD8	pad0;
703.1033 +-    CARD16	pad1 B16;
703.1034 +-    CARD32	pad2 B32;
703.1035 +-    CARD32	pad3 B32;
703.1036 +-    CARD32	pad4 B32;
703.1037 +-    CARD32	pad5 B32;
703.1038 +-    CARD32	pad6 B32;
703.1039 ++    CARD16	pad1;
703.1040 ++    CARD32	pad2;
703.1041 ++    CARD32	pad3;
703.1042 ++    CARD32	pad4;
703.1043 ++    CARD32	pad5;
703.1044 ++    CARD32	pad6;
703.1045 + } xGetDeviceModifierMappingReply;
703.1046 + 
703.1047 + /*********************************************************
703.1048 +@@ -1051,25 +1051,25 @@
703.1049 + typedef struct {
703.1050 +     CARD8	reqType;        /* input extension major code   */
703.1051 +     CARD8	ReqType;        /* always X_SetDeviceModifierMapping */
703.1052 +-    CARD16	length B16;
703.1053 ++    CARD16	length;
703.1054 +     CARD8	deviceid;
703.1055 +     CARD8	numKeyPerModifier;
703.1056 +-    CARD16	pad1 B16;
703.1057 ++    CARD16	pad1;
703.1058 + } xSetDeviceModifierMappingReq;
703.1059 + 
703.1060 + typedef struct {
703.1061 +     CARD8	repType;	/* X_Reply */
703.1062 +     CARD8	RepType;        /* always X_SetDeviceModifierMapping */
703.1063 +-    CARD16	sequenceNumber B16;
703.1064 +-    CARD32	length B32;
703.1065 ++    CARD16	sequenceNumber;
703.1066 ++    CARD32	length;
703.1067 +     CARD8	success;
703.1068 +     CARD8	pad0;
703.1069 +-    CARD16	pad1 B16;
703.1070 +-    CARD32	pad2 B32;
703.1071 +-    CARD32	pad3 B32;
703.1072 +-    CARD32	pad4 B32;
703.1073 +-    CARD32	pad5 B32;
703.1074 +-    CARD32	pad6 B32;
703.1075 ++    CARD16	pad1;
703.1076 ++    CARD32	pad2;
703.1077 ++    CARD32	pad3;
703.1078 ++    CARD32	pad4;
703.1079 ++    CARD32	pad5;
703.1080 ++    CARD32	pad6;
703.1081 + } xSetDeviceModifierMappingReply;
703.1082 + 
703.1083 + /*********************************************************
703.1084 +@@ -1081,7 +1081,7 @@
703.1085 + typedef struct {
703.1086 +     CARD8	reqType;	/* input extension major code	*/
703.1087 +     CARD8	ReqType;        /* X_GetDeviceButtonMapping     */
703.1088 +-    CARD16	length B16;
703.1089 ++    CARD16	length;
703.1090 +     CARD8	deviceid;
703.1091 +     BYTE	pad1, pad2, pad3;
703.1092 + } xGetDeviceButtonMappingReq;
703.1093 +@@ -1089,15 +1089,15 @@
703.1094 + typedef struct {
703.1095 +     CARD8	repType;	/* X_Reply */
703.1096 +     CARD8	RepType;        /* always X_GetDeviceButtonMapping */
703.1097 +-    CARD16	sequenceNumber B16;
703.1098 +-    CARD32	length B32;
703.1099 ++    CARD16	sequenceNumber;
703.1100 ++    CARD32	length;
703.1101 +     CARD8	nElts;
703.1102 +     BYTE	pad1, pad2, pad3;
703.1103 +-    CARD32	pad01 B32;
703.1104 +-    CARD32	pad02 B32;
703.1105 +-    CARD32	pad03 B32;
703.1106 +-    CARD32	pad04 B32;
703.1107 +-    CARD32	pad05 B32;
703.1108 ++    CARD32	pad01;
703.1109 ++    CARD32	pad02;
703.1110 ++    CARD32	pad03;
703.1111 ++    CARD32	pad04;
703.1112 ++    CARD32	pad05;
703.1113 + } xGetDeviceButtonMappingReply;
703.1114 + 
703.1115 + /*********************************************************
703.1116 +@@ -1109,7 +1109,7 @@
703.1117 + typedef struct {
703.1118 +     CARD8	reqType;	/* input extension major code	*/
703.1119 +     CARD8	ReqType;        /* X_SetDeviceButtonMapping     */
703.1120 +-    CARD16	length B16;
703.1121 ++    CARD16	length;
703.1122 +     CARD8	deviceid;
703.1123 +     CARD8	map_length;
703.1124 +     BYTE	pad1, pad2;
703.1125 +@@ -1118,16 +1118,16 @@
703.1126 + typedef struct {
703.1127 +     CARD8	repType;		/* X_Reply */
703.1128 +     CARD8	RepType;	/* always X_SetDeviceButtonMapping */
703.1129 +-    CARD16	sequenceNumber B16;
703.1130 +-    CARD32	length B32;
703.1131 ++    CARD16	sequenceNumber;
703.1132 ++    CARD32	length;
703.1133 +     CARD8	status;
703.1134 +     BYTE	pad0;
703.1135 +-    CARD16	pad1 B16;
703.1136 +-    CARD32	pad2 B32;
703.1137 +-    CARD32	pad3 B32;
703.1138 +-    CARD32	pad4 B32;
703.1139 +-    CARD32	pad5 B32;
703.1140 +-    CARD32	pad6 B32;
703.1141 ++    CARD16	pad1;
703.1142 ++    CARD32	pad2;
703.1143 ++    CARD32	pad3;
703.1144 ++    CARD32	pad4;
703.1145 ++    CARD32	pad5;
703.1146 ++    CARD32	pad6;
703.1147 + } xSetDeviceButtonMappingReply;
703.1148 + 
703.1149 + /*********************************************************
703.1150 +@@ -1139,7 +1139,7 @@
703.1151 + typedef struct {
703.1152 +     CARD8	reqType;
703.1153 +     CARD8	ReqType;        /* always X_QueryDeviceState */
703.1154 +-    CARD16	length B16;
703.1155 ++    CARD16	length;
703.1156 +     CARD8	deviceid;
703.1157 +     BYTE	pad1, pad2, pad3;
703.1158 + } xQueryDeviceStateReq;
703.1159 +@@ -1147,16 +1147,16 @@
703.1160 + typedef struct {
703.1161 +     CARD8	repType;		/* X_Reply */
703.1162 +     CARD8	RepType;	/* always X_QueryDeviceState	*/
703.1163 +-    CARD16	sequenceNumber B16;
703.1164 +-    CARD32	length B32;
703.1165 ++    CARD16	sequenceNumber;
703.1166 ++    CARD32	length;
703.1167 +     CARD8	num_classes;
703.1168 +     BYTE	pad0;
703.1169 +-    CARD16	pad1 B16;
703.1170 +-    CARD32	pad2 B32;
703.1171 +-    CARD32	pad3 B32;
703.1172 +-    CARD32	pad4 B32;
703.1173 +-    CARD32	pad5 B32;
703.1174 +-    CARD32	pad6 B32;
703.1175 ++    CARD16	pad1;
703.1176 ++    CARD32	pad2;
703.1177 ++    CARD32	pad3;
703.1178 ++    CARD32	pad4;
703.1179 ++    CARD32	pad5;
703.1180 ++    CARD32	pad6;
703.1181 + } xQueryDeviceStateReply;
703.1182 + 
703.1183 + typedef struct {
703.1184 +@@ -1205,11 +1205,11 @@
703.1185 + typedef struct {
703.1186 +     CARD8	reqType;
703.1187 +     CARD8	ReqType;        /* always X_SendExtensionEvent */
703.1188 +-    CARD16	length B16;
703.1189 +-    Window	destination B32;
703.1190 ++    CARD16	length;
703.1191 ++    Window	destination;
703.1192 +     CARD8	deviceid;
703.1193 +     BOOL	propagate;
703.1194 +-    CARD16	count B16;
703.1195 ++    CARD16	count;
703.1196 +     CARD8	num_events;
703.1197 +     BYTE	pad1,pad2,pad3;
703.1198 + } xSendExtensionEventReq;
703.1199 +@@ -1223,7 +1223,7 @@
703.1200 + typedef struct {
703.1201 +     CARD8	reqType;
703.1202 +     CARD8	ReqType;        /* always X_DeviceBell */
703.1203 +-    CARD16	length B16;
703.1204 ++    CARD16	length;
703.1205 +     CARD8	deviceid;
703.1206 +     CARD8	feedbackid;
703.1207 +     CARD8	feedbackclass;
703.1208 +@@ -1239,7 +1239,7 @@
703.1209 + typedef struct {
703.1210 +     CARD8	reqType;	/* input extension major code	*/
703.1211 +     CARD8	ReqType;	/* always X_SetDeviceValuators	*/
703.1212 +-    CARD16	length B16;
703.1213 ++    CARD16	length;
703.1214 +     CARD8       deviceid;
703.1215 +     CARD8       first_valuator;
703.1216 +     CARD8       num_valuators;
703.1217 +@@ -1249,15 +1249,15 @@
703.1218 + typedef struct {
703.1219 +     CARD8	repType;	/* X_Reply			*/
703.1220 +     CARD8	RepType;	/* always X_SetDeviceValuators	*/
703.1221 +-    CARD16	sequenceNumber B16;
703.1222 +-    CARD32	length B32;
703.1223 ++    CARD16	sequenceNumber;
703.1224 ++    CARD32	length;
703.1225 +     CARD8	status;
703.1226 +     BYTE	pad1, pad2, pad3;
703.1227 +-    CARD32	pad01 B32;
703.1228 +-    CARD32	pad02 B32;
703.1229 +-    CARD32	pad03 B32;
703.1230 +-    CARD32	pad04 B32;
703.1231 +-    CARD32	pad05 B32;
703.1232 ++    CARD32	pad01;
703.1233 ++    CARD32	pad02;
703.1234 ++    CARD32	pad03;
703.1235 ++    CARD32	pad04;
703.1236 ++    CARD32	pad05;
703.1237 + } xSetDeviceValuatorsReply;
703.1238 + 
703.1239 + /*********************************************************
703.1240 +@@ -1269,8 +1269,8 @@
703.1241 + typedef struct {
703.1242 +     CARD8	reqType;	/* input extension major code	*/
703.1243 +     CARD8	ReqType;	/* always X_GetDeviceControl	*/
703.1244 +-    CARD16	length B16;
703.1245 +-    CARD16      control B16;
703.1246 ++    CARD16	length;
703.1247 ++    CARD16	control;
703.1248 +     CARD8       deviceid;
703.1249 +     BYTE	pad2;
703.1250 + } xGetDeviceControlReq;
703.1251 +@@ -1278,66 +1278,66 @@
703.1252 + typedef struct {
703.1253 +     CARD8	repType;	/* X_Reply			*/
703.1254 +     CARD8	RepType;	/* always X_GetDeviceControl	*/
703.1255 +-    CARD16	sequenceNumber B16;
703.1256 +-    CARD32	length B32;
703.1257 ++    CARD16	sequenceNumber;
703.1258 ++    CARD32	length;
703.1259 +     CARD8	status;
703.1260 +     BYTE	pad1, pad2, pad3;
703.1261 +-    CARD32	pad01 B32;
703.1262 +-    CARD32	pad02 B32;
703.1263 +-    CARD32	pad03 B32;
703.1264 +-    CARD32	pad04 B32;
703.1265 +-    CARD32	pad05 B32;
703.1266 ++    CARD32	pad01;
703.1267 ++    CARD32	pad02;
703.1268 ++    CARD32	pad03;
703.1269 ++    CARD32	pad04;
703.1270 ++    CARD32	pad05;
703.1271 + } xGetDeviceControlReply;
703.1272 + 
703.1273 + typedef struct {
703.1274 +-    CARD16	control B16;	/* control type		*/
703.1275 +-    CARD16	length B16;	/* control length		*/
703.1276 ++    CARD16	control;	/* control type			*/
703.1277 ++    CARD16	length;		/* control length		*/
703.1278 + } xDeviceState;
703.1279 + 
703.1280 + typedef struct {
703.1281 +-    CARD16	control B16;		/* control type		*/
703.1282 +-    CARD16	length B16;		/* control length		*/
703.1283 +-    CARD32	num_valuators B32;	/* number of valuators		*/
703.1284 ++    CARD16	control;	/* control type			*/
703.1285 ++    CARD16	length;		/* control length		*/
703.1286 ++    CARD32	num_valuators;	/* number of valuators		*/
703.1287 + } xDeviceResolutionState;
703.1288 + 
703.1289 + typedef struct {
703.1290 +-     CARD16         control B16;
703.1291 +-     CARD16         length B16;
703.1292 +-     INT32          min_x B32;
703.1293 +-     INT32          max_x B32;
703.1294 +-     INT32          min_y B32;
703.1295 +-     INT32          max_y B32;
703.1296 +-     CARD32         flip_x B32;
703.1297 +-     CARD32         flip_y B32;
703.1298 +-     CARD32         rotation B32;
703.1299 +-     CARD32         button_threshold B32;
703.1300 ++     CARD16         control;
703.1301 ++     CARD16         length;
703.1302 ++     INT32          min_x;
703.1303 ++     INT32          max_x;
703.1304 ++     INT32          min_y;
703.1305 ++     INT32          max_y;
703.1306 ++     CARD32         flip_x;
703.1307 ++     CARD32         flip_y;
703.1308 ++     CARD32         rotation;
703.1309 ++     CARD32         button_threshold;
703.1310 + } xDeviceAbsCalibState;
703.1311 + 
703.1312 + typedef struct {
703.1313 +-     CARD16         control B16;
703.1314 +-     CARD16         length B16;
703.1315 +-     CARD32         offset_x B32;
703.1316 +-     CARD32         offset_y B32;
703.1317 +-     CARD32         width B32;
703.1318 +-     CARD32         height B32;
703.1319 +-     CARD32         screen B32;
703.1320 +-     CARD32         following B32;
703.1321 ++     CARD16         control;
703.1322 ++     CARD16         length;
703.1323 ++     CARD32         offset_x;
703.1324 ++     CARD32         offset_y;
703.1325 ++     CARD32         width;
703.1326 ++     CARD32         height;
703.1327 ++     CARD32         screen;
703.1328 ++     CARD32         following;
703.1329 + } xDeviceAbsAreaState;
703.1330 + 
703.1331 + typedef struct {
703.1332 +-    CARD16      control B16;            /* control type                 */
703.1333 +-    CARD16      length  B16;            /* control length               */
703.1334 ++    CARD16      control;	/* control type                 */
703.1335 ++    CARD16      length; 	/* control length               */
703.1336 +     CARD8       status;
703.1337 +     CARD8       iscore;
703.1338 +-    CARD16      pad1 B16;
703.1339 ++    CARD16      pad1;
703.1340 + } xDeviceCoreState;
703.1341 + 
703.1342 + typedef struct {
703.1343 +-    CARD16      control B16;            /* control type                 */
703.1344 +-    CARD16      length  B16;            /* control length               */
703.1345 ++    CARD16      control;	/* control type                 */
703.1346 ++    CARD16      length; 	/* control length               */
703.1347 +     CARD8       enable;
703.1348 +     CARD8       pad0;
703.1349 +-    CARD16      pad1 B16;
703.1350 ++    CARD16      pad1;
703.1351 + } xDeviceEnableState;
703.1352 + 
703.1353 + /*********************************************************
703.1354 +@@ -1349,8 +1349,8 @@
703.1355 + typedef struct {
703.1356 +     CARD8	reqType;	/* input extension major code	*/
703.1357 +     CARD8	ReqType;	/* always X_ChangeDeviceControl */
703.1358 +-    CARD16	length B16;
703.1359 +-    CARD16      control B16;
703.1360 ++    CARD16	length;
703.1361 ++    CARD16      control;
703.1362 +     CARD8       deviceid;
703.1363 +     BYTE        pad0;
703.1364 + } xChangeDeviceControlReq;
703.1365 +@@ -1358,33 +1358,33 @@
703.1366 + typedef struct {
703.1367 +     CARD8	repType;	/* X_Reply			*/
703.1368 +     CARD8	RepType;	/* always X_ChangeDeviceControl	*/
703.1369 +-    CARD16	sequenceNumber B16;
703.1370 +-    CARD32	length B32;
703.1371 ++    CARD16	sequenceNumber;
703.1372 ++    CARD32	length;
703.1373 +     CARD8	status;
703.1374 +     BYTE	pad1, pad2, pad3;
703.1375 +-    CARD32	pad01 B32;
703.1376 +-    CARD32	pad02 B32;
703.1377 +-    CARD32	pad03 B32;
703.1378 +-    CARD32	pad04 B32;
703.1379 +-    CARD32	pad05 B32;
703.1380 ++    CARD32	pad01;
703.1381 ++    CARD32	pad02;
703.1382 ++    CARD32	pad03;
703.1383 ++    CARD32	pad04;
703.1384 ++    CARD32	pad05;
703.1385 + } xChangeDeviceControlReply;
703.1386 + 
703.1387 + typedef struct {
703.1388 +-    CARD16	control B16;	/* control type		*/
703.1389 +-    CARD16	length B16;	/* control length		*/
703.1390 ++    CARD16	control;		/* control type			*/
703.1391 ++    CARD16	length;			/* control length		*/
703.1392 + } xDeviceCtl;
703.1393 + 
703.1394 + typedef struct {
703.1395 +-    CARD16	control B16;		/* control type		*/
703.1396 +-    CARD16	length B16;		/* control length		*/
703.1397 ++    CARD16	control;		/* control type			*/
703.1398 ++    CARD16	length;			/* control length		*/
703.1399 +     CARD8	first_valuator;		/* first valuator to change     */
703.1400 +     CARD8	num_valuators;		/* number of valuators to change*/
703.1401 +     CARD8	pad1,pad2;
703.1402 + } xDeviceResolutionCtl;
703.1403 + 
703.1404 + typedef struct {
703.1405 +-     CARD16         control B16;
703.1406 +-     CARD16         length B16;
703.1407 ++     CARD16         control;
703.1408 ++     CARD16         length;
703.1409 +      INT32          min_x;
703.1410 +      INT32          max_x;
703.1411 +      INT32          min_y;
703.1412 +@@ -1396,8 +1396,8 @@
703.1413 + } xDeviceAbsCalibCtl;
703.1414 + 
703.1415 + typedef struct {
703.1416 +-     CARD16         control B16;
703.1417 +-     CARD16         length B16;
703.1418 ++     CARD16         control;
703.1419 ++     CARD16         length;
703.1420 +      CARD32         offset_x;
703.1421 +      CARD32         offset_y;
703.1422 +      INT32          width;
703.1423 +@@ -1407,19 +1407,19 @@
703.1424 + } xDeviceAbsAreaCtl;
703.1425 + 
703.1426 + typedef struct {
703.1427 +-    CARD16          control B16;
703.1428 +-    CARD16          length  B16;
703.1429 ++    CARD16          control;
703.1430 ++    CARD16          length;
703.1431 +     CARD8           status;
703.1432 +     CARD8           pad0;
703.1433 +-    CARD16          pad1 B16;
703.1434 ++    CARD16          pad1;
703.1435 + } xDeviceCoreCtl;
703.1436 + 
703.1437 + typedef struct {
703.1438 +-    CARD16          control B16;
703.1439 +-    CARD16          length  B16;
703.1440 ++    CARD16          control;
703.1441 ++    CARD16          length;
703.1442 +     CARD8           enable;
703.1443 +     CARD8           pad0;
703.1444 +-    CARD16          pad1 B16;
703.1445 ++    CARD16          pad1;
703.1446 + } xDeviceEnableCtl;
703.1447 + 
703.1448 + /* XI 1.5 */
703.1449 +@@ -1433,24 +1433,24 @@
703.1450 + typedef struct {
703.1451 +     CARD8       reqType;        /* input extension major opcode */
703.1452 +     CARD8       ReqType;        /* always X_ListDeviceProperties */
703.1453 +-    CARD16      length B16;
703.1454 ++    CARD16      length;
703.1455 +     CARD8       deviceid;
703.1456 +     CARD8       pad0;
703.1457 +-    CARD16      pad1 B16;
703.1458 ++    CARD16      pad1;
703.1459 + } xListDevicePropertiesReq;
703.1460 + 
703.1461 + typedef struct {
703.1462 +     CARD8       repType;        /* X_Reply                       */
703.1463 +     CARD8       RepType;        /* always X_ListDeviceProperties */
703.1464 +-    CARD16      sequenceNumber B16;
703.1465 +-    CARD32      length B32;
703.1466 +-    CARD16      nAtoms B16;
703.1467 +-    CARD16      pad1 B16;
703.1468 +-    CARD32      pad2 B32;
703.1469 +-    CARD32      pad3 B32;
703.1470 +-    CARD32      pad4 B32;
703.1471 +-    CARD32      pad5 B32;
703.1472 +-    CARD32      pad6 B32;
703.1473 ++    CARD16      sequenceNumber;
703.1474 ++    CARD32      length;
703.1475 ++    CARD16      nAtoms;
703.1476 ++    CARD16      pad1;
703.1477 ++    CARD32      pad2;
703.1478 ++    CARD32      pad3;
703.1479 ++    CARD32      pad4;
703.1480 ++    CARD32      pad5;
703.1481 ++    CARD32      pad6;
703.1482 + } xListDevicePropertiesReply;
703.1483 + 
703.1484 + /*********************************************************
703.1485 +@@ -1462,14 +1462,14 @@
703.1486 + typedef struct {
703.1487 +     CARD8       reqType;        /* input extension major opcode */
703.1488 +     CARD8       ReqType;        /* always X_ChangeDeviceProperty */
703.1489 +-    CARD16      length B16;
703.1490 +-    Atom        property B32;
703.1491 +-    Atom        type B32;
703.1492 ++    CARD16      length;
703.1493 ++    Atom        property;
703.1494 ++    Atom        type;
703.1495 +     CARD8       deviceid;
703.1496 +     CARD8       format;
703.1497 +     CARD8       mode;
703.1498 +     CARD8       pad;
703.1499 +-    CARD32      nUnits B32;
703.1500 ++    CARD32      nUnits;
703.1501 + } xChangeDevicePropertyReq;
703.1502 + 
703.1503 + /*********************************************************
703.1504 +@@ -1481,11 +1481,11 @@
703.1505 + typedef struct {
703.1506 +     CARD8       reqType;        /* input extension major opcode */
703.1507 +     CARD8       ReqType;        /* always X_DeleteDeviceProperty */
703.1508 +-    CARD16      length B16;
703.1509 +-    Atom        property B32;
703.1510 ++    CARD16      length;
703.1511 ++    Atom        property;
703.1512 +     CARD8       deviceid;
703.1513 +     CARD8       pad0;
703.1514 +-    CARD16      pad1 B16;
703.1515 ++    CARD16      pad1;
703.1516 + } xDeleteDevicePropertyReq;
703.1517 + 
703.1518 + /*********************************************************
703.1519 +@@ -1497,11 +1497,11 @@
703.1520 + typedef struct {
703.1521 +     CARD8       reqType;        /* input extension major opcode */
703.1522 +     CARD8       ReqType;        /* always X_GetDeviceProperty */
703.1523 +-    CARD16      length B16;
703.1524 +-    Atom        property B32;
703.1525 +-    Atom        type B32;
703.1526 +-    CARD32      longOffset B32;
703.1527 +-    CARD32      longLength B32;
703.1528 ++    CARD16      length;
703.1529 ++    Atom        property;
703.1530 ++    Atom        type;
703.1531 ++    CARD32      longOffset;
703.1532 ++    CARD32      longLength;
703.1533 +     CARD8       deviceid;
703.1534 + #if defined(__cplusplus) || defined(c_plusplus)
703.1535 +     BOOL        c_delete;
703.1536 +@@ -1514,16 +1514,16 @@
703.1537 + typedef struct {
703.1538 +     CARD8       repType;        /* X_Reply                        */
703.1539 +     CARD8       RepType;        /* always X_GetDeviceProperty   */
703.1540 +-    CARD16      sequenceNumber B16;
703.1541 +-    CARD32      length B32;
703.1542 +-    Atom        propertyType B32;
703.1543 +-    CARD32      bytesAfter B32;
703.1544 +-    CARD32      nItems B32;
703.1545 ++    CARD16      sequenceNumber;
703.1546 ++    CARD32      length;
703.1547 ++    Atom        propertyType;
703.1548 ++    CARD32      bytesAfter;
703.1549 ++    CARD32      nItems;
703.1550 +     CARD8       format;
703.1551 +     CARD8       deviceid;
703.1552 +-    CARD16      pad1 B16;
703.1553 +-    CARD32      pad2 B32;
703.1554 +-    CARD32      pad3 B32;
703.1555 ++    CARD16      pad1;
703.1556 ++    CARD32      pad2;
703.1557 ++    CARD32      pad3;
703.1558 + } xGetDevicePropertyReply;
703.1559 + 
703.1560 + 
703.1561 +@@ -1539,16 +1539,16 @@
703.1562 +     {
703.1563 +     BYTE	type;
703.1564 +     CARD8       deviceid;
703.1565 +-    CARD16	sequenceNumber B16;
703.1566 +-    KeyButMask  device_state B16;
703.1567 ++    CARD16	sequenceNumber;
703.1568 ++    KeyButMask	device_state;
703.1569 +     CARD8	num_valuators;
703.1570 +     CARD8       first_valuator;
703.1571 +-    INT32	valuator0 B32;
703.1572 +-    INT32	valuator1 B32;
703.1573 +-    INT32	valuator2 B32;
703.1574 +-    INT32	valuator3 B32;
703.1575 +-    INT32	valuator4 B32;
703.1576 +-    INT32	valuator5 B32;
703.1577 ++    INT32	valuator0;
703.1578 ++    INT32	valuator1;
703.1579 ++    INT32	valuator2;
703.1580 ++    INT32	valuator3;
703.1581 ++    INT32	valuator4;
703.1582 ++    INT32	valuator5;
703.1583 +     }  deviceValuator;
703.1584 + 
703.1585 + /**********************************************************
703.1586 +@@ -1566,16 +1566,16 @@
703.1587 +     {
703.1588 +     BYTE	type;
703.1589 +     BYTE        detail;
703.1590 +-    CARD16	sequenceNumber B16;
703.1591 +-    Time        time B32;
703.1592 +-    Window      root B32;
703.1593 +-    Window      event B32;
703.1594 +-    Window      child B32;
703.1595 +-    INT16       root_x B16;
703.1596 +-    INT16       root_y B16;
703.1597 +-    INT16       event_x B16;
703.1598 +-    INT16       event_y B16;
703.1599 +-    KeyButMask  state B16;
703.1600 ++    CARD16      sequenceNumber;
703.1601 ++    Time        time;
703.1602 ++    Window      root;
703.1603 ++    Window      event;
703.1604 ++    Window      child;
703.1605 ++    INT16       root_x;
703.1606 ++    INT16       root_y;
703.1607 ++    INT16       event_x;
703.1608 ++    INT16       event_y;
703.1609 ++    KeyButMask  state;
703.1610 +     BOOL        same_screen;
703.1611 +     CARD8       deviceid;
703.1612 +     }  deviceKeyButtonPointer;
703.1613 +@@ -1590,16 +1590,16 @@
703.1614 +     {
703.1615 +     BYTE	type;
703.1616 +     BYTE        detail;
703.1617 +-    CARD16	sequenceNumber B16;
703.1618 +-    Time        time B32;
703.1619 +-    Window      window B32;
703.1620 ++    CARD16	sequenceNumber;
703.1621 ++    Time	time;
703.1622 ++    Window	window;
703.1623 +     BYTE	mode;
703.1624 +     CARD8       deviceid;
703.1625 +     BYTE	pad1, pad2;
703.1626 +-    CARD32	pad00 B32;
703.1627 +-    CARD32	pad01 B32;
703.1628 +-    CARD32	pad02 B32;
703.1629 +-    CARD32	pad03 B32;
703.1630 ++    CARD32	pad00;
703.1631 ++    CARD32	pad01;
703.1632 ++    CARD32	pad02;
703.1633 ++    CARD32	pad03;
703.1634 +     }  deviceFocus;
703.1635 + 
703.1636 + /**********************************************************
703.1637 +@@ -1616,17 +1616,17 @@
703.1638 +     {
703.1639 +     BYTE	type;
703.1640 +     BYTE        deviceid;
703.1641 +-    CARD16	sequenceNumber B16;
703.1642 +-    Time        time B32;
703.1643 ++    CARD16	sequenceNumber;
703.1644 ++    Time	time;
703.1645 +     CARD8	num_keys;
703.1646 +     CARD8	num_buttons;
703.1647 +     CARD8	num_valuators;
703.1648 +     CARD8       classes_reported;
703.1649 +     CARD8       buttons[4];
703.1650 +     CARD8       keys[4];
703.1651 +-    INT32	valuator0 B32;
703.1652 +-    INT32	valuator1 B32;
703.1653 +-    INT32	valuator2 B32;
703.1654 ++    INT32	valuator0;
703.1655 ++    INT32	valuator1;
703.1656 ++    INT32	valuator2;
703.1657 +     }  deviceStateNotify;
703.1658 + 
703.1659 + /**********************************************************
703.1660 +@@ -1639,7 +1639,7 @@
703.1661 +     {
703.1662 +     BYTE	type;
703.1663 +     BYTE        deviceid;
703.1664 +-    CARD16	sequenceNumber B16;
703.1665 ++    CARD16	sequenceNumber;
703.1666 +     CARD8       keys[28];
703.1667 +     }  deviceKeyStateNotify;
703.1668 + 
703.1669 +@@ -1653,7 +1653,7 @@
703.1670 +     {
703.1671 +     BYTE	type;
703.1672 +     BYTE        deviceid;
703.1673 +-    CARD16	sequenceNumber B16;
703.1674 ++    CARD16	sequenceNumber;
703.1675 +     CARD8       buttons[28];
703.1676 +     }  deviceButtonStateNotify;
703.1677 + 
703.1678 +@@ -1668,17 +1668,17 @@
703.1679 +     {
703.1680 +     BYTE	type;
703.1681 +     BYTE        deviceid;
703.1682 +-    CARD16	sequenceNumber B16;
703.1683 ++    CARD16      sequenceNumber;
703.1684 +     CARD8       request;
703.1685 +     KeyCode     firstKeyCode;
703.1686 +     CARD8       count;
703.1687 +     BYTE        pad1;
703.1688 +-    Time        time B32;
703.1689 +-    CARD32	pad00 B32;
703.1690 +-    CARD32	pad01 B32;
703.1691 +-    CARD32	pad02 B32;
703.1692 +-    CARD32	pad03 B32;
703.1693 +-    CARD32	pad04 B32;
703.1694 ++    Time        time;
703.1695 ++    CARD32      pad00;
703.1696 ++    CARD32      pad01;
703.1697 ++    CARD32      pad02;
703.1698 ++    CARD32      pad03;
703.1699 ++    CARD32      pad04;
703.1700 +     }  deviceMappingNotify;
703.1701 + 
703.1702 + /**********************************************************
703.1703 +@@ -1691,15 +1691,15 @@
703.1704 +     {
703.1705 +     BYTE	type;
703.1706 +     BYTE        deviceid;
703.1707 +-    CARD16	sequenceNumber B16;
703.1708 +-    Time        time B32;
703.1709 ++    CARD16      sequenceNumber;
703.1710 ++    Time        time;
703.1711 +     CARD8       request;
703.1712 +     BYTE        pad1, pad2, pad3;
703.1713 +-    CARD32	pad00 B32;
703.1714 +-    CARD32	pad01 B32;
703.1715 +-    CARD32	pad02 B32;
703.1716 +-    CARD32	pad03 B32;
703.1717 +-    CARD32	pad04 B32;
703.1718 ++    CARD32      pad00;
703.1719 ++    CARD32      pad01;
703.1720 ++    CARD32      pad02;
703.1721 ++    CARD32      pad03;
703.1722 ++    CARD32      pad04;
703.1723 +     }  changeDeviceNotify;
703.1724 + 
703.1725 + /**********************************************************
703.1726 +@@ -1712,16 +1712,16 @@
703.1727 +     {
703.1728 +     BYTE	type;
703.1729 +     BYTE        pad00;
703.1730 +-    CARD16	sequenceNumber B16;
703.1731 +-    Time        time B32;
703.1732 ++    CARD16      sequenceNumber;
703.1733 ++    Time        time;
703.1734 +     BYTE        devchange; /* Device{Added|Removed|Enabled|Disabled|ControlChanged} */
703.1735 +     BYTE        deviceid;
703.1736 +-    CARD16      control B16;
703.1737 +-    CARD32	pad02 B32;
703.1738 +-    CARD32	pad03 B32;
703.1739 +-    CARD32	pad04 B32;
703.1740 +-    CARD32	pad05 B32;
703.1741 +-    CARD32	pad06 B32;
703.1742 ++    CARD16      control;
703.1743 ++    CARD32      pad02;
703.1744 ++    CARD32      pad03;
703.1745 ++    CARD32      pad04;
703.1746 ++    CARD32      pad05;
703.1747 ++    CARD32      pad06;
703.1748 +     }  devicePresenceNotify;
703.1749 + 
703.1750 + 
703.1751 +@@ -1736,14 +1736,14 @@
703.1752 +     {
703.1753 +     BYTE        type;
703.1754 +     BYTE        state;               /* NewValue or Deleted */
703.1755 +-    CARD16      sequenceNumber B16;
703.1756 +-    CARD32      time B32;
703.1757 +-    Atom        atom B32;            /* affected property */
703.1758 +-    CARD32      pad0 B32;
703.1759 +-    CARD32      pad1 B32;
703.1760 +-    CARD32      pad2 B32;
703.1761 +-    CARD32      pad3 B32;
703.1762 +-    CARD16      pad5 B16;
703.1763 ++    CARD16      sequenceNumber;
703.1764 ++    CARD32      time;
703.1765 ++    Atom        atom;                /* affected property */
703.1766 ++    CARD32      pad0;
703.1767 ++    CARD32      pad1;
703.1768 ++    CARD32      pad2;
703.1769 ++    CARD32      pad3;
703.1770 ++    CARD16      pad5;
703.1771 +     CARD8       pad4;
703.1772 +     CARD8       deviceid;            /* id of device */
703.1773 +     } devicePropertyNotify;
703.1774 +diff -u -r inputproto-2.3.2/inputproto.pc.in inputproto-2.4/inputproto.pc.in
703.1775 +--- inputproto-2.3.2/inputproto.pc.in	2008-04-16 06:02:05.000000000 +0200
703.1776 ++++ inputproto-2.4/inputproto.pc.in	2021-10-28 11:29:49.843887000 +0200
703.1777 +@@ -1,9 +1,7 @@
703.1778 + prefix=@prefix@
703.1779 +-exec_prefix=@exec_prefix@
703.1780 +-libdir=@libdir@
703.1781 + includedir=@includedir@
703.1782 +  
703.1783 + Name: InputProto
703.1784 + Description: Input extension headers
703.1785 +-Version: @PACKAGE_VERSION@
703.1786 ++Version: 2.3.99.2
703.1787 + Cflags: -I${includedir}
703.1788 +
   704.1 --- a/xorg-libX11-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   704.2 +++ b/xorg-libX11-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   704.3 @@ -1,7 +1,7 @@
   704.4  # SliTaz package receipt.
   704.5  
   704.6  PACKAGE="xorg-libX11-dev"
   704.7 -VERSION="1.7.0"
   704.8 +VERSION="1.8.7"
   704.9  CATEGORY="development"
  704.10  SHORT_DESC="Development files for libX11."
  704.11  MAINTAINER="pankso@slitaz.org"
   705.1 --- a/xorg-libX11/receipt	Mon Oct 16 18:37:14 2023 +0000
   705.2 +++ b/xorg-libX11/receipt	Sun Jan 14 08:12:37 2024 +0000
   705.3 @@ -1,7 +1,7 @@
   705.4   # SliTaz package receipt.
   705.5  
   705.6  PACKAGE="xorg-libX11"
   705.7 -VERSION="1.7.0"
   705.8 +VERSION="1.8.7"
   705.9  CATEGORY="x-window"
  705.10  SHORT_DESC="X Library."
  705.11  MAINTAINER="pankso@slitaz.org"
  705.12 @@ -9,7 +9,7 @@
  705.13  WEB_SITE="https://www.x.org/wiki/"
  705.14  
  705.15  SOURCE="libX11"
  705.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  705.17 +TARBALL="$SOURCE-$VERSION.tar.xz"
  705.18  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
  705.19  
  705.20  DEPENDS="libxcb xorg-libXau xorg-libXdmcp"
   706.1 --- a/xorg-libXaw-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   706.2 +++ b/xorg-libXaw-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   706.3 @@ -1,7 +1,7 @@
   706.4  # SliTaz package receipt.
   706.5  
   706.6  PACKAGE="xorg-libXaw-dev"
   706.7 -VERSION="1.0.13"
   706.8 +VERSION="1.0.14"
   706.9  CATEGORY="development"
  706.10  SHORT_DESC="Development files for libXaw."
  706.11  MAINTAINER="pankso@slitaz.org"
   707.1 --- a/xorg-libXaw/receipt	Mon Oct 16 18:37:14 2023 +0000
   707.2 +++ b/xorg-libXaw/receipt	Sun Jan 14 08:12:37 2024 +0000
   707.3 @@ -1,7 +1,7 @@
   707.4  # SliTaz package receipt.
   707.5  
   707.6  PACKAGE="xorg-libXaw"
   707.7 -VERSION="1.0.13"
   707.8 +VERSION="1.0.14"
   707.9  CATEGORY="x-window"
  707.10  SHORT_DESC="X Athena Widgets Library."
  707.11  MAINTAINER="pankso@slitaz.org"
   708.1 --- a/xorg-libXfixes-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   708.2 +++ b/xorg-libXfixes-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   708.3 @@ -1,7 +1,7 @@
   708.4  # SliTaz package receipt.
   708.5  
   708.6  PACKAGE="xorg-libXfixes-dev"
   708.7 -VERSION="5.0.3"
   708.8 +VERSION="6.0.0"
   708.9  CATEGORY="development"
  708.10  SHORT_DESC="Development files for libXfixes."
  708.11  MAINTAINER="pankso@slitaz.org"
   709.1 --- a/xorg-libXfixes/receipt	Mon Oct 16 18:37:14 2023 +0000
   709.2 +++ b/xorg-libXfixes/receipt	Sun Jan 14 08:12:37 2024 +0000
   709.3 @@ -1,7 +1,7 @@
   709.4  # SliTaz package receipt.
   709.5  
   709.6  PACKAGE="xorg-libXfixes"
   709.7 -VERSION="5.0.3"
   709.8 +VERSION="6.0.0"
   709.9  CATEGORY="x-window"
  709.10  SHORT_DESC="X Fixes Library."
  709.11  MAINTAINER="pankso@slitaz.org"
   710.1 --- a/xorg-libXfont2-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   710.2 +++ b/xorg-libXfont2-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   710.3 @@ -1,7 +1,7 @@
   710.4  # SliTaz package receipt.
   710.5  
   710.6  PACKAGE="xorg-libXfont2-dev"
   710.7 -VERSION="2.0.4"
   710.8 +VERSION="2.0.5"
   710.9  CATEGORY="development"
  710.10  SHORT_DESC="Development files for libXfont2."
  710.11  MAINTAINER="maintainer@slitaz.org"
   711.1 --- a/xorg-libXfont2/receipt	Mon Oct 16 18:37:14 2023 +0000
   711.2 +++ b/xorg-libXfont2/receipt	Sun Jan 14 08:12:37 2024 +0000
   711.3 @@ -1,7 +1,7 @@
   711.4  # SliTaz package receipt.
   711.5  
   711.6  PACKAGE="xorg-libXfont2"
   711.7 -VERSION="2.0.4"
   711.8 +VERSION="2.0.5"
   711.9  CATEGORY="x-window"
  711.10  SHORT_DESC="X font Library."
  711.11  MAINTAINER="maintainer@slitaz.org"
   712.1 --- a/xorg-libXft-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   712.2 +++ b/xorg-libXft-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   712.3 @@ -1,7 +1,7 @@
   712.4  # SliTaz package receipt.
   712.5  
   712.6  PACKAGE="xorg-libXft-dev"
   712.7 -VERSION="2.3.3"
   712.8 +VERSION="2.3.4"
   712.9  CATEGORY="development"
  712.10  SHORT_DESC="Development files for libXft."
  712.11  MAINTAINER="pankso@slitaz.org"
   713.1 --- a/xorg-libXft/receipt	Mon Oct 16 18:37:14 2023 +0000
   713.2 +++ b/xorg-libXft/receipt	Sun Jan 14 08:12:37 2024 +0000
   713.3 @@ -1,7 +1,7 @@
   713.4  # SliTaz package receipt.
   713.5  
   713.6  PACKAGE="xorg-libXft"
   713.7 -VERSION="2.3.3"
   713.8 +VERSION="2.3.4"
   713.9  CATEGORY="x-window"
  713.10  SHORT_DESC="X FreeType library."
  713.11  MAINTAINER="pankso@slitaz.org"
   714.1 --- a/xorg-libXi-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   714.2 +++ b/xorg-libXi-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   714.3 @@ -1,7 +1,7 @@
   714.4  # SliTaz package receipt.
   714.5  
   714.6  PACKAGE="xorg-libXi-dev"
   714.7 -VERSION="1.7.10"
   714.8 +VERSION="1.8"
   714.9  CATEGORY="development"
  714.10  SHORT_DESC="Development files for libXi."
  714.11  MAINTAINER="pankso@slitaz.org"
   715.1 --- a/xorg-libXi/receipt	Mon Oct 16 18:37:14 2023 +0000
   715.2 +++ b/xorg-libXi/receipt	Sun Jan 14 08:12:37 2024 +0000
   715.3 @@ -1,7 +1,7 @@
   715.4  # SliTaz package receipt.
   715.5  
   715.6  PACKAGE="xorg-libXi"
   715.7 -VERSION="1.7.10"
   715.8 +VERSION="1.8"
   715.9  CATEGORY="x-window"
  715.10  SHORT_DESC="X Input Extension Library."
  715.11  MAINTAINER="pankso@slitaz.org"
   716.1 --- a/xorg-libXpm-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   716.2 +++ b/xorg-libXpm-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   716.3 @@ -1,7 +1,7 @@
   716.4  # SliTaz package receipt.
   716.5  
   716.6  PACKAGE="xorg-libXpm-dev"
   716.7 -VERSION="3.5.13"
   716.8 +VERSION="3.5.17"
   716.9  CATEGORY="development"
  716.10  SHORT_DESC="Development files for libXpm."
  716.11  MAINTAINER="pankso@slitaz.org"
   717.1 --- a/xorg-libXpm-util/receipt	Mon Oct 16 18:37:14 2023 +0000
   717.2 +++ b/xorg-libXpm-util/receipt	Sun Jan 14 08:12:37 2024 +0000
   717.3 @@ -1,7 +1,7 @@
   717.4  # SliTaz package receipt.
   717.5  
   717.6  PACKAGE="xorg-libXpm-util"
   717.7 -VERSION="3.5.13"
   717.8 +VERSION="3.5.17"
   717.9  CATEGORY="x-window"
  717.10  SHORT_DESC="X Pixmap utilities."
  717.11  MAINTAINER="al.bobylev@gmail.com"
   718.1 --- a/xorg-libXpm/receipt	Mon Oct 16 18:37:14 2023 +0000
   718.2 +++ b/xorg-libXpm/receipt	Sun Jan 14 08:12:37 2024 +0000
   718.3 @@ -1,7 +1,7 @@
   718.4  # SliTaz package receipt.
   718.5  
   718.6  PACKAGE="xorg-libXpm"
   718.7 -VERSION="3.5.13"
   718.8 +VERSION="3.5.17"
   718.9  CATEGORY="x-window"
  718.10  SHORT_DESC="X Pixmap Library."
  718.11  MAINTAINER="pankso@slitaz.org"
  718.12 @@ -9,7 +9,7 @@
  718.13  WEB_SITE="https://www.x.org/wiki/"
  718.14  
  718.15  SOURCE="libXpm"
  718.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  718.17 +TARBALL="$SOURCE-$VERSION.tar.xz"
  718.18  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
  718.19  
  718.20  DEPENDS="xorg-libX11 xorg-libXt"
   719.1 --- a/xorg-libXres-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   719.2 +++ b/xorg-libXres-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   719.3 @@ -1,7 +1,7 @@
   719.4  # SliTaz package receipt.
   719.5  
   719.6  PACKAGE="xorg-libXres-dev"
   719.7 -VERSION="1.2.0"
   719.8 +VERSION="1.2.1"
   719.9  CATEGORY="development"
  719.10  SHORT_DESC="Xorg module - development files."
  719.11  MAINTAINER="pascal.bellard@slitaz.org"
   720.1 --- a/xorg-libXres/receipt	Mon Oct 16 18:37:14 2023 +0000
   720.2 +++ b/xorg-libXres/receipt	Sun Jan 14 08:12:37 2024 +0000
   720.3 @@ -1,7 +1,7 @@
   720.4  # SliTaz package receipt.
   720.5  
   720.6  PACKAGE="xorg-libXres"
   720.7 -VERSION="1.2.0"
   720.8 +VERSION="1.2.1"
   720.9  CATEGORY="x-window"
  720.10  SHORT_DESC="Xorg server module."
  720.11  MAINTAINER="pascal.bellard@slitaz.org"
   721.1 --- a/xorg-libXt-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   721.2 +++ b/xorg-libXt-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   721.3 @@ -1,7 +1,7 @@
   721.4  # SliTaz package receipt.
   721.5  
   721.6  PACKAGE="xorg-libXt-dev"
   721.7 -VERSION="1.2.0"
   721.8 +VERSION="1.2.1"
   721.9  CATEGORY="development"
  721.10  SHORT_DESC="Development files for libXt."
  721.11  MAINTAINER="pankso@slitaz.org"
   722.1 --- a/xorg-libXt/receipt	Mon Oct 16 18:37:14 2023 +0000
   722.2 +++ b/xorg-libXt/receipt	Sun Jan 14 08:12:37 2024 +0000
   722.3 @@ -1,7 +1,7 @@
   722.4  # SliTaz package receipt.
   722.5  
   722.6  PACKAGE="xorg-libXt"
   722.7 -VERSION="1.2.0"
   722.8 +VERSION="1.2.1"
   722.9  CATEGORY="x-window"
  722.10  SHORT_DESC="X Toolkit Library."
  722.11  MAINTAINER="pankso@slitaz.org"
   723.1 --- a/xorg-presentproto/receipt	Mon Oct 16 18:37:14 2023 +0000
   723.2 +++ b/xorg-presentproto/receipt	Sun Jan 14 08:12:37 2024 +0000
   723.3 @@ -1,7 +1,8 @@
   723.4  # SliTaz package receipt.
   723.5  
   723.6  PACKAGE="xorg-presentproto"
   723.7 -VERSION="1.1"
   723.8 +VERSION="1.2"
   723.9 +RVERSION="1.1"
  723.10  CATEGORY="development"
  723.11  SHORT_DESC="Present extension headers."
  723.12  MAINTAINER="pascal.bellard@slitaz.org"
  723.13 @@ -9,7 +10,7 @@
  723.14  WEB_SITE="https://www.x.org/wiki/"
  723.15  
  723.16  SOURCE="presentproto"
  723.17 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  723.18 +TARBALL="$SOURCE-$RVERSION.tar.bz2"
  723.19  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
  723.20  
  723.21  DEPENDS="pkg-config xorg-util-macros"
  723.22 @@ -24,6 +25,10 @@
  723.23  # Rules to configure and make the package.
  723.24  compile_rules()
  723.25  {
  723.26 +        # Patch to bump 1.2
  723.27 +        # see https://build.opensuse.org/package/show/openSUSE:Leap:15.4/presentproto
  723.28 +        patch -p1 < $stuff/presentproto-2018.4.patch
  723.29 +
  723.30  	./configure			\
  723.31  		--sysconfdir=/etc	\
  723.32  		--localstatedir=/var	\
   724.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   724.2 +++ b/xorg-presentproto/stuff/presentproto-2018.4.patch	Sun Jan 14 08:12:37 2024 +0000
   724.3 @@ -0,0 +1,159 @@
   724.4 +diff -u -r presentproto-1.1/presentproto.pc.in presentproto-1.2/presentproto.pc.in
   724.5 +--- presentproto-1.1/presentproto.pc.in	2013-11-14 20:56:43.000000000 +0100
   724.6 ++++ presentproto-1.2/presentproto.pc.in	2018-05-22 21:46:36.660066000 +0200
   724.7 +@@ -5,5 +5,5 @@
   724.8 +  
   724.9 + Name: PresentProto
  724.10 + Description: Present extension headers
  724.11 +-Version: @PACKAGE_VERSION@
  724.12 ++Version: 1.2
  724.13 + Cflags: -I${includedir}
  724.14 +diff -u -r presentproto-1.1/presentproto.txt presentproto-1.2/presentproto.txt
  724.15 +--- presentproto-1.1/presentproto.txt	2017-01-26 08:47:12.000000000 +0100
  724.16 ++++ presentproto-1.2/presentproto.txt	2018-05-22 21:45:49.186193000 +0200
  724.17 +@@ -1,6 +1,6 @@
  724.18 + 			The Present Extension
  724.19 +-			     Version 1.0
  724.20 +-			       2013-6-6
  724.21 ++			     Version 1.2
  724.22 ++			      2018-02-26
  724.23 +       
  724.24 + 			    Keith Packard
  724.25 + 			  keithp@keithp.com
  724.26 +@@ -24,6 +24,7 @@
  724.27 + Eric Anholt <eric@anholt.net>
  724.28 + Owen Taylor <otaylor@redhat.com>
  724.29 + James Jones <jajones@nvidia.com>
  724.30 ++Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
  724.31 + 
  724.32 + 			     ❄ ❄ ❄  ❄  ❄ ❄ ❄ 
  724.33 + 
  724.34 +@@ -55,7 +56,8 @@
  724.35 + 
  724.36 + PRESENTOPTION { PresentOptionAsync,
  724.37 +                 PresentOptionCopy,
  724.38 +-		PresentOptionUST }
  724.39 ++		PresentOptionUST,
  724.40 ++		PresentOptionSuboptimal }
  724.41 + 
  724.42 + PRESENTCAPABILITY { PresentCapabilityAsync,
  724.43 + 		    PresentCapabilityFence,
  724.44 +@@ -66,7 +68,8 @@
  724.45 + 
  724.46 + PRESENTCOMPLETEMODE { PresentCompleteModeCopy,
  724.47 + 		      PresentCompleteModeFlip,
  724.48 +-		      PresentCompleteModeSkip }
  724.49 ++		      PresentCompleteModeSkip,
  724.50 ++		      PresentCompleteModeSuboptimalCopy }
  724.51 + 
  724.52 + The Present extension also uses the Sync extension Fence data type to
  724.53 + provide synchronization for pixmaps.
  724.54 +@@ -226,6 +229,10 @@
  724.55 + 	server will take the target UST time and convert it to a
  724.56 + 	suitable target MSC value.
  724.57 + 
  724.58 ++	If 'options' contains PresentOptionSuboptimal, then the
  724.59 ++	PresentCompleteNotify event can have mode
  724.60 ++	PresentCompleteModeSuboptimalCopy as the client supports it.
  724.61 ++
  724.62 + 	After the presentation occurs, a PresentCompleteNotify event
  724.63 + 	with kind PresentCompleteKindPixmap will be generated, both to
  724.64 + 	'window' as well as all members of 'notifies'.
  724.65 +@@ -318,7 +325,7 @@
  724.66 + 	PresentCapabilityFence means that the target device can take
  724.67 + 	advantage of SyncFences in the Present operations to improve
  724.68 + 	GPU throughput. The driver must operate correctly in the
  724.69 +-	absense of fences, but may have reduced performance. Using
  724.70 ++	absence of fences, but may have reduced performance. Using
  724.71 + 	fences for drivers not advertising this capability should have
  724.72 + 	no performance impact.
  724.73 + 
  724.74 +@@ -408,12 +415,16 @@
  724.75 + 	'mode' is PresentCompleteModeCopy when the source pixmap
  724.76 + 	contents are taken from the pixmap and the pixmap is idle
  724.77 + 	immediately after the presentation completes. 'mode' is
  724.78 +-	PresentCompleteModeFlip when the pixmap remains in-use even
  724.79 +-	after the presentation completes. It will become idle no later
  724.80 +-	than when the next PresentPixmap operation targeting the same
  724.81 +-	window by any client completes. If the presentation operation
  724.82 +-	was skipped because some later operation made it irrelevant,
  724.83 +-	then 'mode' will be PresentCompleteModeSkip.
  724.84 ++	PresentCompleteModeSuboptimalCopy when the source pixmap
  724.85 ++	contents are copied but it would be possible to flip the
  724.86 ++	pixmap if the buffer format/modifier was different (options
  724.87 ++	given to PresentPixmap must contain PresentOptionSuboptimal).
  724.88 ++	'mode' is PresentCompleteModeFlip when the pixmap remains in-use
  724.89 ++	even after the presentation completes. It will become idle no
  724.90 ++	later than when the next PresentPixmap operation targeting the
  724.91 ++	same window by any client completes. If the presentation
  724.92 ++	operation was skipped because some later operation made it
  724.93 ++	irrelevant, then 'mode' will be PresentCompleteModeSkip.
  724.94 + 
  724.95 + 	'serial' is the value provided in the generating PresentPixmap
  724.96 + 	request.
  724.97 +@@ -505,6 +516,9 @@
  724.98 + 
  724.99 + 	1.0: First published version
 724.100 + 
 724.101 ++	1.2: Added PresentCompleteModeSuboptimalCopy flag and
 724.102 ++	     PresentOptionSuboptimal option
 724.103 ++
 724.104 + 			     ❄ ❄ ❄  ❄  ❄ ❄ ❄
 724.105 + 
 724.106 + 
 724.107 +@@ -569,6 +583,7 @@
 724.108 + 	1	PresentOptionAsync
 724.109 + 	2	PresentOptionCopy;
 724.110 + 	4	PresentOptionUST
 724.111 ++	8	PresentOptionSuboptimal
 724.112 + └───
 724.113 + 
 724.114 + ┌───
 724.115 +@@ -589,6 +604,7 @@
 724.116 + 	0	PresentCompleteModeCopy
 724.117 + 	1	PresentCompleteModeFlip
 724.118 + 	2	PresentCompleteModeSkip
 724.119 ++	3	PresentCompleteModeSuboptimalCopy
 724.120 + └───
 724.121 + 
 724.122 + ┌───
 724.123 +diff -u -r presentproto-1.1/presenttokens.h presentproto-1.2/presenttokens.h
 724.124 +--- presentproto-1.1/presenttokens.h	2017-01-26 08:47:12.000000000 +0100
 724.125 ++++ presentproto-1.2/presenttokens.h	2018-05-22 21:46:48.816289000 +0200
 724.126 +@@ -25,7 +25,7 @@
 724.127 + 
 724.128 + #define PRESENT_NAME			"Present"
 724.129 + #define PRESENT_MAJOR			1
 724.130 +-#define PRESENT_MINOR			0
 724.131 ++#define PRESENT_MINOR			2
 724.132 + 
 724.133 + #define PresentNumberErrors		0
 724.134 + #define PresentNumberEvents		0
 724.135 +@@ -44,10 +44,12 @@
 724.136 + #define PresentOptionAsync              (1 << 0)
 724.137 + #define PresentOptionCopy               (1 << 1)
 724.138 + #define PresentOptionUST                (1 << 2)
 724.139 ++#define PresentOptionSuboptimal         (1 << 3)
 724.140 + 
 724.141 + #define PresentAllOptions       (PresentOptionAsync | \
 724.142 +                                  PresentOptionCopy | \
 724.143 +-                                 PresentOptionUST)
 724.144 ++                                 PresentOptionUST | \
 724.145 ++                                 PresentOptionSuboptimal)
 724.146 + 
 724.147 + /* Present capabilities */
 724.148 + 
 724.149 +@@ -94,8 +96,9 @@
 724.150 + 
 724.151 + /* Complete Modes */
 724.152 + 
 724.153 +-#define PresentCompleteModeCopy         0
 724.154 +-#define PresentCompleteModeFlip         1
 724.155 +-#define PresentCompleteModeSkip         2
 724.156 ++#define PresentCompleteModeCopy           0
 724.157 ++#define PresentCompleteModeFlip           1
 724.158 ++#define PresentCompleteModeSkip           2
 724.159 ++#define PresentCompleteModeSuboptimalCopy 3
 724.160 + 
 724.161 + #endif
 724.162 +
   725.1 --- a/xorg-randrproto/receipt	Mon Oct 16 18:37:14 2023 +0000
   725.2 +++ b/xorg-randrproto/receipt	Sun Jan 14 08:12:37 2024 +0000
   725.3 @@ -1,7 +1,8 @@
   725.4  # SliTaz package receipt.
   725.5  
   725.6  PACKAGE="xorg-randrproto"
   725.7 -VERSION="1.5.0"
   725.8 +VERSION="1.6.0"
   725.9 +RVERSION="1.5.0"
  725.10  CATEGORY="development"
  725.11  SHORT_DESC="Randr extension headers."
  725.12  MAINTAINER="pankso@slitaz.org"
  725.13 @@ -9,7 +10,7 @@
  725.14  WEB_SITE="https://www.x.org/wiki/"
  725.15  
  725.16  SOURCE="randrproto"
  725.17 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  725.18 +TARBALL="$SOURCE-$RVERSION.tar.bz2"
  725.19  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
  725.20  
  725.21  DEPENDS="pkg-config xorg-renderproto"
  725.22 @@ -26,6 +27,10 @@
  725.23  # Rules to configure and make the package.
  725.24  compile_rules()
  725.25  {
  725.26 +	# Patch to bump 1.6.0
  725.27 +	# see https://build.opensuse.org/package/show/openSUSE:Leap:15.4/randrproto
  725.28 +	patch -p1 < $stuff/randrproto-2018.4.patch
  725.29 +	
  725.30  	./configure			\
  725.31  		--sysconfdir=/etc	\
  725.32  		--localstatedir=/var	\
   726.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   726.2 +++ b/xorg-randrproto/stuff/randrproto-2018.4.patch	Sun Jan 14 08:12:37 2024 +0000
   726.3 @@ -0,0 +1,533 @@
   726.4 +diff -u randrproto-1.5.0/randr.h randrproto-1.6.0/randr.h
   726.5 +--- randrproto-1.5.0/randr.h	2015-05-17 06:24:33.000000000 +0200
   726.6 ++++ randrproto-1.6.0/randr.h	2018-05-22 20:55:30.331085000 +0200
   726.7 +@@ -40,11 +40,11 @@
   726.8 + 
   726.9 + #define RANDR_NAME		"RANDR"
  726.10 + #define RANDR_MAJOR		1
  726.11 +-#define RANDR_MINOR		5
  726.12 ++#define RANDR_MINOR		6
  726.13 + 
  726.14 +-#define RRNumberErrors		4
  726.15 ++#define RRNumberErrors		5
  726.16 + #define RRNumberEvents		2
  726.17 +-#define RRNumberRequests	45
  726.18 ++#define RRNumberRequests	47
  726.19 + 
  726.20 + #define X_RRQueryVersion	0
  726.21 + /* we skip 1 to make old clients fail pretty immediately */
  726.22 +@@ -109,6 +109,10 @@
  726.23 + #define X_RRSetMonitor		      43
  726.24 + #define X_RRDeleteMonitor	      44
  726.25 + 
  726.26 ++/* v1.6 */
  726.27 ++#define X_RRCreateLease		      45
  726.28 ++#define X_RRFreeLease		      46
  726.29 ++
  726.30 + /* Event selection bits */
  726.31 + #define RRScreenChangeNotifyMask  (1L << 0)
  726.32 + /* V1.2 additions */
  726.33 +@@ -119,6 +123,8 @@
  726.34 + #define RRProviderChangeNotifyMask   (1L << 4)
  726.35 + #define RRProviderPropertyNotifyMask (1L << 5)
  726.36 + #define RRResourceChangeNotifyMask   (1L << 6)
  726.37 ++/* V1.6 additions */
  726.38 ++#define RRLeaseNotifyMask            (1L << 7)
  726.39 + 
  726.40 + /* Event codes */
  726.41 + #define RRScreenChangeNotify	0
  726.42 +@@ -131,6 +137,8 @@
  726.43 + #define  RRNotify_ProviderChange    3
  726.44 + #define  RRNotify_ProviderProperty  4
  726.45 + #define  RRNotify_ResourceChange    5
  726.46 ++/* V1.6 additions */
  726.47 ++#define  RRNotify_Lease             6
  726.48 + /* used in the rotation field; rotation and reflection in 0.1 proto. */
  726.49 + #define RR_Rotate_0		1
  726.50 + #define RR_Rotate_90		2
  726.51 +@@ -172,6 +180,7 @@
  726.52 + #define BadRRCrtc		1
  726.53 + #define BadRRMode		2
  726.54 + #define BadRRProvider		3
  726.55 ++#define BadRRLease		4
  726.56 + 
  726.57 + /* Conventional RandR output properties */
  726.58 + 
  726.59 +@@ -187,6 +196,7 @@
  726.60 + #define RR_PROPERTY_BORDER_DIMENSIONS	"BorderDimensions"
  726.61 + #define RR_PROPERTY_GUID		"GUID"
  726.62 + #define RR_PROPERTY_RANDR_TILE		"TILE"
  726.63 ++#define RR_PROPERTY_NON_DESKTOP		"non-desktop"
  726.64 + 
  726.65 + /* roles this device can carry out */
  726.66 + #define RR_Capability_None 0
  726.67 +diff -u randrproto-1.5.0/randrproto.h randrproto-1.6.0/randrproto.h
  726.68 +--- randrproto-1.5.0/randrproto.h	2015-05-17 06:24:33.000000000 +0200
  726.69 ++++ randrproto-1.6.0/randrproto.h	2018-05-22 20:55:23.194950000 +0200
  726.70 +@@ -50,7 +50,7 @@
  726.71 + #define RRCrtc CARD32
  726.72 + #define RRProvider CARD32
  726.73 + #define RRModeFlags CARD32
  726.74 +-#define Atom CARD32
  726.75 ++#define RRLease CARD32
  726.76 + 
  726.77 + #define Rotation CARD16
  726.78 + #define SizeID CARD16
  726.79 +@@ -837,6 +837,46 @@
  726.80 + #define sz_xRRGetProviderPropertyReply	32
  726.81 + 
  726.82 + /*
  726.83 ++ * Additions for V1.6
  726.84 ++ */
  726.85 ++
  726.86 ++typedef struct {
  726.87 ++    CARD8	reqType;
  726.88 ++    CARD8	randrReqType;
  726.89 ++    CARD16	length B16;
  726.90 ++    Window	window B32;
  726.91 ++    RRLease	lid B32;
  726.92 ++    CARD16	nCrtcs B16;
  726.93 ++    CARD16	nOutputs B16;
  726.94 ++} xRRCreateLeaseReq;
  726.95 ++#define sz_xRRCreateLeaseReq	16
  726.96 ++
  726.97 ++typedef struct {
  726.98 ++    BYTE	type;
  726.99 ++    CARD8	nfd;
 726.100 ++    CARD16	sequenceNumber B16;
 726.101 ++    CARD32	length B32;
 726.102 ++    CARD32	pad2 B32;
 726.103 ++    CARD32	pad3 B32;
 726.104 ++    CARD32	pad4 B32;
 726.105 ++    CARD32	pad5 B32;
 726.106 ++    CARD32	pad6 B32;
 726.107 ++    CARD32	pad7 B32;
 726.108 ++} xRRCreateLeaseReply;
 726.109 ++#define sz_xRRCreateLeaseReply		32
 726.110 ++
 726.111 ++typedef struct {
 726.112 ++    CARD8	reqType;
 726.113 ++    CARD8	randrReqType;
 726.114 ++    CARD16	length B16;
 726.115 ++    RRLease	lid B32;
 726.116 ++    BYTE	terminate;
 726.117 ++    CARD8	pad1;
 726.118 ++    CARD16	pad2 B16;
 726.119 ++} xRRFreeLeaseReq;
 726.120 ++#define sz_xRRFreeLeaseReq		12
 726.121 ++
 726.122 ++/*
 726.123 +  * event
 726.124 +  */
 726.125 + typedef struct {
 726.126 +@@ -950,6 +990,22 @@
 726.127 + #define sz_xRRResourceChangeNotifyEvent	32
 726.128 + 
 726.129 + typedef struct {
 726.130 ++    CARD8 type;				/* always evBase + RRNotify */
 726.131 ++    CARD8 subCode;			/* RRNotify_Lease */
 726.132 ++    CARD16 sequenceNumber B16;
 726.133 ++    Time timestamp B32;			/* time resource was changed */
 726.134 ++    Window window B32;			/* window requesting notification */
 726.135 ++    RRLease lease B32;
 726.136 ++    CARD8 created;			/* created/deleted */
 726.137 ++    CARD8 pad0;
 726.138 ++    CARD16 pad1 B16;
 726.139 ++    CARD32 pad2 B32;
 726.140 ++    CARD32 pad3 B32;
 726.141 ++    CARD32 pad4 B32;
 726.142 ++} xRRLeaseNotifyEvent;
 726.143 ++#define sz_xRRLeaseNotifyEvent		32
 726.144 ++
 726.145 ++typedef struct {
 726.146 +     CARD8	reqType;
 726.147 +     CARD8	randrReqType;
 726.148 +     CARD16	length B16;
 726.149 +@@ -1091,6 +1147,5 @@
 726.150 + #undef Rotation
 726.151 + #undef SizeID
 726.152 + #undef SubpixelOrder
 726.153 +-#undef Atom
 726.154 + 
 726.155 + #endif /* _XRANDRP_H_ */
 726.156 +diff -u randrproto-1.5.0/randrproto.pc.in randrproto-1.6.0/randrproto.pc.in
 726.157 +--- randrproto-1.5.0/randrproto.pc.in	2015-05-17 06:24:33.000000000 +0200
 726.158 ++++ randrproto-1.6.0/randrproto.pc.in	2018-05-22 20:55:01.703541000 +0200
 726.159 +@@ -5,5 +5,5 @@
 726.160 +  
 726.161 + Name: RandrProto
 726.162 + Description: Randr extension headers
 726.163 +-Version: @PACKAGE_VERSION@
 726.164 ++Version: 1.6.0
 726.165 + Cflags: -I${includedir}
 726.166 +diff -u randrproto-1.5.0/randrproto.txt randrproto-1.6.0/randrproto.txt
 726.167 +--- randrproto-1.5.0/randrproto.txt	2015-05-17 06:24:33.000000000 +0200
 726.168 ++++ randrproto-1.6.0/randrproto.txt	2018-05-22 20:55:09.925702000 +0200
 726.169 +@@ -1,6 +1,6 @@
 726.170 + 	       The X Resize, Rotate and Reflect Extension
 726.171 +-			     Version 1.5.0
 726.172 +-			       2015-03-14
 726.173 ++			     Version 1.6.0
 726.174 ++			       2017-04-01
 726.175 + 
 726.176 + 			      Jim Gettys
 726.177 + 			   Jim.Gettys@hp.com
 726.178 +@@ -9,9 +9,7 @@
 726.179 + 			Hewlett Packard Company
 726.180 + 
 726.181 + 			     Keith Packard
 726.182 +-			keith.packard@intel.com
 726.183 +-		     Open Source Technology Center
 726.184 +-			   Intel Corporation
 726.185 ++			  keithp@keithp.com
 726.186 + 
 726.187 + 1. Introduction
 726.188 + 
 726.189 +@@ -162,7 +160,7 @@
 726.190 +  • A 'Monitor' is a rectangular subset of the screen which represents
 726.191 +    a coherent collection of pixels presented to the user.
 726.192 + 
 726.193 +- • Each Monitor is be associated with a list of outputs (which may be
 726.194 ++ • Each Monitor is associated with a list of outputs (which may be
 726.195 +    empty).
 726.196 + 
 726.197 +  • When clients define monitors, the associated outputs are removed from
 726.198 +@@ -178,7 +176,7 @@
 726.199 +    active outputs associated with them
 726.200 + 
 726.201 + This new object separates the physical configuration of the hardware
 726.202 +-from the logical subsets  the screen that applications should
 726.203 ++from the logical subsets of the screen that applications should
 726.204 + consider as single viewable areas.
 726.205 + 
 726.206 + 1.5.1. Relationship between Monitors and Xinerama
 726.207 +@@ -194,6 +192,25 @@
 726.208 + going forward the X server will not remove outputs dynamically,
 726.209 + just mark them as disconnected.
 726.210 + 
 726.211 ++1.6. Introduction to version 1.6 of the extension
 726.212 ++
 726.213 ++Version 1.6 adds resource leasing and non desktop output management.
 726.214 ++
 726.215 ++ • A “Lease” is a collection of crtcs and outputs which are made
 726.216 ++   available to a client for direct access via kernel KMS and DRM
 726.217 ++   APIs. This is done by passing a suitable file descriptor back to
 726.218 ++   the client which has access to those resources. While leased, those
 726.219 ++   resources aren't used by the X server.
 726.220 ++
 726.221 ++ • A “non-desktop” output is a device which should not normally be
 726.222 ++   considered as part of the desktop environment. Head-mounted
 726.223 ++   displays and the Apple "Touch Bar" are examples of such
 726.224 ++   devices. A desktop environment should be able to discover which
 726.225 ++   outputs are connected to such devices and, by default, not present
 726.226 ++   normal desktop applications on them. This is done by having
 726.227 ++   RRGetOutputInfo report such devices as Disconnected while reporting
 726.228 ++   all other information about the device correctly.
 726.229 ++
 726.230 + 1.99 Acknowledgments
 726.231 + 
 726.232 + Our thanks to the contributors to the design found on the xpert mailing
 726.233 +@@ -218,7 +235,7 @@
 726.234 + Screens may change dynamically, either under control of this extension, or
 726.235 + due to external events. Examples include: monitors being swapped, pressing a
 726.236 + button to switch from internal display to an external monitor on a laptop,
 726.237 +-or, eventually, the hotplug of a display card entirely on busses such as
 726.238 ++or, eventually, the hotplug of a display card entirely on buses such as
 726.239 + Cardbus or Express Card which permit hot-swap (which will require other work
 726.240 + in addition to this extension).
 726.241 + 
 726.242 +@@ -280,6 +297,8 @@
 726.243 + 	A value for a MODE argument does not name a defined MODE.
 726.244 + Provider
 726.245 + 	A value for a PROVIDER argument does not name a defined PROVIDER.
 726.246 ++Lease
 726.247 ++	A value for a LEASE argument does not name a defined LEASE
 726.248 + 
 726.249 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.250 + 
 726.251 +@@ -427,6 +446,12 @@
 726.252 + 
 726.253 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.254 + 
 726.255 ++5.7. Protocol Types added in version 1.6 of the extension
 726.256 ++
 726.257 ++LEASE { XID }
 726.258 ++
 726.259 ++			      ❧❧❧❧❧❧❧❧❧❧❧
 726.260 ++
 726.261 + 6. Extension Initialization
 726.262 + 
 726.263 + The name of this extension is "RANDR".
 726.264 +@@ -596,7 +621,7 @@
 726.265 + 	rate is unknown or on devices for which refresh is not relevant.
 726.266 + 
 726.267 + 	'sizes' is the list of possible frame buffer sizes (at the normal
 726.268 +-	orientation. Each size indicates both the linear physical size of
 726.269 ++	orientation). Each size indicates both the linear physical size of
 726.270 + 	the screen and the pixel size.
 726.271 + 
 726.272 + 	'refresh' is the list of refresh rates for each size. Each element
 726.273 +@@ -756,6 +781,12 @@
 726.274 + 	monitor in some way; for fixed-pixel devices, this would generally
 726.275 + 	indicate which modes match the resolution of the output device.
 726.276 + 
 726.277 ++	Changes in version 1.6 of the protocol:
 726.278 ++
 726.279 ++	When a “non-desktop” device is connected, the 'connection'
 726.280 ++	field will report Disconnected but the remaining fields will
 726.281 ++	report information about the connected device.
 726.282 ++
 726.283 + ┌───
 726.284 +     RRListOutputProperties
 726.285 + 	output:OUTPUT
 726.286 +@@ -767,6 +798,12 @@
 726.287 + 	This request returns the atoms of properties currently defined on
 726.288 + 	the output.
 726.289 + 
 726.290 ++	Changes in version 1.6 of the protocol:
 726.291 ++
 726.292 ++	When a “non-desktop” device is connected, the property list
 726.293 ++	will be correct for the device, even though RRGetOutputInfo
 726.294 ++	reports the device as disconnected.
 726.295 ++
 726.296 + ┌───
 726.297 +     RRQueryOutputProperty
 726.298 + 	output: OUTPUT
 726.299 +@@ -798,6 +835,12 @@
 726.300 + 	changed by clients. Immutable properties are interpreted by the X
 726.301 + 	server.
 726.302 + 
 726.303 ++	Changes in version 1.6 of the protocol:
 726.304 ++
 726.305 ++	When a “non-desktop” device is connected, the property information
 726.306 ++	will be correct for the device, even though RRGetOutputInfo
 726.307 ++	reports the device as disconnected.
 726.308 ++
 726.309 + ┌───
 726.310 +     RRConfigureOutputProperty
 726.311 + 	output: OUTPUT
 726.312 +@@ -916,6 +959,12 @@
 726.313 + 	is True and the bytes-after is zero, the property is also deleted
 726.314 + 	from the output, and a RROutputPropertyNotify event is generated.
 726.315 + 
 726.316 ++	Changes in version 1.6 of the protocol:
 726.317 ++
 726.318 ++	When a “non-desktop” device is connected, the property value
 726.319 ++	will be correct for the device, even though RRGetOutputInfo
 726.320 ++	reports the device as disconnected.
 726.321 ++
 726.322 + ┌───
 726.323 +     RRCreateMode
 726.324 + 	window: WINDOW
 726.325 +@@ -991,7 +1040,7 @@
 726.326 + 
 726.327 + 	Errors: Window
 726.328 + 
 726.329 +-	RRGetCrtcModes returns information about the current and available
 726.330 ++	RRGetCrtcInfo returns information about the current and available
 726.331 + 	configurations for the specified crtc connected to the screen
 726.332 + 	associated with 'window'.
 726.333 + 
 726.334 +@@ -1674,6 +1723,57 @@
 726.335 + 	window of the screen.
 726.336 + 
 726.337 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.338 ++
 726.339 ++7.6. Extension Requests added in version 1.6 of the extension.
 726.340 ++
 726.341 ++┌───
 726.342 ++    RRCreateLease
 726.343 ++	window : WINDOW
 726.344 ++	lid: LEASE
 726.345 ++	crtcs: LISTofCRTC
 726.346 ++	outputs: LISTofOUTPUT
 726.347 ++     ▶
 726.348 ++	nfd: CARD8
 726.349 ++	lease: FD
 726.350 ++└───
 726.351 ++	Errors: IdChoice, Window, Access, Value, CRTC, Output
 726.352 ++
 726.353 ++	Creates a new Lease called 'lid' for the specified crtcs and
 726.354 ++	outputs from the screen defined by 'window'. Returns a KMS/DRM
 726.355 ++	file descriptor which can control the leased objects directly
 726.356 ++	through the kernel. While leased, all resources will appear to
 726.357 ++	be 'useless' to clients other than the leasing client as
 726.358 ++	follows:
 726.359 ++
 726.360 ++	• Crtcs are reported as having no 'possible-outputs' and all
 726.361 ++	  other values reported as if the crtc were disabled.
 726.362 ++
 726.363 ++	• Outputs are reported as having no crtcs they can be
 726.364 ++	  connected to, no clones they can share a crtc with, will
 726.365 ++	  report a connection status of Disconnected, and will show
 726.366 ++	  the current crtc as if it were disabled.
 726.367 ++
 726.368 ++	The lease remains in effect until the file descriptor is
 726.369 ++	closed, even if the client holding the lease disconnects from
 726.370 ++	the X server.
 726.371 ++
 726.372 ++	Returns an Access error if any of the named resources are
 726.373 ++	already leased to another client.
 726.374 ++
 726.375 ++┌───
 726.376 ++    RRFreeLease
 726.377 ++	lid: LEASE
 726.378 ++	terminate: BOOL
 726.379 ++└───
 726.380 ++	Errors: Lease
 726.381 ++
 726.382 ++	Frees the reference to the lease 'lid'. If 'terminate' is
 726.383 ++	true, then the lease is terminated and all leased resources
 726.384 ++	returned to the X server. If 'terminate' is false, then the
 726.385 ++	lease remains in effect, but the X server no longer has a name
 726.386 ++	for it.
 726.387 ++
 726.388 ++			      ❧❧❧❧❧❧❧❧❧❧❧
 726.389 + 8. Extension Events
 726.390 + 
 726.391 + Clients MAY select for ConfigureNotify on the root window to be
 726.392 +@@ -1754,6 +1854,12 @@
 726.393 + 	precise change can be detected by examining the new state of the
 726.394 + 	system.
 726.395 + 
 726.396 ++	Changes in version 1.6 of the protocol:
 726.397 ++
 726.398 ++	When a “non-desktop” device is connected, this event will be
 726.399 ++	delivered when the connection status of the output changes,
 726.400 ++	however the 'connection' value will be set to 'Disconnected'.
 726.401 ++
 726.402 + ┌───
 726.403 +     RROutputPropertyNotify:
 726.404 + 	window: WINDOW			window requesting notification
 726.405 +@@ -1798,7 +1904,7 @@
 726.406 + 	This event is sent whenever the monitor's configuration changes
 726.407 + 	or if a new monitor configuration becomes available that was
 726.408 + 	not available in the past. In this case, the client MUST call
 726.409 +-	RRGetCrtcModes to update its view of possible monitor
 726.410 ++	RRGetCrtcInfo to update its view of possible monitor
 726.411 + 	configurations to have a correct view of possible monitor
 726.412 + 	organizations.
 726.413 + 
 726.414 +@@ -1855,6 +1961,21 @@
 726.415 + 	created or destroyed. Querying the list of available resources
 726.416 + 	with RRGetScreenResources and RRGetProviders will return the new set.
 726.417 + 
 726.418 ++8.3 Events added in version 1.6 of the RandR extension
 726.419 ++
 726.420 ++┌───
 726.421 ++    RRLeaseNotify:
 726.422 ++	timestamp : TIMESTAMP		time screen was reconfigured
 726.423 ++	window : WINDOW			window requesting notification
 726.424 ++	lease : LEASE			lease
 726.425 ++	created : BOOL			created/destroyed indicator
 726.426 ++└───
 726.427 ++
 726.428 ++	This event is generated whenever a lease has been created or
 726.429 ++	destroyed and is sent to requesting clients. 'timestamp'
 726.430 ++	indicates when the change happend.  'window' is the window
 726.431 ++	selecting for this event.
 726.432 ++
 726.433 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.434 + 
 726.435 + 9. Properties
 726.436 +@@ -1878,6 +1999,13 @@
 726.437 + gracefully to lower version functionality, though, if the driver
 726.438 + doesn't handle a mandatory property correctly.
 726.439 + 
 726.440 ++Changes in version 1.6 of the protocol:
 726.441 ++
 726.442 ++When a “non-desktop” device is connected, the property information
 726.443 ++will be correct for the device, even though RRGetOutputInfo
 726.444 ++reports the device as disconnected. The “non-desktop” property will be
 726.445 ++set to 1 for such devices and not present on other devices.
 726.446 ++
 726.447 + 9.1 Known properties
 726.448 + 
 726.449 +     "Backlight"			aka RR_PROPERTY_BACKLIGHT
 726.450 +@@ -1978,6 +2106,29 @@
 726.451 + 	output. Should include main EDID data and all extension
 726.452 + 	blocks. Previously known as EdidData.
 726.453 + 
 726.454 ++    “non-desktop”	aka RR_PROPERTY_NON_DESKTOP
 726.455 ++	Type:			INTEGER
 726.456 ++	Format:			32
 726.457 ++	Num items:		1
 726.458 ++	Flags			Immutable
 726.459 ++	Range/List:		0-1
 726.460 ++
 726.461 ++	Indicates whether the device attached to this output should not
 726.462 ++	be considered part of the normal desktop. When set to 0 or not
 726.463 ++	present, the output should be presented as part of the
 726.464 ++	desktop.
 726.465 ++
 726.466 ++	When set to 1, the output should not be presented as part of
 726.467 ++	the desktop. To not present an output as part of the desktop,
 726.468 ++	the normal desktop environment should not be shown on this
 726.469 ++	output, nor should desktop applications be positioned on it.
 726.470 ++
 726.471 ++	When set to 1, RRGetOutputInfo will always report connection status
 726.472 ++	Disconnected, but RROutputChangeNotify events will still be
 726.473 ++	delivered when the connection status changes and all other
 726.474 ++	information about the output and connected device will be
 726.475 ++	reported correctly.
 726.476 ++
 726.477 +     "SignalFormat"		aka RR_PROPERTY_SIGNAL_FORMAT
 726.478 + 	Type:			ATOM
 726.479 + 	Format:			32
 726.480 +@@ -2168,6 +2319,13 @@
 726.481 + Property			Immutable	Mandatory since
 726.482 + ────────			─────────	───────────────
 726.483 + TILE				yes		not mandatory
 726.484 ++
 726.485 ++9.8 Properties introduced with version 1.6 of the RandR extension
 726.486 ++
 726.487 ++Property			Immutable	Mandatory since
 726.488 ++────────			─────────	───────────────
 726.489 ++non-desktop			yes		not mandatory
 726.490 ++
 726.491 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.492 + 
 726.493 + 10. Extension Versioning
 726.494 +@@ -2206,6 +2364,8 @@
 726.495 + 
 726.496 + 	1.5: Added Monitors
 726.497 + 
 726.498 ++	1.6: Added Leases and non-desktop output information.
 726.499 ++
 726.500 + Compatibility between 0.0 and 1.0 was *NOT* preserved, and 0.0 clients
 726.501 + will fail against 1.0 servers. The wire encoding op-codes were
 726.502 + changed for GetScreenInfo to ensure this failure in a relatively
 726.503 +@@ -2214,7 +2374,7 @@
 726.504 + compatibility from this point. Version 1.2 offers an extended model of the
 726.505 + system with multiple output support. Version 1.3 adds a cheap version of
 726.506 + GetScreenResources to avoid expensive DDC operations, CRTC transformations,
 726.507 +-panning, and the primary output concept. Versions 1.2 through 1.4 are
 726.508 ++panning, and the primary output concept. Versions 1.2 through 1.6 are
 726.509 + backward-compatible with 1.1.
 726.510 + 
 726.511 + 			      ❧❧❧❧❧❧❧❧❧❧❧
 726.512 +@@ -2286,6 +2446,7 @@
 726.513 + 	0x0010	ProviderChangeNotifyMask 	Added in version 1.4
 726.514 + 	0x0020	ProviderPropertyNotifyMask	Added in version 1.4
 726.515 + 	0x0040	ResourceChangeNotifyMask	Added in version 1.4
 726.516 ++	0x0080  LeaseNotifyMask                 Added in version 1.6
 726.517 + 
 726.518 + └───
 726.519 +       Event select mask for RRSelectInput
 726.520 +@@ -2363,14 +2524,14 @@
 726.521 + 	4	ATOM		name
 726.522 + 	1	BOOL		primary
 726.523 + 	1	BOOL		automatic
 726.524 +-	2	CARD16		ncrtcs
 726.525 ++	2	CARD16		noutputs
 726.526 + 	2	INT16		x
 726.527 + 	2	INT16		y
 726.528 + 	2	CARD16		width in pixels
 726.529 + 	2	CARD16		height in pixels
 726.530 + 	4	CARD32		width in millimeters
 726.531 + 	4	CARD32		height in millimeters
 726.532 +-	4*n	CRTC		crtcs
 726.533 ++	4*n	OUTPUT		outputs
 726.534 + └───
 726.535 + 
 726.536 + A.2 Protocol Requests
   727.1 --- a/xorg-server-Xephyr/receipt	Mon Oct 16 18:37:14 2023 +0000
   727.2 +++ b/xorg-server-Xephyr/receipt	Sun Jan 14 08:12:37 2024 +0000
   727.3 @@ -1,7 +1,7 @@
   727.4  # SliTaz package receipt.
   727.5  
   727.6  PACKAGE="xorg-server-Xephyr"
   727.7 -VERSION="1.12.4"
   727.8 +VERSION="1.20.14"
   727.9  CATEGORY="x-window"
  727.10  SHORT_DESC="The Xephyr Xorg server."
  727.11  MAINTAINER="pankso@slitaz.org"
   728.1 --- a/xorg-server-Xnest/receipt	Mon Oct 16 18:37:14 2023 +0000
   728.2 +++ b/xorg-server-Xnest/receipt	Sun Jan 14 08:12:37 2024 +0000
   728.3 @@ -1,7 +1,7 @@
   728.4  # SliTaz package receipt.
   728.5  
   728.6  PACKAGE="xorg-server-Xnest"
   728.7 -VERSION="1.12.4"
   728.8 +VERSION="1.20.14"
   728.9  CATEGORY="x-window"
  728.10  SHORT_DESC="Xorg Xnest server."
  728.11  MAINTAINER="pankso@slitaz.org"
   729.1 --- a/xorg-server-Xvfb/receipt	Mon Oct 16 18:37:14 2023 +0000
   729.2 +++ b/xorg-server-Xvfb/receipt	Sun Jan 14 08:12:37 2024 +0000
   729.3 @@ -1,7 +1,7 @@
   729.4  # SliTaz package receipt.
   729.5  
   729.6  PACKAGE="xorg-server-Xvfb"
   729.7 -VERSION="1.12.4"
   729.8 +VERSION="1.20.14"
   729.9  CATEGORY="x-window"
  729.10  SHORT_DESC="Xvfb Xorg server."
  729.11  MAINTAINER="pankso@slitaz.org"
   730.1 --- a/xorg-server-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   730.2 +++ b/xorg-server-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   730.3 @@ -1,7 +1,7 @@
   730.4  # SliTaz package receipt.
   730.5  
   730.6  PACKAGE="xorg-server-dev"
   730.7 -VERSION="1.12.4"
   730.8 +VERSION="1.20.14"
   730.9  CATEGORY="development"
  730.10  SHORT_DESC="Xorg server devel files needed to build drivers."
  730.11  MAINTAINER="pankso@slitaz.org"
  730.12 @@ -16,7 +16,7 @@
  730.13  xorg-kbproto xorg-randrproto xorg-renderproto xorg-videoproto \
  730.14  xorg-compositeproto xorg-recordproto xorg-scrnsaverproto xorg-xf86dgaproto \
  730.15  xorg-fontcacheproto xorg-printproto xorg-resourceproto xorg-xineramaproto \
  730.16 -xorg-xf86bigfontproto xorg-xf86miscproto xorg-trapproto"
  730.17 +xorg-xf86bigfontproto xorg-xf86miscproto xorg-trapproto xorg-presentproto"
  730.18  
  730.19  # Use devel files from ARCH default Xserver
  730.20  case "$ARCH" in
   731.1 --- a/xorg-server/receipt	Mon Oct 16 18:37:14 2023 +0000
   731.2 +++ b/xorg-server/receipt	Sun Jan 14 08:12:37 2024 +0000
   731.3 @@ -1,25 +1,27 @@
   731.4  # SliTaz package receipt.
   731.5  
   731.6  PACKAGE="xorg-server"
   731.7 -VERSION="1.12.4"
   731.8 +VERSION="1.20.14"
   731.9  CATEGORY="x-window"
  731.10  SHORT_DESC="Xorg core server."
  731.11  MAINTAINER="pankso@slitaz.org"
  731.12  LICENSE="MIT"
  731.13  SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
  731.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
  731.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
  731.16  WEB_SITE="https://www.x.org/"
  731.17  WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
  731.18  
  731.19  # Mesa build dep make also Xorg depends on libdrm.
  731.20  DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
  731.21 -xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \
  731.22 -xorg-xf86-input-evdev"
  731.23 +xorg-libXfont xorg-libXfont2 xorg-libXau xorg-base-fonts libgcrypt \
  731.24 +pixman udev libdrm xorg-xf86-input-evdev"
  731.25  BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
  731.26  xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
  731.27  flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
  731.28 -xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \
  731.29 -xorg-libXv-dev"
  731.30 +xorg-presentproto xorg-dri2proto xorg-libXau-dev xorg-dev-proto libepoxy-dev \
  731.31 +xorg-xkbcomp-dev xorg-libXfont2-dev libdrm-dev xorg-glproto xorg-libXv-dev \
  731.32 +xcb-util-dev xcb-util-image-dev xcb-util-renderutil-dev \
  731.33 +xcb-util-keysyms-dev xcb-util-wm-dev"
  731.34  
  731.35  current_version()
  731.36  {
  731.37 @@ -35,6 +37,33 @@
  731.38  	# Patch to build with gcc > 5
  731.39  	patch -p1 < $stuff/xorg-gcc6.patch
  731.40  
  731.41 +	# Patch to build xorg 1.20 with udev
  731.42 +	# see https://gitlab.freedesktop.org/xorg/xserver/-/issues/879
  731.43 +	patch -p1 < $stuff/xorg-udev.patch
  731.44 +
  731.45 +	# Patch xorg CVEs, thanks Slackware
  731.46 +	# http://ftp.slackware.com/pub/slackware/slackware-15.0/patches/source/xorg-server/patch
  731.47 +
  731.48 +	patch -p1 < $stuff/0001-f1070c01d616c5f21f939d5ebc533738779451ac.patch
  731.49 +	patch -p1 < $stuff/0002-dd8caf39e9e15d8f302e54045dd08d8ebf1025dc.patch
  731.50 +	patch -p1 < $stuff/0003-6907b6ea2b4ce949cb07271f5b678d5966d9df42.patch
  731.51 +	patch -p1 < $stuff/CVE-2022-3550.patch
  731.52 +	patch -p1 < $stuff/CVE-2022-3551.patch
  731.53 +	patch -p1 < $stuff/CVE-2022-3553.patch
  731.54 +	patch -p1 < $stuff/CVE-2022-4283.patch
  731.55 +	patch -p1 < $stuff/CVE-2022-46340.patch
  731.56 +	patch -p1 < $stuff/CVE-2022-46341.patch
  731.57 +	patch -p1 < $stuff/CVE-2022-46342.patch
  731.58 +	patch -p1 < $stuff/CVE-2022-46343.patch
  731.59 +	patch -p1 < $stuff/CVE-2022-46344.patch
  731.60 +	patch -p1 < $stuff/CVE-2022-46340.correction.patch
  731.61 +	patch -p1 < $stuff/CVE-2023-0494.patch
  731.62 +	patch -p1 < $stuff/CVE-2023-1393.patch
  731.63 +	patch -p1 < $stuff/CVE-2023-5367.patch
  731.64 +	patch -p1 < $stuff/CVE-2023-5380.patch
  731.65 +	patch -p1 < $stuff/CVE-2023-6377.patch
  731.66 +	patch -p1 < $stuff/CVE-2023-6478.patch
  731.67 +
  731.68  	# Xephyr make possible to use Xorg in a chroot.
  731.69  	./configure \
  731.70  		--prefix=/usr \
  731.71 @@ -79,7 +108,7 @@
  731.72  	rm $fs/usr/bin/Xvfb
  731.73  	# Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev
  731.74  	rm $fs/usr/bin/Xephyr
  731.75 -	rm $fs/usr/bin/Xfbdev
  731.76 +	#rm $fs/usr/bin/Xfbdev
  731.77  }
  731.78  
  731.79  # We need /var/tmp rw to let xkbcomp builr XKB definition.
   732.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   732.2 +++ b/xorg-server/stuff/0001-f1070c01d616c5f21f939d5ebc533738779451ac.patch	Sun Jan 14 08:12:37 2024 +0000
   732.3 @@ -0,0 +1,75 @@
   732.4 +From f1070c01d616c5f21f939d5ebc533738779451ac Mon Sep 17 00:00:00 2001
   732.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   732.6 +Date: Tue, 5 Jul 2022 12:40:47 +1000
   732.7 +Subject: [PATCH] xkb: switch to array index loops to moving pointers
   732.8 +
   732.9 +Most similar loops here use a pointer that advances with each loop
  732.10 +iteration, let's do the same here for consistency.
  732.11 +
  732.12 +No functional changes.
  732.13 +
  732.14 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  732.15 +Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
  732.16 +---
  732.17 + xkb/xkb.c | 20 ++++++++++----------
  732.18 + 1 file changed, 10 insertions(+), 10 deletions(-)
  732.19 +
  732.20 +diff --git a/xkb/xkb.c b/xkb/xkb.c
  732.21 +index a29262c24..64e52611e 100644
  732.22 +--- a/xkb/xkb.c
  732.23 ++++ b/xkb/xkb.c
  732.24 +@@ -5368,16 +5368,16 @@ _CheckSetSections(XkbGeometryPtr geom,
  732.25 +             row->left = rWire->left;
  732.26 +             row->vertical = rWire->vertical;
  732.27 +             kWire = (xkbKeyWireDesc *) &rWire[1];
  732.28 +-            for (k = 0; k < rWire->nKeys; k++) {
  732.29 ++            for (k = 0; k < rWire->nKeys; k++, kWire++) {
  732.30 +                 XkbKeyPtr key;
  732.31 + 
  732.32 +                 key = XkbAddGeomKey(row);
  732.33 +                 if (!key)
  732.34 +                     return BadAlloc;
  732.35 +-                memcpy(key->name.name, kWire[k].name, XkbKeyNameLength);
  732.36 +-                key->gap = kWire[k].gap;
  732.37 +-                key->shape_ndx = kWire[k].shapeNdx;
  732.38 +-                key->color_ndx = kWire[k].colorNdx;
  732.39 ++                memcpy(key->name.name, kWire->name, XkbKeyNameLength);
  732.40 ++                key->gap = kWire->gap;
  732.41 ++                key->shape_ndx = kWire->shapeNdx;
  732.42 ++                key->color_ndx = kWire->colorNdx;
  732.43 +                 if (key->shape_ndx >= geom->num_shapes) {
  732.44 +                     client->errorValue = _XkbErrCode3(0x10, key->shape_ndx,
  732.45 +                                                       geom->num_shapes);
  732.46 +@@ -5389,7 +5389,7 @@ _CheckSetSections(XkbGeometryPtr geom,
  732.47 +                     return BadMatch;
  732.48 +                 }
  732.49 +             }
  732.50 +-            rWire = (xkbRowWireDesc *) &kWire[rWire->nKeys];
  732.51 ++            rWire = (xkbRowWireDesc *)kWire;
  732.52 +         }
  732.53 +         wire = (char *) rWire;
  732.54 +         if (sWire->nDoodads > 0) {
  732.55 +@@ -5454,16 +5454,16 @@ _CheckSetShapes(XkbGeometryPtr geom,
  732.56 +                     return BadAlloc;
  732.57 +                 ol->corner_radius = olWire->cornerRadius;
  732.58 +                 ptWire = (xkbPointWireDesc *) &olWire[1];
  732.59 +-                for (p = 0, pt = ol->points; p < olWire->nPoints; p++, pt++) {
  732.60 +-                    pt->x = ptWire[p].x;
  732.61 +-                    pt->y = ptWire[p].y;
  732.62 ++                for (p = 0, pt = ol->points; p < olWire->nPoints; p++, pt++, ptWire++) {
  732.63 ++                    pt->x = ptWire->x;
  732.64 ++                    pt->y = ptWire->y;
  732.65 +                     if (client->swapped) {
  732.66 +                         swaps(&pt->x);
  732.67 +                         swaps(&pt->y);
  732.68 +                     }
  732.69 +                 }
  732.70 +                 ol->num_points = olWire->nPoints;
  732.71 +-                olWire = (xkbOutlineWireDesc *) (&ptWire[olWire->nPoints]);
  732.72 ++                olWire = (xkbOutlineWireDesc *)ptWire;
  732.73 +             }
  732.74 +             if (shapeWire->primaryNdx != XkbNoShape)
  732.75 +                 shape->primary = &shape->outlines[shapeWire->primaryNdx];
  732.76 +-- 
  732.77 +GitLab
  732.78 +
   733.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   733.2 +++ b/xorg-server/stuff/0002-dd8caf39e9e15d8f302e54045dd08d8ebf1025dc.patch	Sun Jan 14 08:12:37 2024 +0000
   733.3 @@ -0,0 +1,178 @@
   733.4 +From dd8caf39e9e15d8f302e54045dd08d8ebf1025dc Mon Sep 17 00:00:00 2001
   733.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   733.6 +Date: Tue, 5 Jul 2022 09:50:41 +1000
   733.7 +Subject: [PATCH] xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck
   733.8 +
   733.9 +XKB often uses a FooCheck and Foo function pair, the former is supposed
  733.10 +to check all values in the request and error out on BadLength,
  733.11 +BadValue, etc. The latter is then called once we're confident the values
  733.12 +are good (they may still fail on an individual device, but that's a
  733.13 +different topic).
  733.14 +
  733.15 +In the case of XkbSetDeviceInfo, those functions were incorrectly
  733.16 +named, with XkbSetDeviceInfo ending up as the checker function and
  733.17 +XkbSetDeviceInfoCheck as the setter function. As a result, the setter
  733.18 +function was called before the checker function, accessing request
  733.19 +data and modifying device state before we ensured that the data is
  733.20 +valid.
  733.21 +
  733.22 +In particular, the setter function relied on values being already
  733.23 +byte-swapped. This in turn could lead to potential OOB memory access.
  733.24 +
  733.25 +Fix this by correctly naming the functions and moving the length checks
  733.26 +over to the checker function. These were added in 87c64fc5b0 to the
  733.27 +wrong function, probably due to the incorrect naming.
  733.28 +
  733.29 +Fixes ZDI-CAN 16070, CVE-2022-2320.
  733.30 +
  733.31 +This vulnerability was discovered by:
  733.32 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  733.33 +
  733.34 +Introduced in c06e27b2f6fd9f7b9f827623a48876a225264132
  733.35 +
  733.36 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  733.37 +---
  733.38 + xkb/xkb.c | 46 +++++++++++++++++++++++++---------------------
  733.39 + 1 file changed, 25 insertions(+), 21 deletions(-)
  733.40 +
  733.41 +diff --git a/xkb/xkb.c b/xkb/xkb.c
  733.42 +index 64e52611e..34b2c290b 100644
  733.43 +--- a/xkb/xkb.c
  733.44 ++++ b/xkb/xkb.c
  733.45 +@@ -6550,7 +6550,8 @@ ProcXkbGetDeviceInfo(ClientPtr client)
  733.46 + static char *
  733.47 + CheckSetDeviceIndicators(char *wire,
  733.48 +                          DeviceIntPtr dev,
  733.49 +-                         int num, int *status_rtrn, ClientPtr client)
  733.50 ++                         int num, int *status_rtrn, ClientPtr client,
  733.51 ++                         xkbSetDeviceInfoReq * stuff)
  733.52 + {
  733.53 +     xkbDeviceLedsWireDesc *ledWire;
  733.54 +     int i;
  733.55 +@@ -6558,6 +6559,11 @@ CheckSetDeviceIndicators(char *wire,
  733.56 + 
  733.57 +     ledWire = (xkbDeviceLedsWireDesc *) wire;
  733.58 +     for (i = 0; i < num; i++) {
  733.59 ++        if (!_XkbCheckRequestBounds(client, stuff, ledWire, ledWire + 1)) {
  733.60 ++            *status_rtrn = BadLength;
  733.61 ++            return (char *) ledWire;
  733.62 ++        }
  733.63 ++
  733.64 +         if (client->swapped) {
  733.65 +             swaps(&ledWire->ledClass);
  733.66 +             swaps(&ledWire->ledID);
  733.67 +@@ -6585,6 +6591,11 @@ CheckSetDeviceIndicators(char *wire,
  733.68 +             atomWire = (CARD32 *) &ledWire[1];
  733.69 +             if (nNames > 0) {
  733.70 +                 for (n = 0; n < nNames; n++) {
  733.71 ++                    if (!_XkbCheckRequestBounds(client, stuff, atomWire, atomWire + 1)) {
  733.72 ++                        *status_rtrn = BadLength;
  733.73 ++                        return (char *) atomWire;
  733.74 ++                    }
  733.75 ++
  733.76 +                     if (client->swapped) {
  733.77 +                         swapl(atomWire);
  733.78 +                     }
  733.79 +@@ -6596,6 +6607,10 @@ CheckSetDeviceIndicators(char *wire,
  733.80 +             mapWire = (xkbIndicatorMapWireDesc *) atomWire;
  733.81 +             if (nMaps > 0) {
  733.82 +                 for (n = 0; n < nMaps; n++) {
  733.83 ++                    if (!_XkbCheckRequestBounds(client, stuff, mapWire, mapWire + 1)) {
  733.84 ++                        *status_rtrn = BadLength;
  733.85 ++                        return (char *) mapWire;
  733.86 ++                    }
  733.87 +                     if (client->swapped) {
  733.88 +                         swaps(&mapWire->virtualMods);
  733.89 +                         swapl(&mapWire->ctrls);
  733.90 +@@ -6647,11 +6662,6 @@ SetDeviceIndicators(char *wire,
  733.91 +         xkbIndicatorMapWireDesc *mapWire;
  733.92 +         XkbSrvLedInfoPtr sli;
  733.93 + 
  733.94 +-        if (!_XkbCheckRequestBounds(client, stuff, ledWire, ledWire + 1)) {
  733.95 +-            *status_rtrn = BadLength;
  733.96 +-            return (char *) ledWire;
  733.97 +-        }
  733.98 +-
  733.99 +         namec = mapc = statec = 0;
 733.100 +         sli = XkbFindSrvLedInfo(dev, ledWire->ledClass, ledWire->ledID,
 733.101 +                                 XkbXI_IndicatorMapsMask);
 733.102 +@@ -6670,10 +6680,6 @@ SetDeviceIndicators(char *wire,
 733.103 +             memset((char *) sli->names, 0, XkbNumIndicators * sizeof(Atom));
 733.104 +             for (n = 0, bit = 1; n < XkbNumIndicators; n++, bit <<= 1) {
 733.105 +                 if (ledWire->namesPresent & bit) {
 733.106 +-                    if (!_XkbCheckRequestBounds(client, stuff, atomWire, atomWire + 1)) {
 733.107 +-                        *status_rtrn = BadLength;
 733.108 +-                        return (char *) atomWire;
 733.109 +-                    }
 733.110 +                     sli->names[n] = (Atom) *atomWire;
 733.111 +                     if (sli->names[n] == None)
 733.112 +                         ledWire->namesPresent &= ~bit;
 733.113 +@@ -6691,10 +6697,6 @@ SetDeviceIndicators(char *wire,
 733.114 +         if (ledWire->mapsPresent) {
 733.115 +             for (n = 0, bit = 1; n < XkbNumIndicators; n++, bit <<= 1) {
 733.116 +                 if (ledWire->mapsPresent & bit) {
 733.117 +-                    if (!_XkbCheckRequestBounds(client, stuff, mapWire, mapWire + 1)) {
 733.118 +-                        *status_rtrn = BadLength;
 733.119 +-                        return (char *) mapWire;
 733.120 +-                    }
 733.121 +                     sli->maps[n].flags = mapWire->flags;
 733.122 +                     sli->maps[n].which_groups = mapWire->whichGroups;
 733.123 +                     sli->maps[n].groups = mapWire->groups;
 733.124 +@@ -6730,13 +6732,17 @@ SetDeviceIndicators(char *wire,
 733.125 + }
 733.126 + 
 733.127 + static int
 733.128 +-_XkbSetDeviceInfo(ClientPtr client, DeviceIntPtr dev,
 733.129 ++_XkbSetDeviceInfoCheck(ClientPtr client, DeviceIntPtr dev,
 733.130 +                   xkbSetDeviceInfoReq * stuff)
 733.131 + {
 733.132 +     char *wire;
 733.133 + 
 733.134 +     wire = (char *) &stuff[1];
 733.135 +     if (stuff->change & XkbXI_ButtonActionsMask) {
 733.136 ++        int sz = stuff->nBtns * SIZEOF(xkbActionWireDesc);
 733.137 ++        if (!_XkbCheckRequestBounds(client, stuff, wire, (char *) wire + sz))
 733.138 ++            return BadLength;
 733.139 ++
 733.140 +         if (!dev->button) {
 733.141 +             client->errorValue = _XkbErrCode2(XkbErr_BadClass, ButtonClass);
 733.142 +             return XkbKeyboardErrorCode;
 733.143 +@@ -6747,13 +6753,13 @@ _XkbSetDeviceInfo(ClientPtr client, DeviceIntPtr dev,
 733.144 +                              dev->button->numButtons);
 733.145 +             return BadMatch;
 733.146 +         }
 733.147 +-        wire += (stuff->nBtns * SIZEOF(xkbActionWireDesc));
 733.148 ++        wire += sz;
 733.149 +     }
 733.150 +     if (stuff->change & XkbXI_IndicatorsMask) {
 733.151 +         int status = Success;
 733.152 + 
 733.153 +         wire = CheckSetDeviceIndicators(wire, dev, stuff->nDeviceLedFBs,
 733.154 +-                                        &status, client);
 733.155 ++                                        &status, client, stuff);
 733.156 +         if (status != Success)
 733.157 +             return status;
 733.158 +     }
 733.159 +@@ -6764,8 +6770,8 @@ _XkbSetDeviceInfo(ClientPtr client, DeviceIntPtr dev,
 733.160 + }
 733.161 + 
 733.162 + static int
 733.163 +-_XkbSetDeviceInfoCheck(ClientPtr client, DeviceIntPtr dev,
 733.164 +-                       xkbSetDeviceInfoReq * stuff)
 733.165 ++_XkbSetDeviceInfo(ClientPtr client, DeviceIntPtr dev,
 733.166 ++                  xkbSetDeviceInfoReq * stuff)
 733.167 + {
 733.168 +     char *wire;
 733.169 +     xkbExtensionDeviceNotify ed;
 733.170 +@@ -6789,8 +6795,6 @@ _XkbSetDeviceInfoCheck(ClientPtr client, DeviceIntPtr dev,
 733.171 +         if (stuff->firstBtn + stuff->nBtns > nBtns)
 733.172 +             return BadValue;
 733.173 +         sz = stuff->nBtns * SIZEOF(xkbActionWireDesc);
 733.174 +-        if (!_XkbCheckRequestBounds(client, stuff, wire, (char *) wire + sz))
 733.175 +-            return BadLength;
 733.176 +         memcpy((char *) &acts[stuff->firstBtn], (char *) wire, sz);
 733.177 +         wire += sz;
 733.178 +         ed.reason |= XkbXI_ButtonActionsMask;
 733.179 +-- 
 733.180 +GitLab
 733.181 +
   734.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   734.2 +++ b/xorg-server/stuff/0003-6907b6ea2b4ce949cb07271f5b678d5966d9df42.patch	Sun Jan 14 08:12:37 2024 +0000
   734.3 @@ -0,0 +1,181 @@
   734.4 +From 6907b6ea2b4ce949cb07271f5b678d5966d9df42 Mon Sep 17 00:00:00 2001
   734.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   734.6 +Date: Tue, 5 Jul 2022 11:11:06 +1000
   734.7 +Subject: [PATCH] xkb: add request length validation for XkbSetGeometry
   734.8 +
   734.9 +No validation of the various fields on that report were done, so a
  734.10 +malicious client could send a short request that claims it had N
  734.11 +sections, or rows, or keys, and the server would process the request for
  734.12 +N sections, running out of bounds of the actual request data.
  734.13 +
  734.14 +Fix this by adding size checks to ensure our data is valid.
  734.15 +
  734.16 +ZDI-CAN 16062, CVE-2022-2319.
  734.17 +
  734.18 +This vulnerability was discovered by:
  734.19 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  734.20 +
  734.21 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  734.22 +---
  734.23 + xkb/xkb.c | 43 ++++++++++++++++++++++++++++++++++++++-----
  734.24 + 1 file changed, 38 insertions(+), 5 deletions(-)
  734.25 +
  734.26 +diff --git a/xkb/xkb.c b/xkb/xkb.c
  734.27 +index 34b2c290b..4692895db 100644
  734.28 +--- a/xkb/xkb.c
  734.29 ++++ b/xkb/xkb.c
  734.30 +@@ -5156,7 +5156,7 @@ _GetCountedString(char **wire_inout, ClientPtr client, char **str)
  734.31 + }
  734.32 + 
  734.33 + static Status
  734.34 +-_CheckSetDoodad(char **wire_inout,
  734.35 ++_CheckSetDoodad(char **wire_inout, xkbSetGeometryReq *req,
  734.36 +                 XkbGeometryPtr geom, XkbSectionPtr section, ClientPtr client)
  734.37 + {
  734.38 +     char *wire;
  734.39 +@@ -5167,6 +5167,9 @@ _CheckSetDoodad(char **wire_inout,
  734.40 +     Status status;
  734.41 + 
  734.42 +     dWire = (xkbDoodadWireDesc *) (*wire_inout);
  734.43 ++    if (!_XkbCheckRequestBounds(client, req, dWire, dWire + 1))
  734.44 ++        return BadLength;
  734.45 ++
  734.46 +     any = dWire->any;
  734.47 +     wire = (char *) &dWire[1];
  734.48 +     if (client->swapped) {
  734.49 +@@ -5269,7 +5272,7 @@ _CheckSetDoodad(char **wire_inout,
  734.50 + }
  734.51 + 
  734.52 + static Status
  734.53 +-_CheckSetOverlay(char **wire_inout,
  734.54 ++_CheckSetOverlay(char **wire_inout, xkbSetGeometryReq *req,
  734.55 +                  XkbGeometryPtr geom, XkbSectionPtr section, ClientPtr client)
  734.56 + {
  734.57 +     register int r;
  734.58 +@@ -5280,6 +5283,9 @@ _CheckSetOverlay(char **wire_inout,
  734.59 + 
  734.60 +     wire = *wire_inout;
  734.61 +     olWire = (xkbOverlayWireDesc *) wire;
  734.62 ++    if (!_XkbCheckRequestBounds(client, req, olWire, olWire + 1))
  734.63 ++        return BadLength;
  734.64 ++
  734.65 +     if (client->swapped) {
  734.66 +         swapl(&olWire->name);
  734.67 +     }
  734.68 +@@ -5291,6 +5297,9 @@ _CheckSetOverlay(char **wire_inout,
  734.69 +         xkbOverlayKeyWireDesc *kWire;
  734.70 +         XkbOverlayRowPtr row;
  734.71 + 
  734.72 ++        if (!_XkbCheckRequestBounds(client, req, rWire, rWire + 1))
  734.73 ++            return BadLength;
  734.74 ++
  734.75 +         if (rWire->rowUnder > section->num_rows) {
  734.76 +             client->errorValue = _XkbErrCode4(0x20, r, section->num_rows,
  734.77 +                                               rWire->rowUnder);
  734.78 +@@ -5299,6 +5308,9 @@ _CheckSetOverlay(char **wire_inout,
  734.79 +         row = XkbAddGeomOverlayRow(ol, rWire->rowUnder, rWire->nKeys);
  734.80 +         kWire = (xkbOverlayKeyWireDesc *) &rWire[1];
  734.81 +         for (k = 0; k < rWire->nKeys; k++, kWire++) {
  734.82 ++            if (!_XkbCheckRequestBounds(client, req, kWire, kWire + 1))
  734.83 ++                return BadLength;
  734.84 ++
  734.85 +             if (XkbAddGeomOverlayKey(ol, row,
  734.86 +                                      (char *) kWire->over,
  734.87 +                                      (char *) kWire->under) == NULL) {
  734.88 +@@ -5332,6 +5344,9 @@ _CheckSetSections(XkbGeometryPtr geom,
  734.89 +         register int r;
  734.90 +         xkbRowWireDesc *rWire;
  734.91 + 
  734.92 ++        if (!_XkbCheckRequestBounds(client, req, sWire, sWire + 1))
  734.93 ++            return BadLength;
  734.94 ++
  734.95 +         if (client->swapped) {
  734.96 +             swapl(&sWire->name);
  734.97 +             swaps(&sWire->top);
  734.98 +@@ -5357,6 +5372,9 @@ _CheckSetSections(XkbGeometryPtr geom,
  734.99 +             XkbRowPtr row;
 734.100 +             xkbKeyWireDesc *kWire;
 734.101 + 
 734.102 ++            if (!_XkbCheckRequestBounds(client, req, rWire, rWire + 1))
 734.103 ++                return BadLength;
 734.104 ++
 734.105 +             if (client->swapped) {
 734.106 +                 swaps(&rWire->top);
 734.107 +                 swaps(&rWire->left);
 734.108 +@@ -5371,6 +5389,9 @@ _CheckSetSections(XkbGeometryPtr geom,
 734.109 +             for (k = 0; k < rWire->nKeys; k++, kWire++) {
 734.110 +                 XkbKeyPtr key;
 734.111 + 
 734.112 ++                if (!_XkbCheckRequestBounds(client, req, kWire, kWire + 1))
 734.113 ++                    return BadLength;
 734.114 ++
 734.115 +                 key = XkbAddGeomKey(row);
 734.116 +                 if (!key)
 734.117 +                     return BadAlloc;
 734.118 +@@ -5396,7 +5417,7 @@ _CheckSetSections(XkbGeometryPtr geom,
 734.119 +             register int d;
 734.120 + 
 734.121 +             for (d = 0; d < sWire->nDoodads; d++) {
 734.122 +-                status = _CheckSetDoodad(&wire, geom, section, client);
 734.123 ++                status = _CheckSetDoodad(&wire, req, geom, section, client);
 734.124 +                 if (status != Success)
 734.125 +                     return status;
 734.126 +             }
 734.127 +@@ -5405,7 +5426,7 @@ _CheckSetSections(XkbGeometryPtr geom,
 734.128 +             register int o;
 734.129 + 
 734.130 +             for (o = 0; o < sWire->nOverlays; o++) {
 734.131 +-                status = _CheckSetOverlay(&wire, geom, section, client);
 734.132 ++                status = _CheckSetOverlay(&wire, req, geom, section, client);
 734.133 +                 if (status != Success)
 734.134 +                     return status;
 734.135 +             }
 734.136 +@@ -5439,6 +5460,9 @@ _CheckSetShapes(XkbGeometryPtr geom,
 734.137 +             xkbOutlineWireDesc *olWire;
 734.138 +             XkbOutlinePtr ol;
 734.139 + 
 734.140 ++            if (!_XkbCheckRequestBounds(client, req, shapeWire, shapeWire + 1))
 734.141 ++                return BadLength;
 734.142 ++
 734.143 +             shape =
 734.144 +                 XkbAddGeomShape(geom, shapeWire->name, shapeWire->nOutlines);
 734.145 +             if (!shape)
 734.146 +@@ -5449,12 +5473,18 @@ _CheckSetShapes(XkbGeometryPtr geom,
 734.147 +                 XkbPointPtr pt;
 734.148 +                 xkbPointWireDesc *ptWire;
 734.149 + 
 734.150 ++                if (!_XkbCheckRequestBounds(client, req, olWire, olWire + 1))
 734.151 ++                    return BadLength;
 734.152 ++
 734.153 +                 ol = XkbAddGeomOutline(shape, olWire->nPoints);
 734.154 +                 if (!ol)
 734.155 +                     return BadAlloc;
 734.156 +                 ol->corner_radius = olWire->cornerRadius;
 734.157 +                 ptWire = (xkbPointWireDesc *) &olWire[1];
 734.158 +                 for (p = 0, pt = ol->points; p < olWire->nPoints; p++, pt++, ptWire++) {
 734.159 ++                    if (!_XkbCheckRequestBounds(client, req, ptWire, ptWire + 1))
 734.160 ++                        return BadLength;
 734.161 ++
 734.162 +                     pt->x = ptWire->x;
 734.163 +                     pt->y = ptWire->y;
 734.164 +                     if (client->swapped) {
 734.165 +@@ -5560,12 +5590,15 @@ _CheckSetGeom(XkbGeometryPtr geom, xkbSetGeometryReq * req, ClientPtr client)
 734.166 +         return status;
 734.167 + 
 734.168 +     for (i = 0; i < req->nDoodads; i++) {
 734.169 +-        status = _CheckSetDoodad(&wire, geom, NULL, client);
 734.170 ++        status = _CheckSetDoodad(&wire, req, geom, NULL, client);
 734.171 +         if (status != Success)
 734.172 +             return status;
 734.173 +     }
 734.174 + 
 734.175 +     for (i = 0; i < req->nKeyAliases; i++) {
 734.176 ++        if (!_XkbCheckRequestBounds(client, req, wire, wire + XkbKeyNameLength))
 734.177 ++                return BadLength;
 734.178 ++
 734.179 +         if (XkbAddGeomKeyAlias(geom, &wire[XkbKeyNameLength], wire) == NULL)
 734.180 +             return BadAlloc;
 734.181 +         wire += 2 * XkbKeyNameLength;
 734.182 +-- 
 734.183 +GitLab
 734.184 +
   735.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   735.2 +++ b/xorg-server/stuff/CVE-2022-3550.patch	Sun Jan 14 08:12:37 2024 +0000
   735.3 @@ -0,0 +1,34 @@
   735.4 +From 11beef0b7f1ed290348e45618e5fa0d2bffcb72e Mon Sep 17 00:00:00 2001
   735.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   735.6 +Date: Tue, 5 Jul 2022 12:06:20 +1000
   735.7 +Subject: xkb: proof GetCountedString against request length attacks
   735.8 +
   735.9 +GetCountedString did a check for the whole string to be within the
  735.10 +request buffer but not for the initial 2 bytes that contain the length
  735.11 +field. A swapped client could send a malformed request to trigger a
  735.12 +swaps() on those bytes, writing into random memory.
  735.13 +
  735.14 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  735.15 +---
  735.16 + xkb/xkb.c | 5 +++++
  735.17 + 1 file changed, 5 insertions(+)
  735.18 +
  735.19 +diff --git a/xkb/xkb.c b/xkb/xkb.c
  735.20 +index f42f59ef3..1841cff26 100644
  735.21 +--- a/xkb/xkb.c
  735.22 ++++ b/xkb/xkb.c
  735.23 +@@ -5137,6 +5137,11 @@ _GetCountedString(char **wire_inout, ClientPtr client, char **str)
  735.24 +     CARD16 len;
  735.25 + 
  735.26 +     wire = *wire_inout;
  735.27 ++
  735.28 ++    if (client->req_len <
  735.29 ++        bytes_to_int32(wire + 2 - (char *) client->requestBuffer))
  735.30 ++        return BadValue;
  735.31 ++
  735.32 +     len = *(CARD16 *) wire;
  735.33 +     if (client->swapped) {
  735.34 +         swaps(&len);
  735.35 +-- 
  735.36 +cgit v1.2.1
  735.37 +
   736.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   736.2 +++ b/xorg-server/stuff/CVE-2022-3551.patch	Sun Jan 14 08:12:37 2024 +0000
   736.3 @@ -0,0 +1,59 @@
   736.4 +From 18f91b950e22c2a342a4fbc55e9ddf7534a707d2 Mon Sep 17 00:00:00 2001
   736.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   736.6 +Date: Wed, 13 Jul 2022 11:23:09 +1000
   736.7 +Subject: xkb: fix some possible memleaks in XkbGetKbdByName
   736.8 +
   736.9 +GetComponentByName returns an allocated string, so let's free that if we
  736.10 +fail somewhere.
  736.11 +
  736.12 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  736.13 +---
  736.14 + xkb/xkb.c | 26 ++++++++++++++++++++------
  736.15 + 1 file changed, 20 insertions(+), 6 deletions(-)
  736.16 +
  736.17 +diff --git a/xkb/xkb.c b/xkb/xkb.c
  736.18 +index 4692895db..b79a269e3 100644
  736.19 +--- a/xkb/xkb.c
  736.20 ++++ b/xkb/xkb.c
  736.21 +@@ -5935,18 +5935,32 @@ ProcXkbGetKbdByName(ClientPtr client)
  736.22 +     xkb = dev->key->xkbInfo->desc;
  736.23 +     status = Success;
  736.24 +     str = (unsigned char *) &stuff[1];
  736.25 +-    if (GetComponentSpec(&str, TRUE, &status))  /* keymap, unsupported */
  736.26 +-        return BadMatch;
  736.27 ++    {
  736.28 ++        char *keymap = GetComponentSpec(&str, TRUE, &status);  /* keymap, unsupported */
  736.29 ++        if (keymap) {
  736.30 ++            free(keymap);
  736.31 ++            return BadMatch;
  736.32 ++        }
  736.33 ++    }
  736.34 +     names.keycodes = GetComponentSpec(&str, TRUE, &status);
  736.35 +     names.types = GetComponentSpec(&str, TRUE, &status);
  736.36 +     names.compat = GetComponentSpec(&str, TRUE, &status);
  736.37 +     names.symbols = GetComponentSpec(&str, TRUE, &status);
  736.38 +     names.geometry = GetComponentSpec(&str, TRUE, &status);
  736.39 +-    if (status != Success)
  736.40 ++    if (status == Success) {
  736.41 ++        len = str - ((unsigned char *) stuff);
  736.42 ++        if ((XkbPaddedSize(len) / 4) != stuff->length)
  736.43 ++            status = BadLength;
  736.44 ++    }
  736.45 ++
  736.46 ++    if (status != Success) {
  736.47 ++        free(names.keycodes);
  736.48 ++        free(names.types);
  736.49 ++        free(names.compat);
  736.50 ++        free(names.symbols);
  736.51 ++        free(names.geometry);
  736.52 +         return status;
  736.53 +-    len = str - ((unsigned char *) stuff);
  736.54 +-    if ((XkbPaddedSize(len) / 4) != stuff->length)
  736.55 +-        return BadLength;
  736.56 ++    }
  736.57 + 
  736.58 +     CHK_MASK_LEGAL(0x01, stuff->want, XkbGBN_AllComponentsMask);
  736.59 +     CHK_MASK_LEGAL(0x02, stuff->need, XkbGBN_AllComponentsMask);
  736.60 +-- 
  736.61 +cgit v1.2.1
  736.62 +
   737.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   737.2 +++ b/xorg-server/stuff/CVE-2022-3553.patch	Sun Jan 14 08:12:37 2024 +0000
   737.3 @@ -0,0 +1,43 @@
   737.4 +From dfd057996b26420309c324ec844a5ba6dd07eda3 Mon Sep 17 00:00:00 2001
   737.5 +From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
   737.6 +Date: Sat, 2 Jul 2022 14:17:18 -0700
   737.7 +Subject: xquartz: Fix a possible crash when editing the Application menu due
   737.8 + to mutaing immutable arrays
   737.9 +
  737.10 +Crashing on exception: -[__NSCFArray replaceObjectAtIndex:withObject:]: mutating method sent to immutable object
  737.11 +
  737.12 +Application Specific Backtrace 0:
  737.13 +0   CoreFoundation                      0x00007ff80d2c5e9b __exceptionPreprocess + 242
  737.14 +1   libobjc.A.dylib                     0x00007ff80d027e48 objc_exception_throw + 48
  737.15 +2   CoreFoundation                      0x00007ff80d38167b _CFThrowFormattedException + 194
  737.16 +3   CoreFoundation                      0x00007ff80d382a25 -[__NSCFArray removeObjectAtIndex:].cold.1 + 0
  737.17 +4   CoreFoundation                      0x00007ff80d2e6c0b -[__NSCFArray replaceObjectAtIndex:withObject:] + 119
  737.18 +5   X11.bin                             0x00000001003180f9 -[X11Controller tableView:setObjectValue:forTableColumn:row:] + 169
  737.19 +
  737.20 +Fixes: https://github.com/XQuartz/XQuartz/issues/267
  737.21 +Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
  737.22 +---
  737.23 + hw/xquartz/X11Controller.m | 7 +++++--
  737.24 + 1 file changed, 5 insertions(+), 2 deletions(-)
  737.25 +
  737.26 +diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m
  737.27 +index 3b55bb6a5..e9a939312 100644
  737.28 +--- a/hw/xquartz/X11Controller.m
  737.29 ++++ b/hw/xquartz/X11Controller.m
  737.30 +@@ -469,8 +469,11 @@ extern char *bundle_id_prefix;
  737.31 +     self.table_apps = table_apps;
  737.32 + 
  737.33 +     NSArray * const apps = self.apps;
  737.34 +-    if (apps != nil)
  737.35 +-        [table_apps addObjectsFromArray:apps];
  737.36 ++    if (apps != nil) {
  737.37 ++        for (NSArray <NSString *> * row in apps) {
  737.38 ++            [table_apps addObject:row.mutableCopy];
  737.39 ++        }
  737.40 ++    }
  737.41 + 
  737.42 +     columns = [apps_table tableColumns];
  737.43 +     [[columns objectAtIndex:0] setIdentifier:@"0"];
  737.44 +-- 
  737.45 +cgit v1.2.1
  737.46 +
   738.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   738.2 +++ b/xorg-server/stuff/CVE-2022-4283.patch	Sun Jan 14 08:12:37 2024 +0000
   738.3 @@ -0,0 +1,35 @@
   738.4 +From ccdd431cd8f1cabae9d744f0514b6533c438908c Mon Sep 17 00:00:00 2001
   738.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   738.6 +Date: Mon, 5 Dec 2022 15:55:54 +1000
   738.7 +Subject: [PATCH] xkb: reset the radio_groups pointer to NULL after freeing it
   738.8 +
   738.9 +Unlike other elements of the keymap, this pointer was freed but not
  738.10 +reset. On a subsequent XkbGetKbdByName request, the server may access
  738.11 +already freed memory.
  738.12 +
  738.13 +CVE-2022-4283, ZDI-CAN-19530
  738.14 +
  738.15 +This vulnerability was discovered by:
  738.16 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  738.17 +
  738.18 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  738.19 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  738.20 +---
  738.21 + xkb/xkbUtils.c | 1 +
  738.22 + 1 file changed, 1 insertion(+)
  738.23 +
  738.24 +diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c
  738.25 +index dd089c204..3f5791a18 100644
  738.26 +--- a/xkb/xkbUtils.c
  738.27 ++++ b/xkb/xkbUtils.c
  738.28 +@@ -1326,6 +1326,7 @@ _XkbCopyNames(XkbDescPtr src, XkbDescPtr dst)
  738.29 +         }
  738.30 +         else {
  738.31 +             free(dst->names->radio_groups);
  738.32 ++            dst->names->radio_groups = NULL;
  738.33 +         }
  738.34 +         dst->names->num_rg = src->names->num_rg;
  738.35 + 
  738.36 +-- 
  738.37 +GitLab
  738.38 +
   739.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   739.2 +++ b/xorg-server/stuff/CVE-2022-46340.correction.patch	Sun Jan 14 08:12:37 2024 +0000
   739.3 @@ -0,0 +1,12 @@
   739.4 +diff -u -r --new-file xorg-server-21.1.5/Xext/xtest.c xorg-server-21.1.6/Xext/xtest.c
   739.5 +--- xorg-server-21.1.5/Xext/xtest.c	2022-12-13 20:25:18.000000000 -0600
   739.6 ++++ xorg-server-21.1.6/Xext/xtest.c	2022-12-19 04:53:03.000000000 -0600
   739.7 +@@ -502,7 +502,7 @@
   739.8 + 
   739.9 +     nev = ((req->length << 2) - sizeof(xReq)) / sizeof(xEvent);
  739.10 +     for (ev = (xEvent *) &req[1]; --nev >= 0; ev++) {
  739.11 +-        int evtype = ev->u.u.type & 0x177;
  739.12 ++        int evtype = ev->u.u.type & 0177;
  739.13 +         /* Swap event */
  739.14 +         proc = EventSwapVector[evtype];
  739.15 +         /* no swapping proc; invalid event type? */
   740.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   740.2 +++ b/xorg-server/stuff/CVE-2022-46340.patch	Sun Jan 14 08:12:37 2024 +0000
   740.3 @@ -0,0 +1,51 @@
   740.4 +From b320ca0ffe4c0c872eeb3a93d9bde21f765c7c63 Mon Sep 17 00:00:00 2001
   740.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   740.6 +Date: Tue, 29 Nov 2022 12:55:45 +1000
   740.7 +Subject: [PATCH] Xtest: disallow GenericEvents in XTestSwapFakeInput
   740.8 +
   740.9 +XTestSwapFakeInput assumes all events in this request are
  740.10 +sizeof(xEvent) and iterates through these in 32-byte increments.
  740.11 +However, a GenericEvent may be of arbitrary length longer than 32 bytes,
  740.12 +so any GenericEvent in this list would result in subsequent events to be
  740.13 +misparsed.
  740.14 +
  740.15 +Additional, the swapped event is written into a stack-allocated struct
  740.16 +xEvent (size 32 bytes). For any GenericEvent longer than 32 bytes,
  740.17 +swapping the event may thus smash the stack like an avocado on toast.
  740.18 +
  740.19 +Catch this case early and return BadValue for any GenericEvent.
  740.20 +Which is what would happen in unswapped setups anyway since XTest
  740.21 +doesn't support GenericEvent.
  740.22 +
  740.23 +CVE-2022-46340, ZDI-CAN 19265
  740.24 +
  740.25 +This vulnerability was discovered by:
  740.26 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  740.27 +
  740.28 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  740.29 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  740.30 +---
  740.31 + Xext/xtest.c | 5 +++--
  740.32 + 1 file changed, 3 insertions(+), 2 deletions(-)
  740.33 +
  740.34 +diff --git a/Xext/xtest.c b/Xext/xtest.c
  740.35 +index bf27eb590..2985a4ce6 100644
  740.36 +--- a/Xext/xtest.c
  740.37 ++++ b/Xext/xtest.c
  740.38 +@@ -502,10 +502,11 @@ XTestSwapFakeInput(ClientPtr client, xReq * req)
  740.39 + 
  740.40 +     nev = ((req->length << 2) - sizeof(xReq)) / sizeof(xEvent);
  740.41 +     for (ev = (xEvent *) &req[1]; --nev >= 0; ev++) {
  740.42 ++        int evtype = ev->u.u.type & 0x177;
  740.43 +         /* Swap event */
  740.44 +-        proc = EventSwapVector[ev->u.u.type & 0177];
  740.45 ++        proc = EventSwapVector[evtype];
  740.46 +         /* no swapping proc; invalid event type? */
  740.47 +-        if (!proc || proc == NotImplemented) {
  740.48 ++        if (!proc || proc == NotImplemented || evtype == GenericEvent) {
  740.49 +             client->errorValue = ev->u.u.type;
  740.50 +             return BadValue;
  740.51 +         }
  740.52 +-- 
  740.53 +GitLab
  740.54 +
   741.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   741.2 +++ b/xorg-server/stuff/CVE-2022-46341.patch	Sun Jan 14 08:12:37 2024 +0000
   741.3 @@ -0,0 +1,82 @@
   741.4 +From 51eb63b0ee1509c6c6b8922b0e4aa037faa6f78b Mon Sep 17 00:00:00 2001
   741.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   741.6 +Date: Tue, 29 Nov 2022 13:55:32 +1000
   741.7 +Subject: [PATCH] Xi: disallow passive grabs with a detail > 255
   741.8 +
   741.9 +The XKB protocol effectively prevents us from ever using keycodes above
  741.10 +255. For buttons it's theoretically possible but realistically too niche
  741.11 +to worry about. For all other passive grabs, the detail must be zero
  741.12 +anyway.
  741.13 +
  741.14 +This fixes an OOB write:
  741.15 +
  741.16 +ProcXIPassiveUngrabDevice() calls DeletePassiveGrabFromList with a
  741.17 +temporary grab struct which contains tempGrab->detail.exact = stuff->detail.
  741.18 +For matching existing grabs, DeleteDetailFromMask is called with the
  741.19 +stuff->detail value. This function creates a new mask with the one bit
  741.20 +representing stuff->detail cleared.
  741.21 +
  741.22 +However, the array size for the new mask is 8 * sizeof(CARD32) bits,
  741.23 +thus any detail above 255 results in an OOB array write.
  741.24 +
  741.25 +CVE-2022-46341, ZDI-CAN 19381
  741.26 +
  741.27 +This vulnerability was discovered by:
  741.28 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  741.29 +
  741.30 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  741.31 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  741.32 +---
  741.33 + Xi/xipassivegrab.c | 22 ++++++++++++++--------
  741.34 + 1 file changed, 14 insertions(+), 8 deletions(-)
  741.35 +
  741.36 +diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c
  741.37 +index 2769fb7c9..c9ac2f855 100644
  741.38 +--- a/Xi/xipassivegrab.c
  741.39 ++++ b/Xi/xipassivegrab.c
  741.40 +@@ -137,6 +137,12 @@ ProcXIPassiveGrabDevice(ClientPtr client)
  741.41 +         return BadValue;
  741.42 +     }
  741.43 + 
  741.44 ++    /* XI2 allows 32-bit keycodes but thanks to XKB we can never
  741.45 ++     * implement this. Just return an error for all keycodes that
  741.46 ++     * cannot work anyway, same for buttons > 255. */
  741.47 ++    if (stuff->detail > 255)
  741.48 ++        return XIAlreadyGrabbed;
  741.49 ++
  741.50 +     if (XICheckInvalidMaskBits(client, (unsigned char *) &stuff[1],
  741.51 +                                stuff->mask_len * 4) != Success)
  741.52 +         return BadValue;
  741.53 +@@ -207,14 +213,8 @@ ProcXIPassiveGrabDevice(ClientPtr client)
  741.54 +                                 &param, XI2, &mask);
  741.55 +             break;
  741.56 +         case XIGrabtypeKeycode:
  741.57 +-            /* XI2 allows 32-bit keycodes but thanks to XKB we can never
  741.58 +-             * implement this. Just return an error for all keycodes that
  741.59 +-             * cannot work anyway */
  741.60 +-            if (stuff->detail > 255)
  741.61 +-                status = XIAlreadyGrabbed;
  741.62 +-            else
  741.63 +-                status = GrabKey(client, dev, mod_dev, stuff->detail,
  741.64 +-                                 &param, XI2, &mask);
  741.65 ++            status = GrabKey(client, dev, mod_dev, stuff->detail,
  741.66 ++                             &param, XI2, &mask);
  741.67 +             break;
  741.68 +         case XIGrabtypeEnter:
  741.69 +         case XIGrabtypeFocusIn:
  741.70 +@@ -334,6 +334,12 @@ ProcXIPassiveUngrabDevice(ClientPtr client)
  741.71 +         return BadValue;
  741.72 +     }
  741.73 + 
  741.74 ++    /* We don't allow passive grabs for details > 255 anyway */
  741.75 ++    if (stuff->detail > 255) {
  741.76 ++        client->errorValue = stuff->detail;
  741.77 ++        return BadValue;
  741.78 ++    }
  741.79 ++
  741.80 +     rc = dixLookupWindow(&win, stuff->grab_window, client, DixSetAttrAccess);
  741.81 +     if (rc != Success)
  741.82 +         return rc;
  741.83 +-- 
  741.84 +GitLab
  741.85 +
   742.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   742.2 +++ b/xorg-server/stuff/CVE-2022-46342.patch	Sun Jan 14 08:12:37 2024 +0000
   742.3 @@ -0,0 +1,74 @@
   742.4 +From b79f32b57cc0c1186b2899bce7cf89f7b325161b Mon Sep 17 00:00:00 2001
   742.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   742.6 +Date: Wed, 30 Nov 2022 11:20:40 +1000
   742.7 +Subject: [PATCH] Xext: free the XvRTVideoNotify when turning off from the same
   742.8 + client
   742.9 +
  742.10 +This fixes a use-after-free bug:
  742.11 +
  742.12 +When a client first calls XvdiSelectVideoNotify() on a drawable with a
  742.13 +TRUE onoff argument, a struct XvVideoNotifyRec is allocated. This struct
  742.14 +is added twice to the resources:
  742.15 +  - as the drawable's XvRTVideoNotifyList. This happens only once per
  742.16 +    drawable, subsequent calls append to this list.
  742.17 +  - as the client's XvRTVideoNotify. This happens for every client.
  742.18 +
  742.19 +The struct keeps the ClientPtr around once it has been added for a
  742.20 +client. The idea, presumably, is that if the client disconnects we can remove
  742.21 +all structs from the drawable's list that match the client (by resetting
  742.22 +the ClientPtr to NULL), but if the drawable is destroyed we can remove
  742.23 +and free the whole list.
  742.24 +
  742.25 +However, if the same client then calls XvdiSelectVideoNotify() on the
  742.26 +same drawable with a FALSE onoff argument, only the ClientPtr on the
  742.27 +existing struct was set to NULL. The struct itself remained in the
  742.28 +client's resources.
  742.29 +
  742.30 +If the drawable is now destroyed, the resource system invokes
  742.31 +XvdiDestroyVideoNotifyList which frees the whole list for this drawable
  742.32 +- including our struct. This function however does not free the resource
  742.33 +for the client since our ClientPtr is NULL.
  742.34 +
  742.35 +Later, when the client is destroyed and the resource system invokes
  742.36 +XvdiDestroyVideoNotify, we unconditionally set the ClientPtr to NULL. On
  742.37 +a struct that has been freed previously. This is generally frowned upon.
  742.38 +
  742.39 +Fix this by calling FreeResource() on the second call instead of merely
  742.40 +setting the ClientPtr to NULL. This removes the struct from the client
  742.41 +resources (but not from the list), ensuring that it won't be accessed
  742.42 +again when the client quits.
  742.43 +
  742.44 +Note that the assignment tpn->client = NULL; is superfluous since the
  742.45 +XvdiDestroyVideoNotify function will do this anyway. But it's left for
  742.46 +clarity and to match a similar invocation in XvdiSelectPortNotify.
  742.47 +
  742.48 +CVE-2022-46342, ZDI-CAN 19400
  742.49 +
  742.50 +This vulnerability was discovered by:
  742.51 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  742.52 +
  742.53 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  742.54 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  742.55 +---
  742.56 + Xext/xvmain.c | 4 +++-
  742.57 + 1 file changed, 3 insertions(+), 1 deletion(-)
  742.58 +
  742.59 +diff --git a/Xext/xvmain.c b/Xext/xvmain.c
  742.60 +index f62747193..2a08f8744 100644
  742.61 +--- a/Xext/xvmain.c
  742.62 ++++ b/Xext/xvmain.c
  742.63 +@@ -811,8 +811,10 @@ XvdiSelectVideoNotify(ClientPtr client, DrawablePtr pDraw, BOOL onoff)
  742.64 +         tpn = pn;
  742.65 +         while (tpn) {
  742.66 +             if (tpn->client == client) {
  742.67 +-                if (!onoff)
  742.68 ++                if (!onoff) {
  742.69 +                     tpn->client = NULL;
  742.70 ++                    FreeResource(tpn->id, XvRTVideoNotify);
  742.71 ++                }
  742.72 +                 return Success;
  742.73 +             }
  742.74 +             if (!tpn->client)
  742.75 +-- 
  742.76 +GitLab
  742.77 +
   743.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   743.2 +++ b/xorg-server/stuff/CVE-2022-46343.patch	Sun Jan 14 08:12:37 2024 +0000
   743.3 @@ -0,0 +1,47 @@
   743.4 +From 842ca3ccef100ce010d1d8f5f6d6cc1915055900 Mon Sep 17 00:00:00 2001
   743.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   743.6 +Date: Tue, 29 Nov 2022 14:53:07 +1000
   743.7 +Subject: [PATCH] Xext: free the screen saver resource when replacing it
   743.8 +
   743.9 +This fixes a use-after-free bug:
  743.10 +
  743.11 +When a client first calls ScreenSaverSetAttributes(), a struct
  743.12 +ScreenSaverAttrRec is allocated and added to the client's
  743.13 +resources.
  743.14 +
  743.15 +When the same client calls ScreenSaverSetAttributes() again, a new
  743.16 +struct ScreenSaverAttrRec is allocated, replacing the old struct. The
  743.17 +old struct was freed but not removed from the clients resources.
  743.18 +
  743.19 +Later, when the client is destroyed the resource system invokes
  743.20 +ScreenSaverFreeAttr and attempts to clean up the already freed struct.
  743.21 +
  743.22 +Fix this by letting the resource system free the old attrs instead.
  743.23 +
  743.24 +CVE-2022-46343, ZDI-CAN 19404
  743.25 +
  743.26 +This vulnerability was discovered by:
  743.27 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  743.28 +
  743.29 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  743.30 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  743.31 +---
  743.32 + Xext/saver.c | 2 +-
  743.33 + 1 file changed, 1 insertion(+), 1 deletion(-)
  743.34 +
  743.35 +diff --git a/Xext/saver.c b/Xext/saver.c
  743.36 +index f813ba08d..fd6153c31 100644
  743.37 +--- a/Xext/saver.c
  743.38 ++++ b/Xext/saver.c
  743.39 +@@ -1051,7 +1051,7 @@ ScreenSaverSetAttributes(ClientPtr client)
  743.40 +         pVlist++;
  743.41 +     }
  743.42 +     if (pPriv->attr)
  743.43 +-        FreeScreenAttr(pPriv->attr);
  743.44 ++        FreeResource(pPriv->attr->resource, AttrType);
  743.45 +     pPriv->attr = pAttr;
  743.46 +     pAttr->resource = FakeClientID(client->index);
  743.47 +     if (!AddResource(pAttr->resource, AttrType, (void *) pAttr))
  743.48 +-- 
  743.49 +GitLab
  743.50 +
   744.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   744.2 +++ b/xorg-server/stuff/CVE-2022-46344.patch	Sun Jan 14 08:12:37 2024 +0000
   744.3 @@ -0,0 +1,71 @@
   744.4 +From 8f454b793e1f13c99872c15f0eed1d7f3b823fe8 Mon Sep 17 00:00:00 2001
   744.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   744.6 +Date: Tue, 29 Nov 2022 13:26:57 +1000
   744.7 +Subject: [PATCH] Xi: avoid integer truncation in length check of
   744.8 + ProcXIChangeProperty
   744.9 +
  744.10 +This fixes an OOB read and the resulting information disclosure.
  744.11 +
  744.12 +Length calculation for the request was clipped to a 32-bit integer. With
  744.13 +the correct stuff->num_items value the expected request size was
  744.14 +truncated, passing the REQUEST_FIXED_SIZE check.
  744.15 +
  744.16 +The server then proceeded with reading at least stuff->num_items bytes
  744.17 +(depending on stuff->format) from the request and stuffing whatever it
  744.18 +finds into the property. In the process it would also allocate at least
  744.19 +stuff->num_items bytes, i.e. 4GB.
  744.20 +
  744.21 +The same bug exists in ProcChangeProperty and ProcXChangeDeviceProperty,
  744.22 +so let's fix that too.
  744.23 +
  744.24 +CVE-2022-46344, ZDI-CAN 19405
  744.25 +
  744.26 +This vulnerability was discovered by:
  744.27 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  744.28 +
  744.29 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  744.30 +Acked-by: Olivier Fourdan <ofourdan@redhat.com>
  744.31 +---
  744.32 + Xi/xiproperty.c | 4 ++--
  744.33 + dix/property.c  | 3 ++-
  744.34 + 2 files changed, 4 insertions(+), 3 deletions(-)
  744.35 +
  744.36 +diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c
  744.37 +index 68c362c62..066ba21fb 100644
  744.38 +--- a/Xi/xiproperty.c
  744.39 ++++ b/Xi/xiproperty.c
  744.40 +@@ -890,7 +890,7 @@ ProcXChangeDeviceProperty(ClientPtr client)
  744.41 +     REQUEST(xChangeDevicePropertyReq);
  744.42 +     DeviceIntPtr dev;
  744.43 +     unsigned long len;
  744.44 +-    int totalSize;
  744.45 ++    uint64_t totalSize;
  744.46 +     int rc;
  744.47 + 
  744.48 +     REQUEST_AT_LEAST_SIZE(xChangeDevicePropertyReq);
  744.49 +@@ -1130,7 +1130,7 @@ ProcXIChangeProperty(ClientPtr client)
  744.50 + {
  744.51 +     int rc;
  744.52 +     DeviceIntPtr dev;
  744.53 +-    int totalSize;
  744.54 ++    uint64_t totalSize;
  744.55 +     unsigned long len;
  744.56 + 
  744.57 +     REQUEST(xXIChangePropertyReq);
  744.58 +diff --git a/dix/property.c b/dix/property.c
  744.59 +index 94ef5a0ec..acce94b2c 100644
  744.60 +--- a/dix/property.c
  744.61 ++++ b/dix/property.c
  744.62 +@@ -205,7 +205,8 @@ ProcChangeProperty(ClientPtr client)
  744.63 +     WindowPtr pWin;
  744.64 +     char format, mode;
  744.65 +     unsigned long len;
  744.66 +-    int sizeInBytes, totalSize, err;
  744.67 ++    int sizeInBytes, err;
  744.68 ++    uint64_t totalSize;
  744.69 + 
  744.70 +     REQUEST(xChangePropertyReq);
  744.71 + 
  744.72 +-- 
  744.73 +GitLab
  744.74 +
   745.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   745.2 +++ b/xorg-server/stuff/CVE-2023-0494.patch	Sun Jan 14 08:12:37 2024 +0000
   745.3 @@ -0,0 +1,34 @@
   745.4 +From 0ba6d8c37071131a49790243cdac55392ecf71ec Mon Sep 17 00:00:00 2001
   745.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   745.6 +Date: Wed, 25 Jan 2023 11:41:40 +1000
   745.7 +Subject: [PATCH] Xi: fix potential use-after-free in DeepCopyPointerClasses
   745.8 +
   745.9 +CVE-2023-0494, ZDI-CAN-19596
  745.10 +
  745.11 +This vulnerability was discovered by:
  745.12 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  745.13 +
  745.14 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  745.15 +---
  745.16 + Xi/exevents.c | 4 +++-
  745.17 + 1 file changed, 3 insertions(+), 1 deletion(-)
  745.18 +
  745.19 +diff --git a/Xi/exevents.c b/Xi/exevents.c
  745.20 +index 217baa956..dcd4efb3b 100644
  745.21 +--- a/Xi/exevents.c
  745.22 ++++ b/Xi/exevents.c
  745.23 +@@ -619,8 +619,10 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to)
  745.24 +             memcpy(to->button->xkb_acts, from->button->xkb_acts,
  745.25 +                    sizeof(XkbAction));
  745.26 +         }
  745.27 +-        else
  745.28 ++        else {
  745.29 +             free(to->button->xkb_acts);
  745.30 ++            to->button->xkb_acts = NULL;
  745.31 ++        }
  745.32 + 
  745.33 +         memcpy(to->button->labels, from->button->labels,
  745.34 +                from->button->numButtons * sizeof(Atom));
  745.35 +-- 
  745.36 +GitLab
  745.37 +
   746.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   746.2 +++ b/xorg-server/stuff/CVE-2023-1393.patch	Sun Jan 14 08:12:37 2024 +0000
   746.3 @@ -0,0 +1,42 @@
   746.4 +From 26ef545b3502f61ca722a7a3373507e88ef64110 Mon Sep 17 00:00:00 2001
   746.5 +From: Olivier Fourdan <ofourdan@redhat.com>
   746.6 +Date: Mon, 13 Mar 2023 11:08:47 +0100
   746.7 +Subject: [PATCH] composite: Fix use-after-free of the COW
   746.8 +
   746.9 +ZDI-CAN-19866/CVE-2023-1393
  746.10 +
  746.11 +If a client explicitly destroys the compositor overlay window (aka COW),
  746.12 +we would leave a dangling pointer to that window in the CompScreen
  746.13 +structure, which will trigger a use-after-free later.
  746.14 +
  746.15 +Make sure to clear the CompScreen pointer to the COW when the latter gets
  746.16 +destroyed explicitly by the client.
  746.17 +
  746.18 +This vulnerability was discovered by:
  746.19 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  746.20 +
  746.21 +Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
  746.22 +Reviewed-by: Adam Jackson <ajax@redhat.com>
  746.23 +---
  746.24 + composite/compwindow.c | 5 +++++
  746.25 + 1 file changed, 5 insertions(+)
  746.26 +
  746.27 +diff --git a/composite/compwindow.c b/composite/compwindow.c
  746.28 +index 4e2494b86b..b30da589e9 100644
  746.29 +--- a/composite/compwindow.c
  746.30 ++++ b/composite/compwindow.c
  746.31 +@@ -620,6 +620,11 @@ compDestroyWindow(WindowPtr pWin)
  746.32 +     ret = (*pScreen->DestroyWindow) (pWin);
  746.33 +     cs->DestroyWindow = pScreen->DestroyWindow;
  746.34 +     pScreen->DestroyWindow = compDestroyWindow;
  746.35 ++
  746.36 ++    /* Did we just destroy the overlay window? */
  746.37 ++    if (pWin == cs->pOverlayWin)
  746.38 ++        cs->pOverlayWin = NULL;
  746.39 ++
  746.40 + /*    compCheckTree (pWin->drawable.pScreen); can't check -- tree isn't good*/
  746.41 +     return ret;
  746.42 + }
  746.43 +-- 
  746.44 +GitLab
  746.45 +
   747.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   747.2 +++ b/xorg-server/stuff/CVE-2023-5367.patch	Sun Jan 14 08:12:37 2024 +0000
   747.3 @@ -0,0 +1,81 @@
   747.4 +From 541ab2ecd41d4d8689e71855d93e492bc554719a Mon Sep 17 00:00:00 2001
   747.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   747.6 +Date: Tue, 3 Oct 2023 11:53:05 +1000
   747.7 +Subject: [PATCH] Xi/randr: fix handling of PropModeAppend/Prepend
   747.8 +
   747.9 +The handling of appending/prepending properties was incorrect, with at
  747.10 +least two bugs: the property length was set to the length of the new
  747.11 +part only, i.e. appending or prepending N elements to a property with P
  747.12 +existing elements always resulted in the property having N elements
  747.13 +instead of N + P.
  747.14 +
  747.15 +Second, when pre-pending a value to a property, the offset for the old
  747.16 +values was incorrect, leaving the new property with potentially
  747.17 +uninitalized values and/or resulting in OOB memory writes.
  747.18 +For example, prepending a 3 element value to a 5 element property would
  747.19 +result in this 8 value array:
  747.20 +  [N, N, N, ?, ?, P, P, P ] P, P
  747.21 +                            ^OOB write
  747.22 +
  747.23 +The XI2 code is a copy/paste of the RandR code, so the bug exists in
  747.24 +both.
  747.25 +
  747.26 +CVE-2023-5367, ZDI-CAN-22153
  747.27 +
  747.28 +This vulnerability was discovered by:
  747.29 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  747.30 +
  747.31 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  747.32 +---
  747.33 + Xi/xiproperty.c    | 4 ++--
  747.34 + randr/rrproperty.c | 4 ++--
  747.35 + 2 files changed, 4 insertions(+), 4 deletions(-)
  747.36 +
  747.37 +diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c
  747.38 +index 066ba21fba..d315f04d0e 100644
  747.39 +--- a/Xi/xiproperty.c
  747.40 ++++ b/Xi/xiproperty.c
  747.41 +@@ -730,7 +730,7 @@ XIChangeDeviceProperty(DeviceIntPtr dev, Atom property, Atom type,
  747.42 +                 XIDestroyDeviceProperty(prop);
  747.43 +             return BadAlloc;
  747.44 +         }
  747.45 +-        new_value.size = len;
  747.46 ++        new_value.size = total_len;
  747.47 +         new_value.type = type;
  747.48 +         new_value.format = format;
  747.49 + 
  747.50 +@@ -747,7 +747,7 @@ XIChangeDeviceProperty(DeviceIntPtr dev, Atom property, Atom type,
  747.51 +         case PropModePrepend:
  747.52 +             new_data = new_value.data;
  747.53 +             old_data = (void *) (((char *) new_value.data) +
  747.54 +-                                  (prop_value->size * size_in_bytes));
  747.55 ++                                  (len * size_in_bytes));
  747.56 +             break;
  747.57 +         }
  747.58 +         if (new_data)
  747.59 +diff --git a/randr/rrproperty.c b/randr/rrproperty.c
  747.60 +index c2fb9585c6..25469f57b2 100644
  747.61 +--- a/randr/rrproperty.c
  747.62 ++++ b/randr/rrproperty.c
  747.63 +@@ -209,7 +209,7 @@ RRChangeOutputProperty(RROutputPtr output, Atom property, Atom type,
  747.64 +                 RRDestroyOutputProperty(prop);
  747.65 +             return BadAlloc;
  747.66 +         }
  747.67 +-        new_value.size = len;
  747.68 ++        new_value.size = total_len;
  747.69 +         new_value.type = type;
  747.70 +         new_value.format = format;
  747.71 + 
  747.72 +@@ -226,7 +226,7 @@ RRChangeOutputProperty(RROutputPtr output, Atom property, Atom type,
  747.73 +         case PropModePrepend:
  747.74 +             new_data = new_value.data;
  747.75 +             old_data = (void *) (((char *) new_value.data) +
  747.76 +-                                  (prop_value->size * size_in_bytes));
  747.77 ++                                  (len * size_in_bytes));
  747.78 +             break;
  747.79 +         }
  747.80 +         if (new_data)
  747.81 +-- 
  747.82 +GitLab
  747.83 +
  747.84 +
   748.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   748.2 +++ b/xorg-server/stuff/CVE-2023-5380.patch	Sun Jan 14 08:12:37 2024 +0000
   748.3 @@ -0,0 +1,99 @@
   748.4 +From 564ccf2ce9616620456102727acb8b0256b7bbd7 Mon Sep 17 00:00:00 2001
   748.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   748.6 +Date: Thu, 5 Oct 2023 12:19:45 +1000
   748.7 +Subject: [PATCH] mi: reset the PointerWindows reference on screen switch
   748.8 +
   748.9 +PointerWindows[] keeps a reference to the last window our sprite
  748.10 +entered - changes are usually handled by CheckMotion().
  748.11 +
  748.12 +If we switch between screens via XWarpPointer our
  748.13 +dev->spriteInfo->sprite->win is set to the new screen's root window.
  748.14 +If there's another window at the cursor location CheckMotion() will
  748.15 +trigger the right enter/leave events later. If there is not, it skips
  748.16 +that process and we never trigger LeaveWindow() - PointerWindows[] for
  748.17 +the device still refers to the previous window.
  748.18 +
  748.19 +If that window is destroyed we have a dangling reference that will
  748.20 +eventually cause a use-after-free bug when checking the window hierarchy
  748.21 +later.
  748.22 +
  748.23 +To trigger this, we require:
  748.24 +- two protocol screens
  748.25 +- XWarpPointer to the other screen's root window
  748.26 +- XDestroyWindow before entering any other window
  748.27 +
  748.28 +This is a niche bug so we hack around it by making sure we reset the
  748.29 +PointerWindows[] entry so we cannot have a dangling pointer. This
  748.30 +doesn't handle Enter/Leave events correctly but the previous code didn't
  748.31 +either.
  748.32 +
  748.33 +CVE-2023-5380, ZDI-CAN-21608
  748.34 +
  748.35 +This vulnerability was discovered by:
  748.36 +Sri working with Trend Micro Zero Day Initiative
  748.37 +
  748.38 +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  748.39 +Reviewed-by: Adam Jackson <ajax@redhat.com>
  748.40 +---
  748.41 + dix/enterleave.h   |  2 --
  748.42 + include/eventstr.h |  3 +++
  748.43 + mi/mipointer.c     | 17 +++++++++++++++--
  748.44 + 3 files changed, 18 insertions(+), 4 deletions(-)
  748.45 +
  748.46 +diff --git a/dix/enterleave.h b/dix/enterleave.h
  748.47 +index 4b833d8a3b..e8af924c68 100644
  748.48 +--- a/dix/enterleave.h
  748.49 ++++ b/dix/enterleave.h
  748.50 +@@ -58,8 +58,6 @@ extern void DeviceFocusEvent(DeviceIntPtr dev,
  748.51 + 
  748.52 + extern void EnterWindow(DeviceIntPtr dev, WindowPtr win, int mode);
  748.53 + 
  748.54 +-extern void LeaveWindow(DeviceIntPtr dev);
  748.55 +-
  748.56 + extern void CoreFocusEvent(DeviceIntPtr kbd,
  748.57 +                            int type, int mode, int detail, WindowPtr pWin);
  748.58 + 
  748.59 +diff --git a/include/eventstr.h b/include/eventstr.h
  748.60 +index 93308f9b24..a9926eaeef 100644
  748.61 +--- a/include/eventstr.h
  748.62 ++++ b/include/eventstr.h
  748.63 +@@ -335,4 +335,7 @@ union _InternalEvent {
  748.64 +     GestureEvent gesture_event;
  748.65 + };
  748.66 + 
  748.67 ++extern void
  748.68 ++LeaveWindow(DeviceIntPtr dev);
  748.69 ++
  748.70 + #endif
  748.71 +diff --git a/mi/mipointer.c b/mi/mipointer.c
  748.72 +index a638f25d4a..8cf0035140 100644
  748.73 +--- a/mi/mipointer.c
  748.74 ++++ b/mi/mipointer.c
  748.75 +@@ -397,8 +397,21 @@ miPointerWarpCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
  748.76 + #ifdef PANORAMIX
  748.77 +         && noPanoramiXExtension
  748.78 + #endif
  748.79 +-        )
  748.80 +-        UpdateSpriteForScreen(pDev, pScreen);
  748.81 ++        ) {
  748.82 ++            DeviceIntPtr master = GetMaster(pDev, MASTER_POINTER);
  748.83 ++            /* Hack for CVE-2023-5380: if we're moving
  748.84 ++             * screens PointerWindows[] keeps referring to the
  748.85 ++             * old window. If that gets destroyed we have a UAF
  748.86 ++             * bug later. Only happens when jumping from a window
  748.87 ++             * to the root window on the other screen.
  748.88 ++             * Enter/Leave events are incorrect for that case but
  748.89 ++             * too niche to fix.
  748.90 ++             */
  748.91 ++            LeaveWindow(pDev);
  748.92 ++            if (master)
  748.93 ++                LeaveWindow(master);
  748.94 ++            UpdateSpriteForScreen(pDev, pScreen);
  748.95 ++    }
  748.96 + }
  748.97 + 
  748.98 + /**
  748.99 +-- 
 748.100 +GitLab
 748.101 +
 748.102 +B
   749.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   749.2 +++ b/xorg-server/stuff/CVE-2023-6377.patch	Sun Jan 14 08:12:37 2024 +0000
   749.3 @@ -0,0 +1,75 @@
   749.4 +From 0c1a93d319558fe3ab2d94f51d174b4f93810afd Mon Sep 17 00:00:00 2001
   749.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   749.6 +Date: Tue, 28 Nov 2023 15:19:04 +1000
   749.7 +Subject: [PATCH] Xi: allocate enough XkbActions for our buttons
   749.8 +
   749.9 +button->xkb_acts is supposed to be an array sufficiently large for all
  749.10 +our buttons, not just a single XkbActions struct. Allocating
  749.11 +insufficient memory here means when we memcpy() later in
  749.12 +XkbSetDeviceInfo we write into memory that wasn't ours to begin with,
  749.13 +leading to the usual security ooopsiedaisies.
  749.14 +
  749.15 +CVE-2023-6377, ZDI-CAN-22412, ZDI-CAN-22413
  749.16 +
  749.17 +This vulnerability was discovered by:
  749.18 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  749.19 +---
  749.20 + Xi/exevents.c | 12 ++++++------
  749.21 + dix/devices.c | 10 ++++++++++
  749.22 + 2 files changed, 16 insertions(+), 6 deletions(-)
  749.23 +
  749.24 +diff --git a/Xi/exevents.c b/Xi/exevents.c
  749.25 +index dcd4efb3bc..54ea11a938 100644
  749.26 +--- a/Xi/exevents.c
  749.27 ++++ b/Xi/exevents.c
  749.28 +@@ -611,13 +611,13 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to)
  749.29 +         }
  749.30 + 
  749.31 +         if (from->button->xkb_acts) {
  749.32 +-            if (!to->button->xkb_acts) {
  749.33 +-                to->button->xkb_acts = calloc(1, sizeof(XkbAction));
  749.34 +-                if (!to->button->xkb_acts)
  749.35 +-                    FatalError("[Xi] not enough memory for xkb_acts.\n");
  749.36 +-            }
  749.37 ++            size_t maxbuttons = max(to->button->numButtons, from->button->numButtons);
  749.38 ++            to->button->xkb_acts = xnfreallocarray(to->button->xkb_acts,
  749.39 ++                                                   maxbuttons,
  749.40 ++                                                   sizeof(XkbAction));
  749.41 ++            memset(to->button->xkb_acts, 0, maxbuttons * sizeof(XkbAction));
  749.42 +             memcpy(to->button->xkb_acts, from->button->xkb_acts,
  749.43 +-                   sizeof(XkbAction));
  749.44 ++                   from->button->numButtons * sizeof(XkbAction));
  749.45 +         }
  749.46 +         else {
  749.47 +             free(to->button->xkb_acts);
  749.48 +diff --git a/dix/devices.c b/dix/devices.c
  749.49 +index b063128df0..3f3224d626 100644
  749.50 +--- a/dix/devices.c
  749.51 ++++ b/dix/devices.c
  749.52 +@@ -2539,6 +2539,8 @@ RecalculateMasterButtons(DeviceIntPtr slave)
  749.53 + 
  749.54 +     if (master->button && master->button->numButtons != maxbuttons) {
  749.55 +         int i;
  749.56 ++        int last_num_buttons = master->button->numButtons;
  749.57 ++
  749.58 +         DeviceChangedEvent event = {
  749.59 +             .header = ET_Internal,
  749.60 +             .type = ET_DeviceChanged,
  749.61 +@@ -2549,6 +2551,14 @@ RecalculateMasterButtons(DeviceIntPtr slave)
  749.62 +         };
  749.63 + 
  749.64 +         master->button->numButtons = maxbuttons;
  749.65 ++        if (last_num_buttons < maxbuttons) {
  749.66 ++            master->button->xkb_acts = xnfreallocarray(master->button->xkb_acts,
  749.67 ++                                                       maxbuttons,
  749.68 ++                                                       sizeof(XkbAction));
  749.69 ++            memset(&master->button->xkb_acts[last_num_buttons],
  749.70 ++                   0,
  749.71 ++                   (maxbuttons - last_num_buttons) * sizeof(XkbAction));
  749.72 ++        }
  749.73 + 
  749.74 +         memcpy(&event.buttons.names, master->button->labels, maxbuttons *
  749.75 +                sizeof(Atom));
  749.76 +-- 
  749.77 +GitLab
  749.78 +
   750.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   750.2 +++ b/xorg-server/stuff/CVE-2023-6478.patch	Sun Jan 14 08:12:37 2024 +0000
   750.3 @@ -0,0 +1,59 @@
   750.4 +From 14f480010a93ff962fef66a16412fafff81ad632 Mon Sep 17 00:00:00 2001
   750.5 +From: Peter Hutterer <peter.hutterer@who-t.net>
   750.6 +Date: Mon, 27 Nov 2023 16:27:49 +1000
   750.7 +Subject: [PATCH] randr: avoid integer truncation in length check of
   750.8 + ProcRRChange*Property
   750.9 +
  750.10 +Affected are ProcRRChangeProviderProperty and ProcRRChangeOutputProperty.
  750.11 +See also xserver@8f454b79 where this same bug was fixed for the core
  750.12 +protocol and XI.
  750.13 +
  750.14 +This fixes an OOB read and the resulting information disclosure.
  750.15 +
  750.16 +Length calculation for the request was clipped to a 32-bit integer. With
  750.17 +the correct stuff->nUnits value the expected request size was
  750.18 +truncated, passing the REQUEST_FIXED_SIZE check.
  750.19 +
  750.20 +The server then proceeded with reading at least stuff->num_items bytes
  750.21 +(depending on stuff->format) from the request and stuffing whatever it
  750.22 +finds into the property. In the process it would also allocate at least
  750.23 +stuff->nUnits bytes, i.e. 4GB.
  750.24 +
  750.25 +CVE-2023-6478, ZDI-CAN-22561
  750.26 +
  750.27 +This vulnerability was discovered by:
  750.28 +Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
  750.29 +---
  750.30 + randr/rrproperty.c         | 2 +-
  750.31 + randr/rrproviderproperty.c | 2 +-
  750.32 + 2 files changed, 2 insertions(+), 2 deletions(-)
  750.33 +
  750.34 +diff --git a/randr/rrproperty.c b/randr/rrproperty.c
  750.35 +index 25469f57b2..c4fef8a1f6 100644
  750.36 +--- a/randr/rrproperty.c
  750.37 ++++ b/randr/rrproperty.c
  750.38 +@@ -530,7 +530,7 @@ ProcRRChangeOutputProperty(ClientPtr client)
  750.39 +     char format, mode;
  750.40 +     unsigned long len;
  750.41 +     int sizeInBytes;
  750.42 +-    int totalSize;
  750.43 ++    uint64_t totalSize;
  750.44 +     int err;
  750.45 + 
  750.46 +     REQUEST_AT_LEAST_SIZE(xRRChangeOutputPropertyReq);
  750.47 +diff --git a/randr/rrproviderproperty.c b/randr/rrproviderproperty.c
  750.48 +index b79c17f9bf..90c5a9a933 100644
  750.49 +--- a/randr/rrproviderproperty.c
  750.50 ++++ b/randr/rrproviderproperty.c
  750.51 +@@ -498,7 +498,7 @@ ProcRRChangeProviderProperty(ClientPtr client)
  750.52 +     char format, mode;
  750.53 +     unsigned long len;
  750.54 +     int sizeInBytes;
  750.55 +-    int totalSize;
  750.56 ++    uint64_t totalSize;
  750.57 +     int err;
  750.58 + 
  750.59 +     REQUEST_AT_LEAST_SIZE(xRRChangeProviderPropertyReq);
  750.60 +-- 
  750.61 +GitLab
  750.62 +
   751.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   751.2 +++ b/xorg-server/stuff/xorg-udev.patch	Sun Jan 14 08:12:37 2024 +0000
   751.3 @@ -0,0 +1,10 @@
   751.4 +--- xorg-server-1.20.5-orig/config/udev.c	2019-08-29 17:07:08.472745416 +0200
   751.5 ++++ xorg-server-1.20.5/config/udev.c	2019-08-29 17:06:06.150742444 +0200
   751.6 +@@ -30,6 +30,7 @@
   751.7 + #include <libudev.h>
   751.8 + #include <ctype.h>
   751.9 + #include <unistd.h>
  751.10 ++#include <sys/sysmacros.h>
  751.11 + 
  751.12 + #include "input.h"
  751.13 + #include "inputstr.h"
   752.1 --- a/xorg-util-macros/receipt	Mon Oct 16 18:37:14 2023 +0000
   752.2 +++ b/xorg-util-macros/receipt	Sun Jan 14 08:12:37 2024 +0000
   752.3 @@ -1,7 +1,7 @@
   752.4  # SliTaz package receipt.
   752.5  
   752.6  PACKAGE="xorg-util-macros"
   752.7 -VERSION="1.19.2"
   752.8 +VERSION="1.19.3"
   752.9  CATEGORY="development"
  752.10  SHORT_DESC="A set of autoconf project macros for X.Org modules."
  752.11  MAINTAINER="gokhlayeh@slitaz.org"
   753.1 --- a/xorg-xauth/receipt	Mon Oct 16 18:37:14 2023 +0000
   753.2 +++ b/xorg-xauth/receipt	Sun Jan 14 08:12:37 2024 +0000
   753.3 @@ -1,7 +1,7 @@
   753.4  # SliTaz package receipt.
   753.5  
   753.6  PACKAGE="xorg-xauth"
   753.7 -VERSION="1.1"
   753.8 +VERSION="1.1.1"
   753.9  CATEGORY="x-window"
  753.10  SHORT_DESC="X authority file utility."
  753.11  MAINTAINER="pankso@slitaz.org"
   754.1 --- a/xorg-xev/receipt	Mon Oct 16 18:37:14 2023 +0000
   754.2 +++ b/xorg-xev/receipt	Sun Jan 14 08:12:37 2024 +0000
   754.3 @@ -1,7 +1,7 @@
   754.4  # SliTaz package receipt.
   754.5  
   754.6  PACKAGE="xorg-xev"
   754.7 -VERSION="1.2.3"
   754.8 +VERSION="1.2.4"
   754.9  CATEGORY="x-window"
  754.10  TAGS="utility xorg debug"
  754.11  SHORT_DESC="Print contents of x-server events."
   755.1 --- a/xorg-xf86-input-synaptics/receipt	Mon Oct 16 18:37:14 2023 +0000
   755.2 +++ b/xorg-xf86-input-synaptics/receipt	Sun Jan 14 08:12:37 2024 +0000
   755.3 @@ -1,7 +1,7 @@
   755.4  # SliTaz package receipt.
   755.5  
   755.6  PACKAGE="xorg-xf86-input-synaptics"
   755.7 -VERSION="1.6.2"
   755.8 +VERSION="1.9.1"
   755.9  CATEGORY="x-window"
  755.10  SHORT_DESC="Xorg synaptics driver."
  755.11  MAINTAINER="pankso@slitaz.org"
  755.12 @@ -12,7 +12,8 @@
  755.13  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
  755.14  
  755.15  DEPENDS="xorg-server xorg-libXtst mtdev"
  755.16 -BUILD_DEPENDS="xorg-server-dev xorg-libXtst-dev mtdev-dev"
  755.17 +BUILD_DEPENDS="xorg-server-dev \
  755.18 +xorg-libXtst-dev mtdev-dev libevdev-dev"
  755.19  
  755.20  current_version()
  755.21  {
   756.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   756.2 +++ b/xorg-xf86-video-amdgpu/receipt	Sun Jan 14 08:12:37 2024 +0000
   756.3 @@ -0,0 +1,44 @@
   756.4 +# SliTaz package receipt.
   756.5 +
   756.6 +PACKAGE="xorg-xf86-video-amdgpu"
   756.7 +VERSION="21.0.0"
   756.8 +CATEGORY="x-window"
   756.9 +SHORT_DESC="Xorg server AMDGPU driver."
  756.10 +MAINTAINER="maintainer@slitaz.org"
  756.11 +LICENSE="MIT"
  756.12 +SOURCE="xf86-video-amdgpu"
  756.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
  756.14 +WEB_SITE="https://www.x.org/"
  756.15 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
  756.16 +TAGS="xorg display"
  756.17 +
  756.18 +DEPENDS="xorg-server mesa-dri"
  756.19 +BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev xorg-xf86driproto"
  756.20 +
  756.21 +MODS='/usr/lib/X11/modules'
  756.22 +
  756.23 +current_version()
  756.24 +{
  756.25 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  756.26 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  756.27 +}
  756.28 +
  756.29 +# Rules to configure and make the package.
  756.30 +compile_rules()
  756.31 +{
  756.32 +	./configure \
  756.33 +		--sysconfdir=/etc \
  756.34 +		--mandir=/usr/share/man \
  756.35 +		--localstatedir=/var \
  756.36 +		--with-xorg-module-dir=$MODS \
  756.37 +		--enable-glamor \
  756.38 +		$CONFIGURE_ARGS &&
  756.39 +	make && make install
  756.40 +}
  756.41 +
  756.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
  756.43 +genpkg_rules()
  756.44 +{
  756.45 +	mkdir -p ${fs}${MODS}/drivers
  756.46 +	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
  756.47 +}
   757.1 --- a/xorg-xf86-video-ati/receipt	Mon Oct 16 18:37:14 2023 +0000
   757.2 +++ b/xorg-xf86-video-ati/receipt	Sun Jan 14 08:12:37 2024 +0000
   757.3 @@ -1,7 +1,7 @@
   757.4  # SliTaz package receipt.
   757.5  
   757.6  PACKAGE="xorg-xf86-video-ati"
   757.7 -VERSION="7.7.0"
   757.8 +VERSION="19.1.0"
   757.9  CATEGORY="x-window"
  757.10  SHORT_DESC="Xorg server ATI driver."
  757.11  MAINTAINER="pankso@slitaz.org"
  757.12 @@ -31,7 +31,7 @@
  757.13  		--mandir=/usr/share/man \
  757.14  		--localstatedir=/var \
  757.15  		--with-xorg-module-dir=$MODS \
  757.16 -		--disable-glamor \
  757.17 +		--enable-glamor \
  757.18  		$CONFIGURE_ARGS &&
  757.19  	make && make install
  757.20  }
   758.1 --- a/xorg-xf86-video-fbdev/receipt	Mon Oct 16 18:37:14 2023 +0000
   758.2 +++ b/xorg-xf86-video-fbdev/receipt	Sun Jan 14 08:12:37 2024 +0000
   758.3 @@ -31,11 +31,15 @@
   758.4  compile_rules()
   758.5  {
   758.6  	# xorg-server 1.12.4 support hack...
   758.7 -	sed -i	-e 's/\(fbdevHWSwitchMode.*\));/\1, 0);/' \
   758.8 -		-e 's/\(fbdevHWAdjustFrame.*\)y);/\1y, 0);/' \
   758.9 -		-e 's/\(fbdevHWEnterVT.*\));/\1, 0);/' \
  758.10 -		-e 's/\(fbdevHWLeaveVT.*\));/\1, 0);/' \
  758.11 -			src/fbdev.c
  758.12 +	#sed -i	-e 's/\(fbdevHWSwitchMode.*\));/\1, 0);/' \
  758.13 +	#	-e 's/\(fbdevHWAdjustFrame.*\)y);/\1y, 0);/' \
  758.14 +	#	-e 's/\(fbdevHWEnterVT.*\));/\1, 0);/' \
  758.15 +	#	-e 's/\(fbdevHWLeaveVT.*\));/\1, 0);/' \
  758.16 +	#		src/fbdev.c
  758.17 +
  758.18 +	# Patch to build with gcc8
  758.19 +	# see https://gitlab.archlinux.org/archlinux/packaging/packages/xf86-video-fbdev
  758.20 +	patch -p1 < $stuff/fix_build_with_gcc8.patch
  758.21  
  758.22  	./configure \
  758.23  		--prefix=/usr \
   759.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   759.2 +++ b/xorg-xf86-video-fbdev/stuff/fix_build_with_gcc8.patch	Sun Jan 14 08:12:37 2024 +0000
   759.3 @@ -0,0 +1,11 @@
   759.4 +--- a/src/fbdev.c	2018-05-11 21:15:36.650039778 +0200
   759.5 ++++ b/src/fbdev.c	2018-05-11 21:17:27.063021717 +0200
   759.6 +@@ -1008,7 +1008,7 @@
   759.7 + 	fPtr->CloseScreen = pScreen->CloseScreen;
   759.8 + 	pScreen->CloseScreen = FBDevCloseScreen;
   759.9 + 
  759.10 +-#if XV
  759.11 ++#ifdef XV
  759.12 + 	{
  759.13 + 	    XF86VideoAdaptorPtr *ptr;
  759.14 + 
   760.1 --- a/xorg-xf86-video-intel/receipt	Mon Oct 16 18:37:14 2023 +0000
   760.2 +++ b/xorg-xf86-video-intel/receipt	Sun Jan 14 08:12:37 2024 +0000
   760.3 @@ -11,11 +11,14 @@
   760.4  
   760.5  SOURCE="xf86-video-intel"
   760.6  TARBALL="$SOURCE-$VERSION.tar.bz2"
   760.7 -WGET_URL="$XORG_MIRROR/driver/$TARBALL"
   760.8 +#WGET_URL="$XORG_MIRROR/driver/$TARBALL"
   760.9 +WGET_URL="git|git://anongit.freedesktop.org/xorg/driver/xf86-video-intel"
  760.10 +BRANCH="d39197bb10b7d88cb4c456e7a5e8d34c1dc6eeaf"
  760.11  
  760.12 -DEPENDS="libdrm libdrm-intel mesa-dri-intel xcb-util xorg-libXvMC xorg-server"
  760.13 -BUILD_DEPENDS="libdrm-dev libpthread-stubs-dev xcb-util-dev 
  760.14 -	xorg-libXvMC-dev xorg-server-dev"
  760.15 +DEPENDS="libdrm libdrm-intel mesa-dri-intel xcb-util xorg-libXfont2 \
  760.16 +xorg-libXvMC xorg-server"
  760.17 +BUILD_DEPENDS="automake libtool git libdrm-dev libpthread-stubs-dev \
  760.18 +xcb-util-dev xorg-libXfont2-dev xorg-libXvMC-dev xorg-server-dev"
  760.19  
  760.20  MODS='/usr/lib/X11/modules'
  760.21  
  760.22 @@ -28,12 +31,39 @@
  760.23  # Rules to configure and make the package.
  760.24  compile_rules()
  760.25  {
  760.26 +	# Patch from use driver with new Xorg
  760.27 +	# see https://gnats.netbsd.org/51687
  760.28 +	patch -Np1 < $stuff/patch-src_compat-api.h
  760.29 +	patch -Np1 < $stuff/patch-src_legacy_i810_i810__video.c
  760.30 +	patch -Np1 < $stuff/patch-src_sna_sna__accel.c
  760.31 +	patch -Np1 < $stuff/patch-src_sna_sna__acpi.c
  760.32 +	patch -Np1 < $stuff/patch-src_sna_sna__driver.c
  760.33 +	patch -Np1 < $stuff/patch-src_sna_sna.h
  760.34 +	patch -Np1 < $stuff/patch-src_uxa_intel__display.c
  760.35 +	patch -Np1 < $stuff/patch-src_uxa_intel.h
  760.36 +	# see https://lists.x.org/archives/xorg-devel/2018-May/056924.html
  760.37 +	patch -Np1 < $stuff/patch2-src_sna_sna__accel.c
  760.38 +
  760.39 +	# Patch to fix build for i686
  760.40 +	# see https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/c/f2e86334f3a168b04afddb57d4bc4f630e59a5e9
  760.41 +	patch -Np1 < $stuff/fix_build_i686.patch
  760.42 +
  760.43 +	# Patch to build with new glibc 2.28
  760.44 +	# see https://yhbt.net/lore/all/CAMKF1sqHoFmmW3-c1nPMcf04TCRT6EjUAtkQ=kksEy8aY=sMwQ@mail.gmail.com/T/ 
  760.45 +	patch -Np1 < $stuff/fix_build_glibc2.28.patch
  760.46 +
  760.47 +	# Update src
  760.48 +	autoreconf -i
  760.49 +
  760.50 +	# disable dri3, need check to add support
  760.51 +
  760.52  	./configure				\
  760.53  		--sysconfdir=/etc		\
  760.54  		--mandir=/usr/share/man		\
  760.55  		--localstatedir=/var		\
  760.56  		--with-xorg-module-dir=$MODS	\
  760.57  		--enable-dri			\
  760.58 +		--disable-dri3			\
  760.59  		--enable-xvmc			\
  760.60  		$CONFIGURE_ARGS &&
  760.61  	make &&
   761.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   761.2 +++ b/xorg-xf86-video-intel/stuff/fix_build_glibc2.28.patch	Sun Jan 14 08:12:37 2024 +0000
   761.3 @@ -0,0 +1,15 @@
   761.4 +Upstream-Status: Pending
   761.5 +RP 2018/8/12
   761.6 +
   761.7 +Index: git/tools/backlight_helper.c
   761.8 +===================================================================
   761.9 +--- git.orig/tools/backlight_helper.c
  761.10 ++++ git/tools/backlight_helper.c
  761.11 +@@ -8,6 +8,7 @@
  761.12 + 
  761.13 + #include <sys/types.h>
  761.14 + #include <sys/stat.h>
  761.15 ++#include <sys/sysmacros.h>
  761.16 + 
  761.17 + #if MAJOR_IN_MKDEV
  761.18 + #include <sys/mkdev.h>
   762.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   762.2 +++ b/xorg-xf86-video-intel/stuff/fix_build_i686.patch	Sun Jan 14 08:12:37 2024 +0000
   762.3 @@ -0,0 +1,50 @@
   762.4 +From a414d4e24461da1cb4cef8ee910bc57bab360ceb Mon Sep 17 00:00:00 2001
   762.5 +From: Adam Jackson <ajax@redhat.com>
   762.6 +Date: Tue, 6 Mar 2018 12:07:46 -0500
   762.7 +Subject: [PATCH] Fix build on i686
   762.8 +
   762.9 +Presumably this only matters for i686 because amd64 implies sse2, but:
  762.10 +
  762.11 +BUILDSTDERR: In file included from gen4_vertex.c:34:
  762.12 +BUILDSTDERR: gen4_vertex.c: In function 'emit_vertex':
  762.13 +BUILDSTDERR: sna_render_inline.h:40:26: error: inlining failed in call to always_inline 'vertex_emit_2s': target specific option mismatch
  762.14 +BUILDSTDERR:  static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
  762.15 +BUILDSTDERR:                           ^~~~~~~~~~~~~~
  762.16 +BUILDSTDERR: gen4_vertex.c:308:25: note: called from here
  762.17 +BUILDSTDERR:  #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
  762.18 +BUILDSTDERR:                          ^~~~~~~~~~~~~~~~~~~~~~~~
  762.19 +BUILDSTDERR: gen4_vertex.c:360:2: note: in expansion of macro 'OUT_VERTEX'
  762.20 +BUILDSTDERR:   OUT_VERTEX(dstX, dstY);
  762.21 +BUILDSTDERR:   ^~~~~~~~~~
  762.22 +
  762.23 +The bug here appears to be that emit_vertex() is declared 'sse2' but
  762.24 +vertex_emit_2s is merely always_inline. gcc8 decides that since you said
  762.25 +always_inline you need to have explicitly cloned it for every
  762.26 +permutation of targets. Merely saying inline seems to do the job of
  762.27 +cloning vertex_emit_2s as much as necessary.
  762.28 +
  762.29 +So to reiterate: if you say always-inline, it won't, but if you just say
  762.30 +maybe inline, it will. Thanks gcc, that's helpful.
  762.31 +
  762.32 +- ajax
  762.33 +---
  762.34 + src/sna/compiler.h | 2 +-
  762.35 + 1 file changed, 1 insertion(+), 1 deletion(-)
  762.36 +
  762.37 +diff --git a/src/sna/compiler.h b/src/sna/compiler.h
  762.38 +index 3c176a16..bc447c7a 100644
  762.39 +--- a/src/sna/compiler.h
  762.40 ++++ b/src/sna/compiler.h
  762.41 +@@ -32,7 +32,7 @@
  762.42 + #define likely(expr) (__builtin_expect (!!(expr), 1))
  762.43 + #define unlikely(expr) (__builtin_expect (!!(expr), 0))
  762.44 + #define noinline __attribute__((noinline))
  762.45 +-#define force_inline inline __attribute__((always_inline))
  762.46 ++#define force_inline inline
  762.47 + #define fastcall __attribute__((regparm(3)))
  762.48 + #define must_check __attribute__((warn_unused_result))
  762.49 + #define constant __attribute__((const))
  762.50 +-- 
  762.51 +2.16.2
  762.52 +
  762.53 +
   763.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   763.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_compat-api.h	Sun Jan 14 08:12:37 2024 +0000
   763.3 @@ -0,0 +1,38 @@
   763.4 +$NetBSD$
   763.5 +
   763.6 +--- a/src/compat-api.h	2014-11-18 21:50:39.000000000 +0000
   763.7 ++++ b/src/compat-api.h
   763.8 +@@ -30,6 +30,7 @@
   763.9 + 
  763.10 + #include <xorg-server.h>
  763.11 + #include <xorgVersion.h>
  763.12 ++#include <xf86Module.h>
  763.13 + 
  763.14 + #include <picturestr.h>
  763.15 + #ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
  763.16 +@@ -42,6 +43,10 @@
  763.17 + #define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
  763.18 + #endif
  763.19 + 
  763.20 ++#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 22
  763.21 ++#define HAVE_NOTIFY_FD 1
  763.22 ++#endif
  763.23 ++
  763.24 + #ifndef XF86_SCRN_INTERFACE
  763.25 + 
  763.26 + #define SCRN_ARG_TYPE int
  763.27 +@@ -223,4 +228,14 @@ static inline void FreePixmap(PixmapPtr
  763.28 + 			  dstx, dsty)
  763.29 + #endif
  763.30 + 
  763.31 ++#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(22, 0)
  763.32 ++#define OsBlockSIGIO()
  763.33 ++#define OsReleaseSIGIO()
  763.34 ++#endif
  763.35 ++
  763.36 ++#if !HAVE_NOTIFY_FD
  763.37 ++#define SetNotifyFd(fd, cb, mode, data) AddGeneralSocket(fd);
  763.38 ++#define RemoveNotifyFd(fd) RemoveGeneralSocket(fd)
  763.39 ++#endif
  763.40 ++
  763.41 + #endif
   764.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   764.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_legacy_i810_i810__video.c	Sun Jan 14 08:12:37 2024 +0000
   764.3 @@ -0,0 +1,86 @@
   764.4 +$NetBSD$
   764.5 +
   764.6 +--- a/src/legacy/i810/i810_video.c	2014-08-29 09:33:11.000000000 +0000
   764.7 ++++ b/src/legacy/i810/i810_video.c
   764.8 +@@ -77,7 +77,11 @@ static int I810PutImage( ScrnInfoPtr,
   764.9 + static int I810QueryImageAttributes(ScrnInfoPtr, 
  764.10 + 	int, unsigned short *, unsigned short *,  int *, int *);
  764.11 + 
  764.12 ++#if !HAVE_NOTIFY_FD
  764.13 + static void I810BlockHandler(BLOCKHANDLER_ARGS_DECL);
  764.14 ++#else
  764.15 ++static void I810BlockHandler(void *data, void *_timeout);
  764.16 ++#endif
  764.17 + 
  764.18 + #define MAKE_ATOM(a) MakeAtom(a, sizeof(a) - 1, TRUE)
  764.19 + 
  764.20 +@@ -418,8 +422,14 @@ I810SetupImageVideo(ScreenPtr screen)
  764.21 + 
  764.22 +     pI810->adaptor = adapt;
  764.23 + 
  764.24 ++#if !HAVE_NOTIFY_FD
  764.25 +     pI810->BlockHandler = screen->BlockHandler;
  764.26 +     screen->BlockHandler = I810BlockHandler;
  764.27 ++#else
  764.28 ++    RegisterBlockAndWakeupHandlers(I810BlockHandler,
  764.29 ++				   (ServerWakeupHandlerProcPtr)NoopDDA,
  764.30 ++				   pScrn);
  764.31 ++#endif
  764.32 + 
  764.33 +     xvBrightness = MAKE_ATOM("XV_BRIGHTNESS");
  764.34 +     xvContrast   = MAKE_ATOM("XV_CONTRAST");
  764.35 +@@ -1135,6 +1145,7 @@ I810QueryImageAttributes(
  764.36 +     return size;
  764.37 + }
  764.38 + 
  764.39 ++#if !HAVE_NOTIFY_FD
  764.40 + static void
  764.41 + I810BlockHandler (BLOCKHANDLER_ARGS_DECL)
  764.42 + {
  764.43 +@@ -1172,7 +1183,38 @@ I810BlockHandler (BLOCKHANDLER_ARGS_DECL
  764.44 +         }
  764.45 +     }
  764.46 + }
  764.47 ++#else
  764.48 ++static void
  764.49 ++I810BlockHandler(void *data, void *_timeout)
  764.50 ++{
  764.51 ++    ScrnInfoPtr pScrn = data;
  764.52 ++    I810Ptr      pI810 = I810PTR(pScrn);
  764.53 ++    I810PortPrivPtr pPriv = GET_PORT_PRIVATE(pScrn);
  764.54 ++    I810OverlayRegPtr overlay = (I810OverlayRegPtr) (pI810->FbBase + pI810->OverlayStart);
  764.55 + 
  764.56 ++    if(pPriv->videoStatus & TIMER_MASK) {
  764.57 ++	UpdateCurrentTime();
  764.58 ++	if(pPriv->videoStatus & OFF_TIMER) {
  764.59 ++	    if(pPriv->offTime < currentTime.milliseconds) {
  764.60 ++		/* Turn off the overlay */
  764.61 ++		overlay->OV0CMD &= 0xFFFFFFFE;
  764.62 ++		OVERLAY_UPDATE(pI810->OverlayPhysical);
  764.63 ++
  764.64 ++		pPriv->videoStatus = FREE_TIMER;
  764.65 ++		pPriv->freeTime = currentTime.milliseconds + FREE_DELAY;
  764.66 ++	    }
  764.67 ++	} else {  /* FREE_TIMER */
  764.68 ++	    if(pPriv->freeTime < currentTime.milliseconds) {
  764.69 ++		if(pPriv->linear) {
  764.70 ++		   xf86FreeOffscreenLinear(pPriv->linear);
  764.71 ++		   pPriv->linear = NULL;
  764.72 ++		}
  764.73 ++		pPriv->videoStatus = 0;
  764.74 ++	    }
  764.75 ++        }
  764.76 ++    }
  764.77 ++}
  764.78 ++#endif
  764.79 + 
  764.80 + /***************************************************************************
  764.81 +  * Offscreen Images
  764.82 +@@ -1373,7 +1415,6 @@ I810DisplaySurface(
  764.83 +       UpdateCurrentTime();
  764.84 +       pI810Priv->videoStatus = FREE_TIMER;
  764.85 +       pI810Priv->freeTime = currentTime.milliseconds + FREE_DELAY;
  764.86 +-      pScrn->pScreen->BlockHandler = I810BlockHandler;
  764.87 +     }
  764.88 + 
  764.89 +     return Success;
   765.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   765.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_sna_sna.h	Sun Jan 14 08:12:37 2024 +0000
   765.3 @@ -0,0 +1,15 @@
   765.4 +$NetBSD$
   765.5 +
   765.6 +--- a/src/sna/sna.h	2014-12-20 13:29:05.000000000 +0000
   765.7 ++++ b/src/sna/sna.h
   765.8 +@@ -364,8 +364,10 @@ struct sna {
   765.9 + 	EntityInfoPtr pEnt;
  765.10 + 	const struct intel_device_info *info;
  765.11 + 
  765.12 ++#if !HAVE_NOTIFY_FD
  765.13 + 	ScreenBlockHandlerProcPtr BlockHandler;
  765.14 + 	ScreenWakeupHandlerProcPtr WakeupHandler;
  765.15 ++#endif
  765.16 + 	CloseScreenProcPtr CloseScreen;
  765.17 + 
  765.18 + 	PicturePtr clear;
   766.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   766.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_sna_sna__accel.c	Sun Jan 14 08:12:37 2024 +0000
   766.3 @@ -0,0 +1,48 @@
   766.4 +$NetBSD$
   766.5 +
   766.6 +--- a/src/sna/sna_accel.c	2014-12-20 13:29:27.000000000 +0000
   766.7 ++++ b/src/sna/sna_accel.c
   766.8 +@@ -115,6 +115,11 @@
   766.9 + #define RECTILINEAR	0x4
  766.10 + #define OVERWRITES	0x8
  766.11 + 
  766.12 ++#if XFONT2_CLIENT_FUNCS_VERSION >= 1
  766.13 ++#define AllocateFontPrivateIndex() xfont2_allocate_font_private_index()
  766.14 ++#define FontSetPrivate(font, idx, data) xfont2_font_set_private(font, idx, data)
  766.15 ++#endif
  766.16 ++
  766.17 + #if 0
  766.18 + static void __sna_fallback_flush(DrawablePtr d)
  766.19 + {
  766.20 +@@ -17811,6 +17816,13 @@ static bool sna_option_accel_blt(struct
  766.21 + 	return strcasecmp(s, "blt") == 0;
  766.22 + }
  766.23 + 
  766.24 ++#if HAVE_NOTIFY_FD
  766.25 ++static void sna_accel_notify(int fd, int ready, void *data)
  766.26 ++{
  766.27 ++	sna_mode_wakeup(data);
  766.28 ++}
  766.29 ++#endif
  766.30 ++
  766.31 + bool sna_accel_init(ScreenPtr screen, struct sna *sna)
  766.32 + {
  766.33 + 	const char *backend;
  766.34 +@@ -17822,7 +17834,7 @@ bool sna_accel_init(ScreenPtr screen, st
  766.35 + 	list_init(&sna->flush_pixmaps);
  766.36 + 	list_init(&sna->active_pixmaps);
  766.37 + 
  766.38 +-	AddGeneralSocket(sna->kgem.fd);
  766.39 ++	SetNotifyFd(sna->kgem.fd, sna_accel_notify, X_NOTIFY_READ, sna);
  766.40 + 
  766.41 + #ifdef DEBUG_MEMORY
  766.42 + 	sna->timer_expire[DEBUG_MEMORY_TIMER] = GetTimeInMillis()+ 10 * 1000;
  766.43 +@@ -17998,7 +18010,7 @@ void sna_accel_close(struct sna *sna)
  766.44 + 	sna_pixmap_expire(sna);
  766.45 + 
  766.46 + 	DeleteCallback(&FlushCallback, sna_accel_flush_callback, sna);
  766.47 +-	RemoveGeneralSocket(sna->kgem.fd);
  766.48 ++	RemoveNotifyFd(sna->kgem.fd);
  766.49 + 
  766.50 + 	kgem_cleanup_cache(&sna->kgem);
  766.51 + }
   767.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   767.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_sna_sna__acpi.c	Sun Jan 14 08:12:37 2024 +0000
   767.3 @@ -0,0 +1,36 @@
   767.4 +$NetBSD$
   767.5 +
   767.6 +--- a/src/sna/sna_acpi.c	2014-08-29 09:33:11.000000000 +0000
   767.7 ++++ b/src/sna/sna_acpi.c
   767.8 +@@ -92,7 +92,7 @@ void _sna_acpi_wakeup(struct sna *sna)
   767.9 + 		DBG(("%s: error [%d], detaching from acpid\n", __FUNCTION__, n));
  767.10 + 
  767.11 + 		/* XXX reattach later? */
  767.12 +-		RemoveGeneralSocket(sna->acpi.fd);
  767.13 ++		RemoveNotifyFd(sna->acpi.fd);
  767.14 + 		sna_acpi_fini(sna);
  767.15 + 		return;
  767.16 + 	}
  767.17 +@@ -136,6 +136,13 @@ void _sna_acpi_wakeup(struct sna *sna)
  767.18 + 	} while (n);
  767.19 + }
  767.20 + 
  767.21 ++#if HAVE_NOTIFY_FD
  767.22 ++static void sna_acpi_notify(int fd, int read, void *data)
  767.23 ++{
  767.24 ++	_sna_acpi_wakeup(data);
  767.25 ++}
  767.26 ++#endif
  767.27 ++
  767.28 + static int read_power_state(const char *path)
  767.29 + {
  767.30 + 	DIR *dir;
  767.31 +@@ -200,7 +207,7 @@ void sna_acpi_init(struct sna *sna)
  767.32 + 
  767.33 + 	DBG(("%s: attaching to acpid\n", __FUNCTION__));
  767.34 + 
  767.35 +-	AddGeneralSocket(sna->acpi.fd);
  767.36 ++	SetNotifyFd(sna->acpi.fd, sna_acpi_notify, X_NOTIFY_READ, sna);
  767.37 + 	sna->acpi.remain = sizeof(sna->acpi.event) - 1;
  767.38 + 	sna->acpi.offset = 0;
  767.39 + 
   768.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   768.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_sna_sna__driver.c	Sun Jan 14 08:12:37 2024 +0000
   768.3 @@ -0,0 +1,75 @@
   768.4 +$NetBSD$
   768.5 +
   768.6 +--- a/src/sna/sna_driver.c	2014-12-11 13:52:11.000000000 +0000
   768.7 ++++ b/src/sna/sna_driver.c
   768.8 +@@ -732,6 +732,7 @@ static bool has_shadow(struct sna *sna)
   768.9 + 	return sna->mode.flip_active == 0;
  768.10 + }
  768.11 + 
  768.12 ++#if !HAVE_NOTIFY_FD
  768.13 + static void
  768.14 + sna_block_handler(BLOCKHANDLER_ARGS_DECL)
  768.15 + {
  768.16 +@@ -778,6 +779,31 @@ sna_wakeup_handler(WAKEUPHANDLER_ARGS_DE
  768.17 + 		FD_CLR(sna->kgem.fd, (fd_set*)read_mask);
  768.18 + 	}
  768.19 + }
  768.20 ++#else
  768.21 ++static void
  768.22 ++sna_block_handler(void *data, void *_timeout)
  768.23 ++{
  768.24 ++	struct sna *sna = data;
  768.25 ++	int *timeout = _timeout;
  768.26 ++	struct timeval tv, *tvp;
  768.27 ++
  768.28 ++	DBG(("%s (timeout=%d)\n", __FUNCTION__, *timeout));
  768.29 ++	if (*timeout == 0)
  768.30 ++		return;
  768.31 ++
  768.32 ++	if (*timeout < 0) {
  768.33 ++		tvp = NULL;
  768.34 ++	} else {
  768.35 ++		tv.tv_sec = *timeout / 1000;
  768.36 ++		tv.tv_usec = (*timeout % 1000) * 1000;
  768.37 ++		tvp = &tv;
  768.38 ++	}
  768.39 ++
  768.40 ++	sna_accel_block_handler(sna, &tvp);
  768.41 ++	if (tvp)
  768.42 ++		*timeout = tvp->tv_sec * 1000 + tvp->tv_usec / 1000;
  768.43 ++}
  768.44 ++#endif
  768.45 + 
  768.46 + #if HAVE_UDEV
  768.47 + static void
  768.48 +@@ -948,6 +974,12 @@ static Bool sna_early_close_screen(CLOSE
  768.49 + 
  768.50 + 	/* XXX Note that we will leak kernel resources if !vtSema */
  768.51 + 
  768.52 ++#if HAVE_NOTIFY_FD
  768.53 ++	RemoveBlockAndWakeupHandlers(sna_block_handler,
  768.54 ++				     (ServerWakeupHandlerProcPtr)NoopDDA,
  768.55 ++				     sna);
  768.56 ++#endif
  768.57 ++
  768.58 + 	sna_uevent_fini(sna);
  768.59 + 	sna_mode_close(sna);
  768.60 + 
  768.61 +@@ -1166,11 +1198,17 @@ sna_screen_init(SCREEN_INIT_ARGS_DECL)
  768.62 + 	 * later memory should be bound when allocating, e.g rotate_mem */
  768.63 + 	scrn->vtSema = TRUE;
  768.64 + 
  768.65 ++#if !HAVE_NOTIFY_FD
  768.66 + 	sna->BlockHandler = screen->BlockHandler;
  768.67 + 	screen->BlockHandler = sna_block_handler;
  768.68 + 
  768.69 + 	sna->WakeupHandler = screen->WakeupHandler;
  768.70 + 	screen->WakeupHandler = sna_wakeup_handler;
  768.71 ++#else
  768.72 ++	RegisterBlockAndWakeupHandlers(sna_block_handler,
  768.73 ++				       (ServerWakeupHandlerProcPtr)NoopDDA,
  768.74 ++				       sna);
  768.75 ++#endif
  768.76 + 
  768.77 + 	screen->SaveScreen = sna_save_screen;
  768.78 + 	screen->CreateScreenResources = sna_create_screen_resources;
   769.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   769.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_uxa_intel.h	Sun Jan 14 08:12:37 2024 +0000
   769.3 @@ -0,0 +1,15 @@
   769.4 +$NetBSD$
   769.5 +
   769.6 +--- a/src/uxa/intel.h	2014-12-09 20:41:25.000000000 +0000
   769.7 ++++ b/src/uxa/intel.h
   769.8 +@@ -196,7 +196,10 @@ typedef struct intel_screen_private {
   769.9 + 
  769.10 + 	int colorKey;
  769.11 + 	XF86VideoAdaptorPtr adaptor;
  769.12 ++
  769.13 ++#if !HAVE_NOTIFY_FD
  769.14 + 	ScreenBlockHandlerProcPtr BlockHandler;
  769.15 ++#endif
  769.16 + 	Bool overlayOn;
  769.17 + 
  769.18 + 	struct {
   770.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   770.2 +++ b/xorg-xf86-video-intel/stuff/patch-src_uxa_intel__display.c	Sun Jan 14 08:12:37 2024 +0000
   770.3 @@ -0,0 +1,53 @@
   770.4 +$NetBSD$
   770.5 +
   770.6 +--- a/src/uxa/intel_display.c	2014-12-09 20:43:16.000000000 +0000
   770.7 ++++ b/src/uxa/intel_display.c
   770.8 +@@ -2072,6 +2072,7 @@ intel_pageflip_abort(ScrnInfoPtr scrn, x
   770.9 + /*
  770.10 +  * Check for pending DRM events and process them.
  770.11 +  */
  770.12 ++#if !HAVE_NOTIFY_FD
  770.13 + static void
  770.14 + drm_wakeup_handler(pointer data, int err, pointer p)
  770.15 + {
  770.16 +@@ -2086,6 +2087,14 @@ drm_wakeup_handler(pointer data, int err
  770.17 + 	if (FD_ISSET(mode->fd, read_mask))
  770.18 + 		drmHandleEvent(mode->fd, &mode->event_context);
  770.19 + }
  770.20 ++#else
  770.21 ++static void
  770.22 ++drm_notify_fd(int fd, int ready, void *data)
  770.23 ++{
  770.24 ++	struct intel_mode *mode = data;
  770.25 ++	drmHandleEvent(mode->fd, &mode->event_context);
  770.26 ++}
  770.27 ++#endif
  770.28 + 
  770.29 + /*
  770.30 +  * If there are any available, read drm_events
  770.31 +@@ -2250,9 +2259,11 @@ intel_mode_init(struct intel_screen_priv
  770.32 + 	 * registration within ScreenInit and not PreInit.
  770.33 + 	 */
  770.34 + 	mode->flip_count = 0;
  770.35 +-	AddGeneralSocket(mode->fd);
  770.36 ++	SetNotifyFd(mode->fd, drm_notify_fd, X_NOTIFY_READ, mode);
  770.37 ++#if !HAVE_NOTIFY_FD
  770.38 + 	RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
  770.39 + 				       drm_wakeup_handler, mode);
  770.40 ++#endif
  770.41 + }
  770.42 + 
  770.43 + void
  770.44 +@@ -2276,9 +2287,11 @@ intel_mode_close(intel_screen_private *i
  770.45 + 
  770.46 +         intel_drm_abort_scrn(intel->scrn);
  770.47 + 
  770.48 ++#if !HAVE_NOTIFY_FD
  770.49 + 	RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
  770.50 + 				     drm_wakeup_handler, mode);
  770.51 +-	RemoveGeneralSocket(mode->fd);
  770.52 ++#endif
  770.53 ++	RemoveNotifyFd(mode->fd);
  770.54 + }
  770.55 + 
  770.56 + void
   771.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   771.2 +++ b/xorg-xf86-video-intel/stuff/patch2-src_sna_sna__accel.c	Sun Jan 14 08:12:37 2024 +0000
   771.3 @@ -0,0 +1,13 @@
   771.4 +diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
   771.5 +index 11beb906..25a075cf 100644
   771.6 +--- a/src/sna/sna_accel.c
   771.7 ++++ b/src/sna/sna_accel.c
   771.8 +@@ -16962,7 +16962,9 @@ static int sna_create_gc(GCPtr gc)
   771.9 + 
  771.10 + 	gc->freeCompClip = 0;
  771.11 + 	gc->pCompositeClip = 0;
  771.12 ++#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0)
  771.13 + 	gc->pRotatedPixmap = 0;
  771.14 ++#endif
  771.15 + 
  771.16 + 	fb_gc(gc)->bpp = bits_per_pixel(gc->depth);
   772.1 --- a/xorg-xf86-video-vesa/receipt	Mon Oct 16 18:37:14 2023 +0000
   772.2 +++ b/xorg-xf86-video-vesa/receipt	Sun Jan 14 08:12:37 2024 +0000
   772.3 @@ -1,7 +1,7 @@
   772.4  # SliTaz package receipt.
   772.5  
   772.6  PACKAGE="xorg-xf86-video-vesa"
   772.7 -VERSION="2.4.0"
   772.8 +VERSION="2.5.0"
   772.9  CATEGORY="x-window"
  772.10  SHORT_DESC="Xorg Vesa video driver."
  772.11  MAINTAINER="pankso@slitaz.org"
   773.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   773.2 +++ b/xorg-xkbcomp-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   773.3 @@ -0,0 +1,25 @@
   773.4 +# SliTaz package receipt.
   773.5 +
   773.6 +PACKAGE="xorg-xkbcomp-dev"
   773.7 +VERSION="1.4.5"
   773.8 +CATEGORY="development"
   773.9 +SHORT_DESC="Xorg keyboard composite devel files."
  773.10 +MAINTAINER="pankso@slitaz.org"
  773.11 +LICENSE="MIT"
  773.12 +WEB_SITE="https://www.x.org/wiki/"
  773.13 +WANTED="xorg-xkbcomp"
  773.14 +
  773.15 +DEPENDS="xorg-xkbcomp"
  773.16 +BUILD_DEPENDS="xorg-libxkbfile-dev"
  773.17 +
  773.18 +HOST_ARCH="i486 arm"
  773.19 +
  773.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
  773.21 +genpkg_rules()
  773.22 +{
  773.23 +        mkdir -p $fs/usr/share/licenses
  773.24 +        mkdir -p $fs/usr/lib
  773.25 +
  773.26 +        cp -a $src/COPYING                      $fs/usr/share/licenses/${PACKAGE%-dev}.txt
  773.27 +        cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
  773.28 +}
   774.1 --- a/xorg-xkbcomp/receipt	Mon Oct 16 18:37:14 2023 +0000
   774.2 +++ b/xorg-xkbcomp/receipt	Sun Jan 14 08:12:37 2024 +0000
   774.3 @@ -1,7 +1,7 @@
   774.4  # SliTaz package receipt.
   774.5  
   774.6  PACKAGE="xorg-xkbcomp"
   774.7 -VERSION="1.4.3"
   774.8 +VERSION="1.4.5"
   774.9  CATEGORY="x-window"
  774.10  SHORT_DESC="Xorg keyboard composite."
  774.11  MAINTAINER="pankso@slitaz.org"
   775.1 --- a/xorg-xprop/receipt	Mon Oct 16 18:37:14 2023 +0000
   775.2 +++ b/xorg-xprop/receipt	Sun Jan 14 08:12:37 2024 +0000
   775.3 @@ -1,7 +1,7 @@
   775.4  # SliTaz package receipt.
   775.5  
   775.6  PACKAGE="xorg-xprop"
   775.7 -VERSION="1.2.4"
   775.8 +VERSION="1.2.5"
   775.9  CATEGORY="x-window"
  775.10  SHORT_DESC="X xprop application."
  775.11  MAINTAINER="pankso@slitaz.org"
   776.1 --- a/xorg-xrdb/receipt	Mon Oct 16 18:37:14 2023 +0000
   776.2 +++ b/xorg-xrdb/receipt	Sun Jan 14 08:12:37 2024 +0000
   776.3 @@ -1,7 +1,7 @@
   776.4  # SliTaz package receipt.
   776.5  
   776.6  PACKAGE="xorg-xrdb"
   776.7 -VERSION="1.2.0"
   776.8 +VERSION="1.2.1"
   776.9  CATEGORY="x-window"
  776.10  SHORT_DESC="A program used for accessing the X resources of a server."
  776.11  MAINTAINER="rocky@slitaz.org"
   777.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   777.2 +++ b/xorgproto/receipt	Sun Jan 14 08:12:37 2024 +0000
   777.3 @@ -0,0 +1,34 @@
   777.4 +# SliTaz package receipt.
   777.5 +
   777.6 +PACKAGE="xorgproto"
   777.7 +VERSION="2021.5"
   777.8 +CATEGORY="x-window"
   777.9 +SHORT_DESC="X.Org combined protocol headers"
  777.10 +MAINTAINER="maintainer@slitaz.org"
  777.11 +LICENSE="MIT"
  777.12 +WEB_SITE="https://github.com/freedesktop/xorg-xorgproto"
  777.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
  777.14 +WGET_URL="git|https://gitlab.freedesktop.org/xorg/proto/xorgproto.git"
  777.15 +BRANCH="2021.5"
  777.16 +
  777.17 +BUILD_DEPENDS="git meson"
  777.18 +
  777.19 +# Rules to configure and make the package.
  777.20 +compile_rules()
  777.21 +{
  777.22 +	meson _build \
  777.23 +	    --prefix=/usr \
  777.24 +	    --libdir=lib \
  777.25 +	    --datadir=/usr/lib \
  777.26 +	    --buildtype=release \
  777.27 +	-Dlegacy=true
  777.28 +
  777.29 +        ninja   -C _build &&                                                                 
  777.30 +        ninja   -C _build install                 
  777.31 +}
  777.32 +
  777.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
  777.34 +genpkg_rules()
  777.35 +{
  777.36 +        cp -a $install/*    $fs
  777.37 +}
   778.1 --- a/xsane/receipt	Mon Oct 16 18:37:14 2023 +0000
   778.2 +++ b/xsane/receipt	Sun Jan 14 08:12:37 2024 +0000
   778.3 @@ -22,6 +22,14 @@
   778.4  # Rules to configure and make the package.
   778.5  compile_rules()
   778.6  {
   778.7 +	# Patch from archlinux
   778.8 +	# see https://gitlab.archlinux.org/archlinux/packaging/packages/xsane
   778.9 +	patch -p1 < $stuff/xsane-0.995-xdg-open.patch
  778.10 +	sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c
  778.11 +	patch -p1 < $stuff/0165-xsane-0.999-lcms2.patch
  778.12 +	patch -p1 < $stuff/0001-lcms2_configure.patch
  778.13 +	patch -Np1 < $stuff/xsane-preview-selection.patch
  778.14 +
  778.15  	./configure \
  778.16  		--prefix=/usr \
  778.17  		--mandir=/usr/share/man \
   779.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   779.2 +++ b/xsane/stuff/0001-lcms2_configure.patch	Sun Jan 14 08:12:37 2024 +0000
   779.3 @@ -0,0 +1,745 @@
   779.4 +Description: patch confgure becase broken autoreconf
   779.5 +Author: Nils Philippsen <nphilipp@fedoraproject.org>
   779.6 +Last-Update: 2014-10-17
   779.7 +---
   779.8 +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
   779.9 +Index: trunk/configure
  779.10 +===================================================================
  779.11 +--- trunk.orig/configure
  779.12 ++++ trunk/configure
  779.13 +@@ -1,11 +1,9 @@
  779.14 + #! /bin/sh
  779.15 + # Guess values for system-dependent variables and create Makefiles.
  779.16 +-# Generated by GNU Autoconf 2.68.
  779.17 ++# Generated by GNU Autoconf 2.69.
  779.18 + #
  779.19 + #
  779.20 +-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  779.21 +-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  779.22 +-# Foundation, Inc.
  779.23 ++# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  779.24 + #
  779.25 + #
  779.26 + # This configure script is free software; the Free Software Foundation
  779.27 +@@ -134,6 +132,31 @@ export LANGUAGE
  779.28 + # CDPATH.
  779.29 + (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  779.30 + 
  779.31 ++# Use a proper internal environment variable to ensure we don't fall
  779.32 ++  # into an infinite loop, continuously re-executing ourselves.
  779.33 ++  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  779.34 ++    _as_can_reexec=no; export _as_can_reexec;
  779.35 ++    # We cannot yet assume a decent shell, so we have to provide a
  779.36 ++# neutralization value for shells without unset; and this also
  779.37 ++# works around shells that cannot unset nonexistent variables.
  779.38 ++# Preserve -v and -x to the replacement shell.
  779.39 ++BASH_ENV=/dev/null
  779.40 ++ENV=/dev/null
  779.41 ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  779.42 ++case $- in # ((((
  779.43 ++  *v*x* | *x*v* ) as_opts=-vx ;;
  779.44 ++  *v* ) as_opts=-v ;;
  779.45 ++  *x* ) as_opts=-x ;;
  779.46 ++  * ) as_opts= ;;
  779.47 ++esac
  779.48 ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  779.49 ++# Admittedly, this is quite paranoid, since all the known shells bail
  779.50 ++# out after a failed `exec'.
  779.51 ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  779.52 ++as_fn_exit 255
  779.53 ++  fi
  779.54 ++  # We don't want this to propagate to other subprocesses.
  779.55 ++          { _as_can_reexec=; unset _as_can_reexec;}
  779.56 + if test "x$CONFIG_SHELL" = x; then
  779.57 +   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  779.58 +   emulate sh
  779.59 +@@ -167,7 +190,8 @@ if ( set x; as_fn_ret_success y && test
  779.60 + else
  779.61 +   exitcode=1; echo positional parameters were not saved.
  779.62 + fi
  779.63 +-test x\$exitcode = x0 || exit 1"
  779.64 ++test x\$exitcode = x0 || exit 1
  779.65 ++test -x / || exit 1"
  779.66 +   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  779.67 +   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  779.68 +   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  779.69 +@@ -212,6 +236,7 @@ IFS=$as_save_IFS
  779.70 + 
  779.71 + 
  779.72 +       if test "x$CONFIG_SHELL" != x; then :
  779.73 ++  export CONFIG_SHELL
  779.74 +   # We cannot yet assume a decent shell, so we have to provide a
  779.75 + 	# neutralization value for shells without unset; and this also
  779.76 + 	# works around shells that cannot unset nonexistent variables.
  779.77 +@@ -219,14 +244,17 @@ IFS=$as_save_IFS
  779.78 + 	BASH_ENV=/dev/null
  779.79 + 	ENV=/dev/null
  779.80 + 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  779.81 +-	export CONFIG_SHELL
  779.82 + 	case $- in # ((((
  779.83 + 	  *v*x* | *x*v* ) as_opts=-vx ;;
  779.84 + 	  *v* ) as_opts=-v ;;
  779.85 + 	  *x* ) as_opts=-x ;;
  779.86 + 	  * ) as_opts= ;;
  779.87 + 	esac
  779.88 +-	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  779.89 ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  779.90 ++# Admittedly, this is quite paranoid, since all the known shells bail
  779.91 ++# out after a failed `exec'.
  779.92 ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  779.93 ++exit 255
  779.94 + fi
  779.95 + 
  779.96 +     if test x$as_have_required = xno; then :
  779.97 +@@ -328,6 +356,14 @@ $as_echo X"$as_dir" |
  779.98 + 
  779.99 + 
 779.100 + } # as_fn_mkdir_p
 779.101 ++
 779.102 ++# as_fn_executable_p FILE
 779.103 ++# -----------------------
 779.104 ++# Test if FILE is an executable regular file.
 779.105 ++as_fn_executable_p ()
 779.106 ++{
 779.107 ++  test -f "$1" && test -x "$1"
 779.108 ++} # as_fn_executable_p
 779.109 + # as_fn_append VAR VALUE
 779.110 + # ----------------------
 779.111 + # Append the text in VALUE to the end of the definition contained in VAR. Take
 779.112 +@@ -449,6 +485,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
 779.113 +   chmod +x "$as_me.lineno" ||
 779.114 +     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 779.115 + 
 779.116 ++  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 779.117 ++  # already done that, so ensure we don't try to do so again and fall
 779.118 ++  # in an infinite loop.  This has already happened in practice.
 779.119 ++  _as_can_reexec=no; export _as_can_reexec
 779.120 +   # Don't try to exec as it changes $[0], causing all sort of problems
 779.121 +   # (the dirname of $[0] is not the place where we might find the
 779.122 +   # original and so on.  Autoconf is especially sensitive to this).
 779.123 +@@ -483,16 +523,16 @@ if (echo >conf$$.file) 2>/dev/null; then
 779.124 +     # ... but there are two gotchas:
 779.125 +     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 779.126 +     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 779.127 +-    # In both cases, we have to default to `cp -p'.
 779.128 ++    # In both cases, we have to default to `cp -pR'.
 779.129 +     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 779.130 +-      as_ln_s='cp -p'
 779.131 ++      as_ln_s='cp -pR'
 779.132 +   elif ln conf$$.file conf$$ 2>/dev/null; then
 779.133 +     as_ln_s=ln
 779.134 +   else
 779.135 +-    as_ln_s='cp -p'
 779.136 ++    as_ln_s='cp -pR'
 779.137 +   fi
 779.138 + else
 779.139 +-  as_ln_s='cp -p'
 779.140 ++  as_ln_s='cp -pR'
 779.141 + fi
 779.142 + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 779.143 + rmdir conf$$.dir 2>/dev/null
 779.144 +@@ -504,28 +544,8 @@ else
 779.145 +   as_mkdir_p=false
 779.146 + fi
 779.147 + 
 779.148 +-if test -x / >/dev/null 2>&1; then
 779.149 +   as_test_x='test -x'
 779.150 +-else
 779.151 +-  if ls -dL / >/dev/null 2>&1; then
 779.152 +-    as_ls_L_option=L
 779.153 +-  else
 779.154 +-    as_ls_L_option=
 779.155 +-  fi
 779.156 +-  as_test_x='
 779.157 +-    eval sh -c '\''
 779.158 +-      if test -d "$1"; then
 779.159 +-	test -d "$1/.";
 779.160 +-      else
 779.161 +-	case $1 in #(
 779.162 +-	-*)set "./$1";;
 779.163 +-	esac;
 779.164 +-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 779.165 +-	???[sx]*):;;*)false;;esac;fi
 779.166 +-    '\'' sh
 779.167 +-  '
 779.168 +-fi
 779.169 +-as_executable_p=$as_test_x
 779.170 ++as_executable_p=as_fn_executable_p
 779.171 + 
 779.172 + # Sed expression to map a string onto a valid CPP name.
 779.173 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 779.174 +@@ -1192,8 +1212,6 @@ target=$target_alias
 779.175 + if test "x$host_alias" != x; then
 779.176 +   if test "x$build_alias" = x; then
 779.177 +     cross_compiling=maybe
 779.178 +-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 779.179 +-    If a cross compiler is detected then cross compile mode will be used" >&2
 779.180 +   elif test "x$build_alias" != "x$host_alias"; then
 779.181 +     cross_compiling=yes
 779.182 +   fi
 779.183 +@@ -1451,9 +1469,9 @@ test -n "$ac_init_help" && exit $ac_stat
 779.184 + if $ac_init_version; then
 779.185 +   cat <<\_ACEOF
 779.186 + configure
 779.187 +-generated by GNU Autoconf 2.68
 779.188 ++generated by GNU Autoconf 2.69
 779.189 + 
 779.190 +-Copyright (C) 2010 Free Software Foundation, Inc.
 779.191 ++Copyright (C) 2012 Free Software Foundation, Inc.
 779.192 + This configure script is free software; the Free Software Foundation
 779.193 + gives unlimited permission to copy, distribute and modify it.
 779.194 + _ACEOF
 779.195 +@@ -1726,7 +1744,7 @@ $as_echo "$ac_try_echo"; } >&5
 779.196 + 	 test ! -s conftest.err
 779.197 +        } && test -s conftest$ac_exeext && {
 779.198 + 	 test "$cross_compiling" = yes ||
 779.199 +-	 $as_test_x conftest$ac_exeext
 779.200 ++	 test -x conftest$ac_exeext
 779.201 +        }; then :
 779.202 +   ac_retval=0
 779.203 + else
 779.204 +@@ -1870,7 +1888,7 @@ This file contains any messages produced
 779.205 + running configure, to aid debugging if configure makes a mistake.
 779.206 + 
 779.207 + It was created by $as_me, which was
 779.208 +-generated by GNU Autoconf 2.68.  Invocation command line was
 779.209 ++generated by GNU Autoconf 2.69.  Invocation command line was
 779.210 + 
 779.211 +   $ $0 $@
 779.212 + 
 779.213 +@@ -2377,7 +2395,7 @@ do
 779.214 +   IFS=$as_save_IFS
 779.215 +   test -z "$as_dir" && as_dir=.
 779.216 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.217 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.218 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.219 +     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 779.220 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.221 +     break 2
 779.222 +@@ -2417,7 +2435,7 @@ do
 779.223 +   IFS=$as_save_IFS
 779.224 +   test -z "$as_dir" && as_dir=.
 779.225 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.226 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.227 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.228 +     ac_cv_prog_ac_ct_CC="gcc"
 779.229 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.230 +     break 2
 779.231 +@@ -2470,7 +2488,7 @@ do
 779.232 +   IFS=$as_save_IFS
 779.233 +   test -z "$as_dir" && as_dir=.
 779.234 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.235 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.236 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.237 +     ac_cv_prog_CC="${ac_tool_prefix}cc"
 779.238 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.239 +     break 2
 779.240 +@@ -2511,7 +2529,7 @@ do
 779.241 +   IFS=$as_save_IFS
 779.242 +   test -z "$as_dir" && as_dir=.
 779.243 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.244 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.245 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.246 +     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 779.247 +        ac_prog_rejected=yes
 779.248 +        continue
 779.249 +@@ -2569,7 +2587,7 @@ do
 779.250 +   IFS=$as_save_IFS
 779.251 +   test -z "$as_dir" && as_dir=.
 779.252 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.253 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.254 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.255 +     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 779.256 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.257 +     break 2
 779.258 +@@ -2613,7 +2631,7 @@ do
 779.259 +   IFS=$as_save_IFS
 779.260 +   test -z "$as_dir" && as_dir=.
 779.261 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.262 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.263 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.264 +     ac_cv_prog_ac_ct_CC="$ac_prog"
 779.265 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.266 +     break 2
 779.267 +@@ -3059,8 +3077,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 779.268 + /* end confdefs.h.  */
 779.269 + #include <stdarg.h>
 779.270 + #include <stdio.h>
 779.271 +-#include <sys/types.h>
 779.272 +-#include <sys/stat.h>
 779.273 ++struct stat;
 779.274 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 779.275 + struct buf { int x; };
 779.276 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
 779.277 +@@ -3300,7 +3317,7 @@ do
 779.278 +     for ac_prog in grep ggrep; do
 779.279 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.280 +       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 779.281 +-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 779.282 ++      as_fn_executable_p "$ac_path_GREP" || continue
 779.283 + # Check for GNU ac_path_GREP and select it if it is found.
 779.284 +   # Check for GNU $ac_path_GREP
 779.285 + case `"$ac_path_GREP" --version 2>&1` in
 779.286 +@@ -3366,7 +3383,7 @@ do
 779.287 +     for ac_prog in egrep; do
 779.288 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.289 +       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 779.290 +-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 779.291 ++      as_fn_executable_p "$ac_path_EGREP" || continue
 779.292 + # Check for GNU ac_path_EGREP and select it if it is found.
 779.293 +   # Check for GNU $ac_path_EGREP
 779.294 + case `"$ac_path_EGREP" --version 2>&1` in
 779.295 +@@ -3684,7 +3701,7 @@ do
 779.296 +   IFS=$as_save_IFS
 779.297 +   test -z "$as_dir" && as_dir=.
 779.298 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.299 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.300 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.301 +     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 779.302 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.303 +     break 2
 779.304 +@@ -3724,7 +3741,7 @@ do
 779.305 +   IFS=$as_save_IFS
 779.306 +   test -z "$as_dir" && as_dir=.
 779.307 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.308 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.309 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.310 +     ac_cv_prog_ac_ct_CC="gcc"
 779.311 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.312 +     break 2
 779.313 +@@ -3777,7 +3794,7 @@ do
 779.314 +   IFS=$as_save_IFS
 779.315 +   test -z "$as_dir" && as_dir=.
 779.316 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.317 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.318 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.319 +     ac_cv_prog_CC="${ac_tool_prefix}cc"
 779.320 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.321 +     break 2
 779.322 +@@ -3818,7 +3835,7 @@ do
 779.323 +   IFS=$as_save_IFS
 779.324 +   test -z "$as_dir" && as_dir=.
 779.325 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.326 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.327 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.328 +     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 779.329 +        ac_prog_rejected=yes
 779.330 +        continue
 779.331 +@@ -3876,7 +3893,7 @@ do
 779.332 +   IFS=$as_save_IFS
 779.333 +   test -z "$as_dir" && as_dir=.
 779.334 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.335 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.336 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.337 +     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 779.338 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.339 +     break 2
 779.340 +@@ -3920,7 +3937,7 @@ do
 779.341 +   IFS=$as_save_IFS
 779.342 +   test -z "$as_dir" && as_dir=.
 779.343 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.344 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.345 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.346 +     ac_cv_prog_ac_ct_CC="$ac_prog"
 779.347 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.348 +     break 2
 779.349 +@@ -4116,8 +4133,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 779.350 + /* end confdefs.h.  */
 779.351 + #include <stdarg.h>
 779.352 + #include <stdio.h>
 779.353 +-#include <sys/types.h>
 779.354 +-#include <sys/stat.h>
 779.355 ++struct stat;
 779.356 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 779.357 + struct buf { int x; };
 779.358 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
 779.359 +@@ -4271,7 +4287,7 @@ case $as_dir/ in #((
 779.360 +     # by default.
 779.361 +     for ac_prog in ginstall scoinst install; do
 779.362 +       for ac_exec_ext in '' $ac_executable_extensions; do
 779.363 +-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 779.364 ++	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 779.365 + 	  if test $ac_prog = install &&
 779.366 + 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 779.367 + 	    # AIX install.  It has an incompatible calling convention.
 779.368 +@@ -4732,11 +4748,11 @@ else
 779.369 + int
 779.370 + main ()
 779.371 + {
 779.372 +-/* FIXME: Include the comments suggested by Paul. */
 779.373 ++
 779.374 + #ifndef __cplusplus
 779.375 +-  /* Ultrix mips cc rejects this.  */
 779.376 ++  /* Ultrix mips cc rejects this sort of thing.  */
 779.377 +   typedef int charset[2];
 779.378 +-  const charset cs;
 779.379 ++  const charset cs = { 0, 0 };
 779.380 +   /* SunOS 4.1.1 cc rejects this.  */
 779.381 +   char const *const *pcpcc;
 779.382 +   char **ppc;
 779.383 +@@ -4753,8 +4769,9 @@ main ()
 779.384 +   ++pcpcc;
 779.385 +   ppc = (char**) pcpcc;
 779.386 +   pcpcc = (char const *const *) ppc;
 779.387 +-  { /* SCO 3.2v4 cc rejects this.  */
 779.388 +-    char *t;
 779.389 ++  { /* SCO 3.2v4 cc rejects this sort of thing.  */
 779.390 ++    char tx;
 779.391 ++    char *t = &tx;
 779.392 +     char const *s = 0 ? (char *) 0 : (char const *) 0;
 779.393 + 
 779.394 +     *t++ = 0;
 779.395 +@@ -4770,10 +4787,10 @@ main ()
 779.396 +     iptr p = 0;
 779.397 +     ++p;
 779.398 +   }
 779.399 +-  { /* AIX XL C 1.02.0.0 rejects this saying
 779.400 ++  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
 779.401 +        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 779.402 +-    struct s { int j; const int *ap[3]; };
 779.403 +-    struct s *b; b->j = 5;
 779.404 ++    struct s { int j; const int *ap[3]; } bx;
 779.405 ++    struct s *b = &bx; b->j = 5;
 779.406 +   }
 779.407 +   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 779.408 +     const int foo = 10;
 779.409 +@@ -5132,13 +5149,12 @@ fi
 779.410 + fi
 779.411 + 
 779.412 + if test "${USE_LCMS}" = "yes"; then
 779.413 +-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
 779.414 +-$as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
 779.415 +-if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
 779.416 ++  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cmsOpenProfileFromFile" >&5
 779.417 ++$as_echo_n "checking for library containing cmsOpenProfileFromFile... " >&6; }
 779.418 ++if ${ac_cv_search_cmsOpenProfileFromFile+:} false; then :
 779.419 +   $as_echo_n "(cached) " >&6
 779.420 + else
 779.421 +-  ac_check_lib_save_LIBS=$LIBS
 779.422 +-LIBS="-llcms  $LIBS"
 779.423 ++  ac_func_search_save_LIBS=$LIBS
 779.424 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 779.425 + /* end confdefs.h.  */
 779.426 + 
 779.427 +@@ -5157,26 +5173,54 @@ return cmsOpenProfileFromFile ();
 779.428 +   return 0;
 779.429 + }
 779.430 + _ACEOF
 779.431 +-if ac_fn_c_try_link "$LINENO"; then :
 779.432 +-  ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
 779.433 ++for ac_lib in '' lcms2 lcms; do
 779.434 ++  if test -z "$ac_lib"; then
 779.435 ++    ac_res="none required"
 779.436 + else
 779.437 +-  ac_cv_lib_lcms_cmsOpenProfileFromFile=no
 779.438 ++    ac_res=-l$ac_lib
 779.439 ++    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 779.440 ++  fi
 779.441 ++  if ac_fn_c_try_link "$LINENO"; then :
 779.442 ++  ac_cv_search_cmsOpenProfileFromFile=$ac_res
 779.443 + fi
 779.444 + rm -f core conftest.err conftest.$ac_objext \
 779.445 +-    conftest$ac_exeext conftest.$ac_ext
 779.446 +-LIBS=$ac_check_lib_save_LIBS
 779.447 ++    conftest$ac_exeext
 779.448 ++  if ${ac_cv_search_cmsOpenProfileFromFile+:} false; then :
 779.449 ++  break
 779.450 + fi
 779.451 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
 779.452 +-$as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
 779.453 +-if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
 779.454 +-  cat >>confdefs.h <<_ACEOF
 779.455 +-#define HAVE_LIBLCMS 1
 779.456 +-_ACEOF
 779.457 ++done
 779.458 ++if ${ac_cv_search_cmsOpenProfileFromFile+:} false; then :
 779.459 ++
 779.460 ++else
 779.461 ++  ac_cv_search_cmsOpenProfileFromFile=no
 779.462 ++fi
 779.463 ++rm conftest.$ac_ext
 779.464 ++LIBS=$ac_func_search_save_LIBS
 779.465 ++fi
 779.466 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cmsOpenProfileFromFile" >&5
 779.467 ++$as_echo "$ac_cv_search_cmsOpenProfileFromFile" >&6; }
 779.468 ++ac_res=$ac_cv_search_cmsOpenProfileFromFile
 779.469 ++if test "$ac_res" != no; then :
 779.470 ++  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 779.471 + 
 779.472 +-  LIBS="-llcms $LIBS"
 779.473 ++fi
 779.474 ++
 779.475 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" != "no"; then
 779.476 ++
 779.477 ++$as_echo "#define HAVE_LIBLCMS 1" >>confdefs.h
 779.478 + 
 779.479 + fi
 779.480 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms2"; then
 779.481 + 
 779.482 ++$as_echo "#define HAVE_LIBLCMS2 1" >>confdefs.h
 779.483 ++
 779.484 ++  else
 779.485 ++    if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms"; then
 779.486 ++
 779.487 ++$as_echo "#define HAVE_LIBLCMS1 1" >>confdefs.h
 779.488 ++
 779.489 ++fi
 779.490 ++  fi
 779.491 + fi
 779.492 + 
 779.493 + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 779.494 +@@ -5330,23 +5374,20 @@ else
 779.495 + /* end confdefs.h.  */
 779.496 + $ac_includes_default
 779.497 + int
 779.498 +-find_stack_direction ()
 779.499 +-{
 779.500 +-  static char *addr = 0;
 779.501 +-  auto char dummy;
 779.502 +-  if (addr == 0)
 779.503 ++find_stack_direction (int *addr, int depth)
 779.504 +     {
 779.505 ++  int dir, dummy = 0;
 779.506 ++  if (! addr)
 779.507 +       addr = &dummy;
 779.508 +-      return find_stack_direction ();
 779.509 +-    }
 779.510 +-  else
 779.511 +-    return (&dummy > addr) ? 1 : -1;
 779.512 ++  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
 779.513 ++  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
 779.514 ++  return dir + dummy;
 779.515 + }
 779.516 + 
 779.517 + int
 779.518 +-main ()
 779.519 ++main (int argc, char **argv)
 779.520 + {
 779.521 +-  return find_stack_direction () < 0;
 779.522 ++  return find_stack_direction (0, argc + !argv + 20) < 0;
 779.523 + }
 779.524 + _ACEOF
 779.525 + if ac_fn_c_try_run "$LINENO"; then :
 779.526 +@@ -5599,7 +5640,7 @@ do
 779.527 +   IFS=$as_save_IFS
 779.528 +   test -z "$as_dir" && as_dir=.
 779.529 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.530 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.531 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.532 +     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 779.533 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.534 +     break 2
 779.535 +@@ -5639,7 +5680,7 @@ do
 779.536 +   IFS=$as_save_IFS
 779.537 +   test -z "$as_dir" && as_dir=.
 779.538 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.539 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.540 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.541 +     ac_cv_prog_ac_ct_RANLIB="ranlib"
 779.542 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.543 +     break 2
 779.544 +@@ -5971,7 +6012,7 @@ do
 779.545 +   IFS=$as_save_IFS
 779.546 +   test -z "$as_dir" && as_dir=.
 779.547 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.548 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.549 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.550 +     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 779.551 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.552 +     break 2
 779.553 +@@ -6136,7 +6177,7 @@ do
 779.554 +   IFS=$as_save_IFS
 779.555 +   test -z "$as_dir" && as_dir=.
 779.556 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.557 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.558 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.559 +     ac_cv_path_GENCAT="$as_dir/$ac_word$ac_exec_ext"
 779.560 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.561 +     break 2
 779.562 +@@ -6177,7 +6218,7 @@ do
 779.563 +   IFS=$as_save_IFS
 779.564 +   test -z "$as_dir" && as_dir=.
 779.565 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.566 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.567 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.568 +     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 779.569 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.570 +     break 2
 779.571 +@@ -6350,7 +6391,7 @@ do
 779.572 +   IFS=$as_save_IFS
 779.573 +   test -z "$as_dir" && as_dir=.
 779.574 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.575 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.576 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.577 +     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 779.578 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.579 +     break 2
 779.580 +@@ -6574,7 +6615,7 @@ do
 779.581 +   IFS=$as_save_IFS
 779.582 +   test -z "$as_dir" && as_dir=.
 779.583 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.584 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.585 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.586 +     ac_cv_path_SANE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 779.587 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.588 +     break 2
 779.589 +@@ -6795,7 +6836,7 @@ do
 779.590 +   IFS=$as_save_IFS
 779.591 +   test -z "$as_dir" && as_dir=.
 779.592 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.593 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.594 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.595 +     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 779.596 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.597 +     break 2
 779.598 +@@ -7058,7 +7099,7 @@ do
 779.599 +   IFS=$as_save_IFS
 779.600 +   test -z "$as_dir" && as_dir=.
 779.601 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.602 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.603 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.604 +     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 779.605 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.606 +     break 2
 779.607 +@@ -7346,7 +7387,7 @@ do
 779.608 +   IFS=$as_save_IFS
 779.609 +   test -z "$as_dir" && as_dir=.
 779.610 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.611 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.612 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.613 +     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 779.614 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.615 +     break 2
 779.616 +@@ -7616,7 +7657,7 @@ do
 779.617 +   IFS=$as_save_IFS
 779.618 +   test -z "$as_dir" && as_dir=.
 779.619 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.620 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.621 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.622 +     ac_cv_path_GIMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 779.623 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.624 +     break 2
 779.625 +@@ -7670,7 +7711,7 @@ do
 779.626 +   IFS=$as_save_IFS
 779.627 +   test -z "$as_dir" && as_dir=.
 779.628 +     for ac_exec_ext in '' $ac_executable_extensions; do
 779.629 +-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 779.630 ++  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 779.631 +     ac_cv_path_GIMP_TOOL="$as_dir/$ac_word$ac_exec_ext"
 779.632 +     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 779.633 +     break 2
 779.634 +@@ -8496,16 +8537,16 @@ if (echo >conf$$.file) 2>/dev/null; then
 779.635 +     # ... but there are two gotchas:
 779.636 +     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 779.637 +     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 779.638 +-    # In both cases, we have to default to `cp -p'.
 779.639 ++    # In both cases, we have to default to `cp -pR'.
 779.640 +     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 779.641 +-      as_ln_s='cp -p'
 779.642 ++      as_ln_s='cp -pR'
 779.643 +   elif ln conf$$.file conf$$ 2>/dev/null; then
 779.644 +     as_ln_s=ln
 779.645 +   else
 779.646 +-    as_ln_s='cp -p'
 779.647 ++    as_ln_s='cp -pR'
 779.648 +   fi
 779.649 + else
 779.650 +-  as_ln_s='cp -p'
 779.651 ++  as_ln_s='cp -pR'
 779.652 + fi
 779.653 + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 779.654 + rmdir conf$$.dir 2>/dev/null
 779.655 +@@ -8565,28 +8606,16 @@ else
 779.656 +   as_mkdir_p=false
 779.657 + fi
 779.658 + 
 779.659 +-if test -x / >/dev/null 2>&1; then
 779.660 ++
 779.661 ++# as_fn_executable_p FILE
 779.662 ++# -----------------------
 779.663 ++# Test if FILE is an executable regular file.
 779.664 ++as_fn_executable_p ()
 779.665 ++{
 779.666 ++  test -f "$1" && test -x "$1"
 779.667 ++} # as_fn_executable_p
 779.668 +   as_test_x='test -x'
 779.669 +-else
 779.670 +-  if ls -dL / >/dev/null 2>&1; then
 779.671 +-    as_ls_L_option=L
 779.672 +-  else
 779.673 +-    as_ls_L_option=
 779.674 +-  fi
 779.675 +-  as_test_x='
 779.676 +-    eval sh -c '\''
 779.677 +-      if test -d "$1"; then
 779.678 +-	test -d "$1/.";
 779.679 +-      else
 779.680 +-	case $1 in #(
 779.681 +-	-*)set "./$1";;
 779.682 +-	esac;
 779.683 +-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 779.684 +-	???[sx]*):;;*)false;;esac;fi
 779.685 +-    '\'' sh
 779.686 +-  '
 779.687 +-fi
 779.688 +-as_executable_p=$as_test_x
 779.689 ++as_executable_p=as_fn_executable_p
 779.690 + 
 779.691 + # Sed expression to map a string onto a valid CPP name.
 779.692 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 779.693 +@@ -8608,7 +8637,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 779.694 + # values after options handling.
 779.695 + ac_log="
 779.696 + This file was extended by $as_me, which was
 779.697 +-generated by GNU Autoconf 2.68.  Invocation command line was
 779.698 ++generated by GNU Autoconf 2.69.  Invocation command line was
 779.699 + 
 779.700 +   CONFIG_FILES    = $CONFIG_FILES
 779.701 +   CONFIG_HEADERS  = $CONFIG_HEADERS
 779.702 +@@ -8674,10 +8703,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
 779.703 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 779.704 + ac_cs_version="\\
 779.705 + config.status
 779.706 +-configured by $0, generated by GNU Autoconf 2.68,
 779.707 ++configured by $0, generated by GNU Autoconf 2.69,
 779.708 +   with options \\"\$ac_cs_config\\"
 779.709 + 
 779.710 +-Copyright (C) 2010 Free Software Foundation, Inc.
 779.711 ++Copyright (C) 2012 Free Software Foundation, Inc.
 779.712 + This config.status script is free software; the Free Software Foundation
 779.713 + gives unlimited permission to copy, distribute and modify it."
 779.714 + 
 779.715 +@@ -8766,7 +8795,7 @@ fi
 779.716 + _ACEOF
 779.717 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 779.718 + if \$ac_cs_recheck; then
 779.719 +-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 779.720 ++  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 779.721 +   shift
 779.722 +   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 779.723 +   CONFIG_SHELL='$SHELL'
 779.724 +@@ -9463,11 +9492,15 @@ else
 779.725 +   echo "* - PNG  support deactivated                                   *"
 779.726 + fi
 779.727 + 
 779.728 +-if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile}" = "yes"; then
 779.729 +-  echo "* - LCMS (color management) support activated                  *"
 779.730 ++if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms2"; then
 779.731 ++  echo "* - LCMS (color management) support activated (lcms2)          *"
 779.732 ++else
 779.733 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms"; then
 779.734 ++    echo "* - LCMS (color management) support activated (lcms)           *"
 779.735 + else
 779.736 +   echo "* - LCMS (color management) support deactivated                *"
 779.737 + fi
 779.738 ++fi
 779.739 + 
 779.740 + echo "*                                                              *"
 779.741 + echo "****************************************************************"
 779.742 +@@ -9481,4 +9514,4 @@ echo "* --------------------------------
 779.743 + echo "* ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... *"
 779.744 + echo "* ------------------------------------------------------------ *"
 779.745 + echo "****************************************************************"
 779.746 +-cat xsane.NEWS
 779.747 ++cat ${srcdir}/xsane.NEWS
 779.748 +
   780.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   780.2 +++ b/xsane/stuff/0165-xsane-0.999-lcms2.patch	Sun Jan 14 08:12:37 2024 +0000
   780.3 @@ -0,0 +1,370 @@
   780.4 +From 30af0e2edbf061b71bed9536d826894449f0390d Mon Sep 17 00:00:00 2001
   780.5 +From: Nils Philippsen <nils@redhat.com>
   780.6 +Date: Mon, 23 Sep 2013 16:11:31 +0200
   780.7 +Subject: [PATCH] patch: lcms2
   780.8 +
   780.9 +Squashed commit of the following:
  780.10 +
  780.11 +commit f975accf7e1a08438b63580ea848457d373200f5
  780.12 +Author: Nils Philippsen <nils@redhat.com>
  780.13 +Date:   Mon Sep 23 14:53:45 2013 +0200
  780.14 +
  780.15 +    Add support for lcms 2.x.
  780.16 +---
  780.17 + configure.in        | 22 ++++++++++++++----
  780.18 + include/config.h.in |  8 ++++++-
  780.19 + src/xsane-preview.c |  6 +++--
  780.20 + src/xsane-save.c    | 38 ++++++++++++++++++++++++++-----
  780.21 + src/xsane-viewer.c  | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++---
  780.22 + src/xsane.h         |  8 ++++++-
  780.23 + 6 files changed, 130 insertions(+), 17 deletions(-)
  780.24 +
  780.25 +Index: trunk/configure.in
  780.26 +===================================================================
  780.27 +--- trunk.orig/configure.in
  780.28 ++++ trunk/configure.in
  780.29 +@@ -130,7 +130,17 @@ if test "${USE_TIFF}" = "yes"; then
  780.30 + fi
  780.31 + 
  780.32 + if test "${USE_LCMS}" = "yes"; then
  780.33 +-  AC_CHECK_LIB(lcms, cmsOpenProfileFromFile)
  780.34 ++  AC_SEARCH_LIBS(cmsOpenProfileFromFile, [lcms2 lcms])
  780.35 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" != "no"; then
  780.36 ++    AC_DEFINE(HAVE_LIBLCMS, 1, [Define if LCMS is to be used.])
  780.37 ++  fi
  780.38 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms2"; then
  780.39 ++    AC_DEFINE(HAVE_LIBLCMS2, 1, [Define if you have liblcms2.])
  780.40 ++  else
  780.41 ++    if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms"; then
  780.42 ++      AC_DEFINE(HAVE_LIBLCMS1, 1, [Define if you have liblcms.])
  780.43 ++    fi
  780.44 ++  fi
  780.45 + fi
  780.46 + 
  780.47 + dnl Checks for library functions.
  780.48 +@@ -294,10 +304,14 @@ else
  780.49 +   echo "* - PNG  support deactivated                                   *"
  780.50 + fi
  780.51 + 
  780.52 +-if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile}" = "yes"; then
  780.53 +-  echo "* - LCMS (color management) support activated                  *"
  780.54 ++if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms2"; then
  780.55 ++  echo "* - LCMS (color management) support activated (lcms2)          *"
  780.56 + else
  780.57 +-  echo "* - LCMS (color management) support deactivated                *"
  780.58 ++  if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms"; then
  780.59 ++    echo "* - LCMS (color management) support activated (lcms)           *"
  780.60 ++  else
  780.61 ++    echo "* - LCMS (color management) support deactivated                *"
  780.62 ++  fi
  780.63 + fi
  780.64 + 
  780.65 + echo "*                                                              *"
  780.66 +Index: trunk/include/config.h.in
  780.67 +===================================================================
  780.68 +--- trunk.orig/include/config.h.in
  780.69 ++++ trunk/include/config.h.in
  780.70 +@@ -290,9 +290,15 @@
  780.71 + /* Define if you have libtiff.  */
  780.72 + #undef HAVE_LIBTIFF
  780.73 + 
  780.74 +-/* Define if you have liblcms.  */
  780.75 ++/* Define if LCMS is to be used. */
  780.76 + #undef HAVE_LIBLCMS
  780.77 + 
  780.78 ++/* Define if you have liblcms. */
  780.79 ++#undef HAVE_LIBLCMS1
  780.80 ++
  780.81 ++/* Define if you have liblcms2. */
  780.82 ++#undef HAVE_LIBLCMS2
  780.83 ++
  780.84 + #ifndef HAVE_STRNCASECMP
  780.85 +   /* OS/2 needs this */
  780.86 + # define strncasecmp(a, b, c) strnicmp(a, b, c)
  780.87 +Index: trunk/src/xsane-preview.c
  780.88 +===================================================================
  780.89 +--- trunk.orig/src/xsane-preview.c
  780.90 ++++ trunk/src/xsane-preview.c
  780.91 +@@ -6346,8 +6346,8 @@ int preview_do_color_correction(Preview
  780.92 +  cmsHPROFILE hOutProfile = NULL;
  780.93 +  cmsHPROFILE hProofProfile = NULL;
  780.94 +  cmsHTRANSFORM hTransform = NULL;
  780.95 +- DWORD input_format, output_format;
  780.96 +- DWORD cms_flags = 0;
  780.97 ++ cmsUInt32Number input_format, output_format;
  780.98 ++ cmsUInt32Number cms_flags = 0;
  780.99 +  int proof = 0;
 780.100 +  char *cms_proof_icm_profile = NULL;
 780.101 +  int linesize = 0;
 780.102 +@@ -6355,7 +6355,9 @@ int preview_do_color_correction(Preview
 780.103 + 
 780.104 +   DBG(DBG_proc, "preview_do_color_correction\n");
 780.105 + 
 780.106 ++#ifdef HAVE_LIBLCMS1
 780.107 +   cmsErrorAction(LCMS_ERROR_SHOW);
 780.108 ++#endif
 780.109 + 
 780.110 +   if (preferences.cms_bpc)
 780.111 +   {
 780.112 +Index: trunk/src/xsane-save.c
 780.113 +===================================================================
 780.114 +--- trunk.orig/src/xsane-save.c
 780.115 ++++ trunk/src/xsane-save.c
 780.116 +@@ -832,9 +832,9 @@ cmsHTRANSFORM xsane_create_cms_transform
 780.117 +  cmsHPROFILE hInProfile = NULL;
 780.118 +  cmsHPROFILE hOutProfile = NULL;
 780.119 +  cmsHTRANSFORM hTransform = NULL;
 780.120 +- DWORD cms_input_format;
 780.121 +- DWORD cms_output_format;
 780.122 +- DWORD cms_flags = 0;
 780.123 ++ cmsUInt32Number cms_input_format;
 780.124 ++ cmsUInt32Number cms_output_format;
 780.125 ++ cmsUInt32Number cms_flags = 0;
 780.126 + 
 780.127 +   if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE)
 780.128 +   {
 780.129 +@@ -843,7 +843,9 @@ cmsHTRANSFORM xsane_create_cms_transform
 780.130 + 
 780.131 +   DBG(DBG_info, "Prepare CMS transform\n");
 780.132 + 
 780.133 ++#ifdef HAVE_LIBLCMS1
 780.134 +   cmsErrorAction(LCMS_ERROR_SHOW);
 780.135 ++#endif
 780.136 + 
 780.137 +   if (cms_bpc)
 780.138 +   {
 780.139 +@@ -890,10 +892,18 @@ cmsHTRANSFORM xsane_create_cms_transform
 780.140 +     if (image_info->channels == 1) /* == 1 (grayscale) */
 780.141 +     {
 780.142 + #if 1 /* xxx oli */
 780.143 ++# ifdef HAVE_LIBLCMS2
 780.144 ++     cmsToneCurve *Gamma = cmsBuildGamma(NULL, 2.2);
 780.145 ++# else
 780.146 +      LPGAMMATABLE Gamma = cmsBuildGamma(256, 2.2);
 780.147 ++# endif
 780.148 + 
 780.149 +       hOutProfile = cmsCreateGrayProfile(cmsD50_xyY(), Gamma);
 780.150 ++# ifdef HAVE_LIBLCMS2
 780.151 ++      cmsFreeToneCurve(Gamma);
 780.152 ++# else
 780.153 +       cmsFreeGamma(Gamma);
 780.154 ++# endif
 780.155 + #endif
 780.156 +     }
 780.157 +     else
 780.158 +@@ -2904,7 +2914,11 @@ static int xsane_write_CSA(FILE *outfile
 780.159 +     return -1;
 780.160 +   }
 780.161 + 
 780.162 ++#ifdef HAVE_LIBLCMS2
 780.163 ++  n = cmsGetPostScriptCSA(NULL, hProfile, intent, 0, NULL, 0);
 780.164 ++#else
 780.165 +   n = cmsGetPostScriptCSA(hProfile, intent, NULL, 0);
 780.166 ++#endif
 780.167 +   if (n == 0)
 780.168 +   {
 780.169 +     return -2;
 780.170 +@@ -2916,7 +2930,11 @@ static int xsane_write_CSA(FILE *outfile
 780.171 +     return -3;
 780.172 +   }
 780.173 + 
 780.174 ++#ifdef HAVE_LIBLCMS2
 780.175 ++  cmsGetPostScriptCSA(NULL, hProfile, intent, 0, buffer, n);
 780.176 ++#else
 780.177 +   cmsGetPostScriptCSA(hProfile, intent, buffer, n);
 780.178 ++#endif
 780.179 +   buffer[n] = 0;
 780.180 + 
 780.181 +   fprintf(outfile, "%s", buffer);
 780.182 +@@ -2935,7 +2953,7 @@ static int xsane_write_CRD(FILE *outfile
 780.183 +  cmsHPROFILE hProfile;
 780.184 +  size_t n;
 780.185 +  char* buffer;
 780.186 +- DWORD flags = cmsFLAGS_NODEFAULTRESOURCEDEF;
 780.187 ++ cmsUInt32Number flags = cmsFLAGS_NODEFAULTRESOURCEDEF;
 780.188 + 
 780.189 +   hProfile = cmsOpenProfileFromFile(output_profile, "r");
 780.190 +   if (!hProfile)
 780.191 +@@ -2948,7 +2966,11 @@ static int xsane_write_CRD(FILE *outfile
 780.192 +     flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
 780.193 +   }
 780.194 + 
 780.195 ++#ifdef HAVE_LIBLCMS2
 780.196 ++  n = cmsGetPostScriptCRD(NULL, hProfile, intent, flags, NULL, 0);
 780.197 ++#else
 780.198 +   n = cmsGetPostScriptCRDEx(hProfile, intent, flags, NULL, 0);
 780.199 ++#endif
 780.200 +   if (n == 0)
 780.201 +   {
 780.202 +     return -2;
 780.203 +@@ -2960,7 +2982,11 @@ static int xsane_write_CRD(FILE *outfile
 780.204 +     return -3;
 780.205 +   }
 780.206 + 
 780.207 ++#ifdef HAVE_LIBLCMS2
 780.208 ++  cmsGetPostScriptCRD(NULL, hProfile, intent, flags, buffer, n);
 780.209 ++#else
 780.210 +   cmsGetPostScriptCRDEx(hProfile, intent, flags, buffer, n);
 780.211 ++#endif
 780.212 +   buffer[n] = 0;
 780.213 + 
 780.214 +   fprintf(outfile, "%s", buffer);
 780.215 +@@ -4352,7 +4378,7 @@ static void xsane_jpeg_embed_scanner_icm
 780.216 + {
 780.217 +  FILE *icm_profile;
 780.218 +  size_t size, embed_len;
 780.219 +- LPBYTE embed_buffer;
 780.220 ++ cmsUInt8Number *embed_buffer;
 780.221 + 
 780.222 +   DBG(DBG_proc, "xsane_jpeg_embed_scanner_icm_profile(%s)\n", icm_filename);
 780.223 + 
 780.224 +@@ -4366,7 +4392,7 @@ static void xsane_jpeg_embed_scanner_icm
 780.225 +   size = ftell(icm_profile);
 780.226 +   fseek(icm_profile, 0, SEEK_SET);
 780.227 + 
 780.228 +-  embed_buffer = (LPBYTE) malloc(size + 1);
 780.229 ++  embed_buffer = (cmsUInt8Number *) malloc(size + 1);
 780.230 +   if (embed_buffer)
 780.231 +   {
 780.232 +     embed_len = fread(embed_buffer, 1, size, icm_profile);
 780.233 +Index: trunk/src/xsane-viewer.c
 780.234 +===================================================================
 780.235 +--- trunk.orig/src/xsane-viewer.c
 780.236 ++++ trunk/src/xsane-viewer.c
 780.237 +@@ -1795,6 +1795,9 @@ static void xsane_viewer_set_cms_gamut_a
 780.238 + {
 780.239 +  Viewer *v = (Viewer *) data;
 780.240 +  int val;
 780.241 ++#ifdef HAVE_LIBLCMS2
 780.242 ++ cmsUInt16Number alarm_codes[cmsMAXCHANNELS];
 780.243 ++#endif
 780.244 + 
 780.245 +   g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v);
 780.246 +   g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v);
 780.247 +@@ -1811,6 +1814,49 @@ static void xsane_viewer_set_cms_gamut_a
 780.248 +   v->cms_gamut_alarm_color = val;
 780.249 +   gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_gamut_alarm_color_widget[v->cms_gamut_alarm_color]), TRUE);
 780.250 + 
 780.251 ++#ifdef HAVE_LIBLCMS2
 780.252 ++  switch(v->cms_gamut_alarm_color)
 780.253 ++  {
 780.254 ++    default:
 780.255 ++    case 0: /* black */
 780.256 ++      alarm_codes[0] = (cmsUInt16Number) 0;
 780.257 ++      alarm_codes[1] = (cmsUInt16Number) 0;
 780.258 ++      alarm_codes[2] = (cmsUInt16Number) 0;
 780.259 ++     break;
 780.260 ++
 780.261 ++    case 1: /* gray */
 780.262 ++      alarm_codes[0] = (cmsUInt16Number) 128;
 780.263 ++      alarm_codes[1] = (cmsUInt16Number) 128;
 780.264 ++      alarm_codes[2] = (cmsUInt16Number) 128;
 780.265 ++     break;
 780.266 ++
 780.267 ++    case 2: /* white */
 780.268 ++      alarm_codes[0] = (cmsUInt16Number) 255;
 780.269 ++      alarm_codes[1] = (cmsUInt16Number) 255;
 780.270 ++      alarm_codes[2] = (cmsUInt16Number) 255;
 780.271 ++     break;
 780.272 ++
 780.273 ++    case 3: /* red */
 780.274 ++      alarm_codes[0] = (cmsUInt16Number) 255;
 780.275 ++      alarm_codes[1] = (cmsUInt16Number) 0;
 780.276 ++      alarm_codes[2] = (cmsUInt16Number) 0;
 780.277 ++     break;
 780.278 ++
 780.279 ++    case 4: /* green */
 780.280 ++      alarm_codes[0] = (cmsUInt16Number) 0;
 780.281 ++      alarm_codes[1] = (cmsUInt16Number) 255;
 780.282 ++      alarm_codes[2] = (cmsUInt16Number) 0;
 780.283 ++     break;
 780.284 ++
 780.285 ++    case 5: /* blue */
 780.286 ++      alarm_codes[0] = (cmsUInt16Number) 0;
 780.287 ++      alarm_codes[1] = (cmsUInt16Number) 0;
 780.288 ++      alarm_codes[2] = (cmsUInt16Number) 255;
 780.289 ++     break;
 780.290 ++  }
 780.291 ++
 780.292 ++  cmsSetAlarmCodes(alarm_codes);
 780.293 ++#else
 780.294 +   switch(v->cms_gamut_alarm_color)
 780.295 +   {
 780.296 +     default:
 780.297 +@@ -1838,6 +1884,7 @@ static void xsane_viewer_set_cms_gamut_a
 780.298 +       cmsSetAlarmCodes(0, 0, 255);
 780.299 +      break;
 780.300 +   }
 780.301 ++#endif
 780.302 + 
 780.303 +   g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v);
 780.304 +   g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v);
 780.305 +@@ -2172,9 +2219,9 @@ static int xsane_viewer_read_image(Viewe
 780.306 +  cmsHTRANSFORM hTransform = NULL;
 780.307 +  int proof = 0;
 780.308 +  char *cms_proof_icm_profile = NULL;
 780.309 +- DWORD cms_input_format;
 780.310 +- DWORD cms_output_format;
 780.311 +- DWORD cms_flags = 0;
 780.312 ++ cmsUInt32Number cms_input_format;
 780.313 ++ cmsUInt32Number cms_output_format;
 780.314 ++ cmsUInt32Number cms_flags = 0;
 780.315 + #endif
 780.316 + 
 780.317 +   /* open imagefile */
 780.318 +@@ -2203,7 +2250,9 @@ static int xsane_viewer_read_image(Viewe
 780.319 + 
 780.320 +   if ((v->enable_color_management) && (v->cms_enable))
 780.321 +   {
 780.322 ++#ifdef HAVE_LIBLCMS1
 780.323 +     cmsErrorAction(LCMS_ERROR_SHOW);
 780.324 ++#endif
 780.325 + 
 780.326 +     if (v->cms_bpc)
 780.327 +     {
 780.328 +@@ -2801,6 +2850,9 @@ Viewer *xsane_viewer_new(char *filename,
 780.329 +  GtkWidget *scrolled_window;
 780.330 +  GtkWidget *zoom_option_menu, *zoom_menu, *zoom_menu_item;
 780.331 +  int i, selection;
 780.332 ++#ifdef HAVE_LIBLCMS2
 780.333 ++ cmsUInt16Number alarm_codes[cmsMAXCHANNELS];
 780.334 ++#endif
 780.335 + 
 780.336 +   DBG(DBG_proc, "viewer_new(%s)\n", filename);
 780.337 + 
 780.338 +@@ -2830,8 +2882,15 @@ Viewer *xsane_viewer_new(char *filename,
 780.339 +   v->cms_proofing_intent = INTENT_ABSOLUTE_COLORIMETRIC;
 780.340 +   v->cms_gamut_check = 0;
 780.341 +   v->cms_gamut_alarm_color = 3; /* red */
 780.342 ++#ifdef HAVE_LIBLCMS2
 780.343 ++  alarm_codes[0] = (cmsUInt16Number) 255;
 780.344 ++  alarm_codes[1] = (cmsUInt16Number) 0;
 780.345 ++  alarm_codes[2] = (cmsUInt16Number) 0;
 780.346 ++  cmsSetAlarmCodes(alarm_codes);
 780.347 ++#else
 780.348 +   cmsSetAlarmCodes(255, 0, 0);
 780.349 + #endif
 780.350 ++#endif
 780.351 +   if (selection_filetype)
 780.352 +   {
 780.353 +     v->selection_filetype = strdup(selection_filetype);
 780.354 +Index: trunk/src/xsane.h
 780.355 +===================================================================
 780.356 +--- trunk.orig/src/xsane.h
 780.357 ++++ trunk/src/xsane.h
 780.358 +@@ -70,7 +70,13 @@
 780.359 + #include <gtk/gtk.h>
 780.360 + 
 780.361 + #ifdef HAVE_LIBLCMS
 780.362 +-# include "lcms.h"
 780.363 ++# ifdef HAVE_LIBLCMS2
 780.364 ++#  include "lcms2.h"
 780.365 ++# else
 780.366 ++#  include "lcms.h"
 780.367 ++typedef BYTE cmsUInt8Number;
 780.368 ++typedef DWORD cmsUInt32Number;
 780.369 ++# endif
 780.370 + #else
 780.371 + # define cmsHTRANSFORM void *
 780.372 + #endif
 780.373 +
   781.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   781.2 +++ b/xsane/stuff/xsane-0.995-xdg-open.patch	Sun Jan 14 08:12:37 2024 +0000
   781.3 @@ -0,0 +1,13 @@
   781.4 +diff -up xsane-0.995/src/xsane.h.xdg-open xsane-0.995/src/xsane.h
   781.5 +--- xsane-0.995/src/xsane.h.xdg-open	2007-08-13 09:20:32.000000000 +0200
   781.6 ++++ xsane-0.995/src/xsane.h	2007-11-23 11:50:49.000000000 +0100
   781.7 +@@ -251,7 +251,7 @@
   781.8 + # elif defined(HAVE_OS2_H)
   781.9 + #  define DEFAULT_BROWSER "netscape"
  781.10 + # else
  781.11 +-#  define DEFAULT_BROWSER "netscape"
  781.12 ++#  define DEFAULT_BROWSER "xdg-open"
  781.13 + # endif
  781.14 + #endif
  781.15 + 
  781.16 +
   782.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   782.2 +++ b/xsane/stuff/xsane-preview-selection.patch	Sun Jan 14 08:12:37 2024 +0000
   782.3 @@ -0,0 +1,99 @@
   782.4 +commit e7c03a6de0c76256810b6340e0a954e88c3448e9
   782.5 +Author: Reinhard Fössmeier <info@ais-sanmarino.org>
   782.6 +Date:   Wed May 12 20:23:18 2010 +0200
   782.7 +
   782.8 +    fixed a problem in mouse event processing
   782.9 +
  782.10 +    Fixed a problem in mouse event processing that interfered with selecting
  782.11 +    the scan rectangle in the preview window.
  782.12 +---
  782.13 + src/xsane-preview.c | 9 ++++-----
  782.14 + 1 file changed, 4 insertions(+), 5 deletions(-)
  782.15 +
  782.16 +diff --git a/src/xsane-preview.c b/src/xsane-preview.c
  782.17 +index f089dd1..264c775 100644
  782.18 +--- a/src/xsane-preview.c
  782.19 ++++ b/src/xsane-preview.c
  782.20 +@@ -80,7 +80,6 @@
  782.21 + #include "xsane-preview.h"
  782.22 + #include "xsane-preferences.h"
  782.23 + #include "xsane-gamma.h"
  782.24 +-#include <gdk/gdkkeysyms.h>
  782.25 + 
  782.26 + 
  782.27 + #ifndef PATH_MAX
  782.28 +@@ -3023,9 +3022,9 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo
  782.29 +     preview_display_color_components(p, event->motion.x, event->motion.y);
  782.30 + 
  782.31 +     switch (((GdkEventMotion *)event)->state &
  782.32 +-            GDK_Num_Lock & GDK_Caps_Lock & GDK_Shift_Lock & GDK_Scroll_Lock) /* mask all Locks */
  782.33 ++            (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK)) /* only check for mouse buttons */
  782.34 +     {
  782.35 +-      case 256: /* left button */
  782.36 ++      case GDK_BUTTON1_MASK: /* left button */
  782.37 + 
  782.38 +         DBG(DBG_info2, "left button\n");
  782.39 + 
  782.40 +@@ -3292,8 +3291,8 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo
  782.41 +         }
  782.42 +        break;
  782.43 + 
  782.44 +-      case 512: /* middle button */
  782.45 +-      case 1024: /* right button */
  782.46 ++      case GDK_BUTTON2_MASK: /* middle button */
  782.47 ++      case GDK_BUTTON3_MASK: /* right button */
  782.48 +         DBG(DBG_info2, "middle or right button\n");
  782.49 + 
  782.50 +         if (p->selection_drag)
  782.51 +-- 
  782.52 +1.7.11.4
  782.53 +
  782.54 +commit e7c03a6de0c76256810b6340e0a954e88c3448e9
  782.55 +Author: Reinhard Fössmeier <info@ais-sanmarino.org>
  782.56 +Date:   Wed May 12 20:23:18 2010 +0200
  782.57 +
  782.58 +    fixed a problem in mouse event processing
  782.59 +
  782.60 +    Fixed a problem in mouse event processing that interfered with selecting
  782.61 +    the scan rectangle in the preview window.
  782.62 +---
  782.63 + src/xsane-preview.c | 9 ++++-----
  782.64 + 1 file changed, 4 insertions(+), 5 deletions(-)
  782.65 +
  782.66 +diff --git a/src/xsane-preview.c b/src/xsane-preview.c
  782.67 +index f089dd1..264c775 100644
  782.68 +--- a/src/xsane-preview.c
  782.69 ++++ b/src/xsane-preview.c
  782.70 +@@ -80,7 +80,6 @@
  782.71 + #include "xsane-preview.h"
  782.72 + #include "xsane-preferences.h"
  782.73 + #include "xsane-gamma.h"
  782.74 +-#include <gdk/gdkkeysyms.h>
  782.75 + 
  782.76 + 
  782.77 + #ifndef PATH_MAX
  782.78 +@@ -3023,9 +3022,9 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo
  782.79 +     preview_display_color_components(p, event->motion.x, event->motion.y);
  782.80 + 
  782.81 +     switch (((GdkEventMotion *)event)->state &
  782.82 +-            GDK_Num_Lock & GDK_Caps_Lock & GDK_Shift_Lock & GDK_Scroll_Lock) /* mask all Locks */
  782.83 ++            (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK)) /* only check for mouse buttons */
  782.84 +     {
  782.85 +-      case 256: /* left button */
  782.86 ++      case GDK_BUTTON1_MASK: /* left button */
  782.87 + 
  782.88 +         DBG(DBG_info2, "left button\n");
  782.89 + 
  782.90 +@@ -3292,8 +3291,8 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo
  782.91 +         }
  782.92 +        break;
  782.93 + 
  782.94 +-      case 512: /* middle button */
  782.95 +-      case 1024: /* right button */
  782.96 ++      case GDK_BUTTON2_MASK: /* middle button */
  782.97 ++      case GDK_BUTTON3_MASK: /* right button */
  782.98 +         DBG(DBG_info2, "middle or right button\n");
  782.99 + 
 782.100 +         if (p->selection_drag)
 782.101 +-- 
 782.102 +1.7.11.4
   783.1 --- a/xscreensaver/receipt	Mon Oct 16 18:37:14 2023 +0000
   783.2 +++ b/xscreensaver/receipt	Sun Jan 14 08:12:37 2024 +0000
   783.3 @@ -1,7 +1,7 @@
   783.4  # SliTaz package receipt.
   783.5  
   783.6  PACKAGE="xscreensaver"
   783.7 -VERSION="5.44"
   783.8 +VERSION="5.45"
   783.9  CATEGORY="x-window"
  783.10  SHORT_DESC="A collection of free screen savers."
  783.11  MAINTAINER="al.bobylev@gmail.com"
  783.12 @@ -11,12 +11,12 @@
  783.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
  783.14  WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL"
  783.15  
  783.16 -DEPENDS=""
  783.17 -BUILD_DEPENDS="bc gdk-pixbuf-dev gtk+-dev jpeg-dev libglade-dev 
  783.18 -	libxml2-dev mesa-dev xorg-libX11-dev xorg-libXext-dev 
  783.19 -	xorg-libXi-dev xorg-libXinerama-dev xorg-libXmu-dev 
  783.20 -	xorg-libXpm-dev xorg-libXrandr-dev xorg-libXt-dev 
  783.21 -	xorg-libXxf86vm-dev"
  783.22 +DEPENDS="gdk-pixbuf-xlib"
  783.23 +BUILD_DEPENDS="bc gdk-pixbuf-dev gdk-pixbuf-xlib-dev gtk+-dev
  783.24 +	jpeg-dev libglade-dev libxml2-dev mesa-dev
  783.25 +	xorg-libX11-dev xorg-libXext-dev xorg-libXi-dev
  783.26 +	xorg-libXinerama-dev xorg-libXmu-dev xorg-libXpm-dev
  783.27 +	xorg-libXrandr-dev xorg-libXt-dev xorg-libXxf86vm-dev"
  783.28  
  783.29  # What is the latest version available today?
  783.30  current_version()
  783.31 @@ -28,11 +28,25 @@
  783.32  # Rules to configure and make the package.
  783.33  compile_rules()
  783.34  {
  783.35 -	export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0 gdk-pixbuf-xlib-2.0 gl)"
  783.36 +	#export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0 gdk-pixbuf-xlib-2.0 gl)"
  783.37  
  783.38 -	./configure $CONFIGURE_ARGS &&
  783.39 +	export CFLAGS="$CFLAGS -std=gnu89"
  783.40 +
  783.41 +	# Drop popup about version is old
  783.42 +	patch -p1 < $stuff/xscreensaver.no.expiration.date.diff
  783.43 +	# Patch for shadow
  783.44 +	patch -p1 < $stuff/xscreensaver.setuid.diff
  783.45 +
  783.46 +	./configure        \
  783.47 +	    --with-shadow  \
  783.48 +	    --with-jpeg    \
  783.49 +	    --with-gl 	   \
  783.50 +	$CONFIGURE_ARGS &&
  783.51  	make && 
  783.52  	make install_prefix=$DESTDIR install
  783.53 +
  783.54 +	# Need for password unlock
  783.55 +	chmod 2751 $install/usr/bin/xscreensaver
  783.56  }
  783.57  
  783.58  # Rules to gen a SliTaz package suitable for Tazpkg.
   784.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   784.2 +++ b/xscreensaver/stuff/xscreensaver.no.expiration.date.diff	Sun Jan 14 08:12:37 2024 +0000
   784.3 @@ -0,0 +1,30 @@
   784.4 +--- ./driver/prefs.c.orig	2018-04-09 20:21:20.000000000 -0500
   784.5 ++++ ./driver/prefs.c	2018-04-13 13:38:47.859002138 -0500
   784.6 +@@ -1734,6 +1734,17 @@
   784.7 +      shipping the last version with the old license and then never
   784.8 +      upgrading it again -- which would be the worst possible outcome for
   784.9 +      everyone involved, most especially the users.
  784.10 ++
  784.11 ++     ---
  784.12 ++
  784.13 ++     NOTE:  This feature is disabled by Slackware...  we do not ship multi-year
  784.14 ++     old versions, nor do we think it is a good idea to include nag screens
  784.15 ++     that activate when an expiration date is reached.  In this case, the
  784.16 ++     nag screen was activated after only one year, which practically insures
  784.17 ++     that this will be seen before the next stable Slackware release.
  784.18 ++     If there's a problem that needs fixing, we'll issue a fix.
  784.19 ++     No nag screens please.  Thanks for possibly reconsidering this!
  784.20 ++
  784.21 +   */
  784.22 + 
  784.23 +   time_t now = time ((time_t *) 0);				/*   d   */
  784.24 +@@ -1766,5 +1777,8 @@
  784.25 +   mrnths = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) -	/*   h   */
  784.26 +             (y * 12 + m));					/*   h   */
  784.27 + 							  	/*   p   */
  784.28 +-  return (mrnths >= 17);					/*   .   */
  784.29 ++  /* Disable date checking for Slackware: */			/*  \■/  */
  784.30 ++  /* return (mrnths >= 17); */					/*   .   */
  784.31 ++  return ( 0 );
  784.32 ++
  784.33 + }
   785.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   785.2 +++ b/xscreensaver/stuff/xscreensaver.setuid.diff	Sun Jan 14 08:12:37 2024 +0000
   785.3 @@ -0,0 +1,179 @@
   785.4 +--- ./driver/setuid.c.orig	2006-02-08 20:28:38.000000000 -0600
   785.5 ++++ ./driver/setuid.c	2006-04-04 16:48:08.000000000 -0500
   785.6 +@@ -1,5 +1,5 @@
   785.7 + /* setuid.c --- management of runtime privileges.
   785.8 +- * xscreensaver, Copyright (c) 1993-1998, 2005 Jamie Zawinski <jwz@jwz.org>
   785.9 ++ * xscreensaver, Copyright (c) 1993-1998 Jamie Zawinski <jwz@jwz.org>
  785.10 +  *
  785.11 +  * Permission to use, copy, modify, distribute, and sell this software and its
  785.12 +  * documentation for any purpose is hereby granted without fee, provided that
  785.13 +@@ -41,7 +41,7 @@
  785.14 +   struct group *g = 0;
  785.15 +   p = getpwuid (uid);
  785.16 +   g = getgrgid (gid);
  785.17 +-  sprintf (buf, "%.100s/%.100s (%ld/%ld)",
  785.18 ++  sprintf (buf, "%s/%s (%ld/%ld)",
  785.19 + 	   (p && p->pw_name ? p->pw_name : "???"),
  785.20 + 	   (g && g->gr_name ? g->gr_name : "???"),
  785.21 + 	   (long) uid, (long) gid);
  785.22 +@@ -74,50 +74,11 @@
  785.23 + }
  785.24 + 
  785.25 + 
  785.26 +-/* Returns true if we need to call setgroups().
  785.27 +-
  785.28 +-   Without calling setgroups(), the process will retain any supplementary
  785.29 +-   gids associated with the uid, e.g.:
  785.30 +-
  785.31 +-       % groups root
  785.32 +-       root : root bin daemon sys adm disk wheel
  785.33 +-
  785.34 +-   However, setgroups() can only be called by root, and returns EPERM
  785.35 +-   for other users even if the call would be a no-op (e.g., setting the
  785.36 +-   group list to the current list.)  So, to avoid that spurious error,
  785.37 +-   before calling setgroups() we first check whether the current list
  785.38 +-   of groups contains only one element, our target group.  If so, we
  785.39 +-   don't need to call setgroups().
  785.40 +- */
  785.41 +-static int
  785.42 +-setgroups_needed_p (uid_t target_group)
  785.43 +-{
  785.44 +-  gid_t groups[1024];
  785.45 +-  int n, size;
  785.46 +-  size = sizeof(groups) / sizeof(gid_t);
  785.47 +-  n = getgroups (size - 1, groups);
  785.48 +-  if (n < 0)
  785.49 +-    {
  785.50 +-      char buf [1024];
  785.51 +-      sprintf (buf, "%s: getgroups(%ld, ...)", blurb(), (long int)(size - 1));
  785.52 +-      perror (buf);
  785.53 +-      return 1;
  785.54 +-    }
  785.55 +-  else if (n == 0)            /* an empty list means only egid is in effect. */
  785.56 +-    return 0;
  785.57 +-  else if (n == 1 && groups[0] == target_group)   /* one element, the target */
  785.58 +-    return 0;
  785.59 +-  else                        /* more than one, or the wrong one. */
  785.60 +-    return 1;
  785.61 +-}
  785.62 +-
  785.63 +-
  785.64 + static int
  785.65 + set_ids_by_number (uid_t uid, gid_t gid, char **message_ret)
  785.66 + {
  785.67 +   int uid_errno = 0;
  785.68 +   int gid_errno = 0;
  785.69 +-  int sgs_errno = 0;
  785.70 +   struct passwd *p = getpwuid (uid);
  785.71 +   struct group  *g = getgrgid (gid);
  785.72 + 
  785.73 +@@ -136,11 +97,6 @@
  785.74 +   if (uid == (uid_t) -1) uid = (uid_t) -2;
  785.75 + 
  785.76 +   errno = 0;
  785.77 +-  if (setgroups_needed_p (gid) &&
  785.78 +-      setgroups (1, &gid) < 0)
  785.79 +-    sgs_errno = errno ? errno : -1;
  785.80 +-
  785.81 +-  errno = 0;
  785.82 +   if (setgid (gid) != 0)
  785.83 +     gid_errno = errno ? errno : -1;
  785.84 + 
  785.85 +@@ -148,10 +104,10 @@
  785.86 +   if (setuid (uid) != 0)
  785.87 +     uid_errno = errno ? errno : -1;
  785.88 + 
  785.89 +-  if (uid_errno == 0 && gid_errno == 0 && sgs_errno == 0)
  785.90 ++  if (uid_errno == 0 && gid_errno == 0)
  785.91 +     {
  785.92 +       static char buf [1024];
  785.93 +-      sprintf (buf, "changed uid/gid to %.100s/%.100s (%ld/%ld).",
  785.94 ++      sprintf (buf, "changed uid/gid to %s/%s (%ld/%ld).",
  785.95 + 	       (p && p->pw_name ? p->pw_name : "???"),
  785.96 +                (g && g->gr_name ? g->gr_name : "???"),
  785.97 + 	       (long) uid, (long) gid);
  785.98 +@@ -162,71 +118,28 @@
  785.99 +   else
 785.100 +     {
 785.101 +       char buf [1024];
 785.102 +-      gid_t groups[1024];
 785.103 +-      int n, size;
 785.104 +-
 785.105 +-      if (sgs_errno)
 785.106 +-	{
 785.107 +-	  sprintf (buf, "%s: couldn't setgroups to %.100s (%ld)",
 785.108 +-		   blurb(),
 785.109 +-		   (g && g->gr_name ? g->gr_name : "???"),
 785.110 +-		   (long) gid);
 785.111 +-	  if (sgs_errno == -1)
 785.112 +-	    fprintf(stderr, "%s: unknown error\n", buf);
 785.113 +-	  else
 785.114 +-            {
 785.115 +-              errno = sgs_errno;
 785.116 +-              perror(buf);
 785.117 +-            }
 785.118 +-
 785.119 +-	  fprintf (stderr, "%s: effective group list: ", blurb());
 785.120 +-	  size = sizeof(groups) / sizeof(gid_t);
 785.121 +-          n = getgroups (size - 1, groups);
 785.122 +-          if (n < 0)
 785.123 +-            fprintf (stderr, "unknown!\n");
 785.124 +-          else
 785.125 +-            {
 785.126 +-              int i;
 785.127 +-              fprintf (stderr, "[");
 785.128 +-              for (i = 0; i < n; i++)
 785.129 +-                {
 785.130 +-                  g = getgrgid (groups[i]);
 785.131 +-                  if (i > 0) fprintf (stderr, ", ");
 785.132 +-                  if (g && g->gr_name) fprintf (stderr, "%s", g->gr_name);
 785.133 +-                  else fprintf (stderr, "%ld", (long) groups[i]);
 785.134 +-                }
 785.135 +-              fprintf (stderr, "]\n");
 785.136 +-            }
 785.137 +-        }
 785.138 +-
 785.139 +       if (gid_errno)
 785.140 + 	{
 785.141 +-	  sprintf (buf, "%s: couldn't set gid to %.100s (%ld)",
 785.142 ++	  sprintf (buf, "%s: couldn't set gid to %s (%ld)",
 785.143 + 		   blurb(),
 785.144 + 		   (g && g->gr_name ? g->gr_name : "???"),
 785.145 + 		   (long) gid);
 785.146 + 	  if (gid_errno == -1)
 785.147 + 	    fprintf(stderr, "%s: unknown error\n", buf);
 785.148 + 	  else
 785.149 +-            {
 785.150 +-              errno = gid_errno;
 785.151 +-              perror(buf);
 785.152 +-            }
 785.153 ++	    perror(buf);
 785.154 + 	}
 785.155 + 
 785.156 +       if (uid_errno)
 785.157 + 	{
 785.158 +-	  sprintf (buf, "%s: couldn't set uid to %.100s (%ld)",
 785.159 ++	  sprintf (buf, "%s: couldn't set uid to %s (%ld)",
 785.160 + 		   blurb(),
 785.161 + 		   (p && p->pw_name ? p->pw_name : "???"),
 785.162 + 		   (long) uid);
 785.163 + 	  if (uid_errno == -1)
 785.164 + 	    fprintf(stderr, "%s: unknown error\n", buf);
 785.165 + 	  else
 785.166 +-            {
 785.167 +-              errno = uid_errno;
 785.168 +-              perror(buf);
 785.169 +-            }
 785.170 ++	    perror(buf);
 785.171 + 	}
 785.172 + 
 785.173 +       return -1;
 785.174 +@@ -350,7 +263,7 @@
 785.175 + 	!strcmp (p->pw_name, "games"))
 785.176 +       {
 785.177 + 	static char buf [1024];
 785.178 +-	sprintf (buf, "running as %.100s",
 785.179 ++	sprintf (buf, "running as %s",
 785.180 + 		 (p && p->pw_name && *p->pw_name
 785.181 + 		  ? p->pw_name : "<unknown>"));
 785.182 + 	si->nolock_reason = buf;
   786.1 --- a/xterm/receipt	Mon Oct 16 18:37:14 2023 +0000
   786.2 +++ b/xterm/receipt	Sun Jan 14 08:12:37 2024 +0000
   786.3 @@ -1,7 +1,7 @@
   786.4  # SliTaz package receipt.
   786.5  
   786.6  PACKAGE="xterm"
   786.7 -VERSION="356"
   786.8 +VERSION="370"
   786.9  CATEGORY="utilities"
  786.10  TAGS="terminal"
  786.11  SHORT_DESC="X terminal emulator."
   787.1 --- a/xvidcore-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   787.2 +++ b/xvidcore-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   787.3 @@ -17,7 +17,5 @@
   787.4  genpkg_rules()
   787.5  {
   787.6  	mkdir -p $fs/usr/lib
   787.7 -
   787.8 -	cp -a $install/usr/lib/*.a	$fs/usr/lib
   787.9  	cp -a $install/usr/include	$fs/usr
  787.10  }
   788.1 --- a/xxhash-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   788.2 +++ b/xxhash-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   788.3 @@ -1,7 +1,7 @@
   788.4  # SliTaz package receipt.
   788.5  
   788.6  PACKAGE="xxhash-dev"
   788.7 -VERSION="0.8.0"
   788.8 +VERSION="0.8.1"
   788.9  CATEGORY="development"
  788.10  SHORT_DESC="Extremely fast non-cryptographic hash algorithm, development files."
  788.11  MAINTAINER="pascal.bellard@slitaz.org"
   789.1 --- a/xxhash-lib/receipt	Mon Oct 16 18:37:14 2023 +0000
   789.2 +++ b/xxhash-lib/receipt	Sun Jan 14 08:12:37 2024 +0000
   789.3 @@ -1,7 +1,7 @@
   789.4  # SliTaz package receipt.
   789.5  
   789.6  PACKAGE="xxhash-lib"
   789.7 -VERSION="0.8.0"
   789.8 +VERSION="0.8.1"
   789.9  CATEGORY="libs"
  789.10  SHORT_DESC="Extremely fast non-cryptographic hash algorithm, library files."
  789.11  MAINTAINER="pascal.bellard@slitaz.org"
   790.1 --- a/xxhash/receipt	Mon Oct 16 18:37:14 2023 +0000
   790.2 +++ b/xxhash/receipt	Sun Jan 14 08:12:37 2024 +0000
   790.3 @@ -1,7 +1,7 @@
   790.4  # SliTaz package receipt.
   790.5  
   790.6  PACKAGE="xxhash"
   790.7 -VERSION="0.8.0"
   790.8 +VERSION="0.8.1"
   790.9  CATEGORY="misc"
  790.10  SHORT_DESC="Extremely fast non-cryptographic hash algorithm."
  790.11  MAINTAINER="pascal.bellard@slitaz.org"
   791.1 --- a/xz-dev/receipt	Mon Oct 16 18:37:14 2023 +0000
   791.2 +++ b/xz-dev/receipt	Sun Jan 14 08:12:37 2024 +0000
   791.3 @@ -21,6 +21,6 @@
   791.4  	mkdir -p $fs/usr/lib
   791.5  
   791.6  	cp -a $install/usr/include		$fs/usr
   791.7 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
   791.8 +	#cp -a $install/usr/lib/*.*a		$fs/usr/lib
   791.9  	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
  791.10  }