Bug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies
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
This commit is contained in:
parent
e0f713785f
commit
097346766e
@ -50,21 +50,19 @@ fi
|
|||||||
system=`lsb_release -is`
|
system=`lsb_release -is`
|
||||||
if test x$system = xUbuntu -o x$system = xDebian ; then
|
if test x$system = xUbuntu -o x$system = xDebian ; then
|
||||||
reqd=""
|
reqd=""
|
||||||
for pkg in libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev \
|
for pkg in build-essential automake gnome-common flex bison curl \
|
||||||
mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential \
|
git-core subversion gtk-doc-tools mesa-common-dev xulrunner-1.9-dev \
|
||||||
curl xulrunner-1.9-dev; do
|
libdbus-glib-1-dev libffi-dev libgconf2-dev libgtk2.0-dev libgl1-mesa-dev \
|
||||||
if dpkg --status $pkg > /dev/null 2>&1; then : ; else
|
libgstreamer-plugins-base0.10-dev python2.5-dev; do
|
||||||
|
if ! dpkg --status $pkg > /dev/null 2>&1; then
|
||||||
reqd="$pkg $reqd"
|
reqd="$pkg $reqd"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test ! x$reqd = x; then
|
if test ! "x$reqd" = x; then
|
||||||
echo "Please run, as root, 'apt-get install $reqd' before building gnome-shell."
|
echo "Please run 'sudo apt-get install $reqd' before building gnome-shell."
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
+
|
|
||||||
echo "Done."
|
|
||||||
|
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user