platform/upstream/gst-common.git
13 years agogtk-doc.mak: allow out of srcdir build
Stefan Kost [Mon, 13 Dec 2010 14:15:31 +0000 (16:15 +0200)]
gtk-doc.mak: allow out of srcdir build

Right now it is not possible to do out of srcdir builds for gstreamer due to
deficiencies in the api-doc build. Instead of making the srcdir writable and
generate files there, copy the needed files to builddir.

Fixes #636851

13 years agoscanobj: use factory methods to get metadata
Wim Taymans [Tue, 7 Dec 2010 15:19:36 +0000 (16:19 +0100)]
scanobj: use factory methods to get metadata

13 years agogst-package-release-datetime.m4: make work with FreeBSD's default shell
Koop Mast [Sat, 4 Dec 2010 14:21:09 +0000 (14:21 +0000)]
gst-package-release-datetime.m4: make work with FreeBSD's default shell

http://bugzilla-attachments.gnome.org/attachment.cgi?id=175689

13 years agoFix dist on some of the buildbots
Jan Schmidt [Wed, 27 Oct 2010 12:12:20 +0000 (13:12 +0100)]
Fix dist on some of the buildbots

When disting the tarball, and updating the -dist.[ch] files fails,
just ignore it. It happens when the -dist.[ch] files need updating,
but the srcdir is readonly, in which case we just copy the updated
files directly into the tarball, and don't update the srcdir.

13 years agoorc.m4: Don't set HAVE_ORCC if orc is disabled
David Schleef [Thu, 14 Oct 2010 19:25:27 +0000 (12:25 -0700)]
orc.m4: Don't set HAVE_ORCC if orc is disabled

13 years agoorc: Allow cross-building without orcc
David Schleef [Fri, 8 Oct 2010 19:40:04 +0000 (12:40 -0700)]
orc: Allow cross-building without orcc

13 years agoorc: Let the copy rules for non-orc builds depend on the disted source files
Sebastian Dröge [Fri, 8 Oct 2010 10:47:30 +0000 (12:47 +0200)]
orc: Let the copy rules for non-orc builds depend on the disted source files

13 years agogst.supp: Make pango/fontconfig leaks generic
Edward Hervey [Wed, 8 Sep 2010 09:11:42 +0000 (11:11 +0200)]
gst.supp: Make pango/fontconfig leaks generic

13 years agogst.supp: Simply leaks from g_type_init/g_type_register_fundamental
Edward Hervey [Tue, 7 Sep 2010 14:02:23 +0000 (16:02 +0200)]
gst.supp: Simply leaks from g_type_init/g_type_register_fundamental

13 years agogst-check.m4: drop REQUIRED arg to AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}
Tim-Philipp Müller [Tue, 7 Sep 2010 18:59:28 +0000 (19:59 +0100)]
gst-check.m4: drop REQUIRED arg to AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}

Since .pc files for these modules only exist in uninstalled setups, if at all,
it doesn't really make sense to *require* their presence (or that particular
version). Code (e.g. unit tests) still needs to check element/plugin availability
and versions at runtime, since that's what's required for installed setups
anyway.

13 years agogst-checks.m4: document AG_GST_CHECK_GST_PLUGINS_BASE and set GST_PLUGINS_BASE_DIR
Tim-Philipp Müller [Tue, 7 Sep 2010 17:53:59 +0000 (18:53 +0100)]
gst-checks.m4: document AG_GST_CHECK_GST_PLUGINS_BASE and set GST_PLUGINS_BASE_DIR

Also set GST_PLUGINS_BASE_DIR (in addition to GSTPB_PLUGINS_DIR), for consistency
with the good/ugly/bad/ffmpeg equivalents.

13 years agogst-check.m4: document and fix AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}
Tim-Philipp Müller [Tue, 7 Sep 2010 17:41:21 +0000 (18:41 +0100)]
gst-check.m4: document and fix AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}

Fix them so that configure doesn't error out if the module isn't required.

13 years agogst-check.m4: remove duplicate AC_MSG_RESULT(no)
Tim-Philipp Müller [Tue, 7 Sep 2010 13:56:16 +0000 (14:56 +0100)]
gst-check.m4: remove duplicate AC_MSG_RESULT(no)

PKG_CHECK_MODULES already does that.

13 years agogtk-doc-plugins.mak: add check-outdated-docs target and run it after 'make update'
Tim-Philipp Müller [Tue, 7 Sep 2010 10:37:33 +0000 (11:37 +0100)]
gtk-doc-plugins.mak: add check-outdated-docs target and run it after 'make update'

Make sure we don't keep outdated plugin introspection info around.
This target is a bit more aggressive than than the existing
'check-inspected-versions' one, but also much more useful, since it
actually tries to check if there's still a reference to plugins
in the code.

13 years agoAllow user to override ORCC using env var
David Schleef [Mon, 6 Sep 2010 01:55:01 +0000 (18:55 -0700)]
Allow user to override ORCC using env var

13 years agoorc: Add --compat $ORC_REQ to the orcc commandlines
Sebastian Dröge [Sun, 5 Sep 2010 10:07:28 +0000 (12:07 +0200)]
orc: Add --compat $ORC_REQ to the orcc commandlines

This allows orcc to always use the latest features of the required
orc version instead of always generating code that would still work
with 0.4.5 or even earlier.

13 years agom4: add AG_GST_PKG_CONFIG_PATH macro
Tim-Philipp Müller [Sat, 14 Aug 2010 17:59:23 +0000 (18:59 +0100)]
m4: add AG_GST_PKG_CONFIG_PATH macro

Sets up a GST_PKG_CONFIG_PATH variable for use in Makefile.am
which contains the path of the in-tree pkgconfig directory first
and then any paths specified in PKG_CONFIG_PATH.

We do this mostly so we don't have to use unportable shell constructs
such as ${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} in Makefile.am to handle
the case where the environment variable is not set, but also in order
to avoid a trailing ':' in the PKG_CONFIG_PATH which apparently causes
problems with pkg-config on windows with msys/mingw.

Also shows the PKG_CONFIG_PATH set up in the configure output,
which is handy when debugging other people's configure problems.

13 years agoplugins.xsl: the anchor tag has to be empty
Stefan Kost [Fri, 13 Aug 2010 09:15:23 +0000 (12:15 +0300)]
plugins.xsl: the anchor tag has to be empty

Move the name out of the anchor and move the anchor to refpurpose tag. Fixes
generation of non compliant docbook xml.

13 years ago*.mak: more spaces/tabs clean-ups
Tim-Philipp Müller [Tue, 10 Aug 2010 09:44:12 +0000 (10:44 +0100)]
*.mak: more spaces/tabs clean-ups

Use tabs consistently for the first indentation, even if it's not
really needed in these cases (continuation lines).

13 years agogtk-doc*.mak: use tabs instead of spaces to fix build with make-3.82
Ken Moffat [Mon, 9 Aug 2010 22:41:22 +0000 (23:41 +0100)]
gtk-doc*.mak: use tabs instead of spaces to fix build with make-3.82

https://bugs.freedesktop.org/show_bug.cgi?id=29426

13 years agogst-check.m4: add AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}
Tim-Philipp Müller [Sun, 8 Aug 2010 23:11:44 +0000 (00:11 +0100)]
gst-check.m4: add AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG}

For future use, so we can find other plugin dirs in an uninstalled setup
more easily, for unit tests that use plugins from other modules mostly. Not
all of these modules have uninstalled .pc files yet. The currently used
(topdir)/../gst-plugins-foo trick doesn't work in all cases, e.g. when
running 'make distcheck'.

13 years agoscanobj: only update inspect files when we run in update mode
Stefan Kost [Thu, 5 Aug 2010 10:53:23 +0000 (13:53 +0300)]
scanobj: only update inspect files when we run in update mode

Check the stamp file to avoid rewriting all inspect files and rescanning.
Fixes #623356

13 years agogstdoc-scangobj: output $MODULE.hierarchy sorted alphabetically
Tim-Philipp Müller [Thu, 5 Aug 2010 01:20:50 +0000 (02:20 +0100)]
gstdoc-scangobj: output $MODULE.hierarchy sorted alphabetically

Sort hierarchy of types in alphabetical order, so it doesn't
change all the time.

13 years agoRevert "gtk-doc.mak: make build break on new api that has not been added to the secti...
Tim-Philipp Müller [Tue, 3 Aug 2010 09:35:27 +0000 (10:35 +0100)]
Revert "gtk-doc.mak: make build break on new api that has not been added to the sections file"

This reverts commit 30c7a70b1d4765d26789950ca8e983284c0a05b3.

Docs stuff should never break the build (it's fragile enough as it is), especially
not when whether things break or not depends on factors outside of the source tree
such as, for example, the gtk-doc version being used. Also, hooks like this are
probably more appropriate for the check or distcheck target.

https://bugzilla.gnome.org/show_bug.cgi?id=625862

14 years agoAdd AG_GST_SET_PACKAGE_RELEASE_DATETIME and _DATETIME_WITH_NANO macros for configure
Tim-Philipp Müller [Mon, 21 Jun 2010 15:26:21 +0000 (16:26 +0100)]
Add AG_GST_SET_PACKAGE_RELEASE_DATETIME and _DATETIME_WITH_NANO macros for configure

Sets GST_PACKAGE_RELEASE_DATETIME, either to the current date and time, or
to the specified datetime, or to the date of the current release based on
the .doap file.

In a GStreamer module context, one could use it like this:
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
  ["${srcdir}/$PACKAGE.doap"],
    [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])

https://bugzilla.gnome.org/show_bug.cgi?id=623040

14 years agogstdoc-scangobj: serialise doubles and floats always with a decimal dot
Tim-Philipp Müller [Fri, 23 Jul 2010 15:46:10 +0000 (16:46 +0100)]
gstdoc-scangobj: serialise doubles and floats always with a decimal dot

Make sure floats and double property values are output with a decimal dot
(and not e.g. a comma) irrespective of the current locale. g_ascii_formatd() is
used here instead of g_ascii_dtostr() because we want nice human-readable
numbers and do not need the exact same bit representation when deserialising.

Other parts of gtk-doc may need fixing as well to make sure to always
deserialise floats and doubles in C locale.

14 years agohooks: use 'git do-something' instead of the old 'git-do-something'
Tim-Philipp Müller [Thu, 15 Jul 2010 15:35:40 +0000 (16:35 +0100)]
hooks: use 'git do-something' instead of the old 'git-do-something'

14 years agodocs: remove cruft and clean additional copied files
Stefan Kost [Thu, 24 Jun 2010 11:30:30 +0000 (14:30 +0300)]
docs: remove cruft and clean additional copied files

Remove lines still referencing the inspect-stamps. Clean scanobj-build.stamp
file (scanobj-build.stamp rule always creates that one). Fixes #622546

14 years agogst-error.m4: use 'dnl' instead of 'Dnl' for comment line
Tim-Philipp Müller [Mon, 21 Jun 2010 11:34:12 +0000 (12:34 +0100)]
gst-error.m4: use 'dnl' instead of 'Dnl' for comment line

14 years agogstdoc-scangobj: fix build with C compilers that don't support -Wall
Tim-Philipp Müller [Fri, 18 Jun 2010 08:54:20 +0000 (09:54 +0100)]
gstdoc-scangobj: fix build with C compilers that don't support -Wall

Don't unconditionally pass -Wall to the compiler. Use WARNING_CFLAGS instead
if it is defined. Fixes build with Sun Studio Compiler.

Fixes #621963.

14 years agogstdoc-scanobj: sort pad templates
Tim-Philipp Müller [Thu, 17 Jun 2010 14:45:20 +0000 (15:45 +0100)]
gstdoc-scanobj: sort pad templates

Avoid pad template order ping-pong in generated version-controlled
files by sorting the pad templates before processing them.

14 years agogstdoc-scangobj: abort with an error if we couldn't open a file for writing
Tim-Philipp Müller [Thu, 17 Jun 2010 14:37:14 +0000 (15:37 +0100)]
gstdoc-scangobj: abort with an error if we couldn't open a file for writing

14 years agogstdoc-scanobj: skip static coreelements plugin with bin and pipeline factories
Tim-Philipp Müller [Thu, 17 Jun 2010 12:15:20 +0000 (13:15 +0100)]
gstdoc-scanobj: skip static coreelements plugin with bin and pipeline factories

Same as we did before. It's best not to expose GstBin and GstPipeline here to
avoid confusion. People are better off consulting the GstBin and GstPipeline
API docs and constructing bins and pipelines using the API provided there.

14 years agogstdoc-scangobj: maintain previous XML formatting
Tim-Philipp Müller [Thu, 17 Jun 2010 10:24:06 +0000 (11:24 +0100)]
gstdoc-scangobj: maintain previous XML formatting

Maintain the previous XML formatting, ie. add newlines after each xml item.
Also make sure file does not end with a newline character. Simplify xmlprint()
function a little to not use home-baked xml escaping - there's a GLib function
for that, so we may just as well do it properly.

14 years agoMakefile.am: Don't dist file that has gone
Edward Hervey [Tue, 15 Jun 2010 14:44:50 +0000 (16:44 +0200)]
Makefile.am: Don't dist file that has gone

14 years agodocs: use g_string instead of fragile static strings
Stefan Kost [Tue, 15 Jun 2010 13:51:28 +0000 (16:51 +0300)]
docs: use g_string instead of fragile static strings

14 years agodocs: make static string buffers bigger
Stefan Kost [Tue, 15 Jun 2010 13:33:25 +0000 (16:33 +0300)]
docs: make static string buffers bigger

14 years agodocs: move gst-xmlinspect.py functionality to gstdoc-scanobj
Stefan Kost [Tue, 15 Jun 2010 12:21:15 +0000 (15:21 +0300)]
docs: move gst-xmlinspect.py functionality to gstdoc-scanobj

gst-xmlinspect was causing a circular dependency (as it uses gst-python). It
also caused and extra build step and double registry scan.

14 years agogst-glib2.m4: Add our custom GLib CFLAGS to GLIB_EXTRA_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 10:59:35 +0000 (12:59 +0200)]
gst-glib2.m4: Add our custom GLib CFLAGS to GLIB_EXTRA_CFLAGS

GLIB_CFLAGS is only used by core and all other modules
get the flags from gstreamer-0.10.pc.

14 years agogst-glib.m4: Define G_DISABLE_DEPRECATED for GIT versions
Sebastian Dröge [Mon, 14 Jun 2010 09:26:08 +0000 (11:26 +0200)]
gst-glib.m4: Define G_DISABLE_DEPRECATED for GIT versions

If deprecated API is found, for which the replacement is in
a newer version of GLib than we currently depend on, use
the new API in a #if GLIB_CHECK_VERSION block and remove
that block after depending on a new enougb GLib version.

Fixes bug #605100.

14 years agogst.supp: Update dl_relocate_object suppression for libc in /lib instead of /lib64
Sebastian Dröge [Sat, 12 Jun 2010 06:19:07 +0000 (08:19 +0200)]
gst.supp: Update dl_relocate_object suppression for libc in /lib instead of /lib64

14 years agoAdd orc.m4 to dist files
David Schleef [Wed, 9 Jun 2010 19:29:59 +0000 (12:29 -0700)]
Add orc.m4 to dist files

14 years agoAdd autoconf macros for Orc
David Schleef [Wed, 9 Jun 2010 19:25:27 +0000 (12:25 -0700)]
Add autoconf macros for Orc

14 years agoorc.mak: Use automake silent rules for the orcc calls if automake 1.11 is used
Sebastian Dröge [Tue, 8 Jun 2010 08:02:42 +0000 (10:02 +0200)]
orc.mak: Use automake silent rules for the orcc calls if automake 1.11 is used

14 years agoorc.mak: rename from orc.mk
David Schleef [Wed, 2 Jun 2010 06:47:35 +0000 (23:47 -0700)]
orc.mak: rename from orc.mk

All the other makefile snippets are called *.mak.

14 years agoorc.mk: change generated file/variable names
David Schleef [Wed, 2 Jun 2010 05:52:01 +0000 (22:52 -0700)]
orc.mk: change generated file/variable names

14 years agoorc: Fix distcheck problems in orc.mk
David Schleef [Sun, 30 May 2010 21:35:28 +0000 (14:35 -0700)]
orc: Fix distcheck problems in orc.mk

Add gst-indent to common, since orc.mk uses it to clean up
source files.

14 years agoAdd a makefile fragment for Orc
David Schleef [Fri, 28 May 2010 07:39:44 +0000 (00:39 -0700)]
Add a makefile fragment for Orc

Not updating all the modules, because it's only used on the Orc
branch for now.

14 years agoglib-gen.mak: Don't use == for comparisons in shell scripts
Sebastian Dröge [Tue, 25 May 2010 18:04:08 +0000 (20:04 +0200)]
glib-gen.mak: Don't use == for comparisons in shell scripts

14 years agogst-error.m4: Don't use == for comparisons in shell scripts
Sebastian Dröge [Tue, 25 May 2010 18:01:47 +0000 (20:01 +0200)]
gst-error.m4: Don't use == for comparisons in shell scripts

This only works with bash and not strictly POSIX compatible shells.

14 years agogst.supp: suppress dash leaks
Tim-Philipp Müller [Fri, 14 May 2010 17:20:50 +0000 (18:20 +0100)]
gst.supp: suppress dash leaks

14 years agoupload-doc.mak: upload release docs to the right place
Tim-Philipp Müller [Thu, 29 Apr 2010 08:49:46 +0000 (09:49 +0100)]
upload-doc.mak: upload release docs to the right place

On our website, all doc links point to the docs for head, which
is where git docs get uploaded to, while release docs for some
reason get uploaded to docs/$version where no one will ever
find them. Change upload rule to upload release docs to both
the versioned directory and head, so that new docs will actually
be visible on the website when the new-release script in www
uploads them as part of the release process.

14 years agowin32.mak: rename check-nonportable-int64-print-format rule and check for %zu
Tim-Philipp Müller [Thu, 29 Apr 2010 08:47:46 +0000 (09:47 +0100)]
win32.mak: rename check-nonportable-int64-print-format rule and check for %zu

Rename check-nonportable-int64-print-format rule to check-nonportable-print-format
and also check for %zu, %zd, etc.

14 years agogst-arch.m4: fix detection on Solaris
Brian Cameron [Fri, 23 Apr 2010 13:34:41 +0000 (14:34 +0100)]
gst-arch.m4: fix detection on Solaris

stop-gap measure to fix CPU/arch detection on solaris, which
makes the goom problems work properly on solaris. Probably
needs more fixes after the release (use target_* etc.).

Fixes #615996.

14 years agopre-commit: Add --leave-preprocessor-space
Edward Hervey [Mon, 12 Apr 2010 13:27:41 +0000 (15:27 +0200)]
pre-commit: Add --leave-preprocessor-space

This puts it in sync with core/tools/gst-indent.

14 years agogst-glib2.m4: Add configure parameter to disable GObject type checks
Sebastian Dröge [Fri, 9 Apr 2010 06:17:45 +0000 (08:17 +0200)]
gst-glib2.m4: Add configure parameter to disable GObject type checks

...and disable them by default for pre-releases and releases.

Fixes bug #612540.

14 years agocruft.mak: add make rule to remove cruft
Tim-Philipp Müller [Fri, 9 Apr 2010 08:23:15 +0000 (09:23 +0100)]
cruft.mak: add make rule to remove cruft

14 years agodownload-translations: make sure existing translations are listed in LINGUAS
Tim-Philipp Müller [Wed, 7 Apr 2010 23:18:03 +0000 (00:18 +0100)]
download-translations: make sure existing translations are listed in LINGUAS

Fixes #509662.

14 years agogst.supp: Make ALSA suppressions a bit more generic
Edward Hervey [Thu, 1 Apr 2010 14:47:56 +0000 (16:47 +0200)]
gst.supp: Make ALSA suppressions a bit more generic

14 years agogst.supp: Make some suppressions more generic
Edward Hervey [Thu, 1 Apr 2010 10:27:31 +0000 (12:27 +0200)]
gst.supp: Make some suppressions more generic

14 years agoMake sure new parallel-subdirs.mak gets disted
Tim-Philipp Müller [Mon, 29 Mar 2010 23:44:01 +0000 (00:44 +0100)]
Make sure new parallel-subdirs.mak gets disted

It seems to get disted automagically already when used, but better be safe..

14 years agogst-libxml2.m4: fix error message - we are building GStreamer, not glib2
Tim-Philipp Müller [Mon, 29 Mar 2010 12:38:33 +0000 (13:38 +0100)]
gst-libxml2.m4: fix error message - we are building GStreamer, not glib2

14 years agoparallel-subdirs.mak: snippet to include in Makefiles to build subdirectories in...
Tim-Philipp Müller [Fri, 26 Mar 2010 19:42:41 +0000 (19:42 +0000)]
parallel-subdirs.mak: snippet to include in Makefiles to build subdirectories in parallel

Build sub-directories in parallel if make -jN is used. We'll descend
into the sub-directories a second time after the first parallel run,
but at that point there shouldn't be anything left to do. Assumes
there are no dependencies between any of the sub-directories.

14 years agocheck.mak: fix typo in make help
Tim-Philipp Müller [Wed, 24 Mar 2010 17:57:41 +0000 (17:57 +0000)]
check.mak: fix typo in make help

14 years agogst.supp: Simplify some more suppressions
Edward Hervey [Wed, 24 Mar 2010 17:14:41 +0000 (18:14 +0100)]
gst.supp: Simplify some more suppressions

14 years agocheck.mak: Add a "make valgrind.gen-suppressions" rule
Edward Hervey [Wed, 24 Mar 2010 16:32:07 +0000 (17:32 +0100)]
check.mak: Add a "make valgrind.gen-suppressions" rule

This allows generating suppressions for all tests

14 years agogst.supp: More suppressions for glib 2.23
Edward Hervey [Fri, 12 Mar 2010 14:16:30 +0000 (15:16 +0100)]
gst.supp: More suppressions for glib 2.23

See on gentoo ~amd64. Also simplified existing ones.

14 years agogst.supp: update valgrind suppressions for newer glib
Tim-Philipp Müller [Fri, 12 Mar 2010 13:53:31 +0000 (13:53 +0000)]
gst.supp: update valgrind suppressions for newer glib

14 years agocheck.mak: fix 'make check-valgrind'
Tim-Philipp Müller [Fri, 12 Mar 2010 11:57:09 +0000 (11:57 +0000)]
check.mak: fix 'make check-valgrind'

Don't use @ on a continuation line, that will lead to syntax errors.
Also replace some spaces with tabs.

14 years agoMake sure MORE_FLAGS are evaluated one by one
Benjamin Otte [Thu, 11 Mar 2010 10:17:12 +0000 (11:17 +0100)]
Make sure MORE_FLAGS are evaluated one by one

Previously the argument was just evaluated as a single string.

I still don't get shell and m4 (un)escaping rules...

14 years agoClean up the brokenness from my latest changes
Benjamin Otte [Wed, 10 Mar 2010 20:48:34 +0000 (21:48 +0100)]
Clean up the brokenness from my latest changes

- Fix calling AG_GST_SET_ERROR_CFLAGS() without a second parameter
- Make AG_GST_SET_ERROR_CXXFLAGS() actually work

14 years agoSplit ERROR_{C|CXX} flags into WARNING and ERROR flags
Benjamin Otte [Wed, 10 Mar 2010 15:55:23 +0000 (16:55 +0100)]
Split ERROR_{C|CXX} flags into WARNING and ERROR flags

The WARNING flags now contain all warning flags, the ERROR flags contain
the flags related to making warnings fatal. For more explanation, see
the inline docs.

The rationale is that we want to turn on a lot more warning flags, but
generated and imported sources might not have the same quality. For
those, we want to use the WARNING_CFLAGS but not the ERROR_CFLAGS.

14 years agoAdd a MORE_FLAGS argument to AG_GST_SET_ERROR_{C|XX}FLAGS
Benjamin Otte [Wed, 10 Mar 2010 11:05:44 +0000 (12:05 +0100)]
Add a MORE_FLAGS argument to AG_GST_SET_ERROR_{C|XX}FLAGS

This allows modules to specify additional warning flags to
AG_GST_SET_ERROR_CFLAGS() and AG_GST_SET_ERROR_CXXFLAGS() that will be
added to the ERROR_CFLAGS.

https://bugzilla.gnome.org/show_bug.cgi?id=611690

14 years agoDon't try to dist shave files that have been removed
Tim-Philipp Müller [Wed, 10 Mar 2010 00:07:27 +0000 (00:07 +0000)]
Don't try to dist shave files that have been removed

14 years agobuild: Make some generic rules silent
Sebastian Dröge [Fri, 26 Feb 2010 15:22:00 +0000 (16:22 +0100)]
build: Make some generic rules silent

14 years agoRemove shave from common, all modules are using AM_SILENT_RULES now
Sebastian Dröge [Fri, 26 Feb 2010 14:57:06 +0000 (15:57 +0100)]
Remove shave from common, all modules are using AM_SILENT_RULES now

14 years agogst.supp: Add another type registration, one-time leak in GObject
Sebastian Dröge [Sun, 14 Feb 2010 22:13:30 +0000 (23:13 +0100)]
gst.supp: Add another type registration, one-time leak in GObject

14 years agogst.supp: even more valgrind suppressions
Tim-Philipp Müller [Mon, 1 Feb 2010 00:32:39 +0000 (00:32 +0000)]
gst.supp: even more valgrind suppressions

GLib 2.23.2, debian sid, amd64. Also make use of ... some more.

14 years agogst.supp: add some more valgrind suppressions for newer glib versions
Tim-Philipp Müller [Mon, 1 Feb 2010 00:32:39 +0000 (00:32 +0000)]
gst.supp: add some more valgrind suppressions for newer glib versions

GLib 2.23.2, debian sid, amd64

14 years agogst-glib2.m4: add -DG_THREADS_MANDATORY to GLIB_CFLAGS
Tim-Philipp Müller [Sat, 30 Jan 2010 13:56:42 +0000 (13:56 +0000)]
gst-glib2.m4: add -DG_THREADS_MANDATORY to GLIB_CFLAGS

Threading is always enabled in GStreamer code, so we may just as well
add -DG_THREADS_MANDATORY to GLIB_CFLAGS so that all GStreamer modules
are automatically compiled with it (optimisation).

14 years agogst-arch.m4: fix unaligned detection for x86-64 when cross compiling
Peter Korsgaard [Mon, 18 Jan 2010 15:22:01 +0000 (16:22 +0100)]
gst-arch.m4: fix unaligned detection for x86-64 when cross compiling

Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
x86-64 to the unaligned access whitelist, but missed the trailing
wildcards, so the test never succeeds (host is something like
x86_64-unknown-linux-gnu).

When building natively, this isn't a big deal as the AC_TRY_RUN test
correctly detects it, but that doesn't work when cross compiling so
the build dies with:

configure: error: cannot run test program while cross compiling
See `config.log' for more details.

Fix it by adding the trailing wildcards.

Fixes bug #607317.

14 years agoDon't forget to dist new cruft.mak file
Tim-Philipp Müller [Wed, 13 Jan 2010 00:41:04 +0000 (00:41 +0000)]
Don't forget to dist new cruft.mak file

14 years agoAdd cruft.mak file that can be included from modules to check for cruft
Tim-Philipp Müller [Wed, 13 Jan 2010 00:28:03 +0000 (00:28 +0000)]
Add cruft.mak file that can be included from modules to check for cruft

When plugins get renamed, moved or removed we often leave behind unwanted
left-overs in our source tree, since no one runs 'make clean' before every
git update. This can cause problems and be confusing, so add a little
Makefile rule to include to print a warning for if any of the files or
directories specified in CRUFT_FILES and/or CRUFT_DIRS are still present
in our uninstalled tree.

14 years agogtk-doc*.mak: html is created in build directory, not source directory
Mark Nauwelaerts [Mon, 21 Dec 2009 18:09:28 +0000 (19:09 +0100)]
gtk-doc*.mak: html is created in build directory, not source directory

Fixes make dist for out-of-source build.

14 years agogst.supp: Add some more invalid read variations for 64-bit
Mark Nauwelaerts [Mon, 21 Dec 2009 17:52:36 +0000 (18:52 +0100)]
gst.supp: Add some more invalid read variations for 64-bit

14 years agoDist new gst-platform.m4
Tim-Philipp Müller [Tue, 1 Dec 2009 14:16:31 +0000 (14:16 +0000)]
Dist new gst-platform.m4

14 years agom4: Add gst-platform.m4 for platform specific checks and defines
Sebastian Dröge [Tue, 1 Dec 2009 13:06:47 +0000 (14:06 +0100)]
m4: Add gst-platform.m4 for platform specific checks and defines

These are currently copied from core but some/most of them are
useful for other modules too.

14 years agogst.supp: Suppression for macosx (Leopard) loader
Edward Hervey [Fri, 27 Nov 2009 17:52:48 +0000 (18:52 +0100)]
gst.supp: Suppression for macosx (Leopard) loader

14 years agogst.supp: More suppressions for data only created once at initialization
Edward Hervey [Fri, 27 Nov 2009 17:52:23 +0000 (18:52 +0100)]
gst.supp: More suppressions for data only created once at initialization

14 years agogst.supp: Suppression for allocation done only once at initialization
Edward Hervey [Fri, 27 Nov 2009 17:29:47 +0000 (18:29 +0100)]
gst.supp: Suppression for allocation done only once at initialization

Tags are only registered once, and we keep a reference to some classes.

14 years agogst.supp: Another dlopen suppression
Edward Hervey [Fri, 27 Nov 2009 17:29:33 +0000 (18:29 +0100)]
gst.supp: Another dlopen suppression

14 years agogst.supp: Add suppressions for new registry system
Edward Hervey [Fri, 27 Nov 2009 17:28:39 +0000 (18:28 +0100)]
gst.supp: Add suppressions for new registry system

14 years agogst.supp: make gstffmpegc suppression more flexible
Edward Hervey [Fri, 27 Nov 2009 17:27:45 +0000 (18:27 +0100)]
gst.supp: make gstffmpegc suppression more flexible

14 years agogst.supp: Make ALSA suppressions more flexible
Edward Hervey [Fri, 27 Nov 2009 17:27:15 +0000 (18:27 +0100)]
gst.supp: Make ALSA suppressions more flexible

14 years agogst.supp: Add suppression for leak in glib static types
Edward Hervey [Fri, 27 Nov 2009 14:53:48 +0000 (15:53 +0100)]
gst.supp: Add suppression for leak in glib static types

14 years agogst.supp: Add suppressions for recent alsa
Edward Hervey [Fri, 27 Nov 2009 14:53:21 +0000 (15:53 +0100)]
gst.supp: Add suppressions for recent alsa

14 years agogst.supp: Add some glibc 2.11 leaks
Edward Hervey [Fri, 27 Nov 2009 14:52:57 +0000 (15:52 +0100)]
gst.supp: Add some glibc 2.11 leaks

14 years agogst.supp: Make some dlopen suppressions more flexible
Edward Hervey [Fri, 27 Nov 2009 14:52:01 +0000 (15:52 +0100)]
gst.supp: Make some dlopen suppressions more flexible

14 years agogst.supp: Add suppression for glibc-2.11 relocatable conditional
Edward Hervey [Fri, 27 Nov 2009 13:57:29 +0000 (14:57 +0100)]
gst.supp: Add suppression for glibc-2.11 relocatable conditional

14 years agogst-args: fix version checking
Tim-Philipp Müller [Thu, 19 Nov 2009 10:24:26 +0000 (10:24 +0000)]
gst-args: fix version checking

Without the 'test' configure will look for a binary call x and
fail to find it..