diff options
author | obache <obache@pkgsrc.org> | 2014-01-04 13:34:16 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-01-04 13:34:16 +0000 |
commit | 2cb0ab89a38c091e23a1b035424ea05940fab406 (patch) | |
tree | e7efec05b40f4f2b3599ef66224e2167b255edbd /graphics | |
parent | 0164a297299d55dcdbeb75855af68d4b99106285 (diff) | |
download | pkgsrc-2cb0ab89a38c091e23a1b035424ea05940fab406.tar.gz |
Re-import clutter-gtk0.10-0.10.8 as graphics/clutter-gtk0.10.
Clutter-GTK is a library providing facilities to integrate Clutter into GTK+
applications. It provides a GTK+ widget, GtkClutterEmbed, for embedding the
default ClutterStage into any GtkContainer.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/clutter-gtk0.10/DESCR | 3 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/Makefile | 33 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/PLIST | 36 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/buildlink3.mk | 16 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/distinfo | 8 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/options.mk | 21 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.am | 43 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.in | 42 | ||||
-rw-r--r-- | graphics/clutter-gtk0.10/patches/patch-clutter-gtk_gtk-clutter-util.c | 49 |
9 files changed, 251 insertions, 0 deletions
diff --git a/graphics/clutter-gtk0.10/DESCR b/graphics/clutter-gtk0.10/DESCR new file mode 100644 index 00000000000..448be1084a5 --- /dev/null +++ b/graphics/clutter-gtk0.10/DESCR @@ -0,0 +1,3 @@ +Clutter-GTK is a library providing facilities to integrate Clutter into GTK+ +applications. It provides a GTK+ widget, GtkClutterEmbed, for embedding the +default ClutterStage into any GtkContainer. diff --git a/graphics/clutter-gtk0.10/Makefile b/graphics/clutter-gtk0.10/Makefile new file mode 100644 index 00000000000..1ae9222b6fb --- /dev/null +++ b/graphics/clutter-gtk0.10/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2014/01/04 13:34:16 obache Exp $ +# + +DISTNAME= clutter-gtk-0.10.8 +PKGNAME= ${DISTNAME:S/gtk-/gtk0.10-/} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/clutter-gtk/0.10/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://wiki.gnome.org/Projects/Clutter +COMMENT= GTK+ Integration library for Clutter (0.10) +LICENSE= gnu-lgpl-v2.1 + +CONFLICTS+= clutter-gtk<0.12 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= clutter-gtk.pc.in + +.include "options.mk" + +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.19.5 +.include "../../x11/gtk2/buildlink3.mk" +BUILDLINK_API_DEPENDS.clutter+= clutter>=1.2.0 +.include "../../graphics/clutter/buildlink3.mk" +.if !empty(PKG_BUILD_OPTIONS.clutter:Mx11) +CONFIGURE_ARGS+= --with-flavour=x11 +.else +PKG_FAIL_REASON+= Require Clutter with X11 backend +.endif +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/clutter-gtk0.10/PLIST b/graphics/clutter-gtk0.10/PLIST new file mode 100644 index 00000000000..d403032f6be --- /dev/null +++ b/graphics/clutter-gtk0.10/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1 2014/01/04 13:34:16 obache Exp $ +include/clutter-1.0/clutter-gtk/clutter-gtk.h +include/clutter-1.0/clutter-gtk/gtk-clutter-embed.h +include/clutter-1.0/clutter-gtk/gtk-clutter-scrollable.h +include/clutter-1.0/clutter-gtk/gtk-clutter-util.h +include/clutter-1.0/clutter-gtk/gtk-clutter-viewport.h +include/clutter-1.0/clutter-gtk/gtk-clutter-zoomable.h +${PLIST.introspection}lib/girepository-1.0/GtkClutter-0.10.typelib +lib/libclutter-gtk-0.10.la +lib/pkgconfig/clutter-gtk-0.10.pc +${PLIST.introspection}share/gir-1.0/GtkClutter-0.10.gir +share/gtk-doc/html/clutter-gtk/GtkClutterEmbed.html +share/gtk-doc/html/clutter-gtk/GtkClutterScrollable.html +share/gtk-doc/html/clutter-gtk/GtkClutterViewport.html +share/gtk-doc/html/clutter-gtk/GtkClutterZoomable.html +share/gtk-doc/html/clutter-gtk/ch01.html +share/gtk-doc/html/clutter-gtk/ch02.html +share/gtk-doc/html/clutter-gtk/ch03.html +share/gtk-doc/html/clutter-gtk/ch04.html +share/gtk-doc/html/clutter-gtk/clutter-gtk-Utility-Functions.html +share/gtk-doc/html/clutter-gtk/clutter-gtk.devhelp +share/gtk-doc/html/clutter-gtk/clutter-gtk.devhelp2 +share/gtk-doc/html/clutter-gtk/home.png +share/gtk-doc/html/clutter-gtk/index.html +share/gtk-doc/html/clutter-gtk/index.sgml +share/gtk-doc/html/clutter-gtk/ix01.html +share/gtk-doc/html/clutter-gtk/ix02.html +share/gtk-doc/html/clutter-gtk/ix03.html +share/gtk-doc/html/clutter-gtk/ix04.html +share/gtk-doc/html/clutter-gtk/ix05.html +share/gtk-doc/html/clutter-gtk/ix06.html +share/gtk-doc/html/clutter-gtk/left.png +share/gtk-doc/html/clutter-gtk/license.html +share/gtk-doc/html/clutter-gtk/right.png +share/gtk-doc/html/clutter-gtk/style.css +share/gtk-doc/html/clutter-gtk/up.png diff --git a/graphics/clutter-gtk0.10/buildlink3.mk b/graphics/clutter-gtk0.10/buildlink3.mk new file mode 100644 index 00000000000..e51c187d24b --- /dev/null +++ b/graphics/clutter-gtk0.10/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/01/04 13:34:16 obache Exp $ +# + +BUILDLINK_TREE+= clutter-gtk0.10 + +.if !defined(CLUTTER_GTK0.10_BUILDLINK3_MK) +CLUTTER_GTK0.10_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.clutter-gtk0.10+= clutter-gtk>=0.10.0 +BUILDLINK_PKGSRCDIR.clutter-gtk0.10?= ../../graphics/clutter-gtk0.10 + +.include "../../x11/gtk2/buildlink3.mk" +.include "../../graphics/clutter/buildlink3.mk" +.endif # CLUTTER_GTK0.10_BUILDLINK3_MK + +BUILDLINK_TREE+= -clutter-gtk0.10 diff --git a/graphics/clutter-gtk0.10/distinfo b/graphics/clutter-gtk0.10/distinfo new file mode 100644 index 00000000000..e28cbddbe29 --- /dev/null +++ b/graphics/clutter-gtk0.10/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1 2014/01/04 13:34:16 obache Exp $ + +SHA1 (clutter-gtk-0.10.8.tar.gz) = 91dc92c06ab6feff4d99d3bf5cce374c48a2f14b +RMD160 (clutter-gtk-0.10.8.tar.gz) = 6c24adcd11029d8d5172af28a9429238d009b9b4 +Size (clutter-gtk-0.10.8.tar.gz) = 391461 bytes +SHA1 (patch-clutter-gtk_Makefile.am) = 01c0ddeaf645216014542b127acb1b316db481ab +SHA1 (patch-clutter-gtk_Makefile.in) = 46d81e894677948f1bf96cb08adc2ac13aaacf73 +SHA1 (patch-clutter-gtk_gtk-clutter-util.c) = fcaba3d399ecd75a8798d9394a828b35d05f13bc diff --git a/graphics/clutter-gtk0.10/options.mk b/graphics/clutter-gtk0.10/options.mk new file mode 100644 index 00000000000..d83a4ef783d --- /dev/null +++ b/graphics/clutter-gtk0.10/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2014/01/04 13:34:16 obache Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.clutter-gtk0.10 +PKG_SUPPORTED_OPTIONS= introspection +PKG_SUGGESTED_OPTIONS= introspection + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= introspection + +.if !empty(PKG_OPTIONS:Mintrospection) +USE_TOOLS+= gmake +PLIST.introspection= yes +BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.3 +BUILDLINK_DEPMETHOD.gobject-introspection+= build +.include "../../devel/gobject-introspection/buildlink3.mk" +CONFIGURE_ARGS+= --enable-introspection=yes +.else +CONFIGURE_ARGS+= --enable-introspection=no +.endif diff --git a/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.am b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.am new file mode 100644 index 00000000000..5ef2282036b --- /dev/null +++ b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.am @@ -0,0 +1,43 @@ +$NetBSD: patch-clutter-gtk_Makefile.am,v 1.1 2014/01/04 13:34:16 obache Exp $ + +* using deprecated API +* build: Add common CFLAGS to the introspection scanner + https://git.gnome.org/browse/clutter-gtk/commit/?h=clutter-gtk-0.10&id=4de105a2bbd201c8e60f3e8777794a4cd532afdc + +--- clutter-gtk/Makefile.am.orig 2010-09-16 13:44:00.000000000 +0000 ++++ clutter-gtk/Makefile.am +@@ -7,7 +7,6 @@ AM_CPPFLAGS = \ + -DPREFIX=\""$(prefix)"\" \ + -DLIBDIR=\""$(libdir)"\" \ + -DCLUTTER_GTK_COMPILATION \ +- -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \ +@@ -15,6 +14,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 +37,7 @@ lib_LTLIBRARIES = libclutter-gtk-@CLUTTE + 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 +49,7 @@ GtkClutter-@CLUTTER_GTK_API_VERSION@.gir + $(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 \ diff --git a/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.in b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.in new file mode 100644 index 00000000000..13a4f34bf50 --- /dev/null +++ b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_Makefile.in @@ -0,0 +1,42 @@ +$NetBSD: patch-clutter-gtk_Makefile.in,v 1.1 2014/01/04 13:34:16 obache Exp $ + +* using deprecated API +* build: Add common CFLAGS to the introspection scanner + https://git.gnome.org/browse/clutter-gtk/commit/?h=clutter-gtk-0.10&id=4de105a2bbd201c8e60f3e8777794a4cd532afdc + +--- clutter-gtk/Makefile.in.orig 2010-09-16 13:50:05.000000000 +0000 ++++ clutter-gtk/Makefile.in +@@ -281,7 +281,6 @@ AM_CPPFLAGS = \ + -DPREFIX=\""$(prefix)"\" \ + -DLIBDIR=\""$(libdir)"\" \ + -DCLUTTER_GTK_COMPILATION \ +- -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \ +@@ -289,6 +288,7 @@ AM_CPPFLAGS = \ + -DCLUTTER_DISABLE_DEPRECATED \ + $(CLUTTER_GTK_DEBUG_CFLAGS) + ++common_cflags = $(CLUTTER_CFLAGS) $(GTK_CFLAGS) + + # please, keep these lists sorted alphabetically + sources_c = \ +@@ -311,7 +311,7 @@ lib_LTLIBRARIES = libclutter-gtk-@CLUTTE + 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 + @HAVE_INTROSPECTION_TRUE@BUILT_GIRSOURCES = GtkClutter-@CLUTTER_GTK_API_VERSION@.gir +@@ -744,7 +744,7 @@ uninstall-am: uninstall-cluttergtkheader + @HAVE_INTROSPECTION_TRUE@ $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \ + @HAVE_INTROSPECTION_TRUE@ --namespace GtkClutter --nsversion=@CLUTTER_GTK_API_VERSION@ \ + @HAVE_INTROSPECTION_TRUE@ --strip-prefix=GtkClutter \ +-@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) $(AM_CPPFLAGS) \ ++@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) $(AM_CPPFLAGS) $(common_cflags) \ + @HAVE_INTROSPECTION_TRUE@ --add-include-path=$(srcdir) --add-include=path=. \ + @HAVE_INTROSPECTION_TRUE@ --include=Clutter-1.0 \ + @HAVE_INTROSPECTION_TRUE@ --include=GdkPixbuf-2.0 \ diff --git a/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_gtk-clutter-util.c b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_gtk-clutter-util.c new file mode 100644 index 00000000000..36842b94152 --- /dev/null +++ b/graphics/clutter-gtk0.10/patches/patch-clutter-gtk_gtk-clutter-util.c @@ -0,0 +1,49 @@ +$NetBSD: patch-clutter-gtk_gtk-clutter-util.c,v 1.1 2014/01/04 13:34:16 obache Exp $ + +* Add introspection annotations for gtk_clutter_init* + https://git.gnome.org/browse/clutter-gtk/commit/?h=clutter-gtk-0.10&id=0d77c7c965dcebcec0dae6b6244c3a057b398b59 + +--- clutter-gtk/gtk-clutter-util.c.orig 2010-09-16 13:46:51.000000000 +0000 ++++ clutter-gtk/gtk-clutter-util.c +@@ -603,8 +603,9 @@ gtk_clutter_texture_set_from_icon_name ( + + /** + * gtk_clutter_init: +- * @argc: pointer to the arguments count, or %NULL +- * @argv: pointer to the arguments vector, or %NULL ++ * @argc: (input): pointer to the arguments count, or %NULL ++ * @argv: (aray 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 <option>--help</option> output, after +- * <literal><replaceable>programname</replaceable> [OPTION...]</literal> +- * @entries: a %NULL-terminated array of #GOptionEntry<!-- -->s +- * describing the options of your program +- * @translation_domain: a translation domain to use for translating +- * the <option>--help</option> 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 <option>--help</option> output, after ++ * <literal><replaceable>programname</replaceable> [OPTION...]</literal> ++ * @entries: (allow-none): a %NULL-terminated array of #GOptionEntry<!-- -->s ++ * describing the options of your program ++ * @translation_domain: (allow-none): a translation domain to use for ++ * translating the <option>--help</option> output for the options ++ * in @entries with gettext(), or %NULL ++ * @error: (allow-none): a return location for errors + * + * This function should be called instead of clutter_init() and + * gtk_init_with_args(). |