source: trunk/third/gstreamer/tools/gst-feedback-m.m @ 21005

Revision 21005, 2.2 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21004, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2# this script provides feedback for GStreamer debugging
3# the user can run this and provide the GStreamer developers with information
4# about their system
5
6command_output ()
7{
8  echo "+++ $1"
9  $1
10}
11
12echo "GStreamer feedback script."
13echo "Please attach the output of this script to your bug reports."
14echo "Bug reports should go into Gnome's bugzilla (http://bugzilla.gnome.org)"
15echo
16
17echo "+   SYSTEM INFORMATION"
18command_output "uname -a"
19
20if test -f /etc/redhat-release; then
21  echo "+++  distribution: Red Hat"
22  cat /etc/redhat-release
23fi
24
25if test -f /etc/debian_version; then
26  echo "+++  distribution: Debian"
27  cat /etc/debian_version
28fi
29
30command_output "cat /etc/issue"
31
32echo
33
34echo "+   USER INFORMATION"
35command_output "id"
36echo
37
38echo "+   PKG-CONFIG INFORMATION"
39for mm in 0.6 0.7 0.8
40do
41  echo "+   $mm"
42  command_output "pkg-config --version"
43  command_output "pkg-config gstreamer-$mm --modversion"
44  command_output "pkg-config gstreamer-$mm --cflags"
45  command_output "pkg-config gstreamer-$mm --libs"
46  command_output "pkg-config gstreamer-libs-$mm --modversion"
47  command_output "pkg-config gstreamer-libs-$mm --cflags"
48  command_output "pkg-config gstreamer-libs-$mm --libs"
49  echo
50done
51
52echo "+   GSTREAMER INFORMATION"
53command_output "which gst-register"
54command_output "gst-inspect"
55command_output "gst-inspect fakesrc"
56command_output "gst-inspect fakesink"
57command_output "gst-launch fakesrc num_buffers=5 ! fakesink"
58
59echo "++  looking for gstreamer libraries in common locations"
60for dirs in /usr/lib /usr/local/lib; do
61  if test -d $dirs; then
62    find $dirs -name libgstreamer* | grep so
63  fi
64done
65echo "++  looking for gstreamer headers in common locations"
66for dirs in /usr/include /usr/local/include; do
67  if test -d $dirs; then
68    find $dirs -name gst.h
69  fi
70done
71
72echo "+   GSTREAMER PLUG-INS INFORMATION"
73command_output "gst-inspect volume"
74
75echo "++  looking for gstreamer volume plugin in common locations"
76for dirs in /usr/lib /usr/local/lib; do
77  if test -d $dirs; then
78    find $dirs -name libgstvolume* | grep so
79  fi
80done
81echo "++  looking for gstreamer headers in common locations"
82for dirs in /usr/include /usr/local/include; do
83  if test -d $dirs; then
84    find $dirs -name audio.h
85  fi
86done
87
88
Note: See TracBrowser for help on using the repository browser.