# HG changeset patch # User Aleksej Bobylev # Date 1525185664 -10800 # Node ID ef21df344980e02a48520d6aecff8dd53fbbd651 # Parent 60e1f57c98585de8bfdc790998240e29ffe2fd82 Up clutter-gtk (1.8.4), clutter, add clutter-gst, colord-gtk. diff -r 60e1f57c9858 -r ef21df344980 clutter-gst/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clutter-gst/receipt Tue May 01 17:41:04 2018 +0300 @@ -0,0 +1,37 @@ +# SliTaz package receipt v2. + +PACKAGE="clutter-gst" +VERSION="3.0.24" +CATEGORY="x-window" +SHORT_DESC="Integration library for using GStreamer with Clutter" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://developer.gnome.org/clutter-gst/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter-gst.html" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="clutter-dev cogl-dev glib-dev gstreamer1-dev \ +gst1-plugins-base-dev libgudev-dev" +SPLIT="clutter-gst-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + clutter-gst) + copy @std + DEPENDS="clutter cogl gdk-pixbuf glib gst1-plugins-base gstreamer1 \ + libgudev xorg-libX11" + ;; + *-dev) + copy @dev + ;; + esac +} diff -r 60e1f57c9858 -r ef21df344980 clutter-gtk/receipt --- a/clutter-gtk/receipt Tue May 01 15:46:52 2018 +0200 +++ b/clutter-gtk/receipt Tue May 01 17:41:04 2018 +0300 @@ -1,29 +1,21 @@ # SliTaz package receipt v2. PACKAGE="clutter-gtk" -VERSION="0.10.8" +VERSION="1.8.4" CATEGORY="x-window" SHORT_DESC="GTK+ libraries for Clutter" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://clutter-project.org/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter-gtk.html" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \ -libtool gtk-doc expat-dev xorg-libxshmfence-dev" +BUILD_DEPENDS="clutter-dev gtk+3-dev gettext gobject-introspection-dev" SPLIT="clutter-gtk-dev" compile_rules() { - export LDFLAGS="$LDFLAGS -lm -lgthread-2.0" - - patch -Np1 -i $stuff/fix-gir.patch - sed \ - -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \ - -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \ - -i clutter-gtk/gtk-clutter-embed.c - autoreconf -i ./configure $CONFIGURE_ARGS && fix libtool && make && @@ -34,10 +26,11 @@ case $PACKAGE in clutter-gtk) copy @std - DEPENDS="gtk+ clutter" + DEPENDS="cairo clutter cogl gdk-pixbuf glib gtk+3" ;; *-dev) copy @dev + DEPENDS="clutter-gtk clutter-dev gtk+3-dev" ;; esac } diff -r 60e1f57c9858 -r ef21df344980 clutter-gtk/stuff/fix-gir.patch --- a/clutter-gtk/stuff/fix-gir.patch Tue May 01 15:46:52 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ -From 4de105a2bbd201c8e60f3e8777794a4cd532afdc Mon Sep 17 00:00:00 2001 -From: Emmanuele Bassi -Date: Tue, 28 Sep 2010 13:52:25 +0000 -Subject: build: Add common CFLAGS to the introspection scanner - ---- -diff --git a/clutter-gtk/Makefile.am b/clutter-gtk/Makefile.am -index 6e267b4..cec5cce 100644 ---- a/clutter-gtk/Makefile.am -+++ b/clutter-gtk/Makefile.am -@@ -15,6 +15,8 @@ AM_CPPFLAGS = \ - -DCLUTTER_DISABLE_DEPRECATED \ - $(CLUTTER_GTK_DEBUG_CFLAGS) - -+common_cflags = $(CLUTTER_CFLAGS) $(GTK_CFLAGS) -+ - # please, keep these lists sorted alphabetically - sources_c = \ - $(srcdir)/gtk-clutter-embed.c \ -@@ -36,7 +38,7 @@ lib_LTLIBRARIES = libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_SOURCES = $(sources_c) - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LIBADD = $(CLUTTER_LIBS) $(GTK_LIBS) - libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LDFLAGS = $(CLUTTER_LT_LDFLAGS) --libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(MAINTAINER_CFLAGS) $(GTK_CFLAGS) $(CLUTTER_CFLAGS) -+libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(common_cflags) $(MAINTAINER_CFLAGS) - - cluttergtkheadersdir = $(includedir)/clutter-1.0/clutter-gtk - cluttergtkheaders_HEADERS = $(sources_h) $(srcdir)/clutter-gtk.h -@@ -48,7 +50,7 @@ GtkClutter-@CLUTTER_GTK_API_VERSION@.gir: $(INTROSPECTION_SCANNER) Makefile libc - $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \ - --namespace GtkClutter --nsversion=@CLUTTER_GTK_API_VERSION@ \ - --strip-prefix=GtkClutter \ -- $(INCLUDES) $(AM_CPPFLAGS) \ -+ $(INCLUDES) $(AM_CPPFLAGS) $(common_cflags) \ - --add-include-path=$(srcdir) --add-include=path=. \ - --include=Clutter-1.0 \ - --include=GdkPixbuf-2.0 \ --- -cgit v0.8.3.1-30-gff3a -From 0d77c7c965dcebcec0dae6b6244c3a057b398b59 Mon Sep 17 00:00:00 2001 -From: Emmanuele Bassi -Date: Tue, 28 Sep 2010 13:58:17 +0000 -Subject: Add introspection annotations for gtk_clutter_init* - ---- -diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c -index 8cf4116..50bca6b 100644 ---- a/clutter-gtk/gtk-clutter-util.c -+++ b/clutter-gtk/gtk-clutter-util.c -@@ -603,8 +603,9 @@ gtk_clutter_texture_set_from_icon_name (ClutterTexture *texture, - - /** - * gtk_clutter_init: -- * @argc: pointer to the arguments count, or %NULL -- * @argv: pointer to the arguments vector, or %NULL -+ * @argc: (inout): pointer to the arguments count, or %NULL -+ * @argv: (array length=argc) (inout) (allow-none): pointer to the -+ * arguments vector, or %NULL - * - * This function should be called instead of clutter_init() and - * gtk_init(). -@@ -633,17 +634,18 @@ gtk_clutter_init (int *argc, - - /** - * gtk_clutter_init_with_args: -- * @argc: a pointer to the number of command line arguments. -- * @argv: a pointer to the array of command line arguments. -- * @parameter_string: a string which is displayed in -- * the first line of output, after -- * programname [OPTION...] -- * @entries: a %NULL-terminated array of #GOptionEntrys -- * describing the options of your program -- * @translation_domain: a translation domain to use for translating -- * the output for the options in @entries -- * with gettext(), or %NULL -- * @error: a return location for errors -+ * @argc: (inout): a pointer to the number of command line arguments. -+ * @argv: (array length=argc) (inout) (allow-none): a pointer to the array -+ * of command line arguments. -+ * @parameter_string: (allow-none): a string which is displayed in -+ * the first line of output, after -+ * programname [OPTION...] -+ * @entries: (allow-none): a %NULL-terminated array of #GOptionEntrys -+ * describing the options of your program, or %NULL -+ * @translation_domain: (allow-none): a translation domain to use for -+ * translating the output for the options -+ * in @entries with gettext(), or %NULL -+ * @error: (allow-none): a return location for errors, or %NULL - * - * This function should be called instead of clutter_init() and - * gtk_init_with_args(). --- -cgit v0.8.3.1-30-gff3a diff -r 60e1f57c9858 -r ef21df344980 clutter/receipt --- a/clutter/receipt Tue May 01 15:46:52 2018 +0200 +++ b/clutter/receipt Tue May 01 17:41:04 2018 +0300 @@ -6,14 +6,14 @@ SHORT_DESC="Animated graphical user interfaces library" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://blogs.gnome.org/clutter/" +WEB_SITE="https://developer.gnome.org/clutter/" LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" BUILD_DEPENDS="glib-dev cogl-dev atk-dev json-glib-dev \ -gobject-introspection-dev gettext" +gobject-introspection-dev gettext pango-dev" SPLIT="clutter-dev" compile_rules() { @@ -32,26 +32,14 @@ case $PACKAGE in clutter) copy @std - DEPENDS="atk bzlib cairo cogl expat fontconfig freetype gdk-pixbuf \ - glib json-glib libatomic libdrm libffi libharfbuzz liblzma \ - libpng16 libxml2 mesa-libegl mesa-libgbm mesa-libwayland-egl \ - pango pcre util-linux-blkid util-linux-mount util-linux-uuid \ - wayland xorg-libX11 xorg-libXau xorg-libxcb xorg-libXcomposite \ - xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ - xorg-libXrandr xorg-libXrender xorg-libxshmfence xorg-pixman zlib" + DEPENDS="atk cairo cogl fontconfig glib json-glib pango \ + xorg-libX11 xorg-libXcomposite xorg-libXdamage" ;; *-dev) copy @dev - DEPENDS="clutter atk-dev bzip2-dev cairo-dev cogl-dev expat-dev \ - fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev harfbuzz-dev \ - json-glib-dev libdrm-dev libffi-dev libpng16-dev libxml2-dev \ - mesa-dev pango-dev pcre-dev util-linux-blkid-dev \ - util-linux-mount-dev util-linux-uuid-dev wayland-dev \ - xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev \ - xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXdmcp-dev \ - xorg-libXext-dev xorg-libXfixes-dev xorg-libXrandr-dev \ - xorg-libXrender-dev xorg-libxshmfence-dev xorg-pixman-dev xz-dev \ - zlib-dev" + DEPENDS="clutter atk-dev cairo-dev cogl-dev glib-dev json-glib-dev \ + pango-dev xorg-libX11-dev xorg-libXcomposite-dev \ + xorg-libXdamage-dev xorg-libXext-dev" ;; esac } diff -r 60e1f57c9858 -r ef21df344980 colord-gtk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/colord-gtk/receipt Tue May 01 17:41:04 2018 +0300 @@ -0,0 +1,40 @@ +# SliTaz package receipt v2. + +PACKAGE="colord-gtk" +VERSION="0.1.26" +CATEGORY="x-window" +SHORT_DESC="GTK+ bindings for Colord" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://www.freedesktop.org/software/colord/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/colord-gtk.html" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://www.freedesktop.org/software/colord/releases/$TARBALL" + +BUILD_DEPENDS="gobject-introspection-dev intltool libxslt gtk+3-dev colord-dev \ +vala" +SPLIT="colord-gtk-dev" + +compile_rules() { + ./configure \ + --enable-vala \ + --disable-static \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + colord-gtk) + copy @std + DEPENDS="cairo colord glib gtk+3" + ;; + *-dev) + copy @dev + DEPENDS="colord-gtk colord-dev gtk+3-dev" + ;; + esac +}