ulab-original
Jay Sorg 13 years ago
parent 2c7c29053d
commit 9eb054de9d

@ -20,6 +20,7 @@
# limitations under the License. # limitations under the License.
# flex bison libxml2-dev intltool # flex bison libxml2-dev intltool
# xsltproc
download_file() download_file()
{ {
@ -68,11 +69,36 @@ download_file()
status=$? status=$?
cd .. cd ..
return $status return $status
elif [ "$file" = "Python-2.5.tar.bz2" ]; then
wget -cq http://www.python.org/ftp/python/2.5/Python-2.5.tar.bz2
status=$?
cd ..
return $status
elif [ "$file" = "Python-2.7.tar.bz2" ]; then elif [ "$file" = "Python-2.7.tar.bz2" ]; then
wget -cq http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 wget -cq http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2
status=$? status=$?
cd .. cd ..
return $status return $status
elif [ "$file" = "expat-2.0.1.tar.gz" ]; then
wget -cq http://server1.xrdp.org/xrdp/expat-2.0.1.tar.gz
status=$?
cd ..
return $status
elif [ "$file" = "cairo-1.8.8.tar.gz" ]; then
wget -cq http://server1.xrdp.org/xrdp/cairo-1.8.8.tar.gz
status=$?
cd ..
return $status
elif [ "$file" = "libpng-1.2.46.tar.gz" ]; then
wget -cq http://server1.xrdp.org/xrdp/libpng-1.2.46.tar.gz
status=$?
cd ..
return $status
elif [ "$file" = "intltool-0.41.1.tar.gz" ]; then
wget -cq http://launchpad.net/intltool/trunk/0.41.1/+download/intltool-0.41.1.tar.gz
status=$?
cd ..
return $status
else else
wget -cq $download_url/$file wget -cq $download_url/$file
status=$? status=$?
@ -150,8 +176,13 @@ make_it()
fi fi
fi fi
# configure module - we only need to do this once # patch and configure module - we only need to do this once
cd $mod_name cd $mod_name
# check for patches
if [ -e ../../$mod_name.patch ]; then
patch -p1 ../../$mod_name.patch
fi
# now configure
./configure --prefix=$PREFIX_DIR $mod_args ./configure --prefix=$PREFIX_DIR $mod_args
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "configuration failed for module $mn" echo "configuration failed for module $mn"
@ -176,6 +207,14 @@ make_it()
exit 1 exit 1
fi fi
# special case after installing python make this sym link
# so Mesa builds using this python version
case "$mod_name" in
*Python-2*)
ln -s python $PREFIX_DIR/bin/python2
;;
esac
cd ../.. cd ../..
touch cookies/$mod_name touch cookies/$mod_name
return 0 return 0
@ -212,7 +251,7 @@ fi
export PREFIX_DIR=$1 export PREFIX_DIR=$1
export PKG_CONFIG_PATH=$PREFIX_DIR/lib/pkgconfig:$PREFIX_DIR/share/pkgconfig export PKG_CONFIG_PATH=$PREFIX_DIR/lib/pkgconfig:$PREFIX_DIR/share/pkgconfig
export PATH=$PREFIX_DIR/bin:$PATH export PATH=$PREFIX_DIR/bin:$PATH
export CFLAGS=-fPIC #export CFLAGS=-fPIC
# prefix dir must exist... # prefix dir must exist...
if [ ! -d $PREFIX_DIR ]; then if [ ! -d $PREFIX_DIR ]; then
@ -266,4 +305,3 @@ do
make_it $mod_file $mod_dir "$mod_args" make_it $mod_file $mod_dir "$mod_args"
done < $data_file done < $data_file

@ -0,0 +1,13 @@
diff --git a/src/Xge.c b/src/Xge.c
index 7a583e5..2ea5d27 100644
--- a/src/Xge.c
+++ b/src/Xge.c
@@ -294,7 +294,7 @@ _xgeEventToWire(Display* dpy, XEvent* re, xEvent* event)
/*
* Extensions need to register callbacks for their events.
*/
-Bool
+_X_HIDDEN Bool
xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
{
XGEExtNode* newExt;

@ -46,7 +46,10 @@ damageproto-1.2.1.tar.bz2 : damageproto-1.2.1
libXdamage-1.1.3.tar.bz2 : libXdamage-1.1.3 : libXdamage-1.1.3.tar.bz2 : libXdamage-1.1.3 :
makedepend-1.0.3.tar.bz2 : makedepend-1.0.3 : makedepend-1.0.3.tar.bz2 : makedepend-1.0.3 :
libxml2-sources-2.7.8.tar.gz : libxml2-2.7.8 : libxml2-sources-2.7.8.tar.gz : libxml2-2.7.8 :
MesaLib-7.10.3.tar.bz2 : Mesa-7.10.3 : libpng-1.2.46.tar.gz : libpng-1.2.46 :
cairo-1.8.8.tar.gz : cairo-1.8.8 :
expat-2.0.1.tar.gz : expat-2.0.1 :
MesaLib-7.10.3.tar.bz2 : Mesa-7.10.3 : --with-expat=$PREFIX_DIR
randrproto-1.3.2.tar.bz2 : randrproto-1.3.2 : randrproto-1.3.2.tar.bz2 : randrproto-1.3.2 :
renderproto-0.11.1.tar.bz2 : renderproto-0.11.1 : renderproto-0.11.1.tar.bz2 : renderproto-0.11.1 :
fixesproto-4.1.2.tar.bz2 : fixesproto-4.1.2 : fixesproto-4.1.2.tar.bz2 : fixesproto-4.1.2 :
@ -83,7 +86,6 @@ libXmu-1.1.0.tar.bz2 : libXmu-1.1.0
libXxf86vm-1.1.1.tar.bz2 : libXxf86vm-1.1.1 : libXxf86vm-1.1.1.tar.bz2 : libXxf86vm-1.1.1 :
libXpm-3.5.9.tar.bz2 : libXpm-3.5.9 : libXpm-3.5.9.tar.bz2 : libXpm-3.5.9 :
libXaw-1.0.8.tar.bz2 : libXaw-1.0.8 : libXaw-1.0.8.tar.bz2 : libXaw-1.0.8 :
expat-2.0.1.tar.gz : expat-2.0.1 :
pixman-0.15.20.tar.bz2 : pixman-0.15.20 : pixman-0.15.20.tar.bz2 : pixman-0.15.20 :
freetype-2.4.6.tar.bz2 : freetype-2.4.6 : freetype-2.4.6.tar.bz2 : freetype-2.4.6 :
mkfontdir-1.0.6.tar.bz2 : mkfontdir-1.0.6 : mkfontdir-1.0.6.tar.bz2 : mkfontdir-1.0.6 :
@ -92,4 +94,5 @@ xdriinfo-1.0.4.tar.bz2 : xdriinfo-1.0.4
xorg-server-1.9.3.tar.bz2 : xorg-server-1.9.3 : xorg-server-1.9.3.tar.bz2 : xorg-server-1.9.3 :
applewmproto-1.4.1.tar.bz2 : applewmproto-1.4.1 : applewmproto-1.4.1.tar.bz2 : applewmproto-1.4.1 :
bdftopcf-1.0.3.tar.bz2 : bdftopcf-1.0.3 : bdftopcf-1.0.3.tar.bz2 : bdftopcf-1.0.3 :
intltool-0.41.1.tar.gz : intltool-0.41.1 :
xkeyboard-config-2.0.tar.bz2 : xkeyboard-config-2.0 : xkeyboard-config-2.0.tar.bz2 : xkeyboard-config-2.0 :

Loading…
Cancel
Save