validate: Move the fault_injection plugin to gst/plugins/
authorThibault Saunier <tsaunier@gnome.org>
Wed, 4 Feb 2015 13:54:55 +0000 (14:54 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Sat, 14 Feb 2015 15:32:11 +0000 (16:32 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=743994

validate/Makefile.am
validate/configure.ac
validate/fault_injection/socket_interposer.h [deleted file]
validate/gst/Makefile.am
validate/gst/plugins/Makefile.am [new file with mode: 0644]
validate/gst/plugins/fault_injection/Makefile.am [moved from validate/fault_injection/Makefile.am with 89% similarity]
validate/gst/plugins/fault_injection/socket_interposer.c [moved from validate/fault_injection/socket_interposer.c with 99% similarity]

index cace8ad..b86d70a 100644 (file)
@@ -3,7 +3,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 SUBDIRS =      \
        common  \
        data    \
-       fault_injection \
        gst     \
        launcher \
        tools   \
index ca34dc8..45a0112 100644 (file)
@@ -282,11 +282,12 @@ Makefile
 common/Makefile
 common/m4/Makefile
 data/Makefile
-fault_injection/Makefile
 gst/Makefile
 gst/validate/Makefile
 gst/preload/Makefile
 gst/overrides/Makefile
+gst/plugins/Makefile
+gst/plugins/fault_injection/Makefile
 tests/Makefile
 tests/check/Makefile
 pkgconfig/Makefile
diff --git a/validate/fault_injection/socket_interposer.h b/validate/fault_injection/socket_interposer.h
deleted file mode 100644 (file)
index bc08578..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* GStreamer
- *
- * Copyright (C) 2014 YouView TV Ltd
- *  Author: Mariusz Buras <mariusz.buras@youview.com>
- *
- * socket_interposer.h : overrides for standard socket functions
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifndef _SOCKET_INTERPOSER_H_
-#define _SOCKET_INTERPOSER_H_
-
-#endif /* _SOCKET_INTERPOSER_H_ */
index 7e44971..cfb90f3 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = validate overrides
+SUBDIRS = validate overrides plugins
 
 if HAVE_LD_PRELOAD
 SUBDIRS += preload
diff --git a/validate/gst/plugins/Makefile.am b/validate/gst/plugins/Makefile.am
new file mode 100644 (file)
index 0000000..ef75b10
--- /dev/null
@@ -0,0 +1,2 @@
+SUBDIRS = fault_injection
+
similarity index 89%
rename from validate/fault_injection/Makefile.am
rename to validate/gst/plugins/fault_injection/Makefile.am
index 8a43028..46bdd2b 100644 (file)
@@ -3,9 +3,6 @@ plugin_LTLIBRARIES = libfaultinjection.la
 libfaultinjection_la_SOURCES = \
        socket_interposer.c
 
-noinst_HEADERS = \
-       socket_interposer.h
-
 libfaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
 libfaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
 libfaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
@@ -28,9 +28,8 @@
 #include "config.h"
 #endif
 
-#include "socket_interposer.h"
 #include <gst/gst.h>
-#include "../gst/validate/gst-validate-scenario.h"
+#include "../../validate/gst-validate-scenario.h"
 
 #if defined(__gnu_linux__) && !defined(__ANDROID__) && !defined (ANDROID)