Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4617)

Unified Diff: build/install-build-deps.sh

Issue 2106001: Added cups development package depending on the version of linux.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/install-build-deps.sh
===================================================================
--- build/install-build-deps.sh (revision 47162)
+++ build/install-build-deps.sh (working copy)
@@ -135,13 +135,12 @@
# Packages need for development
dev_list="apache2 bison fakeroot flex g++ gperf libapache2-mod-php5
- libasound2-dev libbz2-dev libcairo2-dev libcupsys2-dev
- libdbus-glib-1-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev
- libglib2.0-dev libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev
- libpam0g-dev libsqlite3-dev libxslt1-dev libxss-dev lighttpd
- mesa-common-dev msttcorefonts patch perl php5-cgi pkg-config python
- python-dev rpm subversion ttf-dejavu-core ttf-kochi-gothic
- ttf-kochi-mincho wdiff"
+ libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev
+ libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev
+ libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev
+ libsqlite3-dev libxslt1-dev libxss-dev lighttpd mesa-common-dev
+ msttcorefonts patch perl php5-cgi pkg-config python python-dev rpm
+ subversion ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho wdiff"
# Full list of required run-time libraries
lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1
@@ -160,6 +159,14 @@
libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg
libxrender1-dbg zlib1g-dbg"
+# CUPS package changed it's name from hardy to the next version. Include
+# proper package here depending on the system.
+if egrep -q 'Ubuntu (8\.04|8\.10)' /etc/issue; then
+ dev_list="${dev_list} libcupsys2-dev"
+else
+ dev_list="${dev_list} libcups2-dev"
+fi
+
# Waits for the user to press 'Y' or 'N'. Either uppercase of lowercase is
# accepted. Returns 0 for 'Y' and 1 for 'N'. If an optional parameter has
# been provided to yes_no(), the function also accepts RETURN as a user input.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698