[arch-commits] Commit in firefox/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Jul 22 21:17:56 UTC 2014
Date: Tuesday, July 22, 2014 @ 23:17:56
Author: heftig
Revision: 217739
Make use of xvfb-run
Modified:
firefox/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-22 20:05:49 UTC (rev 217738)
+++ PKGBUILD 2014-07-22 21:17:56 UTC (rev 217739)
@@ -73,16 +73,9 @@
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"
- # Set up PGO
- export DISPLAY=:99
- Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY &
-
- if ! make -f client.mk build MOZ_PGO=1; then
- kill $!
- return 1
- fi
-
- kill $! || true
+ # Do PGO
+ xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" \
+ make -f client.mk build MOZ_PGO=1
}
package() {
More information about the arch-commits
mailing list