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

Unified Diff: xvfb/building/install-prereq

Issue 9348009: Add a new tool holding Xvfb bits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: '' Created 8 years, 10 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 | « xvfb/building/fetch-source ('k') | xvfb/building/then-build » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xvfb/building/install-prereq
===================================================================
--- xvfb/building/install-prereq (revision 0)
+++ xvfb/building/install-prereq (revision 0)
@@ -0,0 +1,40 @@
+#!/bin/sh
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This is a convenience for installing prerequisites that seem to be often
+# missing.
+
+PPATH=/usr/lib/pkgconfig
+LPATH="$(pwd)"
+export PKG_CONFIG_PATH="${PPATH}"
+
+function getxfromy() {
+ if [ \! -f "${PPATH}"/"$1".pc ] ; then
+ sudo apt-get install "$2"
+ fi
+}
+
+getxfromy pixman-1 libpixman-1-dev
+getxfromy fixesproto x11proto-fixes-dev
+getxfromy damageproto x11proto-damage-dev
+getxfromy xcmiscproto x11proto-xcmisc-dev
+getxfromy bigreqsproto x11proto-bigreqs-dev
+getxfromy randrproto x11proto-randr-dev
+getxfromy renderproto x11proto-render-dev
+getxfromy fontsproto x11proto-fonts-dev
+getxfromy videoproto x11proto-video-dev
+getxfromy compositeproto x11proto-composite-dev
+getxfromy scrnsaverproto x11proto-scrnsaver-dev
+getxfromy resourceproto x11proto-resource-dev
+getxfromy xineramaproto x11proto-xinerama-dev
+getxfromy pciaccess libpciaccess-dev
+getxfromy gl libgl1-mesa-dev
+getxfromy glproto x11proto-gl-dev
+getxfromy xf86driproto x11proto-xf86dri-dev
+getxfromy fontenc libfontenc-dev
+getxfromy makedepend xutils-dev
+getxfromy talloc libfontenc-dev
+getxfromy autoconf autoconf
+getxfromy libtool libtool
Property changes on: xvfb/building/install-prereq
___________________________________________________________________
Added: svn:executable
+ *
« no previous file with comments | « xvfb/building/fetch-source ('k') | xvfb/building/then-build » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698