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 --- ChangeLog | 17 +++++++++++++++++ gconf/Makefile.am | 2 +- 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 +++--- pkgconfig/Makefile.am | 4 ++-- 7 files changed, 37 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a2d0600..c0a8627d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2004-04-19 David Schleef + + * 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 + 2004-04-19 Thomas Vander Stichele * po/LINGUAS: diff --git a/gconf/Makefile.am b/gconf/Makefile.am index 8fa37fbc..660a66e3 100644 --- a/gconf/Makefile.am +++ b/gconf/Makefile.am @@ -2,7 +2,7 @@ schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = gstreamer-@GST_MAJORMINOR@.schemas gstreamer-@GST_MAJORMINOR@.schemas: gstreamer.schemas - cp $< $@ + cp gstreamer.schemas gstreamer-@GST_MAJORMINOR@.schemas install-data-local: @GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \ 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); diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 893aca0d..49cd45fe 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -26,9 +26,9 @@ pcverfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED) all-local: $(pcverfiles) $(pcverfiles_uninstalled) ### how to generate versioned .pc files from .pc files in this dir -$(pcverfiles): %-@GST_MAJORMINOR@.pc: %.pc +%-@GST_MAJORMINOR@.pc: %.pc cp $< $@ -$(pcverfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc +%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc cp $< $@ pkgconfigdir = $(libdir)/pkgconfig -- cgit v1.2.1