Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[clutter-gtk] Add clutter-gtk module

  • Loading branch information...
commit 368c7d34508f5d57808922a4f3239def47867666 1 parent d320e40
@ylatuya ylatuya authored
View
20 modulesets/clutter-gtk.modules
@@ -0,0 +1,20 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: nxml -*-->
+<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
+<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
+<moduleset>
+
+ <autotools id="clutter-gtk"
+ autogen-template="autoreconf; libtoolize; LDFLAGS=&quot;$LDFLAGS -no-undefined&quot; CLUTTER_REQUIRED=1.0 ./configure --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s" autogenargs="--with-flavour=win32">
+ <branch module="clutter-gtk/0.10/clutter-gtk-0.10.8.tar.bz2" version="0.10.8"
+ repo="clutter-project.org">
+ <patch file="clutter-gtk-configure.patch"/>
+ <patch file="clutter-gtk-include.patch"/>
+ </branch>
+ <dependencies>
+ <dep package="glib"/>
+ <dep package="gtk"/>
+ <dep package="clutter"/>
+ </dependencies>
+ </autotools>
+
+</moduleset>
View
11 patches/clutter-gtk-configure.patch
@@ -0,0 +1,11 @@
+--- configure.ac 2011-09-27 01:12:02.494569035 +0200
++++ configure.ac 2011-09-27 01:09:37.394936311 +0200
+@@ -79,7 +79,7 @@
+ PKG_CHECK_MODULES(CLUTTER, clutter-win32-1.0 >= $CLUTTER_REQUIRED)
+ PKG_CHECK_MODULES(GTK, gtk+-win32-2.0 >= gtk_req_version)
+ CLUTTER_GTK_REQUIRES="clutter-win32-1.0 gtk+-win32-2.0"
+- ]
++ ],
+
+ [AC_MSG_ERROR([Invalid argument for --with-flavour])]
+ )
View
22 patches/clutter-gtk-include.patch
@@ -0,0 +1,22 @@
+--- clutter-gtk/gtk-clutter-util.c 2011-09-27 01:26:23.209252569 +0200
++++ clutter-gtk/gtk-clutter-util.c 2011-09-27 01:26:36.603403239 +0200
+@@ -16,7 +16,7 @@
+
+ #elif defined(HAVE_CLUTTER_GTK_WIN32)
+
+-#include <clutter/clutter-win32.h>
++#include <clutter/win32/clutter-win32.h>
+ #include <gdk/gdkwin32.h>
+
+ #endif /* HAVE_CLUTTER_GTK_{X11,WIN32} */
+--- clutter-gtk/gtk-clutter-embed.c 2011-09-27 01:25:29.181644801 +0200
++++ clutter-gtk/gtk-clutter-embed.c 2011-09-27 01:25:54.280927150 +0200
+@@ -53,7 +53,7 @@
+
+ #elif defined(HAVE_CLUTTER_GTK_WIN32)
+
+-#include <clutter/clutter-win32.h>
++#include <clutter/win32/clutter-win32.h>
+ #include <gdk/gdkwin32.h>
+
+ #endif /* HAVE_CLUTTER_GTK_{X11,WIN32} */
Please sign in to comment.
Something went wrong with that request. Please try again.