Skip to content

Commit

Permalink
Reorder setup script
Browse files Browse the repository at this point in the history
Build and install pixman before configuring cairo.
  • Loading branch information
robclark authored and ssvb committed Mar 27, 2014
1 parent 86014d9 commit f904e5b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,15 @@ if [ ! -d "cairo" ]; then
popd
fi

# first time configure for pixman and cairo
# configure and build pixman and cairo

if [ ! -f "pixman/configure" ]; then
echo "Configuring pixman..."
pushd pixman
./autogen.sh --prefix=$PREFIX/pixman --disable-gtk || exit 1
popd
fi

if [ ! -f "cairo/configure" ]; then
pushd cairo
./autogen.sh --prefix=$PREFIX/cairo || exit 1
popd
fi

# first time compile and install for pixman and cairo

if [ ! -d "tmp/pixman" ]; then
echo "Compiling pixman..."
pushd pixman
Expand All @@ -57,6 +50,13 @@ if [ ! -d "tmp/pixman" ]; then
popd
fi

if [ ! -f "cairo/configure" ]; then
echo "Configuring cairo..."
pushd cairo
./autogen.sh --prefix=$PREFIX/cairo || exit 1
popd
fi

if [ ! -d "tmp/cairo" ]; then
echo "Compiling cairo..."
pushd cairo
Expand Down

0 comments on commit f904e5b

Please sign in to comment.