gst-launch: add -c, --toc to print the toc
[platform/upstream/gstreamer.git] / tools / gst-feedback-m.m
index 28c1876..0365182 100755 (executable)
@@ -36,30 +36,57 @@ command_output "id"
 echo
 
 echo "+   PKG-CONFIG INFORMATION"
-command_output "pkg-config --version"
-command_output "pkg-config gstreamer --modversion"
-command_output "pkg-config gstreamer --cflags"
-command_output "pkg-config gstreamer --libs"
-command_output "pkg-config gstreamer-libs --modversion"
-command_output "pkg-config gstreamer-libs --cflags"
-command_output "pkg-config gstreamer-libs --libs"
-echo
+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"
-command_output "which gst-register"
+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"
+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 /home; do
+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 /home; do
+for dirs in /usr/include /usr/local/include; do
   if test -d $dirs; then
     find $dirs -name gst.h
   fi
@@ -67,15 +94,19 @@ 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 /home; do
+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 /home; do
+for dirs in /usr/include /usr/local/include; do
   if test -d $dirs; then
     find $dirs -name audio.h
   fi