wok-next rev 20644

Up clutter-gtk (1.8.4), clutter, add clutter-gst, colord-gtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 01 17:41:04 2018 +0300 (2018-05-01)
parents 60e1f57c9858
children 7729bf733291
files clutter-gst/receipt clutter-gtk/receipt clutter-gtk/stuff/fix-gir.patch clutter/receipt colord-gtk/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clutter-gst/receipt	Tue May 01 17:41:04 2018 +0300
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="clutter-gst"
     1.7 +VERSION="3.0.24"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Integration library for using GStreamer with Clutter"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://developer.gnome.org/clutter-gst/"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter-gst.html"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="clutter-dev cogl-dev glib-dev gstreamer1-dev \
    1.19 +gst1-plugins-base-dev libgudev-dev"
    1.20 +SPLIT="clutter-gst-dev"
    1.21 +
    1.22 +compile_rules() {
    1.23 +	./configure $CONFIGURE_ARGS &&
    1.24 +	fix libtool &&
    1.25 +	make &&
    1.26 +	make install
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	case $PACKAGE in
    1.31 +		clutter-gst)
    1.32 +			copy @std
    1.33 +			DEPENDS="clutter cogl gdk-pixbuf glib gst1-plugins-base gstreamer1 \
    1.34 +			libgudev xorg-libX11"
    1.35 +			;;
    1.36 +		*-dev)
    1.37 +			copy @dev
    1.38 +			;;
    1.39 +	esac
    1.40 +}
     2.1 --- a/clutter-gtk/receipt	Tue May 01 15:46:52 2018 +0200
     2.2 +++ b/clutter-gtk/receipt	Tue May 01 17:41:04 2018 +0300
     2.3 @@ -1,29 +1,21 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="clutter-gtk"
     2.7 -VERSION="0.10.8"
     2.8 +VERSION="1.8.4"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="GTK+ libraries for Clutter"
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="LGPL2.1"
    2.13  WEB_SITE="http://clutter-project.org/"
    2.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter-gtk.html"
    2.15  
    2.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.20  
    2.21 -BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
    2.22 -libtool gtk-doc expat-dev xorg-libxshmfence-dev"
    2.23 +BUILD_DEPENDS="clutter-dev gtk+3-dev gettext gobject-introspection-dev"
    2.24  SPLIT="clutter-gtk-dev"
    2.25  
    2.26  compile_rules() {
    2.27 -	export LDFLAGS="$LDFLAGS -lm -lgthread-2.0"
    2.28 -
    2.29 -	patch -Np1 -i $stuff/fix-gir.patch
    2.30 -	sed \
    2.31 -		-e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
    2.32 -		-e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
    2.33 -		-i clutter-gtk/gtk-clutter-embed.c
    2.34 -	autoreconf -i
    2.35  	./configure $CONFIGURE_ARGS &&
    2.36  	fix libtool &&
    2.37  	make &&
    2.38 @@ -34,10 +26,11 @@
    2.39  	case $PACKAGE in
    2.40  		clutter-gtk)
    2.41  			copy @std
    2.42 -			DEPENDS="gtk+ clutter"
    2.43 +			DEPENDS="cairo clutter cogl gdk-pixbuf glib gtk+3"
    2.44  			;;
    2.45  		*-dev)
    2.46  			copy @dev
    2.47 +			DEPENDS="clutter-gtk clutter-dev gtk+3-dev"
    2.48  			;;
    2.49  	esac
    2.50  }
     3.1 --- a/clutter-gtk/stuff/fix-gir.patch	Tue May 01 15:46:52 2018 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,93 +0,0 @@
     3.4 -From 4de105a2bbd201c8e60f3e8777794a4cd532afdc Mon Sep 17 00:00:00 2001
     3.5 -From: Emmanuele Bassi <ebassi@linux.intel.com>
     3.6 -Date: Tue, 28 Sep 2010 13:52:25 +0000
     3.7 -Subject: build: Add common CFLAGS to the introspection scanner
     3.8 -
     3.9 ----
    3.10 -diff --git a/clutter-gtk/Makefile.am b/clutter-gtk/Makefile.am
    3.11 -index 6e267b4..cec5cce 100644
    3.12 ---- a/clutter-gtk/Makefile.am
    3.13 -+++ b/clutter-gtk/Makefile.am
    3.14 -@@ -15,6 +15,8 @@ AM_CPPFLAGS = \
    3.15 - 	-DCLUTTER_DISABLE_DEPRECATED		\
    3.16 - 	$(CLUTTER_GTK_DEBUG_CFLAGS)
    3.17 - 
    3.18 -+common_cflags = $(CLUTTER_CFLAGS) $(GTK_CFLAGS)
    3.19 -+
    3.20 - # please, keep these lists sorted alphabetically
    3.21 - sources_c = \
    3.22 - 	$(srcdir)/gtk-clutter-embed.c 		\
    3.23 -@@ -36,7 +38,7 @@ lib_LTLIBRARIES = libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la
    3.24 - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_SOURCES = $(sources_c)
    3.25 - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LIBADD = $(CLUTTER_LIBS) $(GTK_LIBS)
    3.26 - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LDFLAGS = $(CLUTTER_LT_LDFLAGS)
    3.27 --libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(MAINTAINER_CFLAGS) $(GTK_CFLAGS) $(CLUTTER_CFLAGS) 
    3.28 -+libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(common_cflags) $(MAINTAINER_CFLAGS)
    3.29 - 
    3.30 - cluttergtkheadersdir = $(includedir)/clutter-1.0/clutter-gtk
    3.31 - cluttergtkheaders_HEADERS = $(sources_h) $(srcdir)/clutter-gtk.h
    3.32 -@@ -48,7 +50,7 @@ GtkClutter-@CLUTTER_GTK_API_VERSION@.gir: $(INTROSPECTION_SCANNER) Makefile libc
    3.33 - 	$(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
    3.34 - 		--namespace GtkClutter --nsversion=@CLUTTER_GTK_API_VERSION@ \
    3.35 - 		--strip-prefix=GtkClutter \
    3.36 --		$(INCLUDES) $(AM_CPPFLAGS) \
    3.37 -+		$(INCLUDES) $(AM_CPPFLAGS) $(common_cflags) \
    3.38 - 		--add-include-path=$(srcdir) --add-include=path=. \
    3.39 - 		--include=Clutter-1.0 \
    3.40 - 		--include=GdkPixbuf-2.0 \
    3.41 ---
    3.42 -cgit v0.8.3.1-30-gff3a
    3.43 -From 0d77c7c965dcebcec0dae6b6244c3a057b398b59 Mon Sep 17 00:00:00 2001
    3.44 -From: Emmanuele Bassi <ebassi@linux.intel.com>
    3.45 -Date: Tue, 28 Sep 2010 13:58:17 +0000
    3.46 -Subject: Add introspection annotations for gtk_clutter_init*
    3.47 -
    3.48 ----
    3.49 -diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c
    3.50 -index 8cf4116..50bca6b 100644
    3.51 ---- a/clutter-gtk/gtk-clutter-util.c
    3.52 -+++ b/clutter-gtk/gtk-clutter-util.c
    3.53 -@@ -603,8 +603,9 @@ gtk_clutter_texture_set_from_icon_name (ClutterTexture *texture,
    3.54 - 
    3.55 - /**
    3.56 -  * gtk_clutter_init:
    3.57 -- * @argc: pointer to the arguments count, or %NULL
    3.58 -- * @argv: pointer to the arguments vector, or %NULL
    3.59 -+ * @argc: (inout): pointer to the arguments count, or %NULL
    3.60 -+ * @argv: (array length=argc) (inout) (allow-none): pointer to the
    3.61 -+ *   arguments vector, or %NULL
    3.62 -  *
    3.63 -  * This function should be called instead of clutter_init() and
    3.64 -  * gtk_init().
    3.65 -@@ -633,17 +634,18 @@ gtk_clutter_init (int    *argc,
    3.66 - 
    3.67 - /**
    3.68 -  * gtk_clutter_init_with_args:
    3.69 -- * @argc: a pointer to the number of command line arguments.
    3.70 -- * @argv: a pointer to the array of command line arguments.
    3.71 -- * @parameter_string: a string which is displayed in
    3.72 -- *    the first line of <option>--help</option> output, after
    3.73 -- *    <literal><replaceable>programname</replaceable> [OPTION...]</literal>
    3.74 -- * @entries: a %NULL-terminated array of #GOptionEntry<!-- -->s
    3.75 -- *    describing the options of your program
    3.76 -- * @translation_domain: a translation domain to use for translating
    3.77 -- *    the <option>--help</option> output for the options in @entries
    3.78 -- *    with gettext(), or %NULL
    3.79 -- * @error: a return location for errors
    3.80 -+ * @argc: (inout): a pointer to the number of command line arguments.
    3.81 -+ * @argv: (array length=argc) (inout) (allow-none): a pointer to the array
    3.82 -+ *   of command line arguments.
    3.83 -+ * @parameter_string: (allow-none): a string which is displayed in
    3.84 -+ *   the first line of <option>--help</option> output, after
    3.85 -+ *   <literal><replaceable>programname</replaceable> [OPTION...]</literal>
    3.86 -+ * @entries: (allow-none): a %NULL-terminated array of #GOptionEntry<!-- -->s
    3.87 -+ *   describing the options of your program, or %NULL
    3.88 -+ * @translation_domain: (allow-none): a translation domain to use for
    3.89 -+ *   translating the <option>--help</option> output for the options
    3.90 -+ *   in @entries with gettext(), or %NULL
    3.91 -+ * @error: (allow-none): a return location for errors, or %NULL
    3.92 -  *
    3.93 -  * This function should be called instead of clutter_init() and
    3.94 -  * gtk_init_with_args().
    3.95 ---
    3.96 -cgit v0.8.3.1-30-gff3a
     4.1 --- a/clutter/receipt	Tue May 01 15:46:52 2018 +0200
     4.2 +++ b/clutter/receipt	Tue May 01 17:41:04 2018 +0300
     4.3 @@ -6,14 +6,14 @@
     4.4  SHORT_DESC="Animated graphical user interfaces library"
     4.5  MAINTAINER="pankso@slitaz.org"
     4.6  LICENSE="LGPL2.1"
     4.7 -WEB_SITE="https://blogs.gnome.org/clutter/"
     4.8 +WEB_SITE="https://developer.gnome.org/clutter/"
     4.9  LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter.html"
    4.10  
    4.11  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.12  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.13  
    4.14  BUILD_DEPENDS="glib-dev cogl-dev atk-dev json-glib-dev \
    4.15 -gobject-introspection-dev gettext"
    4.16 +gobject-introspection-dev gettext pango-dev"
    4.17  SPLIT="clutter-dev"
    4.18  
    4.19  compile_rules() {
    4.20 @@ -32,26 +32,14 @@
    4.21  	case $PACKAGE in
    4.22  		clutter)
    4.23  			copy @std
    4.24 -			DEPENDS="atk bzlib cairo cogl expat fontconfig freetype gdk-pixbuf \
    4.25 -			glib json-glib libatomic libdrm libffi libharfbuzz liblzma \
    4.26 -			libpng16 libxml2 mesa-libegl mesa-libgbm mesa-libwayland-egl \
    4.27 -			pango pcre util-linux-blkid util-linux-mount util-linux-uuid \
    4.28 -			wayland xorg-libX11 xorg-libXau xorg-libxcb xorg-libXcomposite \
    4.29 -			xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
    4.30 -			xorg-libXrandr xorg-libXrender xorg-libxshmfence xorg-pixman zlib"
    4.31 +			DEPENDS="atk cairo cogl fontconfig glib json-glib pango \
    4.32 +			xorg-libX11 xorg-libXcomposite xorg-libXdamage"
    4.33  			;;
    4.34  		*-dev)
    4.35  			copy @dev
    4.36 -			DEPENDS="clutter atk-dev bzip2-dev cairo-dev cogl-dev expat-dev \
    4.37 -			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev harfbuzz-dev \
    4.38 -			json-glib-dev libdrm-dev libffi-dev libpng16-dev libxml2-dev \
    4.39 -			mesa-dev pango-dev pcre-dev util-linux-blkid-dev \
    4.40 -			util-linux-mount-dev util-linux-uuid-dev wayland-dev \
    4.41 -			xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev \
    4.42 -			xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXdmcp-dev \
    4.43 -			xorg-libXext-dev xorg-libXfixes-dev xorg-libXrandr-dev \
    4.44 -			xorg-libXrender-dev xorg-libxshmfence-dev xorg-pixman-dev xz-dev \
    4.45 -			zlib-dev"
    4.46 +			DEPENDS="clutter atk-dev cairo-dev cogl-dev glib-dev json-glib-dev \
    4.47 +			pango-dev xorg-libX11-dev xorg-libXcomposite-dev \
    4.48 +			xorg-libXdamage-dev xorg-libXext-dev"
    4.49  			;;
    4.50  	esac
    4.51  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/colord-gtk/receipt	Tue May 01 17:41:04 2018 +0300
     5.3 @@ -0,0 +1,40 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="colord-gtk"
     5.7 +VERSION="0.1.26"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="GTK+ bindings for Colord"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="LGPL2.1"
    5.12 +WEB_SITE="https://www.freedesktop.org/software/colord/"
    5.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/colord-gtk.html"
    5.14 +
    5.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    5.16 +WGET_URL="https://www.freedesktop.org/software/colord/releases/$TARBALL"
    5.17 +
    5.18 +BUILD_DEPENDS="gobject-introspection-dev intltool libxslt gtk+3-dev colord-dev \
    5.19 +vala"
    5.20 +SPLIT="colord-gtk-dev"
    5.21 +
    5.22 +compile_rules() {
    5.23 +	./configure \
    5.24 +		--enable-vala \
    5.25 +		--disable-static \
    5.26 +		$CONFIGURE_ARGS &&
    5.27 +	fix libtool &&
    5.28 +	make &&
    5.29 +	make install
    5.30 +}
    5.31 +
    5.32 +genpkg_rules() {
    5.33 +	case $PACKAGE in
    5.34 +		colord-gtk)
    5.35 +			copy @std
    5.36 +			DEPENDS="cairo colord glib gtk+3"
    5.37 +			;;
    5.38 +		*-dev)
    5.39 +			copy @dev
    5.40 +			DEPENDS="colord-gtk colord-dev gtk+3-dev"
    5.41 +			;;
    5.42 +	esac
    5.43 +}