From 6ddd15c7447e6d5d2178d648f579393a2a595b99 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 19 Apr 2004 22:51:57 +0000 Subject: gconf/Makefile.am: Fix for non-GNU make Original commit message from CVS: * gconf/Makefile.am: Fix for non-GNU make * gst-libs/gst/Makefile.am: Change directory order to handle GstPlay linking with gstinterfaces * gst-libs/gst/audio/make_filter: make use of tr portable * gst-libs/gst/play/Makefile.am: Add intended \ * gst-libs/gst/xwindowlistener/xwindowlistener.c: (gst_xwin_set_clips): Switch to ISO variadic macro. Use a function prototype instead of void *. * gst/ffmpegcolorspace/gstffmpegcodecmap.c: Switch to ISO variadic macro. * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcolorspace_chain): wrap NULL in GST_ELEMENT_ERROR call * gst/videofilter/make_filter: make use of tr portable * pkgconfig/Makefile.am: Remove GNU extension in Makefile target --- gst-libs/gst/Makefile.am | 5 +++-- gst-libs/gst/audio/make_filter | 12 ++++++++++-- gst-libs/gst/play/Makefile.am | 2 +- gst-libs/gst/xwindowlistener/xwindowlistener.c | 6 +++--- 4 files changed, 17 insertions(+), 8 deletions(-) (limited to 'gst-libs/gst') diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am index e62f4b19..ac8f5952 100644 --- a/gst-libs/gst/Makefile.am +++ b/gst-libs/gst/Makefile.am @@ -19,7 +19,6 @@ SUBDIRS = \ media-info \ mixer \ navigation \ - play \ propertyprobe \ resample \ riff \ @@ -27,7 +26,9 @@ SUBDIRS = \ tuner \ video \ xoverlay \ - $(X_DIR) + $(X_DIR) \ + . \ + play DIST_SUBDIRS = \ audio \ diff --git a/gst-libs/gst/audio/make_filter b/gst-libs/gst/audio/make_filter index 58b95434..eaeaa060 100755 --- a/gst-libs/gst/audio/make_filter +++ b/gst-libs/gst/audio/make_filter @@ -1,5 +1,10 @@ #!/bin/sh +LANG=C +LC_COLLATE=C +export LANG +export LC_COLLATE + Template=$1; srcfile=$2; @@ -18,8 +23,11 @@ id=`echo '$Id$' | sed \ -e 's/\$I[d]: \([^$]*\)\$/\1/g'` echo $id -TEMPLATE=`echo $Template | tr a-z A-Z` -template=`echo $Template | tr A-Z a-z` +TEMPLATE=`echo $Template | tr [:lower:] [:upper:]` +template=`echo $Template | tr [:upper:] [:lower:]` + +echo TEMPLATE $TEMPLATE +echo template $template # remember to break up the Id: in the line below sed \ diff --git a/gst-libs/gst/play/Makefile.am b/gst-libs/gst/play/Makefile.am index 44743b09..ad2ca458 100644 --- a/gst-libs/gst/play/Makefile.am +++ b/gst-libs/gst/play/Makefile.am @@ -19,7 +19,7 @@ libgstplay_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@ libgstplay_@GST_MAJORMINOR@include_HEADERS = $(play_headers) $(built_headers) libgstplay_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_CFLAGS) -libgstplay_@GST_MAJORMINOR@_la_LIBADD = +libgstplay_@GST_MAJORMINOR@_la_LIBADD = \ $(GST_LIBS) $(GST_PLUGINS_LIBS) \ $(GST_CONTROL_LIBS) \ $(top_builddir)/gst-libs/gst/libgstinterfaces-$(GST_MAJORMINOR).la diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c index 63cfdd2d..9963535c 100644 --- a/gst-libs/gst/xwindowlistener/xwindowlistener.c +++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c @@ -153,8 +153,8 @@ gst_x_window_listener_set_xid (GstXWindowListener * xwin, XID id) * , it was relicensed to LGPL. */ -#define DEBUG(format, args...) \ - GST_DEBUG ("XWL: " format, ##args) +#define DEBUG(...) \ + GST_DEBUG ("XWL: " __VA_ARGS__) static void gst_xwin_set_overlay (GstXWindowListener * xwin, gboolean on) @@ -232,7 +232,7 @@ gst_xwin_set_clips (GstXWindowListener * xwin) guint numkids; gint i; gint x1, y1, w1, h1; - void *old_handler; + XErrorHandler old_handler; old_handler = XSetErrorHandler (x11_error_dev_null); -- cgit v1.2.1