[PATCH wayland-web] Update ubuntu12.04 instructions to build expat from source

Bill Spitzak spitzak at gmail.com
Tue Feb 3 14:58:57 PST 2015


This git repository was the best one I found. Even then the instructions
seem to be wrong, there was no buildconf script and the execute bit was
not turned on for configure.

This seems to work and I confirmed that the output of wayland-scanner
matches the versions in the wayland repository.
---
 ubuntu12.04.html |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ubuntu12.04.html b/ubuntu12.04.html
index 805b35c..ed3ad7c 100644
--- a/ubuntu12.04.html
+++ b/ubuntu12.04.html
@@ -40,6 +40,13 @@ mkdir -p $ACLOCAL_PATH
 <span class="comment"># dependencies for libwayland:</span>
 sudo apt-get install doxygen xmlto <span class="comment"># or use --disable-documentation</span>
 
+git clone https://github.com/coapp-packages/expat.git
+cd expat/
+chmod +x ./configure
+./configure --prefix=$WLD
+make -j 9 install
+cd ..
+
 <span class="comment"># libwayland-*:</span>
 git clone git://anongit.freedesktop.org/wayland/wayland
 cd wayland
@@ -52,7 +59,7 @@ cd ..
 # install unwanted items, such as wayland itself, and xcb prototypes
 # that are too old.</span>
 sudo apt-get install autoconf automake bison debhelper dpkg-dev flex \
-  libexpat1-dev libudev-dev libx11-dev libx11-xcb-dev \
+  libudev-dev libx11-dev libx11-xcb-dev \
   libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev \
   linux-libc-dev pkg-config python-libxml2 quilt x11proto-dri2-dev \
   x11proto-gl-dev xutils-dev
-- 
1.7.9.5



More information about the wayland-devel mailing list