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

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
Index: xvfb/building/install-prereq
===================================================================
--- xvfb/building/install-prereq (revision 0)
+++ xvfb/building/install-prereq (revision 0)
@@ -0,0 +1,35 @@
+PPATH=/usr/lib/pkgconfig
cmp 2012/02/07 19:52:14 Add #!/bin/sh to the top, add a Chromium license h
Peter Mayo 2012/02/08 05:32:48 Done.
+LPATH=$(pwd)
cmp 2012/02/07 19:52:14 doublequotes around $(pwd)
Peter Mayo 2012/02/08 05:32:48 Done.
+export PKG_CONFIG_PATH=${PPATH}
cmp 2012/02/07 19:52:14 doublequotes around ${PPATH}
Peter Mayo 2012/02/08 05:32:48 Done.
+
+function getxfromy() {
+[ -f ${PPATH}/$1.pc ] || sudo apt-get install $2
cmp 2012/02/07 19:52:14 indent by 2 spaces use if [ ! -f "${PPATH}/$1.pc"
Peter Mayo 2012/02/08 05:32:48 Done.
+}
+
+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
+
+# These may be required too.
+# getxfromy ? x11proto-dri2-dev
+# getxfromy ? libffi-dev
+# getxfromy ? libpciaccess-dev

Powered by Google App Engine
This is Rietveld 408576698