Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/clutter/files: clutter-1.0.0-disable-tests.patch
Date: Fri, 26 Feb 2010 21:41:17
Message-Id: E1Nl7vu-00020y-Sv@stork.gentoo.org
1 nirbheek 10/02/26 21:41:14
2
3 Added: clutter-1.0.0-disable-tests.patch
4 Log:
5 Initial ebuild for clutter, an opengl-based toolkit for user interfaces
6 (Portage version: 2.1.7.17/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 media-libs/clutter/files/clutter-1.0.0-disable-tests.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/clutter/files/clutter-1.0.0-disable-tests.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/clutter/files/clutter-1.0.0-disable-tests.patch?rev=1.1&content-type=text/plain
13
14 Index: clutter-1.0.0-disable-tests.patch
15 ===================================================================
16 Interactive Tests.
17
18 http://bugzilla.o-hand.com/show_bug.cgi?id=1618
19
20 --
21 --- configure.ac
22 +++ configure.ac
23 @@ -718,6 +718,18 @@
24
25 AM_CONDITIONAL(ENABLE_MANUAL, [test "x$enable_manual" = "xyes"])
26
27 +dnl = tests ================================================================
28 +AC_ARG_ENABLE(tests,
29 + AS_HELP_STRING([--enable-tests],[Enable building of tests and examples]),
30 + [case "${enableval}" in
31 + yes) ENABLE_TESTS=yes ;;
32 + no) ENABLE_TESTS=no ;;
33 + *) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;;
34 + esac],
35 + [ENABLE_TESTS=no])
36 +
37 +AM_CONDITIONAL([ENABLE_TESTS], [test "x$ENABLE_TESTS" = "xyes"])
38 +
39 dnl === I18N ==================================================================
40
41 GETTEXT_PACKAGE="clutter-$CLUTTER_API_VERSION"
42 @@ -803,6 +815,7 @@
43 echo " Compiler flags: ${CPPFLAGS} ${MAINTAINER_CFLAGS}"
44 echo " Build API documentation: ${enable_gtk_doc}"
45 echo " Build manual documentation: ${enable_manual}"
46 +echo " Enable tests: ${enable_tests}"
47 echo " Build introspection data: ${enable_introspection}"
48 echo ""
49
50 --- Makefile.am
51 +++ Makefile.am
52 @@ -1,11 +1,15 @@
53 NULL =
54
55 -SUBDIRS = build clutter tests po
56 +SUBDIRS = build clutter po
57
58 if BUILD_GTK_DOC
59 SUBDIRS += doc
60 endif
61
62 +if ENABLE_TESTS
63 +SUBDIRS += tests
64 +endif
65 +
66 DIST_SUBDIRS = build clutter tests doc po
67
68 ACLOCAL_AMFLAGS = -I build/autotools