-
Notifications
You must be signed in to change notification settings - Fork 0
/
gst-feedback-0.10
115 lines (99 loc) · 3.1 KB
/
gst-feedback-0.10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#!/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" 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
echo
done
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
echo "+ GSTREAMER INFORMATION (unversioned)"
command_output "which gst-inspect"
command_output "gst-inspect"
command_output "gst-inspect fakesrc"
command_output "gst-inspect fakesink"
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
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"
for mm in 0.6 0.7 0.8 0.9 0.10
do
command_output "gst-inspect-$mm volume"
done
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