wok-next rev 20068

Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 24 17:49:57 2017 +0300 (2017-10-24)
parents 685f9eb83991
children dcb10746f1f5
files dconf-dev/receipt dconf-editor/receipt dconf/receipt gtksourceview3/receipt gucharmap3-dev/receipt gucharmap3-i18n/receipt gucharmap3/receipt gucharmap3/stuff/patches/gucharmap3.patch gucharmap3/stuff/patches/series libcanberra/receipt libgtop/receipt pycairo/receipt pygobject3/receipt vala/receipt
line diff
     1.1 --- a/dconf-dev/receipt	Tue Oct 24 17:34:03 2017 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,23 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="dconf-dev"
     1.7 -VERSION="0.13.0"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Development files for dconf"
    1.10 -MAINTAINER="al.bobylev@gmail.com"
    1.11 -LICENSE="LGPL2.1"
    1.12 -WEB_SITE="http://live.gnome.org/dconf"
    1.13 -
    1.14 -WANTED="dconf"
    1.15 -DEPENDS="dconf"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p \
    1.21 -		$fs/usr/lib \
    1.22 -		$fs/usr/share
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 -	cp -a $install/usr/share/vala $fs/usr/share
    1.26 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dconf-editor/receipt	Tue Oct 24 17:49:57 2017 +0300
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="dconf-editor"
     2.7 +VERSION="3.22.3"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="A low-level configuration system (graphical editor)"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="LGPL2.1"
    2.12 +WEB_SITE="https://wiki.gnome.org/Projects/dconf"
    2.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/dconf.html"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.17 +
    2.18 +BUILD_DEPENDS="vala glib-dev gtk+3-dev dconf-dev gettext intltool"
    2.19 +
    2.20 +compile_rules() {
    2.21 +	# sdft can't process keywords
    2.22 +	sed -i '/_Keywords=/d' editor/ca.desrt.dconf-editor.desktop.in.in
    2.23 +
    2.24 +	./configure \
    2.25 +		--sysconfdir=/etc \
    2.26 +		$CONFIGURE_ARGS &&
    2.27 +	make &&
    2.28 +	make install
    2.29 +}
    2.30 +
    2.31 +genpkg_rules() {
    2.32 +	copy @std
    2.33 +	rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48
    2.34 +	rm -r $fs/usr/share/appdata
    2.35 +	DEPENDS="atk cairo dconf gdk-pixbuf glib gtk+3 pango   dbus"
    2.36 +}
     3.1 --- a/dconf/receipt	Tue Oct 24 17:34:03 2017 +0300
     3.2 +++ b/dconf/receipt	Tue Oct 24 17:49:57 2017 +0300
     3.3 @@ -1,43 +1,37 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="dconf"
     3.8 -VERSION="0.13.0"
     3.9 +VERSION="0.26.0"
    3.10  CATEGORY="system-tools"
    3.11  SHORT_DESC="A low-level configuration system"
    3.12  MAINTAINER="al.bobylev@gmail.com"
    3.13  LICENSE="LGPL2.1"
    3.14 -WEB_SITE="http://live.gnome.org/dconf"
    3.15 +WEB_SITE="https://wiki.gnome.org/Projects/dconf"
    3.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/dconf.html"
    3.17 +
    3.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.19 -HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
    3.20 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL"
    3.21 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.22  
    3.23 -DEPENDS="dbus"
    3.24 -BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev"
    3.25 -GENERIC_MENUS="no"
    3.26 -GENERIC_PIXMAPS="no"
    3.27 +BUILD_DEPENDS="vala libxslt-dev gtk-doc dbus-dev"
    3.28 +SPLIT="dconf-dev"
    3.29  
    3.30 -# Rules to configure and make the package.
    3.31 -compile_rules()
    3.32 -{
    3.33 +compile_rules() {
    3.34  	./configure \
    3.35  		--sysconfdir=/etc \
    3.36 -		--libexecdir=/usr/lib \
    3.37  		$CONFIGURE_ARGS &&
    3.38  	make &&
    3.39  	make install
    3.40  }
    3.41  
    3.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.43 -genpkg_rules()
    3.44 -{
    3.45 -	mkdir -p \
    3.46 -		$fs/usr/bin \
    3.47 -		$fs/usr/lib \
    3.48 -		$fs/usr/share
    3.49 -	cp -a $install/usr/bin/dconf $fs/usr/bin
    3.50 -	cp -a $install/usr/lib/gio $fs/usr/lib
    3.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.52 -	cp -a $install/usr/lib/dconf-service $fs/usr/lib
    3.53 -	cp -a $install/usr/share/dbus* $fs/usr/share
    3.54 -	cp -a $install/usr/share/glib* $fs/usr/share
    3.55 +genpkg_rules() {
    3.56 +	case $PACKAGE in
    3.57 +		dconf)
    3.58 +			copy @std
    3.59 +			DEPENDS="glib   dbus"
    3.60 +			;;
    3.61 +		*-dev)
    3.62 +			copy @dev
    3.63 +			DEPENDS="dconf glib-dev"
    3.64 +			;;
    3.65 +	esac
    3.66  }
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gtksourceview3/receipt	Tue Oct 24 17:49:57 2017 +0300
     4.3 @@ -0,0 +1,42 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="gtksourceview3"
     4.7 +VERSION="3.24.3"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Extends GTK+3 framework for multiline text editing"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="GPL2"
    4.12 +WEB_SITE="https://wiki.gnome.org/Projects/GtkSourceView"
    4.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gtksourceview.html"
    4.14 +
    4.15 +TARBALL="gtksourceview-$VERSION.tar.xz"
    4.16 +WGET_URL="$GNOME_MIRROR/gtksourceview/${VERSION%.*}/$TARBALL"
    4.17 +
    4.18 +BUILD_DEPENDS="glib-dev itstool gtk+3-dev libxml2-dev gettext gtk-doc vala"
    4.19 +SPLIT="gtksourceview3-dev"
    4.20 +
    4.21 +compile_rules() {
    4.22 +	./configure $CONFIGURE_ARGS && make && make install
    4.23 +}
    4.24 +
    4.25 +genpkg_rules() {
    4.26 +	case $PACKAGE in
    4.27 +		gtksourceview3)
    4.28 +			copy @std
    4.29 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
    4.30 +			libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
    4.31 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    4.32 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    4.33 +			xorg-pixman zlib"
    4.34 +			;;
    4.35 +		*-dev)
    4.36 +			copy @dev
    4.37 +			DEPENDS="gtksourceview3 atk-dev bzip2-dev cairo-dev fontconfig-dev \
    4.38 +			freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev \
    4.39 +			libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
    4.40 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    4.41 +			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    4.42 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    4.43 +			;;
    4.44 +	esac
    4.45 +}
     5.1 --- a/gucharmap3-dev/receipt	Tue Oct 24 17:34:03 2017 +0300
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,22 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="gucharmap3-dev"
     5.7 -VERSION="3.18.2"
     5.8 -CATEGORY="development"
     5.9 -SHORT_DESC="GNOME Character Map (GTK+3), development files"
    5.10 -MAINTAINER="al.bobylev@gmail.com"
    5.11 -LICENSE="GPL3"
    5.12 -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
    5.13 -
    5.14 -WANTED="gucharmap3"
    5.15 -DEPENDS="gucharmap3"
    5.16 -
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	mkdir -p $fs/usr/lib $fs/usr/share
    5.21 -	cp -a $install/usr/include $fs/usr
    5.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.23 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    5.24 -	cp -a $install/usr/share/gir-1.0 $fs/usr/share
    5.25 -}
     6.1 --- a/gucharmap3-i18n/receipt	Tue Oct 24 17:34:03 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="gucharmap3-i18n"
     6.7 -VERSION="3.18.2"
     6.8 -CATEGORY="localization"
     6.9 -SHORT_DESC="Language files for GNOME Character Map (GTK+3)"
    6.10 -MAINTAINER="al.bobylev@gmail.com"
    6.11 -LICENSE="GPL3"
    6.12 -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
    6.13 -
    6.14 -WANTED="gucharmap3"
    6.15 -DEPENDS="gucharmap3"
    6.16 -
    6.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.18 -genpkg_rules()
    6.19 -{
    6.20 -	mkdir -p $fs/usr/share/locale
    6.21 -	cp -a $install/usr/share/locale/* $fs/usr/share/locale
    6.22 -}
     7.1 --- a/gucharmap3/receipt	Tue Oct 24 17:34:03 2017 +0300
     7.2 +++ b/gucharmap3/receipt	Tue Oct 24 17:49:57 2017 +0300
     7.3 @@ -1,47 +1,60 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="gucharmap3"
     7.8 -VERSION="3.18.2"
     7.9 +VERSION="10.0.0"
    7.10  CATEGORY="utilities"
    7.11 -SHORT_DESC="GNOME Character Map (GTK+3)"
    7.12 +SHORT_DESC="GNOME Character Map for GTK+3"
    7.13  MAINTAINER="al.bobylev@gmail.com"
    7.14  LICENSE="GPL3"
    7.15 +WEB_SITE="https://wiki.gnome.org/Apps/Gucharmap"
    7.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gucharmap.html"
    7.17 +
    7.18  TARBALL="gucharmap-$VERSION.tar.xz"
    7.19 -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
    7.20  WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL"
    7.21  
    7.22 -DEPENDS="gtk+3 xorg-libXdamage"
    7.23 -BUILD_DEPENDS="automake gtk-doc libtool  itstool libxml2-tools glib-dev \
    7.24 -gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala"
    7.25 -SPLIT="gucharmap3-i18n"
    7.26 +BUILD_DEPENDS="gtk-doc automake gettext libtool gobject-introspection-dev \
    7.27 +intltool yelp-tools itstool gtk+3-dev desktop-file-utils-extra wget \
    7.28 +coreutils-file-summarize unzip vala"
    7.29 +SPLIT="gucharmap3-i18n gucharmap-gnome gucharmap3 gucharmap3-dev"
    7.30  
    7.31 -# Rules to configure and make the package.
    7.32 -compile_rules()
    7.33 -{
    7.34 -	# Idea is to have two nonintersecting packages:
    7.35 -	# gucharmap (for GTK+2) and gucharmap3 (for GTK+3)
    7.36 -	sed -i '/AC_INIT/s|gucharmap|&3|3; s|GETTEXT_PACKAGE=.*$|&3|' \
    7.37 -		$src/configure.ac
    7.38 -	# Disable stuff we never had
    7.39 -	sed -i '/GNOME_DEBUG_CHECK/d; /YELP/d' $src/configure.ac
    7.40 -	sed -i '/YELP/d' $src/help/Makefile.am
    7.41 -
    7.42 -	./autogen.sh --program-suffix=3
    7.43 -	make && make install
    7.44 +compile_rules() {
    7.45 +	./autogen.sh \
    7.46 +		--enable-vala \
    7.47 +		--with-unicode-data=download \
    7.48 +		--program-suffix=3 &&
    7.49 +	make && make install || return 1
    7.50  
    7.51  	find $install/usr/bin -type l -delete
    7.52 -	mv  $install/usr/share/applications/gucharmap.desktop \
    7.53 -		$install/usr/share/applications/gucharmap3.desktop
    7.54 -	sed -i 's|Exec=gucharmap|&3|' \
    7.55 -		$install/usr/share/applications/gucharmap3.desktop
    7.56  }
    7.57  
    7.58 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.59 -genpkg_rules()
    7.60 -{
    7.61 -	mkdir -p $fs/usr/lib $fs/usr/share/applications
    7.62 -	cp -a $install/usr/bin $fs/usr
    7.63 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.64 -	cp -a $install/usr/share/applications $fs/usr/share
    7.65 -	cp -a $install/usr/share/glib-2.0 $fs/usr/share
    7.66 +genpkg_rules() {
    7.67 +	case $PACKAGE in
    7.68 +		*-i18n)
    7.69 +			copy *.mo
    7.70 +			CAT="localization|language files"
    7.71 +			;;
    7.72 +		*-gnome)
    7.73 +			copy help/ metainfo/
    7.74 +			CAT="gnome|GNOME integration"
    7.75 +			;;
    7.76 +		gucharmap3)
    7.77 +			copy @std
    7.78 +			remove_already_packed
    7.79 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
    7.80 +			libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
    7.81 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    7.82 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    7.83 +			xorg-pixman zlib"
    7.84 +			;;
    7.85 +		*-dev)
    7.86 +			copy @dev
    7.87 +			DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
    7.88 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
    7.89 +			harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
    7.90 +			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
    7.91 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
    7.92 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
    7.93 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    7.94 +			;;
    7.95 +	esac
    7.96  }
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/gucharmap3/stuff/patches/gucharmap3.patch	Tue Oct 24 17:49:57 2017 +0300
     8.3 @@ -0,0 +1,64 @@
     8.4 +Idea is to have two nonintersecting SliTaz packages:
     8.5 +gucharmap (for GTK+2) and gucharmap3 (for GTK+3)
     8.6 +Author: Aleksej Bobylev <al.bobylev@gmail.com>
     8.7 +
     8.8 +--- a/configure.ac
     8.9 ++++ b/configure.ac
    8.10 +@@ -36,7 +36,7 @@
    8.11 + 
    8.12 + AC_PREREQ([2.56])
    8.13 + 
    8.14 +-AC_INIT([GNOME Character Map],[gucharmap_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=gucharmap],[gucharmap])
    8.15 ++AC_INIT([GNOME Character Map],[gucharmap_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=gucharmap],[gucharmap3])
    8.16 + 
    8.17 + AC_CONFIG_MACRO_DIR([m4])
    8.18 + AC_CONFIG_SRCDIR([gucharmap/gucharmap.h.in])
    8.19 +@@ -48,7 +48,7 @@
    8.20 + 
    8.21 + # checks for progs
    8.22 + 
    8.23 +-GNOME_DEBUG_CHECK
    8.24 ++#GNOME_DEBUG_CHECK
    8.25 + 
    8.26 + AC_PROG_CC
    8.27 + AC_DISABLE_STATIC
    8.28 +@@ -222,7 +222,7 @@
    8.29 + # i18n
    8.30 + # ****
    8.31 + 
    8.32 +-GETTEXT_PACKAGE=gucharmap
    8.33 ++GETTEXT_PACKAGE=gucharmap3
    8.34 + AC_SUBST([GETTEXT_PACKAGE])
    8.35 + AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[The gucharmap gettext domain])
    8.36 + AM_GLIB_GNU_GETTEXT
    8.37 +@@ -319,7 +319,7 @@
    8.38 + 
    8.39 + AC_CONFIG_FILES([
    8.40 + Makefile
    8.41 +-gucharmap.desktop.in
    8.42 ++gucharmap3.desktop.in
    8.43 + gucharmap.nsi
    8.44 + gucharmap.spec
    8.45 + data/Makefile
    8.46 +--- /dev/null
    8.47 ++++ b/gucharmap3.desktop.in.in
    8.48 +@@ -0,0 +1,8 @@
    8.49 ++[Desktop Entry]
    8.50 ++Type=Application
    8.51 ++_Name=Character Map
    8.52 ++_Comment=Insert special characters into documents
    8.53 ++StartupNotify=true
    8.54 ++Exec=gucharmap3
    8.55 ++Icon=accessories-character-map
    8.56 ++Categories=GNOME;GTK;Utility;
    8.57 +--- a/Makefile.am
    8.58 ++++ b/Makefile.am
    8.59 +@@ -14,7 +14,7 @@
    8.60 + distcleancheck_listfiles = find . -type -f print | grep -v 'omf\.out'
    8.61 + 
    8.62 + desktopdir = $(datadir)/applications
    8.63 +-desktop_in_files = gucharmap.desktop.in.in
    8.64 ++desktop_in_files = gucharmap3.desktop.in.in
    8.65 + desktop_DATA 	 = $(desktop_in_files:.desktop.in.in=.desktop)
    8.66 + 
    8.67 + pkgconfigdir = $(libdir)/pkgconfig
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/gucharmap3/stuff/patches/series	Tue Oct 24 17:49:57 2017 +0300
     9.3 @@ -0,0 +1,1 @@
     9.4 +gucharmap3.patch
    10.1 --- a/libcanberra/receipt	Tue Oct 24 17:34:03 2017 +0300
    10.2 +++ b/libcanberra/receipt	Tue Oct 24 17:49:57 2017 +0300
    10.3 @@ -7,18 +7,19 @@
    10.4  MAINTAINER="devl547@gmail.com"
    10.5  LICENSE="LGPL2.1"
    10.6  WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
    10.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcanberra.html"
    10.8  
    10.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
   10.10  WGET_URL="$WEB_SITE/$TARBALL"
   10.11  
   10.12  BUILD_DEPENDS="libtool gtk+-dev libvorbis-dev alsa-lib-dev eudev-dev \
   10.13 -gstreamer1-dev"
   10.14 -SPLIT="libcanberra-gnome libcanberra-gstreamer1 libcanberra libcanberra-dev"
   10.15 +gstreamer1-dev gtk+3-dev"
   10.16 +SPLIT="libcanberra-gnome libcanberra-gstreamer1 libcanberra-gtk2 \
   10.17 +libcanberra-gtk3 libcanberra libcanberra-dev"
   10.18  
   10.19  # Rules to configure and make the package.
   10.20  compile_rules()
   10.21  {
   10.22 -	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcanberra.html
   10.23  	./configure \
   10.24  		--enable-gtk \
   10.25  		--disable-oss \
   10.26 @@ -34,6 +35,7 @@
   10.27  		*-gnome)
   10.28  			copy gnome-settings-daemon-3.0/ gdm/ gnome/ canberra-boot
   10.29  			CAT="gnome|GNOME integration"
   10.30 +			DEPENDS="eudev libcanberra"
   10.31  			;;
   10.32  		*-gstreamer1)
   10.33  			copy libcanberra-gstreamer.so
   10.34 @@ -41,21 +43,37 @@
   10.35  			DEPENDS="libcanberra glib gstreamer1 libffi libltdl libogg \
   10.36  			libvorbis pcre"
   10.37  			;;
   10.38 +		*-gtk2)
   10.39 +			copy gtk-2.0/modules/*.so libcanberra-gtk.so*
   10.40 +			CAT="sound|GTK+2 integration"
   10.41 +			DEPENDS="libcanberra atk bzlib cairo fontconfig freetype \
   10.42 +			gdk-pixbuf glib gtk+ libffi libharfbuzz libltdl liblzma libogg \
   10.43 +			libpng16 libvorbis libxml2 pango pcre util-linux-blkid \
   10.44 +			util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
   10.45 +			xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \
   10.46 +			zlib"
   10.47 +			;;
   10.48 +		*-gtk3)
   10.49 +			copy gtk-3.0/modules/*.so libcanberra-gtk3.so* canberra-gtk-play
   10.50 +			CAT="sound|GTK+3 integration"
   10.51 +			DEPENDS="libcanberra atk bzlib cairo fontconfig freetype \
   10.52 +			gdk-pixbuf glib gtk+3 libffi libharfbuzz libltdl liblzma libogg \
   10.53 +			libpng16 libvorbis libxml2 pango pcre util-linux-blkid \
   10.54 +			util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \
   10.55 +			xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \
   10.56 +			zlib"
   10.57 +			;;
   10.58  		libcanberra)
   10.59  			copy @std
   10.60  			remove_already_packed
   10.61 -			DEPENDS="alsa-lib atk bzlib cairo fontconfig freetype gdk-pixbuf \
   10.62 -			glib gtk+ libffi libharfbuzz libltdl liblzma libogg libpng16 \
   10.63 -			libvorbis libxml2 pango pcre util-linux-blkid util-linux-mount \
   10.64 -			util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
   10.65 -			xorg-libXrender xorg-libxcb xorg-pixman zlib"
   10.66 +			DEPENDS="alsa-lib libltdl libogg libvorbis"
   10.67  			;;
   10.68  		*-dev)
   10.69  			copy @dev
   10.70 -			DEPENDS="libcanberra libcanberra-gnome libcanberra-gstreamer1 \
   10.71 +			DEPENDS="${SPLIT/$PACKAGE/} \
   10.72  			alsa-lib-dev atk-dev bzip2-dev cairo-dev fontconfig-dev \
   10.73  			freetype-dev gdk-pixbuf-dev glib-dev gstreamer1-dev gtk+-dev \
   10.74 -			harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtool \
   10.75 +			gtk+3-dev harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtool \
   10.76  			libvorbis-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
   10.77  			util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
   10.78  			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    11.1 --- a/libgtop/receipt	Tue Oct 24 17:34:03 2017 +0300
    11.2 +++ b/libgtop/receipt	Tue Oct 24 17:49:57 2017 +0300
    11.3 @@ -3,10 +3,11 @@
    11.4  PACKAGE="libgtop"
    11.5  VERSION="2.38.0"
    11.6  CATEGORY="x-window"
    11.7 -SHORT_DESC="Librairies for GNOME"
    11.8 +SHORT_DESC="Portable System Access Library"
    11.9  MAINTAINER="pascal.bellard@slitaz.org"
   11.10  LICENSE="GPL2"
   11.11 -WEB_SITE="http://www.gnome.org"
   11.12 +WEB_SITE="https://developer.gnome.org/libgtop/stable/"
   11.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/libgtop.html"
   11.14  
   11.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
   11.16  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    12.1 --- a/pycairo/receipt	Tue Oct 24 17:34:03 2017 +0300
    12.2 +++ b/pycairo/receipt	Tue Oct 24 17:49:57 2017 +0300
    12.3 @@ -1,36 +1,33 @@
    12.4  # SliTaz package receipt v2.
    12.5  
    12.6  PACKAGE="pycairo"
    12.7 -VERSION="1.10.0"
    12.8 +VERSION="1.15.3"
    12.9  CATEGORY="development"
   12.10  SHORT_DESC="Python bindings for the cairo graphics library"
   12.11  MAINTAINER="erjo@slitaz.org"
   12.12  LICENSE="MPL LGPL2.1"
   12.13 -WEB_SITE="http://www.cairographics.org/pycairo/"
   12.14 +WEB_SITE="https://www.cairographics.org/pycairo/"
   12.15  
   12.16 -TARBALL="py2cairo-$VERSION.tar.bz2"
   12.17 -WGET_URL="http://www.cairographics.org/releases/$TARBALL"
   12.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.19 +WGET_URL="https://github.com/pygobject/pycairo/releases/download/v$VERSION/$TARBALL"
   12.20  
   12.21 -BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
   12.22 +BUILD_DEPENDS="python-dev cairo-dev"
   12.23  SPLIT="pycairo-dev"
   12.24  
   12.25 -# Rules to configure and make the package.
   12.26 -compile_rules()
   12.27 -{
   12.28 -	./waf configure --prefix=/usr &&
   12.29 -	./waf build &&
   12.30 -	./waf install --destdir=$DESTDIR
   12.31 +compile_rules() {
   12.32 +	python setup.py build &&
   12.33 +	python setup.py install --root=$install
   12.34  }
   12.35  
   12.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.37 -genpkg_rules()
   12.38 -{
   12.39 +genpkg_rules() {
   12.40  	case $PACKAGE in
   12.41  		pycairo)
   12.42  			copy @std
   12.43 -			DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
   12.44 -			xorg-libXdmcp xorg-libXrender xcb-util"
   12.45 +			DEPENDS="cairo python"
   12.46  			;;
   12.47 -		*-dev) copy @dev;;
   12.48 +		*-dev)
   12.49 +			copy @dev
   12.50 +			DEPENDS="pycairo cairo-dev"
   12.51 +			;;
   12.52  	esac
   12.53  }
    13.1 --- a/pygobject3/receipt	Tue Oct 24 17:34:03 2017 +0300
    13.2 +++ b/pygobject3/receipt	Tue Oct 24 17:49:57 2017 +0300
    13.3 @@ -1,31 +1,44 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="pygobject3"
    13.8 -SOURCE="pygobject"
    13.9 -VERSION="3.18.2"
   13.10 +VERSION="3.26.0"
   13.11  CATEGORY="development"
   13.12 -SHORT_DESC="Python bindings for the GObject3 library"
   13.13 +SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+"
   13.14  MAINTAINER="psychomaniak@xakep.ru"
   13.15  LICENSE="LGPL2.1"
   13.16 -TARBALL="$SOURCE-$VERSION.tar.xz"
   13.17 -WEB_SITE="http://live.gnome.org/PyGObject"
   13.18 -WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
   13.19 +WEB_SITE="https://wiki.gnome.org/Projects/PyGObject"
   13.20  
   13.21 -PROVIDE="python-gi"
   13.22 -DEPENDS="python pycairo glib libffi gtk-girepository"
   13.23 -BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev \
   13.24 -pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
   13.25 +TARBALL="pygobject-$VERSION.tar.xz"
   13.26 +WGET_URL="$GNOME_MIRROR/pygobject/${VERSION%.*}/$TARBALL"
   13.27  
   13.28 -# Rules to configure and make the package.
   13.29 -compile_rules()
   13.30 -{
   13.31 +BUILD_DEPENDS="automake glib-dev libtool python-dev gobject-introspection-dev \
   13.32 +cairo-dev pycairo-dev"
   13.33 +SPLIT="pygobject3-dev"
   13.34 +
   13.35 +compile_rules() {
   13.36 +	NOCONFIGURE=1 ./autogen.sh &&
   13.37  	./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool
   13.38  	./configure $CONFIGURE_ARGS &&
   13.39 -	make && make install
   13.40 +	sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
   13.41 +	make &&
   13.42 +	make install
   13.43  }
   13.44  
   13.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.46 -genpkg_rules()
   13.47 -{
   13.48 -	cp -a $install/* $fs
   13.49 +genpkg_rules() {
   13.50 +	case $PACKAGE in
   13.51 +		pygobject3)
   13.52 +			copy @std
   13.53 +			DEPENDS="cairo glib gobject-introspection libffi python"
   13.54 +			PROVIDE="python-gi"
   13.55 +			;;
   13.56 +		*-dev)
   13.57 +			copy @dev
   13.58 +			DEPENDS="pygobject3 bzip2-dev cairo-dev fontconfig-dev \
   13.59 +			freetype-dev glib-dev gobject-introspection-dev harfbuzz-dev \
   13.60 +			libffi-dev libpng16-dev libxml2-dev pcre-dev util-linux-blkid-dev \
   13.61 +			util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
   13.62 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
   13.63 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   13.64 +			;;
   13.65 +	esac
   13.66  }
    14.1 --- a/vala/receipt	Tue Oct 24 17:34:03 2017 +0300
    14.2 +++ b/vala/receipt	Tue Oct 24 17:49:57 2017 +0300
    14.3 @@ -1,30 +1,26 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="vala"
    14.8 -VERSION="0.32.1"
    14.9 +VERSION="0.36.4"
   14.10  CATEGORY="development"
   14.11  SHORT_DESC="Compiler for the GObject type system"
   14.12  MAINTAINER="mimas@slitaz.org"
   14.13  LICENSE="LGPL2.1"
   14.14  WEB_SITE="https://wiki.gnome.org/Projects/Vala"
   14.15 -TAGS="compiler"
   14.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/vala.html"
   14.17  HOST_ARCH="i486 arm"
   14.18  
   14.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
   14.20  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   14.21  
   14.22 -DEPENDS="glib-dev glibc-dev libffi-dev pcre-dev"
   14.23  BUILD_DEPENDS="glib-dev libxslt-dev"
   14.24  
   14.25 -# Rules to configure and make the package.
   14.26 -compile_rules()
   14.27 -{
   14.28 +compile_rules() {
   14.29  	./configure $CONFIGURE_ARGS && make && make install
   14.30  }
   14.31  
   14.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.33 -genpkg_rules()
   14.34 -{
   14.35 -	cp -a $install/* $fs
   14.36 -	rm -r $fs/usr/share/man $fs/usr/share/devhelp
   14.37 +genpkg_rules() {
   14.38 +	copy @std @dev
   14.39 +	DEPENDS="glib-dev libffi-dev pcre-dev"
   14.40 +	TAGS="compiler"
   14.41  }