*************************************************************************************************
13.zlib-1.2.3
patch -Np1 -i visibility.patch
$CC=arm-
softfloat-
linux-gnu-
gcc NM=arm-
softfloat-
linux-gnu-
nm AR="arm-
softfloat-
linux-gnu-
ar rc" ./configure --prefix=$PREFIX --shared
$make all
$make install
*************************************************************************************************
14.tslib-1.0
主機端安裝
autoconf (automatic configure script builder)
主機端安裝
automakepatch -Np1 -i fix_version.patch
./
autogen.sh
修改./etc/ts.conf 設成
linux內部module_raw input
$ CC=arm-
softfloat-
linux-gnu-
gcc NM=arm-
softfloat-
linux-gnu-
nm AR=arm-
softfloat-
linux-gnu-
ar ac_
cv_
func_
malloc_0_
nonnull=yes ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes --enable-
ucb1x00=no --enable-corgi=no --enable-collie=no --enable-h3600=no --enable-
mk712=no --enable-arctic2=no --enable-input
$ make all
$ make install
*************************************************************************************************
15.freetype-2.3.5 (做時會出現一個錯誤訊息~在configure完後打echo $? 出現0 則
ok error
mesage :make: Nothing to be done for `
unix'.)
註:echo $? 檢查configure 作完的傳回值 0 則作完 1則是退出
打兩個補丁patch -Np1 -i fix-x86_64-build.patch
patch -Np1 -i no-
hardcode.patch
$ CC=arm-
softfloat-
linux-gnu-
gcc NM=arm-
softfloat-
linux-gnu-
nm AR=arm-
softfloat-
linux-gnu-
ar ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --without-
zlib$ make all
$ make install
*************************************************************************************************
16.compositeproto-0.4
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
17.damageproto-1.1.0
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
18.fixesproto-4.0
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
19.recordproto-1.13.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
20.resourceproto-1.0.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
21.scrnsaverproto-1.1.0
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
22.xineramaproto-1.1.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
23.videoproto-2.2.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
24.
calibrateproto$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
25.fontsproto-2.0.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
26.fontcacheproto-0.1.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
27.randrproto-1.2.1
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
28.renderproto-X11R7.0-0.9.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
29.
xf86
miscproto 0.9.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
30.
xf86
vidmodeproto 2.2.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
31.
xf86
dgaproto 2.0.2
$CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD
$make install
*************************************************************************************************
32.libxkbfile-1.0.4
$ CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes
$ make all
$ make install
*************************************************************************************************
33.
libXCalibrate$ CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes
$ make all
$ make install
*************************************************************************************************
34.libXrender-0.9.2
$ CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes --enable-
malloc0
returnsnull$ make all
$ make install
*************************************************************************************************
35.libXrandr-1.2.1
$ CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes --enable-
malloc0
returnsnull$ make all
$ make install
*************************************************************************************************
36.libfontenc-1.0.4
$ CC=arm-
softfloat-
linux-gnu-
gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes
edit ./
src/
MakefileDEFAULT_INCLUDES = -I. -I$(
srcdir) -I$(top_
builddir) -I/mnt/sd/arm_lib_4.2.1/include
$ make all
$ make install
*************************************************************************************************
37.libXfont-1.3.1
edit configure
ac_
cv_lib_z_
gzopen=yes
(bypass
zlib check)
$ CC=arm-
softfloat-
linux-gnu-
gcc ac_
cv_lib_z_
gzopen=yes ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes
$ make all
$ make install
*************************************************************************************************
38.xorg-server-1.3.0.0
修改configure 尋找cannot check for file existence when cross compiling
把下面的 { (exit 1); exit 1; };} 改成}
$ CC=arm-
softfloat-
linux-gnu-
gcc ac_
cv_file__
usr_share_X11_
sgml_
defs_
ent=no ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes --enable-composite --enable-
kdrive --disable-
dga --disable-
dri --disable-
xinerama --disable-
xf86misc --disable-
xf86
vidmode --disable-
xorg --disable-
xorgcfg --disable-
xkb --disable-
xnest --disable-
xvfb --disable-
xevie --disable-
xprint --disable-
xtrap --disable-
dmx --with-default-font-path=built-ins --enable-
tslib --enable-
xcalibrate再configure 一次
出現以下error
configure: error:
tslib must be installed to build the
tslib driver. See http://tslib.berlios.de/
在configure加入
tslib路徑
TSLIB_CFLAGS=-I/mnt/sd/arm_lib_4.2.1/include TSLIB_LIBS='-L/mnt/sd/arm_lib_4.2.1/lib -
lts'
$ CC=arm-
softfloat-
linux-gnu-
gcc ac_
cv_file__
usr_share_X11_
sgml_
defs_
ent=no TSLIB_CFLAGS=-I/mnt/sd/arm_lib_4.2.1/include TSLIB_LIBS='-L/mnt/sd/arm_lib_4.2.1/lib -
lts' ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes --enable-composite --enable-
kdrive --disable-
dga --disable-
dri --disable-
xinerama --disable-
xf86misc --disable-
xf86
vidmode --disable-
xorg --disable-
xorgcfg --disable-
xkb --disable-
xnest --disable-
xvfb --disable-
xevie --disable-
xprint --disable-
xtrap --disable-
dmx --with-default-font-path=built-ins --enable-
tslib --enable-
xcalibrate最後一次用的
CC=arm-
softfloat-
linux-gnu-
gcc ac_
cv_file__
usr_share_X11_
sgml_
defs_
ent=no TSLIB_CFLAGS=-I/mnt/sd/arm_lib_4.2.1/include TSLIB_LIBS='-L/mnt/sd/arm_lib_4.2.1/lib -
lts' ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-shared=yes --enable-static=yes --enable-composite --enable-
kdrive --disable-
dga --disable-
dri --disable-
xinerama --disable-
xf86misc --disable-
xf86
vidmode --disable-
xorg --disable-
xorgcfg --disable-
xkb --disable-
xnest --disable-
xvfb --disable-
xevie --disable-
xprint --disable-
xtrap --disable-
dmx --enable-
tslib --enable-
xcalibrate --with-
fontdir=/
mnt/
sd/fonts/X11
--with-default-font-path=built-ins
--with-
fontdir=/
mnt/
sd/fonts/X11 設定尋找字型的目錄
這裡不要打patch可過