summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2019-05-24 14:32:50 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-10-13 13:52:37 +0100
commit6b3bd23e40e0194fabebde18885377081139b9fc (patch)
tree17e149ca619a49fefb54d28bd771e994f99d9a4b
parente1760eeb5113202bff35c7aa3a9af7298bc395eb (diff)
Remove autotools build
Replaced by Meson. Maybe we can now use the meson pkgconfig module for .pc files? (Does it support uninstalled now?)
-rw-r--r--.gitignore71
-rw-r--r--.gitmodules3
-rw-r--r--Makefile.am95
-rwxr-xr-xautogen.sh124
m---------common0
-rw-r--r--configure.ac364
-rw-r--r--docs/.gitignore1
-rw-r--r--examples/.gitignore17
-rw-r--r--examples/Makefile.am44
-rw-r--r--gst/Makefile.am1
-rw-r--r--gst/rtsp-server/.gitignore2
-rw-r--r--gst/rtsp-server/Makefile.am136
-rw-r--r--gst/rtsp-sink/Makefile.am17
-rw-r--r--pkgconfig/.gitignore1
-rw-r--r--pkgconfig/Makefile.am25
-rw-r--r--tests/.gitignore1
-rw-r--r--tests/Makefile.am11
-rw-r--r--tests/check/Makefile.am64
18 files changed, 2 insertions, 975 deletions
diff --git a/.gitignore b/.gitignore
index 6aaeba1..7fa61a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,71 +1,4 @@
-*.[oa]
-*.pyc
-*.gcda
-*.gcno
-*.la
-*.lo
-*.loT
-*.sw[po]
-*.tar.*
*~
-*.gc??
-.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
-stamp-h1
-tags
-stamp-h.in
-.dirstamp
-
-/m4/*m4
-
-/gst/rtsp-server/GstRtspServer-1.0.gir
-/gst/rtsp-server/GstRtspServer-1.0.typelib
-
-/examples/test-multicast
-/examples/test-multicast2
-/examples/test-auth-digest
-/examples/test-video-disconnect
-
-/test-driver
-/tests/check/gst/*.log
-/tests/check/gst/*.trs
-/tests/check/test-suite.log
-/tests/check/gst/addresspool
-/tests/check/gst/client
-/tests/check/gst/media
-/tests/check/gst/mediafactory
-/tests/check/gst/mountpoints
-/tests/check/gst/permissions
-/tests/check/gst/rtspserver
-/tests/check/gst/sessionmedia
-/tests/check/gst/sessionpool
-/tests/check/gst/stream
-/tests/check/gst/threadpool
-/tests/check/gst/token
-/tests/check/gst/rtspclientsink
-/tests/check/test-registry.reg
-/tests/test-reuse
-
-/po
/build
+/_build
+/b/
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 0ab8387..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "common"]
- path = common
- url = https://gitlab.freedesktop.org/gstreamer/common.git
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 7b92d92..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,95 +0,0 @@
-if BUILD_EXAMPLES
-SUBDIRS_EXAMPLES = examples
-else
-SUBDIRS_EXAMPLES =
-endif
-
-if BUILD_TESTS
-SUBDIRS_TESTS = tests
-else
-SUBDIRS_TESTS =
-endif
-
-SUBDIRS = \
- gst \
- common \
- pkgconfig \
- $(SUBDIRS_EXAMPLES) \
- $(SUBDIRS_TESTS)
-
-DIST_SUBDIRS = gst common pkgconfig examples tests
-
-EXTRA_DIST = \
- ChangeLog autogen.sh depcomp \
- AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
- gst-rtsp-server.doap \
- $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
- meson_options.txt
-
-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
-
-check-valgrind:
- $(MAKE) -C tests/check check-valgrind
-
-if HAVE_CHECK
-check-torture:
- $(MAKE) -C tests/check torture
-build-checks:
- $(MAKE) -C tests/check build-checks
-else
-check-torture:
- true
-build-checks:
- true
-endif
-
-# cruft: plugins that have been merged or moved or renamed
-CRUFT_FILES = \
- $(top_builddir)/gst-rtsp.spec \
- $(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
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 2d4b05b..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# gst-rtsp-server 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"
-
-package=gst-rtsp-server
-srcfile=gst-rtsp-server.doap
-
-# Make sure we have common
-if test ! -f common/gst-autogen.sh;
-then
- echo "+ Setting up common submodule"
- git submodule init
-fi
-git submodule update
-
-# 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
- if ! ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit 2> /dev/null
- then
- echo "Failed to create commit hook symlink, copying instead ..."
- cp common/hooks/pre-commit.hook .git/hooks/pre-commit
- fi
-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-rtsp-server-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-failing-tests --enable-poisoning"
-elif test "x$package" = "xgst-plugins-bad"; then
- CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-player-tests"
-fi
-
-autogen_options $@
-
-printf "+ check for build tools"
-if test -z "$NOCHECK"; then
- echo
-
- printf " checking for autoreconf ... "
- echo
- which "autoreconf" 2>/dev/null || {
- echo "not found! Please install the autoconf package."
- exit 1
- }
-
- printf " checking for pkg-config ... "
- echo
- which "pkg-config" 2>/dev/null || {
- echo "not found! Please install pkg-config."
- exit 1
- }
-else
- echo ": skipped version checks"
-fi
-
-# 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 && grep ^AM_GNU_GETTEXT_VERSION configure.ac >/dev/null ; 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."
diff --git a/common b/common
deleted file mode 160000
-Subproject 59cb678164719ff59dcf6c8b93df4617a1075d1
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 154164a..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,364 +0,0 @@
-AC_PREREQ(2.69)
-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([GStreamer RTSP Server Library], [1.17.0.1],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],
- [gst-rtsp-server])
-AG_GST_INIT
-
-dnl initialize automake
-AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects])
-
-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([gst/rtsp-server/rtsp-server.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)
-
-dnl CURRENT, REVISION, AGE
-dnl - library source changed -> increment REVISION
-dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
-dnl - interfaces added -> increment AGE
-dnl - interfaces removed -> AGE = 0
-dnl
-dnl Keep CURRENT as MINOR * 100 + MICRO
-dnl Ex : 1.0.0 => 0
-dnl 1.0.3 => 3
-dnl 1.1.0 => 100
-dnl 1.2.5 => 205
-dnl 1.10.9 (who knows) => 1009
-dnl
-dnl sets GST_LT_LDFLAGS
-AS_LIBTOOL(GST, 1700, 0, 1700)
-
-dnl *** required versions of GStreamer stuff ***
-GST_REQ=1.17.0.1
-GSTPB_REQ=1.17.0.1
-GSTPG_REQ=1.17.0.1
-GSTPD_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-rtsp-server-$GST_API_VERSION])
-
-dnl *** check for arguments to configure ***
-
-AG_GST_ARG_DISABLE_FATAL_WARNINGS
-AG_GST_ARG_ENABLE_EXTRA_CHECKS
-
-AG_GST_ARG_DEBUG
-AG_GST_ARG_VALGRIND
-AG_GST_ARG_GCOV
-AG_GST_ARG_WITH_PKG_CONFIG_PATH
-AG_GST_ARG_WITH_PACKAGE_NAME
-AG_GST_ARG_WITH_PACKAGE_ORIGIN
-
-AG_GST_ARG_EXAMPLES
-
-AG_GST_PKG_CONFIG_PATH
-
-AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
- ["${srcdir}/gst-rtsp-server.doap"],
- [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
-
-dnl building of tests
-AC_ARG_ENABLE(tests,
- AS_HELP_STRING([--disable-tests],[disable building test apps]),
- [
- case "${enableval}" in
- yes) BUILD_TESTS=yes ;;
- no) BUILD_TESTS=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
- esac
- ],
-[BUILD_TESTS=yes]) dnl Default value
-AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
-
-dnl *** checks for platform ***
-
-dnl * hardware/architecture *
-
-dnl *** checks for programs ***
-
-dnl find a compiler
-AC_PROG_CC
-AC_PROG_CC_STDC
-
-dnl check if the compiler supports '-c' and '-o' options
-AM_PROG_CC_C_O
-
-dnl find an assembler
-AM_PROG_AS
-
-AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
-AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
-
-dnl check for gobject-introspection
-GOBJECT_INTROSPECTION_CHECK([1.31.1])
-
-dnl *** checks for libraries ***
-
-dnl check for pthreads
-AX_PTHREAD
-
-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 GLib is required
-GLIB_REQ=2.44.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_NET($GST_API_VERSION, [$GST_REQ], yes)
-
-AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], [yes])
-
-dnl check for uninstalled plugin directories for unit tests
-AG_GST_CHECK_UNINSTALLED_SETUP([
- AG_GST_CHECK_GST_PLUGINS_GOOD($GST_API_VERSION, [$GSTPB_REQ])
- AG_GST_CHECK_GST_PLUGINS_BAD($GST_API_VERSION, [$GSTPB_REQ])
-])
-
-AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
-AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
-
-dnl Check for -Bsymbolic-functions linker flag used to avoid
-dnl intra-library PLT jumps, if available.
-AC_ARG_ENABLE(Bsymbolic,
- [AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],,
- [SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
- AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
- LDFLAGS=-Wl,-Bsymbolic-functions
- LIBS=
- AC_TRY_LINK([], [return 0],
- AC_MSG_RESULT(yes)
- enable_Bsymbolic=yes,
- AC_MSG_RESULT(no)
- enable_Bsymbolic=no)
- LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"])
-
-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 set location of plugin directory
-AG_GST_SET_PLUGINDIR
-
-dnl set release date/time (and check that release version is in doap file)
-AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
- ["${srcdir}/gst-rtsp-server.doap"],
- [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
-
-# 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($FATAL_WARNINGS, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -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)
-
-# GST_DISABLE_DEPRECATED: hide the visibility of deprecated
-# functionality from the API that gstreamer uses
-# GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
-if test "x$PACKAGE_VERSION_NANO" = "x1"; then
- dnl Define _only_ when compiling from git (not for pre-releases or releases)
- DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
-else
- DEPRECATED_CFLAGS=""
-fi
-AC_SUBST(DEPRECATED_CFLAGS)
-
-VISIBILITY_CFLAGS=""
-AS_COMPILER_FLAG([-fvisibility=hidden], [
- VISIBILITY_CFLAGS="-fvisibility=hidden"
- AC_DEFINE(GST_API_EXPORT, [extern __attribute__ ((visibility ("default")))], [public symbol export define])
-], [
- VISIBILITY_CFLAGS=""
- AC_DEFINE(GST_API_EXPORT, [extern], [public symbol export define])
-])
-AC_SUBST(VISIBILITY_CFLAGS)
-
-dnl disable strict aliasing
-AS_COMPILER_FLAG([-fno-strict-aliasing], [EXTRA_CFLAGS="-fno-strict-aliasing"])
-AC_SUBST(EXTRA_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 $EXTRA_CFLAGS \$(GST_STATIC_CFLAGS) \$(GST_OPTION_CFLAGS) \$(VISIBILITY_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"
-if test "x${enable_Bsymbolic}" = "xyes"; then
- GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
-fi
-
-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=""
-AC_SUBST(GST_LIB_LDFLAGS)
-
-dnl GST_OBJ_*
-dnl default vars for all internal objects built on libgstrtspserver
-dnl includes GST_ALL_*
-GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
-AC_SUBST([GST_OBJ_CFLAGS])
-GST_OBJ_LIBS="\$(top_builddir)/gst/rtsp-server/libgstrtspserver-$GST_API_VERSION.la \$(GST_ALL_LIBS)"
-AC_SUBST([GST_OBJ_LIBS])
-
-dnl If only building static libraries, define GST_STATIC_COMPILATION. This is
-dnl needed only on Windows, but it doesn't hurt to have it everywhere.
-if test x$enable_static = xyes -a x$enable_shared = xno; then
- GST_STATIC_CFLAGS="-DGST_STATIC_COMPILATION"
-fi
-AC_SUBST(GST_STATIC_CFLAGS)
-
-GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
-AC_SUBST(GST_PLUGIN_LDFLAGS)
-
-PKG_CHECK_MODULES(LIBCGROUP, libcgroup >= 0.26, HAVE_LIBCGROUP="yes", HAVE_LIBCGROUP="no")
-AC_SUBST(LIBCGROUP_CFLAGS)
-AC_SUBST(LIBCGROUP_LIBS)
-AM_CONDITIONAL(HAVE_LIBCGROUP, test "x$HAVE_LIBCGROUP" = "xyes")
-
-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
-gst/Makefile
-gst/rtsp-server/Makefile
-gst/rtsp-sink/Makefile
-examples/Makefile
-tests/Makefile
-tests/check/Makefile
-pkgconfig/Makefile
-pkgconfig/gstreamer-rtsp-server.pc
-pkgconfig/gstreamer-rtsp-server-uninstalled.pc
-])
-AC_OUTPUT
-
-echo "
-
-Configuration
- Version : ${VERSION}
- Source code location : ${srcdir}
- Prefix : ${prefix}
- Compiler : ${CC}
- CGroups example : ${HAVE_LIBCGROUP}
-
-gst-rtsp-server configured. Type 'make' to build.
-"
diff --git a/docs/.gitignore b/docs/.gitignore
deleted file mode 100644
index e5a7abe..0000000
--- a/docs/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-version.entities
diff --git a/examples/.gitignore b/examples/.gitignore
deleted file mode 100644
index 4a65f74..0000000
--- a/examples/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-test-appsrc
-test-appsrc2
-test-cgroups
-test-launch
-test-mp4
-test-ogg
-test-readme
-test-record
-test-record-auth
-test-sdp
-test-video
-test-video-rtx
-test-uri
-test-auth
-test-netclock
-test-netclock-client
-test-onvif-backchannel
diff --git a/examples/Makefile.am b/examples/Makefile.am
deleted file mode 100644
index 6cbe72a..0000000
--- a/examples/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-noinst_PROGRAMS = test-video test-ogg test-mp4 test-readme \
- test-launch test-sdp test-uri test-auth test-auth-digest \
- test-multicast test-multicast2 test-appsrc test-appsrc2 \
- test-video-rtx test-record test-record-auth \
- test-netclock test-netclock-client \
- test-onvif-backchannel test-video-disconnect
-
-#INCLUDES = -I$(top_srcdir) -I$(srcdir)
-
-AM_CFLAGS = $(GST_OBJ_CFLAGS)
-LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS)
-
-if HAVE_LIBCGROUP
-noinst_PROGRAMS += test-cgroups
-LDADD += $(LIBCGROUP_LIBS)
-endif
-
-test_appsrc2_CFLAGS = \
- $(AM_CFLAGS) \
- $(GST_PLUGINS_BASE_CFLAGS)
-test_appsrc2_LDADD = \
- $(LDADD) \
- $(GST_PLUGINS_BASE_LIBS) -lgstapp-1.0
-test_netclock_CFLAGS = \
- $(AM_CFLAGS) \
- $(GST_NET_CFLAGS)
-test_netclock_LDADD = \
- $(LDADD) \
- $(GST_NET_LIBS)
-
-test_netclock_client_CFLAGS = \
- $(AM_CFLAGS) \
- $(GST_NET_CFLAGS)
-test_netclock_client_LDADD = \
- $(LDADD) \
- $(GST_NET_LIBS)
-
-test_onvif_backchannel_CFLAGS = \
- $(AM_CFLAGS) \
- $(GST_PLUGINS_BASE_CFLAGS)
-test_onvif_backchannel_LDADD = \
- $(LDADD) \
- $(GST_PLUGINS_BASE_LIBS) -lgstrtsp-1.0 -lgstsdp-1.0
-
diff --git a/gst/Makefile.am b/gst/Makefile.am
deleted file mode 100644
index a97a8b8..0000000
--- a/gst/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = rtsp-server rtsp-sink
diff --git a/gst/rtsp-server/.gitignore b/gst/rtsp-server/.gitignore
deleted file mode 100644
index 6091a86..0000000
--- a/gst/rtsp-server/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-GstRtspServer-0.11.gir
-GstRtspServer-0.11.typelib
diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
deleted file mode 100644
index 112e529..0000000
--- a/gst/rtsp-server/Makefile.am
+++ /dev/null
@@ -1,136 +0,0 @@
-public_headers = \
- rtsp-auth.h \
- rtsp-address-pool.h \
- rtsp-context.h \
- rtsp-params.h \
- rtsp-sdp.h \
- rtsp-thread-pool.h \
- rtsp-media.h \
- rtsp-media-factory.h \
- rtsp-media-factory-uri.h \
- rtsp-mount-points.h \
- rtsp-permissions.h \
- rtsp-stream.h \
- rtsp-stream-transport.h \
- rtsp-session.h \
- rtsp-session-media.h \
- rtsp-session-pool.h \
- rtsp-token.h \
- rtsp-client.h \
- rtsp-server.h \
- rtsp-server-object.h \
- rtsp-server-prelude.h \
- rtsp-onvif-server.h \
- rtsp-onvif-client.h \
- rtsp-onvif-media-factory.h \
- rtsp-onvif-media.h
-
-c_sources = \
- rtsp-auth.c \
- rtsp-address-pool.c \
- rtsp-context.c \
- rtsp-params.c \
- rtsp-sdp.c \
- rtsp-thread-pool.c \
- rtsp-latency-bin.c \
- rtsp-media.c \
- rtsp-media-factory.c \
- rtsp-media-factory-uri.c \
- rtsp-mount-points.c \
- rtsp-permissions.c \
- rtsp-stream.c \
- rtsp-stream-transport.c \
- rtsp-session.c \
- rtsp-session-media.c \
- rtsp-session-pool.c \
- rtsp-token.c \
- rtsp-client.c \
- rtsp-server.c \
- rtsp-onvif-server.c \
- rtsp-onvif-client.c \
- rtsp-onvif-media-factory.c \
- rtsp-onvif-media.c
-
-noinst_HEADERS = \
- rtsp-latency-bin.h
-
-lib_LTLIBRARIES = \
- libgstrtspserver-@GST_API_VERSION@.la
-
-libgstrtspserver_@GST_API_VERSION@_la_SOURCES = \
- $(c_sources)
-
-libgstrtspserver_@GST_API_VERSION@_la_CFLAGS = \
- $(GST_PLUGINS_BASE_CFLAGS) $(GST_NET_CFLAGS) \
- $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_RTSP_SERVER
-libgstrtspserver_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
-libgstrtspserver_@GST_API_VERSION@_la_LIBADD = \
- $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) $(GST_BASE_LIBS) \
- -lgstrtp-@GST_API_VERSION@ -lgstrtsp-@GST_API_VERSION@ \
- -lgstsdp-@GST_API_VERSION@ \
- -lgstapp-@GST_API_VERSION@ \
- $(GST_LIBS) $(GIO_LIBS) $(LIBM)
-
-libgstrtspserver_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/rtsp-server
-libgstrtspserver_@GST_API_VERSION@include_HEADERS = $(public_headers)
-
-CLEANFILES =
-
-if HAVE_INTROSPECTION
-BUILT_GIRSOURCES = GstRtspServer-@GST_API_VERSION@.gir
-
-gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtspserver_@GST_API_VERSION@include_HEADERS))
-gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtspserver_@GST_API_VERSION@_la_SOURCES))
-
-GstRtspServer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtspserver-@GST_API_VERSION@.la
- $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
- CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
- $(INTROSPECTION_SCANNER) -v --namespace GstRtspServer \
- --nsversion=@GST_API_VERSION@ \
- --strip-prefix=Gst \
- --warn-all \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -DIN_GOBJECT_INTROSPECTION=1 \
- --c-include='gst/rtsp-server/rtsp-server.h' \
- --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
- --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-@GST_API_VERSION@` \
- --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-@GST_API_VERSION@` \
- --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-net-@GST_API_VERSION@` \
- --library=libgstrtspserver-@GST_API_VERSION@.la \
- --include=Gst-@GST_API_VERSION@ \
- --include=GstRtsp-@GST_API_VERSION@ \
- --include=GstNet-@GST_API_VERSION@ \
- --libtool="${LIBTOOL}" \
- --pkg gstreamer-@GST_API_VERSION@ \
- --pkg gstreamer-rtsp-@GST_API_VERSION@ \
- --pkg gstreamer-net-@GST_API_VERSION@ \
- --pkg-export gstreamer-rtsp-server-@GST_API_VERSION@ \
- --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=$(builddir) \
- --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
- --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-@GST_API_VERSION@` \
- --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-@GST_API_VERSION@` \
- --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-net-@GST_API_VERSION@` \
- $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
-
-CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
-endif
diff --git a/gst/rtsp-sink/Makefile.am b/gst/rtsp-sink/Makefile.am
deleted file mode 100644
index f8092e5..0000000
--- a/gst/rtsp-sink/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-plugin_LTLIBRARIES = libgstrtspclientsink.la
-
-libgstrtspclientsink_la_SOURCES = gstrtspclientsink.c plugin.c
-
-libgstrtspclientsink_la_CFLAGS = -I$(top_srcdir) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
-
-# FIXME: Hack to avoid having to add GETTEXT_PACKAGE to gst-rtsp
-libgstrtspclientsink_la_CFLAGS += -D"GETTEXT_PACKAGE=gst-rtsp-server-1.0"
-
-libgstrtspclientsink_la_LIBADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
- $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
- -lgstrtp-@GST_API_VERSION@ -lgstrtsp-@GST_API_VERSION@ \
- -lgstsdp-@GST_API_VERSION@ $(GST_NET_LIBS) $(GST_LIBS) \
- $(GIO_LIBS)
-libgstrtspclientsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-noinst_HEADERS = gstrtspclientsink.h
diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore
deleted file mode 100644
index 6fd0ef0..0000000
--- a/pkgconfig/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.pc
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
deleted file mode 100644
index cf36182..0000000
--- a/pkgconfig/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-pcfiles = \
- gstreamer-rtsp-server-@GST_API_VERSION@.pc
-
-pcfiles_uninstalled = \
- gstreamer-rtsp-server-@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|[@]rtspserverlibdir[@]|$(abs_top_builddir)/gst/rtsp-server/.libs|" \
- $< > $@.tmp && mv $@.tmp $@
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = $(pcfiles)
-
-EXTRA_DIST = \
- gstreamer-rtsp-server.pc.in \
- gstreamer-rtsp-server-uninstalled.pc.in
-CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
diff --git a/tests/.gitignore b/tests/.gitignore
deleted file mode 100644
index 58b8c22..0000000
--- a/tests/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-test-cleanup
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index f653107..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-noinst_PROGRAMS = test-cleanup test-reuse
-
-AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir)
-AM_LDFLAGS = \
- $(GST_LIBS) \
- $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
-
-SUBDIRS = check
-
-DIST_SUBDIRS = check
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
deleted file mode 100644
index 574297c..0000000
--- a/tests/check/Makefile.am
+++ /dev/null
@@ -1,64 +0,0 @@
-include $(top_srcdir)/common/check.mak
-
-CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
-TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
-
-REGISTRY_ENVIRONMENT = \
- GST_REGISTRY_1_0=$(CHECK_REGISTRY)
-
-AM_TESTS_ENVIRONMENT += \
- GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \
- $(REGISTRY_ENVIRONMENT) \
- GST_PLUGIN_SYSTEM_PATH_1_0= \
- GST_PLUGIN_PATH_1_0=$(GST_PLUGINS_DIR):$(GST_PLUGINS_BASE_DIR):$(GST_PLUGINS_GOOD_DIR):$(GST_PLUGINS_BAD_DIR):$(top_builddir)/gst \
- GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server"
-
-
-# ths core dumps of some machines have PIDs appended
-CLEANFILES = core.* test-registry.*
-
-clean-local: clean-local-check
-
-$(CHECK_REGISTRY):
- $(TESTS_ENVIRONMENT)
-
-TESTS = $(check_PROGRAMS)
-
-check_PROGRAMS = \
- gst/rtspserver \
- gst/client \
- gst/mountpoints \
- gst/mediafactory \
- gst/media \
- gst/stream \
- gst/addresspool \
- gst/threadpool \
- gst/permissions \
- gst/token \
- gst/sessionmedia \
- gst/sessionpool \
- gst/rtspclientsink
-
-# these tests don't even pass
-noinst_PROGRAMS =
-
-AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
- $(GST_PLUGINS_BASE_CFLAGS) \
- $(GST_BASE_CFLAGS) \
- $(GIO_CFLAGS) \
- $(GST_CFLAGS) \
- $(GST_CHECK_CFLAGS) \
- -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
- -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
- -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
-AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
- -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
- -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
- -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
-LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
- $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
- -lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
- $(GST_BASE_LIBS) $(GIO_LIBS) \
- $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
-
-SUPPRESSIONS = $(top_srcdir)/common/gst.supp