From 0c9468f139bc091f6a0be3257205de764364860d Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 18 Nov 2008 00:45:32 +0000 Subject: [PATCH] Check that xulrunner-1.9-dev is installed ahead of time On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild, then things will break in mysterious ways, so check for that at the end of gnome-shell-build-setup.sh. Patch from Sander Dijkhuis. svn path=/trunk/; revision=54 --- tools/build/gnome-shell-build-setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index 78ccd6960..d077abccd 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -47,5 +47,13 @@ if test "x`echo $PATH | grep $HOME/bin`" = x; then echo fi +system=`lsb_release -is` +if test x$system = xUbuntu -o x$system = xDebian ; then + if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else + echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell." + echo + fi +fi + echo "Done."