wok-next rev 20108

Up glade3, json-glib, libgee, font-manager, liberation-fonts; add glade, liberation-classic-fonts, python-distutils-extra.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 30 00:16:27 2017 +0200 (2017-10-30)
parents e8a7459f6636
children 96615f3b1048
files font-manager/receipt font-manager/stuff/patches/2017.06.patch font-manager/stuff/patches/series glade/receipt glade3/receipt json-glib-dev/receipt json-glib/receipt liberation-classic-fonts/receipt liberation-fonts-base/receipt liberation-fonts/receipt libgee-dev/receipt libgee/receipt python-distutils-extra/receipt
line diff
     1.1 --- a/font-manager/receipt	Sun Oct 29 23:03:44 2017 +0100
     1.2 +++ b/font-manager/receipt	Mon Oct 30 00:16:27 2017 +0200
     1.3 @@ -1,41 +1,48 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="font-manager"
     1.8 -VERSION="0.5.7"
     1.9 +VERSION="0.7.3"
    1.10  CATEGORY="utilities"
    1.11 -SHORT_DESC="A font management application for the GNOME desktop"
    1.12 +SHORT_DESC="Simple font management for GTK+ desktop environments"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL3"
    1.15 -WEB_SITE="http://code.google.com/p/font-manager/"
    1.16 +WEB_SITE="http://fontmanager.github.io/"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.20 +WGET_URL="https://github.com/FontManager/master/releases/download/$VERSION/$TARBALL"
    1.21  
    1.22 -DEPENDS="python pygtk pygobject pycairo libxml2-python fontconfig freetype \
    1.23 -sqlite3"
    1.24 -BUILD_DEPENDS="bash python-dev fontconfig-dev freetype-dev glib-dev pango-dev \
    1.25 -sqlite3-dev intltool gnome-doc-utils"
    1.26 +BUILD_DEPENDS="vala gettext intltool freetype-dev fontconfig-dev json-glib-dev \
    1.27 +cairo-dev gtk+3-dev libgee-dev gucharmap3-dev sqlite3-dev yelp-tools itstool \
    1.28 +file"
    1.29 +SPLIT="font-manager-dev"
    1.30  
    1.31 -# Rules to configure and make the package.
    1.32 -compile_rules()
    1.33 -{
    1.34 -	cd $src
    1.35 -	sed -i 's/FT_XFREE86_H/&\n#define W_OK (2)/' src/lib/fm-fontutils.c
    1.36 -	./configure --enable-bytecode --enable-nls $CONFIGURE_ARGS &&
    1.37 -	make &&
    1.38 -	make DESTDIR=$install install
    1.39 -
    1.40 -	# fix translations
    1.41 -	for p in $(ls po | grep -e '.po$'); do
    1.42 -		msgfmt $src/po/$p -o $install/usr/share/locale/${p%.po}/LC_MESSAGES/font-manager.mo
    1.43 -	done
    1.44 +compile_rules() {
    1.45 +	./configure \
    1.46 +		--disable-schemas-compile \
    1.47 +		$CONFIGURE_ARGS &&
    1.48 +	make -j1 &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.53 -genpkg_rules()
    1.54 -{
    1.55 -	cp -a $install/* $fs
    1.56 -	# fix paths
    1.57 -	sed -i "s|$install||g" $fs/usr/bin/* $fs/usr/share/font-manager/*.py
    1.58 -	# remove help (need absent yelp to show)
    1.59 -	rm -rf $fs/usr/share/font-manager/help
    1.60 +genpkg_rules() {
    1.61 +	case $PACKAGE in
    1.62 +		font-manager)
    1.63 +			copy @std
    1.64 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
    1.65 +			gucharmap3 json-glib libffi libgee libharfbuzz liblzma libpng16 \
    1.66 +			libsqlite3 libxml2 pango pcre util-linux-blkid util-linux-mount \
    1.67 +			util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
    1.68 +			xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.69 +			;;
    1.70 +		*-dev)
    1.71 +			copy @dev
    1.72 +			DEPENDS="font-manager atk-dev bzip2-dev cairo-dev fontconfig-dev \
    1.73 +			freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev gucharmap3-dev \
    1.74 +			harfbuzz-dev json-glib-dev libffi-dev libgee-dev libpng16-dev \
    1.75 +			libxml2-dev pango-dev pcre-dev sqlite3-dev util-linux-blkid-dev \
    1.76 +			util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
    1.77 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.78 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    1.79 +			;;
    1.80 +	esac
    1.81  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/font-manager/stuff/patches/2017.06.patch	Mon Oct 30 00:16:27 2017 +0200
     2.3 @@ -0,0 +1,44 @@
     2.4 +--- lib/UX/Models/CollectionModel.vala	2017-06-29 16:17:28.997795458 +0800
     2.5 ++++ lib/UX/Models/CollectionModel.vala	2017-06-29 16:17:22.227415589 +0800
     2.6 +@@ -104,7 +104,7 @@
     2.7 +             return sorted;
     2.8 +         }
     2.9 + 
    2.10 +-        void insert_children (Gee.ArrayList <Filter> groups, Gtk.TreeIter parent) {
    2.11 ++        void insert_children (Gee.ArrayList <Collection> groups, Gtk.TreeIter parent) {
    2.12 +             var sorted = sort_groups(groups);
    2.13 +             foreach(var child in sorted) {
    2.14 +                 Gtk.TreeIter _iter;
    2.15 +--- src/font-manager/State.vala	2017-06-29 16:42:40.268868810 +0800
    2.16 ++++ src/font-manager/State.vala	2017-06-29 16:42:55.579554795 +0800
    2.17 +@@ -25,8 +25,8 @@
    2.18 + 
    2.19 +     public class State : Object {
    2.20 + 
    2.21 +-        internal static const int DEFAULT_WIDTH = 700;
    2.22 +-        internal static const int DEFAULT_HEIGHT = 480;
    2.23 ++        internal const int DEFAULT_WIDTH = 700;
    2.24 ++        internal const int DEFAULT_HEIGHT = 480;
    2.25 + 
    2.26 +         public Settings? settings { get; set; default = null; }
    2.27 +         public weak MainWindow? main_window { get; set; default = null; }
    2.28 +--- src/font-manager/Compare.vala	2017-06-29 16:43:14.080385035 +0800
    2.29 ++++ src/font-manager/Compare.vala	2017-06-29 16:43:31.427831486 +0800
    2.30 +@@ -280,9 +280,17 @@
    2.31 +                  * the iter was always being set to null after calling remove.
    2.32 +                  */
    2.33 +                 string iter_as_string = store.get_string_from_iter(iter);
    2.34 ++#if VALA_0_36
    2.35 ++                store.remove(ref iter);
    2.36 ++#else
    2.37 +                 store.remove(iter);
    2.38 ++#endif
    2.39 +                 store.get_iter_from_string(out iter, iter_as_string);
    2.40 ++#if VALA_0_36
    2.41 ++                bool still_valid = store.remove(ref iter);
    2.42 ++#else
    2.43 +                 bool still_valid = store.remove(iter);
    2.44 ++#endif
    2.45 +                 /* Set the cursor to a remaining row instead of having the cursor disappear.
    2.46 +                  * This allows for easy deletion of multiple previews by hitting the remove
    2.47 +                  * button repeatedly.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/font-manager/stuff/patches/series	Mon Oct 30 00:16:27 2017 +0200
     3.3 @@ -0,0 +1,2 @@
     3.4 +# from https://aur.archlinux.org/packages/font-manager/
     3.5 +-Np0|2017.06.patch
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/glade/receipt	Mon Oct 30 00:16:27 2017 +0200
     4.3 @@ -0,0 +1,52 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="glade"
     4.7 +VERSION="3.20.1"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="A user interface designer for GTK+3"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="LGPL"
    4.12 +WEB_SITE="http://glade.gnome.org/"
    4.13 +
    4.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.16 +
    4.17 +BUILD_DEPENDS="glib-dev intltool gtk-doc gtk+3-dev pygobject3-dev python-dev \
    4.18 +itstool"
    4.19 +SPLIT="glade-python glade glade-dev"
    4.20 +
    4.21 +compile_rules() {
    4.22 +	# sdft can't work with keywords
    4.23 +	sed -i '/_Keywords=/d' date/glade.desktop.in.in
    4.24 +
    4.25 +	# introspection produces error
    4.26 +	./configure \
    4.27 +		--disable-introspection \
    4.28 +		--enable-gladeui \
    4.29 +		$CONFIGURE_ARGS &&
    4.30 +	make && make install
    4.31 +}
    4.32 +
    4.33 +genpkg_rules() {
    4.34 +	case $PACKAGE in
    4.35 +		*-python)
    4.36 +			copy libgladepython.so
    4.37 +			DEPENDS="glade python"
    4.38 +			CAT="python|Python bindings"
    4.39 +			;;
    4.40 +		glade)
    4.41 +			copy @std @rm
    4.42 +			DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libxml2 pango"
    4.43 +			;;
    4.44 +		*-dev)
    4.45 +			copy @dev
    4.46 +			DEPENDS="glade glade-python \
    4.47 +			atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
    4.48 +			gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev libffi-dev \
    4.49 +			libpng16-dev libxml2-dev pango-dev pcre-dev python \
    4.50 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    4.51 +			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    4.52 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    4.53 +			;;
    4.54 +	esac
    4.55 +}
     5.1 --- a/glade3/receipt	Sun Oct 29 23:03:44 2017 +0100
     5.2 +++ b/glade3/receipt	Mon Oct 30 00:16:27 2017 +0200
     5.3 @@ -1,44 +1,44 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="glade3"
     5.8 -VERSION="3.8.0"
     5.9 +VERSION="3.8.6"
    5.10  CATEGORY="development"
    5.11 -SHORT_DESC="Vector drawing application."
    5.12 +SHORT_DESC="A user interface designer for GTK+2"
    5.13  MAINTAINER="pankso@slitaz.org"
    5.14 -LICENSE="LGPL"
    5.15 -SUGGESTED="python"
    5.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.17 +LICENSE="GPL2 LGPL2"
    5.18  WEB_SITE="http://glade.gnome.org/"
    5.19 +
    5.20 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    5.21  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    5.22  
    5.23 -DEPENDS="gtk+ libglade xorg-libXdamage"
    5.24 -BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev"
    5.25 +BUILD_DEPENDS="intltool gtk-doc gtk+-dev pygtk-dev python-dev itstool"
    5.26 +SPLIT="glade3-python glade3 glade3-dev"
    5.27  
    5.28 -# Rules to configure and make the package.
    5.29 -compile_rules()
    5.30 -{
    5.31 -	cd $src
    5.32 -	./configure \
    5.33 -		--prefix=/usr \
    5.34 -		--with-html-dir=/usr/share/doc \
    5.35 -		--disable-scrollkeeper \
    5.36 -		$CONFIGURE_ARGS
    5.37 -	# Doc doesn't built
    5.38 -	sed -i 's/= help/=/' Makefile
    5.39 -	make &&
    5.40 -	make DESTDIR=$DESTDIR install
    5.41 +compile_rules() {
    5.42 +	./configure $CONFIGURE_ARGS && make && make install
    5.43  }
    5.44  
    5.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.46 -genpkg_rules()
    5.47 -{
    5.48 -	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    5.49 -	cp -a $install/usr/bin $fs/usr
    5.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.51 -	cp -a $install/usr/lib/glade3 $fs/usr/lib
    5.52 -	rm $fs/usr/lib/glade3/modules/*.*a
    5.53 -	cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
    5.54 -		$fs/usr/share/pixmaps
    5.55 -	cp -a $install/usr/share/glade3 $fs/usr/share
    5.56 +genpkg_rules() {
    5.57 +	case $PACKAGE in
    5.58 +		*-python)
    5.59 +			copy libgladepython.so
    5.60 +			DEPENDS="glade3 python"
    5.61 +			CAT="python|Python bindings"
    5.62 +			;;
    5.63 +		glade3)
    5.64 +			copy @std @rm
    5.65 +			DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
    5.66 +			libxml2 pango"
    5.67 +			;;
    5.68 +		*-dev)
    5.69 +			copy @dev
    5.70 +			DEPENDS="glade3 glade3-python \
    5.71 +			atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
    5.72 +			gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
    5.73 +			libpng16-dev libxml2-dev pango-dev pcre-dev python \
    5.74 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    5.75 +			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    5.76 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    5.77 +			;;
    5.78 +	esac
    5.79  }
    5.80 -
     6.1 --- a/json-glib-dev/receipt	Sun Oct 29 23:03:44 2017 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,23 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="json-glib-dev"
     6.7 -VERSION="0.14.2"
     6.8 -CATEGORY="development"
     6.9 -SHORT_DESC="json-glib development files"
    6.10 -MAINTAINER="mallory@sweetpeople.org"
    6.11 -LICENSE="LGPL2.1"
    6.12 -WEB_SITE="http://live.gnome.org/JsonGlib"
    6.13 -WANTED="json-glib"
    6.14 -
    6.15 -DEPENDS="json-glib glib-dev pkg-config"
    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/lib $fs/usr/share
    6.21 -	cp -a $install/usr/include $fs/usr
    6.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    6.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.24 -	cp -a $install/usr/share/gir-1.0 $fs/usr/share
    6.25 -}
    6.26 -
     7.1 --- a/json-glib/receipt	Sun Oct 29 23:03:44 2017 +0100
     7.2 +++ b/json-glib/receipt	Mon Oct 30 00:16:27 2017 +0200
     7.3 @@ -1,32 +1,37 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="json-glib"
     7.8 -VERSION="0.14.2"
     7.9 +VERSION="1.2.8"
    7.10  CATEGORY="development"
    7.11 -SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
    7.12 +SHORT_DESC="JSON parser for GLib"
    7.13  MAINTAINER="mallory@sweetpeople.org"
    7.14  LICENSE="LGPL2.1"
    7.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.16 -WEB_SITE="http://live.gnome.org/JsonGlib"
    7.17 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    7.18 -TAGS="javascript"
    7.19 +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib"
    7.20 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-glib.html"
    7.21  
    7.22 -DEPENDS="glib"
    7.23 -BUILD_DEPENDS="pkg-config gobject-introspection-dev glib-dev"
    7.24 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    7.25 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    7.26  
    7.27 -# Rules to configure and make the package.
    7.28 -compile_rules()
    7.29 -{
    7.30 -	cd $src
    7.31 -	./configure $CONFIGURE_ARGS &&
    7.32 -	make && make install
    7.33 +BUILD_DEPENDS="glib-dev gtk-doc libxslt-dev gobject-introspection-dev gettext"
    7.34 +SPLIT="json-glib-dev"
    7.35 +
    7.36 +compile_rules() {
    7.37 +	./configure $CONFIGURE_ARGS && make && make install
    7.38  }
    7.39  
    7.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.41 -genpkg_rules()
    7.42 -{
    7.43 -	mkdir -p $fs/usr/lib
    7.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.45 -	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    7.46 +genpkg_rules() {
    7.47 +	case $PACKAGE in
    7.48 +		json-glib)
    7.49 +			copy @std
    7.50 +			DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
    7.51 +			util-linux-uuid zlib"
    7.52 +			TAGS="javascript"
    7.53 +			;;
    7.54 +		*-dev)
    7.55 +			copy @dev
    7.56 +			DEPENDS="json-glib glib-dev libffi-dev pcre-dev \
    7.57 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    7.58 +			zlib-dev"
    7.59 +			;;
    7.60 +	esac
    7.61  }
    7.62 -
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/liberation-classic-fonts/receipt	Mon Oct 30 00:16:27 2017 +0200
     8.3 @@ -0,0 +1,24 @@
     8.4 +# SliTaz package receipt v2.
     8.5 +
     8.6 +PACKAGE="liberation-classic-fonts"
     8.7 +VERSION="1.07.4"
     8.8 +CATEGORY="fonts"
     8.9 +SHORT_DESC="Liberation fonts"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="SIL_OFL"
    8.12 +#WEB_SITE="https://www.redhat.com/promo/fonts/"
    8.13 +WEB_SITE="https://pagure.io/liberation-classic-fonts"
    8.14 +
    8.15 +TARBALL="liberation-fonts-ttf-$VERSION.tar.gz"
    8.16 +WGET_URL="https://releases.pagure.org/liberation-fonts/$TARBALL"
    8.17 +
    8.18 +compile_rules() {
    8.19 +	dir="$install/usr/share/fonts/truetype/liberation-classic"
    8.20 +	mkdir -p $dir
    8.21 +	cp *.ttf $dir
    8.22 +}
    8.23 +
    8.24 +genpkg_rules() {
    8.25 +	copy @std
    8.26 +}
    8.27 +
     9.1 --- a/liberation-fonts-base/receipt	Sun Oct 29 23:03:44 2017 +0100
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,22 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="liberation-fonts-base"
     9.7 -VERSION="2.00.1"
     9.8 -CATEGORY="fonts"
     9.9 -SHORT_DESC="Liberation fonts (only regular)"
    9.10 -MAINTAINER="al.bobylev@gmail.com"
    9.11 -LICENSE="SIL_OFL"
    9.12 -WEB_SITE="https://www.redhat.com/promo/fonts/"
    9.13 -SOURCE="liberation-fonts"
    9.14 -TARBALL="$SOURCE-ttf-$VERSION.tar.gz"
    9.15 -WGET_URL="https://fedorahosted.org/releases/l/i/$SOURCE/$TARBALL"
    9.16 -
    9.17 -BUILD_DEPENDS="wget"
    9.18 -
    9.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.20 -genpkg_rules()
    9.21 -{
    9.22 -	dir="$fs/usr/share/fonts/truetype/$SOURCE"
    9.23 -	mkdir -p $dir
    9.24 -	cp $src/*Regular.ttf $dir
    9.25 -}
    10.1 --- a/liberation-fonts/receipt	Sun Oct 29 23:03:44 2017 +0100
    10.2 +++ b/liberation-fonts/receipt	Mon Oct 30 00:16:27 2017 +0200
    10.3 @@ -1,4 +1,4 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="liberation-fonts"
    10.8  VERSION="2.00.1"
    10.9 @@ -6,17 +6,19 @@
   10.10  SHORT_DESC="Liberation fonts"
   10.11  MAINTAINER="al.bobylev@gmail.com"
   10.12  LICENSE="SIL_OFL"
   10.13 -WEB_SITE="https://www.redhat.com/promo/fonts/"
   10.14 +#WEB_SITE="https://www.redhat.com/promo/fonts/"
   10.15 +WEB_SITE="https://pagure.io/liberation-fonts"
   10.16  
   10.17 -WANTED="liberation-fonts-base"
   10.18 -DEPENDS="liberation-fonts-base"
   10.19 +TARBALL="liberation-fonts-ttf-$VERSION.tar.gz"
   10.20 +WGET_URL="https://releases.pagure.org/liberation-fonts/$TARBALL"
   10.21  
   10.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.23 -genpkg_rules()
   10.24 -{
   10.25 -	dir="$fs/usr/share/fonts/truetype/$PACKAGE"
   10.26 +compile_rules() {
   10.27 +	dir="$install/usr/share/fonts/truetype/liberation"
   10.28  	mkdir -p $dir
   10.29 -	cp $src/*.ttf $dir
   10.30 -	rm -f $dir/*Regular.ttf
   10.31 +	cp *.ttf $dir
   10.32  }
   10.33  
   10.34 +genpkg_rules() {
   10.35 +	copy @std
   10.36 +}
   10.37 +
    11.1 --- a/libgee-dev/receipt	Sun Oct 29 23:03:44 2017 +0100
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,24 +0,0 @@
    11.4 -# SliTaz package receipt.
    11.5 -
    11.6 -PACKAGE="libgee-dev"
    11.7 -VERSION="0.9.92"
    11.8 -CATEGORY="development"
    11.9 -SHORT_DESC="GObject collection library devel files."
   11.10 -MAINTAINER="pankso@slitaz.org"
   11.11 -LICENSE="LGPL2.1"
   11.12 -WEB_SITE="http://live.gnome.org/Libgee"
   11.13 -
   11.14 -WANTED="libgee"
   11.15 -DEPENDS="libgee pkg-config"
   11.16 -
   11.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 -genpkg_rules()
   11.19 -{
   11.20 -	mkdir -p $fs/usr/lib
   11.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   11.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   11.23 -	cp -a $install/usr/lib/girepository* $fs/usr/lib
   11.24 -	cp -a $install/usr/include $fs/usr
   11.25 -	cp -a $install/usr/share $fs/usr
   11.26 -}
   11.27 -
    12.1 --- a/libgee/receipt	Sun Oct 29 23:03:44 2017 +0100
    12.2 +++ b/libgee/receipt	Mon Oct 30 00:16:27 2017 +0200
    12.3 @@ -1,32 +1,34 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="libgee"
    12.8 -VERSION="0.9.92"
    12.9 +VERSION="0.20.0"
   12.10  CATEGORY="x-window"
   12.11 -SHORT_DESC="GObject collection library."
   12.12 +SHORT_DESC="GObject collection library"
   12.13  MAINTAINER="pankso@slitaz.org"
   12.14  LICENSE="LGPL2.1"
   12.15 -WEB_SITE="http://live.gnome.org/Libgee"
   12.16 +WEB_SITE="https://wiki.gnome.org/Projects/Libgee"
   12.17 +
   12.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
   12.19 -SERIES="$(echo $VERSION | cut -d. -f1,2)"
   12.20 -WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
   12.21 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   12.22  
   12.23 -DEPENDS="glib libffi"
   12.24 -BUILD_DEPENDS="bash vala gobject-introspection-dev sed glib-dev libffi-dev sed"
   12.25 +BUILD_DEPENDS="glib-dev gobject-introspection-dev"
   12.26 +SPLIT="libgee-dev"
   12.27  
   12.28 -# Rules to configure and make the package.
   12.29 -compile_rules() 
   12.30 -{
   12.31 -	./configure \
   12.32 -		--enable-introspection=yes \
   12.33 -		$CONFIGURE_ARGS &&
   12.34 -	make &&
   12.35 -	make install
   12.36 +compile_rules() {
   12.37 +	./configure $CONFIGURE_ARGS && make && make install
   12.38  }
   12.39  
   12.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.41 -genpkg_rules()
   12.42 -{
   12.43 -	mkdir -p $fs/usr/lib
   12.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   12.45 +genpkg_rules() {
   12.46 +	case $PACKAGE in
   12.47 +		libgee)
   12.48 +			copy @std
   12.49 +			DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
   12.50 +			util-linux-uuid zlib"
   12.51 +			;;
   12.52 +		*-dev)
   12.53 +			copy @dev
   12.54 +			DEPENDS="libgee glib-dev libffi-dev pcre-dev util-linux-blkid-dev \
   12.55 +			util-linux-mount-dev util-linux-uuid-dev zlib-dev"
   12.56 +			;;
   12.57 +	esac
   12.58  }
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/python-distutils-extra/receipt	Mon Oct 30 00:16:27 2017 +0200
    13.3 @@ -0,0 +1,26 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="python-distutils-extra"
    13.7 +VERSION="2.39"
    13.8 +CATEGORY="development"
    13.9 +SHORT_DESC="Add support for i18n, documentation and icons to distutils"
   13.10 +MAINTAINER="al.bobylev@gmail.com"
   13.11 +LICENSE="GPL2"
   13.12 +WEB_SITE="https://launchpad.net/python-distutils-extra"
   13.13 +HOST_ARCH="i486 arm"
   13.14 +
   13.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.16 +WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
   13.17 +
   13.18 +BUILD_DEPENDS="python"
   13.19 +
   13.20 +compile_rules() {
   13.21 +	python setup.py install \
   13.22 +		--prefix=/usr \
   13.23 +		--root=$install
   13.24 +}
   13.25 +
   13.26 +genpkg_rules() {
   13.27 +	copy @std
   13.28 +	DEPENDS="python"
   13.29 +}