2004-03-09 17:50:43 +00:00
|
|
|
#!/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"
|
2004-03-14 17:54:22 +00:00
|
|
|
for mm in 0.6 0.7 0.8
|
|
|
|
do
|
|
|
|
echo "+ $mm"
|
|
|
|
command_output "pkg-config --version"
|
2005-12-16 11:52:00 +00:00
|
|
|
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
|
2004-03-14 17:54:22 +00:00
|
|
|
echo
|
|
|
|
done
|
2004-03-09 17:50:43 +00:00
|
|
|
|
2005-12-16 11:52:00 +00:00
|
|
|
for mm in 0.9 0.10
|
|
|
|
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
|
|
|
|
|
2006-06-21 10:14:00 +00:00
|
|
|
echo "+ GSTREAMER INFORMATION (unversioned)"
|
2005-12-16 11:52:00 +00:00
|
|
|
command_output "which gst-inspect"
|
2004-03-09 17:50:43 +00:00
|
|
|
command_output "gst-inspect"
|
|
|
|
command_output "gst-inspect fakesrc"
|
|
|
|
command_output "gst-inspect fakesink"
|
2006-06-21 10:14:00 +00:00
|
|
|
command_output "gst-launch fakesrc num-buffers=5 ! fakesink"
|
|
|
|
for mm in 0.6 0.7 0.8 0.9 0.10
|
|
|
|
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
|
2004-03-09 17:50:43 +00:00
|
|
|
|
|
|
|
echo "++ looking for gstreamer libraries in common locations"
|
2004-03-14 17:54:22 +00:00
|
|
|
for dirs in /usr/lib /usr/local/lib; do
|
2004-03-09 17:50:43 +00:00
|
|
|
if test -d $dirs; then
|
|
|
|
find $dirs -name libgstreamer* | grep so
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo "++ looking for gstreamer headers in common locations"
|
2004-03-14 17:54:22 +00:00
|
|
|
for dirs in /usr/include /usr/local/include; do
|
2004-03-09 17:50:43 +00:00
|
|
|
if test -d $dirs; then
|
|
|
|
find $dirs -name gst.h
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "+ GSTREAMER PLUG-INS INFORMATION"
|
|
|
|
command_output "gst-inspect volume"
|
2006-06-21 10:14:00 +00:00
|
|
|
for mm in 0.6 0.7 0.8 0.9 0.10
|
|
|
|
do
|
|
|
|
command_output "gst-inspect-$mm volume"
|
|
|
|
done
|
2004-03-09 17:50:43 +00:00
|
|
|
|
|
|
|
echo "++ looking for gstreamer volume plugin in common locations"
|
2004-03-14 17:54:22 +00:00
|
|
|
for dirs in /usr/lib /usr/local/lib; do
|
2004-03-09 17:50:43 +00:00
|
|
|
if test -d $dirs; then
|
|
|
|
find $dirs -name libgstvolume* | grep so
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo "++ looking for gstreamer headers in common locations"
|
2004-03-14 17:54:22 +00:00
|
|
|
for dirs in /usr/include /usr/local/include; do
|
2004-03-09 17:50:43 +00:00
|
|
|
if test -d $dirs; then
|
|
|
|
find $dirs -name audio.h
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
|