mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
validate: remove autotools build
This commit is contained in:
parent
ea2b8a2e00
commit
280321dee1
35 changed files with 4 additions and 1347 deletions
23
.gitignore
vendored
23
.gitignore
vendored
|
@ -1,24 +1,3 @@
|
||||||
/validate/docs/validate/gst-validate.args
|
|
||||||
/validate/docs/validate/gst-validate-decl-list.txt
|
|
||||||
/validate/docs/validate/gst-validate-decl.txt
|
|
||||||
/validate/docs/validate/doc-registry.xml
|
|
||||||
/validate/docs/validate/gst-validate.hierarchy
|
|
||||||
/validate/docs/validate/gst-validate.interfaces
|
|
||||||
/validate/docs/validate/gst-validate-overrides.txt
|
|
||||||
/validate/docs/index.html
|
|
||||||
/validate/docs/validate/gst-validate.signals
|
|
||||||
/validate/docs/validate/gst-validate.prerequisites
|
|
||||||
/validate/docs/validate/gst-validate-undeclared.txt
|
|
||||||
/validate/docs/validate/gst-validate-undocumented.txt
|
|
||||||
/validate/docs/validate/gst-validate-unused.txt
|
|
||||||
/validate/gst/validate/GstValidate-1.0.typelib
|
|
||||||
/validate/pkgconfig/gst-validate-1.0.pc
|
|
||||||
/validate/pkgconfig/gst-validate-1.0-uninstalled.pc
|
|
||||||
/validate/pkgconfig/gst-validate.pc
|
|
||||||
/validate/pkgconfig/gst-validate-uninstalled.pc
|
|
||||||
*.bak
|
*.bak
|
||||||
*.libs/*
|
|
||||||
.#*
|
|
||||||
tags
|
|
||||||
build*
|
build*
|
||||||
mesonbuild*
|
mesonbuild*
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "validate/common"]
|
|
||||||
path = validate/common
|
|
||||||
url = https://gitlab.freedesktop.org/gstreamer/common.git
|
|
84
configure
vendored
84
configure
vendored
|
@ -1,84 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# TODO be smarter about per component flags if needed.
|
|
||||||
|
|
||||||
HELP="Helper configure script to build gst-devtools
|
|
||||||
|
|
||||||
You might also want to go to specific module directory and
|
|
||||||
build from there.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
--------
|
|
||||||
|
|
||||||
-v, --validate: Build GstValidate
|
|
||||||
-c, --codecanalyzer: Build codecanalyzer
|
|
||||||
-m, --mediainfo: Build mediainfo
|
|
||||||
"
|
|
||||||
FLAGS=''
|
|
||||||
for i in "$@"
|
|
||||||
do
|
|
||||||
case $i in
|
|
||||||
-v|--validate)
|
|
||||||
VALIDATE=validate
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-c|--codecanalyzer)
|
|
||||||
CODECANALYZER=codecanalyzer
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-m|--mediainfo)
|
|
||||||
MEDIAINFO=mediainfo
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-h|--help)
|
|
||||||
echo "$HELP"
|
|
||||||
exit
|
|
||||||
;;
|
|
||||||
|
|
||||||
*) # unknown option
|
|
||||||
FLAGS="$FLAGS $i"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$VALIDATE" ] && [ -z "$CODECANALYZER" ] && [ -z $MEDIAINFO ]
|
|
||||||
then
|
|
||||||
echo "No component specified, building everything"
|
|
||||||
VALIDATE=validate
|
|
||||||
CODECANALYZER=codecanalyzer
|
|
||||||
MEDIAINFO=mediainfo
|
|
||||||
fi
|
|
||||||
|
|
||||||
BUILDDIR="$( cd "$( dirname "$(readlink -f ${BASH_SOURCE[0]})" )" && pwd )"
|
|
||||||
|
|
||||||
cd $BUILDDIR
|
|
||||||
echo "all:" > Makefile
|
|
||||||
for i in $VALIDATE $CODECANALYZER $MEDIAINFO
|
|
||||||
do
|
|
||||||
echo "Configuring $i with flags '$FLAGS'"
|
|
||||||
echo " cd $BUILDDIR/$i/ && make; cd $BUILDDIR" >> Makefile
|
|
||||||
cd "$BUILDDIR/$i/" && ./autogen.sh $FLAGS
|
|
||||||
cd $BUILDDIR
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "" >> Makefile
|
|
||||||
echo "install:" >> Makefile
|
|
||||||
for i in $VALIDATE $CODECANALYZER $MEDIAINFO
|
|
||||||
do
|
|
||||||
echo " cd $BUILDDIR/$i/ && make install; cd $BUILDDIR" >> Makefile
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "" >> Makefile
|
|
||||||
echo "clean:" >> Makefile
|
|
||||||
for i in $VALIDATE $CODECANALYZER $MEDIAINFO
|
|
||||||
do
|
|
||||||
echo " cd $BUILDDIR/$i/ && make clean; cd $BUILDDIR" >> Makefile
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "" >> Makefile
|
|
||||||
echo "distclean:" >> Makefile
|
|
||||||
for i in $VALIDATE $CODECANALYZER $MEDIAINFO
|
|
||||||
do
|
|
||||||
echo " cd $BUILDDIR/$i/ && make distclean; cd $BUILDDIR" >> Makefile
|
|
||||||
done
|
|
58
validate/.gitignore
vendored
58
validate/.gitignore
vendored
|
@ -1,60 +1,2 @@
|
||||||
*.[oa]
|
|
||||||
*.pyc
|
|
||||||
*.gcda
|
|
||||||
*.gcno
|
|
||||||
*.la
|
|
||||||
*.lo
|
|
||||||
*.loT
|
|
||||||
*.sw[po]
|
|
||||||
*.tar.*
|
|
||||||
*~
|
*~
|
||||||
.deps
|
|
||||||
.libs
|
|
||||||
ABOUT-NLS
|
|
||||||
INSTALL
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
aclocal.m4
|
|
||||||
autom4te.cache
|
|
||||||
autoregen.sh
|
|
||||||
compile
|
|
||||||
config.guess
|
|
||||||
config.h
|
|
||||||
config.h.in
|
|
||||||
config.log
|
|
||||||
config.rpath
|
|
||||||
config.status
|
|
||||||
config.sub
|
|
||||||
configure
|
|
||||||
depcomp
|
|
||||||
install-sh
|
|
||||||
libtool
|
|
||||||
ltmain.sh
|
|
||||||
missing
|
|
||||||
py-compile
|
|
||||||
stamp-h1
|
|
||||||
tags
|
|
||||||
test-driver
|
|
||||||
stamp-h.in
|
|
||||||
.dirstamp
|
|
||||||
*.gir
|
|
||||||
*.typefind
|
|
||||||
*.orig
|
|
||||||
*.stamp
|
|
||||||
*.log
|
|
||||||
*.trs
|
|
||||||
build*/
|
build*/
|
||||||
|
|
||||||
.arcconfig
|
|
||||||
/m4/*m4
|
|
||||||
|
|
||||||
/po
|
|
||||||
|
|
||||||
/gst/validate/*-enum-types.[ch]
|
|
||||||
|
|
||||||
/tests/check/validate/monitoring
|
|
||||||
/tests/check/validate/overrides
|
|
||||||
/tests/check/validate/reporting
|
|
||||||
/tests/check/validate/padmonitor
|
|
||||||
|
|
||||||
/launcher/config.py
|
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
SUBDIRS = \
|
|
||||||
common \
|
|
||||||
data \
|
|
||||||
gst \
|
|
||||||
gst-libs \
|
|
||||||
plugins \
|
|
||||||
launcher \
|
|
||||||
tools \
|
|
||||||
pkgconfig \
|
|
||||||
tests \
|
|
||||||
po
|
|
||||||
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
|
||||||
|
|
||||||
suppsdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/
|
|
||||||
supps_DATA = \
|
|
||||||
common/gst.supp \
|
|
||||||
data/gstvalidate.supp
|
|
||||||
|
|
||||||
# include before EXTRA_DIST for win32 assignment
|
|
||||||
include $(top_srcdir)/common/win32.mak
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
ChangeLog autogen.sh depcomp \
|
|
||||||
COPYING \
|
|
||||||
common/gst.supp \
|
|
||||||
data/gstvalidate.supp \
|
|
||||||
$(win32)
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4 -I common/m4
|
|
||||||
|
|
||||||
DISTCLEANFILES = _stdint.h
|
|
||||||
|
|
||||||
include $(top_srcdir)/common/release.mak
|
|
||||||
include $(top_srcdir)/common/po.mak
|
|
||||||
|
|
||||||
include $(top_srcdir)/common/coverage/lcov.mak
|
|
||||||
|
|
||||||
# cruft: plugins that have been merged or moved or renamed
|
|
||||||
CRUFT_FILES = \
|
|
||||||
$(top_builddir)/common/shave \
|
|
||||||
$(top_builddir)/common/shave-libtool \
|
|
||||||
$(top_builddir)/common/m4/codeset.m4 \
|
|
||||||
$(top_builddir)/common/m4/gettext.m4 \
|
|
||||||
$(top_builddir)/common/m4/glibc2.m4 \
|
|
||||||
$(top_builddir)/common/m4/glibc21.m4 \
|
|
||||||
$(top_builddir)/common/m4/iconv.m4 \
|
|
||||||
$(top_builddir)/common/m4/intdiv0.m4 \
|
|
||||||
$(top_builddir)/common/m4/intl.m4 \
|
|
||||||
$(top_builddir)/common/m4/intldir.m4 \
|
|
||||||
$(top_builddir)/common/m4/intlmacosx.m4 \
|
|
||||||
$(top_builddir)/common/m4/intmax.m4 \
|
|
||||||
$(top_builddir)/common/m4/inttypes-pri.m4 \
|
|
||||||
$(top_builddir)/common/m4/inttypes_h.m4 \
|
|
||||||
$(top_builddir)/common/m4/lcmessage.m4 \
|
|
||||||
$(top_builddir)/common/m4/lib-ld.m4 \
|
|
||||||
$(top_builddir)/common/m4/lib-link.m4 \
|
|
||||||
$(top_builddir)/common/m4/lib-prefix.m4 \
|
|
||||||
$(top_builddir)/common/m4/libtool.m4 \
|
|
||||||
$(top_builddir)/common/m4/lock.m4 \
|
|
||||||
$(top_builddir)/common/m4/longlong.m4 \
|
|
||||||
$(top_builddir)/common/m4/ltoptions.m4 \
|
|
||||||
$(top_builddir)/common/m4/ltsugar.m4 \
|
|
||||||
$(top_builddir)/common/m4/ltversion.m4 \
|
|
||||||
$(top_builddir)/common/m4/lt~obsolete.m4 \
|
|
||||||
$(top_builddir)/common/m4/nls.m4 \
|
|
||||||
$(top_builddir)/common/m4/po.m4 \
|
|
||||||
$(top_builddir)/common/m4/printf-posix.m4 \
|
|
||||||
$(top_builddir)/common/m4/progtest.m4 \
|
|
||||||
$(top_builddir)/common/m4/size_max.m4 \
|
|
||||||
$(top_builddir)/common/m4/stdint_h.m4 \
|
|
||||||
$(top_builddir)/common/m4/uintmax_t.m4 \
|
|
||||||
$(top_builddir)/common/m4/visibility.m4 \
|
|
||||||
$(top_builddir)/common/m4/wchar_t.m4 \
|
|
||||||
$(top_builddir)/common/m4/wint_t.m4 \
|
|
||||||
$(top_builddir)/common/m4/xsize.m4
|
|
||||||
|
|
||||||
include $(top_srcdir)/common/cruft.mak
|
|
||||||
|
|
||||||
all-local: check-cruft
|
|
|
@ -25,17 +25,11 @@ After cloning or extracting from a tarball, enter the gst-validate directory:
|
||||||
|
|
||||||
cd gst-validate
|
cd gst-validate
|
||||||
|
|
||||||
The 'master' branch uses gstreamer 1.0, there is a '0.10' branch for
|
|
||||||
gstreamer 0.10. The default is the 'master' branch, if you want to use it
|
|
||||||
for 0.10, do:
|
|
||||||
|
|
||||||
git checkout --track origin/0.10
|
|
||||||
|
|
||||||
Build with:
|
Build with:
|
||||||
|
|
||||||
./autogen.sh --prefix=<installation-prefix>
|
meson build --prefix=<installation-prefix>
|
||||||
make
|
ninja -C build
|
||||||
sudo make install (only if you want to install it)
|
sudo ninja -C build install (only if you want to install it)
|
||||||
|
|
||||||
Replace <installation-prefix> with your desired installation path, you can omit
|
Replace <installation-prefix> with your desired installation path, you can omit
|
||||||
the --prefix argument if you aren't going to install it or if you want the
|
the --prefix argument if you aren't going to install it or if you want the
|
||||||
|
|
|
@ -1,109 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# gst-validate autogen.sh
|
|
||||||
#
|
|
||||||
# Run this to generate all the initial makefiles, etc.
|
|
||||||
#
|
|
||||||
# This file has been generated from common/autogen.sh.in via common/update-autogen
|
|
||||||
|
|
||||||
|
|
||||||
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
||||||
test -n "$srcdir" || srcdir=.
|
|
||||||
|
|
||||||
olddir=`pwd`
|
|
||||||
cd "$srcdir"
|
|
||||||
|
|
||||||
DIE=0
|
|
||||||
package=gst-validate
|
|
||||||
srcfile=gst-validate.doap
|
|
||||||
|
|
||||||
# Make sure we have common
|
|
||||||
cd ../
|
|
||||||
if test ! -f validate/common/gst-autogen.sh;
|
|
||||||
then
|
|
||||||
echo "+ Setting up common submodule"
|
|
||||||
git submodule init
|
|
||||||
fi
|
|
||||||
git submodule update
|
|
||||||
cd validate/
|
|
||||||
|
|
||||||
# source helper functions
|
|
||||||
if test ! -f common/gst-autogen.sh;
|
|
||||||
then
|
|
||||||
echo There is something wrong with your source tree.
|
|
||||||
echo You are missing common/gst-autogen.sh
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
. common/gst-autogen.sh
|
|
||||||
|
|
||||||
# install pre-commit hook for doing clean commits
|
|
||||||
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
|
|
||||||
then
|
|
||||||
rm -f ../.git/hooks/pre-commit
|
|
||||||
ln -s ../../validate/multi-pre-commit.hook ../.git/hooks/pre-commit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# GNU gettext automake support doesn't get along with git.
|
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
|
|
||||||
if test -d po ; then
|
|
||||||
touch -t 200001010000 po/gst-validate-1.0.pot
|
|
||||||
fi
|
|
||||||
|
|
||||||
CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'
|
|
||||||
|
|
||||||
if test "x$package" = "xgstreamer"; then
|
|
||||||
CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --enable-docbook --enable-failing-tests --enable-poisoning"
|
|
||||||
fi
|
|
||||||
|
|
||||||
autogen_options $@
|
|
||||||
|
|
||||||
printf "+ check for build tools"
|
|
||||||
if test ! -z "$NOCHECK"; then echo ": skipped version checks"; else echo; fi
|
|
||||||
version_check "autoreconf" "autoreconf " \
|
|
||||||
"ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 68 || DIE=1
|
|
||||||
version_check "pkg-config" "" \
|
|
||||||
"http://www.freedesktop.org/software/pkgconfig" 0 8 0 || DIE=1
|
|
||||||
|
|
||||||
die_check $DIE
|
|
||||||
|
|
||||||
# if no arguments specified then this will be printed
|
|
||||||
if test -z "$*" && test -z "$NOCONFIGURE"; then
|
|
||||||
echo "+ checking for autogen.sh options"
|
|
||||||
echo " This autogen script will automatically run ./configure as:"
|
|
||||||
echo " ./configure $CONFIGURE_DEF_OPT"
|
|
||||||
echo " To pass any additional options, please specify them on the $0"
|
|
||||||
echo " command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
toplevel_check $srcfile
|
|
||||||
|
|
||||||
# autopoint
|
|
||||||
if test -d po ; then
|
|
||||||
tool_run "autopoint" "--force"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# aclocal
|
|
||||||
if test -f acinclude.m4; then rm acinclude.m4; fi
|
|
||||||
|
|
||||||
autoreconf --force --install || exit 1
|
|
||||||
|
|
||||||
test -n "$NOCONFIGURE" && {
|
|
||||||
echo "+ skipping configure stage for package $package, as requested."
|
|
||||||
echo "+ autogen.sh done."
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
cd "$olddir"
|
|
||||||
|
|
||||||
echo "+ running configure ... "
|
|
||||||
test ! -z "$CONFIGURE_DEF_OPT" && echo " default flags: $CONFIGURE_DEF_OPT"
|
|
||||||
test ! -z "$CONFIGURE_EXT_OPT" && echo " external flags: $CONFIGURE_EXT_OPT"
|
|
||||||
echo
|
|
||||||
|
|
||||||
echo "$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT
|
|
||||||
"$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT || {
|
|
||||||
echo " configure failed"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "Now type 'make' to compile $package."
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 59cb678164719ff59dcf6c8b93df4617a1075d11
|
|
|
@ -1,359 +0,0 @@
|
||||||
AC_PREREQ(2.62)
|
|
||||||
dnl initialize autoconf
|
|
||||||
dnl when going to/from release please set the nano (fourth number) right !
|
|
||||||
dnl releases only do Wall, cvs and prerelease does Werror too
|
|
||||||
AC_INIT(Gst-Validate, 1.17.0.1,
|
|
||||||
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
|
||||||
gst-validate)
|
|
||||||
|
|
||||||
dnl This is the version of the testsuite to use with the current version
|
|
||||||
dnl of gst-validate. During development it should be "master"
|
|
||||||
dnl during release cycle it should be the release version (1.6 in the 1.6
|
|
||||||
dnl branch, 1.5.90 for the 1.5.90 release)
|
|
||||||
GST_VALIDATE_TESTSUITE_VERSION="master"
|
|
||||||
AS_AC_EXPAND(GST_VALIDATE_TESTSUITE_VERSION, $GST_VALIDATE_TESTSUITE_VERSION)
|
|
||||||
|
|
||||||
AG_GST_INIT
|
|
||||||
|
|
||||||
dnl initialize automake
|
|
||||||
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar])
|
|
||||||
|
|
||||||
dnl define PACKAGE_VERSION_* variables
|
|
||||||
AS_VERSION
|
|
||||||
|
|
||||||
dnl check if this is a release version
|
|
||||||
AS_NANO(GST_GIT="no", GST_GIT="yes")
|
|
||||||
|
|
||||||
dnl can autoconf find the source ?
|
|
||||||
AC_CONFIG_SRCDIR([tools/gst-validate.c])
|
|
||||||
|
|
||||||
dnl define the output header for config
|
|
||||||
AC_CONFIG_HEADERS([config.h])
|
|
||||||
|
|
||||||
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
|
|
||||||
AM_MAINTAINER_MODE([enable])
|
|
||||||
|
|
||||||
dnl sets host_* variables
|
|
||||||
AC_CANONICAL_HOST
|
|
||||||
|
|
||||||
dnl use pretty build output with automake >= 1.11
|
|
||||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
|
|
||||||
[AM_DEFAULT_VERBOSITY=1
|
|
||||||
AC_SUBST(AM_DEFAULT_VERBOSITY)])
|
|
||||||
|
|
||||||
dnl our libraries and install dirs use major.minor as a version
|
|
||||||
dnl GST_API_VERSION=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
|
|
||||||
dnl we override it here if we need to for the release candidate of new series
|
|
||||||
GST_API_VERSION=1.0
|
|
||||||
AC_SUBST(GST_API_VERSION)
|
|
||||||
AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION",
|
|
||||||
[GStreamer API Version])
|
|
||||||
|
|
||||||
AS_LIBTOOL(GST, 1700, 0, 1700)
|
|
||||||
|
|
||||||
dnl *** required versions of GStreamer stuff ***
|
|
||||||
GST_REQ=1.17.0.1
|
|
||||||
GSTPB_REQ=1.17.0.1
|
|
||||||
|
|
||||||
dnl *** autotools stuff ****
|
|
||||||
|
|
||||||
dnl allow for different autotools
|
|
||||||
AS_AUTOTOOLS_ALTERNATE
|
|
||||||
|
|
||||||
dnl Add parameters for aclocal
|
|
||||||
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
|
||||||
|
|
||||||
dnl set up gettext
|
|
||||||
dnl the version check needs to stay here because autopoint greps for it
|
|
||||||
AM_GNU_GETTEXT_VERSION([0.17])
|
|
||||||
AM_GNU_GETTEXT([external])
|
|
||||||
AG_GST_GETTEXT([gst-validate-$GST_API_VERSION])
|
|
||||||
|
|
||||||
dnl Check wether to build LDPRELOAD related code or not
|
|
||||||
AC_CANONICAL_HOST
|
|
||||||
case $host_os in
|
|
||||||
mingw* | msvc* | mks*)
|
|
||||||
BUILD_LDPRELOAD=no ;;
|
|
||||||
*)
|
|
||||||
BUILD_LDPRELOAD=yes ;;
|
|
||||||
esac
|
|
||||||
AM_CONDITIONAL(HAVE_LD_PRELOAD, test "x$BUILD_LDPRELOAD" = "xyes")
|
|
||||||
|
|
||||||
dnl *** check for arguments to configure ***
|
|
||||||
|
|
||||||
AG_GST_ARG_DEBUG
|
|
||||||
AG_GST_ARG_VALGRIND
|
|
||||||
AG_GST_ARG_GCOV
|
|
||||||
AG_GST_ARG_WITH_PACKAGE_NAME
|
|
||||||
AG_GST_ARG_WITH_PACKAGE_ORIGIN
|
|
||||||
|
|
||||||
AG_GST_PKG_CONFIG_PATH
|
|
||||||
|
|
||||||
dnl *** checks for platform ***
|
|
||||||
|
|
||||||
dnl * hardware/architecture *
|
|
||||||
|
|
||||||
dnl *** checks for programs ***
|
|
||||||
|
|
||||||
dnl find a compiler
|
|
||||||
AC_PROG_CC
|
|
||||||
AM_PROG_CC_C_O
|
|
||||||
|
|
||||||
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
|
||||||
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
|
||||||
|
|
||||||
dnl check for gobject-introspection
|
|
||||||
GOBJECT_INTROSPECTION_CHECK([0.6.3])
|
|
||||||
|
|
||||||
dnl *** checks for libraries ***
|
|
||||||
|
|
||||||
dnl *** checks for header files ***
|
|
||||||
|
|
||||||
dnl *** checks for types/defines ***
|
|
||||||
|
|
||||||
dnl *** checks for structures ***
|
|
||||||
|
|
||||||
dnl *** checks for compiler characteristics ***
|
|
||||||
|
|
||||||
dnl *** checks for library functions ***
|
|
||||||
|
|
||||||
dnl *** checks for dependancy libraries ***
|
|
||||||
|
|
||||||
dnl check for libm
|
|
||||||
LT_LIB_M
|
|
||||||
AC_SUBST(LIBM)
|
|
||||||
|
|
||||||
dnl GLib is required
|
|
||||||
GLIB_REQ=2.36.0
|
|
||||||
AC_SUBST([GLIB_REQ])
|
|
||||||
AG_GST_GLIB_CHECK([$GLIB_REQ])
|
|
||||||
|
|
||||||
dnl checks for gstreamer
|
|
||||||
dnl uninstalled is selected preferentially -- see pkg-config(1)
|
|
||||||
AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], [yes])
|
|
||||||
|
|
||||||
GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
|
|
||||||
if test -z $GST_TOOLS_DIR; then
|
|
||||||
AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
|
|
||||||
fi
|
|
||||||
AC_SUBST(GST_TOOLS_DIR)
|
|
||||||
|
|
||||||
GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_API_VERSION --variable pluginsdir`
|
|
||||||
AC_SUBST(GST_PLUGINS_DIR)
|
|
||||||
AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR)
|
|
||||||
|
|
||||||
AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], [yes])
|
|
||||||
|
|
||||||
AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], [yes])
|
|
||||||
GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_API_VERSION --variable pluginsdir`
|
|
||||||
AC_SUBST(GSTPB_PLUGINS_DIR)
|
|
||||||
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
|
|
||||||
|
|
||||||
dnl check for gstreamer-pbutils
|
|
||||||
PKG_CHECK_MODULES(GST_PBUTILS, gstreamer-pbutils-$GST_API_VERSION, HAVE_GST_PBUTILS="yes", HAVE_GST_PBUTILS="no")
|
|
||||||
if test "x$HAVE_GST_PBUTILS" != "xyes"; then
|
|
||||||
AC_ERROR([gst-pbutils is required])
|
|
||||||
fi
|
|
||||||
AC_SUBST(GST_PBUTILS_LIBS)
|
|
||||||
AC_SUBST(GST_PBUTILS_CFLAGS)
|
|
||||||
|
|
||||||
dnl check for gstreamer-video
|
|
||||||
PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_API_VERSION >= 1.4, HAVE_GST_VIDEO="yes", HAVE_GST_VIDEO="no")
|
|
||||||
if test "x$HAVE_GST_VIDEO" != "xyes"; then
|
|
||||||
AC_ERROR([gst-video is required])
|
|
||||||
fi
|
|
||||||
AC_SUBST(GST_VIDEO_LIBS)
|
|
||||||
AC_SUBST(GST_VIDEO_CFLAGS)
|
|
||||||
|
|
||||||
dnl needed for scenarios definition files
|
|
||||||
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
|
|
||||||
AC_SUBST(GST_PREFIX)
|
|
||||||
GST_DATADIR="$GST_PREFIX/share"
|
|
||||||
AC_DEFINE_UNQUOTED(GST_DATADIR, "$GST_DATADIR", [system wide data directory])
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GIO, gio-2.0, HAVE_GIO=yes, HAVE_GIO=no)
|
|
||||||
AC_SUBST(GIO_CFLAGS)
|
|
||||||
AC_SUBST(GIO_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GTK, gtk+-3.0, HAVE_GTK=yes, HAVE_GTK=no)
|
|
||||||
AC_SUBST(GTK_CFLAGS)
|
|
||||||
AC_SUBST(GTK_LIBS)
|
|
||||||
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GDK, gdk-3.0, HAVE_GDK=yes, HAVE_GDK=no)
|
|
||||||
AC_SUBST(GDK_CFLAGS)
|
|
||||||
AC_SUBST(GDK_LIBS)
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(CAIRO, "cairo", HAVE_CAIRO=yes, HAVE_CAIRO=no)
|
|
||||||
AC_SUBST(CAIRO_CFLAGS)
|
|
||||||
AC_SUBST(CAIRO_LIBS)
|
|
||||||
AM_CONDITIONAL(HAVE_CAIRO, test ! "x$HAVE_CAIRO" = "xno")
|
|
||||||
if test "x$HAVE_CAIRO" != "xyes"; then
|
|
||||||
AC_MSG_NOTICE([Cairo is needed for the gst-validate-images-tool])
|
|
||||||
fi
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GST_RTSP_SERVER, "gstreamer-rtsp-server-1.0", HAVE_GST_RTSP_SERVER=yes, HAVE_GST_RTSP_SERVER=no)
|
|
||||||
AC_SUBST(GST_RTSP_SERVER_CFLAGS)
|
|
||||||
AC_SUBST(GST_RTSP_SERVER_LIBS)
|
|
||||||
AM_CONDITIONAL(HAVE_GST_RTSP_SERVER, test ! "x$HAVE_GST_RTSP_SERVER" = "xno")
|
|
||||||
if test "x$HAVE_GST_RTSP_SERVER" != "xyes"; then
|
|
||||||
AC_MSG_NOTICE([GstRtspServer is needed for the gst-validate-rtsp-server])
|
|
||||||
fi
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(JSON_GLIB, json-glib-1.0)
|
|
||||||
AC_SUBST(JSON_GLIB_LIBS)
|
|
||||||
AC_SUBST(JSON_GLIB_CFLAGS)
|
|
||||||
|
|
||||||
dnl checks for gstreamer
|
|
||||||
|
|
||||||
AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
|
|
||||||
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
|
|
||||||
|
|
||||||
dnl *** set variables based on configure arguments ***
|
|
||||||
|
|
||||||
dnl set license and copyright notice
|
|
||||||
GST_LICENSE="LGPL"
|
|
||||||
AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
|
|
||||||
AC_SUBST(GST_LICENSE)
|
|
||||||
|
|
||||||
dnl define location of plugin directory
|
|
||||||
AS_AC_EXPAND(VALIDATEPLUGINDIR, ${libdir}/gstreamer-$GST_API_VERSION/validate)
|
|
||||||
AC_DEFINE_UNQUOTED(VALIDATEPLUGINDIR, "$VALIDATEPLUGINDIR",
|
|
||||||
[directory where GstValidate plugins are located])
|
|
||||||
AC_MSG_NOTICE([Using $VALIDATEPLUGINDIR as the plugin install location for GstValidate])
|
|
||||||
|
|
||||||
dnl plugin directory configure-time variable for use in Makefile.am
|
|
||||||
validateplugindir="\$(libdir)/gstreamer-$GST_API_VERSION/validate"
|
|
||||||
AC_SUBST(validateplugindir)
|
|
||||||
|
|
||||||
dnl set location of plugin directory
|
|
||||||
AG_GST_SET_PLUGINDIR
|
|
||||||
|
|
||||||
# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
|
|
||||||
dnl make sure it doesn't complain about unused variables if debugging is disabled
|
|
||||||
NO_WARNINGS=""
|
|
||||||
AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""])
|
|
||||||
|
|
||||||
dnl define an ERROR_CFLAGS Makefile variable
|
|
||||||
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS])
|
|
||||||
|
|
||||||
dnl define correct level for debugging messages
|
|
||||||
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
|
|
||||||
|
|
||||||
dnl used in examples
|
|
||||||
AG_GST_DEFAULT_ELEMENTS
|
|
||||||
|
|
||||||
dnl *** finalize CFLAGS, LDFLAGS, LIBS
|
|
||||||
|
|
||||||
dnl Overview:
|
|
||||||
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
|
|
||||||
dnl GST_*: flags shared by built objects to link against GStreamer
|
|
||||||
dnl GST_ALL_LDFLAGS: linker flags shared by all
|
|
||||||
dnl GST_LIB_LDFLAGS: additional linker flags for all libaries
|
|
||||||
dnl GST_LT_LDFLAGS: library versioning of our libraries
|
|
||||||
dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
|
|
||||||
|
|
||||||
dnl GST_OPTION_CFLAGS
|
|
||||||
if test "x$USE_DEBUG" = xyes; then
|
|
||||||
PROFILE_CFLAGS="-g"
|
|
||||||
fi
|
|
||||||
AC_SUBST(PROFILE_CFLAGS)
|
|
||||||
|
|
||||||
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
|
|
||||||
AC_SUBST(DEPRECATED_CFLAGS)
|
|
||||||
|
|
||||||
dnl every flag in GST_OPTION_CFLAGS can be overridden at make time
|
|
||||||
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
|
|
||||||
AC_SUBST(GST_OPTION_CFLAGS)
|
|
||||||
|
|
||||||
dnl FIXME: do we want to rename to GST_ALL_* ?
|
|
||||||
dnl prefer internal headers to already installed ones
|
|
||||||
dnl add GST_OPTION_CFLAGS, but overridable
|
|
||||||
GST_CFLAGS="$GST_CFLAGS \$(GST_OPTION_CFLAGS)"
|
|
||||||
AC_SUBST(GST_CFLAGS)
|
|
||||||
AC_SUBST(GST_LIBS)
|
|
||||||
|
|
||||||
dnl GST_ALL_*
|
|
||||||
dnl vars common to for all internal objects (core libs, elements, applications)
|
|
||||||
dnl CFLAGS:
|
|
||||||
dnl - src and build dirs need to be added because every piece that gets built
|
|
||||||
dnl will need the GStreamer source and generated headers
|
|
||||||
GST_ALL_CFLAGS="-I\$(top_srcdir) -I\$(top_builddir) $GST_PLUGINS_BASE_CFLAGS $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
|
|
||||||
AC_SUBST([GST_ALL_CFLAGS])
|
|
||||||
|
|
||||||
dnl FIXME: check if LTLIBINTL is needed everywhere
|
|
||||||
dnl I presume it is given that it contains the symbols that _() stuff maps to
|
|
||||||
GST_ALL_LIBS="$GST_LIBS $LTLIBINTL \$(GCOV_LIBS)"
|
|
||||||
AC_SUBST([GST_ALL_LIBS])
|
|
||||||
|
|
||||||
dnl LDFLAGS really should only contain flags, not libs - they get added before
|
|
||||||
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
|
|
||||||
GST_ALL_LDFLAGS="-no-undefined"
|
|
||||||
AC_SUBST(GST_ALL_LDFLAGS)
|
|
||||||
|
|
||||||
dnl GST_LIB_LDFLAGS
|
|
||||||
dnl linker flags shared by all libraries
|
|
||||||
dnl LDFLAGS modifier defining exported symbols from built libraries
|
|
||||||
GST_LIB_LDFLAGS="-export-symbols-regex \^[_]?\(gst_\|Gst\|GST_\).*"
|
|
||||||
AC_SUBST(GST_LIB_LDFLAGS)
|
|
||||||
|
|
||||||
dnl this really should only contain flags, not libs - they get added before
|
|
||||||
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
|
|
||||||
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS"
|
|
||||||
AC_SUBST(GST_PLUGIN_LDFLAGS)
|
|
||||||
|
|
||||||
AM_PATH_PYTHON(2.7.0)
|
|
||||||
AS_AC_EXPAND(LIBDIR, $libdir)
|
|
||||||
AC_MSG_NOTICE(Storing library files in $LIBDIR)
|
|
||||||
AC_CONFIG_FILES([tools/gst-validate-launcher], [chmod +x tools/gst-validate-launcher])
|
|
||||||
AS_AC_EXPAND(DATADIR, $datadir)
|
|
||||||
AC_CONFIG_FILES([launcher/config.py])
|
|
||||||
|
|
||||||
dnl this really should only contain flags, not libs - they get added before
|
|
||||||
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
|
|
||||||
|
|
||||||
dnl *** output files ***
|
|
||||||
|
|
||||||
dnl keep this alphabetic per directory, please
|
|
||||||
AC_CONFIG_FILES([
|
|
||||||
Makefile
|
|
||||||
common/Makefile
|
|
||||||
common/m4/Makefile
|
|
||||||
data/Makefile
|
|
||||||
data/scenarios/Makefile
|
|
||||||
gst/Makefile
|
|
||||||
gst/validate/Makefile
|
|
||||||
gst/overrides/Makefile
|
|
||||||
plugins/Makefile
|
|
||||||
plugins/fault_injection/Makefile
|
|
||||||
plugins/flow/Makefile
|
|
||||||
plugins/gapplication/Makefile
|
|
||||||
plugins/gtk/Makefile
|
|
||||||
plugins/ssim/Makefile
|
|
||||||
gst-libs/Makefile
|
|
||||||
gst-libs/gst/Makefile
|
|
||||||
gst-libs/gst/video/Makefile
|
|
||||||
tests/Makefile
|
|
||||||
tests/check/Makefile
|
|
||||||
pkgconfig/Makefile
|
|
||||||
pkgconfig/gst-validate-uninstalled.pc
|
|
||||||
pkgconfig/gst-validate.pc
|
|
||||||
po/Makefile.in
|
|
||||||
tools/Makefile
|
|
||||||
launcher/Makefile
|
|
||||||
launcher/apps/Makefile
|
|
||||||
launcher/testsuites/Makefile
|
|
||||||
])
|
|
||||||
AC_OUTPUT
|
|
||||||
|
|
||||||
echo "
|
|
||||||
|
|
||||||
Configuration
|
|
||||||
Version : ${VERSION}
|
|
||||||
Source code location : ${srcdir}
|
|
||||||
Prefix : ${prefix}
|
|
||||||
Compiler : ${CC}
|
|
||||||
|
|
||||||
gst-validate configured. Type 'make' to build.
|
|
||||||
"
|
|
|
@ -1,9 +0,0 @@
|
||||||
SUBDIRS = scenarios
|
|
||||||
|
|
||||||
configdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/
|
|
||||||
config_DATA = \
|
|
||||||
valgrind.config
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
valgrind.config \
|
|
||||||
gstvalidate.supp
|
|
|
@ -1,35 +0,0 @@
|
||||||
scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/scenarios
|
|
||||||
scenarios_DATA = simple_seeks.scenario \
|
|
||||||
seek_forward.scenario \
|
|
||||||
seek_backward.scenario \
|
|
||||||
seek_forward_backward.scenario \
|
|
||||||
reverse_playback.scenario \
|
|
||||||
fast_forward.scenario \
|
|
||||||
fast_backward.scenario \
|
|
||||||
alternate_fast_backward_forward.scenario \
|
|
||||||
pause_resume.scenario \
|
|
||||||
scrub_forward_seeking.scenario \
|
|
||||||
scrub_backward_seeking.scenario \
|
|
||||||
scrub_forward_seeking_full.scenario \
|
|
||||||
scrub_backward_seeking_full.scenario \
|
|
||||||
adaptive_video_size.scenario \
|
|
||||||
adaptive_video_framerate.scenario \
|
|
||||||
adaptive_video_framerate_size.scenario\
|
|
||||||
force_key_unit.scenario\
|
|
||||||
seek_with_stop.scenario\
|
|
||||||
switch_audio_track_while_paused.scenario\
|
|
||||||
switch_subtitle_track.scenario\
|
|
||||||
switch_subtitle_track_while_paused.scenario\
|
|
||||||
disable_subtitle_track_while_paused.scenario\
|
|
||||||
change_state_intensive.scenario\
|
|
||||||
play_15s.scenario \
|
|
||||||
switch_audio_track.scenario \
|
|
||||||
trick_mode_seeks.scenario
|
|
||||||
|
|
||||||
scenariosincsdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/scenarios/includes
|
|
||||||
scenariosincs_DATA = includes/default-seek-flags.scenario
|
|
||||||
|
|
||||||
rtsp_overrides_scenariosincsdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/scenarios/rtsp_overrides/includes
|
|
||||||
rtsp_overrides_scenariosincs_DATA = rtsp_overrides/includes/default-seek-flags.scenario
|
|
||||||
|
|
||||||
EXTRA_DIST = ${scenarios_DATA} ${scenariosincs_DATA} ${rtsp_overrides_scenariosincs_DATA}
|
|
10
validate/docs/.gitignore
vendored
10
validate/docs/.gitignore
vendored
|
@ -1,10 +0,0 @@
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
*.o
|
|
||||||
*.lo
|
|
||||||
*.la
|
|
||||||
.deps
|
|
||||||
.libs
|
|
||||||
version.entities
|
|
||||||
tmpl/
|
|
||||||
/launcher/html
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = gst
|
|
|
@ -1,3 +0,0 @@
|
||||||
if HAVE_CAIRO
|
|
||||||
SUBDIRS = video
|
|
||||||
endif
|
|
|
@ -1,12 +0,0 @@
|
||||||
libgstvalidatevideo_@GST_API_VERSION@_la_SOURCES = gstvalidatessim.c gssim.c
|
|
||||||
libgstvalidatevideo_@GST_API_VERSION@include_HEADERS = gstvalidatessim.h gssim.h
|
|
||||||
|
|
||||||
libgstvalidatevideo_@GST_API_VERSION@_la_CFLAGS = $(GST_ALL_CFLAGS) $(GST_VIDEO_CFLAGS) $(GIO_CFLAGS) $(CAIRO_CFLAGS) -I$(top_builddir)
|
|
||||||
libgstvalidatevideo_@GST_API_VERSION@_la_LIBADD = $(GST_ALL_LIBS) $(GST_VIDEO_LIBS) $(GIO_LIBS) $(CAIRO_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
|
|
||||||
libgstvalidatevideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_ALL_LDFLAGS)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgstvalidatevideo-@GST_API_VERSION@.la
|
|
||||||
|
|
||||||
libgstvalidatevideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/lib/validate/video
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = validate overrides
|
|
|
@ -1,14 +0,0 @@
|
||||||
lib_LTLIBRARIES = libgstvalidate-default-overrides-@GST_API_VERSION@.la
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@_la_SOURCES = \
|
|
||||||
gst-validate-default-overrides.c
|
|
||||||
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@_la_CFLAGS = $(GST_ALL_CFLAGS) $(GIO_CFLAGS)
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
|
|
||||||
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(top_builddir)/gst/validate/libgstvalidate-1.0.la
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@_la_LIBADD = \
|
|
||||||
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
|
||||||
$(GST_ALL_LIBS) $(GIO_LIBS)
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/validate
|
|
||||||
libgstvalidate_default_overrides_@GST_API_VERSION@include_HEADERS =
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
|
@ -1,178 +0,0 @@
|
||||||
built_header_make = gst-validate-enum-types.h
|
|
||||||
built_source_make = gst-validate-enum-types.c
|
|
||||||
|
|
||||||
source_c = \
|
|
||||||
gst-validate-runner.c \
|
|
||||||
gst-validate-reporter.c \
|
|
||||||
gst-validate-mockdecryptor.c \
|
|
||||||
gst-validate-monitor.c \
|
|
||||||
gst-validate-element-monitor.c \
|
|
||||||
gst-validate-bin-monitor.c \
|
|
||||||
gst-validate-pipeline-monitor.c \
|
|
||||||
gst-validate-pad-monitor.c \
|
|
||||||
gst-validate-monitor-factory.c \
|
|
||||||
gst-validate-report.c \
|
|
||||||
gst-validate-scenario.c \
|
|
||||||
gst-validate-override.c \
|
|
||||||
gst-validate-utils.c \
|
|
||||||
gst-validate-override-registry.c \
|
|
||||||
media-descriptor.c \
|
|
||||||
media-descriptor-writer.c \
|
|
||||||
media-descriptor-parser.c \
|
|
||||||
gst-validate-media-info.c \
|
|
||||||
validate.c
|
|
||||||
|
|
||||||
source_h = \
|
|
||||||
validate.h \
|
|
||||||
validate-prelude.h \
|
|
||||||
gst-validate-types.h \
|
|
||||||
gst-validate-bin-monitor.h \
|
|
||||||
gst-validate-pipeline-monitor.h \
|
|
||||||
gst-validate-element-monitor.h \
|
|
||||||
gst-validate-enums.h \
|
|
||||||
media-descriptor.h \
|
|
||||||
media-descriptor-writer.h \
|
|
||||||
media-descriptor-parser.h \
|
|
||||||
gst-validate-monitor-factory.h \
|
|
||||||
gst-validate-monitor.h \
|
|
||||||
gst-validate-override.h \
|
|
||||||
gst-validate-override-registry.h \
|
|
||||||
gst-validate-pad-monitor.h \
|
|
||||||
gst-validate-reporter.h \
|
|
||||||
gst-validate-report.h \
|
|
||||||
gst-validate-runner.h \
|
|
||||||
gst-validate-scenario.h \
|
|
||||||
gst-validate-utils.h \
|
|
||||||
gst-validate-media-info.h
|
|
||||||
#
|
|
||||||
# do not put files in the distribution that are generated
|
|
||||||
nodist_libgstvalidate_@GST_API_VERSION@_la_SOURCES = $(built_source_make)
|
|
||||||
nodist_libgstvalidate_@GST_API_VERSION@include_HEADERS = $(built_header_make)
|
|
||||||
|
|
||||||
gst-validate-enum-types.h: $(source_h)
|
|
||||||
$(AM_V_GEN)$(GLIB_MKENUMS) \
|
|
||||||
--template $(top_srcdir)/gst/validate/gst-validate-enum-types.h.template \
|
|
||||||
$^ > gst-validate-enum-types.h
|
|
||||||
|
|
||||||
gst-validate-enum-types.c: $(source_h)
|
|
||||||
$(AM_V_GEN)$(GLIB_MKENUMS) \
|
|
||||||
--template $(top_srcdir)/gst/validate/gst-validate-enum-types.c.template \
|
|
||||||
$^ > gst-validate-enum-types.c
|
|
||||||
|
|
||||||
EXTRA_DIST= \
|
|
||||||
gst-validate-enum-types.c.template \
|
|
||||||
gst-validate-enum-types.h.template
|
|
||||||
|
|
||||||
# BUILT_SOURCES are built on make all/check/install before all other targets
|
|
||||||
BUILT_SOURCES = \
|
|
||||||
$(built_header_make) \
|
|
||||||
$(built_source_make)
|
|
||||||
|
|
||||||
noinst_HEADERS = \
|
|
||||||
gettext.h \
|
|
||||||
gst-validate-i18n-lib.h \
|
|
||||||
gst-validate-mockdecryptor.h \
|
|
||||||
gst-validate-internal.h
|
|
||||||
|
|
||||||
# GstValidate library
|
|
||||||
lib_LTLIBRARIES = libgstvalidate-@GST_API_VERSION@.la
|
|
||||||
libgstvalidate_@GST_API_VERSION@_la_SOURCES = $(source_c)
|
|
||||||
libgstvalidate_@GST_API_VERSION@include_HEADERS = $(source_h)
|
|
||||||
libgstvalidate_@GST_API_VERSION@_la_CFLAGS = $(GST_ALL_CFLAGS)\
|
|
||||||
$(JSON_GLIB_CFLAGS) $(GIO_CFLAGS) $(GST_PBUTILS_CFLAGS) \
|
|
||||||
-DGST_USE_UNSTABLE_API
|
|
||||||
libgstvalidate_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
|
|
||||||
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(GST_PBUTILS_LDFAGS)
|
|
||||||
libgstvalidate_@GST_API_VERSION@_la_LIBADD = \
|
|
||||||
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
|
||||||
$(GST_ALL_LIBS) $(GIO_LIBS) $(GST_PBUTILS_LIBS) \
|
|
||||||
$(JSON_GLIB_LIBS) $(GLIB_LIBS) $(LIBM)
|
|
||||||
|
|
||||||
libgstvalidate_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/validate
|
|
||||||
|
|
||||||
# GstValidate GStreamer plugin
|
|
||||||
plugin_LTLIBRARIES = libgstvalidatetracer.la
|
|
||||||
nodist_libgstvalidatetracer_la_SOURCES = $(built_source_make)
|
|
||||||
libgstvalidatetracer_la_SOURCES = $(source_c)
|
|
||||||
libgstvalidatetracer_la_CFLAGS = $(GST_ALL_CFLAGS)\
|
|
||||||
$(JSON_GLIB_CFLAGS) $(GIO_CFLAGS) $(GST_PBUTILS_CFLAGS) \
|
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-D__GST_VALIDATE_PLUGIN
|
|
||||||
libgstvalidatetracer_la_LDFLAGS = $(GST_ALL_LDFLAGS) \
|
|
||||||
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(GST_PBUTILS_LDFAGS) $(GST_PLUGIN_LDFLAGS)
|
|
||||||
libgstvalidatetracer_la_LIBADD = \
|
|
||||||
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
|
||||||
$(GST_ALL_LIBS) $(GIO_LIBS) $(GST_PBUTILS_LIBS) \
|
|
||||||
$(JSON_GLIB_LIBS) $(GLIB_LIBS) $(LIBM)
|
|
||||||
|
|
||||||
CLEANFILES = $(built_header_make) $(built_source_make) $(as_dll_cleanfiles) *.gcno *.gcda *.gcov *.gcov.out
|
|
||||||
|
|
||||||
if HAVE_INTROSPECTION
|
|
||||||
BUILT_GIRSOURCES = GstValidate-@GST_API_VERSION@.gir
|
|
||||||
|
|
||||||
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvalidate_@GST_API_VERSION@include_HEADERS))
|
|
||||||
gir_headers+=$(patsubst %,$(builddir)/%, $(built_header_make))
|
|
||||||
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvalidate_@GST_API_VERSION@_la_SOURCES))
|
|
||||||
gir_sources+=$(patsubst %,$(builddir)/%, $(built_source_make))
|
|
||||||
gir_cincludes=$(patsubst %,--c-include='gst/validate/%',$(libgstvalidate@GST_API_VERSION@include_HEADERS))
|
|
||||||
|
|
||||||
GstValidate-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvalidate-@GST_API_VERSION@.la
|
|
||||||
$(AM_V_GEN)GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes GI_SCANNER_DISABLE_CACHE=yes \
|
|
||||||
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
|
||||||
$(INTROSPECTION_SCANNER) -v --namespace GstValidate \
|
|
||||||
--nsversion=@GST_API_VERSION@ \
|
|
||||||
--warn-all \
|
|
||||||
$(gir_cincludes) \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_builddir) \
|
|
||||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
|
||||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
|
||||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
|
|
||||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
|
|
||||||
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
|
|
||||||
--library=libgstvalidate-@GST_API_VERSION@.la \
|
|
||||||
--include=GLib-2.0 \
|
|
||||||
--include=GstPbutils-@GST_API_VERSION@ \
|
|
||||||
--include=GObject-2.0 \
|
|
||||||
--include=GModule-2.0 \
|
|
||||||
--include=GLib-2.0 \
|
|
||||||
--libtool="${LIBTOOL}" \
|
|
||||||
$(FAULTINJECTION_LIBS) \
|
|
||||||
--pkg gstreamer-@GST_API_VERSION@ \
|
|
||||||
--pkg gstreamer-pbutils-@GST_API_VERSION@ \
|
|
||||||
--pkg gstreamer-controller-@GST_API_VERSION@ \
|
|
||||||
--pkg glib-2.0 \
|
|
||||||
--pkg gobject-2.0 \
|
|
||||||
--pkg-export gstvalidate-@GST_API_VERSION@ \
|
|
||||||
--add-init-section="$(INTROSPECTION_INIT)" \
|
|
||||||
--output $@ \
|
|
||||||
$(gir_headers) \
|
|
||||||
$(gir_sources)
|
|
||||||
|
|
||||||
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
||||||
# install anything - we need to install inside our prefix.
|
|
||||||
girdir = $(datadir)/gir-1.0
|
|
||||||
gir_DATA = $(BUILT_GIRSOURCES)
|
|
||||||
|
|
||||||
typelibsdir = $(libdir)/girepository-1.0/
|
|
||||||
|
|
||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
|
||||||
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
||||||
$(INTROSPECTION_COMPILER) \
|
|
||||||
--includedir=$(srcdir) \
|
|
||||||
--includedir=$(srcdir)/../video \
|
|
||||||
--includedir=$(builddir) \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-pbutils-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-tag-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-controller-@GST_API_VERSION@` \
|
|
||||||
--includedir=`$(PKG_CONFIG) --variable=girdir gio-2.0` \
|
|
||||||
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
@ -1,21 +0,0 @@
|
||||||
launcherdir = $(libdir)/gst-validate-launcher/python/launcher/
|
|
||||||
|
|
||||||
SUBDIRS = \
|
|
||||||
apps \
|
|
||||||
testsuites
|
|
||||||
|
|
||||||
launcher_PYTHON = \
|
|
||||||
baseclasses.py \
|
|
||||||
__init__.py \
|
|
||||||
loggable.py \
|
|
||||||
reporters.py \
|
|
||||||
main.py \
|
|
||||||
httpserver.py \
|
|
||||||
RangeHTTPServer.py \
|
|
||||||
utils.py \
|
|
||||||
vfb_server.py \
|
|
||||||
config.py
|
|
||||||
|
|
||||||
clean-local:
|
|
||||||
rm -rf *.pyc *.pyo
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
appsdir = $(libdir)/gst-validate-launcher/python/launcher/apps/
|
|
||||||
|
|
||||||
SUBDIRS =
|
|
||||||
|
|
||||||
apps_PYTHON = \
|
|
||||||
__init__.py \
|
|
||||||
gstvalidate.py \
|
|
||||||
pyunittest.py \
|
|
||||||
gstcheck.py
|
|
|
@ -1,7 +0,0 @@
|
||||||
appsdir = $(libdir)/gst-validate-launcher/python/launcher/testsuites/
|
|
||||||
|
|
||||||
SUBDIRS =
|
|
||||||
|
|
||||||
apps_PYTHON = \
|
|
||||||
check.py \
|
|
||||||
pyunittest.py
|
|
|
@ -1,26 +0,0 @@
|
||||||
pcfiles = \
|
|
||||||
gst-validate-@GST_API_VERSION@.pc
|
|
||||||
|
|
||||||
pcfiles_uninstalled = \
|
|
||||||
gst-validate-@GST_API_VERSION@-uninstalled.pc
|
|
||||||
|
|
||||||
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
|
||||||
|
|
||||||
### how to generate pc files
|
|
||||||
%-@GST_API_VERSION@.pc: %.pc
|
|
||||||
cp $< $@
|
|
||||||
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
|
||||||
### the uninstalled libdir is depend of the build system used so set it here
|
|
||||||
### rather than hardcoding it in the file directly.
|
|
||||||
$(AM_V_GEN) sed \
|
|
||||||
-e "s|[@]validatelibdir[@]|$(abs_top_builddir)/gst/validate/.libs|" \
|
|
||||||
$< > $@.tmp && mv $@.tmp $@
|
|
||||||
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = $(pcfiles)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
gst-validate.pc.in \
|
|
||||||
gst-validate-uninstalled.pc.in
|
|
||||||
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|
|
|
@ -1,9 +0,0 @@
|
||||||
SUBDIRS = flow fault_injection gapplication
|
|
||||||
|
|
||||||
if HAVE_GTK
|
|
||||||
SUBDIRS += gtk
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_CAIRO
|
|
||||||
SUBDIRS += ssim
|
|
||||||
endif
|
|
|
@ -1,10 +0,0 @@
|
||||||
validateplugin_LTLIBRARIES = libgstvalidatefaultinjection.la
|
|
||||||
|
|
||||||
libgstvalidatefaultinjection_la_SOURCES = \
|
|
||||||
socket_interposer.c
|
|
||||||
|
|
||||||
libgstvalidatefaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
|
|
||||||
libgstvalidatefaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
|
|
||||||
libgstvalidatefaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
|
@ -1,13 +0,0 @@
|
||||||
validateplugin_LTLIBRARIES = libgstvalidateflow.la
|
|
||||||
|
|
||||||
libgstvalidateflow_la_SOURCES = \
|
|
||||||
gstvalidateflow.c formatting.c
|
|
||||||
EXTRA_DIST = \
|
|
||||||
formatting.h
|
|
||||||
|
|
||||||
libgstvalidateflow_la_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GIO_CFLAGS)
|
|
||||||
libgstvalidateflow_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GIO_LIBS)
|
|
||||||
libgstvalidateflow_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS) $(GIO_LDFLAGS)
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
validateplugin_LTLIBRARIES = libgstvalidategapplication.la
|
|
||||||
|
|
||||||
libgstvalidategapplication_la_SOURCES = \
|
|
||||||
gstvalidategapplication.c
|
|
||||||
|
|
||||||
libgstvalidategapplication_la_CFLAGS = $(GST_ALL_CFLAGS) $(GIO_CFLAGS)
|
|
||||||
libgstvalidategapplication_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GIO_LIBS)
|
|
||||||
libgstvalidategapplication_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS) $(GIO_LDFLAGS)
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
validateplugin_LTLIBRARIES = libgstvalidategtk.la
|
|
||||||
|
|
||||||
libgstvalidategtk_la_SOURCES = gstvalidategtk.c
|
|
||||||
|
|
||||||
libgstvalidategtk_la_CFLAGS = $(GST_ALL_CFLAGS) $(GTK_CFLAGS)
|
|
||||||
libgstvalidategtk_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GTK_LIBS)
|
|
||||||
libgstvalidategtk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS) $(GTK_LDFLAGS)
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
validateplugin_LTLIBRARIES = libgstvalidatessim.la
|
|
||||||
|
|
||||||
libgstvalidatessim_la_SOURCES = gstvalidatessim.c
|
|
||||||
|
|
||||||
libgstvalidatessim_la_CFLAGS = $(GST_ALL_CFLAGS) -I$(top_builddir)/gst-libs/gst/video/ $(CAIRO_CFLAGS) $(GST_VIDEO_CFLAGS)
|
|
||||||
libgstvalidatessim_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(top_builddir)/gst-libs/gst/video/libgstvalidatevideo-@GST_API_VERSION@.la $(CAIRO_LIBS) $(GST_VIDEO_LIBS)
|
|
||||||
libgstvalidatessim_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS) $(CAIR_LDFLAGS) $(GST_VIDEO_LDFLAGS)
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
# Makefile variables for PO directory in any package using GNU gettext.
|
|
||||||
|
|
||||||
# Usually the message domain is the same as the package name.
|
|
||||||
DOMAIN = gst-validate-1.0
|
|
||||||
|
|
||||||
# These two variables depend on the location of this directory.
|
|
||||||
subdir = po
|
|
||||||
top_builddir = ..
|
|
||||||
|
|
||||||
# These options get passed to xgettext.
|
|
||||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
|
|
||||||
|
|
||||||
# This is the copyright holder that gets inserted into the header of the
|
|
||||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
|
||||||
# package. (Note that the msgstr strings, extracted from the package's
|
|
||||||
# sources, belong to the copyright holder of the package.) Translators are
|
|
||||||
# expected to transfer the copyright for their translations to this person
|
|
||||||
# or entity, or to disclaim their copyright. The empty string stands for
|
|
||||||
# the public domain; in this case the translators are expected to disclaim
|
|
||||||
# their copyright.
|
|
||||||
COPYRIGHT_HOLDER =
|
|
||||||
|
|
||||||
# This is the email address or URL to which the translators shall report
|
|
||||||
# bugs in the untranslated strings:
|
|
||||||
# - Strings which are not entire sentences, see the maintainer guidelines
|
|
||||||
# in the GNU gettext documentation, section 'Preparing Strings'.
|
|
||||||
# - Strings which use unclear terms or require additional context to be
|
|
||||||
# understood.
|
|
||||||
# - Strings which make invalid assumptions about notation of date, time or
|
|
||||||
# money.
|
|
||||||
# - Pluralisation problems.
|
|
||||||
# - Incorrect English spelling.
|
|
||||||
# - Incorrect formatting.
|
|
||||||
# It can be your email address, or a mailing list address where translators
|
|
||||||
# can write to without being subscribed, or the URL of a web page through
|
|
||||||
# which the translators can contact you.
|
|
||||||
MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/
|
|
||||||
|
|
||||||
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
|
||||||
# message catalogs shall be used. It is usually empty.
|
|
||||||
EXTRA_LOCALE_CATEGORIES =
|
|
||||||
|
|
||||||
# Avoid line numbers in *.po, but keep them in *.pot.
|
|
||||||
MSGMERGE = msgmerge --no-location
|
|
||||||
MSGMERGE_UPDATE = msgmerge --no-location --update --backup=off
|
|
||||||
MSGFILTER = msgfilter --no-location
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
gst/validate/gst-validate-report.c
|
|
|
@ -1,10 +0,0 @@
|
||||||
if HAVE_GST_CHECK
|
|
||||||
CHECK_SUBDIRS= check
|
|
||||||
else
|
|
||||||
CHECK_SUBDIRS=
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS= $(CHECK_SUBDIRS)
|
|
||||||
|
|
||||||
DIST_SUBDIRS = check
|
|
||||||
|
|
|
@ -1,98 +0,0 @@
|
||||||
include $(top_srcdir)/common/check.mak
|
|
||||||
|
|
||||||
TESTS_ENVIRONMENT =
|
|
||||||
|
|
||||||
plugindir = $(libdir)/gstreamer-@GST_API_VERSION@
|
|
||||||
|
|
||||||
# override to _not_ install the test plugins
|
|
||||||
install-pluginLTLIBRARIES:
|
|
||||||
|
|
||||||
# the core dumps of some machines have PIDs appended
|
|
||||||
CLEANFILES = core.* test-registry.* *.gcno *.gcda
|
|
||||||
|
|
||||||
common_cflags=-I$(top_srcdir) $(GST_PLUGINS_BASE_CFLAGS) $(GST_OBJ_CFLAGS) \
|
|
||||||
$(GST_CHECK_CFLAGS) $(GST_OPTION_CFLAGS) $(GST_CFLAGS)
|
|
||||||
common_ldadd=$(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la \
|
|
||||||
$(GST_PLUGINS_BASE_LIBS) -lgstpbutils-$(GST_API_VERSION) \
|
|
||||||
$(GST_OBJ_LIBS) $(GST_CHECK_LIBS)
|
|
||||||
|
|
||||||
testutils_noisnt_libraries=libtestutils.la
|
|
||||||
testutils_noinst_headers=validate/test-utils.h
|
|
||||||
libtestutils_la_LIBADD=$(common_ldadd)
|
|
||||||
libtestutils_la_CFLAGS=$(common_cflags)
|
|
||||||
libtestutils_la_SOURCES=validate/test-utils.c
|
|
||||||
|
|
||||||
SUPPRESSIONS = $(top_srcdir)/common/gst.supp # $(srcdir)/gst-plugins-bad.supp
|
|
||||||
|
|
||||||
clean-local: clean-local-check
|
|
||||||
|
|
||||||
check_PROGRAMS = \
|
|
||||||
validate/padmonitor \
|
|
||||||
validate/monitoring \
|
|
||||||
validate/reporting \
|
|
||||||
validate/overrides
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES=$(testutils_noisnt_libraries)
|
|
||||||
noinst_HEADERS=$(testutils_noinst_headers)
|
|
||||||
|
|
||||||
TESTS = $(check_PROGRAMS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(common_cflags) -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
|
|
||||||
LDADD = $(common_ldadd) libtestutils.la
|
|
||||||
|
|
||||||
debug:
|
|
||||||
echo $(COVERAGE_FILES)
|
|
||||||
echo $(COVERAGE_FILES_REL)
|
|
||||||
|
|
||||||
.PHONY: coverage
|
|
||||||
if GST_GCOV_ENABLED
|
|
||||||
# we rebuild a registry and do gst-inspect so that all the get/set codepaths
|
|
||||||
# are also covered
|
|
||||||
coverage:
|
|
||||||
make check
|
|
||||||
make coverage-report
|
|
||||||
else
|
|
||||||
coverage:
|
|
||||||
echo "You need to configure with --enable-gcov to get coverage data"
|
|
||||||
exit 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
coverage-report:
|
|
||||||
if test ! -e coverage; then
|
|
||||||
rm -r coverage
|
|
||||||
fi
|
|
||||||
for dir in $(COVERAGE_DIRS); do \
|
|
||||||
mkdir -p coverage/$$dir; \
|
|
||||||
make -C $(top_builddir)/$$dir gcov; \
|
|
||||||
done
|
|
||||||
for dir in $(COVERAGE_DIRS); do \
|
|
||||||
files="`ls $(top_builddir)/$$dir/*.gcov.out 2> /dev/null`"; \
|
|
||||||
if test ! -z "$$files"; then \
|
|
||||||
perl $(top_srcdir)/common/coverage/coverage-report.pl \
|
|
||||||
$(top_builddir)/$$dir/*.gcov.out > \
|
|
||||||
coverage/$$dir/index.xml; \
|
|
||||||
xsltproc $(top_srcdir)/common/coverage/coverage-report.xsl \
|
|
||||||
coverage/$$dir/index.xml > coverage/$$dir/index.html; \
|
|
||||||
fi; \
|
|
||||||
done
|
|
||||||
for file in $(COVERAGE_FILES_REL); do \
|
|
||||||
echo Generating coverage/$$file.html; \
|
|
||||||
perl $(top_srcdir)/common/coverage/coverage-report-entry.pl \
|
|
||||||
$(top_builddir)/$$file > coverage/$$file.html; \
|
|
||||||
done
|
|
||||||
|
|
||||||
check-integration: integration
|
|
||||||
CK_DEFAULT_TIMEOUT=20 ./integration
|
|
||||||
|
|
||||||
check-integration-forever:
|
|
||||||
@while true; do \
|
|
||||||
make check-integration \
|
|
||||||
CK_DEFAULT_TIMEOUT=20 \
|
|
||||||
$* || break; done
|
|
||||||
|
|
||||||
check-integration-gdb:
|
|
||||||
@$(TESTS_ENVIRONMENT) \
|
|
||||||
CK_FORK=no \
|
|
||||||
$(LIBTOOL) --mode=execute \
|
|
||||||
gdb ./integration
|
|
||||||
|
|
11
validate/tools/.gitignore
vendored
11
validate/tools/.gitignore
vendored
|
@ -1,11 +0,0 @@
|
||||||
gst-validate-1.0
|
|
||||||
gst-validate-launcher
|
|
||||||
gst-validate-transcoding-1.0
|
|
||||||
gst-validate-media-check-1.0
|
|
||||||
gst-validate-images-check-1.0
|
|
||||||
gst-validate-rtsp-server-1.0
|
|
||||||
gst-validate-1.0-debug
|
|
||||||
gst-validate-media-check-1.0-debug
|
|
||||||
gst-validate-transcoding-1.0-debug
|
|
||||||
gst-validate-images-check-1.0-debug
|
|
||||||
gst-validate-rtsp-server-1.0-debug
|
|
|
@ -1,61 +0,0 @@
|
||||||
bin_PROGRAMS = \
|
|
||||||
gst-validate-@GST_API_VERSION@ \
|
|
||||||
gst-validate-transcoding-@GST_API_VERSION@ \
|
|
||||||
gst-validate-media-check-@GST_API_VERSION@
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
|
||||||
gst-validate-@GST_API_VERSION@-debug \
|
|
||||||
gst-validate-transcoding-@GST_API_VERSION@-debug \
|
|
||||||
gst-validate-media-check-@GST_API_VERSION@-debug
|
|
||||||
|
|
||||||
bin_SCRIPTS = \
|
|
||||||
gst-validate-launcher
|
|
||||||
|
|
||||||
AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_VIDEO_CFLAGS)
|
|
||||||
LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS) $(GST_VIDEO_LIBS)
|
|
||||||
|
|
||||||
# The -debug versions are used when running from sources to not confuse
|
|
||||||
# valgrind with libtool's wrappers. Those are built with the '-no-install' and
|
|
||||||
# so use rpath instead of wrappers.
|
|
||||||
gst_validate_@GST_API_VERSION@_SOURCES = gst-validate.c
|
|
||||||
gst_validate_@GST_API_VERSION@_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
|
|
||||||
gst_validate_@GST_API_VERSION@_LDADD = $(GIO_LIBS) $(LDADD)
|
|
||||||
|
|
||||||
gst_validate_@GST_API_VERSION@_debug_SOURCES = gst-validate.c
|
|
||||||
gst_validate_@GST_API_VERSION@_debug_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
|
|
||||||
gst_validate_@GST_API_VERSION@_debug_LDADD = $(GIO_LIBS) $(LDADD)
|
|
||||||
gst_validate_@GST_API_VERSION@_debug_LDFLAGS = -no-install
|
|
||||||
|
|
||||||
gst_validate_transcoding_@GST_API_VERSION@_SOURCES = gst-validate-transcoding.c
|
|
||||||
gst_validate_transcoding_@GST_API_VERSION@_debug_SOURCES = gst-validate-transcoding.c
|
|
||||||
gst_validate_transcoding_@GST_API_VERSION@_debug_LDFLAGS = -no-install
|
|
||||||
|
|
||||||
gst_validate_media_check_@GST_API_VERSION@_SOURCES = gst-validate-media-check.c
|
|
||||||
gst_validate_media_check_@GST_API_VERSION@_debug_SOURCES = gst-validate-media-check.c
|
|
||||||
gst_validate_media_check_@GST_API_VERSION@_debug_LDFLAGS = -no-install
|
|
||||||
|
|
||||||
if HAVE_GST_RTSP_SERVER
|
|
||||||
bin_PROGRAMS += gst-validate-rtsp-server-@GST_API_VERSION@
|
|
||||||
noinst_PROGRAMS += gst-validate-rtsp-server-@GST_API_VERSION@-debug
|
|
||||||
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_SOURCES = gst-validate-rtsp-server.c
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_CFLAGS = $(GST_RTSP_SERVER_CFLAGS)
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_LDADD = $(LDADD) $(GST_RTSP_SERVER_LIBS)
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_debug_SOURCES = gst-validate-rtsp-server.c
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_debug_LDADD = $(LDADD) $(GST_RTSP_SERVER_LIBS)
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_debug_LDFLAGS = -no-install
|
|
||||||
gst_validate_rtsp_server_@GST_API_VERSION@_debug_CFLAGS = $(GST_RTSP_SERVER_CFLAGS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_CAIRO
|
|
||||||
bin_PROGRAMS += gst-validate-images-check-@GST_API_VERSION@
|
|
||||||
noinst_PROGRAMS += gst-validate-images-check-@GST_API_VERSION@-debug
|
|
||||||
|
|
||||||
gst_validate_images_check_@GST_API_VERSION@_SOURCES = gst-validate-images-check.c
|
|
||||||
gst_validate_images_check_@GST_API_VERSION@_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvalidatevideo-@GST_API_VERSION@.la $(LDADD)
|
|
||||||
gst_validate_images_check_@GST_API_VERSION@_debug_SOURCES = gst-validate-images-check.c
|
|
||||||
gst_validate_images_check_@GST_API_VERSION@_debug_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvalidatevideo-@GST_API_VERSION@.la $(LDADD)
|
|
||||||
gst_validate_images_check_@GST_API_VERSION@_debug_LDFLAGS = -no-install
|
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES = $(bin_SCRIPTS)
|
|
|
@ -1,2 +0,0 @@
|
||||||
win32/MANIFEST
|
|
||||||
win32/common/libgstvalidate.def
|
|
Loading…
Reference in a new issue