Changeset 4
- Timestamp:
- 12/10/07 00:02:45 (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
compile-all.sh (modified) (3 diffs)
-
compile-xserver.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compile-all.sh
r3 r4 6 6 export ACLOCAL="aclocal -I /usr/X11/share/aclocal" 7 7 8 export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe" 9 export LDFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe" 8 export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe -DNO_ALLOCA" 9 export LDFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe -DNO_ALLOCA" 10 11 # Parallel Make. Change $MAKE if you don't have gmake installed 12 MAKE="gmake" 13 MAKE_OPTS="-j3" 10 14 11 15 rootdir="$(pwd)" … … 21 25 shift 22 26 cd ${rootdir}/${d} || die "unable to find source for ${d}" 23 gmake distclean27 ${MAKE} clean 24 28 ./configure --prefix=/usr/X11 --mandir=/usr/X11/man --disable-dependency-tracking "${@}" || die "Configure of ${d} failed." 25 gmake -j5|| die "Compile of ${d} failed."26 gmakeinstall DESTDIR="${DESTDIR}" || die "Install of ${d} failed."29 ${MAKE} ${MAKE_OPTS} || die "Compile of ${d} failed." 30 ${MAKE} install DESTDIR="${DESTDIR}" || die "Install of ${d} failed." 27 31 } 28 32 29 for d in compositeproto-0.4 damageproto-1.1.0 glproto-1.4.9 inputproto-1.4.2.1 randrproto-1.2.1 renderproto-0.9.3 xfs-1.0.5 ; do 33 # Protos 34 for d in compositeproto-0.4 damageproto-1.1.0 glproto-1.4.9 inputproto-1.4.2.1 randrproto-1.2.1 renderproto-0.9.3 ; do 35 doinst $d 36 done 37 38 # Apps, git versions from 2007.12.09 39 for d in xauth xinit lndir xfs-1.0.5; do 30 40 doinst $d 31 41 done … … 33 43 # Libs need x86_64 and ppc64 34 44 CFLAGS="${CFLAGS} -arch x86_64 -arch ppc64" 45 35 46 doinst pixman-0.9.6 --disable-static 36 47 37 # This -D__DARWIN__ should be fixed in 1.1.4 - in git 2007-12-28 38 OLD_CFLAGS=${CFLAGS}" 39 CFLAGS="${CFLAGS} -D__DARWIN__" 48 # libX11-1.1.3 has libX11-apple.patch applied - see git-diff 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 b57129ef324c73ee91c2a796b800c4b45f4d4855 40 49 doinst libX11-1.1.3 --disable-xf86bigfont --disable-xcb --disable-static 41 CFLAGS="${OLD_CFLAGS}" -
trunk/compile-xserver.sh
r1 r4 22 22 MAKE_OPTS="-j3" 23 23 24 export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe "25 export LDFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe "24 export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe -DNO_ALLOCA" 25 export LDFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe -DNO_ALLOCA" 26 26 27 27 die() { … … 51 51 dosign Xquartz-$1.bz2 52 52 dosign xorg-server-$1.tar.bz2 53 # ssh people.freedesktop.org mkdir w/x11-apple/releases/$154 # scp Xquartz-$1.bz2* xorg-server-$1.tar.bz2* people.freedesktop.org:w/x11-apple/releases/$155 53 } 56 54
Note: See TracChangeset
for help on using the changeset viewer.
