forked from lineCode/minigui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildlib-linux-i386-xvfb
executable file
·228 lines (204 loc) · 7.76 KB
/
buildlib-linux-i386-xvfb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#!/bin/bash
# MiniGUIµÄ°æ±¾
MINIGUI_VERSION=3.0
# ¸Ã·¢²¼µÄÃû³Æ¡£
RELEASE_VERSION=2
curdir=`pwd`
packagedir=adp-package-${MINIGUI_VERSION}.${RELEASE_VERSION}-procs
tarballdir=adp-tarballs
if test -d ${tarballdir} ; then
rm ${tarballdir}/* -f
else
mkdir ${tarballdir}
fi
#make distclean
rm config.cache config.status -f
./configure --prefix=${curdir}/$packagedir \
--enable-procs \
--disable-standalone \
--disable-videofbcon \
--enable-videoqvfb \
--disable-videodummy \
--disable-videocommlcd \
--enable-fixedmath \
--enable-micemoveable \
--disable-textmode \
--enable-rbfsupport \
--enable-rbfvgaoem \
--enable-rbfterminal \
--enable-rbffixedsys \
--enable-vbfsupport \
--enable-fontsserif \
--enable-fontcourier \
--enable-fontsystem \
--enable-upfsupport \
--enable-fontstimes \
--disable-qpfsupport \
--disable-sefsupport \
--disable-ttfcache \
--enable-bmpfsupport \
--enable-latin2support \
--enable-latin3support \
--enable-latin4support \
--enable-cyrillicsupport \
--enable-arabicsupport \
--enable-greeksupport \
--enable-hebrewsupport \
--enable-latin5support \
--enable-latin6support \
--enable-thaisupport \
--enable-latin7support \
--enable-latin8support \
--enable-latin9support \
--enable-latin10support \
--enable-gbsupport \
--enable-gbksupport \
--disable-gb18030support \
--enable-big5support \
--enable-euckrsupport \
--enable-eucjpsupport \
--enable-shiftjissupport \
--enable-unicodesupport \
--enable-savebitmap \
--disable-pcxsupport \
--disable-lbmsupport \
--disable-tgasupport \
--enable-gifsupport \
--enable-jpgsupport \
--enable-pngsupport \
--enable-ctrlgridview \
--with-ttfsupport=ft2 \
--disable-dummyial \
--disable-autoial \
--enable-qvfbial
if ! test $? -eq 0 ; then
echo "configure error !"
fi
make && make install
tar -zcvf ${tarballdir}/minigui-procs-adp-${MINIGUI_VERSION}.${RELEASE_VERSION}.tar.gz ${packagedir}/
rm -rf ${packagedir}/
#make distclean
rm config.cache config.status -f
packagedir=adp-package-${MINIGUI_VERSION}.${RELEASE_VERSION}-ths
./configure --prefix=${curdir}/$packagedir \
--disable-standalone \
--disable-videofbcon \
--enable-videoqvfb \
--disable-videodummy \
--disable-videocommlcd \
--enable-fixedmath \
--enable-micemoveable \
--disable-textmode \
--enable-rbfsupport \
--enable-rbfvgaoem \
--enable-rbfterminal \
--enable-rbffixedsys \
--enable-vbfsupport \
--enable-fontsserif \
--enable-fontcourier \
--enable-fontsystem \
--enable-upfsupport \
--enable-fontstimes \
--disable-qpfsupport \
--disable-sefsupport \
--disable-ttfcache \
--enable-bmpfsupport \
--enable-latin2support \
--enable-latin3support \
--enable-latin4support \
--enable-cyrillicsupport \
--enable-arabicsupport \
--enable-greeksupport \
--enable-hebrewsupport \
--enable-latin5support \
--enable-latin6support \
--enable-thaisupport \
--enable-latin7support \
--enable-latin8support \
--enable-latin9support \
--enable-latin10support \
--enable-gbsupport \
--enable-gbksupport \
--disable-gb18030support \
--enable-big5support \
--enable-euckrsupport \
--enable-eucjpsupport \
--enable-shiftjissupport \
--enable-unicodesupport \
--enable-savebitmap \
--disable-pcxsupport \
--disable-lbmsupport \
--disable-tgasupport \
--enable-gifsupport \
--enable-jpgsupport \
--enable-pngsupport \
--enable-ctrlgridview \
--with-ttfsupport=ft2 \
--disable-dummyial \
--disable-autoial \
--enable-qvfbial
if ! test $? -eq 0 ; then
echo "configure error !"
fi
make && make install
tar -zcvf ${tarballdir}/minigui-ths-adp-${MINIGUI_VERSION}.${RELEASE_VERSION}.tar.gz ${packagedir}/
cat >minigui-pc-linux-adp-build-conf <<EOF
################ Following is the configuration of MiniGUI lib######################
--disable-videofbcon include FrameBuffer console NEWGAL engine
--enable-videoqvfb include Qt Virtual FrameBuffer NEWGAL engine
--disable-videodummy include dummy NEWGAL engine
--disable-videocommlcd include NEWGAL engine for Common LCD
--disable-dummyial build the Dummy IAL engine
--disable-autoial build the Automatic IAL engine
--enable-qvfbial build the QVFB IAL engine
--enable-fixedmath include fixed math routines
--enable-micemoveable user can move window by using mouse
--disable-textmode Linux system have console (text mode) on FrameBuffer
--enable-rbfsupport include raw bitmap font support
--enable-rbfvgaoem include incore RBF font of ISO8859-1 VGAOEM (8x8) font
--enable-rbfterminal include incore RBF font of ISO8859-1 Terminal (8x12) font
--enable-rbffixedsys include incore RBF font of ISO8859-1 FixedSys (8x15) font
--enable-vbfsupport include var bitmap font support
--enable-fontsserif include incore font SansSerif (11x13)
--enable-fontcourier include incore font Courier (8x13)
--enable-fontsystem include incore font System (14x16)
--enable-upfsupport build support for FMSOft's Unicode Prerendered Font (UPF)
--enable-fontstimes include incore font smooth Times (10x10)
--disable-qpfsupport build support for Qt Prerendered Font (QPF)
--disable-sefsupport build support for koxomo scripteasy (SEF)
--disable-ttfcache include ttf cache support
--enable-bmpfsupport build support for Bitmap Font (bmpf)
--enable-latin2support include East European (Latin 2, ISO-8859-2) charset support
--enable-latin3support include South European (Latin 3, ISO-8859-3) charset support
--enable-latin4support include North European (Latin 4, ISO-8859-4) charset support
--enable-cyrillicsupport include Cyrillic (ISO-8859-5) charset support
--enable-arabicsupport include Arabic (ISO-8859-6) charset support
--enable-greeksupport include Greek (ISO-8859-7) charset support
--enable-hebrewsupport include Hebrew (ISO-8859-8) charset support
--enable-latin5support include Turkish (Latin 5, ISO-8859-9) charset support
--enable-latin6support include Nordic, Latin 6, ISO-8859-10) charset support
--enable-thaisupport include Thai (ISO-8859-11) charset support
--enable-latin7support include Latin 7 (ISO-8859-13) charset support
--enable-latin8support include Latin 8 (ISO-8859-14) charset support
--enable-latin9support include Latin 9 (ISO-8859-15, West Extended) charset support
--enable-latin10support include Latin 10 (ISO-8859-16, Romanian) charset support
--enable-gbsupport include EUC encoding of GB2312 charset support
--enable-gbksupport include GBK charset support
--disable-gb18030support include GB18030-0 charset support
--enable-big5support include BIG5 charset support
--enable-euckrsupport include support for EUC encoding of KSC5636 and KSC5601 charsets
--enable-eucjpsupport include support for EUC encoding of JISX0201 and JISX0208 charsets
--enable-shiftjissupport include support for Shift-JIS encoding of JISX0201 and JISX0208 charsets
--enable-unicodesupport include UNICODE (ISO-10646-1 and UTF-8 encoding) support
--enable-savebitmap include SaveBitmap-related functions
--disable-pcxsupport include PCX file support
--disable-lbmsupport include LBM/PBM file support
--disable-tgasupport include TGA file support
--enable-gifsupport include GIF file support
--enable-jpgsupport include JPG file support
--enable-pngsupport include PNG file support
--enable-ctrlgridview include gridview contrl support
--with-ttfsupport=ft2 support freetype 2
EOF
mv minigui-pc-linux-adp-build-conf ${tarballdir}/
rm -rf ${packagedir}/