summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-04-04 21:06:28 +0300
committerFelipe Contreras <felipe.contreras@gmail.com>2009-04-04 21:13:35 +0300
commitb3941ea131db2d85d339a6bcf500a58bd63df0d5 (patch)
tree345aa7d29bdfb6104787599e8c1c004a261a5955
parentd0ea89e0ec3d8742c3247098ab550578c3fe2b9c (diff)
Whitespace cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-rw-r--r--c-to-xml.py2
-rwxr-xr-xcheck-exports2
-rw-r--r--coverage/coverage-report-entry.pl1
-rw-r--r--coverage/coverage-report.pl4
-rwxr-xr-xdownload-translations2
-rw-r--r--gen-changelog.py2
-rw-r--r--gst-autogen.sh8
-rw-r--r--gst-xmlinspect.py10
-rw-r--r--gst.supp16
-rwxr-xr-xgstdoc-scangobj4
-rw-r--r--gtk-doc-plugins.mak4
-rw-r--r--gtk-doc.mak4
-rwxr-xr-xhooks/pre-commit.hook2
-rw-r--r--m4/README4
-rw-r--r--m4/as-compiler.m44
-rw-r--r--m4/as-scrub-include.m42
-rw-r--r--m4/as-version.m42
-rw-r--r--m4/check.m412
-rw-r--r--m4/glib-gettext.m428
-rw-r--r--m4/gst-arch.m46
-rw-r--r--m4/gst-args.m412
-rw-r--r--m4/gst-check.m46
-rw-r--r--m4/gst-default.m420
-rw-r--r--m4/gst-doc.m414
-rw-r--r--m4/gst-error.m414
-rw-r--r--m4/gst-libxml2.m46
-rw-r--r--m4/gst-parser.m48
-rw-r--r--m4/gst-plugin-docs.m42
-rw-r--r--m4/gst-valgrind.m42
-rw-r--r--m4/gst-x11.m42
-rw-r--r--m4/pkg.m46
-rw-r--r--mangle-tmpl.py2
-rw-r--r--plugins.xsl26
-rwxr-xr-xscangobj-merge.py2
34 files changed, 120 insertions, 121 deletions
diff --git a/c-to-xml.py b/c-to-xml.py
index 8448fd2..397c112 100644
--- a/c-to-xml.py
+++ b/c-to-xml.py
@@ -30,5 +30,5 @@ def main():
# print content
print saxutils.escape(content).encode('UTF-8')
print '</programlisting>'
-
+
main()
diff --git a/check-exports b/check-exports
index 16df41f..cd829b0 100755
--- a/check-exports
+++ b/check-exports
@@ -32,7 +32,7 @@ fi
# really be exported, either because we're too lazy to rename them to something
# that's not exported (like the _gst_parse_* stuff) or because we had them in
# public headers at some point although they shouldn't be and so we need to
-# keep them exported now (like _gst_debug_init,
+# keep them exported now (like _gst_debug_init,
# __gst_element_factory_add_interface or
# __gst_element_factory_add_static_pad_template). We suppress them here to
# make sure they're at least not exported in the windows msvc build (they
diff --git a/coverage/coverage-report-entry.pl b/coverage/coverage-report-entry.pl
index 8f653af..51c506c 100644
--- a/coverage/coverage-report-entry.pl
+++ b/coverage/coverage-report-entry.pl
@@ -58,7 +58,6 @@ while (<>) {
my $class = $1 > 0 ? "perfect" : "terrible";
$_ = "<span class=\"$class\">$_</span>";
}
-
print;
}
diff --git a/coverage/coverage-report.pl b/coverage/coverage-report.pl
index 046bc37..ed30f8d 100644
--- a/coverage/coverage-report.pl
+++ b/coverage/coverage-report.pl
@@ -38,7 +38,7 @@ while (<>) {
$type = "file";
$name = $1;
$coverage{$type}->{$name} = {};
-
+
foreach my $func (@functions) {
$coverage{"function"}->{$func}->{file} = $name;
}
@@ -112,7 +112,7 @@ foreach my $type ("function", "file") {
}
print " </entry>\n";
}
-
+
printf " <summary>\n";
printf " <lines count=\"%s\" coverage=\"%s\"/>\n", $summary{$type}->{lines}, $summary{$type}->{linesCoverage};
printf " <branches count=\"%s\" coverage=\"%s\"/>\n", $summary{$type}->{branches}, $summary{$type}->{branchesCoverage};
diff --git a/download-translations b/download-translations
index 0c48997..bb71c31 100755
--- a/download-translations
+++ b/download-translations
@@ -66,7 +66,7 @@ do
if wget -q -nc -O $PO_FILENAME $PO_URL; then
if [ -f "po/$d.po" ]; then
# ./po/foo.po exists, so let's check if ours matches the latest from the
- # translation project website
+ # translation project website
if diff $PO_FILENAME "po/$d.po" >/dev/null; then
echo "$d.po: up-to-date"
rm -f $PO_FILENAME
diff --git a/gen-changelog.py b/gen-changelog.py
index b607ca2..c79e7d3 100644
--- a/gen-changelog.py
+++ b/gen-changelog.py
@@ -81,7 +81,7 @@ def get_rel_tags():
for lin in p.stdout.readlines():
match = reltagre.search (lin)
if match:
- (sha, maj, min, nano) = match.groups()
+ (sha, maj, min, nano) = match.groups()
release_refs[sha] = (maj, min, nano)
def find_start_tag():
diff --git a/gst-autogen.sh b/gst-autogen.sh
index 9b0ddf2..23c3df2 100644
--- a/gst-autogen.sh
+++ b/gst-autogen.sh
@@ -44,8 +44,8 @@ version_check ()
if test ! -z "$MICRO"; then VERSION=$VERSION.$MICRO; else MICRO=0; fi
debug "major $MAJOR minor $MINOR micro $MICRO"
-
- for SUGGESTION in $PKG_PATH; do
+
+ for SUGGESTION in $PKG_PATH; do
COMMAND="$SUGGESTION"
# don't check if asked not to
@@ -61,7 +61,7 @@ version_check ()
}
debug "checking version with $COMMAND"
- ($COMMAND --version) < /dev/null > /dev/null 2>&1 ||
+ ($COMMAND --version) < /dev/null > /dev/null 2>&1 ||
{
echo "not found."
continue
@@ -307,7 +307,7 @@ install_git_hooks ()
if cp common/hooks/pre-commit.hook .git/hooks/pre-commit; then
chmod +x .git/hooks/pre-commit;
else
- echo "********** Couldn't install git $hook hook **********";
+ echo "********** Couldn't install git $hook hook **********";
fi
}
fi
diff --git a/gst-xmlinspect.py b/gst-xmlinspect.py
index 0d7f696..2068420 100644
--- a/gst-xmlinspect.py
+++ b/gst-xmlinspect.py
@@ -65,7 +65,7 @@ def output_pad_template(pt, indent=0):
print "PAD TEMPLATE", pt.name_template
paddir = ("unknown","source","sink")
padpres = ("always","sometimes","request")
-
+
d = {
'name': xmlencode(pt.name_template),
'direction': xmlencode(paddir[pt.direction]),
@@ -76,7 +76,7 @@ def output_pad_template(pt, indent=0):
offset = get_offset(indent)
return offset + ("\n" + offset).join(block.split("\n"))
-
+
def output_element_factory(elf, indent=0):
print "ELEMENT", elf.get_name()
@@ -101,7 +101,7 @@ def output_element_factory(elf, indent=0):
def output_plugin(plugin, indent=0):
print "PLUGIN", plugin.get_name()
version = plugin.get_version()
-
+
elements = {}
gst.debug('getting features for plugin %s' % plugin.get_name())
registry = gst.registry_get_default()
@@ -111,7 +111,7 @@ def output_plugin(plugin, indent=0):
if isinstance(feature, gst.ElementFactory):
elements[feature.get_name()] = feature
#gst.debug("got features")
-
+
elementsoutput = []
keys = elements.keys()
keys.sort()
@@ -136,7 +136,7 @@ def output_plugin(plugin, indent=0):
'elements': "\n".join(elementsoutput),
}
block = PLUGIN_TEMPLATE % d
-
+
offset = get_offset(indent)
return offset + ("\n" + offset).join(block.split("\n"))
diff --git a/gst.supp b/gst.supp
index e7620d2..ff0a7cb 100644
--- a/gst.supp
+++ b/gst.supp
@@ -663,7 +663,7 @@
# suppression for a glibc bug:
# http://valgrind.org/docs/manual/faq.html#faq.exit_errors>
{
- <Workaround for a glibc bug>
+ <Workaround for a glibc bug>
Memcheck:Free
fun:free
obj:*libc-*.so
@@ -1038,7 +1038,7 @@
}
# More edgy suppressions (Mike)
-{
+{
<dlopen Condition jump suppressions for Ubuntu Edgy/x86>
Memcheck:Cond
obj:/lib/ld-2.4.so
@@ -1051,7 +1051,7 @@
fun:dlopen@@GLIBC_2.1
}
-{
+{
<dlopen Condition jump suppressions for Ubuntu Edgy/x86>
Memcheck:Cond
obj:/lib/ld-2.4.so
@@ -1066,7 +1066,7 @@
fun:dlopen@@GLIBC_2.1
}
-{
+{
<dlopen Condition jump suppressions for Ubuntu Edgy/x86>
Memcheck:Cond
obj:/lib/ld-2.4.so
@@ -1078,7 +1078,7 @@
# This one's overly general, but there's zero other information in the stack
# trace - just these five lines!
-{
+{
<dlopen Condition jump suppressions for Ubuntu Edgy/x86>
Memcheck:Cond
obj:/lib/ld-2.4.so
@@ -1716,7 +1716,7 @@
obj:/usr/lib/libgconf-2.so.*
obj:/usr/lib/libgconf-2.so.*
fun:gconf_engine_get_default
-}
+}
{
<gconf internal initialisation>
Memcheck:Leak
@@ -1856,7 +1856,7 @@
fun:bonobo_activation_init
}
-# More GConf stuff from the FC5 buildbot, mostly variations on the
+# More GConf stuff from the FC5 buildbot, mostly variations on the
# above stack traces
{
<incompletely initialised ORBit buffer>
@@ -2843,7 +2843,7 @@
}
## Leak of property_list in gstffmpegcfg.c
-## This list is created in gst_ffmpegcsp_init(), called from
+## This list is created in gst_ffmpegcsp_init(), called from
## gst_ffmpegenc_register.
{
<insert a suppression name here>
diff --git a/gstdoc-scangobj b/gstdoc-scangobj
index cb7b731..0fc2b28 100755
--- a/gstdoc-scangobj
+++ b/gstdoc-scangobj
@@ -51,7 +51,7 @@ my $TYPE_INIT_FUNC="g_type_init ()";
'output-dir' => \$OUTPUT_DIR,
'version' => \$PRINT_VERSION,
'help' => \$PRINT_HELP);
-
+
GetOptions(\%optctl, "module=s", "source=s", "types:s", "output-dir:s", "nogtkinit", "type-init-func:s", "version", "help");
if ($NO_GTK_INIT) {
@@ -877,7 +877,7 @@ output_object_hierarchy (void)
}
output_hierarchy (fp, G_TYPE_OBJECT, 0);
output_hierarchy (fp, G_TYPE_INTERFACE, 0);
-
+
for (i=0; object_types[i]; i++) {
if (!g_type_parent (object_types[i]) &&
(object_types[i] != G_TYPE_NONE) &&
diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak
index 52e25ea..51067d6 100644
--- a/gtk-doc-plugins.mak
+++ b/gtk-doc-plugins.mak
@@ -249,7 +249,7 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
rm -f html/version.entities
test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
- @echo '-- Fixing Crossreferences'
+ @echo '-- Fixing Crossreferences'
gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
touch html-build.stamp
@@ -301,7 +301,7 @@ install-data-local:
fi; \
(which gtkdoc-rebase >/dev/null && \
gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
- fi)
+ fi)
uninstall-local:
if test -d $(DESTDIR)$(TARGET_DIR); then \
rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
diff --git a/gtk-doc.mak b/gtk-doc.mak
index 0de9c1b..95757f1 100644
--- a/gtk-doc.mak
+++ b/gtk-doc.mak
@@ -141,7 +141,7 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
rm -f html/version.entities
test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
- @echo '-- Fixing Crossreferences'
+ @echo '-- Fixing Crossreferences'
gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
touch html-build.stamp
@@ -204,7 +204,7 @@ install-data-local:
fi; \
(which gtkdoc-rebase >/dev/null && \
gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
- fi)
+ fi)
uninstall-local:
if test -d $(DESTDIR)$(TARGET_DIR); then \
rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook
index 9b66554..2c6c039 100755
--- a/hooks/pre-commit.hook
+++ b/hooks/pre-commit.hook
@@ -43,7 +43,7 @@ INDENT_PARAMETERS="--braces-on-if-line \
--honour-newlines \
--tab-size8 \
--indent-level2"
-
+
echo "--Checking style--"
for file in `git-diff-index --cached --name-only HEAD --diff-filter=ACMR| grep "\.c$"` ; do
# nf is the temporary checkout. This makes sure we check against the
diff --git a/m4/README b/m4/README
index f044598..867a344 100644
--- a/m4/README
+++ b/m4/README
@@ -1,3 +1,3 @@
-All aclocal .m4 files we need are put here and cat'd to acinclude.m4 in
-the source root. Official ones (taken from the relevant devel packages)
+All aclocal .m4 files we need are put here and cat'd to acinclude.m4 in
+the source root. Official ones (taken from the relevant devel packages)
are named as-is, unofficial ones (or changed ones) get a gst-prefix.
diff --git a/m4/as-compiler.m4 b/m4/as-compiler.m4
index acbfeb1..309a060 100644
--- a/m4/as-compiler.m4
+++ b/m4/as-compiler.m4
@@ -1,11 +1,11 @@
dnl as-compiler.m4 0.1.0
-
+
dnl autostars m4 macro for detection of compiler flavor
dnl Thomas Vander Stichele <thomas at apestaart dot org>
dnl $Id: as-compiler.m4,v 1.4 2004/06/01 09:44:19 thomasvs Exp $
-
+
dnl AS_COMPILER(COMPILER)
dnl will set variable COMPILER to
dnl - gcc
diff --git a/m4/as-scrub-include.m4 b/m4/as-scrub-include.m4
index e03f863..3ed49b0 100644
--- a/m4/as-scrub-include.m4
+++ b/m4/as-scrub-include.m4
@@ -7,7 +7,7 @@ dnl Thomas Vander Stichele <thomas at apestaart dot org>
dnl $Id: as-scrub-include.m4,v 1.7 2004/06/12 08:30:20 thomasvs Exp $
-dnl This macro uses output of cpp -v and expects it to contain text that
+dnl This macro uses output of cpp -v and expects it to contain text that
dnl looks a little bit like this:
dnl #include <...> search starts here:
dnl /usr/local/include
diff --git a/m4/as-version.m4 b/m4/as-version.m4
index fa60a38..4856498 100644
--- a/m4/as-version.m4
+++ b/m4/as-version.m4
@@ -45,7 +45,7 @@ dnl - sets the variable PACKAGE_VERSION_NANO
dnl - sets the variable PACKAGE_VERSION_RELEASE, which can be used
dnl for rpm release fields
dnl - executes ACTION-IF-NO-NANO or ACTION-IF-NANO
-
+
dnl example:
dnl AS_NANO(RELEASE="yes", RELEASE="no")
diff --git a/m4/check.m4 b/m4/check.m4
index 19784ae..afd26eb 100644
--- a/m4/check.m4
+++ b/m4/check.m4
@@ -11,7 +11,7 @@ AC_DEFUN([_AM_TRY_CHECK],
extra_cflags=$2
extra_libs=$3
check_lib_name=$4
-
+
CHECK_CFLAGS="$extra_cflags"
CHECK_LIBS="$extra_libs -l$check_lib_name"
@@ -46,7 +46,7 @@ int main ()
printf("%s, bad version string\n", "$min_check_version");
return 1;
}
-
+
if ((CHECK_MAJOR_VERSION != check_major_version) ||
(CHECK_MINOR_VERSION != check_minor_version) ||
(CHECK_MICRO_VERSION != check_micro_version))
@@ -69,7 +69,7 @@ int main ()
printf("\n*** An old version of check (%d.%d.%d) was found.\n",
check_major_version, check_minor_version, check_micro_version);
printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
- printf("***\n");
+ printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the check library and header\n");
printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
@@ -109,7 +109,7 @@ int main ()
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for"
echo "*** the exact error that occured." ])
-
+
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
@@ -131,11 +131,11 @@ AC_DEFUN([AM_PATH_CHECK],
[
AC_ARG_WITH(check,
[ --with-check=PATH prefix where check is installed [default=auto]])
-
+
AC_ARG_WITH(checklibname,
AC_HELP_STRING([--with-check-lib-name=NAME],
[name of the PIC check library (default=check)]))
-
+
min_check_version=ifelse([$1], ,0.8.2,$1)
if test x$with_check = xno; then
diff --git a/m4/glib-gettext.m4 b/m4/glib-gettext.m4
index 68b08b3..f8d442f 100644
--- a/m4/glib-gettext.m4
+++ b/m4/glib-gettext.m4
@@ -14,13 +14,13 @@
# Macro to add for using GNU gettext.
# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
#
-# Modified to never use included libintl.
+# Modified to never use included libintl.
# Owen Taylor <otaylor@redhat.com>, 12/15/1998
#
# Major rework to remove unused code
# Owen Taylor <otaylor@redhat.com>, 12/11/2002
#
-# Added better handling of ALL_LINGUAS from GNU gettext version
+# Added better handling of ALL_LINGUAS from GNU gettext version
# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
#
# Modified to require ngettext
@@ -32,7 +32,7 @@
AC_PREREQ(2.53)
dnl
-dnl We go to great lengths to make sure that aclocal won't
+dnl We go to great lengths to make sure that aclocal won't
dnl try to pull in the installed version of these macros
dnl when running aclocal in the glib directory.
dnl
@@ -125,7 +125,7 @@ glib_DEFUN([GLIB_WITH_NLS],
gt_cv_func_ngettext_libc=yes,
gt_cv_func_ngettext_libc=no)
])
-
+
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
[AC_TRY_LINK([
@@ -136,7 +136,7 @@ glib_DEFUN([GLIB_WITH_NLS],
gt_cv_func_dgettext_libc=no)
])
fi
-
+
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
AC_CHECK_FUNCS(bind_textdomain_codeset)
fi
@@ -147,7 +147,7 @@ glib_DEFUN([GLIB_WITH_NLS],
if test "$gt_cv_func_dgettext_libc" != "yes" \
|| test "$gt_cv_func_ngettext_libc" != "yes" \
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
-
+
AC_CHECK_LIB(intl, bindtextdomain,
[AC_CHECK_LIB(intl, ngettext,
[AC_CHECK_LIB(intl, dgettext,
@@ -191,11 +191,11 @@ glib_DEFUN([GLIB_WITH_NLS],
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
gt_cv_have_gettext=yes
fi
-
+
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
INTLLIBS="-lintl $libintl_extra_libs"
fi
-
+
if test "$gt_cv_have_gettext" = "yes"; then
AC_DEFINE(HAVE_GETTEXT,1,
[Define if the GNU gettext() function is already present or preinstalled.])
@@ -224,7 +224,7 @@ msgstr ""
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
return _nl_msg_cat_cntr],
- [CATOBJEXT=.gmo
+ [CATOBJEXT=.gmo
DATADIRNAME=share],
[case $host in
*-*-solaris*)
@@ -234,7 +234,7 @@ msgstr ""
dnl Hence, we'd like to go with DATADIRNAME=share and
dnl and CATOBJEXT=.gmo in this case.
AC_CHECK_FUNC(bind_textdomain_codeset,
- [CATOBJEXT=.gmo
+ [CATOBJEXT=.gmo
DATADIRNAME=share],
[CATOBJEXT=.mo
DATADIRNAME=lib])
@@ -301,18 +301,18 @@ msgstr ""
# AM_GLIB_GNU_GETTEXT
# -------------------
-# Do checks necessary for use of gettext. If a suitable implementation
+# Do checks necessary for use of gettext. If a suitable implementation
# of gettext is found in either in libintl or in the C library,
# it will set INTLLIBS to the libraries needed for use of gettext
# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
-# on various variables needed by the Makefile.in.in installed by
+# on various variables needed by the Makefile.in.in installed by
# glib-gettextize.
dnl
glib_DEFUN([GLIB_GNU_GETTEXT],
[AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
-
+
GLIB_LC_MESSAGES
GLIB_WITH_NLS
@@ -415,7 +415,7 @@ AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
])dnl
# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
-#
+#
# Create a temporary file with TEST-FILE as its contents and pass the
# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
# 0 and perform ACTION-IF-FAIL for any other exit status.
diff --git a/m4/gst-arch.m4 b/m4/gst-arch.m4
index 6eadaf5..f40db1d 100644
--- a/m4/gst-arch.m4
+++ b/m4/gst-arch.m4
@@ -12,7 +12,7 @@ AC_DEFUN([AG_GST_ARCH],
xi?86 | xk? | xi?86_64)
HAVE_CPU_I386=yes
AC_DEFINE(HAVE_CPU_I386, 1, [Define if the host CPU is an x86])
-
+
dnl FIXME could use some better detection
dnl (ie CPUID)
case "x${host_cpu}" in
@@ -60,10 +60,10 @@ AC_DEFUN([AG_GST_ARCH],
HAVE_CPU_CRISV32=yes
AC_DEFINE(HAVE_CPU_CRISV32, 1, [Define if the host CPU is a CRISv32]) ;;
esac
-
+
dnl Determine endianness
AC_C_BIGENDIAN
-
+
AM_CONDITIONAL(HAVE_CPU_I386, test "x$HAVE_CPU_I386" = "xyes")
AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes")
AM_CONDITIONAL(HAVE_CPU_PPC64, test "x$HAVE_CPU_PPC64" = "xyes")
diff --git a/m4/gst-args.m4 b/m4/gst-args.m4
index 56af66a..004363c 100644
--- a/m4/gst-args.m4
+++ b/m4/gst-args.m4
@@ -45,7 +45,7 @@ AC_DEFUN([AG_GST_ARG_PROFILING],
no) USE_PROFILING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-profiling) ;;
esac
- ],
+ ],
[USE_PROFILING=no]) dnl Default value
])
@@ -145,7 +145,7 @@ AC_DEFUN([AG_GST_ARG_EXAMPLES],
AC_DEFUN([AG_GST_ARG_WITH_PKG_CONFIG_PATH],
[
dnl possibly modify pkg-config path
- AC_ARG_WITH(pkg-config-path,
+ AC_ARG_WITH(pkg-config-path,
AC_HELP_STRING([--with-pkg-config-path],
[colon-separated list of pkg-config(1) dirs]),
[
@@ -168,14 +168,14 @@ AC_DEFUN([AG_GST_ARG_WITH_PACKAGE_NAME],
no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
*) GST_PACKAGE_NAME="${withval}" ;;
esac
- ],
+ ],
[
P=$1
if test "x$P" = "x"
then
P=$PACKAGE_NAME
fi
-
+
dnl default value
if test "x$GST_CVS" = "xyes"
then
@@ -204,7 +204,7 @@ AC_DEFUN([AG_GST_ARG_WITH_PACKAGE_ORIGIN],
no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
*) GST_PACKAGE_ORIGIN="${withval}" ;;
esac
- ],
+ ],
[GST_PACKAGE_ORIGIN="[Unknown package origin]"] dnl Default value
)
AC_MSG_NOTICE(Using $GST_PACKAGE_ORIGIN as package origin)
@@ -268,7 +268,7 @@ AC_DEFUN([AG_GST_CHECK_PLUGIN],
fi
if echo " [$WITHOUT_PLUGINS] " | tr , ' ' | grep -i " [$1] " > /dev/null; then
GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ [$1] / /'`
- fi
+ fi
AM_CONDITIONAL([USE_PLUGIN_]translit([$1], a-z, A-Z), echo " $GST_PLUGINS_SELECTED " | grep -i " [$1] " > /dev/null)
])
diff --git a/m4/gst-check.m4 b/m4/gst-check.m4
index 3f6b8ff..a52a184 100644
--- a/m4/gst-check.m4
+++ b/m4/gst-check.m4
@@ -99,18 +99,18 @@ AC_DEFUN([AG_GST_CHECK_GST_BASE],
AG_GST_CHECK_MODULES(GST_BASE, gstreamer-base-[$1], [$2],
[GStreamer Base Libraries], [$3])
])
-
+
AC_DEFUN([AG_GST_CHECK_GST_GDP],
[
AG_GST_CHECK_MODULES(GST_GDP, gstreamer-dataprotocol-[$1], [$2],
[GStreamer Data Protocol Library], [$3])
])
-
+
AC_DEFUN([AG_GST_CHECK_GST_CONTROLLER],
[
AG_GST_CHECK_MODULES(GST_CONTROLLER, gstreamer-controller-[$1], [$2],
[GStreamer Controller Library], [$3])
-])
+])
AC_DEFUN([AG_GST_CHECK_GST_CHECK],
[
diff --git a/m4/gst-default.m4 b/m4/gst-default.m4
index d8b53ed..8de9756 100644
--- a/m4/gst-default.m4
+++ b/m4/gst-default.m4
@@ -32,12 +32,12 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
no) AC_MSG_ERROR(bad value ${withval} for --with-default-audiosink) ;;
*) DEFAULT_AUDIOSINK="${withval}" ;;
esac
- ],
+ ],
[
DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
] dnl Default value as determined above
)
- AC_MSG_NOTICE(Using $DEFAULT_AUDIOSINK as default audio sink)
+ AC_MSG_NOTICE(Using $DEFAULT_AUDIOSINK as default audio sink)
AC_SUBST(DEFAULT_AUDIOSINK)
AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSINK, "$DEFAULT_AUDIOSINK",
[Default audio sink])
@@ -51,12 +51,12 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
no) AC_MSG_ERROR(bad value ${withval} for --with-default-audiosrc) ;;
*) DEFAULT_AUDIOSRC="${withval}" ;;
esac
- ],
+ ],
[
DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
] dnl Default value as determined above
)
- AC_MSG_NOTICE(Using $DEFAULT_AUDIOSRC as default audio source)
+ AC_MSG_NOTICE(Using $DEFAULT_AUDIOSRC as default audio source)
AC_SUBST(DEFAULT_AUDIOSRC)
AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSRC, "$DEFAULT_AUDIOSRC",
[Default audio source])
@@ -70,12 +70,12 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
no) AC_MSG_ERROR(bad value ${withval} for --with-default-videosink) ;;
*) DEFAULT_VIDEOSINK="${withval}" ;;
esac
- ],
+ ],
[
DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
] dnl Default value as determined above
)
- AC_MSG_NOTICE(Using $DEFAULT_VIDEOSINK as default video sink)
+ AC_MSG_NOTICE(Using $DEFAULT_VIDEOSINK as default video sink)
AC_SUBST(DEFAULT_VIDEOSINK)
AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSINK, "$DEFAULT_VIDEOSINK",
[Default video sink])
@@ -89,12 +89,12 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
no) AC_MSG_ERROR(bad value ${withval} for --with-default-videosrc) ;;
*) DEFAULT_VIDEOSRC="${withval}" ;;
esac
- ],
+ ],
[
DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
] dnl Default value as determined above
)
- AC_MSG_NOTICE(Using $DEFAULT_VIDEOSRC as default video source)
+ AC_MSG_NOTICE(Using $DEFAULT_VIDEOSRC as default video source)
AC_SUBST(DEFAULT_VIDEOSRC)
AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSRC, "$DEFAULT_VIDEOSRC",
[Default video source])
@@ -108,12 +108,12 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
no) AC_MSG_ERROR(bad value ${withval} for --with-default-visualizer) ;;
*) DEFAULT_VISUALIZER="${withval}" ;;
esac
- ],
+ ],
[
DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
] dnl Default value as determined above
)
- AC_MSG_NOTICE(Using $DEFAULT_VISUALIZER as default visualizer)
+ AC_MSG_NOTICE(Using $DEFAULT_VISUALIZER as default visualizer)
AC_SUBST(DEFAULT_VISUALIZER)
AC_DEFINE_UNQUOTED(DEFAULT_VISUALIZER, "$DEFAULT_VISUALIZER",
[Default visualizer])
diff --git a/m4/gst-doc.m4 b/m4/gst-doc.m4
index 7000c17..6521097 100644
--- a/m4/gst-doc.m4
+++ b/m4/gst-doc.m4
@@ -50,17 +50,17 @@ EOF
dnl check if we can process docbook stuff
AS_DOCBOOK(have_docbook=yes, have_docbook=no)
-
+
dnl check for extra tools
AC_CHECK_PROG(HAVE_DVIPS, dvips, yes, no)
AC_CHECK_PROG(HAVE_XMLLINT, xmllint, yes, no)
-
+
dnl check for image conversion tools
AC_CHECK_PROG(HAVE_FIG2DEV, fig2dev, yes, no)
if test "x$HAVE_FIG2DEV" = "xno" ; then
AC_MSG_WARN([Did not find fig2dev (from xfig), images will not be generated.])
fi
-
+
dnl The following is a hack: if fig2dev doesn't display an error message
dnl for the desired type, we assume it supports it.
HAVE_FIG2DEV_EPS=no
@@ -84,11 +84,11 @@ EOF
HAVE_FIG2DEV_PDF=yes
fi
fi
-
+
AC_CHECK_PROG(HAVE_PNGTOPNM, pngtopnm, yes, no)
AC_CHECK_PROG(HAVE_PNMTOPS, pnmtops, yes, no)
AC_CHECK_PROG(HAVE_EPSTOPDF, epstopdf, yes, no)
-
+
dnl check if we can generate HTML
if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
@@ -100,7 +100,7 @@ EOF
DOC_HTML=no
AC_MSG_NOTICE(Will not output HTML documentation)
fi
-
+
dnl check if we can generate PS
if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
@@ -116,7 +116,7 @@ EOF
DOC_PS=no
AC_MSG_NOTICE(Will not output PS documentation)
fi
-
+
dnl check if we can generate PDF - using only ps2pdf
if test "x$DOC_PS" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
diff --git a/m4/gst-error.m4 b/m4/gst-error.m4
index 6c7b3eb..8cfe3a8 100644
--- a/m4/gst-error.m4
+++ b/m4/gst-error.m4
@@ -23,12 +23,12 @@ AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AS_COMPILER_FLAG])
-
+
dnl if we support -Wall, set it unconditionally
AS_COMPILER_FLAG(-Wall,
ERROR_CFLAGS="-Wall",
ERROR_CFLAGS="")
-
+
dnl Warn if declarations after statements are used (C99 extension)
AS_COMPILER_FLAG(-Wdeclaration-after-statement,
ERROR_CFLAGS="$ERROR_CFLAGS -Wdeclaration-after-statement")
@@ -54,7 +54,7 @@ AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
dnl try -errwarn=%all,no%E_EMPTY_DECLARATION,
dnl no%E_STATEMENT_NOT_REACHED,no%E_ARGUEMENT_MISMATCH,
dnl no%E_MACRO_REDEFINED (Sun Forte case)
- dnl For Forte we need disable "empty declaration" warning produced by un-needed semicolon
+ dnl For Forte we need disable "empty declaration" warning produced by un-needed semicolon
dnl "statement not reached" disabled because there is g_assert_not_reached () in some places
dnl "macro redefined" because of gst/gettext.h
dnl FIXME: is it really supposed to be 'ARGUEMENT' and not 'ARGUMENT'?
@@ -97,14 +97,14 @@ AC_DEFUN([AG_GST_SET_ERROR_CXXFLAGS],
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AS_CXX_COMPILER_FLAG])
-
+
dnl if we support -Wall, set it unconditionally
AS_CXX_COMPILER_FLAG(-Wall, [
ERROR_CXXFLAGS="-Wall"
], [
ERROR_CXXFLAGS=""
])
-
+
dnl if asked for, add -Werror if supported
if test "x$1" != "xno"
then
@@ -115,7 +115,7 @@ AC_DEFUN([AG_GST_SET_ERROR_CXXFLAGS],
dnl add exceptions
AS_CXX_COMPILER_FLAG([-Wno-non-virtual-dtor], ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor")
-
+
dnl Add -fno-strict-aliasing for GLib versions before 2.19.8
dnl as before G_LOCK and friends caused strict aliasing compiler
dnl warnings.
@@ -131,7 +131,7 @@ AC_DEFUN([AG_GST_SET_ERROR_CXXFLAGS],
dnl try -errwarn=%all,no%E_EMPTY_DECLARATION,
dnl no%E_STATEMENT_NOT_REACHED,no%E_ARGUEMENT_MISMATCH,
dnl no%E_MACRO_REDEFINED (Sun Forte case)
- dnl For Forte we need disable "empty declaration" warning produced by un-needed semicolon
+ dnl For Forte we need disable "empty declaration" warning produced by un-needed semicolon
dnl "statement not reached" disabled because there is g_assert_not_reached () in some places
dnl "macro redefined" because of gst/gettext.h
dnl FIXME: is it really supposed to be 'ARGUEMENT' and not 'ARGUMENT'?
diff --git a/m4/gst-libxml2.m4 b/m4/gst-libxml2.m4
index 7d978d3..d43d17a 100644
--- a/m4/gst-libxml2.m4
+++ b/m4/gst-libxml2.m4
@@ -10,7 +10,7 @@ AC_DEFUN([AG_GST_LIBXML2_CHECK],
AC_SUBST(LIBXML2_REQ)
dnl check for libxml2
- PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_REQ,
+ PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_REQ,
HAVE_LIBXML2=yes, [
AC_MSG_RESULT(no)
HAVE_LIBXML2=no
@@ -21,7 +21,7 @@ AC_DEFUN([AG_GST_LIBXML2_CHECK],
AC_MSG_ERROR([Need libxml2 for glib2 builds -- you should be able to do without it -- this needs fixing])
fi
dnl this is for the .pc file
- LIBXML_PKG=', libxml-2.0'
+ LIBXML_PKG=', libxml-2.0'
AC_SUBST(LIBXML_PKG)
AC_SUBST(XML_LIBS)
AC_SUBST(XML_CFLAGS)
@@ -35,7 +35,7 @@ AC_DEFUN([AG_GST_LIBXML2_CHECK],
AC_TRY_LINK([
#include <libxml/tree.h>
#include <stdio.h>
-],[
+],[
/* function body */
],
AC_MSG_NOTICE([Test xml2 program linked]),
diff --git a/m4/gst-parser.m4 b/m4/gst-parser.m4
index ac98442..2cae45d 100644
--- a/m4/gst-parser.m4
+++ b/m4/gst-parser.m4
@@ -15,9 +15,9 @@ AC_DEFUN([AG_GST_BISON_CHECK],
bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
- if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
+ if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
AC_MSG_RESULT([yes])
- else
+ else
AC_MSG_ERROR([no])
fi
])
@@ -29,10 +29,10 @@ AC_DEFUN([AG_GST_FLEX_CHECK],
if test x$FLEX_PATH = xno; then
AC_MSG_ERROR(Could not find flex)
fi
-
+
dnl check flex version
dnl we need version >= 2.5.31 for the reentrancy support
- dnl in the parser.
+ dnl in the parser.
flex_min_version=2.5.31
flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[[a-zA-Z]]*$//' | cut -d' ' -f1`
AC_MSG_CHECKING([flex version $flex_version >= $flex_min_version])
diff --git a/m4/gst-plugin-docs.m4 b/m4/gst-plugin-docs.m4
index 8546972..dcfd61d 100644
--- a/m4/gst-plugin-docs.m4
+++ b/m4/gst-plugin-docs.m4
@@ -1,5 +1,5 @@
dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
-dnl
+dnl
dnl checks for prerequisites for the common/mangle-tmpl.py script
dnl used when building the plugin documentation
diff --git a/m4/gst-valgrind.m4 b/m4/gst-valgrind.m4
index eddedb3..5c0d608 100644
--- a/m4/gst-valgrind.m4
+++ b/m4/gst-valgrind.m4
@@ -29,7 +29,7 @@ AC_DEFUN([AG_GST_VALGRIND_CHECK],
fi
AC_SUBST(VALGRIND_CFLAGS)
AC_SUBST(VALGRIND_LIBS)
-
+
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
])
diff --git a/m4/gst-x11.m4 b/m4/gst-x11.m4
index 0c72fc5..d3baf2d 100644
--- a/m4/gst-x11.m4
+++ b/m4/gst-x11.m4
@@ -24,7 +24,7 @@ AC_DEFUN([AG_GST_CHECK_X],
AC_SUBST(X_LIBS)
fi
AC_SUBST(HAVE_X)
-
+
CFLAGS="$ac_cflags_save"
CPPFLAGS="$ac_cppflags_save"
])
diff --git a/m4/pkg.m4 b/m4/pkg.m4
index 0048a3f..996e294 100644
--- a/m4/pkg.m4
+++ b/m4/pkg.m4
@@ -1,5 +1,5 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
+#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -39,7 +39,7 @@ if test -n "$PKG_CONFIG"; then
AC_MSG_RESULT([no])
PKG_CONFIG=""
fi
-
+
fi[]dnl
])# PKG_PROG_PKG_CONFIG
@@ -120,7 +120,7 @@ if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
- else
+ else
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
fi
# Put the nasty error message in config.log where it belongs
diff --git a/mangle-tmpl.py b/mangle-tmpl.py
index 6cb52d7..dbd0566 100644
--- a/mangle-tmpl.py
+++ b/mangle-tmpl.py
@@ -122,7 +122,7 @@ def get_elements(file):
elements[name] = {'description': description}
return elements
-
+
def main():
if not len(sys.argv) == 3:
sys.stderr.write('Please specify the inspect/ dir and the tmpl/ dir')
diff --git a/plugins.xsl b/plugins.xsl
index 2eab220..7f93e3b 100644
--- a/plugins.xsl
+++ b/plugins.xsl
@@ -8,7 +8,7 @@
version="1.0">
<xsl:output method="xml" indent="yes"
doctype-public ="-//OASIS//DTD DocBook XML V4.1.2//EN"
- doctype-system = "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/>
+ doctype-system = "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/>
<xsl:param name="module" />
@@ -32,7 +32,7 @@
<xsl:element name="refsect2">
<xsl:element name="title">Element Information</xsl:element>
<xsl:element name="variablelist">
-
+
<!-- plugin name and link -->
<xsl:element name="varlistentry">
<xsl:element name="term">plugin</xsl:element>
@@ -45,24 +45,24 @@
</xsl:element>
</xsl:element>
</xsl:element>
-
+
<xsl:element name="varlistentry">
<xsl:element name="term">author</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="author" /></xsl:element>
</xsl:element>
</xsl:element>
-
+
<xsl:element name="varlistentry">
<xsl:element name="term">class</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="class" /></xsl:element>
</xsl:element>
</xsl:element>
-
+
</xsl:element> <!-- variablelist -->
</xsl:element> <!-- refsect2 -->
-
+
<xsl:element name="refsect2">
<xsl:element name="title">Element Pads</xsl:element>
<!-- process all caps -->
@@ -74,21 +74,21 @@
<xsl:element name="simpara"><xsl:value-of select="name" /></xsl:element>
</xsl:element>
</xsl:element>
-
+
<xsl:element name="varlistentry">
<xsl:element name="term">direction</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="direction" /></xsl:element>
</xsl:element>
</xsl:element>
-
+
<xsl:element name="varlistentry">
<xsl:element name="term">presence</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="presence" /></xsl:element>
</xsl:element>
</xsl:element>
-
+
<xsl:for-each select='str:tokenize(details, ";")'>
<xsl:element name="varlistentry">
<xsl:element name="term">
@@ -99,11 +99,11 @@
</xsl:element>
</xsl:element>
</xsl:for-each>
-
+
</xsl:element> <!-- variablelist -->
-
+
<!--xsl:element name="programlisting"><xsl:value-of select="details" /></xsl:element-->
-
+
</xsl:for-each>
</xsl:element> <!-- refsect2 -->
</xsl:element> <!-- refsynopsisdiv -->
@@ -130,7 +130,7 @@
<xsl:value-of select="name"/>
</xsl:element>
</xsl:element>
-
+
<xsl:element name="refpurpose">
<xsl:value-of select="description"/>
</xsl:element>
diff --git a/scangobj-merge.py b/scangobj-merge.py
index a79b404..51660ea 100755
--- a/scangobj-merge.py
+++ b/scangobj-merge.py
@@ -84,7 +84,7 @@ class Object:
if not overwrite and self._args.has_key(arg.name):
raise IndexError, "arg %s already in %r" % (arg.name, self)
self._args[arg.name] = arg
-
+
class Docable:
def __init__(self, **kwargs):
for key in self.attrs: