Add libcroco to gnome-shell-build-setup.sh

Check for the new build dependency "libcroco" when running on any
of the distros supported by the script.
This commit is contained in:
Siegfried-Angel Gevatter Pujals 2009-10-01 21:57:53 +02:00
parent 6f7da264ba
commit 96f4d318c5

View File

@ -82,7 +82,7 @@ if test x$system = xUbuntu -o x$system = xDebian -o x$system = xLinuxMint ; then
libdbus-glib-1-dev libgconf2-dev libgtk2.0-dev libffi-dev \ libdbus-glib-1-dev libgconf2-dev libgtk2.0-dev libffi-dev \
libgnome-menu-dev libgnome-desktop-dev librsvg2-dev libwnck-dev libgl1-mesa-dev \ libgnome-menu-dev libgnome-desktop-dev librsvg2-dev libwnck-dev libgl1-mesa-dev \
libreadline5-dev mesa-common-dev mesa-utils python-dev python-gconf python-gobject \ libreadline5-dev mesa-common-dev mesa-utils python-dev python-gconf python-gobject \
xulrunner-dev xserver-xephyr \ xulrunner-dev xserver-xephyr libcroco3-dev \
libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good \ libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good \
; do ; do
if ! dpkg_is_installed $pkg; then if ! dpkg_is_installed $pkg; then
@ -104,7 +104,7 @@ if test x$system = xFedora ; then
libtool pkgconfig \ libtool pkgconfig \
dbus-glib-devel GConf2-devel gnome-menus-devel gnome-python2-gconf gtk2-devel libffi-devel \ dbus-glib-devel GConf2-devel gnome-menus-devel gnome-python2-gconf gtk2-devel libffi-devel \
gnome-desktop-devel librsvg2-devel libwnck-devel mesa-libGL-devel python-devel pygobject2 \ gnome-desktop-devel librsvg2-devel libwnck-devel mesa-libGL-devel python-devel pygobject2 \
readline-devel xulrunner-devel libXdamage-devel \ readline-devel xulrunner-devel libXdamage-devel libcroco-devel \
gstreamer-devel gstreamer-plugins-base gstreamer-plugins-good \ gstreamer-devel gstreamer-plugins-base gstreamer-plugins-good \
glx-utils xorg-x11-apps xorg-x11-server-Xephyr xterm zenity \ glx-utils xorg-x11-apps xorg-x11-server-Xephyr xterm zenity \
; do ; do
@ -124,7 +124,7 @@ if test x$system = xSUSE ; then
bison flex gnome-doc-utils-devel \ bison flex gnome-doc-utils-devel \
gconf2-devel libffi-devel gnome-desktop-devel librsvg-devel libwnck-devel \ gconf2-devel libffi-devel gnome-desktop-devel librsvg-devel libwnck-devel \
xorg-x11-proto-devel readline-devel mozilla-xulrunner190-devel \ xorg-x11-proto-devel readline-devel mozilla-xulrunner190-devel \
xorg-x11-devel xterm xorg-x11 xorg-x11-server-extra \ libcroco-devel xorg-x11-devel xterm xorg-x11 xorg-x11-server-extra \
; do ; do
if ! rpm -q $pkg > /dev/null 2>&1; then if ! rpm -q $pkg > /dev/null 2>&1; then
reqd="$pkg $reqd" reqd="$pkg $reqd"
@ -145,6 +145,7 @@ if test x$system = xMandrivaLinux ; then
libGConf2-devel ffi5-devel libgnomeui2-devel librsvg2-devel \ libGConf2-devel ffi5-devel libgnomeui2-devel librsvg2-devel \
libwnck-1-devel GL-devel readline-devel libxulrunner-devel \ libwnck-1-devel GL-devel readline-devel libxulrunner-devel \
libxdamage-devel mesa-demos x11-server-xephyr x11-apps xterm zenity \ libxdamage-devel mesa-demos x11-server-xephyr x11-apps xterm zenity \
libcroco0.6-devel \
; do ; do
if ! rpm -q --whatprovides $pkg > /dev/null 2>&1; then if ! rpm -q --whatprovides $pkg > /dev/null 2>&1; then
reqd="$pkg $reqd" reqd="$pkg $reqd"