Index: build/install-build-deps.sh |
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh |
index 3df811a90c4ae7a4ac62d490836e77e6651da5c7..324a311cfd3b8416a2b86718b48c92bb6c103a0a 100755 |
--- a/build/install-build-deps.sh |
+++ b/build/install-build-deps.sh |
@@ -42,7 +42,7 @@ do |
done |
ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04|12\.10|13\.04" |
-ubuntu_codenames="lucid|maverick|natty|oneiric|precise|quantal" |
+ubuntu_codenames="lucid|maverick|natty|oneiric|precise|quantal|raring" |
ubuntu_issue="Ubuntu ($ubuntu_versions|$ubuntu_codenames)" |
# GCEL is an Ubuntu-derived VM image used on Google Compute Engine; /etc/issue |
# doesn't contain a version number so just trust that the user knows what |
@@ -51,7 +51,7 @@ gcel_issue="^GCEL" |
if [ 0 -eq "${do_unsupported-0}" ] ; then |
if ! egrep -q "($ubuntu_issue|$gcel_issue)" /etc/issue; then |
- echo "ERROR: Only Ubuntu 10.04 (lucid) through 12.10 (quantal) are"\ |
+ echo "ERROR: Only Ubuntu 10.04 (lucid) through 13.04 (raring) are"\ |
"currently supported" >&2 |
exit 1 |
fi |
@@ -96,14 +96,20 @@ fi |
# Run-time libraries required by chromeos only |
chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
+if [ "$(lsb_release -s -r)" = "13.04" ]; then |
+ udev_pkg="libudev1" |
+else |
+ udev_pkg="libudev0" |
+fi |
+ |
# Full list of required run-time libraries |
lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libexpat1 |
libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0 |
- libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libudev0 libx11-6 |
+ libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 |
libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 |
libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 |
- libxtst6 zlib1g $chromeos_lib_list" |
+ libxtst6 zlib1g $udev_pkg $chromeos_lib_list" |
# Debugging symbols for all of the run-time libraries |
dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg |