summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2015-02-09 14:45:06 -0800
committerBryce Harrington <bryce@osg.samsung.com>2015-02-09 14:45:06 -0800
commit2c0ff63bb7ffc67ab93b023b32bcbe3e2b02a881 (patch)
treebca3c4007ea80d849e9c9376f9d96026cac27cf1
parenta4fef9fd1e3a9d434c98b85e398e47e285aaee6d (diff)
Do a final distcheck for weston
-rwxr-xr-xwl_build56
1 files changed, 34 insertions, 22 deletions
diff --git a/wl_build b/wl_build
index 04f7c98..84f64ce 100755
--- a/wl_build
+++ b/wl_build
@@ -27,6 +27,10 @@ compile() {
fi
}
+distcheck() {
+ make distcheck
+}
+
# TODO: Check if tree doesn't exist
# TODO: Log output
# TODO: If it's been a while since we last ran successfully, then
@@ -67,17 +71,20 @@ echo
echo "mesa"
cd $WLROOT/mesa
git clean -xfd
-./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl --disable-dri3 \
- --disable-llvm-shared-libs --disable-opencl \
+./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl \
--with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi \
- --with-gallium-drivers=swrast,nouveau
+ --disable-llvm-shared-libs \
+ --disable-dri3 \
+ --with-gallium-drivers=swrast,nouveau,r300,r600
+
+# --disable-opencl \
compile
gen pixman
compile
-gen cairo --enable-gl --enable-xcb
+gen cairo --enable-xcb --enable-gl
compile
echo
@@ -93,32 +100,19 @@ compile
gen libinput
compile
-echo
-echo "weston"
-cd $WLROOT/weston
-git clean -xfd
-./autogen.sh --prefix=$WLD \
- --with-cairo=gl \
- --enable-libinput-backend \
- --enable-setuid-install=no \
- --enable-clients \
- --enable-headless-compositor \
- --enable-demo-clients-install
-compile
-
if [ ${INCLUDE_XWAYLAND} ]; then
if [ ${WL_BITS} = 32 ]; then
gen libxtrans
compile
fi
- gen libepoxy
+ gen xproto
compile
- gen glproto
+ gen libepoxy
compile
- gen xproto
+ gen glproto
compile
gen xcmiscproto
@@ -162,8 +156,26 @@ if [ ${INCLUDE_XWAYLAND} ]; then
echo
echo "Paths"
mkdir -p $WLD/share/X11/xkb/rules
- ln -s /usr/share/X11/xkb/rules/evdev $WLD/share/X11/xkb/rules/
- ln -s /usr/bin/xkbcomp $WLD/bin/
+ if [ ! -e $WLD/share/X11/xkb/rules/evdev ]; then
+ ln -s /usr/share/X11/xkb/rules/evdev $WLD/share/X11/xkb/rules/
+ fi
+ if [ ! -e $WLD/bin/xkbcomp ]; then
+ ln -s /usr/bin/xkbcomp $WLD/bin/
+ fi
fi
+echo
+echo "weston"
+cd $WLROOT/weston
+git clean -xfd
+./autogen.sh --prefix=$WLD \
+ --with-cairo=gl \
+ --with-xserver-path=$WLD/bin/Xwayland \
+ --enable-setuid-install=no \
+ --enable-clients \
+ --enable-headless-compositor \
+ --enable-demo-clients-install
+compile
+distcheck
+
cd $WLROOT