wok-next rev 20018

Add libxkbcommon-wayland, screengrab, wayland-protocols; up compton, dbus, libdbusmenu-qt, libstatgrab, libxkbcommon, lm-sensors, lxterminal, menu-cache, qjson, qlipper, qps, upower, xdg-user-dirs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 04:01:51 2017 +0300 (2017-10-22)
parents 0a09c3bcc46b
children e6d548803bb4
files compton/receipt compton/stuff/autostart/compton.desktop dbus/receipt libdbusmenu-qt-dev/receipt libdbusmenu-qt/receipt libstatgrab/receipt libxkbcommon-dev/receipt libxkbcommon-wayland/receipt libxkbcommon/receipt lm-sensors-dev/receipt lm-sensors/receipt lm-sensors/stuff/healthd lm-sensors/stuff/healthd.conf lm-sensors/stuff/patches/lm_sensors-fancontrol.patch lm-sensors/stuff/patches/series lm-sensors/stuff/sensord.conf lxterminal/receipt menu-cache/receipt qjson-dev/receipt qjson/receipt qlipper/receipt qps/receipt screengrab/receipt upower-dev/receipt upower/receipt wayland-protocols/receipt xdg-user-dirs/receipt
line diff
     1.1 --- a/compton/receipt	Sun Oct 22 03:28:23 2017 +0300
     1.2 +++ b/compton/receipt	Sun Oct 22 04:01:51 2017 +0300
     1.3 @@ -16,15 +16,12 @@
     1.4  BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \
     1.5  xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \
     1.6  xorg-libXrandr-dev xorg-libXinerama-dev dbus-dev asciidoc libxml2-tools \
     1.7 -docbook-xsl"
     1.8 +docbook-xsl libconfig-dev"
     1.9  # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
    1.10  
    1.11 -# Rules to configure and make the package.
    1.12 -compile_rules()
    1.13 -{
    1.14 +compile_rules() {
    1.15  	make \
    1.16  		COMPTON_VERSION=v$VERSION \
    1.17 -		NO_LIBCONFIG=yes \
    1.18  		NO_VSYNC_DRM=yes \
    1.19  		NO_VSYNC_OPENGL=yes \
    1.20  		PREFIX=/usr \
    1.21 @@ -36,12 +33,10 @@
    1.22  	cp -r $stuff/autostart $install/etc/xdg/
    1.23  }
    1.24  
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 -genpkg_rules()
    1.27 -{
    1.28 +genpkg_rules() {
    1.29  	copy etc/ bin/	# skip icons
    1.30  	DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
    1.31  	xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
    1.32 -	xorg-libXrender   xorg-xwininfo xorg-xprop"
    1.33 +	xorg-libXrender   xorg-xwininfo xorg-xprop libconfig"
    1.34  	CONFIG_FILES="/etc/xdg/compton/compton.conf"
    1.35  }
     2.1 --- a/compton/stuff/autostart/compton.desktop	Sun Oct 22 03:28:23 2017 +0300
     2.2 +++ b/compton/stuff/autostart/compton.desktop	Sun Oct 22 04:01:51 2017 +0300
     2.3 @@ -5,5 +5,5 @@
     2.4  Comment[fr]=Effects de bureau
     2.5  Comment[pt_BR]=Efeitos do desktop
     2.6  Comment[ru]=Эффекты на рабочем столе
     2.7 -Exec=compton -Cc -i -r10 -o0.5 -b
     2.8 +Exec=compton -Cc -i -r 10 -o 0.5 -b
     2.9  NotShowIn=XFCE;Razor;
     3.1 --- a/dbus/receipt	Sun Oct 22 03:28:23 2017 +0300
     3.2 +++ b/dbus/receipt	Sun Oct 22 04:01:51 2017 +0300
     3.3 @@ -1,19 +1,21 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="dbus"
     3.7 -VERSION="1.10.14"
     3.8 +VERSION="1.10.22"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="D-Bus, a message bus system"
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13  WEB_SITE="https://www.freedesktop.org/wiki/Software/dbus/"
    3.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/dbus.html"
    3.15  HOST_ARCH="i486 arm"
    3.16  
    3.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.18  WGET_URL="https://dbus.freedesktop.org/releases/dbus/$TARBALL"
    3.19  
    3.20 -BUILD_DEPENDS="expat-dev xorg-libX11-dev"
    3.21 -SPLIT="dbus-helper dbus dbus-dev"
    3.22 +BUILD_DEPENDS="expat-dev xorg-libX11-dev glib-dev xorg-libICE-dev \
    3.23 +xorg-libSM-dev libxslt xmlto libxml2-tools docbook-xsl"
    3.24 +SPLIT="dbus-helper dbus-introspect dbus dbus-dev"
    3.25  
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28 @@ -22,19 +24,23 @@
    3.29  		--sysconfdir=/etc \
    3.30  		--localstatedir=/var \
    3.31  		--disable-doxygen-docs \
    3.32 -		--disable-xml-docs \
    3.33  		--disable-static \
    3.34 +		--docdir=/usr/share/doc/dbus-$VERSION \
    3.35 +		--with-console-auth-dir=/run/console/ \
    3.36 +		--with-system-pid-file=/run/dbus/pid \
    3.37 +		--with-system-socket=/run/dbus/system_bus_socket \
    3.38  		--disable-systemd \
    3.39  		--without-systemdsystemunitdir \
    3.40 -		--with-console-auth-dir=/run/console/ \
    3.41 -		--docdir=/usr/share/doc/dbus-$VERSION \
    3.42  		$CONFIGURE_ARGS &&
    3.43 -	make && make -j1 install
    3.44 -#		--without-console-auth-dir \
    3.45 +	make && make -j1 install || return 1
    3.46  
    3.47  	# Init script
    3.48  	cp -a $stuff/etc $install
    3.49  	chown -R root.root $install/etc
    3.50 +
    3.51 +	# docbook stuff
    3.52 +	mkdir -p $install/usr/share/xml/docbook/stylesheet/dbus
    3.53 +	cp doc/introspect.* $install/usr/share/xml/docbook/stylesheet/dbus
    3.54  }
    3.55  
    3.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.57 @@ -46,6 +52,11 @@
    3.58  			CAT="x-window|dbus-daemon-launch-helper"
    3.59  			DEPENDS="dbus expat"
    3.60  			;;
    3.61 +		dbus-introspect)
    3.62 +			copy introspect.*
    3.63 +			CAT="development|introspect DTD & XSL"
    3.64 +			DEPENDS="libxml2-tools"
    3.65 +			;;
    3.66  		dbus)
    3.67  			copy @std
    3.68  			remove_already_packed
    3.69 @@ -99,3 +110,16 @@
    3.70  	chown root:messagebus $i
    3.71  	chmod 4750 $i
    3.72  }
    3.73 +
    3.74 +post_install_dbus_introspect() {
    3.75 +	U="http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
    3.76 +	F="file:///usr/share/xml/docbook/stylesheet/dbus/introspect.dtd"
    3.77 +
    3.78 +	# Create a /etc/xml/catalog file
    3.79 +	mkdir -p "$1/etc/xml"
    3.80 +	[ ! -f "$1/etc/xml/catalog" ] &&
    3.81 +	chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog
    3.82 +
    3.83 +	chroot "$1/" xmlcatalog --noout --add "rewriteSystem" "$U" "$F" /etc/xml/catalog
    3.84 +	chroot "$1/" xmlcatalog --noout --add "rewriteURI"    "$U" "$F" /etc/xml/catalog
    3.85 +}
     4.1 --- a/libdbusmenu-qt-dev/receipt	Sun Oct 22 03:28:23 2017 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="libdbusmenu-qt-dev"
     4.7 -VERSION="0.9.2"
     4.8 -CATEGORY="development"
     4.9 -SHORT_DESC="libdbusmenu-qt devel files."
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -LICENSE="LGPL2"
    4.12 -WANTED="libdbusmenu-qt"
    4.13 -WEB_SITE="https://launchpad.net/libdbusmenu-qt"
    4.14 -
    4.15 -DEPENDS="pkg-config"
    4.16 -
    4.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 -genpkg_rules()
    4.19 -{
    4.20 -	mkdir -p $fs/usr/lib
    4.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    4.22 -	cp -a $install/usr/include $fs/usr
    4.23 -}
     5.1 --- a/libdbusmenu-qt/receipt	Sun Oct 22 03:28:23 2017 +0300
     5.2 +++ b/libdbusmenu-qt/receipt	Sun Oct 22 04:01:51 2017 +0300
     5.3 @@ -1,33 +1,42 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="libdbusmenu-qt"
     5.8 -VERSION="0.9.2"
     5.9 +VERSION="0.9.3+16.04.20160218"
    5.10  CATEGORY="system-tools"
    5.11 -SHORT_DESC="Library to import and export QMenu instances using the DBusMenu."
    5.12 +SHORT_DESC="Library to import and export QMenu instances using the DBusMenu"
    5.13  MAINTAINER="pankso@slitaz.org"
    5.14  LICENSE="LGPL2"
    5.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.16  WEB_SITE="https://launchpad.net/libdbusmenu-qt"
    5.17 -WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
    5.18 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/libdbusmenu-qt.html"
    5.19  
    5.20 -DEPENDS="dbus"
    5.21 -BUILD_DEPENDS="cmake qmake Qt4-dev libQtCore libQtDBus libQtGui dbus-dev wget"
    5.22 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    5.23 +WGET_URL="http://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL"
    5.24  
    5.25 -# Rules to configure and make the package.
    5.26 -compile_rules()
    5.27 -{
    5.28 -	mkdir -p $src/build
    5.29 -	cd $src/build
    5.30 +BUILD_DEPENDS="cmake qt5-dev mesa17-dev"
    5.31 +SPLIT="libdbusmenu-qt-dev"
    5.32 +
    5.33 +compile_rules() {
    5.34 +	sed -i 's|com\.trolltech|org.qtproject|' src/com.canonical.dbusmenu.xml
    5.35 +
    5.36 +	mkdir build; cd build
    5.37  	cmake \
    5.38  		-DCMAKE_BUILD_TYPE=Release \
    5.39  		-DCMAKE_INSTALL_PREFIX=/usr \
    5.40 -		-DWITH_DOC=OFF .. &&
    5.41 -	make && make install
    5.42 +		-DWITH_DOC=OFF \
    5.43 +		-Wno-dev \
    5.44 +		.. &&
    5.45 +	make &&
    5.46 +	make install
    5.47  }
    5.48  
    5.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.50 -genpkg_rules()
    5.51 -{
    5.52 -	mkdir -p $fs/usr/lib
    5.53 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.54 +genpkg_rules() {
    5.55 +	case $PACKAGE in
    5.56 +		libdbusmenu-qt)
    5.57 +			copy @std
    5.58 +			DEPENDS="qt5-base"
    5.59 +			;;
    5.60 +		*-dev)
    5.61 +			copy @dev
    5.62 +			;;
    5.63 +	esac
    5.64  }
     6.1 --- a/libstatgrab/receipt	Sun Oct 22 03:28:23 2017 +0300
     6.2 +++ b/libstatgrab/receipt	Sun Oct 22 04:01:51 2017 +0300
     6.3 @@ -1,22 +1,27 @@
     6.4  # SliTaz package receipt v2.
     6.5  
     6.6  PACKAGE="libstatgrab"
     6.7 -VERSION="0.17"
     6.8 +VERSION="0.91"
     6.9  CATEGORY="system-tools"
    6.10  SHORT_DESC="Provides statistics about the system on which it's run"
    6.11  MAINTAINER="pankso@slitaz.org"
    6.12  LICENSE="GPL2"
    6.13 -WEB_SITE="http://www.i-scream.org/libstatgrab/"
    6.14 +WEB_SITE="https://www.i-scream.org/libstatgrab/"
    6.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libstatgrab.html"
    6.16  
    6.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.18 -WGET_URL="http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
    6.19 +WGET_URL="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
    6.20  
    6.21 -BUILD_DEPENDS="gfortran"
    6.22 +BUILD_DEPENDS="perl"
    6.23  SPLIT="libstatgrab-dev"
    6.24  
    6.25  compile_rules() {
    6.26 -	./configure &&
    6.27 -	make && make -j 1 install
    6.28 +	./configure \
    6.29 +		--disable-static \
    6.30 +		--docdir=/usr/share/doc/libstatgrab-$VERSION \
    6.31 +		$CONFIGURE_ARGS &&
    6.32 +	make &&
    6.33 +	make install
    6.34  }
    6.35  
    6.36  genpkg_rules() {
     7.1 --- a/libxkbcommon-dev/receipt	Sun Oct 22 03:28:23 2017 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,19 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="libxkbcommon-dev"
     7.7 -VERSION="0.4.1"
     7.8 -CATEGORY="development"
     7.9 -SHORT_DESC="libxkbcommon include files."
    7.10 -MAINTAINER="pankso@slitaz.org"
    7.11 -LICENSE="custom"
    7.12 -WANTED="libxkbcommon"
    7.13 -WEB_SITE="http://xkbcommon.org"
    7.14 -
    7.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 -genpkg_rules()
    7.17 -{
    7.18 -	mkdir -p $fs/usr/lib
    7.19 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    7.20 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    7.21 -	cp -a $install/usr/include $fs/usr
    7.22 -}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libxkbcommon-wayland/receipt	Sun Oct 22 04:01:51 2017 +0300
     8.3 @@ -0,0 +1,40 @@
     8.4 +# SliTaz package receipt v2.
     8.5 +
     8.6 +PACKAGE="libxkbcommon-wayland"
     8.7 +VERSION="0.7.2"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="Keyboard handling library using XKB data (Wayland)"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="custom"
    8.12 +WEB_SITE="https://xkbcommon.org/"
    8.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libxkbcommon.html"
    8.14 +
    8.15 +TARBALL="libxkbcommon-$VERSION.tar.xz"
    8.16 +WGET_URL="http://xkbcommon.org/download/$TARBALL"
    8.17 +
    8.18 +BUILD_DEPENDS="xorg-xkeyboard-config-dev wayland-protocols-dev wayland-dev"
    8.19 +SPLIT="libxkbcommon-wayland-dev"
    8.20 +SIBLINGS="libxkbcommon"
    8.21 +
    8.22 +compile_rules() {
    8.23 +	./configure \
    8.24 +		--sysconfdir=/etc \
    8.25 +		--localstatedir=/var \
    8.26 +		--with-xkb-config-root=/usr/share/X11/xkb \
    8.27 +		--docdir=/usr/share/doc/libxkbcommon-$VERSION \
    8.28 +		--enable-wayland \
    8.29 +		--disable-x11 \
    8.30 +		$CONFIGURE_ARGS &&
    8.31 +	make && make install
    8.32 +}
    8.33 +
    8.34 +genpkg_rules() {
    8.35 +	case $PACKAGE in
    8.36 +		libxkbcommon-wayland)
    8.37 +			copy @std
    8.38 +			;;
    8.39 +		*-dev)
    8.40 +			copy @dev
    8.41 +			;;
    8.42 +	esac
    8.43 +}
     9.1 --- a/libxkbcommon/receipt	Sun Oct 22 03:28:23 2017 +0300
     9.2 +++ b/libxkbcommon/receipt	Sun Oct 22 04:01:51 2017 +0300
     9.3 @@ -1,28 +1,30 @@
     9.4  # SliTaz package receipt v2.
     9.5  
     9.6  PACKAGE="libxkbcommon"
     9.7 -VERSION="0.7.1"
     9.8 +VERSION="0.7.2"
     9.9  CATEGORY="x-window"
    9.10  SHORT_DESC="Keyboard handling library using XKB data"
    9.11  MAINTAINER="pankso@slitaz.org"
    9.12  LICENSE="custom"
    9.13 -WEB_SITE="http://xkbcommon.org"
    9.14 +WEB_SITE="https://xkbcommon.org/"
    9.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libxkbcommon.html"
    9.16  
    9.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    9.18  WGET_URL="http://xkbcommon.org/download/$TARBALL"
    9.19  
    9.20  BUILD_DEPENDS="xorg-libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev bison"
    9.21 -SPLIT="libxkbcommon-dev"
    9.22 +SPLIT="libxkbcommon-x11 libxkbcommon libxkbcommon-dev"
    9.23 +SIBLINGS="libxkbcommon-wayland"
    9.24  
    9.25  # Rules to configure and make the package.
    9.26  compile_rules()
    9.27  {
    9.28 -	# http://www.linuxfromscratch.org/blfs/view/stable/general/libxkbcommon.html
    9.29  	./configure \
    9.30  		--sysconfdir=/etc \
    9.31  		--localstatedir=/var \
    9.32  		--with-xkb-config-root=/usr/share/X11/xkb \
    9.33  		--docdir=/usr/share/doc/libxkbcommon-$VERSION \
    9.34 +		--disable-wayland \
    9.35  		$CONFIGURE_ARGS &&
    9.36  	make && make install
    9.37  }
    9.38 @@ -31,14 +33,19 @@
    9.39  genpkg_rules()
    9.40  {
    9.41  	case $PACKAGE in
    9.42 +		libxkbcommon-x11)
    9.43 +			copy libxkbcommon-x11.so*
    9.44 +			DEPENDS="libxkbcommon xorg-libXau xorg-libXdmcp xorg-libxcb   \
    9.45 +			xorg-xkeyboard-config xorg-libX11"
    9.46 +			;;
    9.47  		libxkbcommon)
    9.48  			copy @std
    9.49 -			DEPENDS="xorg-libXau xorg-libXdmcp xorg-libxcb   \
    9.50 -			xorg-xkeyboard-config"
    9.51 +			remove_already_packed
    9.52 +			DEPENDS=" "
    9.53  			;;
    9.54  		*-dev)
    9.55  			copy @dev
    9.56 -			DEPENDS="libxkbcommon \
    9.57 +			DEPENDS="libxkbcommon libxkbcommon-x11 \
    9.58  			xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
    9.59  			;;
    9.60  	esac
    10.1 --- a/lm-sensors-dev/receipt	Sun Oct 22 03:28:23 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,18 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="lm-sensors-dev"
    10.7 -WANTED="lm-sensors"
    10.8 -VERSION="3.3.3"
    10.9 -CATEGORY="development"
   10.10 -SHORT_DESC="Linux hardware monitoring, development files."
   10.11 -MAINTAINER="pascal.bellard@slitaz.org"
   10.12 -LICENSE="GPL2"
   10.13 -WEB_SITE="http://www.lm-sensors.org/"
   10.14 -
   10.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.16 -genpkg_rules()
   10.17 -{
   10.18 -	mkdir -p $fs/usr/lib
   10.19 -	cp -a $install/usr/include $fs/usr
   10.20 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   10.21 -}
    11.1 --- a/lm-sensors/receipt	Sun Oct 22 03:28:23 2017 +0300
    11.2 +++ b/lm-sensors/receipt	Sun Oct 22 04:01:51 2017 +0300
    11.3 @@ -1,35 +1,47 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="lm-sensors"
    11.8 -SOURCE="lm_sensors"
    11.9 -VERSION="3.3.3"
   11.10 +VERSION="3.4.0"
   11.11  CATEGORY="system-tools"
   11.12 -SHORT_DESC="Linux hardware monitoring."
   11.13 +SHORT_DESC="Linux hardware monitoring"
   11.14  MAINTAINER="pascal.bellard@slitaz.org"
   11.15  LICENSE="GPL2"
   11.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
   11.17 -SUGGESTED="rrdtool"
   11.18 -WEB_SITE="http://www.lm-sensors.org/"
   11.19 -WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
   11.20 +WEB_SITE="https://github.com/groeck/lm-sensors/issues/3"
   11.21 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/lm_sensors.html"
   11.22  
   11.23 -DEPENDS="perl linux-hwmon"
   11.24 -BUILD_DEPENDS="bison flex rrdtool-dev"
   11.25 +TARBALL="lm_sensors-$VERSION.tar.bz2"
   11.26 +WGET_URL="https://ftp.gwdg.de/pub/linux/misc/lm-sensors/$TARBALL"
   11.27  
   11.28 -# Rules to configure and make the package.
   11.29 -compile_rules()
   11.30 -{
   11.31 -	sed -i 's|/man|/share&|' Makefile
   11.32 -	patch -p0 < $stuff/linux-3.0.patch &&
   11.33 -	make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \
   11.34 -	sed 's/d: No such file/d: no such file/'
   11.35 +BUILD_DEPENDS="rrdtool-dev"
   11.36 +SPLIT="lm-sensors-dev"
   11.37 +
   11.38 +compile_rules() {
   11.39 +	sed -i 's|/etc/sysconfig|/etc/conf.d|' prog/detect/sensors-detect
   11.40 +
   11.41 +	make \
   11.42 +		PREFIX=/usr \
   11.43 +		BUILD_STATIC_LIB=0 \
   11.44 +		MANDIR=/usr/share/man \
   11.45 +		DESTDIR=$install \
   11.46 +		PROG_EXTRA=sensord \
   11.47 +		install || return 1
   11.48 +
   11.49 +	cook_pick_docs README INSTALL doc/*
   11.50 +
   11.51 +	install -D -m755 "$stuff/healthd"      "$install/usr/bin/healthd"
   11.52 +	install -D -m644 "$stuff/healthd.conf" "$install/etc/healthd.conf"
   11.53 +	install -D -m644 "$stuff/sensord.conf" "$install/etc/conf.d/sensord"
   11.54  }
   11.55  
   11.56 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.57 -genpkg_rules()
   11.58 -{
   11.59 -	mkdir -p $fs/usr/lib
   11.60 -	cp -a $install/etc $fs
   11.61 -	cp -a $install/usr/bin $fs/usr
   11.62 -	cp -a $install/usr/sbin $fs/usr
   11.63 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   11.64 +genpkg_rules() {
   11.65 +	case $PACKAGE in
   11.66 +		lm-sensors)
   11.67 +			copy @std
   11.68 +			DEPENDS="bash linux-hwmon perl rrdtool"
   11.69 +			SUGGESTED="rrdtool"
   11.70 +			;;
   11.71 +		*-dev)
   11.72 +			copy @dev
   11.73 +			;;
   11.74 +	esac
   11.75  }
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/lm-sensors/stuff/healthd	Sun Oct 22 04:01:51 2017 +0300
    12.3 @@ -0,0 +1,53 @@
    12.4 +#!/bin/bash
    12.5 +
    12.6 +#
    12.7 +# /usr/bin/healthd
    12.8 +#
    12.9 +
   12.10 +. /etc/healthd.conf
   12.11 +
   12.12 +cmd="${ALARM_CMD}"
   12.13 +addr="${ADMIN_EMAIL}"
   12.14 +slp="${ALARM_SLEEP}"
   12.15 +sensors="/usr/bin/sensors"
   12.16 +
   12.17 +
   12.18 +while [ $# -gt 0 ] ; do
   12.19 +	case "${1}" in
   12.20 +		-c ) cmd="${2}" ; shift 2 ;;
   12.21 +		-m ) addr="${2}" ; shift 2 ;;
   12.22 +		-s ) slp="${2}" ; shift 2 ;;
   12.23 +		*  ) shift 1 ;;
   12.24 +	esac
   12.25 +done
   12.26 +
   12.27 +case "${ALARM_RESET}" in
   12.28 +	yes) /usr/bin/sensors > /dev/null
   12.29 +	;;
   12.30 +        no) true
   12.31 +	;;
   12.32 +esac
   12.33 +
   12.34 +[ -n "${cmd}" ] && [ -n "$( which -- "${cmd%% *}" )" ] || \
   12.35 +	[ -n "${addr}" ] || exit 1
   12.36 +
   12.37 +[ "${slp}" -ge 2 ] || slp=600
   12.38 +
   12.39 +while true ; do
   12.40 +	sleep 15
   12.41 +	message="$( $sensors )"
   12.42 +	case "$message" in
   12.43 +		''      ) message='Could not get any sensor values !' ;;
   12.44 +		*ALARM* ) : ;;
   12.45 +		*       ) message='' ;;
   12.46 +	esac
   12.47 +	if [ -n "$message" ]; then
   12.48 +		if [ -n "${addr}" ]; then
   12.49 +			echo "$message" | mail -s \
   12.50 +				"Sensors ALARM detected at host: $( hostname )" \
   12.51 +				"${addr}"
   12.52 +		fi
   12.53 +		[ -z "${cmd}" ] || ${cmd} &
   12.54 +		sleep ${slp}
   12.55 +	fi
   12.56 +done &
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/lm-sensors/stuff/healthd.conf	Sun Oct 22 04:01:51 2017 +0300
    13.3 @@ -0,0 +1,17 @@
    13.4 +#
    13.5 +# /etc/healthd.conf
    13.6 +#
    13.7 +
    13.8 +# reset any pending alarms on startup
    13.9 +ALARM_RESET="yes"
   13.10 +
   13.11 +# where to sent mails on alarm
   13.12 +ADMIN_EMAIL="root"
   13.13 +
   13.14 +# Seconds to sleep when alarm detected before checking again
   13.15 +# If you want to fill up your mail inbox set this to 2. ;-)
   13.16 +ALARM_SLEEP=600
   13.17 +
   13.18 +# command to run in background on each alarm
   13.19 +# N.B.: If you choose to use the beep command, you'll need to install it: pacman -S beep
   13.20 +ALARM_CMD="beep -f 800 -l 500 -d 500 -r 600"
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/lm-sensors/stuff/patches/lm_sensors-fancontrol.patch	Sun Oct 22 04:01:51 2017 +0300
    14.3 @@ -0,0 +1,29 @@
    14.4 +--- a/prog/pwm/fancontrol	2012-11-07 03:26:37.000000000 +0200
    14.5 ++++ b/prog/pwm/fancontrol	2013-03-22 18:15:00.566696011 +0200
    14.6 +@@ -297,7 +297,7 @@
    14.7 + cd $DIR
    14.8 + 
    14.9 + # Check for configuration change
   14.10 +-if [ "$DIR" != "/" ] && [ -z "$DEVPATH" -o -z "$DEVNAME" ]
   14.11 ++if [[ "$DIR" != "/"  && ( -z "$DEVPATH"  ||  -z "$DEVNAME" ) ]]
   14.12 + then
   14.13 + 	echo "Configuration is too old, please run pwmconfig again" >&2
   14.14 + 	exit 1
   14.15 +@@ -337,7 +337,7 @@
   14.16 + 	# It didn't work, try pwmN_enable=1 pwmN=255
   14.17 + 	echo 1 > $ENABLE 2> /dev/null
   14.18 + 	echo $MAX > $1
   14.19 +-	if [ `cat $ENABLE` -eq 1 -a `cat $1` -ge 190 ]
   14.20 ++	if [ `cat $ENABLE` -eq 1 ] && [ `cat $1` -ge 190 ]
   14.21 + 	then
   14.22 + 		# Success
   14.23 + 		return 0
   14.24 +@@ -469,7 +469,7 @@
   14.25 + 		else
   14.26 + 		  # calculate the new value from temperature and settings
   14.27 + 		  pwmval="(${tval}-${mint})*(${maxpwm}-${minso})/(${maxt}-${mint})+${minso}"
   14.28 +-		  if [ $pwmpval -eq 0 -o $min_fanval -eq 0 ]
   14.29 ++		  if [ $pwmpval -eq 0 ] || [ $min_fanval -eq 0 ]
   14.30 + 		  then # if fan was stopped start it using a safe value
   14.31 + 		  	echo $minsa > $pwmo
   14.32 + 			# Sleep while still handling signals
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/lm-sensors/stuff/patches/series	Sun Oct 22 04:01:51 2017 +0300
    15.3 @@ -0,0 +1,2 @@
    15.4 +# from https://www.archlinux.org/packages/extra/i686/lm_sensors/
    15.5 +lm_sensors-fancontrol.patch
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/lm-sensors/stuff/sensord.conf	Sun Oct 22 04:01:51 2017 +0300
    16.3 @@ -0,0 +1,9 @@
    16.4 +#
    16.5 +# /etc/conf.d/sensord
    16.6 +#
    16.7 +
    16.8 +#Specify the interval between scanning for sensor alarms
    16.9 +INTERVAL=60s
   16.10 +
   16.11 +#Specify the interval between logging all sensor readings
   16.12 +LOG_INTERVAL=30m
    17.1 --- a/lxterminal/receipt	Sun Oct 22 03:28:23 2017 +0300
    17.2 +++ b/lxterminal/receipt	Sun Oct 22 04:01:51 2017 +0300
    17.3 @@ -7,6 +7,7 @@
    17.4  MAINTAINER="gokhlayeh@slitaz.org"
    17.5  LICENSE="GPL2"
    17.6  WEB_SITE="https://wiki.lxde.org/en/LXTerminal"
    17.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxterminal.html"
    17.8  
    17.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
   17.10  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    18.1 --- a/menu-cache/receipt	Sun Oct 22 03:28:23 2017 +0300
    18.2 +++ b/menu-cache/receipt	Sun Oct 22 04:01:51 2017 +0300
    18.3 @@ -7,6 +7,7 @@
    18.4  MAINTAINER="pankso@slitaz.org"
    18.5  LICENSE="GPL2"
    18.6  WEB_SITE="https://github.com/lxde/menu-cache"
    18.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/menu-cache.html"
    18.8  HOST_ARCH="i486 arm"
    18.9  
   18.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
   18.11 @@ -18,7 +19,6 @@
   18.12  # Rules to configure and make the package.
   18.13  compile_rules()
   18.14  {
   18.15 -	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/menu-cache.html
   18.16  	./configure \
   18.17  		--disable-static \
   18.18  		--enable-gtk-doc \
   18.19 @@ -33,14 +33,13 @@
   18.20  		*-cache)
   18.21  			copy @std
   18.22  			DEPENDS="glib libfm-extra"
   18.23 -			TAGS="LXDE"
   18.24  			;;
   18.25  		*-dev)
   18.26  			copy @dev
   18.27  			DEPENDS="menu-cache glib-dev libffi-dev pcre-dev \
   18.28  			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
   18.29  			zlib-dev"
   18.30 -			TAGS="LXDE"
   18.31  			;;
   18.32  	esac
   18.33 +	TAGS="LXDE"
   18.34  }
    19.1 --- a/qjson-dev/receipt	Sun Oct 22 03:28:23 2017 +0300
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,19 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="qjson-dev"
    19.7 -VERSION="0.8.1"
    19.8 -CATEGORY="development"
    19.9 -SHORT_DESC="Development files for qjson"
   19.10 -MAINTAINER="al.bobylev@gmail.com"
   19.11 -LICENSE="LGPL2.1"
   19.12 -WEB_SITE="http://qjson.sourceforge.net/"
   19.13 -WANTED="qjson"
   19.14 -DEPENDS="qjson"
   19.15 -
   19.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.17 -genpkg_rules()
   19.18 -{
   19.19 -	cp -a $install/* $fs
   19.20 -	rm -f $fs/usr/lib/*.so*
   19.21 -
   19.22 -}
    20.1 --- a/qjson/receipt	Sun Oct 22 03:28:23 2017 +0300
    20.2 +++ b/qjson/receipt	Sun Oct 22 04:01:51 2017 +0300
    20.3 @@ -1,29 +1,37 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="qjson"
    20.8 -VERSION="0.8.1"
    20.9 +VERSION="0.9.0"
   20.10  CATEGORY="development"
   20.11 -SHORT_DESC="QJson is a qt-based library that maps JSON data to QVariant objects"
   20.12 +SHORT_DESC="QJson is a Qt-based library that maps JSON data to QVariant objects"
   20.13  MAINTAINER="al.bobylev@gmail.com"
   20.14  LICENSE="LGPL2.1"
   20.15  WEB_SITE="http://qjson.sourceforge.net/"
   20.16 -TARBALL="$PACKAGE-$VERSION.zip"
   20.17 -WGET_URL="https://github.com/flavio/qjson/archive/$VERSION.zip"
   20.18  
   20.19 -DEPENDS="libQtGui libQtNetwork libQtSql libcrypto"
   20.20 -BUILD_DEPENDS="Qt4-dev qmake cmake wget"
   20.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   20.22 +WGET_URL="https://github.com/flavio/qjson/archive/$VERSION.tar.gz"
   20.23  
   20.24 -# Rules to configure and make the package.
   20.25 -compile_rules()
   20.26 -{
   20.27 -	mkdir build && cd build
   20.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
   20.29 -	make && make install
   20.30 +BUILD_DEPENDS="cmake qt5-dev"
   20.31 +SPLIT="qjson-dev"
   20.32 +
   20.33 +compile_rules() {
   20.34 +	mkdir build; cd build
   20.35 +	cmake \
   20.36 +		-DCMAKE_INSTALL_PREFIX=/usr \
   20.37 +		.. &&
   20.38 +	make &&
   20.39 +	make install
   20.40  }
   20.41  
   20.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.43 -genpkg_rules()
   20.44 -{
   20.45 -	mkdir -p $fs/usr/lib
   20.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   20.47 +genpkg_rules() {
   20.48 +	case $PACKAGE in
   20.49 +		qjson)
   20.50 +			copy @std
   20.51 +			DEPENDS="qt5-base"
   20.52 +			;;
   20.53 +		*-dev)
   20.54 +			copy @dev
   20.55 +			DEPENDS="qjson qt5-dev"
   20.56 +			;;
   20.57 +	esac
   20.58  }
    21.1 --- a/qlipper/receipt	Sun Oct 22 03:28:23 2017 +0300
    21.2 +++ b/qlipper/receipt	Sun Oct 22 04:01:51 2017 +0300
    21.3 @@ -1,31 +1,29 @@
    21.4 -# SliTaz package receipt.
    21.5 +# SliTaz package receipt v2.
    21.6  
    21.7  PACKAGE="qlipper"
    21.8 -VERSION="2.0.2"
    21.9 +VERSION="5.0.0"
   21.10  CATEGORY="utilities"
   21.11 -SHORT_DESC="Clipboard history tool."
   21.12 +SHORT_DESC="Clipboard history tool"
   21.13  MAINTAINER="psychomaniak@xakep.ru"
   21.14  LICENSE="GPL2"
   21.15 -WEB_SITE="http://qlipper.googlecode.com/"
   21.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   21.17 -WGET_URL="$WEB_SITE/files/$TARBALL"
   21.18 +WEB_SITE="https://github.com/pvanek/qlipper"
   21.19  
   21.20 -DEPENDS="libQtGui libQtDBus libQtNetwork"
   21.21 -BUILD_DEPENDS="Qt4-dev cmake qmake xorg-libX11-dev"
   21.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   21.23 +WGET_URL="https://github.com/pvanek/qlipper/archive/$VERSION.tar.gz"
   21.24  
   21.25 -# Rules to configure and make the package.
   21.26 -compile_rules()
   21.27 -{
   21.28 -	cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
   21.29 +BUILD_DEPENDS="cmake qt5-dev mesa17-dev"
   21.30 +
   21.31 +compile_rules() {
   21.32 +	mkdir build; cd build
   21.33  	cmake \
   21.34 -		-DCMAKE_BUILD_TYPE=release \
   21.35 -		-DUSE_SYSTEM_QXT=0 \
   21.36 -		-DCMAKE_INSTALL_PREFIX=/usr . &&
   21.37 -	make && make DESTDIR=$DESTDIR install
   21.38 +		-DCMAKE_BUILD_TYPE=Release \
   21.39 +		-DCMAKE_INSTALL_PREFIX=/usr \
   21.40 +		.. &&
   21.41 +	make &&
   21.42 +	make install
   21.43  }
   21.44  
   21.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.46 -genpkg_rules()
   21.47 -{
   21.48 -	cp -a $install/* $fs
   21.49 +genpkg_rules() {
   21.50 +	copy @std
   21.51 +	DEPENDS="qt5-base xorg-libX11"
   21.52  }
    22.1 --- a/qps/receipt	Sun Oct 22 03:28:23 2017 +0300
    22.2 +++ b/qps/receipt	Sun Oct 22 04:01:51 2017 +0300
    22.3 @@ -1,4 +1,4 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="qps"
    22.8  VERSION="1.10.17"
    22.9 @@ -7,25 +7,23 @@
   22.10  MAINTAINER="psychomaniak@xakep.ru"
   22.11  LICENSE="GPL2"
   22.12  WEB_SITE="https://github.com/QtDesktop/qps"
   22.13 +
   22.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
   22.15 -WGET_URL="${WEB_SITE}/releases/download/$VERSION/$TARBALL"
   22.16 +WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
   22.17  
   22.18 -DEPENDS="qt5-base qt5-x11extras"
   22.19 -BUILD_DEPENDS="qt5-dev xorg-dev zlib-dev cmake mesa17-dev"
   22.20 +BUILD_DEPENDS="cmake qt5-dev mesa17-dev xorg-libXrender-dev"
   22.21  
   22.22 -# Rules to configure and make the package.
   22.23 -compile_rules()
   22.24 -{
   22.25 -	cmake .
   22.26 -	make
   22.27 -	install -D -m 755 src/qps "$DESTDIR"/usr/bin/qps
   22.28 -	install -D -m 644 qps.1 "$DESTDIR"/usr/share/man/man1/qps.1
   22.29 -	install -D -m 644 src/qps.desktop "$DESTDIR"/usr/share/applications/qps.desktop
   22.30 -	install -D -m 644 icon/icon.xpm "$DESTDIR"/usr/share/pixmaps/qps.xpm
   22.31 +compile_rules() {
   22.32 +	mkdir build; cd build
   22.33 +	cmake \
   22.34 +		-DCMAKE_BUILD_TYPE=Release \
   22.35 +		-DCMAKE_INSTALL_PREFIX=/usr \
   22.36 +		.. &&
   22.37 +	make &&
   22.38 +	make install
   22.39  }
   22.40  
   22.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.42 -genpkg_rules()
   22.43 -{
   22.44 -	cp -a $install/* $fs
   22.45 +genpkg_rules() {
   22.46 +	copy @std
   22.47 +	DEPENDS="qt5-base qt5-x11extras"
   22.48  }
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/screengrab/receipt	Sun Oct 22 04:01:51 2017 +0300
    23.3 @@ -0,0 +1,30 @@
    23.4 +# SliTaz package receipt v2.
    23.5 +
    23.6 +PACKAGE="screengrab"
    23.7 +VERSION="1.97"
    23.8 +CATEGORY="utilities"
    23.9 +SHORT_DESC="Crossplatform tool for fast making screenshots"
   23.10 +MAINTAINER="al.bobylev@gmail.com"
   23.11 +LICENSE="GPL2"
   23.12 +WEB_SITE="https://github.com/QtDesktop/screengrab"
   23.13 +
   23.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   23.15 +WGET_URL="https://github.com/QtDesktop/screengrab/releases/download/$VERSION/$TARBALL"
   23.16 +
   23.17 +BUILD_DEPENDS="cmake qt5-dev mesa17-dev kwindowsystem-dev libqtxdg-dev"
   23.18 +
   23.19 +compile_rules() {
   23.20 +	mkdir build; cd build
   23.21 +	cmake \
   23.22 +		-DCMAKE_BUILD_TYPE=Release \
   23.23 +		-DCMAKE_INSTALL_PREFIX=/usr \
   23.24 +		.. &&
   23.25 +	make &&
   23.26 +	make install
   23.27 +}
   23.28 +
   23.29 +genpkg_rules() {
   23.30 +	copy @std
   23.31 +	DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras xorg-libX11 \
   23.32 +	xorg-libXext xorg-libxcb"
   23.33 +}
    24.1 --- a/upower-dev/receipt	Sun Oct 22 03:28:23 2017 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,21 +0,0 @@
    24.4 -# SliTaz package receipt.
    24.5 -
    24.6 -PACKAGE="upower-dev"
    24.7 -VERSION="0.9.15"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="UPower devel files."
   24.10 -MAINTAINER="pankso@slitaz.org"
   24.11 -LICENSE="GPL2"
   24.12 -WANTED="upower"
   24.13 -WEB_SITE="http://upower.freedesktop.org/"
   24.14 -
   24.15 -DEPENDS="pkg-config"
   24.16 -
   24.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.18 -genpkg_rules()
   24.19 -{
   24.20 -	mkdir -p $fs/usr/lib
   24.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   24.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   24.23 -	cp -a $install/usr/include $fs/usr
   24.24 -}
    25.1 --- a/upower/receipt	Sun Oct 22 03:28:23 2017 +0300
    25.2 +++ b/upower/receipt	Sun Oct 22 04:01:51 2017 +0300
    25.3 @@ -1,27 +1,29 @@
    25.4 -# SliTaz package receipt.
    25.5 +# SliTaz package receipt v2.
    25.6  
    25.7  PACKAGE="upower"
    25.8 -VERSION="0.9.15"
    25.9 +VERSION="0.99.5"
   25.10  CATEGORY="system-tools"
   25.11 -SHORT_DESC="UPower is an abstraction for enumerating power devices."
   25.12 +SHORT_DESC="UPower is an abstraction for enumerating power devices"
   25.13  MAINTAINER="pankso@slitaz.org"
   25.14  LICENSE="GPL2"
   25.15 +WEB_SITE="http://upower.freedesktop.org/"
   25.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/upower.html"
   25.17 +
   25.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
   25.19 -WEB_SITE="http://upower.freedesktop.org/"
   25.20 -WGET_URL="http://upower.freedesktop.org/releases/$TARBALL"
   25.21 +WGET_URL="https://upower.freedesktop.org/releases/$TARBALL"
   25.22  
   25.23 -DEPENDS="polkit glib dbus dbus-glib libgudev libusb"
   25.24 -BUILD_DEPENDS="polkit-dev glib-dev dbus-dev dbus-glib-dev \
   25.25 -libgudev-dev libusb-dev intltool"
   25.26 +BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev eudev-dev \
   25.27 +libgudev-dev libusb-dev intltool dbus-introspect"
   25.28 +SPLIT="upower-dev"
   25.29  
   25.30  # Rules to configure and make the package.
   25.31  compile_rules()
   25.32  {
   25.33 -	cd $src
   25.34  	./configure \
   25.35  		--sysconfdir=/etc \
   25.36 -		--libexecdir=/usr/lib/upower \
   25.37  		--localstatedir=/var \
   25.38 +		--enable-deprecated \
   25.39 +		--disable-static \
   25.40  		$CONFIGURE_ARGS &&
   25.41  	make && make install
   25.42  }
   25.43 @@ -29,13 +31,16 @@
   25.44  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.45  genpkg_rules()
   25.46  {
   25.47 -	mkdir -p $fs/usr/lib $fs/usr/share
   25.48 -	cp -a $install/etc $fs
   25.49 -	cp -a $install/var $fs
   25.50 -	cp -a $install/lib/udev $fs/etc
   25.51 -	cp -a $install/usr/bin $fs/usr
   25.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   25.53 -	cp -a $install/usr/lib/upower $fs/usr/lib
   25.54 -	cp -a $install/usr/share/dbus-1 $fs/usr/share
   25.55 -	cp -a $install/usr/share/polkit-1 $fs/usr/share
   25.56 +	case $PACKAGE in
   25.57 +		upower)
   25.58 +			copy @std
   25.59 +			DEPENDS="glib libffi libgudev libusb pcre util-linux-blkid \
   25.60 +			util-linux-mount util-linux-uuid zlib"
   25.61 +			;;
   25.62 +		*-dev)
   25.63 +			copy @dev
   25.64 +			DEPENDS="upower glib-dev libffi-dev pcre-dev util-linux-blkid-dev \
   25.65 +			util-linux-mount-dev util-linux-uuid-dev zlib-dev"
   25.66 +			;;
   25.67 +	esac
   25.68  }
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/wayland-protocols/receipt	Sun Oct 22 04:01:51 2017 +0300
    26.3 @@ -0,0 +1,27 @@
    26.4 +# SliTaz package receipt v2.
    26.5 +
    26.6 +PACKAGE="wayland-protocols"
    26.7 +VERSION="1.10"
    26.8 +CATEGORY="system-tools"
    26.9 +SHORT_DESC="Additional Wayland protocols"
   26.10 +MAINTAINER="al.bobylev@gmail.com"
   26.11 +LICENSE="LGPL2.1"
   26.12 +WEB_SITE="https://wayland.freedesktop.org/"
   26.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kwayland.html"
   26.14 +
   26.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   26.16 +WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"
   26.17 +
   26.18 +BUILD_DEPENDS="wayland-dev"
   26.19 +SPLIT="wayland-protocols-dev"
   26.20 +
   26.21 +compile_rules() {
   26.22 +	./configure $CONFIGURE_ARGS && make && make install
   26.23 +}
   26.24 +
   26.25 +genpkg_rules() {
   26.26 +	case $PACKAGE in
   26.27 +		wayland-protocols) copy @std;;
   26.28 +		*-dev)             copy @dev;;
   26.29 +	esac
   26.30 +}
    27.1 --- a/xdg-user-dirs/receipt	Sun Oct 22 03:28:23 2017 +0300
    27.2 +++ b/xdg-user-dirs/receipt	Sun Oct 22 04:01:51 2017 +0300
    27.3 @@ -1,29 +1,27 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="xdg-user-dirs"
    27.8 -VERSION="0.14"
    27.9 +VERSION="0.16"
   27.10  CATEGORY="utilities"
   27.11  LICENSE="GPL"
   27.12 -SHORT_DESC="Tool to help manage user directories."
   27.13 +SHORT_DESC="Tool to help manage user directories"
   27.14  MAINTAINER="yuripourre@gmail.com"
   27.15 +WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/"
   27.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/xdg-user-dirs.html"
   27.17 +
   27.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.19 -WEB_SITE="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
   27.20 -WGET_URL="http://user-dirs.freedesktop.org/releases/$TARBALL"
   27.21 +WGET_URL="https://user-dirs.freedesktop.org/releases/$TARBALL"
   27.22  
   27.23 -DEPENDS=""
   27.24 -BUILD_DEPENDS="gawk"
   27.25 +BUILD_DEPENDS="gettext libxslt docbook-xsl"
   27.26  
   27.27 -# Rules to configure and make the package.
   27.28 -compile_rules()
   27.29 -{
   27.30 +compile_rules() {
   27.31  	./configure \
   27.32 +		--sysconfdir=/etc \
   27.33  		$CONFIGURE_ARGS &&
   27.34  	make &&
   27.35 -	make DESTDIR=$DESTDIR install
   27.36 +	make install
   27.37  }
   27.38  
   27.39 -genpkg_rules()
   27.40 -{
   27.41 -	mkdir -p $fs/usr
   27.42 -	cp -a $install/usr/bin $fs/usr
   27.43 +genpkg_rules() {
   27.44 +	copy @std *.mo # translations required because of purpose of the program
   27.45  }