platform/upstream/gst-common.git
13 years agoMerge remote-tracking branch 'origin/master' into 0.11
Edward Hervey [Wed, 21 Sep 2011 11:42:58 +0000 (13:42 +0200)]
Merge remote-tracking branch 'origin/master' into 0.11

13 years agointrospection.m4: Update from upstream
Johan Dahlin [Mon, 29 Aug 2011 13:09:03 +0000 (10:09 -0300)]
introspection.m4: Update from upstream

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

13 years agodocs: remove a stray @ in makefile
Stefan Sauer [Tue, 6 Sep 2011 19:23:26 +0000 (21:23 +0200)]
docs: remove a stray @ in makefile

13 years agodocs: support multiple source-dirs like we do in upstream
Stefan Sauer [Tue, 6 Sep 2011 12:07:12 +0000 (14:07 +0200)]
docs: support multiple source-dirs like we do in upstream

This lets us specify gst,ext,sys dirs for plugin docs.

13 years agodocs: also clean content files in out-of-srcdir build
Stefan Sauer [Mon, 5 Sep 2011 13:19:38 +0000 (15:19 +0200)]
docs: also clean content files in out-of-srcdir build

13 years agom4: Add support for non-ported plugins
Edward Hervey [Tue, 2 Aug 2011 09:27:05 +0000 (11:27 +0200)]
m4: Add support for non-ported plugins

This allows defining a GST_PLUGINS_NONPORTED in the configure.ac of various
modules.
AG_GST_CHECK_PLUGIN and AG_GST_CHECK_FEATURE will properly handle non-ported
plugins and configure will report the list of non-ported plugins at the end

13 years agoMerge remote-tracking branch 'origin/master' into HEAD
Edward Hervey [Tue, 2 Aug 2011 09:26:45 +0000 (11:26 +0200)]
Merge remote-tracking branch 'origin/master' into HEAD

13 years agoorc.m4: cross-compile search for orcc.
Maarten Bosmans [Thu, 23 Jun 2011 18:23:53 +0000 (11:23 -0700)]
orc.m4: cross-compile search for orcc.

Search for orcc in the path when cross-compiling and the orcc
found by pkg-config doesn't work.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agogst-args.m4: remove duplicated "no" message
Stefan Kost [Sat, 11 Jun 2011 20:17:20 +0000 (23:17 +0300)]
gst-args.m4: remove duplicated "no" message

13 years agodocs: more out-of-srcdir plugin build fixing
Stefan Kost [Fri, 20 May 2011 14:29:58 +0000 (17:29 +0300)]
docs: more out-of-srcdir plugin build fixing

13 years agodocs: further implement merging from doc-updates
Stefan Kost [Thu, 19 May 2011 13:42:43 +0000 (16:42 +0300)]
docs: further implement merging from doc-updates

Also merge interfaces and prerequisites files. Sort types before outputing the
hierarchy. This already avoid delta that would just have re-ordered entries.

13 years agoscangobj: output detailed progress on make V=1
Stefan Kost [Thu, 19 May 2011 12:17:55 +0000 (15:17 +0300)]
scangobj: output detailed progress on make V=1

13 years agodocs: update todo comment
Stefan Kost [Wed, 18 May 2011 21:38:43 +0000 (00:38 +0300)]
docs: update todo comment

13 years agodocs: only use --verbose on gtkdoc-mkhtml where supported
Stefan Kost [Wed, 18 May 2011 20:07:16 +0000 (23:07 +0300)]
docs: only use --verbose on gtkdoc-mkhtml where supported

This would require gtk-doc >=1.18 (unreleased yet) and we don't want to do that
for cosmetic fixes.

13 years agoplugin-docs: remove needless inspect rule
Stefan Kost [Wed, 18 May 2011 20:02:08 +0000 (23:02 +0300)]
plugin-docs: remove needless inspect rule

This rule causes rebuilds during make install. We can ensure the directory
in the scanobj-build.stamp rule.

13 years agodocs: further reduce delta to upstream makefiles
Stefan Kost [Wed, 18 May 2011 20:00:32 +0000 (23:00 +0300)]
docs: further reduce delta to upstream makefiles

Also remove some cruft (e.g. the FC3 comments simplay don't make sense (anymore)
- the scanner is removing its own files).

13 years agodocs: don't install devhelp (1) files anymore
Stefan Kost [Wed, 18 May 2011 19:16:50 +0000 (22:16 +0300)]
docs: don't install devhelp (1) files anymore

Next gtk-doc release is dropping them too.

13 years agogst-feature.m4: Remove AG_GST_CHECK_CONFIGPROG
David Schleef [Tue, 10 May 2011 23:37:18 +0000 (16:37 -0700)]
gst-feature.m4: Remove AG_GST_CHECK_CONFIGPROG

No longer do we accept the abomination that is the -config
script.

13 years agoscangobj, make: behave according to build verbosity
Stefan Kost [Wed, 18 May 2011 12:58:48 +0000 (15:58 +0300)]
scangobj, make: behave according to build verbosity

Add --verbose parameter to scangobj (like upstream gtk-doc). Check the flags in
the makefile and pass them to the gtkdoc tools.

13 years agoscanobj-merge: fix python deprecation warning and be silent
Stefan Kost [Wed, 18 May 2011 12:56:46 +0000 (15:56 +0300)]
scanobj-merge: fix python deprecation warning and be silent

Remove the parameter as it was not used anyway.

13 years agogtk-doc*.mak: echo build style in a automake a like way
Stefan Kost [Mon, 2 May 2011 12:24:57 +0000 (15:24 +0300)]
gtk-doc*.mak: echo build style in a automake a like way

13 years agogtk-doc.mak: update setup, cleanup rules
Stefan Kost [Mon, 2 May 2011 11:36:42 +0000 (14:36 +0300)]
gtk-doc.mak: update setup, cleanup rules

Simplify files the rules (sync'ed to upstream).

13 years agogtk-doc*.mak: don't tee build log output to files
Stefan Kost [Mon, 2 May 2011 11:33:14 +0000 (14:33 +0300)]
gtk-doc*.mak: don't tee build log output to files

We can use gtkdoc-check if we want to have an automated way of e.g. failing
dist-check on incomplete docs.

13 years agogtk-doc*.mak: be a lot less noisy when building the docs.
Stefan Kost [Mon, 2 May 2011 11:22:53 +0000 (14:22 +0300)]
gtk-doc*.mak: be a lot less noisy when building the docs.

Don't echo the command we run.

13 years agogtk-doc.mak: remove non-sense setup.stamp and use setup-build.stamp
Stefan Kost [Mon, 2 May 2011 10:54:58 +0000 (13:54 +0300)]
gtk-doc.mak: remove non-sense setup.stamp and use setup-build.stamp

In gtk-doc some tools producs .stamp where the makefile rules produce -build.stamp.

13 years agoscangobj: be less noisy
Stefan Kost [Mon, 11 Apr 2011 07:33:35 +0000 (10:33 +0300)]
scangobj: be less noisy

Unify mixed use of g_print and g_message to use g_message and comment out by
default (would only be needed to debug things).

13 years agogst.supp: Ignore invalid reads in sed when generating the registry
Sebastian Dröge [Fri, 6 May 2011 12:05:23 +0000 (14:05 +0200)]
gst.supp: Ignore invalid reads in sed when generating the registry

sed is called because the registry helper application is started
via the libtool shell script.

13 years agogst.supp: Make __dcigettext() suppressions a bit more generic to also cover GstPreset
Sebastian Dröge [Fri, 6 May 2011 12:01:38 +0000 (14:01 +0200)]
gst.supp: Make __dcigettext() suppressions a bit more generic to also cover GstPreset

13 years agogst.supp: Add suppression for the GstSystemClock GstPoll
Sebastian Dröge [Fri, 6 May 2011 12:00:28 +0000 (14:00 +0200)]
gst.supp: Add suppression for the GstSystemClock GstPoll

GstSystemClock is a singleton and does not leak anything.

13 years agogst.supp: Add some suppressions for glibc 2.13-2 as in Debian/unstable
Sebastian Dröge [Fri, 6 May 2011 11:41:48 +0000 (13:41 +0200)]
gst.supp: Add some suppressions for glibc 2.13-2 as in Debian/unstable

13 years agogst.supp: make valgrind ignore leaks in the plugin scanner
Tim-Philipp Müller [Sun, 24 Apr 2011 12:43:23 +0000 (13:43 +0100)]
gst.supp: make valgrind ignore leaks in the plugin scanner

Ignore leaks in the exec'd plugin scanner, which doesn't clean up
properly.

13 years agogtk-doc-plugins.mak: don't cat the ununsed symbols
Stefan Kost [Mon, 4 Apr 2011 12:36:58 +0000 (15:36 +0300)]
gtk-doc-plugins.mak: don't cat the ununsed symbols

This is very noisy, we can check this during make check and anyway this list is
avavilable in the report file. Was introduced with commit 9a5025a2.

13 years agoscangobj: move unlinking the .new files to merge
Stefan Kost [Mon, 4 Apr 2011 12:30:49 +0000 (15:30 +0300)]
scangobj: move unlinking the .new files to merge

Add a comment to gstdpoc-scangobj and move the unlink to scangobj-merge. Ideally
we fold the functionality of scangobj-merge into gstdoc-scangobj.

13 years agogtk-doc-plugins.mak: Only check for the hierarchy file if gtk-doc is enabled
Sebastian Dröge [Fri, 25 Mar 2011 21:03:28 +0000 (22:03 +0100)]
gtk-doc-plugins.mak: Only check for the hierarchy file if gtk-doc is enabled

13 years agodistcheck: fix distcheck
Stefan Kost [Fri, 25 Mar 2011 12:51:45 +0000 (14:51 +0200)]
distcheck: fix distcheck

Clean inspect files. Don't leave *{args,signals}.new files.

13 years agoscanobj: use more named constants in ranges
Stefan Kost [Fri, 25 Mar 2011 12:50:24 +0000 (14:50 +0200)]
scanobj: use more named constants in ranges

Flip the order of case branches and make them fall through to also match the
constants for smaller sizes.

13 years agoscanobj: trim trailing whitespace
Stefan Kost [Fri, 25 Mar 2011 12:49:54 +0000 (14:49 +0200)]
scanobj: trim trailing whitespace

13 years agocoverage: The separator in the lcov -l output is a pipe, no colon
Sebastian Dröge [Fri, 25 Mar 2011 08:25:59 +0000 (09:25 +0100)]
coverage: The separator in the lcov -l output is a pipe, no colon

13 years agocoverage: Fix removal of coverage data for files outside our source tree
Sebastian Dröge [Fri, 25 Mar 2011 07:56:10 +0000 (08:56 +0100)]
coverage: Fix removal of coverage data for files outside our source tree

And remove the plugin scanner from the coverage data.

13 years agoplugin-docs: also allow updating docs in out-of-srcdir setup
Stefan Kost [Thu, 24 Mar 2011 16:38:55 +0000 (18:38 +0200)]
plugin-docs: also allow updating docs in out-of-srcdir setup

13 years agoplugin-docs: be less noisy
Stefan Kost [Thu, 24 Mar 2011 16:38:28 +0000 (18:38 +0200)]
plugin-docs: be less noisy

13 years agoplugin-docs: add 'inpsect' target to phony
Stefan Kost [Thu, 24 Mar 2011 16:24:03 +0000 (18:24 +0200)]
plugin-docs: add 'inpsect' target to phony

13 years agoplugin-docs: use the DOC_SOURCE_DIR from Makefile.am instead of an arbitrary one
Stefan Kost [Thu, 24 Mar 2011 16:23:15 +0000 (18:23 +0200)]
plugin-docs: use the DOC_SOURCE_DIR from Makefile.am instead of an arbitrary one

13 years agoplugin-docs: update comments
Stefan Kost [Thu, 24 Mar 2011 16:22:14 +0000 (18:22 +0200)]
plugin-docs: update comments

13 years agoplugin-docs: remove -undocumented from scan files
Stefan Kost [Thu, 24 Mar 2011 16:20:16 +0000 (18:20 +0200)]
plugin-docs: remove -undocumented from scan files

It is a report file. Clear the report files in addition instead.

13 years agoplugin-docs: set neutral local to minimize changes
Stefan Kost [Thu, 24 Mar 2011 16:19:09 +0000 (18:19 +0200)]
plugin-docs: set neutral local to minimize changes

13 years agoplugin-docs: don't hardcode the inspect dir all over the place
Stefan Kost [Thu, 24 Mar 2011 16:15:34 +0000 (18:15 +0200)]
plugin-docs: don't hardcode the inspect dir all over the place

13 years agoscanobj: sync with gtk-doc variant
Stefan Kost [Thu, 24 Mar 2011 15:46:42 +0000 (17:46 +0200)]
scanobj: sync with gtk-doc variant

Remve gtk/gdk specific code as we did in upstream. Add various small formatting
and robustness improvements.

13 years agospelling: fix spelling in comment and message
Stefan Kost [Thu, 24 Mar 2011 09:35:09 +0000 (11:35 +0200)]
spelling: fix spelling in comment and message

13 years agoAdd git post-receive hook so we can version control it
Tim-Philipp Müller [Thu, 3 Mar 2011 10:02:33 +0000 (10:02 +0000)]
Add git post-receive hook so we can version control it

Changes are not automatically propagated to the server though (yet).

Mind, the existing pre-receive.hook in git doesn't seem to match the
script installed on the git server, needs some updating on both ends.

13 years agogst-platform: cygwin/mingw; libtool setup macro to enable linking to static lib
Mark Nauwelaerts [Thu, 24 Feb 2011 18:11:49 +0000 (19:11 +0100)]
gst-platform: cygwin/mingw; libtool setup macro to enable linking to static lib

That is, linking a "real" static lib, rather than only static import lib,
into a (plugin) dll, as is necessarily the case for some plugins.

See #642507.

13 years agoAdd check for ! at beginning of commit messages
David Schleef [Thu, 13 Jan 2011 01:23:01 +0000 (17:23 -0800)]
Add check for ! at beginning of commit messages

13 years agoplugin-docs: add a proper disclean rules
Stefan Kost [Mon, 14 Feb 2011 10:48:23 +0000 (12:48 +0200)]
plugin-docs: add a proper disclean rules

Sync the dist clean rules with gtk-doc.m4. We need them e.g. in gst-plugins-bad
where we have also libs/interfaces.

13 years agogtk-doc: more srcdir<->builddir fixes
Stefan Kost [Tue, 11 Jan 2011 13:12:47 +0000 (15:12 +0200)]
gtk-doc: more srcdir<->builddir fixes

13 years agogtk-doc-plugins.mak set PKG_CONFIG_PATH when calling gstdoc-scangobj
Tim-Philipp Müller [Mon, 10 Jan 2011 16:28:43 +0000 (16:28 +0000)]
gtk-doc-plugins.mak set PKG_CONFIG_PATH when calling gstdoc-scangobj

ie. use PKG_CONFIG_PATH set at configure time (which gstdoc-scangobj
may use to find out which prefix gtk-doc was installed in).

13 years agogtk-doc.mak: use cp -p instead of cp -a
Edward Hervey [Fri, 7 Jan 2011 15:00:48 +0000 (16:00 +0100)]
gtk-doc.mak: use cp -p instead of cp -a

Fixes issues on macosx

Now this time leave it alone tpm, else you're not having any pudding !

13 years agoupdate-common: add gst-editing-services to modules to be updated
Tim-Philipp Müller [Mon, 10 Jan 2011 15:43:40 +0000 (15:43 +0000)]
update-common: add gst-editing-services to modules to be updated

13 years agogstdoc-scangobj: fix inclusion of gtkdoc-common.pl for non-standard gtk-doc installat...
Tim-Philipp Müller [Mon, 10 Jan 2011 14:40:54 +0000 (14:40 +0000)]
gstdoc-scangobj: fix inclusion of gtkdoc-common.pl for non-standard gtk-doc installation prefix

Based on patch by Edward Hervey.

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

13 years agogstdoc-scangobj: use /usr/bin/env perl instead of hard-coding /usr/bin/perl
Tim-Philipp Müller [Mon, 10 Jan 2011 14:40:02 +0000 (14:40 +0000)]
gstdoc-scangobj: use /usr/bin/env perl instead of hard-coding /usr/bin/perl

Should help the OSX build bot use the right perl version.

13 years agogtk-doc*.mak: use .NOTPARALLEL to avoid distcheck errors with -jN
Tim-Philipp Müller [Mon, 10 Jan 2011 14:15:18 +0000 (14:15 +0000)]
gtk-doc*.mak: use .NOTPARALLEL to avoid distcheck errors with -jN

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

13 years agogtk-doc.mak: use cp -p instead of cp -a
Edward Hervey [Fri, 7 Jan 2011 15:00:48 +0000 (16:00 +0100)]
gtk-doc.mak: use cp -p instead of cp -a

Fixes issues on macosx

13 years agogst.supp: Suppress libtool/gentoo bash complaints
Edward Hervey [Mon, 20 Dec 2010 16:42:05 +0000 (17:42 +0100)]
gst.supp: Suppress libtool/gentoo bash complaints

Due to gentoo's subtle (not) different libtool behaviour, valgrind
ends up complaining about leaks from the shell. Let's just suppress
any allocations coming from bash.

13 years agogst-glib2: add a enable-glib-asserts configure flag
Stefan Kost [Wed, 15 Dec 2010 12:51:06 +0000 (14:51 +0200)]
gst-glib2: add a enable-glib-asserts configure flag

We're also running some explesive checks and these can nowbe disabled
conviniently for end-user builds.

13 years agoupdate-common: also update gst-rtsp-server
Tim-Philipp Müller [Mon, 13 Dec 2010 15:19:23 +0000 (15:19 +0000)]
update-common: also update gst-rtsp-server

Now that it's been converted to use the common submodule

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 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

14 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.

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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).

14 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

14 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'.

14 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

14 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.

14 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