2 # this script provides feedback for GStreamer debugging
3 # the user can run this and provide the GStreamer developers with information
12 echo "GStreamer feedback script."
13 echo "Please attach the output of this script to your bug reports."
14 echo "Bug reports should go into Gnome's bugzilla (http://bugzilla.gnome.org)"
17 echo "+ SYSTEM INFORMATION"
18 command_output "uname -a"
20 if test -f /etc/redhat-release; then
21 echo "+++ distribution: Red Hat"
22 cat /etc/redhat-release
25 if test -f /etc/debian_version; then
26 echo "+++ distribution: Debian"
27 cat /etc/debian_version
30 command_output "cat /etc/issue"
34 echo "+ USER INFORMATION"
38 echo "+ PKG-CONFIG INFORMATION"
39 command_output "pkg-config --version"
40 command_output "pkg-config gstreamer --modversion"
41 command_output "pkg-config gstreamer --cflags"
42 command_output "pkg-config gstreamer --libs"
43 command_output "pkg-config gstreamer-libs --modversion"
44 command_output "pkg-config gstreamer-libs --cflags"
45 command_output "pkg-config gstreamer-libs --libs"
48 echo "+ GSTREAMER INFORMATION"
49 command_output "which gst-register"
50 command_output "gst-inspect"
51 command_output "gst-inspect fakesrc"
52 command_output "gst-inspect fakesink"
53 command_output "gst-launch fakesrc num_buffers=5 ! fakesink"
55 echo "++ looking for gstreamer libraries in common locations"
56 for dirs in /usr/lib /usr/local/lib /home; do
57 if test -d $dirs; then
58 find $dirs -name libgstreamer* | grep so
61 echo "++ looking for gstreamer headers in common locations"
62 for dirs in /usr/include /usr/local/include /home; do
63 if test -d $dirs; then
64 find $dirs -name gst.h
68 echo "+ GSTREAMER PLUG-INS INFORMATION"
69 command_output "gst-inspect volume"
71 echo "++ looking for gstreamer volume plugin in common locations"
72 for dirs in /usr/lib /usr/local/lib /home; do
73 if test -d $dirs; then
74 find $dirs -name libgstvolume* | grep so
77 echo "++ looking for gstreamer headers in common locations"
78 for dirs in /usr/include /usr/local/include /home; do
79 if test -d $dirs; then
80 find $dirs -name audio.h