2005-10-16 13:54:44 +00:00
AC_PREREQ(2.52)
2002-02-16 05:44:09 +00:00
2006-06-11 12:14:18 +00:00
dnl please read gstreamer/docs/random/autotools before changing this file
2005-10-16 13:54:44 +00:00
dnl initialize autoconf
2009-05-12 00:21:57 +00:00
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/prerelease
2009-08-06 00:44:24 +00:00
AC_INIT(GStreamer Base Plug-ins, 0.10.24.1,
2006-04-01 09:50:34 +00:00
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
gst-plugins-base)
2007-02-28 19:27:28 +00:00
AG_GST_INIT
2006-04-01 09:50:34 +00:00
dnl initialize automake
2009-05-19 16:47:34 +00:00
AM_INIT_AUTOMAKE([-Wno-portability])
2006-04-01 09:50:34 +00:00
dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
2009-05-12 00:21:57 +00:00
AS_NANO(GST_GIT="no", GST_GIT="yes")
2003-09-19 06:24:35 +00:00
2005-10-16 13:54:44 +00:00
dnl can autoconf find the source ?
2005-11-23 11:58:41 +00:00
AC_CONFIG_SRCDIR([gst/audiotestsrc/gstaudiotestsrc.c])
2005-10-16 13:54:44 +00:00
dnl define the output header for config
AM_CONFIG_HEADER([config.h])
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE
dnl sets host_* variables
AC_CANONICAL_HOST
2002-12-08 14:50:09 +00:00
dnl our libraries and install dirs use major.minor as a version
2006-04-01 09:50:34 +00:00
GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
2005-02-22 16:48:58 +00:00
dnl we override it here if we need to for the release candidate of new series
2005-12-01 19:13:54 +00:00
GST_MAJORMINOR=0.10
2002-12-08 14:50:09 +00:00
AC_SUBST(GST_MAJORMINOR)
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
2005-10-16 13:54:44 +00:00
dnl sets GST_LT_LDFLAGS
2009-08-04 23:56:58 +00:00
AS_LIBTOOL(GST, 17, 0, 17)
2006-04-01 15:34:38 +00:00
dnl FIXME: this macro doesn't actually work;
dnl the generated libtool script has no support for the listed tags.
dnl So this needs to be fixed first if we want to use this
dnl AS_LIBTOOL_TAGS
2008-04-06 08:56:07 +00:00
AC_LIBTOOL_WIN32_DLL
2004-02-04 21:30:15 +00:00
AM_PROG_LIBTOOL
2001-12-17 18:37:01 +00:00
2005-12-20 15:57:06 +00:00
dnl *** required versions of GStreamer stuff ***
2009-05-14 00:31:48 +00:00
GST_REQ=0.10.23.1
2005-12-20 15:57:06 +00:00
2005-10-16 13:54:44 +00:00
dnl *** autotools stuff ****
2001-12-17 18:37:01 +00:00
2005-10-16 13:54:44 +00:00
dnl allow for different autotools
AS_AUTOTOOLS_ALTERNATE
2002-02-06 18:18:16 +00:00
2005-10-16 13:54:44 +00:00
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
2004-07-13 06:36:55 +00:00
2005-10-16 13:54:44 +00:00
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
2008-11-29 13:31:47 +00:00
AM_GNU_GETTEXT_VERSION([0.17])
2004-01-19 15:45:55 +00:00
AM_GNU_GETTEXT([external])
2007-02-28 19:27:28 +00:00
AG_GST_GETTEXT([gst-plugins-base-$GST_MAJORMINOR])
2004-01-19 15:45:55 +00:00
2005-10-16 13:54:44 +00:00
dnl *** check for arguments to configure ***
2007-02-28 19:27:28 +00:00
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
AG_GST_ARG_GCOV
2005-10-16 13:54:44 +00:00
2007-02-28 19:27:28 +00:00
AG_GST_ARG_EXAMPLES
2005-10-16 13:54:44 +00:00
2007-02-28 19:27:28 +00:00
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
2005-10-16 13:54:44 +00:00
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.
2007-02-02 20:42:08 +00:00
dnl let distro override plugin install helper path
AC_ARG_WITH(install-plugins-helper,
AC_HELP_STRING([--with-install-plugins-helper],
[specify path of helper script to call to install plugins]),
[
case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;;
no) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;;
*) GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
esac
],
[
dnl Default value
AS_AC_EXPAND(GST_INSTALL_PLUGINS_HELPER,${libexecdir}/gst-install-plugins-helper)
]
)
AC_MSG_NOTICE(Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper)
AC_DEFINE_UNQUOTED(GST_INSTALL_PLUGINS_HELPER, "$GST_INSTALL_PLUGINS_HELPER",
[plugin install helper script])
AC_SUBST(GST_INSTALL_PLUGINS_HELPER)
2007-09-25 07:50:59 +00:00
AG_GST_ARG_WITH_PLUGINS
2005-10-17 15:53:53 +00:00
2007-09-25 07:50:59 +00:00
AG_GST_ARG_ENABLE_EXTERNAL
2005-10-17 15:53:53 +00:00
2008-02-07 23:18:43 +00:00
AG_GST_ARG_ENABLE_EXPERIMENTAL
2008-03-03 12:01:15 +00:00
2005-10-16 13:54:44 +00:00
dnl *** checks for platform ***
dnl * hardware/architecture *
dnl common/m4/gst-arch.m4
dnl check CPU type
2007-02-28 19:27:28 +00:00
AG_GST_ARCH
2005-10-16 13:54:44 +00:00
2007-06-06 08:01:42 +00:00
dnl check for large file support
dnl affected plugins must include config.h
AC_SYS_LARGEFILE
2005-10-16 13:54:44 +00:00
dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
2003-05-21 15:16:51 +00:00
2008-01-10 12:22:46 +00:00
dnl check if the compiler supports '-c' and '-o' options
AM_PROG_CC_C_O
2005-10-16 13:54:44 +00:00
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check for documentation tools
GTK_DOC_CHECK([1.3])
AS_PATH_PYTHON([2.1])
2007-02-28 19:27:28 +00:00
AG_GST_PLUGIN_DOCS([1.3],[2.1])
2005-10-16 13:54:44 +00:00
dnl *** checks for libraries ***
2007-02-24 20:12:49 +00:00
dnl libm, for sin() etc.
AC_CHECK_LIBM
AC_SUBST(LIBM)
2005-10-16 13:54:44 +00:00
dnl *** checks for header files ***
dnl check if we have ANSI C header files
AC_HEADER_STDC
dnl used in gst/ffmpegcolorspace/mem.c
dnl FIXME: could be fixed by redefining av_malloc and av_free to GLib's
2005-11-03 00:42:57 +00:00
AC_CHECK_HEADERS([malloc.h])
dnl used in gst/subparse/gstsubparse.c
AC_CHECK_HEADERS([regex.h], HAVE_REGEX_H="yes", HAVE_REGEX_H="no")
AM_CONDITIONAL(HAVE_REGEX_H, test "x$HAVE_REGEX_H" = "xyes")
2005-10-16 13:54:44 +00:00
2007-08-30 06:58:46 +00:00
if test "x$HAVE_REGEX_H" = "xyes"; then
ac_cppflags_save="$CPPFLAGS"
2008-02-22 05:27:24 +00:00
CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
2007-08-30 06:58:46 +00:00
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM([
#include <libxml/HTMLparser.h>
],[
#ifndef LIBXML_HTML_ENABLED
#error libxml2 has no HTML support
#endif /* LIBXML_HTML_ENABLED */
2007-09-06 20:31:50 +00:00
]), HAVE_LIBXML_HTML="yes", HAVE_LIBXML_HTML="no")
2007-08-30 06:58:46 +00:00
CPPFLAGS="$ac_cppflags_save"
2007-08-30 07:29:55 +00:00
else
2007-09-06 20:31:50 +00:00
HAVE_LIBXML_HTML="no"
2007-08-30 06:58:46 +00:00
fi
2007-09-06 20:31:50 +00:00
AM_CONDITIONAL(HAVE_LIBXML_HTML, test "x$HAVE_LIBXML_HTML" = "xyes")
2007-08-30 06:58:46 +00:00
2005-11-03 09:31:30 +00:00
dnl used in gst/tcp
AC_CHECK_HEADERS([sys/socket.h],
HAVE_SYS_SOCKET_H="yes", HAVE_SYS_SOCKET_H="no")
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
2007-08-07 15:13:46 +00:00
dnl used in gst-libs/gst/rtsp
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
if test "x$HAVE_WINSOCK2_H" = "xyes"; then
WIN32_LIBS="-lws2_32"
AC_SUBST(WIN32_LIBS)
fi
2008-01-12 23:08:28 +00:00
dnl check for hstrerror, for gst-libs/gst/rtsp
save_libs="$LIBS"
AC_CHECK_FUNC(hstrerror, ,
AC_CHECK_LIB(resolv, hstrerror, ,
[AC_DEFINE(NO_HSTRERROR, 1,
[Define if you have no native hstrerror() function.])]))
HSTRERROR_LIBS=$LIBS
AC_SUBST(HSTRERROR_LIBS)
LIBS="$save_libs"
rename utils to pbutils
Original commit message from CVS:
* configure.ac:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/descriptions.c:
(gst_pb_utils_get_source_description),
(gst_pb_utils_get_sink_description),
(gst_pb_utils_get_decoder_description),
(gst_pb_utils_get_encoder_description),
(gst_pb_utils_get_element_description),
(gst_pb_utils_add_codec_description_to_tag_list),
(gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
* gst-libs/gst/pbutils/descriptions.h:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(gst_missing_plugin_message_get_description):
* gst-libs/gst/pbutils/missing-plugins.h:
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/pbutils/pbutils.h:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/install-plugins.h:
* gst-libs/gst/utils/missing-plugins.c:
* gst-libs/gst/utils/missing-plugins.h:
* gst-plugins-base.spec.in:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
* tests/check/Makefile.am:
* tests/check/libs/pbutils.c: (GST_START_TEST),
(test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
* tests/check/libs/utils.c:
rename utils to pbutils
2007-03-04 23:39:51 +00:00
dnl used in gst-libs/gst/pbutils and associated unit test
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.
2007-02-02 20:42:08 +00:00
AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h])
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
2005-10-17 09:33:24 +00:00
dnl ffmpegcolorspace includes _stdint.h
2006-02-13 20:49:07 +00:00
dnl also, Windows does not have long long
2005-10-17 09:33:24 +00:00
AX_CREATE_STDINT_H
2007-01-08 13:32:32 +00:00
dnl *** checks for functions ***
2008-02-02 07:13:15 +00:00
AC_CHECK_FUNCS([localtime_r gmtime_r])
2007-01-08 13:32:32 +00:00
2005-10-16 13:54:44 +00:00
dnl *** checks for types/defines ***
dnl Check for FIONREAD ioctl declaration
dnl used in gst/tcp
GST_CHECK_FIONREAD
dnl *** checks for structures ***
dnl *** checks for compiler characteristics ***
dnl *** checks for library functions ***
2007-06-06 09:08:50 +00:00
dnl check for fseeko()
AC_FUNC_FSEEKO
2005-10-16 13:54:44 +00:00
dnl Check for fast float to int casting as defined in C99
dnl used in gst-libs/gst/floatcast/floatcast.h
2008-03-21 13:27:47 +00:00
save_libs=$LIBS
LIBS="$LIBS $LIBM"
2005-10-16 13:54:44 +00:00
AC_C99_FUNC_LRINT
AC_C99_FUNC_LRINTF
2008-03-21 13:27:47 +00:00
LIBS=$save_libs
2004-03-15 16:27:29 +00:00
2003-11-11 03:22:53 +00:00
dnl Check for a way to display the function name in debug output
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FUNCTION
2005-10-16 13:54:44 +00:00
2009-01-23 09:00:11 +00:00
dnl *** checks for socket and nsl libraries ***
AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
2007-02-12 20:42:23 +00:00
dnl *** checks for dependency libraries ***
2003-11-11 03:22:53 +00:00
2005-10-17 15:53:53 +00:00
dnl GLib is required
2009-05-12 00:17:53 +00:00
AG_GST_GLIB_CHECK([2.16])
2005-10-16 13:54:44 +00:00
2005-10-17 15:53:53 +00:00
dnl liboil is required
2008-04-01 14:01:14 +00:00
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.14, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
2008-03-03 12:01:15 +00:00
if test "x$HAVE_LIBOIL" != "xyes"; then
2008-04-01 14:01:14 +00:00
AC_ERROR([liboil-0.3.14 or later is required])
2003-11-06 02:32:42 +00:00
fi
2005-10-17 15:53:53 +00:00
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
2008-05-19 16:13:25 +00:00
AG_GST_CHECK_GST($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_GDP($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ], yes)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
2007-07-13 16:02:23 +00:00
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
2005-10-17 15:53:53 +00:00
2007-02-12 20:42:23 +00:00
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
2008-04-18 17:10:43 +00:00
dnl GTK is optional and only used in examples
2009-07-30 08:28:20 +00:00
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.14.0, HAVE_GTK=yes, HAVE_GTK=no)
2005-10-17 15:53:53 +00:00
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
2009-01-02 15:04:13 +00:00
dnl some examples need gtk+-x11
2009-07-30 08:28:20 +00:00
PKG_CHECK_MODULES(GTK_X11, gtk+-x11-2.0 >= 2.14.0,
2009-01-02 15:04:13 +00:00
HAVE_GTK_X11=yes, HAVE_GTK_X11=no)
AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes")
2005-10-16 13:54:44 +00:00
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
2007-02-28 19:27:28 +00:00
AG_GST_SET_PLUGINDIR
2004-05-20 19:19:26 +00:00
2005-10-16 13:54:44 +00:00
dnl define an ERROR_CFLAGS Makefile variable
2009-05-12 00:21:57 +00:00
AG_GST_SET_ERROR_CFLAGS($GST_GIT)
2005-10-16 13:54:44 +00:00
dnl define correct level for debugging messages
2009-05-12 00:21:57 +00:00
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
2005-10-16 13:54:44 +00:00
2005-11-16 18:20:17 +00:00
dnl used in examples
2007-02-28 19:27:28 +00:00
AG_GST_DEFAULT_ELEMENTS
2004-12-14 06:43:30 +00:00
2009-02-02 13:43:03 +00:00
dnl behaviour of speex based audio resampler
AC_MSG_CHECKING(which audio resample format to use for integer)
AC_ARG_WITH([audioresample_format],
AS_HELP_STRING([--with-audioresample-format],[Which implementation should be used for integer audio resampling, int/float/auto, (default is auto)]),
[ac_cv_audioresample_format=$withval], [ac_cv_audioresample_format=auto])dnl
AC_MSG_RESULT($ac_cv_audioresample_format)
case $ac_cv_audioresample_format in
int)
AC_DEFINE(AUDIORESAMPLE_FORMAT_INT,1,[The int implementation should be used for integer audio resampling])
AC_SUBST(AUDIORESAMPLE_FORMAT_INT)
;;
float)
AC_DEFINE(AUDIORESAMPLE_FORMAT_FLOAT,1,[The float implementation should be used for integer audio resampling])
AC_SUBST(AUDIORESAMPLE_FORMAT_FLOAT)
;;
auto)
AC_DEFINE(AUDIORESAMPLE_FORMAT_AUTO,1,[The implementation that should be used for integer audio resampling witll be benchmarked at runtime])
AC_SUBST(AUDIORESAMPLE_FORMAT_AUTO)
esac
2009-02-04 08:31:21 +00:00
AM_CONDITIONAL(AUDIORESAMPLE_NEEDS_LIBOIL, test "$ac_cv_audioresample_format" = "auto")
2009-02-02 13:43:03 +00:00
2008-03-03 12:01:15 +00:00
dnl *** plug-ins to include ***
dnl these are all the gst plug-ins, compilable without additional libs
AG_GST_CHECK_PLUGIN(adder)
2009-01-05 23:04:57 +00:00
AG_GST_CHECK_PLUGIN(app)
2008-03-03 12:01:15 +00:00
AG_GST_CHECK_PLUGIN(audioconvert)
AG_GST_CHECK_PLUGIN(audiorate)
AG_GST_CHECK_PLUGIN(audiotestsrc)
AG_GST_CHECK_PLUGIN(ffmpegcolorspace)
AG_GST_CHECK_PLUGIN(gdp)
AG_GST_CHECK_PLUGIN(playback)
2009-01-23 11:31:06 +00:00
AG_GST_CHECK_PLUGIN(audioresample)
2008-03-03 12:01:15 +00:00
AG_GST_CHECK_PLUGIN(subparse)
AG_GST_CHECK_PLUGIN(tcp)
AG_GST_CHECK_PLUGIN(typefind)
AG_GST_CHECK_PLUGIN(videotestsrc)
AG_GST_CHECK_PLUGIN(videorate)
AG_GST_CHECK_PLUGIN(videoscale)
AG_GST_CHECK_PLUGIN(volume)
2008-09-02 15:07:09 +00:00
dnl check for gstreamer core features (subsystems)
GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH)
2008-09-03 10:12:04 +00:00
AM_CONDITIONAL(USE_XML, test $GST_DISABLE_XML != "1")
2008-09-02 15:07:09 +00:00
2008-03-03 12:01:15 +00:00
dnl disable plug-ins that require libxml2's HTML support if it is not available
if test "x$HAVE_LIBXML_HTML" != "xyes"; then
AG_GST_DISABLE_PLUGIN(subparse)
fi
dnl disable plug-ins that require sys/socket.h if it is not available
if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
AG_GST_DISABLE_PLUGIN(tcp)
fi
2005-10-17 15:53:53 +00:00
dnl *** sys plug-ins ***
2001-12-20 20:16:57 +00:00
2005-06-29 10:56:25 +00:00
echo
AC_MSG_NOTICE([Checking libraries for plugins in sys/])
echo
2005-10-17 15:53:53 +00:00
dnl *** X11 ***
2003-12-03 12:23:37 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
2003-12-03 12:23:37 +00:00
[ximagesink], [
AC_PATH_XTRA
2005-08-01 21:14:22 +00:00
ac_cflags_save="$CFLAGS"
ac_cppflags_save="$CPPFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
2004-03-16 18:00:18 +00:00
dnl now try to find the HEADER
AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no")
if test "x$HAVE_X" = "xno"
2003-12-03 12:23:37 +00:00
then
AC_MSG_NOTICE([cannot find X11 development files])
else
dnl this is much more than we want
X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
2004-03-16 18:00:18 +00:00
dnl AC_PATH_XTRA only defines the path needed to find the X libs,
dnl it does not add the libs; therefore we add them here
2003-12-03 12:23:37 +00:00
X_LIBS="$X_LIBS -lX11"
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
fi
AC_SUBST(HAVE_X)
2005-08-01 21:14:22 +00:00
CFLAGS="$ac_cflags_save"
CPPFLAGS="$ac_cppflags_save"
2003-12-03 12:23:37 +00:00
])
2003-07-03 15:56:49 +00:00
dnl Check for Xv extension
2003-07-06 20:49:52 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions],
2004-03-09 13:10:14 +00:00
[xvimagesink], [
2007-03-01 10:20:59 +00:00
AG_GST_CHECK_XV
2003-07-06 20:49:52 +00:00
])
2001-12-17 18:37:01 +00:00
2003-11-12 03:06:07 +00:00
dnl check for X Shm
translit(dnm, m, l) AM_CONDITIONAL(USE_XSHM, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(XSHM, [X Shared Memory extension], , [
2003-11-12 03:06:07 +00:00
if test x$HAVE_X = xyes; then
AC_CHECK_LIB(Xext, XShmAttach,
HAVE_XSHM="yes", HAVE_XSHM="no",
$X_LIBS)
if test "x$HAVE_XSHM" = "xyes"; then
XSHM_LIBS="-lXext"
else
dnl On AIX, it is in XextSam instead, but we still need -lXext
AC_CHECK_LIB(XextSam, XShmAttach,
HAVE_XSHM="yes", HAVE_XSHM="no",
$X_LIBS)
if test "x$HAVE_XSHM" = "xyes"; then
XSHM_LIBS="-lXext -lXextSam"
fi
fi
fi
], , [
AC_SUBST(HAVE_XSHM)
AC_SUBST(XSHM_LIBS)
2006-06-11 12:14:18 +00:00
])
2003-11-07 00:53:32 +00:00
2003-12-07 11:51:06 +00:00
dnl v4l/v4l2 checks have been moved down because they require X
dnl *** Video 4 Linux ***
dnl for information about the header/define, see sys/v4l/gstv4lelement.h
2004-10-27 00:21:33 +00:00
dnl renamed to GST_V4L in accordance with V4L2 below
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(GST_V4L, [Video 4 Linux], video4linux, [
2006-05-15 12:18:13 +00:00
AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_GST_V4L="yes", HAVE_GST_V4L="no", [
2003-12-07 11:51:06 +00:00
#include <sys/types.h>
#define _LINUX_TIME_H
2004-12-29 13:27:45 +00:00
#define __user
2003-12-07 11:51:06 +00:00
#include <linux/videodev.h>
2006-05-15 12:18:13 +00:00
])
dnl we can build v4l without Xv, but then we won't have XOverlay support
if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
then
2006-06-11 12:14:18 +00:00
AC_MSG_NOTICE([NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT])
AC_MSG_NOTICE([WITHOUT XOVERLAY SUPPORT])
2003-12-07 11:51:06 +00:00
fi
])
2009-07-03 09:38:01 +00:00
# Optional gudev for device probing
AC_ARG_WITH([gudev],
AC_HELP_STRING([--with-gudev],
[device detection with gudev]),
[],
[with_gudev=check])
if test x$HAVE_GST_V4L = xyes; then
if test x$with_gudev != xno; then
PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 143 ],
[ have_gudev=yes
AC_DEFINE(HAVE_GUDEV, 1,
[Whether gudev is available for device detection])
AC_DEFINE([G_UDEV_API_IS_SUBJECT_TO_CHANGE], 1, [I know the API is subject to change.])
], [
have_gudev=no
])
else
have_gudev=no
fi
fi
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
2005-10-17 15:53:53 +00:00
dnl *** ext plug-ins ***
dnl keep this list sorted alphabetically !
2001-12-17 18:37:01 +00:00
2002-06-14 16:44:33 +00:00
if test "x$BUILD_EXTERNAL" = "xyes"; then
2005-06-29 10:56:25 +00:00
echo
AC_MSG_NOTICE([Checking libraries for plugins in ext/])
echo
2001-12-17 18:37:01 +00:00
dnl *** alsa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(ALSA, [ALSA], alsa, [
2004-03-10 17:21:14 +00:00
PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, [
HAVE_ALSA="yes"
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
], [
AM_PATH_ALSA(0.9.1, HAVE_ALSA="yes", HAVE_ALSA="no")
])
2001-12-17 18:37:01 +00:00
])
dnl *** CDParanoia ***
translit(dnm, m, l) AM_CONDITIONAL(USE_CDPARANOIA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [
AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
2002-06-22 08:21:31 +00:00
cdda_open, -lm,
cdda_interface.h,
CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
2002-07-04 19:38:06 +00:00
HEADER_DIR="no"
FOUND_CDPARANOIA="yes")
if test "x$FOUND_CDPARANOIA" != "xyes";
then
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
2002-07-04 19:38:06 +00:00
cdda_open, -lm,
cdda/cdda_interface.h,
CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
HEADER_DIR="yes"
FOUND_CDPARANOIA="yes")
fi
2002-06-22 08:21:31 +00:00
if test "x$HEADER_DIR" = "xyes";
then
AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, ,
defined if cdda headers are in a cdda/ directory)
fi
2009-06-19 01:27:40 +00:00
if test "x$FOUND_CDPARANOIA" = "xyes";
then
AC_CHECK_LIB(cdda_paranoia,
paranoia_cachemodel_size,
: ,
HAVE_CDPARANOIA=no)
fi
2001-12-23 13:06:22 +00:00
AC_SUBST(CDPARANOIA_LIBS)
2001-12-17 18:37:01 +00:00
])
dnl FIXME : add second check somehow if that is necessary
dnl AC_CHECK_LIB(cdda_paranoia, paranoia_init, : , HAVE_CDPARANOIA=no, -lcdda_interface )
dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no)
2006-06-11 12:14:18 +00:00
dnl *** GNOME VFS ***
2001-12-17 18:37:01 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_GNOME_VFS, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(GNOME_VFS, [GNOME VFS], gnomevfs, [
2009-01-07 18:32:33 +00:00
PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0, [
HAVE_GNOME_VFS="yes"
AC_SUBST(GNOME_VFS_CFLAGS)
AC_SUBST(GNOME_VFS_LIBS)
GNOME_VFS_MODULES_DIR="`$PKG_CONFIG --variable=modulesdir gnome-vfs-2.0`"
AC_DEFINE_UNQUOTED(GNOME_VFS_MODULES_DIR, "$GNOME_VFS_MODULES_DIR",
[The GnomeVFS modules directory.])
],[
HAVE_GNOME_VFS="no"
]
)
2001-12-17 18:37:01 +00:00
])
2008-02-07 23:18:43 +00:00
dnl *** libgio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GIO, true)
AG_GST_CHECK_FEATURE(GIO, [GIO library], gio, [
2009-01-07 18:36:04 +00:00
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.15.2, [
HAVE_GIO="yes"
GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
AC_DEFINE_UNQUOTED(GIO_MODULE_DIR, "$GIO_MODULE_DIR",
[The GIO modules directory.])
GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
AC_DEFINE_UNQUOTED(GIO_LIBDIR, "$GIO_LIBDIR",
[The GIO library directory.])
], [
2008-02-07 23:18:43 +00:00
HAVE_GIO="no"
AC_MSG_RESULT(no)
])
AC_SUBST(GIO_CFLAGS)
AC_SUBST(GIO_LIBS)
2008-02-08 00:45:56 +00:00
AC_SUBST(GIO_LDFLAGS)
2008-02-07 23:18:43 +00:00
])
2004-04-30 02:25:09 +00:00
dnl *** libvisual ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization library], libvisual, [
AG_GST_PKG_CHECK_MODULES(LIBVISUAL, libvisual-0.4 >= 0.4.0)
2006-06-11 12:14:18 +00:00
if test $HAVE_LIBVISUAL = no
then
2007-02-28 19:27:28 +00:00
AG_GST_PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0)
2009-01-06 18:03:51 +00:00
if test x$HAVE_LIBVISUAL == xyes; then
LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
fi
else
if test x$HAVE_LIBVISUAL == xyes; then
LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
fi
fi
AC_MSG_NOTICE([libvisual pluginsdir: $LIBVIS_PLUGINSDIR])
if test x$LIBVIS_PLUGINSDIR != x; then
AC_DEFINE_UNQUOTED(LIBVISUAL_PLUGINSBASEDIR,
"$LIBVIS_PLUGINSDIR",
[directory in which the detected libvisual's plugins are located])
2006-06-11 12:14:18 +00:00
fi
2004-04-30 02:25:09 +00:00
])
2003-11-24 04:08:48 +00:00
dnl *** ogg ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OGG, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(OGG, [Xiph Ogg library], ogg, [
AG_GST_PKG_CHECK_MODULES(OGG, ogg >= 1.0)
2006-06-11 12:14:18 +00:00
if test $HAVE_OGG = no
then
2004-03-10 17:21:14 +00:00
XIPH_PATH_OGG(HAVE_OGG="yes", HAVE_OGG="no")
AS_SCRUB_INCLUDE(OGG_CFLAGS)
2006-06-11 12:14:18 +00:00
fi
2003-11-24 04:08:48 +00:00
])
2005-12-01 15:14:11 +00:00
dnl *** pango ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PANGO, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [
AG_GST_PKG_CHECK_MODULES(PANGO, pango pangoft2)
2005-12-01 15:14:11 +00:00
])
2004-01-30 20:23:24 +00:00
dnl *** theora ***
translit(dnm, m, l) AM_CONDITIONAL(USE_THEORA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(THEORA, [Xiph Theora video codec], theora, [
2008-12-08 18:12:18 +00:00
dnl theora uses pkg-config version incorrectly, for pkg-config:
dnl 1.0 < 1.0RCX < 1.0alphaX < 1.0betaX < 1.0.0
dnl theoraenc and theoradec appeared in 1.0beta3
AG_GST_PKG_CHECK_MODULES(THEORA, theoradec theoraenc)
if test x$HAVE_THEORA = xno; then
AG_GST_PKG_CHECK_MODULES(THEORA, theora >= 1.0alpha5)
fi
2004-01-30 20:23:24 +00:00
])
2001-12-17 18:37:01 +00:00
dnl *** vorbis ***
dnl AM_PATH_VORBIS only takes two options
translit(dnm, m, l) AM_CONDITIONAL(USE_VORBIS, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(VORBIS, [Xiph Vorbis audio codec], vorbis, [
AG_GST_PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0 vorbisenc >= 1.0)
2006-06-11 12:14:18 +00:00
if test $HAVE_VORBIS = no
then
2004-03-14 10:33:44 +00:00
XIPH_PATH_VORBIS(HAVE_VORBIS="yes", HAVE_VORBIS="no")
AS_SCRUB_INCLUDE(VORBIS_CFLAGS)
2006-06-11 12:14:18 +00:00
fi
2001-12-17 18:37:01 +00:00
])
2006-06-11 12:14:18 +00:00
2004-02-01 19:21:01 +00:00
if test "x$HAVE_VORBIS" = "xyes"; then
ac_cflags_save="$CFLAGS"
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM([
#include <vorbis/codec.h>
],[
vorbis_dsp_state *v;
vorbis_synthesis_restart (v);
]), HAVE_VSR=yes, HAVE_VSR=no)
if test "x$HAVE_VSR" = "xyes"; then
AC_DEFINE_UNQUOTED(HAVE_VORBIS_SYNTHESIS_RESTART, 1,
[defined if vorbis_synthesis_restart is present])
fi
CFLAGS="$ac_cflags_save"
fi
2001-12-17 18:37:01 +00:00
2006-06-17 14:13:03 +00:00
else
dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals
AM_CONDITIONAL(USE_ALSA, false)
AM_CONDITIONAL(USE_CDPARANOIA, false)
AM_CONDITIONAL(USE_GNOME_VFS, false)
2008-02-07 23:18:43 +00:00
AM_CONDITIONAL(USE_GIO, false)
2006-06-17 14:13:03 +00:00
AM_CONDITIONAL(USE_LIBVISUAL, false)
AM_CONDITIONAL(USE_OGG, false)
AM_CONDITIONAL(USE_PANGO, false)
AM_CONDITIONAL(USE_THEORA, false)
AM_CONDITIONAL(USE_VORBIS, false)
2002-06-14 16:44:33 +00:00
fi dnl of EXT plugins
2002-08-17 17:57:38 +00:00
dnl seeking needs freetype, so check for it here
2004-03-10 17:21:14 +00:00
PKG_CHECK_MODULES(FT2, freetype2 >= 2.0.9, HAVE_FT2="yes", [
AC_CHECK_FT2(2.0.9, HAVE_FT2="yes", HAVE_FT2="no")
])
2002-08-17 17:57:38 +00:00
dnl make the HAVE_FT2 variable available to automake and Makefile.am
AM_CONDITIONAL(HAVE_FT2, test "x$HAVE_FT2" = "xyes")
AC_SUBST(FT2_CFLAGS)
AC_SUBST(FT2_LIBS)
2005-10-16 13:54:44 +00:00
dnl *** finalize CFLAGS, LDFLAGS, LIBS
dnl Overview:
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
2005-11-27 16:18:50 +00:00
dnl GST_*: flags shared by built objects to link against GStreamer
2007-01-04 12:49:48 +00:00
dnl GST_PLUGINS_BASE_CFLAGS: to link internally against the plugins base libs
dnl (compare to other modules) or for i18n
2005-11-27 16:18:50 +00:00
dnl GST_ALL_LDFLAGS: linker flags shared by all
dnl GST_LIB_LDFLAGS: additional linker flags for all libaries
2005-10-16 13:54:44 +00:00
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)
2008-02-08 00:57:21 +00:00
if test "x$PACKAGE_VERSION_NANO" = "x1"; then
2009-05-12 00:21:57 +00:00
dnl Define _only_ when compiling a git version (not pre-releases or releases)
2007-12-09 04:28:38 +00:00
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
else
DEPRECATED_CFLAGS=""
fi
2005-10-16 13:54:44 +00:00
AC_SUBST(DEPRECATED_CFLAGS)
dnl every flag in GST_OPTION_CFLAGS can be overridden at make time
GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
AC_SUBST(GST_OPTION_CFLAGS)
dnl our libraries need to be versioned correctly
AC_SUBST(GST_LT_LDFLAGS)
2007-01-04 12:49:48 +00:00
dnl GST_PLUGINS_BASE_CFLAGS
2003-01-16 09:54:28 +00:00
dnl prefer internal headers to already installed ones
2004-07-06 15:32:08 +00:00
dnl also add builddir include for enumtypes and marshal
2007-01-04 12:49:48 +00:00
GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
dnl FIXME: do we want to rename to GST_ALL_* ?
2005-11-27 16:18:50 +00:00
dnl add GST_OPTION_CFLAGS, but overridable
2007-01-04 12:49:48 +00:00
GST_CFLAGS="$GST_CFLAGS \$(GST_OPTION_CFLAGS)"
2001-12-21 12:46:50 +00:00
AC_SUBST(GST_CFLAGS)
2006-07-02 21:48:51 +00:00
dnl add GCOV libs because libtool strips -fprofile-arcs -ftest-coverage
GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
2005-10-16 13:54:44 +00:00
AC_SUBST(GST_LIBS)
2001-12-17 18:37:01 +00:00
2005-11-27 16:18:50 +00:00
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
2007-12-13 10:10:35 +00:00
dnl (export _gst_foo but not __gst_foo)
GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
2005-11-27 16:18:50 +00:00
AC_SUBST(GST_LIB_LDFLAGS)
2005-10-16 13:54:44 +00:00
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
2005-11-27 16:18:50 +00:00
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
2005-10-16 13:54:44 +00:00
AC_SUBST(GST_PLUGIN_LDFLAGS)
2003-10-31 20:03:29 +00:00
2009-02-25 14:22:35 +00:00
SHAVE_INIT([common],[enable])
2009-02-22 17:23:52 +00:00
2005-10-16 13:54:44 +00:00
dnl *** output files ***
2001-12-17 18:37:01 +00:00
2002-02-08 20:12:28 +00:00
AC_CONFIG_FILES(
2001-12-17 18:37:01 +00:00
Makefile
2009-02-22 17:23:52 +00:00
common/shave
common/shave-libtool
2005-05-05 15:06:40 +00:00
gst-plugins-base.spec
2001-12-21 11:46:15 +00:00
gst/Makefile
2001-12-23 20:21:19 +00:00
gst/adder/Makefile
2009-01-05 23:04:57 +00:00
gst/app/Makefile
2003-04-14 01:20:30 +00:00
gst/audioconvert/Makefile
2005-05-06 03:32:51 +00:00
gst/audiorate/Makefile
add new plugin and element
Original commit message from CVS:
* configure.ac:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type):
* gst/audiotestsrc/Makefile.am:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audiotestsrc_base_init),
(gst_audiotestsrc_class_init), (gst_audiotestsrc_init),
(gst_audiotestsrc_src_fixate), (gst_audiotestsrc_setcaps),
(gst_audiotestsrc_get_query_types), (gst_audiotestsrc_src_query),
(gst_audiotestsrc_wait), (gst_audiotestsrc_unlock),
(gst_audiotestsrc_create_sine), (gst_audiotestsrc_create_square),
(gst_audiotestsrc_create_saw), (gst_audiotestsrc_create_triangle),
(gst_audiotestsrc_create_silence),
(gst_audiotestsrc_create_white_noise),
(gst_audiotestsrc_change_wave), (gst_audiotestsrc_create),
(gst_audiotestsrc_set_property), (gst_audiotestsrc_get_property),
(gst_audiotestsrc_start), (plugin_init):
* gst/audiotestsrc/gstaudiotestsrc.h:
add new plugin and element
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init):
use gobject_class
2005-10-09 18:34:44 +00:00
gst/audiotestsrc/Makefile
2004-03-15 16:27:29 +00:00
gst/ffmpegcolorspace/Makefile
2006-08-21 19:01:41 +00:00
gst/gdp/Makefile
Added some playback helper elements and some test apps, very alpha still.
Original commit message from CVS:
* configure.ac:
* gst/playback/Makefile.am:
* gst/playback/decodetest.c: (main):
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_change_state),
(gst_decode_bin_get_event_masks), (gst_decode_bin_send_event),
(gst_decode_bin_get_formats), (gst_decode_bin_convert),
(gst_decode_bin_get_query_types), (gst_decode_bin_query),
(plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gen_default_output), (rebuild_pipeline),
(collect_sink_pads), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(setup_source), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_factory_filter),
(compare_ranks), (gst_play_bin_collect_factories),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (gst_play_bin_get_event_masks),
(gst_play_bin_send_event), (gst_play_bin_get_formats),
(gst_play_bin_convert), (gst_play_bin_get_query_types),
(gst_play_bin_query), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
Added some playback helper elements and some test apps, very alpha
still.
2004-07-05 11:14:30 +00:00
gst/playback/Makefile
2009-01-23 11:31:06 +00:00
gst/audioresample/Makefile
2005-05-06 03:32:51 +00:00
gst/subparse/Makefile
Ported tcp plugins to 0.9.
Original commit message from CVS:
* configure.ac:
* gst/tcp/Makefile.am:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_get_type),
(gst_multifdsink_base_init), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_handle_client_write),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c: (gst_tcp_host_to_ip),
(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_init), (gst_tcpclientsink_setcaps),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop), (gst_tcpclientsink_change_state):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get_type),
(gst_tcpclientsrc_base_init), (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps),
(gst_tcpclientsrc_create), (gst_tcpclientsrc_start),
(gst_tcpclientsrc_stop), (gst_tcpclientsrc_unlock):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_get_type),
(gst_tcpserversrc_base_init), (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* gst/tcp/gsttcpsink.c:
* gst/tcp/gsttcpsink.h:
* gst/tcp/gsttcpsrc.c:
* gst/tcp/gsttcpsrc.h:
Ported tcp plugins to 0.9.
2005-07-05 10:21:40 +00:00
gst/tcp/Makefile
2003-10-28 20:52:41 +00:00
gst/typefind/Makefile
2002-07-26 22:20:45 +00:00
gst/videotestsrc/Makefile
2005-06-23 17:10:55 +00:00
gst/videorate/Makefile
2005-07-01 17:13:02 +00:00
gst/videoscale/Makefile
2005-05-09 21:37:17 +00:00
gst/volume/Makefile
2001-12-20 20:16:57 +00:00
sys/Makefile
2003-11-07 00:53:32 +00:00
sys/ximage/Makefile
2003-11-12 03:06:07 +00:00
sys/xvimage/Makefile
2005-07-05 14:54:19 +00:00
sys/v4l/Makefile
2001-12-20 23:13:50 +00:00
ext/Makefile
2001-12-23 00:25:30 +00:00
ext/alsa/Makefile
2001-12-23 13:06:22 +00:00
ext/cdparanoia/Makefile
2001-12-23 16:42:33 +00:00
ext/gnomevfs/Makefile
2008-02-07 23:18:43 +00:00
ext/gio/Makefile
2004-04-30 02:25:09 +00:00
ext/libvisual/Makefile
2003-11-24 04:08:48 +00:00
ext/ogg/Makefile
2005-12-01 15:14:11 +00:00
ext/pango/Makefile
2004-01-30 20:23:24 +00:00
ext/theora/Makefile
ext/vorbis/Makefile
2001-12-21 11:46:15 +00:00
gst-libs/Makefile
2001-12-22 23:57:40 +00:00
gst-libs/gst/Makefile
gst-libs/gst/audio/Makefile
2009-01-05 23:04:57 +00:00
gst-libs/gst/app/Makefile
Add new libgstcdda with GstCddaBaseSrc class.
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/cdda/Makefile.am:
* gst-libs/gst/cdda/base64.c:
* gst-libs/gst/cdda/base64.h:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_mode_get_type), (gst_cdda_base_src_base_init),
(gst_cdda_base_src_class_init), (gst_cdda_base_src_init),
(gst_cdda_base_src_finalize), (gst_cdda_base_src_set_property),
(gst_cdda_base_src_get_property),
(gst_cdda_base_src_get_track_from_sector),
(gst_cdda_base_src_get_query_types), (gst_cdda_base_src_convert),
(gst_cdda_base_src_query), (gst_cdda_base_src_is_seekable),
(gst_cdda_base_src_do_seek), (gst_cdda_base_src_handle_track_seek),
(gst_cdda_base_src_handle_event), (gst_cdda_base_src_uri_get_type),
(gst_cdda_base_src_uri_get_protocols),
(gst_cdda_base_src_uri_get_uri), (gst_cdda_base_src_uri_set_uri),
(gst_cdda_base_src_uri_handler_init),
(gst_cdda_base_src_setup_interfaces),
(gst_cdda_base_src_add_track), (gst_cdda_base_src_update_duration),
(cddb_sum), (gst_cddabasesrc_calculate_musicbrainz_discid),
(lba_to_msf), (gst_cdda_base_src_calculate_cddb_id),
(gst_cdda_base_src_add_tags),
(gst_cdda_base_src_add_index_associations),
(gst_cdda_base_src_set_index), (gst_cdda_base_src_get_index),
(gst_cdda_base_src_track_sort_func), (gst_cdda_base_src_start),
(gst_cdda_base_src_clear_tracks), (gst_cdda_base_src_stop),
(gst_cdda_base_src_create):
* gst-libs/gst/cdda/gstcddabasesrc.h:
* gst-libs/gst/cdda/sha1.c:
* gst-libs/gst/cdda/sha1.h:
Add new libgstcdda with GstCddaBaseSrc class.
2005-12-28 18:06:50 +00:00
gst-libs/gst/cdda/Makefile
Add libgstfft, a FFT library based on Kiss FFT which is
Original commit message from CVS:
Reviewed by: Stefan Kost <ensonic@users.sf.net>
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/fft/Makefile.am:
* gst-libs/gst/fft/_kiss_fft_guts_f32.h:
* gst-libs/gst/fft/_kiss_fft_guts_f64.h:
* gst-libs/gst/fft/_kiss_fft_guts_s16.h:
* gst-libs/gst/fft/_kiss_fft_guts_s32.h:
* gst-libs/gst/fft/gstfft.c: (gst_fft_next_fast_length):
* gst-libs/gst/fft/gstfft.h:
* gst-libs/gst/fft/gstfftf32.c: (gst_fft_f32_new),
(gst_fft_f32_fft), (gst_fft_f32_inverse_fft), (gst_fft_f32_free),
(gst_fft_f32_window), (gst_fft_f32_magnitude), (gst_fft_f32_phase):
* gst-libs/gst/fft/gstfftf32.h:
* gst-libs/gst/fft/gstfftf64.c: (gst_fft_f64_new),
(gst_fft_f64_fft), (gst_fft_f64_inverse_fft), (gst_fft_f64_free),
(gst_fft_f64_window), (gst_fft_f64_magnitude), (gst_fft_f64_phase):
* gst-libs/gst/fft/gstfftf64.h:
* gst-libs/gst/fft/gstffts16.c: (gst_fft_s16_new),
(gst_fft_s16_fft), (gst_fft_s16_inverse_fft), (gst_fft_s16_free),
(gst_fft_s16_window), (gst_fft_s16_magnitude), (gst_fft_s16_phase):
* gst-libs/gst/fft/gstffts16.h:
* gst-libs/gst/fft/gstffts32.c: (gst_fft_s32_new),
(gst_fft_s32_fft), (gst_fft_s32_inverse_fft), (gst_fft_s32_free),
(gst_fft_s32_window), (gst_fft_s32_magnitude), (gst_fft_s32_phase):
* gst-libs/gst/fft/gstffts32.h:
* gst-libs/gst/fft/kiss_fft_f32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f32_alloc), (kiss_fft_f32_stride), (kiss_fft_f32),
(kiss_fft_f32_cleanup), (kiss_fft_f32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f32.h:
* gst-libs/gst/fft/kiss_fft_f64.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f64_alloc), (kiss_fft_f64_stride), (kiss_fft_f64),
(kiss_fft_f64_cleanup), (kiss_fft_f64_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f64.h:
* gst-libs/gst/fft/kiss_fft_s16.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s16_alloc), (kiss_fft_s16_stride), (kiss_fft_s16),
(kiss_fft_s16_cleanup), (kiss_fft_s16_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s16.h:
* gst-libs/gst/fft/kiss_fft_s32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s32_alloc), (kiss_fft_s32_stride), (kiss_fft_s32),
(kiss_fft_s32_cleanup), (kiss_fft_s32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s32.h:
* gst-libs/gst/fft/kiss_fftr_f32.c: (kiss_fftr_f32_alloc),
(kiss_fftr_f32), (kiss_fftri_f32):
* gst-libs/gst/fft/kiss_fftr_f32.h:
* gst-libs/gst/fft/kiss_fftr_f64.c: (kiss_fftr_f64_alloc),
(kiss_fftr_f64), (kiss_fftri_f64):
* gst-libs/gst/fft/kiss_fftr_f64.h:
* gst-libs/gst/fft/kiss_fftr_s16.c: (kiss_fftr_s16_alloc),
(kiss_fftr_s16), (kiss_fftri_s16):
* gst-libs/gst/fft/kiss_fftr_s16.h:
* gst-libs/gst/fft/kiss_fftr_s32.c: (kiss_fftr_s32_alloc),
(kiss_fftr_s32), (kiss_fftri_s32):
* gst-libs/gst/fft/kiss_fftr_s32.h:
* gst-libs/gst/fft/kiss_version:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add libgstfft, a FFT library based on Kiss FFT which is
BSD licensed. Supported sample formats are int16, int32,
float and double. For those formats a real FFT and IFFT
can be done, different windowing functions can be applied
and functions for extracting the magnitude and phase exist.
Fixes #468619.
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Integrate libgstfft into the docs.
* tests/check/Makefile.am:
* tests/check/libs/fft.c: (GST_START_TEST), (fft_suite), (main):
Add unit tests for libgstfft, currently only testing the FFT.
Unit tests for IFFT will follow soon.
2007-09-06 07:00:36 +00:00
gst-libs/gst/fft/Makefile
2002-07-01 15:41:13 +00:00
gst-libs/gst/floatcast/Makefile
2005-06-30 11:58:40 +00:00
gst-libs/gst/interfaces/Makefile
2005-11-29 17:46:37 +00:00
gst-libs/gst/netbuffer/Makefile
2001-12-23 12:18:18 +00:00
gst-libs/gst/riff/Makefile
2005-07-14 10:29:30 +00:00
gst-libs/gst/rtp/Makefile
Move SDP and RTSP from helper objects in -good to a reusable library.
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/rtsp/Makefile.am:
* gst-libs/gst/rtsp/gstrtspbase64.c: (gst_rtsp_base64_encode):
* gst-libs/gst/rtsp/gstrtspbase64.h:
* gst-libs/gst/rtsp/gstrtspconnection.c: (inet_aton),
(gst_rtsp_connection_create), (gst_rtsp_connection_connect),
(add_auth_header), (add_date_header), (gst_rtsp_connection_write),
(gst_rtsp_connection_send), (read_line), (read_string), (read_key),
(parse_response_status), (parse_request_line), (parse_line),
(gst_rtsp_connection_read), (read_body),
(gst_rtsp_connection_receive), (gst_rtsp_connection_close),
(gst_rtsp_connection_free), (gst_rtsp_connection_next_timeout),
(gst_rtsp_connection_reset_timeout), (gst_rtsp_connection_flush),
(gst_rtsp_connection_set_auth):
* gst-libs/gst/rtsp/gstrtspconnection.h:
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status),
(gst_rtsp_strresult), (gst_rtsp_method_as_text),
(gst_rtsp_version_as_text), (gst_rtsp_header_as_text),
(gst_rtsp_status_as_text), (gst_rtsp_find_header_field),
(gst_rtsp_find_method):
* gst-libs/gst/rtsp/gstrtspdefs.h:
* gst-libs/gst/rtsp/gstrtspmessage.c: (key_value_foreach),
(gst_rtsp_message_new), (gst_rtsp_message_init),
(gst_rtsp_message_new_request), (gst_rtsp_message_init_request),
(gst_rtsp_message_new_response), (gst_rtsp_message_init_response),
(gst_rtsp_message_init_data), (gst_rtsp_message_unset),
(gst_rtsp_message_free), (gst_rtsp_message_add_header),
(gst_rtsp_message_remove_header), (gst_rtsp_message_get_header),
(gst_rtsp_message_append_headers), (gst_rtsp_message_set_body),
(gst_rtsp_message_take_body), (gst_rtsp_message_get_body),
(gst_rtsp_message_steal_body), (dump_mem), (dump_key_value),
(gst_rtsp_message_dump):
* gst-libs/gst/rtsp/gstrtspmessage.h:
* gst-libs/gst/rtsp/gstrtsprange.c: (parse_npt_time),
(parse_npt_range), (parse_clock_range), (parse_smpte_range),
(gst_rtsp_range_parse), (gst_rtsp_range_free):
* gst-libs/gst/rtsp/gstrtsprange.h:
* gst-libs/gst/rtsp/gstrtsptransport.c: (gst_rtsp_transport_new),
(gst_rtsp_transport_init), (gst_rtsp_transport_get_mime),
(gst_rtsp_transport_get_manager), (parse_mode), (parse_range),
(range_as_text), (rtsp_transport_mode_as_text),
(rtsp_transport_profile_as_text), (rtsp_transport_ltrans_as_text),
(gst_rtsp_transport_parse), (gst_rtsp_transport_as_text),
(gst_rtsp_transport_free):
* gst-libs/gst/rtsp/gstrtsptransport.h:
* gst-libs/gst/rtsp/gstrtspurl.c: (gst_rtsp_url_parse),
(gst_rtsp_url_free), (gst_rtsp_url_set_port),
(gst_rtsp_url_get_port), (gst_rtsp_url_get_request_uri):
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/sdp/Makefile.am:
* gst-libs/gst/sdp/gstsdp.h:
* gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_origin_init),
(gst_sdp_connection_init), (gst_sdp_bandwidth_init),
(gst_sdp_time_init), (gst_sdp_zone_init), (gst_sdp_key_init),
(gst_sdp_attribute_init), (gst_sdp_message_new),
(gst_sdp_message_init), (gst_sdp_message_uninit),
(gst_sdp_message_free), (gst_sdp_media_new), (gst_sdp_media_init),
(gst_sdp_media_uninit), (gst_sdp_media_free),
(gst_sdp_message_set_origin), (gst_sdp_message_get_origin),
(gst_sdp_message_set_connection), (gst_sdp_message_get_connection),
(gst_sdp_message_add_bandwidth), (gst_sdp_message_add_time),
(gst_sdp_message_add_zone), (gst_sdp_message_set_key),
(gst_sdp_message_get_key), (gst_sdp_message_get_attribute_val_n),
(gst_sdp_message_get_attribute_val),
(gst_sdp_message_add_attribute), (gst_sdp_message_add_media),
(gst_sdp_media_add_attribute), (gst_sdp_media_add_bandwidth),
(gst_sdp_media_add_format), (gst_sdp_media_get_attribute),
(gst_sdp_media_get_attribute_val_n),
(gst_sdp_media_get_attribute_val), (gst_sdp_media_get_format),
(read_string), (read_string_del), (gst_sdp_parse_line),
(gst_sdp_message_parse_buffer), (print_media),
(gst_sdp_message_dump):
* gst-libs/gst/sdp/gstsdpmessage.h:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
Move SDP and RTSP from helper objects in -good to a reusable library.
Use a proper gst_ namespace.
2007-07-24 11:52:56 +00:00
gst-libs/gst/rtsp/Makefile
gst-libs/gst/sdp/Makefile
2003-12-14 19:50:00 +00:00
gst-libs/gst/tag/Makefile
rename utils to pbutils
Original commit message from CVS:
* configure.ac:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/descriptions.c:
(gst_pb_utils_get_source_description),
(gst_pb_utils_get_sink_description),
(gst_pb_utils_get_decoder_description),
(gst_pb_utils_get_encoder_description),
(gst_pb_utils_get_element_description),
(gst_pb_utils_add_codec_description_to_tag_list),
(gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
* gst-libs/gst/pbutils/descriptions.h:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(gst_missing_plugin_message_get_description):
* gst-libs/gst/pbutils/missing-plugins.h:
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/pbutils/pbutils.h:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/install-plugins.h:
* gst-libs/gst/utils/missing-plugins.c:
* gst-libs/gst/utils/missing-plugins.h:
* gst-plugins-base.spec.in:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
* tests/check/Makefile.am:
* tests/check/libs/pbutils.c: (GST_START_TEST),
(test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
* tests/check/libs/utils.c:
rename utils to pbutils
2007-03-04 23:39:51 +00:00
gst-libs/gst/pbutils/Makefile
2002-09-26 12:20:12 +00:00
gst-libs/gst/video/Makefile
2002-02-04 20:57:13 +00:00
tools/Makefile
2003-04-07 21:34:30 +00:00
pkgconfig/Makefile
2008-01-14 13:11:05 +00:00
pkgconfig/gstreamer-audio.pc
pkgconfig/gstreamer-audio-uninstalled.pc
2009-01-06 12:16:18 +00:00
pkgconfig/gstreamer-app.pc
pkgconfig/gstreamer-app-uninstalled.pc
2008-01-14 13:11:05 +00:00
pkgconfig/gstreamer-cdda.pc
pkgconfig/gstreamer-cdda-uninstalled.pc
pkgconfig/gstreamer-fft.pc
pkgconfig/gstreamer-fft-uninstalled.pc
pkgconfig/gstreamer-floatcast.pc
pkgconfig/gstreamer-floatcast-uninstalled.pc
pkgconfig/gstreamer-interfaces.pc
pkgconfig/gstreamer-interfaces-uninstalled.pc
pkgconfig/gstreamer-netbuffer.pc
pkgconfig/gstreamer-netbuffer-uninstalled.pc
pkgconfig/gstreamer-pbutils.pc
pkgconfig/gstreamer-pbutils-uninstalled.pc
pkgconfig/gstreamer-riff.pc
pkgconfig/gstreamer-riff-uninstalled.pc
pkgconfig/gstreamer-rtp.pc
pkgconfig/gstreamer-rtp-uninstalled.pc
pkgconfig/gstreamer-rtsp.pc
pkgconfig/gstreamer-rtsp-uninstalled.pc
pkgconfig/gstreamer-sdp.pc
pkgconfig/gstreamer-sdp-uninstalled.pc
pkgconfig/gstreamer-tag.pc
pkgconfig/gstreamer-tag-uninstalled.pc
pkgconfig/gstreamer-video.pc
pkgconfig/gstreamer-video-uninstalled.pc
2005-06-30 13:25:15 +00:00
pkgconfig/gstreamer-plugins-base.pc
pkgconfig/gstreamer-plugins-base-uninstalled.pc
2005-11-30 17:05:56 +00:00
tests/Makefile
tests/check/Makefile
2005-11-30 17:38:24 +00:00
tests/examples/Makefile
2009-01-05 23:04:57 +00:00
tests/examples/app/Makefile
2007-09-14 16:56:16 +00:00
tests/examples/dynamic/Makefile
2005-11-30 17:38:24 +00:00
tests/examples/seek/Makefile
2005-12-30 14:54:06 +00:00
tests/examples/volume/Makefile
2007-09-20 14:09:24 +00:00
tests/examples/snapshot/Makefile
2009-07-10 09:42:51 +00:00
tests/examples/gio/Makefile
2009-07-13 12:55:59 +00:00
tests/examples/v4l/Makefile
2005-12-01 14:50:24 +00:00
tests/icles/Makefile
2005-06-29 10:56:25 +00:00
docs/Makefile
2007-01-01 18:59:49 +00:00
docs/design/Makefile
2005-06-29 10:56:25 +00:00
docs/libs/Makefile
2005-08-05 17:13:10 +00:00
docs/plugins/Makefile
2005-06-29 10:56:25 +00:00
docs/version.entities
2004-01-19 15:45:55 +00:00
po/Makefile.in
2004-03-18 12:38:53 +00:00
common/Makefile
common/m4/Makefile
m4/Makefile
2001-12-17 18:37:01 +00:00
)
2009-02-26 04:26:05 +00:00
dnl Create the config.h file for Visual Studio builds
dnl Beware of spaces and /'s in some of the shell variable contents.
sed \
2009-03-06 10:30:28 +00:00
-e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
-e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
2009-02-26 04:26:05 +00:00
-e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
-e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
-e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
-e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
-e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
-e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
-e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
-e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
-e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
-e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
-e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
-e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
-e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
-e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
-e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
-e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
-e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
-e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
-e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
-e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
-e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
-e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
-e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
-e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
-e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
-e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
-e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
-e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
-e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
-e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
-e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directaudiosink\"/" \
-e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
-e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
config.h.in >win32/common/config.h-new
2002-02-08 20:12:28 +00:00
AC_OUTPUT
2007-02-28 19:27:28 +00:00
AG_GST_OUTPUT_PLUGINS