From: Tim-Philipp Müller Date: Sat, 4 Jun 2011 13:22:05 +0000 (+0100) Subject: tools: remove gst-feedback X-Git-Tag: RELEASE-0.11.0~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=548856596d4c6c6110312bb28493d00b74352bfc;p=platform%2Fupstream%2Fgstreamer.git tools: remove gst-feedback It's not really that useful, and no one's been using it for years. --- diff --git a/docs/faq/using.xml b/docs/faq/using.xml index 395f6b8..4ee7eed 100644 --- a/docs/faq/using.xml +++ b/docs/faq/using.xml @@ -154,19 +154,6 @@ how you installed GStreamer (from git, source, packages, which ?) -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 - -myapp --gst-mask=-1 > mask.log 2>&1 -gzip mask.log - -(interrupting the program if it doesn't stop by itself) -and attach mask.log.gz to your bug report. - - If the application you are having problems with is segfaulting, then provide us with the necessary gdb output. See diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 7a542fd..63e6988 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -16,8 +16,6 @@ Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: gstreamer-tools >= %{version} -# gst-feedback uses these -Requires: which, pkgconfig BuildRequires: glib2-devel >= %{_glib2} BuildRequires: libxml2-devel >= %{_libxml2} @@ -143,14 +141,12 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so %{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so -%{_bindir}/gst-feedback-%{majorminor} %{_bindir}/gst-inspect-%{majorminor} %{_bindir}/gst-launch-%{majorminor} %{_bindir}/gst-typefind-%{majorminor} %{_bindir}/gst-xmlinspect-%{majorminor} %{_bindir}/gst-xmllaunch-%{majorminor} %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner -%doc %{_mandir}/man1/gst-feedback-%{majorminor}.* %doc %{_mandir}/man1/gst-inspect-%{majorminor}.* %doc %{_mandir}/man1/gst-launch-%{majorminor}.* %doc %{_mandir}/man1/gst-typefind-%{majorminor}.* @@ -172,7 +168,6 @@ rm -rf $RPM_BUILD_ROOT %files -n gstreamer-tools %defattr(-, root, root, -) -%{_bindir}/gst-feedback %{_bindir}/gst-inspect %{_bindir}/gst-launch %{_bindir}/gst-typefind diff --git a/tools/.gitignore b/tools/.gitignore index b484bbd..030aa44 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -12,33 +12,18 @@ Makefile.in *.da *.gcno -gst-complete -gst-compprep -gst-feedback gst-inspect gst-launch -gst-md5sum -gst-register gst-typefind gst-xmlinspect gst-xmllaunch -gst-complete.1 -gst-compprep.1 -gst-feedback.1 gst-inspect.1 gst-launch.1 -gst-md5sum.1 -gst-register.1 gst-typefind.1 gst-xmllaunch.1 -gst-complete-?.?* -gst-compprep-?.?* -gst-feedback-?.?* gst-inspect-?.?* gst-launch-?.?* -gst-md5sum-?.?* -gst-register-?.?* gst-typefind-?.?* gst-xmlinspect-?.?* gst-xmllaunch-?.?* diff --git a/tools/Makefile.am b/tools/Makefile.am index 46d70fb..6448e3b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -19,7 +19,6 @@ endif GST_OTHER_SRC = \ - gst-feedback \ gst-inspect \ gst-typefind \ gst-xmlinspect @@ -33,7 +32,6 @@ bin_PROGRAMS = \ $(GST_LOADSAVE_SRC) $(GST_LOADSAVE_SRC_V) \ $(GST_PARSE_SRC) $(GST_PARSE_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 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@_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 if !GST_DISABLE_LOADSAVE gst_xmllaunch_SOURCES = gst-run.c @@ -71,7 +65,6 @@ if !GST_DISABLE_PARSE gst_launch_SOURCES = gst-run.c endif -gst_feedback_SOURCES = gst-run.c gst_inspect_SOURCES = gst-run.c gst_typefind_SOURCES = gst-run.c gst_xmlinspect_SOURCES = gst-run.c @@ -114,14 +107,13 @@ endif GST_OTHER_MAN = \ - gst-feedback-@GST_MAJORMINOR@.1 \ gst-inspect-@GST_MAJORMINOR@.1 \ gst-typefind-@GST_MAJORMINOR@.1 \ gst-xmlinspect-@GST_MAJORMINOR@.1 manpages = $(GST_LOADSAVE_MAN) $(GST_PARSE_MAN) $(GST_OTHER_MAN) -CLEANFILES = $(manpages) $(bin_SCRIPTS) *.gcno *.gcda +CLEANFILES = $(manpages) *.gcno *.gcda man_MANS = $(manpages) # developer helper tools, not meant for installation @@ -131,18 +123,15 @@ noinst_HEADERS = tools.h EXTRA_DIST = \ $(noinst_SCRIPTS) \ - gst-feedback.1.in \ gst-inspect.1.in \ gst-launch.1.in \ gst-typefind.1.in \ gst-xmlinspect.1.in \ gst-xmllaunch.1.in \ - gst-feedback-m.m \ gst-plot-timeline.py %-@GST_MAJORMINOR@.1: %.1.in $(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-launch,gst-launch-@GST_MAJORMINOR@,g \ -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \ diff --git a/tools/gst-feedback-m.m b/tools/gst-feedback-m.m deleted file mode 100755 index d3f6e94..0000000 --- a/tools/gst-feedback-m.m +++ /dev/null @@ -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 - - diff --git a/tools/gst-feedback.1.in b/tools/gst-feedback.1.in deleted file mode 100644 index 3b63291..0000000 --- a/tools/gst-feedback.1.in +++ /dev/null @@ -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/