From 2b60d602862446df94bf763a8feda3e4de6f2b84 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 9 Jul 2002 17:39:17 +0000 Subject: [PATCH] compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4 Original commit message from CVS: compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4 --- REQUIREMENTS | 59 ++++++++++++---------------------------------- configure.ac | 3 +-- ext/jack/gstjack.c | 2 +- 3 files changed, 17 insertions(+), 47 deletions(-) diff --git a/REQUIREMENTS b/REQUIREMENTS index 0ad20d8b1f..e4d49dc926 100644 --- a/REQUIREMENTS +++ b/REQUIREMENTS @@ -2,20 +2,25 @@ GStreamer uses a *large* array of tools and libraries, most of which are optional. We have attempted to make sure that any code that depends on optional libraries doesn't get built unless you have those libraries. If you find this not to be the case, please, let us know by filing a bug -report at http://sourceforge.net/bugs/?group_id=1936. +report at http://bugzilla.gnome.org/. +Required tools: +=============== + +An extra set of tools is required if you wish to build GStreamer out of +CVS (using autogen.sh): + +autoconf 2.52 or better +automake 1.5 +libtool v1.4 or better +pkgconfig 0.9.0 or better (http://www.freedesktop.org/software/pkgconfig/) + Required libraries: =================== -The core GStreamer libraries are required which depend on the following: - -the latest glib2, currently at v2.0.4 -libxml2 (also called gnome-xml, available from http://xmlsoft.org/) - -These libraries are all central parts of gnome, and are available from the -ftp.gnome.org or its mirrors, amongst other places. - +The core GStreamer libraries. See the gstreamer/ module in GStreamer cvs, or +the version that corresponds to this plugin release. Optional libraries: =================== @@ -24,9 +29,6 @@ This file lists supporting libraries for which gst-plugins contains plugins, as well as their minimum version. You can find the corresponding plugins in ext/(library) -gdk_pixbuf -libgnomeui (for gstplay, gsteditor, autoplug example, several tests) -libglade (for gstplay, gsteditor) libHermes (for colorspace conversions; you need this for any video work) http://www.clanlib.org/hermes/ libghttp (for httpsrc) @@ -86,40 +88,9 @@ avifile (for the avi windows decoder plugins) flac (for the FLAC lossless audio format) http://flac.sourceforge.net - - -Required tools: -=============== - -An extra set of tools is required if you wish to build GStreamer out of -CVS (using autogen.sh): - -autoconf 2.52 -automake 1.5 -libtool v1.4 or better -pkgconfig 0.8.0 (http://www.freedesktop.org/software/pkgconfig/) - - -Optional tools: -=============== - -gtkdoc -db2html -fig2dev -xsltproc - + >= 1.0.3 Optional debian packages: ========================= -(This is an incomplete list, made only of problems which have been reported, -rather than by an audit.) -task-helix-gnome-dev OR libgnome-dev - gtk-doc-tools 0.4-0.2 -- needed to build documentation - -Alternatively, the docbook-gnome-bin package, which is available by adding the -following lines to apt's sources.list (/etc/apt/sources.list): - -deb ftp://ftp.home-of-linux.org/pub/debian gnome/ -deb-src ftp://ftp.home-of-linux.org/pub/debian gnome/ diff --git a/configure.ac b/configure.ac index 106153ba29..1020bbc491 100644 --- a/configure.ac +++ b/configure.ac @@ -28,8 +28,6 @@ dnl Add parameters for aclocal dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL) ACLOCAL="$ACLOCAL -I m4 -I common/m4 $ACLOCAL_FLAGS" -AM_MAINTAINER_MODE - AC_PROG_CC AM_PROG_CC_STDC AM_PROG_AS @@ -453,6 +451,7 @@ dnl HAVE_FESTIVAL=yes dnl]) dnl *** FLAC *** +dnl FLAC 1.0.3 is needed translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true) GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flacenc flacdec, [ GST_CHECK_LIBHEADER(FLAC, FLAC, FLAC__stream_decoder_new, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC") diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index c86f8566f3..3a9aef796c 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -451,7 +451,7 @@ gst_jack_loop (GstElement *element) * also, for sample accuracy etc, we should play avail * bytes, but hey. */ gst_element_set_eos (element); - gst_event_free (event); + gst_event_unref (event); gst_element_yield (element); /* shouldn't return */ return; }