From 097346766ec53cc8e40524f9faaa243b2cd2ad2c Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 29 Nov 2008 21:44:17 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20562629=20=E2=80=93=20gnome-shell-build-se?= =?UTF-8?q?tup.sh:=20more=20Ubuntu=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improve gnome-build-setup.sh by: - Adding more required dependencies - Fixing message when $reqs has multiple words - Remove stray + from file Patch from RainCT (Siegfried Gevatter). svn path=/trunk/; revision=93 --- tools/build/gnome-shell-build-setup.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index 8d5aef6cb..3f1aff25d 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -50,21 +50,19 @@ fi system=`lsb_release -is` if test x$system = xUbuntu -o x$system = xDebian ; then reqd="" - for pkg in libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev \ - mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential \ - curl xulrunner-1.9-dev; do - if dpkg --status $pkg > /dev/null 2>&1; then : ; else + for pkg in build-essential automake gnome-common flex bison curl \ + git-core subversion gtk-doc-tools mesa-common-dev xulrunner-1.9-dev \ + libdbus-glib-1-dev libffi-dev libgconf2-dev libgtk2.0-dev libgl1-mesa-dev \ + libgstreamer-plugins-base0.10-dev python2.5-dev; do + if ! dpkg --status $pkg > /dev/null 2>&1; then reqd="$pkg $reqd" fi done - if test ! x$reqd = x; then - echo "Please run, as root, 'apt-get install $reqd' before building gnome-shell." + if test ! "x$reqd" = x; then + echo "Please run 'sudo apt-get install $reqd' before building gnome-shell." echo fi fi -+ - echo "Done." - echo "Done."