mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
tools: remove gst-feedback
It's not really that useful, and no one's been using it for years.
This commit is contained in:
parent
9e20c4eadc
commit
548856596d
6 changed files with 1 additions and 198 deletions
|
@ -154,19 +154,6 @@ how you installed GStreamer (from git, source, packages, which ?)</para></listit
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
It also is useful for us if you attach output of
|
|
||||||
the gst-feedback command to your bug report.
|
|
||||||
If you're having problem with a specific application (either one of ours,
|
|
||||||
somebody else's, or your own), please also provide a log of gst-mask by
|
|
||||||
running
|
|
||||||
<programlisting>
|
|
||||||
myapp --gst-mask=-1 > mask.log 2>&1
|
|
||||||
gzip mask.log
|
|
||||||
</programlisting>
|
|
||||||
(interrupting the program if it doesn't stop by itself)
|
|
||||||
and attach mask.log.gz to your bug report.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
If the application you are having problems with is segfaulting, then
|
If the application you are having problems with is segfaulting, then
|
||||||
provide us with the necessary gdb output. See
|
provide us with the necessary gdb output. See
|
||||||
<xref linkend="troubleshooting-segfault" endterm="troubleshooting-segfault"/>
|
<xref linkend="troubleshooting-segfault" endterm="troubleshooting-segfault"/>
|
||||||
|
|
|
@ -16,8 +16,6 @@ Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: gstreamer-tools >= %{version}
|
Requires: gstreamer-tools >= %{version}
|
||||||
# gst-feedback uses these
|
|
||||||
Requires: which, pkgconfig
|
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= %{_glib2}
|
BuildRequires: glib2-devel >= %{_glib2}
|
||||||
BuildRequires: libxml2-devel >= %{_libxml2}
|
BuildRequires: libxml2-devel >= %{_libxml2}
|
||||||
|
@ -143,14 +141,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
|
||||||
|
|
||||||
%{_bindir}/gst-feedback-%{majorminor}
|
|
||||||
%{_bindir}/gst-inspect-%{majorminor}
|
%{_bindir}/gst-inspect-%{majorminor}
|
||||||
%{_bindir}/gst-launch-%{majorminor}
|
%{_bindir}/gst-launch-%{majorminor}
|
||||||
%{_bindir}/gst-typefind-%{majorminor}
|
%{_bindir}/gst-typefind-%{majorminor}
|
||||||
%{_bindir}/gst-xmlinspect-%{majorminor}
|
%{_bindir}/gst-xmlinspect-%{majorminor}
|
||||||
%{_bindir}/gst-xmllaunch-%{majorminor}
|
%{_bindir}/gst-xmllaunch-%{majorminor}
|
||||||
%{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
|
%{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
|
||||||
%doc %{_mandir}/man1/gst-feedback-%{majorminor}.*
|
|
||||||
%doc %{_mandir}/man1/gst-inspect-%{majorminor}.*
|
%doc %{_mandir}/man1/gst-inspect-%{majorminor}.*
|
||||||
%doc %{_mandir}/man1/gst-launch-%{majorminor}.*
|
%doc %{_mandir}/man1/gst-launch-%{majorminor}.*
|
||||||
%doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
|
%doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
|
||||||
|
@ -172,7 +168,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -n gstreamer-tools
|
%files -n gstreamer-tools
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%{_bindir}/gst-feedback
|
|
||||||
%{_bindir}/gst-inspect
|
%{_bindir}/gst-inspect
|
||||||
%{_bindir}/gst-launch
|
%{_bindir}/gst-launch
|
||||||
%{_bindir}/gst-typefind
|
%{_bindir}/gst-typefind
|
||||||
|
|
15
tools/.gitignore
vendored
15
tools/.gitignore
vendored
|
@ -12,33 +12,18 @@ Makefile.in
|
||||||
*.da
|
*.da
|
||||||
*.gcno
|
*.gcno
|
||||||
|
|
||||||
gst-complete
|
|
||||||
gst-compprep
|
|
||||||
gst-feedback
|
|
||||||
gst-inspect
|
gst-inspect
|
||||||
gst-launch
|
gst-launch
|
||||||
gst-md5sum
|
|
||||||
gst-register
|
|
||||||
gst-typefind
|
gst-typefind
|
||||||
gst-xmlinspect
|
gst-xmlinspect
|
||||||
gst-xmllaunch
|
gst-xmllaunch
|
||||||
gst-complete.1
|
|
||||||
gst-compprep.1
|
|
||||||
gst-feedback.1
|
|
||||||
gst-inspect.1
|
gst-inspect.1
|
||||||
gst-launch.1
|
gst-launch.1
|
||||||
gst-md5sum.1
|
|
||||||
gst-register.1
|
|
||||||
gst-typefind.1
|
gst-typefind.1
|
||||||
gst-xmllaunch.1
|
gst-xmllaunch.1
|
||||||
|
|
||||||
gst-complete-?.?*
|
|
||||||
gst-compprep-?.?*
|
|
||||||
gst-feedback-?.?*
|
|
||||||
gst-inspect-?.?*
|
gst-inspect-?.?*
|
||||||
gst-launch-?.?*
|
gst-launch-?.?*
|
||||||
gst-md5sum-?.?*
|
|
||||||
gst-register-?.?*
|
|
||||||
gst-typefind-?.?*
|
gst-typefind-?.?*
|
||||||
gst-xmlinspect-?.?*
|
gst-xmlinspect-?.?*
|
||||||
gst-xmllaunch-?.?*
|
gst-xmllaunch-?.?*
|
||||||
|
|
|
@ -19,7 +19,6 @@ endif
|
||||||
|
|
||||||
|
|
||||||
GST_OTHER_SRC = \
|
GST_OTHER_SRC = \
|
||||||
gst-feedback \
|
|
||||||
gst-inspect \
|
gst-inspect \
|
||||||
gst-typefind \
|
gst-typefind \
|
||||||
gst-xmlinspect
|
gst-xmlinspect
|
||||||
|
@ -33,7 +32,6 @@ bin_PROGRAMS = \
|
||||||
$(GST_LOADSAVE_SRC) $(GST_LOADSAVE_SRC_V) \
|
$(GST_LOADSAVE_SRC) $(GST_LOADSAVE_SRC_V) \
|
||||||
$(GST_PARSE_SRC) $(GST_PARSE_SRC_V) \
|
$(GST_PARSE_SRC) $(GST_PARSE_SRC_V) \
|
||||||
$(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
|
$(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
|
||||||
bin_SCRIPTS = gst-feedback-@GST_MAJORMINOR@
|
|
||||||
|
|
||||||
# make sure each versioned tool has the right source file and flags
|
# make sure each versioned tool has the right source file and flags
|
||||||
if !GST_DISABLE_LOADSAVE
|
if !GST_DISABLE_LOADSAVE
|
||||||
|
@ -58,10 +56,6 @@ gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-xmlinspect.c tools.h
|
||||||
gst_xmlinspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
gst_xmlinspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
gst_xmlinspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
|
gst_xmlinspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
|
||||||
|
|
||||||
gst-feedback-@GST_MAJORMINOR@: gst-feedback-m.m
|
|
||||||
$(AM_V_GEN)cp $(srcdir)/gst-feedback-m.m $@ && \
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
# make sure each unversioned tool comes from gst-run.c
|
# make sure each unversioned tool comes from gst-run.c
|
||||||
if !GST_DISABLE_LOADSAVE
|
if !GST_DISABLE_LOADSAVE
|
||||||
gst_xmllaunch_SOURCES = gst-run.c
|
gst_xmllaunch_SOURCES = gst-run.c
|
||||||
|
@ -71,7 +65,6 @@ if !GST_DISABLE_PARSE
|
||||||
gst_launch_SOURCES = gst-run.c
|
gst_launch_SOURCES = gst-run.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
gst_feedback_SOURCES = gst-run.c
|
|
||||||
gst_inspect_SOURCES = gst-run.c
|
gst_inspect_SOURCES = gst-run.c
|
||||||
gst_typefind_SOURCES = gst-run.c
|
gst_typefind_SOURCES = gst-run.c
|
||||||
gst_xmlinspect_SOURCES = gst-run.c
|
gst_xmlinspect_SOURCES = gst-run.c
|
||||||
|
@ -114,14 +107,13 @@ endif
|
||||||
|
|
||||||
|
|
||||||
GST_OTHER_MAN = \
|
GST_OTHER_MAN = \
|
||||||
gst-feedback-@GST_MAJORMINOR@.1 \
|
|
||||||
gst-inspect-@GST_MAJORMINOR@.1 \
|
gst-inspect-@GST_MAJORMINOR@.1 \
|
||||||
gst-typefind-@GST_MAJORMINOR@.1 \
|
gst-typefind-@GST_MAJORMINOR@.1 \
|
||||||
gst-xmlinspect-@GST_MAJORMINOR@.1
|
gst-xmlinspect-@GST_MAJORMINOR@.1
|
||||||
|
|
||||||
manpages = $(GST_LOADSAVE_MAN) $(GST_PARSE_MAN) $(GST_OTHER_MAN)
|
manpages = $(GST_LOADSAVE_MAN) $(GST_PARSE_MAN) $(GST_OTHER_MAN)
|
||||||
|
|
||||||
CLEANFILES = $(manpages) $(bin_SCRIPTS) *.gcno *.gcda
|
CLEANFILES = $(manpages) *.gcno *.gcda
|
||||||
man_MANS = $(manpages)
|
man_MANS = $(manpages)
|
||||||
|
|
||||||
# developer helper tools, not meant for installation
|
# developer helper tools, not meant for installation
|
||||||
|
@ -131,18 +123,15 @@ noinst_HEADERS = tools.h
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(noinst_SCRIPTS) \
|
$(noinst_SCRIPTS) \
|
||||||
gst-feedback.1.in \
|
|
||||||
gst-inspect.1.in \
|
gst-inspect.1.in \
|
||||||
gst-launch.1.in \
|
gst-launch.1.in \
|
||||||
gst-typefind.1.in \
|
gst-typefind.1.in \
|
||||||
gst-xmlinspect.1.in \
|
gst-xmlinspect.1.in \
|
||||||
gst-xmllaunch.1.in \
|
gst-xmllaunch.1.in \
|
||||||
gst-feedback-m.m \
|
|
||||||
gst-plot-timeline.py
|
gst-plot-timeline.py
|
||||||
|
|
||||||
%-@GST_MAJORMINOR@.1: %.1.in
|
%-@GST_MAJORMINOR@.1: %.1.in
|
||||||
$(AM_V_GEN)sed \
|
$(AM_V_GEN)sed \
|
||||||
-e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
|
|
||||||
-e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
|
-e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
|
||||||
-e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
|
-e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
|
||||||
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
||||||
|
|
|
@ -1,115 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# this script provides feedback for GStreamer debugging
|
|
||||||
# the user can run this and provide the GStreamer developers with information
|
|
||||||
# about their system
|
|
||||||
|
|
||||||
command_output ()
|
|
||||||
{
|
|
||||||
echo "+++ $1"
|
|
||||||
$1
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "GStreamer feedback script."
|
|
||||||
echo "Please attach the output of this script to your bug reports."
|
|
||||||
echo "Bug reports should go into Gnome's bugzilla (http://bugzilla.gnome.org)"
|
|
||||||
echo
|
|
||||||
|
|
||||||
echo "+ SYSTEM INFORMATION"
|
|
||||||
command_output "uname -a"
|
|
||||||
|
|
||||||
if test -f /etc/redhat-release; then
|
|
||||||
echo "+++ distribution: Red Hat"
|
|
||||||
cat /etc/redhat-release
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -f /etc/debian_version; then
|
|
||||||
echo "+++ distribution: Debian"
|
|
||||||
cat /etc/debian_version
|
|
||||||
fi
|
|
||||||
|
|
||||||
command_output "cat /etc/issue"
|
|
||||||
|
|
||||||
echo
|
|
||||||
|
|
||||||
echo "+ USER INFORMATION"
|
|
||||||
command_output "id"
|
|
||||||
echo
|
|
||||||
|
|
||||||
echo "+ PKG-CONFIG INFORMATION"
|
|
||||||
for mm in 0.6 0.7 0.8
|
|
||||||
do
|
|
||||||
echo "+ $mm"
|
|
||||||
command_output "pkg-config --version"
|
|
||||||
command_output "pkg-config gstreamer-$mm --modversion" 2>/dev/null
|
|
||||||
command_output "pkg-config gstreamer-$mm --cflags" 2>/dev/null
|
|
||||||
command_output "pkg-config gstreamer-$mm --libs" 2>/dev/null
|
|
||||||
command_output "pkg-config gstreamer-libs-$mm --modversion" 2>/dev/null
|
|
||||||
command_output "pkg-config gstreamer-libs-$mm --cflags" 2>/dev/null
|
|
||||||
command_output "pkg-config gstreamer-libs-$mm --libs" 2>/dev/null
|
|
||||||
echo
|
|
||||||
done
|
|
||||||
|
|
||||||
for mm in 0.9 0.10 0.11
|
|
||||||
do
|
|
||||||
for module in gstreamer gstreamer-base gstreamer-check gstreamer-controller\
|
|
||||||
gstreamer-dataprotocol gstreamer-plugins-base gstreamer-net\
|
|
||||||
gst-python
|
|
||||||
do
|
|
||||||
echo "+ $mm"
|
|
||||||
command_output "pkg-config $module-$mm --modversion" 2>/dev/null
|
|
||||||
command_output "pkg-config $module-$mm --cflags" 2>/dev/null
|
|
||||||
command_output "pkg-config $module-$mm --libs" 2>/dev/null
|
|
||||||
echo
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "+ GSTREAMER INFORMATION (unversioned)"
|
|
||||||
command_output "which gst-inspect"
|
|
||||||
command_output "gst-inspect"
|
|
||||||
command_output "gst-inspect fakesrc"
|
|
||||||
command_output "gst-inspect fakesink"
|
|
||||||
command_output "gst-launch fakesrc num-buffers=5 ! fakesink"
|
|
||||||
for mm in 0.6 0.7 0.8 0.9 0.10 0.11
|
|
||||||
do
|
|
||||||
echo "+ GSTREAMER INFORMATION ($mm)"
|
|
||||||
command_output "which gst-inspect-$mm"
|
|
||||||
command_output "gst-inspect-$mm"
|
|
||||||
command_output "gst-inspect-$mm fakesrc"
|
|
||||||
command_output "gst-inspect-$mm fakesink"
|
|
||||||
command_output "gst-launch-$mm fakesrc num-buffers=5 ! fakesink"
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "++ looking for gstreamer libraries in common locations"
|
|
||||||
for dirs in /usr/lib /usr/local/lib; do
|
|
||||||
if test -d $dirs; then
|
|
||||||
find $dirs -name libgstreamer* | grep so
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
echo "++ looking for gstreamer headers in common locations"
|
|
||||||
for dirs in /usr/include /usr/local/include; do
|
|
||||||
if test -d $dirs; then
|
|
||||||
find $dirs -name gst.h
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "+ GSTREAMER PLUG-INS INFORMATION"
|
|
||||||
command_output "gst-inspect volume"
|
|
||||||
for mm in 0.6 0.7 0.8 0.9 0.10 0.11
|
|
||||||
do
|
|
||||||
command_output "gst-inspect-$mm volume"
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "++ looking for gstreamer volume plugin in common locations"
|
|
||||||
for dirs in /usr/lib /usr/local/lib; do
|
|
||||||
if test -d $dirs; then
|
|
||||||
find $dirs -name libgstvolume* | grep so
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
echo "++ looking for gstreamer headers in common locations"
|
|
||||||
for dirs in /usr/include /usr/local/include; do
|
|
||||||
if test -d $dirs; then
|
|
||||||
find $dirs -name audio.h
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
.TH GStreamer 1 "June 2002"
|
|
||||||
.SH "NAME"
|
|
||||||
gst\-feedback - generate debug info for GStreamer bug reports
|
|
||||||
.SH "SYNOPSIS"
|
|
||||||
.B gst-feedback
|
|
||||||
.SH "DESCRIPTION"
|
|
||||||
.PP
|
|
||||||
\fIgst\-feedback\fP is a utility that scans the system for various
|
|
||||||
information that is useful to GStreamer developers to help diagnose
|
|
||||||
user problem.
|
|
||||||
.PP
|
|
||||||
Depending on the type of bug report, it may be useful to attach the
|
|
||||||
output of \fIgst\-feedback\fP when you contact the developers.
|
|
||||||
.PP
|
|
||||||
NOTE: The current version of this script scans many dirs:
|
|
||||||
/usr/lib /usr/local/lib /home /usr/include /usr/local/include /home (again)
|
|
||||||
for various GStreamer installations. Depending on your system you may not
|
|
||||||
want to do this. Improvements to the script are welcome.
|
|
||||||
.SH "USAGE"
|
|
||||||
Generate the feedback information by running \fIgst\-feedback\fP:
|
|
||||||
.TP 8
|
|
||||||
.B gst\-feedback
|
|
||||||
.TP -8
|
|
||||||
Possibly redirect output and errors to a file:
|
|
||||||
.TP 8
|
|
||||||
.B gst\-feedback &> myfeedback
|
|
||||||
.SH "WARNING"
|
|
||||||
The \fIgst\-feedback\fP dumps a lot of information about a system, some
|
|
||||||
of which may be considered sensitive. If this is a concern, review the
|
|
||||||
information before posting to a public forum, such as the GStreamer bug
|
|
||||||
tracking system.
|
|
||||||
.
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
.BR gst\-inspect (1),
|
|
||||||
.BR gst\-launch (1),
|
|
||||||
.BR gst\-typefind (1)
|
|
||||||
.SH "AUTHOR"
|
|
||||||
The GStreamer team at http://gstreamer.freedesktop.org/
|
|
Loading…
Reference in a new issue