Move examples directory to tests/examples as in every other GStreamer module
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 24 Feb 2009 15:33:51 +0000 (16:33 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 24 Feb 2009 15:33:51 +0000 (16:33 +0100)
43 files changed:
Makefile.am
configure.ac
tests/Makefile.am
tests/examples/Makefile.am [moved from examples/Makefile.am with 100% similarity]
tests/examples/app/.gitignore [moved from examples/app/.gitignore with 100% similarity]
tests/examples/app/Makefile.am [moved from examples/app/Makefile.am with 100% similarity]
tests/examples/app/appsink-src.c [moved from examples/app/appsink-src.c with 100% similarity]
tests/examples/app/appsrc-ra.c [moved from examples/app/appsrc-ra.c with 100% similarity]
tests/examples/app/appsrc-seekable.c [moved from examples/app/appsrc-seekable.c with 100% similarity]
tests/examples/app/appsrc-stream.c [moved from examples/app/appsrc-stream.c with 100% similarity]
tests/examples/app/appsrc-stream2.c [moved from examples/app/appsrc-stream2.c with 100% similarity]
tests/examples/app/appsrc_ex.c [moved from examples/app/appsrc_ex.c with 100% similarity]
tests/examples/capsfilter/Makefile.am [moved from examples/capsfilter/Makefile.am with 100% similarity]
tests/examples/capsfilter/capsfilter1.c [moved from examples/capsfilter/capsfilter1.c with 100% similarity]
tests/examples/directfb/.gitignore [moved from examples/directfb/.gitignore with 100% similarity]
tests/examples/directfb/Makefile.am [moved from examples/directfb/Makefile.am with 100% similarity]
tests/examples/directfb/decker.ttf [moved from examples/directfb/decker.ttf with 100% similarity]
tests/examples/directfb/dfblogo.png [moved from examples/directfb/dfblogo.png with 100% similarity]
tests/examples/directfb/gstdfb.c [moved from examples/directfb/gstdfb.c with 100% similarity]
tests/examples/gob/Makefile.am [moved from examples/gob/Makefile.am with 100% similarity]
tests/examples/gob/gst-identity2.gob [moved from examples/gob/gst-identity2.gob with 100% similarity]
tests/examples/gstplay/.gitignore [moved from examples/gstplay/.gitignore with 100% similarity]
tests/examples/gstplay/Makefile.am [moved from examples/gstplay/Makefile.am with 100% similarity]
tests/examples/gstplay/player.c [moved from examples/gstplay/player.c with 100% similarity]
tests/examples/indexing/.gitignore [moved from examples/indexing/.gitignore with 100% similarity]
tests/examples/indexing/Makefile.am [moved from examples/indexing/Makefile.am with 100% similarity]
tests/examples/indexing/indexmpeg.c [moved from examples/indexing/indexmpeg.c with 100% similarity]
tests/examples/level/Makefile.am [moved from examples/level/Makefile.am with 100% similarity]
tests/examples/level/README [moved from examples/level/README with 100% similarity]
tests/examples/level/demo.c [moved from examples/level/demo.c with 100% similarity]
tests/examples/level/plot.c [moved from examples/level/plot.c with 99% similarity]
tests/examples/scaletempo/.gitignore [moved from examples/scaletempo/.gitignore with 100% similarity]
tests/examples/scaletempo/Makefile.am [moved from examples/scaletempo/Makefile.am with 100% similarity]
tests/examples/scaletempo/demo-gui.c [moved from examples/scaletempo/demo-gui.c with 100% similarity]
tests/examples/scaletempo/demo-gui.h [moved from examples/scaletempo/demo-gui.h with 100% similarity]
tests/examples/scaletempo/demo-main.c [moved from examples/scaletempo/demo-main.c with 100% similarity]
tests/examples/scaletempo/demo-player.c [moved from examples/scaletempo/demo-player.c with 100% similarity]
tests/examples/scaletempo/demo-player.h [moved from examples/scaletempo/demo-player.h with 100% similarity]
tests/examples/stats/Makefile.am [moved from examples/stats/Makefile.am with 100% similarity]
tests/examples/stats/mp2ogg.c [moved from examples/stats/mp2ogg.c with 100% similarity]
tests/examples/switch/.gitignore [moved from examples/switch/.gitignore with 100% similarity]
tests/examples/switch/Makefile.am [moved from examples/switch/Makefile.am with 100% similarity]
tests/examples/switch/switcher.c [moved from examples/switch/switcher.c with 100% similarity]

index d7a9ef2..94bca7a 100644 (file)
@@ -1,20 +1,12 @@
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 
-if BUILD_EXAMPLES
-SUBDIRS_EXAMPLES = examples
-else
-SUBDIRS_EXAMPLES =
-endif
-
 SUBDIRS = \
        gst-libs gst sys ext \
-       m4 common docs tests po \
-       $(SUBDIRS_EXAMPLES)
+       m4 common docs tests po
 
 DIST_SUBDIRS = \
        gst gst-libs sys ext \
-       m4 common docs tests po \
-       examples
+       m4 common docs tests po
 
 # include before EXTRA_DIST for win32 assignment
 include $(top_srcdir)/common/win32.mak
index b0ddf9c..c4fabd9 100644 (file)
@@ -1495,10 +1495,10 @@ sys/wasapi/Makefile
 sys/wininet/Makefile
 sys/winks/Makefile
 sys/winscreencap/Makefile
-examples/Makefile
-examples/directfb/Makefile
-examples/scaletempo/Makefile
-examples/switch/Makefile
+tests/examples/Makefile
+tests/examples/directfb/Makefile
+tests/examples/scaletempo/Makefile
+tests/examples/switch/Makefile
 ext/amrwb/Makefile
 ext/alsaspdif/Makefile
 ext/assrender/Makefile
index fb07e8e..022b8d5 100644 (file)
@@ -4,8 +4,17 @@ else
 SUBDIRS_CHECK =
 endif
 
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+
 SUBDIRS = icles                        \
-       $(SUBDIRS_CHECK)
+       $(SUBDIRS_CHECK)        \
+       $(SUBDIRS_EXAMPLES)
 
 DIST_SUBDIRS = icles           \
-       check
+       check                   \
+       examples
+
similarity index 99%
rename from examples/level/plot.c
rename to tests/examples/level/plot.c
index 6df0106..4459158 100644 (file)
@@ -29,6 +29,7 @@
 #include <gtk/gtk.h>
 
 gboolean got_channel[2] = { FALSE, FALSE };     /* to see if we got the signal for this one yet */
+
 gint channels = 0;              /* guess at how many channels there are */
 gdouble last_time = 0.0;        /* time of last signal */
 gdouble values[2][3];           /* array of levels from which to print */