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"
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"
52 echo "+ GSTREAMER INFORMATION"
53 command_output "which gst-register"
54 command_output "gst-inspect"
55 command_output "gst-inspect fakesrc"
56 command_output "gst-inspect fakesink"
57 command_output "gst-launch fakesrc num_buffers=5 ! fakesink"
59 echo "++ looking for gstreamer libraries in common locations"
60 for dirs in /usr/lib /usr/local/lib; do
61 if test -d $dirs; then
62 find $dirs -name libgstreamer* | grep so
65 echo "++ looking for gstreamer headers in common locations"
66 for dirs in /usr/include /usr/local/include; do
67 if test -d $dirs; then
68 find $dirs -name gst.h
72 echo "+ GSTREAMER PLUG-INS INFORMATION"
73 command_output "gst-inspect volume"
75 echo "++ looking for gstreamer volume plugin in common locations"
76 for dirs in /usr/lib /usr/local/lib; do
77 if test -d $dirs; then
78 find $dirs -name libgstvolume* | grep so
81 echo "++ looking for gstreamer headers in common locations"
82 for dirs in /usr/include /usr/local/include; do
83 if test -d $dirs; then
84 find $dirs -name audio.h