[mutter] clutter: Remove examples



commit 0d9391e2827d84dda2db2ffe6eb2d54c80e1da2d
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Wed May 23 11:33:21 2018 +0200

    clutter: Remove examples
    
    Running clutter apps standalone using mutters fork is not something
    worth supporting.

 clutter/Makefile.am                  |   6 +-
 clutter/configure.ac                 |  11 -
 clutter/examples/Makefile.am         |  36 ---
 clutter/examples/README              |  10 -
 clutter/examples/actor-model.c       | 522 -----------------------------------
 clutter/examples/basic-actor.c       | 153 ----------
 clutter/examples/bin-layout.c        | 307 --------------------
 clutter/examples/box-layout.c        | 314 ---------------------
 clutter/examples/canvas.c            | 170 ------------
 clutter/examples/constraints.c       |  90 ------
 clutter/examples/drag-action.c       | 249 -----------------
 clutter/examples/drop-action.c       | 263 ------------------
 clutter/examples/easing-modes.c      | 241 ----------------
 clutter/examples/flow-layout.c       | 164 -----------
 clutter/examples/grid-layout.c       | 378 -------------------------
 clutter/examples/image-content.c     | 110 --------
 clutter/examples/layout-manager.c    | 461 -------------------------------
 clutter/examples/pan-action.c        | 194 -------------
 clutter/examples/redhand.png         | Bin 8250 -> 0 bytes
 clutter/examples/rounded-rectangle.c | 110 --------
 clutter/examples/scroll-actor.c      | 193 -------------
 clutter/examples/threads.c           | 292 --------------------
 22 files changed, 1 insertion(+), 4273 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index eeaa7222e..f3cf0794f 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -2,11 +2,7 @@ NULL =
 
 SUBDIRS = build clutter tests
 
-if BUILD_EXAMPLES
-SUBDIRS += examples
-endif
-
-DIST_SUBDIRS = clutter tests examples build
+DIST_SUBDIRS = clutter tests build
 
 # XXX - this is a massive hack to make autoreconf honour the ACLOCAL_FLAGS
 # that jhbuild sets while still retaining build/autotools as the authoritative
diff --git a/clutter/configure.ac b/clutter/configure.ac
index e65dba65d..772e3c6dc 100644
--- a/clutter/configure.ac
+++ b/clutter/configure.ac
@@ -698,8 +698,6 @@ AS_IF([test "x$use_gcov" = "xyes"],
           AC_MSG_ERROR([Could not find genhtml from the LTP package])
         fi
 
-        AC_DEFINE(HAVE_GCOV, 1, [Whether you have gcov])
-
         dnl Remove all optimization flags from CFLAGS
         changequote({,})
         CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
@@ -727,12 +725,6 @@ dnl === Conformance test suite ================================================
 
 GLIB_TESTS
 
-AC_ARG_ENABLE([examples],
-              [AS_HELP_STRING([--enable-examples], [Whether examples should be built])],
-              [],
-              [enable_examples=no])
-AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$enable_examples" = "xyes"])
-
 dnl ===========================================================================
 
 AC_CONFIG_FILES([
@@ -752,8 +744,6 @@ AC_CONFIG_FILES([
        tests/interactive/wrapper.sh
        tests/micro-bench/Makefile
        tests/performance/Makefile
-
-        examples/Makefile
 ])
 
 AC_OUTPUT
@@ -789,7 +779,6 @@ if test "x$pixbuf_tests" = "xyes"; then
 echo "        Build tests using GDK-Pixbuf: ${pixbuf_tests}"
 fi
 echo "        Install test suites: ${enable_installed_tests}"
-echo "        Build examples: ${enable_examples}"
 
 # Clutter backend related flags
 echo ""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]