gstreamer/tools
David Rothlisberger 9f5e9c8632 tools/gstreamer-completion: Allow 1.0 and 0.10 scripts installed simultaneously
As long as the scripts' filenames are different, and the _gst_inspect
and _gst_launch functions are named differently, the completion scripts
for GStreamer 1.0 and 0.10 can be installed side-by-side in
/etc/bash_completion.d.

On my 0.10 branch† the completion script is renamed to
"gstreamer-completion-0.10" and the functions are renamed to
"_gst_inspect_0_10" and "_gst_launch_0_10". The remaining helper
functions should remain identical (the command-line interface to
gst-inspect hasn't changed, nor has the format of the gst-launch
pipeline), so it doesn't matter if the 1.0 script overrides the 0.10
script's definitions.

Note that I don't expect there to be another GStreamer 0.10 release, so
the 0.10 completion script will probably never be officially released;
but it is still worthwhile allowing both scripts to be installed
alongside each other, for those who install the 0.10 completion script
manually.

Fixes: #690515https://github.com/drothlis/gstreamer/blob/bash-completion-0.10/tools/gstreamer-completion-0.10
2013-04-29 21:17:23 +02:00
..
.gitignore Remove everything libxml2- and loadsave-related 2011-06-04 15:22:06 +01:00
gst-indent gst-indent: Add --leave-preprocessor-space for indent 2.2.11 2010-04-03 20:51:17 +02:00
gst-inspect.1.in docs: fix typo on gst-inspect man page 2010-07-16 18:20:57 +01:00
gst-inspect.c gst-inspect: only add a '*' for non-'gpointer' pointers 2013-04-13 12:00:12 +01:00
gst-launch.1.in docs: flesh out gst-launch-1.0 man page a little 2013-02-13 23:27:16 +00:00
gst-launch.c tools: update for latest context API changes 2013-04-18 10:13:30 +01:00
gst-plot-timeline.py docs: some 0.10 -> 1.0 changes 2012-10-02 13:22:35 +02:00
gst-typefind.1.in docs: updates 2012-09-25 17:06:45 +02:00
gst-typefind.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstreamer-completion tools/gstreamer-completion: Allow 1.0 and 0.10 scripts installed simultaneously 2013-04-29 21:17:23 +02:00
Makefile.am gst: Change versioning 2012-04-04 14:28:55 +02:00
tools.h Fix FSF address 2012-11-03 20:44:48 +00:00