All pastes #431573 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-09 19:27 UTC
rendered paste body
if ! rm -fr /tmp/proto ; then
	echo "couldn't remove /tmp/proto"
	exit
fi

if ! rm -fr /tmp/xcb-temp ; then
	echo "couldn't remove /tmp/xcb-temp"
	exit
fi

if ! rm -fr /tmp/pthread-stubs ; then
	echo "couldn't remove /tmp/pthread-stubs"
	exit
fi

if ! rm -fr /tmp/libxcb ; then
	echo "couldn't remove /tmp/libxcb"
	exit
fi

if ! cd /tmp ; then
	echo "couldn't change working directory to /tmp"
	exit
fi

if ! git clone git://anongit.freedesktop.org/git/xcb/proto ; then
	echo "couldn't checkout xcb-proto"
	exit
fi

if ! cd /tmp/proto ; then
	echo "couldn't change working directory to /tmp/proto"
	exit
fi

if ! ./autogen.sh ; then
	echo "couldn't execute autogen for xcb-proto"
	exit
fi

if ! ./configure --prefix=/tmp/xcb-temp ; then
	echo "couldn't execute configure for xcb-proto"
	exit
fi

if ! make ; then
	echo "couldn't execute make for xcb-proto"
	exit
fi

if ! make install ; then
	echo "couldn't execute make install for xcb-proto"
	exit
fi

export PKG_CONFIG_PATH="/tmp/xcb-temp/lib/pkgconfig"

if ! cd /tmp ; then
	echo "couldn't change working directory to /tmp"
	exit
fi

if ! git clone git://anongit.freedesktop.org/git/xcb/pthread-stubs ; then
	echo "couldn't checkout pthread-stubs"
	exit
fi

if ! cd /tmp/pthread-stubs ; then
	echo "couldn't change working directory to /tmp/pthread-stubs"
	exit
fi

if ! ./autogen.sh ; then
	echo "couldn't execute autogen for pthread-stubs"
	exit
fi

if ! ./configure --prefix=/tmp/xcb-temp ; then
	echo "couldn't execute configure for pthread-stubs"
	exit
fi

if ! make ; then
	echo "couldn't execute make for pthread-stubs"
	exit
fi

if ! make install ; then
	echo "couldn't execute make install for pthread-stubs"
	exit
fi

if ! cd /tmp ; then
	echo "couldn't change working directory to /tmp"
	exit
fi

if ! git clone git://anongit.freedesktop.org/git/xcb/libxcb ; then
	echo "couldn't checkout libxcb"
	exit
fi

if ! cd /tmp/libxcb ; then
	echo "couldn't change working directory to /tmp/libxcb"
	exit
fi

if ! ./autogen.sh ; then
	echo "couldn't execute autogen for libxcb"
	exit
fi

if ! ./configure --prefix=/usr ; then
	echo "couldn't execute configure for libxcb"
	exit
fi

if ! make ; then
	echo "couldn't execute make for libxcb"
	exit
fi