From c34b35705115333bfe3651e5fe5d1d490945b85b Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals Date: Thu, 7 Jul 2011 01:01:41 +0200 Subject: [PATCH] gnome-shell-build-setup.sh: update libxcb dependency check on Debian On Debian-based systems, the contents of libxcb-{event1,aux0}-dev have been transitioned into a single libxcb-util0-dev package. --- tools/build/gnome-shell-build-setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 100755 => 100644 tools/build/gnome-shell-build-setup.sh diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh old mode 100755 new mode 100644 index f7f4a6b13..5b856019d --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -84,9 +84,15 @@ if test "x$system" = xUbuntu -o "x$system" = xDebian -o "x$system" = xLinuxMint libltdl-dev libvorbis-dev iso-codes libgnome-keyring-dev libusb-1.0-0-dev libupower-glib-dev libcups2-dev libproxy-dev libdb-dev libproxy-dev libsqlite3-dev libgudev-1.0-dev libsane-dev libwebkitgtk-3.0-0 - libx11-xcb-dev libxcb-event1-dev libxcb-aux0-dev + libx11-xcb-dev " + if apt-cache show libxcb-util0-dev > /dev/null 2> /dev/null; then + reqd="$reqd libxcb-util0-dev" + else + reqd="$reqd libxcb-event1-dev libxcb-aux0-dev" + fi + if apt-cache show autopoint > /dev/null 2> /dev/null; then reqd="$reqd autopoint" fi