Changeset 10


Ignore:
Timestamp:
12/10/07 12:58:55 (5 years ago)
Author:
jeremyhu@…
Message:

Added fetching.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/compile-all.sh

    r9 r10  
    33# xinit post 1.0.7 
    44# lndir post 1.0.1 
     5# libX11-1.1.3 needs libX11-apple.patch applied - see git-diff 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 b57129ef324c73ee91c2a796b800c4b45f4d4855 
    56 
    67export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe -DNO_ALLOCA" 
     
    4243} 
    4344 
     45fetch_source() { 
     46        local d=$1 
     47        local s 
     48        cd ${rootdir} || die "Could not change to ${rootdir}" 
     49#       for d in app data doc driver font lib proto testdir util xserver 
     50        for s in lib proto app data doc driver font testdir util xserver ; do 
     51                curl -LO ftp://ftp.x.org/pub/individual/${s}/${d}.tar.bz2 && break 
     52        done 
     53 
     54        if [[ -f ${d}.tar.bz2 ]] ; then 
     55                tar -xjvf ${d}.tar.bz2 || die "Failed to extract ${d}.tar.bz2" 
     56                return 0 
     57        fi 
     58 
     59        for s in lib proto app data doc driver font testdir util xserver ; do 
     60                git-clone git://anongit.freedesktop.org/git/xorg/${s}/${d} && break 
     61        done 
     62} 
     63 
    4464doinst() { 
    4565        local d=$1 
    4666        shift 
     67        [[ -d "${rootdir}/${d}" ]] || fetch_source ${d} 
    4768        cd ${rootdir}/${d} || die "unable to find source for ${d}" 
    4869        ${MAKE} clean 
     
    6889 
    6990doinst pixman-0.9.6 --disable-static 
    70  
    71 # libX11-1.1.3 has libX11-apple.patch applied - see git-diff 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 b57129ef324c73ee91c2a796b800c4b45f4d4855 
    7291doinst libX11-1.1.3 --disable-xf86bigfont --disable-xcb --disable-static 
  • trunk/setup-repos.sh

    r2 r10  
    1 #GIT_BASE="git://anongit.freedesktop.org/git/xorg/util/lndir" 
     1#GIT_BASE="git://anongit.freedesktop.org/git" 
    22GIT_BASE="ssh://git.freedesktop.org/git" 
    33 
     
    77mkdir src 
    88cd src 
     9curl -LO http://superb-west.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-6.5.2.tar.bz2 
     10tar -xjvf Mesa-6.5.2.tar.bz2 
     11curl -LO http://superb-west.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.0.2.tar.bz2 
     12tar -xjvf Mesa-7.0.2.tar.bz2 
    913git-clone ${GIT_BASE}/xorg/app/xauth.git 
    1014git-clone ${GIT_BASE}/xorg/app/xinit.git 
Note: See TracChangeset for help on using the changeset viewer.