Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gnome228.git;a=commitdiff;h=46c56f1d40a1454d9109916b8532125df5e5bbb4
commit 46c56f1d40a1454d9109916b8532125df5e5bbb4 Author: bouleetbil <[email protected]> Date: Sat Sep 26 19:41:16 2009 +0200 clutter-1.0.6-2-i686 *added fix diff --git a/source/xlib-extra/clutter/FrugalBuild b/source/xlib-extra/clutter/FrugalBuild index 6fd7175..a068f12 100644 --- a/source/xlib-extra/clutter/FrugalBuild +++ b/source/xlib-extra/clutter/FrugalBuild @@ -4,14 +4,25 @@ pkgname=clutter pkgver=1.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="A GObject based library for creating fast, visually rich graphical user interfaces." depends=('libxdamage' 'libxcomposite' 'libgl' 'freetype2' 'libxau>=1.0.4' 'libxdmcp' \ 'gtk+2>=2.16.2-2' 'libxml2' 'gir-repository') -sha1sums=('abad9f13ce5bbede19170ebe8e36bd1a5ffa8154') Finclude clutter +source=($source clutter-1.0.0-disable-tests.patch) replaces=('clutter-cairo') provides=('clutter-cairo') unset MAKEFLAGS +Fconfopts="$Fconfopts --with-imagebackend=gdk-pixbuf --enable-xinput \ + --with-json=internal" #Using external json-glib breaks introspection +sha1sums=('abad9f13ce5bbede19170ebe8e36bd1a5ffa8154' \ + 'f355cb8f13cb8fd4e192c925ea23efb8ac64f40b') + +build() { + Fpatchall + Fautoreconf + Fmake + Fmakeinstall +} # optimization OK diff --git a/source/xlib-extra/clutter/clutter-1.0.0-disable-tests.patch b/source/xlib-extra/clutter/clutter-1.0.0-disable-tests.patch new file mode 100644 index 0000000..d47855d --- /dev/null +++ b/source/xlib-extra/clutter/clutter-1.0.0-disable-tests.patch @@ -0,0 +1,53 @@ +Interactive Tests. + +http://bugzilla.o-hand.com/show_bug.cgi?id=1618 + +-- +--- configure.ac ++++ configure.ac +@@ -718,6 +718,18 @@ + + AM_CONDITIONAL(ENABLE_MANUAL, [test "x$enable_manual" = "xyes"]) + ++dnl = tests ================================================================ ++AC_ARG_ENABLE(tests, ++ AS_HELP_STRING([--enable-tests],[Enable building of tests and examples]), ++ [case "${enableval}" in ++ yes) ENABLE_TESTS=yes ;; ++ no) ENABLE_TESTS=no ;; ++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;; ++ esac], ++ [ENABLE_TESTS=no]) ++ ++AM_CONDITIONAL([ENABLE_TESTS], [test "x$ENABLE_TESTS" = "xyes"]) ++ + dnl === I18N ================================================================== + + GETTEXT_PACKAGE="clutter-$CLUTTER_API_VERSION" +@@ -803,6 +815,7 @@ + echo " Compiler flags: ${CPPFLAGS} ${MAINTAINER_CFLAGS}" + echo " Build API documentation: ${enable_gtk_doc}" + echo " Build manual documentation: ${enable_manual}" ++echo " Enable tests: ${enable_tests}" + echo " Build introspection data: ${enable_introspection}" + echo "" + +--- Makefile.am ++++ Makefile.am +@@ -1,11 +1,15 @@ + NULL = + +-SUBDIRS = build clutter tests po ++SUBDIRS = build clutter po + + if BUILD_GTK_DOC + SUBDIRS += doc + endif + ++if ENABLE_TESTS ++SUBDIRS += tests ++endif ++ + DIST_SUBDIRS = build clutter tests doc po + + ACLOCAL_AMFLAGS = -I build/autotools _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
