wok-next rev 19841

Up adwaita-icon-theme, at-spi2-atk, at-spi2-core, elementary-icon-theme, gtk+, gtk+3, hydroxygen-iconset, libepoxy, paper-icon-theme, slitaz-icons-elementary, slitaz-icons-hydroxygen, slitaz-icons-paper. Add faience-icon-theme.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 17 16:45:06 2017 +0300 (2017-08-17)
parents 802ae6f847e2
children 133288c02003
files adwaita-icon-theme/receipt at-spi2-atk/receipt at-spi2-core/receipt elementary-icon-theme/receipt faience-icon-theme/receipt gtk+-demo/receipt gtk+-demo/stuff/gtk+-demo.desktop gtk+-dev/receipt gtk+/receipt gtk+/stuff/gtk+-demo.desktop gtk+/stuff/patches/series gtk+/stuff/patches/undo_gen_icons.patch gtk+/stuff/patches/undo_link_icons.patch gtk+/stuff/replace-icons-paper gtk+3-demo/receipt gtk+3-dev/receipt gtk+3-icon-browser/receipt gtk+3-widget-factory/receipt gtk+3/receipt gtk+3/stuff/patches/gtk3-misc.patch gtk+3/stuff/patches/series hydroxygen-iconset/receipt libepoxy-dev/receipt libepoxy/receipt paper-icon-theme/receipt slitaz-icons-elementary/receipt slitaz-icons-hydroxygen/receipt slitaz-icons-paper/receipt
line diff
     1.1 --- a/adwaita-icon-theme/receipt	Mon Aug 14 15:53:27 2017 +0300
     1.2 +++ b/adwaita-icon-theme/receipt	Thu Aug 17 16:45:06 2017 +0300
     1.3 @@ -1,8 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="adwaita-icon-theme"
     1.8 -VERSION="3.23.91"
     1.9 -SERIES="$(echo $VERSION | cut -d. -f1,2)"
    1.10 +VERSION="3.22.0" # please, synchronize with the gtk+3 version (3.22.x)
    1.11  CATEGORY="customization"
    1.12  SHORT_DESC="A collection of icons used at the basis for GNOME themes"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14 @@ -10,20 +9,31 @@
    1.15  WEB_SITE="https://github.com/GNOME/adwaita-icon-theme"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
    1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/adwaita-icon-theme.html
    1.25 +
    1.26  	./configure \
    1.27  		--prefix=/usr \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make install
    1.30 +	make && make install &&
    1.31 +
    1.32 +	# fix icons
    1.33 +	sed -i 's|-inkscape-font-specification:&apos;Cantarell Bold&apos;;||' \
    1.34 +		$install/usr/share/icons/Adwaita/scalable/actions/address-book-new-symbolic.svg &&
    1.35 +	sed -i 's|-inkscape-font-specification:&apos;Bitstream Vera Sans&apos;;||' \
    1.36 +		$install/usr/share/icons/Adwaita/scalable/actions/call-stop-symbolic.svg &&
    1.37 +	sed -i '/<<<<<<< HEAD/,/=======/d; />>>>>>>/d' \
    1.38 +		$install/usr/share/icons/Adwaita/scalable/actions/send-to-symbolic.svg &&
    1.39 +	sed -i 's|-inkscape-font-specification:&apos;Andale Mono&apos;;||' \
    1.40 +		$install/usr/share/icons/Adwaita/scalable/places/folder-download-symbolic.svg
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	cp -a $install/* $fs
    1.47 -	rm -r $fs/usr/share/pkgconfig
    1.48 +	copy @std
    1.49  }
     2.1 --- a/at-spi2-atk/receipt	Mon Aug 14 15:53:27 2017 +0300
     2.2 +++ b/at-spi2-atk/receipt	Thu Aug 17 16:45:06 2017 +0300
     2.3 @@ -1,11 +1,11 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="at-spi2-atk"
     2.7 -VERSION="2.20.1"
     2.8 +VERSION="2.22.0"
     2.9  CATEGORY="libdevel"
    2.10 -LICENSE="GPL3"
    2.11  SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service"
    2.12  MAINTAINER="yuripourre@gmail.com"
    2.13 +LICENSE="GPL3"
    2.14  WEB_SITE="https://www.gnome.org/"
    2.15  
    2.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.17 @@ -17,6 +17,7 @@
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20  {
    2.21 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/at-spi2-atk.html
    2.22  	./configure $CONFIGURE_ARGS && make && make install
    2.23  }
    2.24  
    2.25 @@ -25,14 +26,16 @@
    2.26  	case $PACKAGE in
    2.27  		at-spi2-atk)
    2.28  			copy @std
    2.29 -			DEPENDS="at-spi2-core atk dbus glib libffi libxcb pcre xorg-libX11 \
    2.30 -			xorg-libXau xorg-libXdmcp"
    2.31 +			DEPENDS="at-spi2-core atk dbus glib libffi pcre util-linux-uuid \
    2.32 +			xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
    2.33 +			xorg-libxcb"
    2.34  			;;
    2.35  		at-spi2-atk-dev)
    2.36  			copy @dev
    2.37 -			DEPENDS="at-spi2-atk gobject-introspection-dev at-spi2-core-dev \
    2.38 -			glib-dev atk-dev libffi-dev xorg-libX11-dev libxcb-dev \
    2.39 -			xorg-libXau-dev xorg-libXdmcp-dev dbus-dev pcre-dev"
    2.40 +			DEPENDS="at-spi2-atk \
    2.41 +			at-spi2-core-dev atk-dev dbus-dev glib-dev libffi-dev pcre-dev \
    2.42 +			util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
    2.43 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
    2.44  			;;
    2.45  	esac
    2.46  }
     3.1 --- a/at-spi2-core/receipt	Mon Aug 14 15:53:27 2017 +0300
     3.2 +++ b/at-spi2-core/receipt	Thu Aug 17 16:45:06 2017 +0300
     3.3 @@ -1,23 +1,24 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="at-spi2-core"
     3.7 -VERSION="2.20.2"
     3.8 +VERSION="2.22.0"
     3.9  CATEGORY="libdevel"
    3.10 -LICENSE="GPL3"
    3.11  SHORT_DESC="Service Provider Interface for the Assistive Technologies"
    3.12  MAINTAINER="al.bobylev@gmail.com"
    3.13 +LICENSE="GPL3"
    3.14  WEB_SITE="https://www.gnome.org/"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.18  
    3.19 -BUILD_DEPENDS="intltool dbus-dev xorg-libX11-dev xorg-libXtst-dev \
    3.20 -gobject-introspection-dev"
    3.21 +BUILD_DEPENDS="intltool dbus-dev xorg-libX11-dev xorg-libICE-dev \
    3.22 +xorg-libXtst-dev xorg-libSM-dev gobject-introspection-dev"
    3.23  SPLIT="at-spi2-core-dev"
    3.24  
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/at-spi2-core.html
    3.29  	./configure \
    3.30  		--sysconfdir=/etc \
    3.31  		$CONFIGURE_ARGS &&
    3.32 @@ -30,14 +31,16 @@
    3.33  	case $PACKAGE in
    3.34  		at-spi2-core)
    3.35  			copy @std
    3.36 -			DEPENDS="dbus glib libffi libxcb pcre xorg-libX11 \
    3.37 -			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst zlib"
    3.38 +			DEPENDS="dbus glib libffi pcre util-linux-blkid util-linux-mount \
    3.39 +			util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    3.40 +			xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst xorg-libxcb zlib"
    3.41  			;;
    3.42  		at-spi2-core-dev)
    3.43  			copy @dev
    3.44 -			DEPENDS="at-spi2-core dbus-dev glib-dev gobject-introspection-dev \
    3.45 -			libffi-dev xorg-libX11-dev libxcb-dev xorg-libXau-dev \
    3.46 -			xorg-libXdmcp-dev pcre-dev"
    3.47 +			DEPENDS="at-spi2-core \
    3.48 +			dbus-dev glib-dev gobject-introspection-dev libffi-dev pcre-dev \
    3.49 +			util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
    3.50 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
    3.51  			;;
    3.52  	esac
    3.53  }
     4.1 --- a/elementary-icon-theme/receipt	Mon Aug 14 15:53:27 2017 +0300
     4.2 +++ b/elementary-icon-theme/receipt	Thu Aug 17 16:45:06 2017 +0300
     4.3 @@ -1,27 +1,33 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="elementary-icon-theme"
     4.8 -VERSION="4.0.2"
     4.9 +VERSION="4.2.0"
    4.10  CATEGORY="customization"
    4.11  SHORT_DESC="Smooth modern theme designed to be intuitive"
    4.12  MAINTAINER="al.bobylev@gmail.com"
    4.13  LICENSE="GPL3"
    4.14 -WEB_SITE="https://launchpad.net/elementaryicons"
    4.15 +WEB_SITE="https://github.com/elementary/icons"
    4.16  
    4.17 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.18 -WGET_URL="$WEB_SITE/${VERSION%%.*}.x/$VERSION/+download/$TARBALL"
    4.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.20 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    4.21  
    4.22  #BUILD_DEPENDS="wget cacerts"
    4.23  
    4.24  # Rules to configure and make the package.
    4.25  compile_rules()
    4.26  {
    4.27 -	mkdir -p $install/usr/share/icons/elementary
    4.28 -	cp -a $src/* $install/usr/share/icons/elementary
    4.29 +	icodir=$install/usr/share/icons/elementary
    4.30 +	mkdir -p $icodir
    4.31 +	cp -r $src/* $icodir
    4.32 +
    4.33 +	docdir=$install/usr/share/doc/$PACKAGE-$VERSION
    4.34 +	mkdir -p $docdir
    4.35 +	cd $icodir
    4.36 +	mv AUTHORS *.md CONTRIBUTORS COPYING *.gpl pre-commit $docdir
    4.37  }
    4.38  
    4.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.40  genpkg_rules()
    4.41  {
    4.42 -	cp -a $install/* $fs
    4.43 +	copy @std
    4.44  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/faience-icon-theme/receipt	Thu Aug 17 16:45:06 2017 +0300
     5.3 @@ -0,0 +1,28 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="faience-icon-theme"
     5.7 +VERSION="0.5.1"
     5.8 +CATEGORY="customization"
     5.9 +SHORT_DESC="Icon theme based on Faenza"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="GPL3"
    5.12 +WEB_SITE="https://tiheum.deviantart.com/art/Faience-icon-theme-255099649"
    5.13 +HOST_ARCH="any"
    5.14 +
    5.15 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    5.16 +WGET_URL="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$PACKAGE/$TARBALL"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	mkdir -p $install/usr/share/icons
    5.22 +	cp -r Faience* $install/usr/share/icons
    5.23 +	find $install -name '*.theme' -exec chmod 0644 '{}' \;
    5.24 +}
    5.25 +
    5.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.27 +genpkg_rules()
    5.28 +{
    5.29 +	cp -a $install/* $fs
    5.30 +	DEPENDS="faenza-icon-theme"
    5.31 +}
     6.1 --- a/gtk+-demo/receipt	Mon Aug 14 15:53:27 2017 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,19 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="gtk+-demo"
     6.7 -VERSION="2.24.30"
     6.8 -CATEGORY="development"
     6.9 -SHORT_DESC="The GIMP Toolkit (example code and demo)"
    6.10 -MAINTAINER="pankso@slitaz.org"
    6.11 -LICENSE="GPL2"
    6.12 -WEB_SITE="https://www.gtk.org/"
    6.13 -HOST_ARCH="i486 arm"
    6.14 -
    6.15 -WANTED="gtk+"
    6.16 -DEPENDS="gtk+"
    6.17 -
    6.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.19 -genpkg_rules()
    6.20 -{
    6.21 -	copy gtk-demo demo/
    6.22 -}
     7.1 --- a/gtk+-demo/stuff/gtk+-demo.desktop	Mon Aug 14 15:53:27 2017 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,6 +0,0 @@
     7.4 -[Desktop Entry]
     7.5 -Type=Application
     7.6 -Name=GTK+ Code demo
     7.7 -Exec=gtk-demo
     7.8 -Icon=gtk
     7.9 -Categories=GTK;Development;
     8.1 --- a/gtk+-dev/receipt	Mon Aug 14 15:53:27 2017 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,23 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="gtk+-dev"
     8.7 -VERSION="2.24.30"
     8.8 -CATEGORY="development"
     8.9 -SHORT_DESC="The GIMP Toolkit."
    8.10 -MAINTAINER="pankso@slitaz.org"
    8.11 -LICENSE="GPL2"
    8.12 -WEB_SITE="http://www.gtk.org/"
    8.13 -HOST_ARCH="i486 arm"
    8.14 -
    8.15 -WANTED="gtk+"
    8.16 -DEPENDS="gtk+ atk-dev bzip2-dev cairo-dev cups-dev fontconfig-dev freetype-dev \
    8.17 -gdk-pixbuf-dev glib-dev glibc-dev gnutls-dev harfbuzz-dev libffi-dev \
    8.18 -liblzma-dev libpng-dev libxcb-dev libxml2-dev pango-dev pcre-dev \
    8.19 -pixman-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    8.20 -xorg-libXrender-dev zlib-dev"
    8.21 -
    8.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.23 -genpkg_rules()
    8.24 -{
    8.25 -	copy *.h *.la *.pc *.m4 *.typelib *.gir
    8.26 -}
     9.1 --- a/gtk+/receipt	Mon Aug 14 15:53:27 2017 +0300
     9.2 +++ b/gtk+/receipt	Thu Aug 17 16:45:06 2017 +0300
     9.3 @@ -1,71 +1,101 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="gtk+"
     9.8 -VERSION="2.24.30"
     9.9 +VERSION="2.24.31"
    9.10  CATEGORY="x-window"
    9.11 -SHORT_DESC="The GIMP Toolkit."
    9.12 +SHORT_DESC="The GIMP Toolkit"
    9.13  MAINTAINER="pankso@slitaz.org"
    9.14  LICENSE="GPL2"
    9.15  WEB_SITE="https://www.gtk.org/"
    9.16  HOST_ARCH="i486 arm"
    9.17 -CONF_FILES="/etc/gtk-2.0/im-multipress.conf"
    9.18 -SUGGESTED="cups gnutls libgcrypt libgpg-error"
    9.19  
    9.20  TARBALL="$PACKAGE-$VERSION.tar.xz"
    9.21  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    9.22  
    9.23 -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib harfbuzz libcups \
    9.24 -libffi libgnutls liblzma libpng libxcb libxml2 pango pcre pixman \
    9.25 -xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
    9.26 -BUILD_DEPENDS="faenza-icon-theme optipng glib-dev atk-dev pango-dev cairo-dev \
    9.27 -gdk-pixbuf-dev cups-dev gobject-introspection-dev gtk-doc automake gettext"
    9.28  BUILD_DEPENDS_arm="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
    9.29  xorg-inputproto libxcb-dev fontconfig-dev freetype-dev pixman-dev libxml2-dev \
    9.30  libpng-dev libffi-dev xorg-xextproto harfbuzz-dev faenza-icon-theme optipng \
    9.31  xorg-libX11-dev xorg-libXext-dev xorg-libXrender-dev automake"
    9.32 -SPLIT="gtk+-demo gtk+-dev"
    9.33 -
    9.34 -# Handle cross compilation.
    9.35 -case "$ARCH" in
    9.36 -	arm*)
    9.37 -		BUILD_DEPENDS=$BUILD_DEPENDS_arm
    9.38 -		ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
    9.39 -		--disable-papi --with-gdktarget=x11 --with-xinput gio_can_sniff=yes"
    9.40 -		export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
    9.41 -		export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include"
    9.42 -		export LIBTOOL=${HOST_SYSTEM}-libtool
    9.43 -		;;
    9.44 -esac
    9.45 -
    9.46 +BUILD_DEPENDS="paper-icon-theme rsvg-convert optipng-static pngquant-static \
    9.47 +symlinks \
    9.48 +glib-dev atk-dev pango-dev cairo-dev gdk-pixbuf-dev cups-dev \
    9.49 +gobject-introspection-dev gtk-doc automake gettext xorg-libXinerama-dev"
    9.50 +SPLIT="gtk+-demo gtk+ gtk+-dev"
    9.51  
    9.52  # Rules to configure and make the package.
    9.53  compile_rules()
    9.54  {
    9.55 -	while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series
    9.56 -	. $stuff/replace-icons; cd $src
    9.57 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/gtk2.html
    9.58 +
    9.59 +	# Handle cross compilation.
    9.60 +	case "$ARCH" in
    9.61 +		arm*)
    9.62 +			BUILD_DEPENDS=$BUILD_DEPENDS_arm
    9.63 +			ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
    9.64 +			--disable-papi --with-gdktarget=x11 --with-xinput gio_can_sniff=yes"
    9.65 +			export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
    9.66 +			export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include"
    9.67 +			export LIBTOOL=${HOST_SYSTEM}-libtool
    9.68 +			;;
    9.69 +	esac
    9.70 +
    9.71 +	. $stuff/replace-icons-paper; cd $src
    9.72  
    9.73  	./configure \
    9.74 -		--prefix=/usr \
    9.75  		--sysconfdir=/etc \
    9.76  		--with-html-dir=/usr/share/doc \
    9.77 -		$CONFIGURE_ARGS ${ARCH_ARGS} &&
    9.78 +		--enable-debug=no \
    9.79 +		$CONFIGURE_ARGS $ARCH_ARGS &&
    9.80  	make $MAKEFLAGS $LIBTOOL &&
    9.81 -	make install
    9.82 +	make install &&
    9.83 +
    9.84 +	ln -s /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
    9.85 +		$install/etc/gtk-2.0/gdk-pixbuf.loaders &&
    9.86 +
    9.87 +	mkdir -p $install/usr/share/applications &&
    9.88 +	cp $stuff/*.desktop $install/usr/share/applications
    9.89  }
    9.90  
    9.91  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.92  genpkg_rules()
    9.93  {
    9.94 -	copy etc/ bin/ themes/
    9.95 -	find $fs -name gtk-demo -delete
    9.96 -	copy *.so*
    9.97 -
    9.98 -	ln -s /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
    9.99 -		$fs/etc/gtk-2.0/gdk-pixbuf.loaders
   9.100 +	case $PACKAGE in
   9.101 +		gtk+-demo)
   9.102 +			copy gtk-demo demo/ *.desktop
   9.103 +			CAT="development|example code and demo"
   9.104 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   9.105 +			libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
   9.106 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
   9.107 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama \
   9.108 +			xorg-libXrender xorg-libxcb xorg-pixman zlib"
   9.109 +			;;
   9.110 +		gtk+)
   9.111 +			COOKOPTS="!menus"
   9.112 +			copy @std
   9.113 +			remove_already_packed
   9.114 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
   9.115 +			libcups libffi libgnutls libharfbuzz liblzma libpng16 libxml2 \
   9.116 +			pango pcre util-linux-blkid util-linux-mount util-linux-uuid \
   9.117 +			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
   9.118 +			xorg-libXinerama xorg-libXrender xorg-libxcb xorg-pixman zlib"
   9.119 +			CONFIG_FILES="/etc/gtk-2.0/im-multipress.conf"
   9.120 +			SUGGESTED="cups gnutls libgcrypt libgpg-error"
   9.121 +			;;
   9.122 +		gtk+-dev)
   9.123 +			copy @dev
   9.124 +			DEPENDS="gtk+ \
   9.125 +			atk-dev bzip2-dev cairo-dev cups-dev fontconfig-dev \
   9.126 +			freetype-dev gdk-pixbuf-dev glib-dev glibc-dev gnutls-dev \
   9.127 +			harfbuzz-dev libffi-dev liblzma-dev libpng16-dev libxml2-dev \
   9.128 +			pango-dev pcre-dev util-linux-blkid-dev util-linux-mount-dev \
   9.129 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
   9.130 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXinerama-dev \
   9.131 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   9.132 +			;;
   9.133 +	esac
   9.134  }
   9.135  
   9.136  # Pre and post install commands for Tazpkg.
   9.137 -post_install()
   9.138 -{
   9.139 +post_install_gtk_() {
   9.140  	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 --update-cache
   9.141  }
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/gtk+/stuff/gtk+-demo.desktop	Thu Aug 17 16:45:06 2017 +0300
    10.3 @@ -0,0 +1,6 @@
    10.4 +[Desktop Entry]
    10.5 +Type=Application
    10.6 +Name=GTK+ Code demo
    10.7 +Exec=gtk-demo
    10.8 +Icon=gtk
    10.9 +Categories=GTK;Development;
    11.1 --- a/gtk+/stuff/patches/series	Mon Aug 14 15:53:27 2017 +0300
    11.2 +++ b/gtk+/stuff/patches/series	Thu Aug 17 16:45:06 2017 +0300
    11.3 @@ -1,1 +1,1 @@
    11.4 -undo_gen_icons.patch
    11.5 +undo_link_icons.patch
    12.1 --- a/gtk+/stuff/patches/undo_gen_icons.patch	Mon Aug 14 15:53:27 2017 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,24 +0,0 @@
    12.4 ---- a/gtk/Makefile.am
    12.5 -+++ b/gtk/Makefile.am
    12.6 -@@ -1347,10 +1347,6 @@
    12.7 -         fi &&								\
    12.8 - 	for i in 16 24; do						\
    12.9 - 	   (cd stock-icons/$$i						\
   12.10 --	   && $(RM) document-save.png 					\
   12.11 --	   && $(LN_S) media-floppy.png document-save.png 		\
   12.12 --	   && $(RM) folder-remote.png 					\
   12.13 --	   && $(LN_S) folder.png folder-remote.png 			\
   12.14 - 	   && $(RM) go-first-rtl.png 					\
   12.15 - 	   && $(LN_S) go-last-ltr.png go-first-rtl.png 			\
   12.16 - 	   && $(RM) go-last-rtl.png 					\
   12.17 -@@ -1367,10 +1363,6 @@
   12.18 - 	   && $(LN_S) media-skip-forward-ltr.png media-skip-backward-rtl.png \
   12.19 - 	   && $(RM) media-skip-forward-rtl.png 				\
   12.20 - 	   && $(LN_S) media-skip-backward-ltr.png media-skip-forward-rtl.png \
   12.21 --	   && $(RM) user-desktop.png 					\
   12.22 --	   && $(LN_S) folder.png user-desktop.png 			\
   12.23 --	   && $(RM) user-home.png 					\
   12.24 --	   && $(LN_S) folder.png user-home.png 				\
   12.25 - 	) done 								\
   12.26 - 	&& touch stamp-icons
   12.27 - 
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/gtk+/stuff/patches/undo_link_icons.patch	Thu Aug 17 16:45:06 2017 +0300
    13.3 @@ -0,0 +1,38 @@
    13.4 +--- a/gtk/Makefile.am
    13.5 ++++ b/gtk/Makefile.am
    13.6 +@@ -1409,34 +1409,7 @@
    13.7 + 	  done;								\
    13.8 + 	  chmod -R u+w stock-icons;					\
    13.9 +         fi &&								\
   13.10 +-	for i in 16 24; do						\
   13.11 +-	   (cd stock-icons/$$i						\
   13.12 +-	   && $(RM) document-save.png 					\
   13.13 +-	   && $(LN_S) media-floppy.png document-save.png 		\
   13.14 +-	   && $(RM) folder-remote.png 					\
   13.15 +-	   && $(LN_S) folder.png folder-remote.png 			\
   13.16 +-	   && $(RM) go-first-rtl.png 					\
   13.17 +-	   && $(LN_S) go-last-ltr.png go-first-rtl.png 			\
   13.18 +-	   && $(RM) go-last-rtl.png 					\
   13.19 +-	   && $(LN_S) go-first-ltr.png go-last-rtl.png 			\
   13.20 +-	   && $(RM) go-next-rtl.png 					\
   13.21 +-	   && $(LN_S) go-previous-ltr.png go-next-rtl.png 		\
   13.22 +-	   && $(RM) go-previous-rtl.png 				\
   13.23 +-	   && $(LN_S) go-next-ltr.png go-previous-rtl.png 		\
   13.24 +-	   && $(RM) media-seek-backward-rtl.png 			\
   13.25 +-	   && $(LN_S) media-seek-forward-ltr.png media-seek-backward-rtl.png \
   13.26 +-	   && $(RM) media-seek-forward-rtl.png 				\
   13.27 +-	   && $(LN_S) media-seek-backward-ltr.png media-seek-forward-rtl.png \
   13.28 +-	   && $(RM) media-skip-backward-rtl.png 			\
   13.29 +-	   && $(LN_S) media-skip-forward-ltr.png media-skip-backward-rtl.png \
   13.30 +-	   && $(RM) media-skip-forward-rtl.png 				\
   13.31 +-	   && $(LN_S) media-skip-backward-ltr.png media-skip-forward-rtl.png \
   13.32 +-	   && $(RM) user-desktop.png 					\
   13.33 +-	   && $(LN_S) folder.png user-desktop.png 			\
   13.34 +-	   && $(RM) user-home.png 					\
   13.35 +-	   && $(LN_S) folder.png user-home.png 				\
   13.36 +-	) done 								\
   13.37 +-	&& touch stamp-icons
   13.38 ++	touch stamp-icons
   13.39 + 
   13.40 + if CROSS_COMPILING
   13.41 + gtk_update_icon_cache_program = $(GTK_UPDATE_ICON_CACHE)
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/gtk+/stuff/replace-icons-paper	Thu Aug 17 16:45:06 2017 +0300
    14.3 @@ -0,0 +1,132 @@
    14.4 +# Replace GTK+ stock icons by Paper icons
    14.5 +# in order to strip icon theme and save some space.
    14.6 +
    14.7 +
    14.8 +# Return shortest line
    14.9 +shortest_line() {
   14.10 +	S=$1; shift
   14.11 +	for L in $@; do
   14.12 +		[ "${#L}" -lt "${#S}" ] && S="$L"
   14.13 +	done
   14.14 +	echo "$S"
   14.15 +}
   14.16 +
   14.17 +# Replace the same files by symlinks, $@ - list of identical files
   14.18 +make_symlinks() {
   14.19 +	S=$(shortest_line $@)
   14.20 +	for file in $@; do
   14.21 +		[ "$S" != "$file" ] && ln -sf $S $file
   14.22 +	done
   14.23 +}
   14.24 +
   14.25 +
   14.26 +echo -n "Replacing icons... "
   14.27 +
   14.28 +F=/usr/share/icons/Paper
   14.29 +
   14.30 +# copy icon
   14.31 +ci() {
   14.32 +	icon=$(basename $1 .png)
   14.33 +	size="$2"
   14.34 +	sub=''
   14.35 +	case $icon in
   14.36 +		*-ltr) sub=${icon%-*};;
   14.37 +		*-rtl)
   14.38 +			case ${icon%-*} in
   14.39 +				edit-redo)				sub='edit-undo';;
   14.40 +				edit-undo)				sub='edit-redo';;
   14.41 +				format-indent-less)		sub='format-indent-more';;
   14.42 +				format-indent-more)		sub='format-indent-less';;
   14.43 +				go-first)				sub='go-last';;
   14.44 +				go-last)				sub='go-first';;
   14.45 +				go-next)				sub='go-previous';;
   14.46 +				go-previous)			sub='go-next';;
   14.47 +				media-seek-backward)	sub='media-seek-forward';;
   14.48 +				media-seek-forward)		sub='media-seek-backward';;
   14.49 +				media-skip-backward)	sub='media-skip-forward';;
   14.50 +				media-skip-forward)		sub='media-skip-backward';;
   14.51 +			esac
   14.52 +			sub="$sub $sub-ltr"
   14.53 +			;;
   14.54 +		gtk-caps-lock-warning)		sub='dialog-warning';;
   14.55 +		gtk-color-picker)			sub='color-picker';;
   14.56 +		gtk-connect)				sub='network-transmit-receive';;
   14.57 +		gtk-disconnect)				sub='network-offline';;
   14.58 +		gtk-edit)					sub='edit';;
   14.59 +		gtk-font)					sub='font-x-generic';;
   14.60 +		gtk-page-setup)				sub='document-page-setup';;
   14.61 +		gtk-preferences)			sub='preferences-desktop';;
   14.62 +		gtk-select-color)			sub='color-select';;
   14.63 +		gtk-select-font)			sub='font-select';;
   14.64 +		gtk-apply)					sub='object-select';;
   14.65 +		gtk-no)						sub='emblem-unreadable';;
   14.66 +		gtk-yes)					sub='emblem-default';;
   14.67 +		gtk-ok)						sub='object-select';;
   14.68 +	esac
   14.69 +
   14.70 +	found=''
   14.71 +	for i in png svg; do
   14.72 +		for j in actions apps categories devices emblems emotes mimetypes places status; do
   14.73 +			for k in $icon $sub; do
   14.74 +				if [ -f "$F/$size/$j/$k.$i" ]; then
   14.75 +					found="$F/$size/$j/$k.$i"
   14.76 +					break 3
   14.77 +				fi
   14.78 +			done
   14.79 +		done
   14.80 +	done
   14.81 +	case $found in
   14.82 +		*.png) cp -f $found $1;;
   14.83 +		*.svg) rm $1; rsvg-convert $found -o $1;;
   14.84 +	esac
   14.85 +}
   14.86 +
   14.87 +cd $src/gtk/stock-icons/16; for a in $(ls); do ci $a 16x16; done
   14.88 +cd $src/gtk/stock-icons/20; for a in $(ls); do ci $a 16x16; done # yes, using 16x16 for 20
   14.89 +cd $src/gtk/stock-icons/24; for a in $(ls); do ci $a 16x16; done # too
   14.90 +cd $src/gtk/stock-icons/32; for a in $(ls); do ci $a 32x32; done
   14.91 +cd $src/gtk/stock-icons/48; for a in $(ls); do ci $a 48x48; done
   14.92 +
   14.93 +echo "Done"
   14.94 +
   14.95 +for folder in 16 20 24 32 48; do
   14.96 +	echo -n "Optimizing folder icons $folder... "
   14.97 +	cd $src/gtk/stock-icons/$folder
   14.98 +	for icon in ./*.png; do
   14.99 +		pngquant -f --skip-if-larger --ext .png --speed 1 "$icon"
  14.100 +		optipng -quiet -o7 -zm1-9 "$icon"
  14.101 +	done
  14.102 +	echo "Done"
  14.103 +done
  14.104 +
  14.105 +
  14.106 +# replace the same icons by symlinks
  14.107 +
  14.108 +MD5FILE=$(mktemp)
  14.109 +find $src/gtk/stock-icons -type f -exec md5sum '{}' \; | sort > $MD5FILE
  14.110 +for md in $(uniq -d -w32 $MD5FILE | cut -c1-32); do
  14.111 +	make_symlinks $(grep $md $MD5FILE | cut -c35-)
  14.112 +done
  14.113 +rm "$MD5FILE"
  14.114 +# make all symlinks relative
  14.115 +symlinks -crs $src/gtk/stock-icons >/dev/null 2>&1
  14.116 +
  14.117 +
  14.118 +
  14.119 +# missing icons:
  14.120 +# 16, 24
  14.121 +# ==============================================================================
  14.122 +# gtk-convert
  14.123 +# gtk-index
  14.124 +# gtk-orientation-landscape
  14.125 +# gtk-orientation-portrait
  14.126 +# gtk-orientation-reverse-landscape
  14.127 +# gtk-orientation-reverse-portrait
  14.128 +# gtk-undelete-ltr
  14.129 +# gtk-undelete-rtl
  14.130 +# printer-paused
  14.131 +# printer-warning
  14.132 +# 32
  14.133 +# ==============================================================================
  14.134 +# gtk-dnd
  14.135 +# gtk-dnd-multiple
    15.1 --- a/gtk+3-demo/receipt	Mon Aug 14 15:53:27 2017 +0300
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,20 +0,0 @@
    15.4 -# SliTaz package receipt.
    15.5 -
    15.6 -PACKAGE="gtk+3-demo"
    15.7 -VERSION="3.20.9"
    15.8 -CATEGORY="development"
    15.9 -SHORT_DESC="The GIMP Toolkit 3.x (example code and demo)"
   15.10 -MAINTAINER="pankso@slitaz.org"
   15.11 -LICENSE="LGPL2"
   15.12 -WEB_SITE="https://www.gtk.org/"
   15.13 -
   15.14 -WANTED="gtk+3"
   15.15 -DEPENDS="gtk+3"
   15.16 -
   15.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.18 -genpkg_rules()
   15.19 -{
   15.20 -	copy gtk3-demo* *Demo* *exampleapp*
   15.21 -
   15.22 -	rm -r $fs/usr/share/gtk-doc $fs/usr/share/man
   15.23 -}
    16.1 --- a/gtk+3-dev/receipt	Mon Aug 14 15:53:27 2017 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,26 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="gtk+3-dev"
    16.7 -VERSION="3.20.9"
    16.8 -CATEGORY="development"
    16.9 -SHORT_DESC="The GIMP Toolkit 3.x (development files)"
   16.10 -MAINTAINER="pankso@slitaz.org"
   16.11 -LICENSE="LGPL2"
   16.12 -WEB_SITE="https://www.gtk.org/"
   16.13 -
   16.14 -WANTED="gtk+3"
   16.15 -DEPENDS="gtk+3 gtk+3-demo gtk+3-icon-browser gtk+3-widget-factory \
   16.16 -at-spi2-atk-dev at-spi2-core-dev atk-dev bzip2-dev cairo-dev \
   16.17 -colord-dev cups-dev dbus-dev eudev-dev fontconfig-dev freetype-dev \
   16.18 -gdk-pixbuf-dev glib-dev glibc-dev gnutls-dev harfbuzz-dev lcms2-dev \
   16.19 -libepoxy-dev libffi-dev liblzma-dev libpng-dev libxcb-dev \
   16.20 -libxml2-dev pango-dev pcre-dev pixman-dev xorg-libX11-dev xorg-libXau-dev \
   16.21 -xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev \
   16.22 -xorg-libXfixes-dev xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \
   16.23 -xorg-libXrender-dev zlib-dev"
   16.24 -
   16.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.26 -genpkg_rules()
   16.27 -{
   16.28 -	copy *.h *.la *.pc *.typelib *.gir *.m4 *.its *.loc *.rng
   16.29 -}
    17.1 --- a/gtk+3-icon-browser/receipt	Mon Aug 14 15:53:27 2017 +0300
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,18 +0,0 @@
    17.4 -# SliTaz package receipt.
    17.5 -
    17.6 -PACKAGE="gtk+3-icon-browser"
    17.7 -VERSION="3.20.9"
    17.8 -CATEGORY="development"
    17.9 -SHORT_DESC="The GIMP Toolkit 3.x (icon browser)"
   17.10 -MAINTAINER="al.bobylev@gmail.com"
   17.11 -LICENSE="LGPL2"
   17.12 -WEB_SITE="https://www.gtk.org/"
   17.13 -
   17.14 -WANTED="gtk+3"
   17.15 -DEPENDS="gtk+3"
   17.16 -
   17.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.18 -genpkg_rules()
   17.19 -{
   17.20 -	copy gtk3-icon-browser gtk3-icon-browser.desktop
   17.21 -}
    18.1 --- a/gtk+3-widget-factory/receipt	Mon Aug 14 15:53:27 2017 +0300
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,20 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="gtk+3-widget-factory"
    18.7 -VERSION="3.20.9"
    18.8 -CATEGORY="development"
    18.9 -SHORT_DESC="The GIMP Toolkit 3.x (widget factory)"
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="LGPL2"
   18.12 -WEB_SITE="https://www.gtk.org/"
   18.13 -
   18.14 -WANTED="gtk+3"
   18.15 -DEPENDS="gtk+3"
   18.16 -
   18.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.18 -genpkg_rules()
   18.19 -{
   18.20 -	copy gtk3-widget*
   18.21 -
   18.22 -	rm -r $fs/usr/share/gtk-doc $fs/usr/share/man
   18.23 -}
    19.1 --- a/gtk+3/receipt	Mon Aug 14 15:53:27 2017 +0300
    19.2 +++ b/gtk+3/receipt	Thu Aug 17 16:45:06 2017 +0300
    19.3 @@ -1,48 +1,43 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="gtk+3"
    19.8 -VERSION="3.20.9"
    19.9 +VERSION="3.22.8"
   19.10  CATEGORY="x-window"
   19.11  SHORT_DESC="The GIMP Toolkit 3.x"
   19.12  MAINTAINER="pankso@slitaz.org"
   19.13  LICENSE="LGPL2"
   19.14  WEB_SITE="https://www.gtk.org/"
   19.15 -CONFIG_FILES="/etc/gtk-3.0/settings.ini"
   19.16 -SUGGESTED="cups"
   19.17 -COOKOPTS="!menus"
   19.18 -
   19.19 -TARBALL="gtk+-$VERSION.tar.xz"
   19.20 -WGET_URL="$GNOME_MIRROR/gtk+/${VERSION:0:4}/$TARBALL"
   19.21 -
   19.22  #HOST_ARCH="i486 arm"
   19.23  CROSS_BUGS="bug: /bin/bash: no: command not found"
   19.24  
   19.25 -DEPENDS="colord at-spi2-atk at-spi2-core atk bzlib cairo dbus eudev fontconfig \
   19.26 -freetype gdk-pixbuf glib harfbuzz lcms2 libcups libepoxy libffi \
   19.27 -libgnutls liblzma libpng libxcb libxml2 pango pcre pixman xorg-libX11 \
   19.28 -xorg-libXau xorg-libXcomposite xorg-libXdamage xorg-libXdmcp xorg-libXext \
   19.29 -xorg-libXfixes xorg-libXi xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
   19.30 +TARBALL="gtk+-$VERSION.tar.xz"
   19.31 +WGET_URL="$GNOME_MIRROR/gtk+/${VERSION%.*}/$TARBALL"
   19.32 +
   19.33 +BUILD_DEPENDS_arm="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
   19.34 +xorg-inputproto"
   19.35  BUILD_DEPENDS="glib-dev atk-dev pango-dev cairo-dev gdk-pixbuf-dev gettext \
   19.36  xorg-libXinerama-dev xorg-libXi-dev xorg-libXrandr-dev xorg-libXcomposite-dev \
   19.37  xorg-libXdamage-dev libepoxy-dev at-spi2-atk-dev cups-dev colord-dev gtk-doc \
   19.38  libxslt"
   19.39 -BUILD_DEPENDS_arm="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
   19.40 -xorg-inputproto"
   19.41 -SPLIT="gtk+3-demo gtk+3-widget-factory gtk+3-icon-browser gtk+3-dev"
   19.42 -
   19.43 -# Handle cross compilation.
   19.44 -case "$ARCH" in
   19.45 -	arm*)
   19.46 -		BUILD_DEPENDS="$BUILD_DEPENDS_arm"
   19.47 -		ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
   19.48 ---disable-papi --with-xinput gio_can_sniff=yes"
   19.49 -		export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
   19.50 -		export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
   19.51 -esac
   19.52 +SPLIT="gtk+3-demo gtk+3-widget-factory gtk+3-icon-browser gtk+3 gtk+3-dev"
   19.53  
   19.54  # Rules to configure and make the package.
   19.55  compile_rules()
   19.56  {
   19.57 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/gtk3.html
   19.58 +
   19.59 +	# Handle cross compilation.
   19.60 +	case "$ARCH" in
   19.61 +		arm*)
   19.62 +			ARCH_ARGS="--enable-introspection=no --disable-glibtest \
   19.63 +			--disable-cups --disable-papi --with-xinput gio_can_sniff=yes"
   19.64 +			export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
   19.65 +			export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include"
   19.66 +			;;
   19.67 +	esac
   19.68 +
   19.69 +	touch gdk/gdk.gresource.xml
   19.70 +
   19.71  	./configure \
   19.72  		--sysconfdir=/etc \
   19.73  		--localstatedir=/var \
   19.74 @@ -63,20 +58,61 @@
   19.75  	make $MAKEFLAGS &&
   19.76  	make DESTDIR=$DESTDIR install
   19.77  
   19.78 +	cp -f $stuff/settings.ini $install/etc/gtk-3.0 &&
   19.79  	find $install -name '*.desktop' | xargs sed -i '/NoDisplay/d'
   19.80  }
   19.81  
   19.82  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.83  genpkg_rules()
   19.84  {
   19.85 -	copy etc/ bin/ themes/ *.so* *.xml
   19.86 -
   19.87 -	cp -f $stuff/settings.ini $fs/etc/gtk-3.0
   19.88 -	find $fs \( -name '*demo*' -o -name 'gtk3-icon*' -o -name '*widget*' \
   19.89 -		-o -name '*Demo*' -o -name '*exampleapp*' \) -delete
   19.90 +	case $PACKAGE in
   19.91 +		gtk+3-demo)
   19.92 +			copy gtk3-demo* *Demo* *exampleapp*
   19.93 +			rm -r $fs/usr/share/gtk-doc $fs/usr/share/man
   19.94 +			CAT="development|example code and demo"
   19.95 +			;;
   19.96 +		gtk+3-widget-factory)
   19.97 +			copy gtk3-widget*
   19.98 +			rm -r $fs/usr/share/gtk-doc $fs/usr/share/man
   19.99 +			CAT="development|widget factory"
  19.100 +			;;
  19.101 +		gtk+3-icon-browser)
  19.102 +			copy gtk3-icon-browser gtk3-icon-browser.desktop
  19.103 +			CAT="development|icon browser"
  19.104 +			;;
  19.105 +		gtk+3)
  19.106 +			COOKOPTS="!menus"
  19.107 +			copy etc/ bin/ themes/ *.so* *.xml
  19.108 +			remove_already_packed
  19.109 +			DEPENDS="at-spi2-atk at-spi2-core atk bzlib cairo colord dbus \
  19.110 +			eudev fontconfig freetype gdk-pixbuf glib lcms2 libcups libepoxy \
  19.111 +			libffi libgnutls libharfbuzz liblzma libpng16 libxml2 pango pcre \
  19.112 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libICE \
  19.113 +			xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
  19.114 +			xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
  19.115 +			xorg-libXi xorg-libXinerama xorg-libXrandr xorg-libXrender \
  19.116 +			xorg-libxcb xorg-pixman zlib"
  19.117 +			CONFIG_FILES="/etc/gtk-3.0/settings.ini"
  19.118 +			SUGGESTED="cups"
  19.119 +			;;
  19.120 +		gtk+3-dev)
  19.121 +			copy @dev *.its *.loc *.rng
  19.122 +#			copy *.h *.la *.pc *.typelib *.gir *.m4 *.its *.loc *.rng
  19.123 +			DEPENDS="gtk+3 gtk+3-demo gtk+3-icon-browser gtk+3-widget-factory \
  19.124 +			at-spi2-atk-dev at-spi2-core-dev atk-dev bzip2-dev cairo-dev \
  19.125 +			colord-dev cups-dev dbus-dev eudev-dev fontconfig-dev freetype-dev \
  19.126 +			gdk-pixbuf-dev glib-dev gnutls-dev harfbuzz-dev lcms2-dev \
  19.127 +			libepoxy-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
  19.128 +			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
  19.129 +			util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
  19.130 +			xorg-libXau-dev xorg-libXcomposite-dev xorg-libXdamage-dev \
  19.131 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \
  19.132 +			xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \
  19.133 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
  19.134 +			;;
  19.135 +	esac
  19.136  }
  19.137  
  19.138 -post_install()
  19.139 -{
  19.140 +post_install_gtk_3() {
  19.141  	chroot "$1/" /usr/bin/gtk-query-immodules-3.0 --update-cache
  19.142  }
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/gtk+3/stuff/patches/gtk3-misc.patch	Thu Aug 17 16:45:06 2017 +0300
    20.3 @@ -0,0 +1,14 @@
    20.4 +--- a/gtk/gtktextview.h
    20.5 ++++ b/gtk/gtktextview.h
    20.6 +@@ -56,9 +56,9 @@
    20.7 +  */
    20.8 + typedef enum
    20.9 + {
   20.10 +-  /*< private >*/
   20.11 ++  /* < private > */
   20.12 +   GTK_TEXT_WINDOW_PRIVATE,
   20.13 +-  /*< public >*/
   20.14 ++  /* < public > */
   20.15 +   GTK_TEXT_WINDOW_WIDGET,
   20.16 +   GTK_TEXT_WINDOW_TEXT,
   20.17 +   GTK_TEXT_WINDOW_LEFT,
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/gtk+3/stuff/patches/series	Thu Aug 17 16:45:06 2017 +0300
    21.3 @@ -0,0 +1,1 @@
    21.4 +gtk3-misc.patch
    22.1 --- a/hydroxygen-iconset/receipt	Mon Aug 14 15:53:27 2017 +0300
    22.2 +++ b/hydroxygen-iconset/receipt	Thu Aug 17 16:45:06 2017 +0300
    22.3 @@ -1,4 +1,4 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="hydroxygen-iconset"
    22.8  VERSION="20090119"
    22.9 @@ -14,7 +14,7 @@
   22.10  # Rules to configure and make the package.
   22.11  compile_rules()
   22.12  {
   22.13 -	# Source Zip zrchive contains Tar.Bz2 archive inside
   22.14 +	# Source Zip archive contains Tar.Bz2 archive inside
   22.15  	echo 'Extract sources'
   22.16  	busybox tar -xjf hydroxygen_iconset.tar.bz2 || return 1
   22.17  	rm $src/*.tar.bz2
    23.1 --- a/libepoxy-dev/receipt	Mon Aug 14 15:53:27 2017 +0300
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,18 +0,0 @@
    23.4 -# SliTaz package receipt.
    23.5 -
    23.6 -PACKAGE="libepoxy-dev"
    23.7 -VERSION="1.3.1"
    23.8 -CATEGORY="x-window"
    23.9 -SHORT_DESC="Library for handling OpenGL function pointer management (development files)"
   23.10 -MAINTAINER="al.bobylev@gmail.com"
   23.11 -LICENSE="MIT"
   23.12 -WEB_SITE="https://github.com/anholt/libepoxy/"
   23.13 -
   23.14 -WANTED="libepoxy"
   23.15 -DEPENDS="libepoxy"
   23.16 -
   23.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.18 -genpkg_rules()
   23.19 -{
   23.20 -	copy *.h *.la *.pc
   23.21 -}
    24.1 --- a/libepoxy/receipt	Mon Aug 14 15:53:27 2017 +0300
    24.2 +++ b/libepoxy/receipt	Thu Aug 17 16:45:06 2017 +0300
    24.3 @@ -1,26 +1,31 @@
    24.4 -# SliTaz package receipt.
    24.5 +# SliTaz package receipt v2.
    24.6  
    24.7  PACKAGE="libepoxy"
    24.8 -VERSION="1.3.1"
    24.9 +VERSION="1.4.0"
   24.10  CATEGORY="x-window"
   24.11  SHORT_DESC="Library for handling OpenGL function pointer management"
   24.12  MAINTAINER="al.bobylev@gmail.com"
   24.13  LICENSE="MIT"
   24.14  WEB_SITE="https://github.com/anholt/libepoxy/"
   24.15  
   24.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   24.17 -WGET_URL="${WEB_SITE}releases/download/v$VERSION/$TARBALL"
   24.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   24.19 +WGET_URL="https://github.com/anholt/libepoxy/releases/download/v${VERSION%.*}/$TARBALL"
   24.20  
   24.21  BUILD_DEPENDS="xorg-util-macros python mesa-dev"
   24.22 +SPLIT="libepoxy-dev"
   24.23  
   24.24  # Rules to configure and make the package.
   24.25  compile_rules()
   24.26  {
   24.27 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/libepoxy.html
   24.28  	./configure $CONFIGURE_ARGS && make && make install
   24.29  }
   24.30  
   24.31  # Rules to gen a SliTaz package suitable for Tazpkg.
   24.32  genpkg_rules()
   24.33  {
   24.34 -	copy *.so*
   24.35 +	case $PACKAGE in
   24.36 +		libepoxy) copy @std;;
   24.37 +		*-dev)    copy @dev;;
   24.38 +	esac
   24.39  }
    25.1 --- a/paper-icon-theme/receipt	Mon Aug 14 15:53:27 2017 +0300
    25.2 +++ b/paper-icon-theme/receipt	Thu Aug 17 16:45:06 2017 +0300
    25.3 @@ -1,8 +1,8 @@
    25.4 -# SliTaz package receipt.
    25.5 +# SliTaz package receipt v2.
    25.6  
    25.7  PACKAGE="paper-icon-theme"
    25.8 -VERSION="1.4.0.11"
    25.9 -COMMIT="579e9aa"
   25.10 +VERSION="1.4.0.28"	# released v.1.4.0 + 28 commits since it
   25.11 +COMMIT="0411510"
   25.12  CATEGORY="customization"
   25.13  SHORT_DESC="Simple and modern icon theme with material design influences"
   25.14  MAINTAINER="al.bobylev@gmail.com"
   25.15 @@ -12,13 +12,13 @@
   25.16  TARBALL="$PACKAGE-$COMMIT.tar.gz"
   25.17  WGET_URL="$GITHUB/snwh/paper-icon-theme/tarball/${COMMIT:-$VERSION}"
   25.18  
   25.19 -DEPENDS="librsvg"
   25.20 -BUILD_DEPENDS="autoconf automake svgcleaner"
   25.21 +BUILD_DEPENDS="automake" # svgcleaner"
   25.22  
   25.23  # Rules to configure and make the package.
   25.24  compile_rules()
   25.25  {
   25.26  	./autogen.sh &&
   25.27 +	sed -i 's|-Rv|-R|' Makefile &&
   25.28  	make && make install
   25.29  
   25.30  	# remove hdpi icons, and huge sizes
   25.31 @@ -32,17 +32,21 @@
   25.32  	done
   25.33  	sed -i '/HiDPi/,$d' $it
   25.34  
   25.35 -	# remove duplicates (keep <name>.png, remove <name>.svg)
   25.36 -	for svg in $(find $install -name '*.svg'); do
   25.37 -		if [ -e "${svg%svg}png" ]; then
   25.38 -			echo "Remove duplicate: ${svg#*Paper/}"
   25.39 -			rm "$svg"
   25.40 -		fi
   25.41 -	done
   25.42 +	cp $install/usr/share/icons/Paper/scalable/actions/action-unavailable-symbolic.svg \
   25.43 +		$install/usr/share/icons/Paper/scalable/actions/action\ unavailable\ symbolic.svg
   25.44 +
   25.45 +#	# remove duplicates (keep <name>.png, remove <name>.svg)
   25.46 +#	for svg in $(find $install -name '*.svg'); do
   25.47 +#		if [ -e "${svg%svg}png" ]; then
   25.48 +#			echo "Remove duplicate: ${svg#*Paper/}"
   25.49 +#			rm "$svg"
   25.50 +#		fi
   25.51 +#	done
   25.52  }
   25.53  
   25.54  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.55  genpkg_rules()
   25.56  {
   25.57  	cp -a $install/* $fs
   25.58 +	DEPENDS="librsvg"
   25.59  }
    26.1 --- a/slitaz-icons-elementary/receipt	Mon Aug 14 15:53:27 2017 +0300
    26.2 +++ b/slitaz-icons-elementary/receipt	Thu Aug 17 16:45:06 2017 +0300
    26.3 @@ -1,26 +1,25 @@
    26.4 -# SliTaz package receipt.
    26.5 +# SliTaz package receipt v2.
    26.6  
    26.7  PACKAGE="slitaz-icons-elementary"
    26.8 -VERSION="4.0.2"
    26.9 +VERSION="4.2.0"
   26.10  CATEGORY="customization"
   26.11  SHORT_DESC="SliTaz icon set based on the elementary icons"
   26.12  MAINTAINER="al.bobylev@gmail.com"
   26.13  LICENSE="GPL3"
   26.14  WEB_SITE="http://www.slitaz.org/"
   26.15  
   26.16 -WANTED="elementary-icon-theme"
   26.17 -BUILD_DEPENDS="make-slitaz-icons"
   26.18 +BUILD_DEPENDS="elementary-icon-theme make-slitaz-icons"
   26.19  
   26.20  # Rules to compile and makethe package.
   26.21  compile_rules() {
   26.22  	mksit.sh \
   26.23 -		-f $install/usr/share/icons/elementary \
   26.24 -		-t $fs/usr/share/icons/SliTaz-Elementary \
   26.25 -		-opmax -nocolor
   26.26 +		-f /usr/share/icons/elementary \
   26.27 +		-t $install/usr/share/icons/SliTaz-Elementary \
   26.28 +		-opmax
   26.29  }
   26.30  
   26.31  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.32  genpkg_rules()
   26.33  {
   26.34 -	:
   26.35 +	cp -r $install/* $fs
   26.36  }
    27.1 --- a/slitaz-icons-hydroxygen/receipt	Mon Aug 14 15:53:27 2017 +0300
    27.2 +++ b/slitaz-icons-hydroxygen/receipt	Thu Aug 17 16:45:06 2017 +0300
    27.3 @@ -1,4 +1,4 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="slitaz-icons-hydroxygen"
    27.8  VERSION="20090119"
    27.9 @@ -8,19 +8,18 @@
   27.10  LICENSE="CC GPL"
   27.11  WEB_SITE="http://www.slitaz.org/"
   27.12  
   27.13 -WANTED="hydroxygen-iconset"
   27.14 -BUILD_DEPENDS="make-slitaz-icons"
   27.15 +BUILD_DEPENDS="hydroxygen-iconset make-slitaz-icons"
   27.16  
   27.17  # Rules to compile and makethe package.
   27.18  compile_rules() {
   27.19  	mksit.sh \
   27.20 -		-f $install/usr/share/icons/hydroxygen \
   27.21 +		-f /usr/share/icons/hydroxygen \
   27.22  		-t $fs/usr/share/icons/SliTaz-Hydroxygen \
   27.23 -		-opmax -nocolor
   27.24 +		-opmax
   27.25  }
   27.26  
   27.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.28  genpkg_rules()
   27.29  {
   27.30 -	:
   27.31 +	copy @std
   27.32  }
    28.1 --- a/slitaz-icons-paper/receipt	Mon Aug 14 15:53:27 2017 +0300
    28.2 +++ b/slitaz-icons-paper/receipt	Thu Aug 17 16:45:06 2017 +0300
    28.3 @@ -1,26 +1,25 @@
    28.4  # SliTaz package receipt.
    28.5  
    28.6  PACKAGE="slitaz-icons-paper"
    28.7 -VERSION="1.3.4"
    28.8 +VERSION="1.4.0.28"
    28.9  CATEGORY="customization"
   28.10  SHORT_DESC="SliTaz icon set based on the Paper icons"
   28.11  MAINTAINER="al.bobylev@gmail.com"
   28.12  LICENSE="CC-BY-SA-4"
   28.13  WEB_SITE="http://www.slitaz.org/"
   28.14  
   28.15 -WANTED="paper-icon-theme"
   28.16 -BUILD_DEPENDS="make-slitaz-icons"
   28.17 +BUILD_DEPENDS="paper-icon-theme make-slitaz-icons"
   28.18  
   28.19 -# Rules to compile and makethe package.
   28.20 +# Rules to compile and make the package.
   28.21  compile_rules() {
   28.22  	mksit.sh \
   28.23 -		-f $install/usr/share/icons/Paper \
   28.24 -		-t $fs/usr/share/icons/SliTaz-Paper \
   28.25 -		-opmax -nocolor
   28.26 +		-f /usr/share/icons/Paper \
   28.27 +		-t $install/usr/share/icons/SliTaz-Paper \
   28.28 +		-opmax
   28.29  }
   28.30  
   28.31  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.32  genpkg_rules()
   28.33  {
   28.34 -	:
   28.35 +	cp -r $install/* $fs
   28.36  }