2 # gstreamer auto-builder
5 # check out fresh gstreamer cvs code anonymously, configure, build
8 # * check out source twice, compare, to make sure we don't get code
10 # * add rpm building if allowed
11 # * maybe change dir where stuff gets built ?
15 export DISPLAY=:0.0 # gtk-scandoc needs an X server
20 echo -n "+ Starting on "
24 # delete gstreamer dir if it exists
25 if test -e $BR/gstreamer
27 echo "+ Deleting $BR/gstreamer"
28 chmod u+rwx -R /tmp/gstreamer
35 echo "+ Checking out source code"
36 cvs -z3 -d:pserver:anonymous@cvs.gstreamer.sourceforge.net:/cvsroot/gstreamer co gstreamer > cvs.log 2>&1
42 echo "+ Running ./autogen.sh"
43 ./autogen.sh > ../autogen.log 2>&1
46 echo "- Problem while running autogen.sh"
47 echo "- Dumping end of log ..."
49 tail -n 20 ../autogen.log
53 echo "+ Running ./configure --enable-docs-build=no"
54 ./configure --enable-docs-build=no > ../configure.log 2>&1
57 echo "- Problem while running configure"
58 echo "- Dumping end of log ..."
60 tail -n 20 ../configure.log
66 make > ../make.log 2>&1
69 echo "- Problem while running make"
70 echo "- Dumping end of log ..."
72 grep -v "pasting would not give a valid" ../make.log > ../make.scrubbed.log
73 tail -n 20 ../make.scrubbed.log
77 echo "+ Running BUILD_DOCS= make distcheck"
78 BUILD_DOCS= make distcheck > ../makedistcheck.log 2>&1
81 echo "- Problem while running make distcheck"
82 echo "- Dumping end of log ..."
84 tail -n 20 ../makedistcheck.log
88 echo -n "+ Ending successful build cycle on "