From 8d6a5ba3d29465b64199aa83c500d0033aa5697d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mar 10 2010 11:35:02 +0000 Subject: fix build with old clutter-gtk --- diff --git a/gnome-games-use-old-clutter-gtk.patch b/gnome-games-use-old-clutter-gtk.patch new file mode 100644 index 0000000..92098d3 --- /dev/null +++ b/gnome-games-use-old-clutter-gtk.patch @@ -0,0 +1,11 @@ +--- gnome-games-2.29.92/configure.in.old 2010-03-10 11:32:49.000000000 +0000 ++++ gnome-games-2.29.92/configure.in 2010-03-10 11:33:17.000000000 +0000 +@@ -621,7 +621,7 @@ if test "$need_clutter" = "yes"; then + AC_SUBST([CLUTTER_LIBS]) + + PKG_CHECK_EXISTS([clutter-1.0 >= 1.2.0], +- [CLUTTER_GTK_API_VERSION=0.90 CLUTTER_GTK_REQUIRED=0.90.0], ++ [CLUTTER_GTK_API_VERSION=0.10 CLUTTER_GTK_REQUIRED=0.10.2], + [CLUTTER_GTK_API_VERSION=0.10 CLUTTER_GTK_REQUIRED=0.10.2]) + + PKG_CHECK_MODULES([CLUTTER_GTK],[clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED]) diff --git a/gnome-games.spec b/gnome-games.spec index 7afd821..3b36718 100644 --- a/gnome-games.spec +++ b/gnome-games.spec @@ -51,6 +51,8 @@ Group: Amusements/Games Source: http://download.gnome.org/sources/gnome-games/2.29/gnome-games-%{version}.tar.bz2 # https://bugzilla.gnome.org/show_bug.cgi?id=609898 Patch0: gnome-games-libs.patch +# As clutter-gtk 0.90 hasn't had a release yet +Patch1: gnome-games-use-old-clutter-gtk.patch Obsoletes: gnome-games-devel URL: http://projects.gnome.org/gnome-games/ @@ -126,6 +128,7 @@ This package contains user documentation for %{name}. %prep %setup -q %patch0 -p1 -b .libs +%patch1 -p1 -b .old-clutter-gtk autoreconf