gnome-shell r54 - trunk/tools/build



Author: otaylor
Date: Tue Nov 18 00:45:32 2008
New Revision: 54
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=54&view=rev

Log:
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.



Modified:
   trunk/tools/build/gnome-shell-build-setup.sh

Modified: trunk/tools/build/gnome-shell-build-setup.sh
==============================================================================
--- trunk/tools/build/gnome-shell-build-setup.sh	(original)
+++ trunk/tools/build/gnome-shell-build-setup.sh	Tue Nov 18 00:45:32 2008
@@ -47,5 +47,13 @@
     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."
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]