From 6a15b2b0c5e38e31cbd1b6a7f8bf921ca0507385 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 25 Mar 2009 11:03:22 +0200 Subject: [PATCH] docs: add a page about building gstreamer and apps --- docs/gst/Makefile.am | 2 +- docs/gst/building.xml | 100 +++++++++++++++++++++++++++++++++++ docs/gst/gstreamer-docs.sgml | 1 + 3 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 docs/gst/building.xml diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am index d3b89d8702..24270ccc00 100644 --- a/docs/gst/Makefile.am +++ b/docs/gst/Makefile.am @@ -78,7 +78,7 @@ IGNORE_HFILES= \ HTML_IMAGES = # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = running.xml +content_files = building.xml running.xml # Other files to distribute. extra_files = diff --git a/docs/gst/building.xml b/docs/gst/building.xml new file mode 100644 index 0000000000..da1f15f16f --- /dev/null +++ b/docs/gst/building.xml @@ -0,0 +1,100 @@ + + +%version-entities; + +]> + + +Building GStreamer and GStreamer Applications +3 +GStreamer Core + + + +Building GStreamer and GStreamer Applications + +How to build the GStreamer framework and applications using it. + + + + +Building GStreamer on UNIX + + + + On UNIX, GStreamer uses the standard GNU build system, + using autoconf for package + configuration and resolving portability issues, + automake for building makefiles + that comply with the GNU Coding Standards, and + libtool for building shared + libraries on multiple platforms. The normal sequence for + compiling and installing the GStreamer library is thus: + + + ./configure + make + make install + + + + + The standard options provided by GNU + autoconf may be passed to the + configure script. Please see the + autoconf documentation or run + ./configure --help for information about + the standard options. + + + + In addition there are several option to activate or deactivate features. + E.g. passing to configure + will turn the debugging subsystem into non-functional stub and remove all + macro based invokations from within the library (and anything compiled + against the library afterwards) + + + If library size matters and one builds in a controlled environment, its also + possible to totaly remove sybsystem code. This is intetionally not offered + as a configure option as it causes an ABI break. Code build against a + version of GStreamer without these modifications needs to be recompiled. + + + make CFLAGS="-DGST_REMOVE_DEPRECATED -DGST_REMOVE_DISABLED" + + + + + + GST_REMOVE_DEPRECATED - Omit deprecated functions + from the library. + + + + + GST_REMOVE_DISABLED - Omit stubs for disabled + subsytems from the library. + + + + + + + + +Building GStreamer Applications + + +Applications and libraries can use pkg-config to get all the +needed compiler and linker flags building against GStreamer. Please note that +GStreamer is split into several libraries itself. +pkg-config --list-all | grep gstreamer will list the +available libraries. + + + + + diff --git a/docs/gst/gstreamer-docs.sgml b/docs/gst/gstreamer-docs.sgml index b7ae9f7271..76e937857b 100644 --- a/docs/gst/gstreamer-docs.sgml +++ b/docs/gst/gstreamer-docs.sgml @@ -33,6 +33,7 @@ Windows. It is released under the GNU Library General Public License (GNU LGPL). +