mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
c01cd4e835
Original commit message from CVS: g_error fix, m/m version fix
88 lines
2.2 KiB
Bash
Executable file
88 lines
2.2 KiB
Bash
Executable file
#!/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"
|
|
command_output "pkg-config gstreamer-$mm --cflags"
|
|
command_output "pkg-config gstreamer-$mm --libs"
|
|
command_output "pkg-config gstreamer-libs-$mm --modversion"
|
|
command_output "pkg-config gstreamer-libs-$mm --cflags"
|
|
command_output "pkg-config gstreamer-libs-$mm --libs"
|
|
echo
|
|
done
|
|
|
|
echo "+ GSTREAMER INFORMATION"
|
|
command_output "which gst-register"
|
|
command_output "gst-inspect"
|
|
command_output "gst-inspect fakesrc"
|
|
command_output "gst-inspect fakesink"
|
|
command_output "gst-launch fakesrc num_buffers=5 ! fakesink"
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
|