[gnome-shell] gnome-shell-build-setup.sh: update libxcb dependency check on Debian



commit c34b35705115333bfe3651e5fe5d1d490945b85b
Author: Siegfried-Angel Gevatter Pujals <rainct ubuntu com>
Date:   Thu Jul 7 01:01:41 2011 +0200

    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 files changed, 7 insertions(+), 1 deletions(-)
---
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 f7f4a6b..5b85601
--- 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



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