Re: Ubuntu intrepid packages required for compilation



Thanks, I've put this in as r86.

On Wed, Nov 26, 2008 at 4:47 PM, Stuart Langridge <sil kryogenix org> wrote:
>>> libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev mesa-common-dev
>>> mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential curl
>>> xulrunner-1.9-dev
>>
>> Sounds fine,  though about half of these are covered by generic GNOME
>> build deps; I've been telling people on Ubuntu to do: "apt-get
>> build-dep gnome-panel metacity" as a first approximation.
>
> Quick patch to gnome-shell-build-setup.sh to do this, as per
> http://live.gnome.org/GnomeShell/SwatList.
>
> sil
>
> --- gnome-shell-build-setup.sh.orig     2008-11-26 21:45:50.000000000
> +0000
> +++ gnome-shell-build-setup.sh  2008-11-26 21:45:56.000000000 +0000
> @@ -49,11 +49,19 @@
>
>  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
> +  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
> +        reqd="$pkg $reqd"
>     fi
> +  done
> +  if test ! x$reqd = x
> +  echo "Please run, as root, 'apt-get install $reqd' before building
> gnome-shell."
> +  echo
>  fi
>
> +
>  echo "Done."
>


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