|
|
发表于 2007-9-18 17:26:40
|
显示全部楼层
0。先做完LFS6.3.
1。xorg7.3,可以用参考blfs的开发中的svn作,用wget下载。把*.7.2.wget改造成*.7.3.wget:
w.sh: BEGIN 8<===============>8
#!/bin/bash -e
section=$1
lv=7.2
version=7.3
if [ ! -e $section ]; then mkdir $section; fi
cd $section
printf "\nWGET: $section\n"
# download and check packages
if [ ! -e ../${section}-${version}.wget ]; then
cp ../${section}-${lv}.wget ../${section}-${version}.wget
grep -v '^#' ../${section}-${lv}.wget | while read l; do
if [[ $l != ^# ]]; then
f1=`echo $l|sed -e 's/[^-]*.tar.bz2//'`
f2=`grep -E "^$f1" ../f3.bz2|cut -d" " -f1`
if [[ $l != $f2 ]]; then
printf "\nNEW $f1: $l : $f2\n"
sed -i -e "s/$l/$f2/" ../${section}-${version}.wget
fi
fi
done
if (( `wc -l ../${section}-${lv}.wget|gawk '{print $1}'`!=`wc -l ../${section}-${version}.wget|gawk '{print $1}'`)); then
echo FILE ERROR:
until false ; do sleep 4; done
fi
! diff ../${section}-${lv}.wget ../${section}-${version}.wget
fi
if egrep -v '^#|^OK' ../${section}-${version}.wget && [ ! -s `grep -v '^#|OK' ../${section}-${version}.wget|tail -n 1` ]; then
( grep -v '^#' ../${section}-${version}.wget | wget -i- \
-B http://xorg.freedesktop.org/releases/individual/${section}/ \
-o ../xorg-${section}-wget.log ) &
printf "WGET \&: $section";
fi
#md5sum -c ../${section}-${version}.md5
w.sh: END 8<===============>8
单个包就找了对应的下,有2个包版本比7.2的降低了。
仅供参考!:7.3的包列在附件里,注意f3.bz2不是bz2文件是文本文件。
2。里面xkeyboardconfig编译要perlxml; xserver要用到pixman,没有过不去。
3。大致顺序:
01_proto.sh*
02_pkg-config.sh*
03_util.sh*
04_libXau.sh*
05_libXdmcp.sh*
06_xcb-proto.sh*
07_libpthread-stubs.sh*
08_libxml.sh*
09_libxslt.sh*
10_libxcb.sh*
11_ed.sh*
12_freetype.sh*
13_expat.sh*
13_fontconfig.sh*
14_xorglib.sh*
15_xbitmaps.sh*
16_libpng.sh*
17_libdrm.sh*
18_expat.sh*
19_mesa.sh*
20_xorgapp.sh*
21_xorgdata.sh*
22_xorgfont.sh*
23_perlxml.sh*
24_xkeyboardconfig.sh*
25_luit.sh* (书里可能少:ln -sv /usr/share/X11/locale /usr/lib/X11/locale )
26_pixman.sh*
27_xorgserver.sh*
28_xorgdirver.sh*
29_xterm.sh*
xterm显示中文:
cat >~/.X*es <<EOF
Xft.dpi: 90
*customization: -color
*VT100*faceSize: 12
EOF
如果xterm提示:Warning: couldn't find charset data for locale zh_CN.GB2312; using ISO 8859-1
可能需要:ln -sv /usr/share/X11/locale /usr/lib/X11/locale
thinkpand 600, PII 266Mhz, 224MB RAM, 224MB swap, 硬盘空间留出1.2GB(??),看着书慢慢来,一个星期就差不多了。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|