summaryrefslogtreecommitdiffstats
path: root/xorg-xserver/xorg-server/DEPENDS
blob: 92cfb02ea4cebd2c115f4bd2bae26ab9da18e857 (plain) (blame)
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
. $GRIMOIRE/FUNCTIONS


depends xcb-util &&
depends xcb-util-image &&
depends xcb-util-wm &&
depends xcb-util-keysyms &&


#
## Check this every release as X.org likes to change things on us...
#
##Check this on updates
depends  libxv "--enable-xv"             &&
# workaround until: https://bugs.freedesktop.org/show_bug.cgi?id=6009
# get's fixed, bug still on hold 2009-02-28
if  list_find  "$XORG_SERVER_OPTS"  "--enable-dri";  then
  depends  libxinerama  '--enable-xinerama'
else
  optional_depends  libxinerama                    \
                    "--enable-xinerama"            \
                    "--disable-xinerama"           \
                    "Build Xinerama extension"
fi                                                 &&
##
optional_depends  libselinux                       \
                  ""              \
                  ""             \
                  "Enable SELinux support"         &&
optional_depends  dri2proto                        \
                  "--enable-dri2"                  \
                  "--disable-dri2"                 \
                  "Enable DRI2 extension"          &&
optional_depends  dri3proto                        \
                  "--enable-dri3"                  \
                  "--disable-dri3"                 \
                  "Enable DRI3 extension"          &&
optional_depends  libxscrnsaver                    \
                  "--enable-screensaver"           \
                  "--disable-screensaver"          \
                  "Build ScreenSaver extension"    &&
optional_depends  libxvmc                          \
                  "--enable-xvmc"                  \
                  "--disable-xvmc"                 \
                  "Enable support for XvMC"        &&

  optional_depends  UDEV \
    "--enable-config-udev --disable-config-hal" \
    "--disable-config-udev" \
    "enable udev kernel config support" &&

optional_depends  dmxproto                           \
                  "--enable-dmx"                   \
                  "--disable-dmx"                  \
                  "Build DMX server"               &&
if is_depends_enabled $SPELL dmxproto;then
  depends -sub XAW7 libxaw &&
  depends libdmx &&
  depends libxt  &&
  depends libxpm &&
  depends libxmu
fi &&


if  list_find  "$XORG_SERVER_OPTS"  "--enable-glamor";  then
  depends libepoxy
fi &&

optional_depends nettle  '--with-sha1=libnettle' '' 'SHA1 crypto support' &&
optional_depends wayland '--enable-xwayland'  \
                         '--disable-xwayland' \
                         'build Xwayland DDX' &&

optional_depends libunwind '' '' 'debugging support' &&

depends  freetype2                                 &&
depends  libxfontcache                             &&
depends  libxxf86dga "--enable-dga"                &&
depends  libxcomposite  "--enable-composite"       &&
depends  libxxf86vm "--enable-xf86vidmode"         &&
depends  libxi                                     &&
depends  util-macros                               &&
depends  xinit                                     &&
depends  xhost                                     &&
depends  xauth                                     &&
depends  bigreqsproto                              &&
depends  pixman                                    &&
depends  compositeproto                            &&
depends  damageproto                               &&
depends  evieext                                   &&
depends  fixesproto                                &&
depends  fontcacheproto                            &&
depends  fontsproto                                &&
depends  glproto                                   &&
depends  inputproto                                &&
depends  kbproto                                   &&
depends  randrproto                                &&
optional_depends  presentproto  \
         '' \
         '--disable-present' \
         'build Present extension' &&
depends  libxshmfence  &&

if list_find "$XORG_SERVER_OPTS" "--enable-record"; then
  depends recordproto
fi &&

depends  renderproto                               &&
depends  resourceproto                             &&
depends  scrnsaverproto                            &&
depends  videoproto                                &&
depends  xcmiscproto                               &&
depends  xextproto                                 &&
depends  xf86bigfontproto                          &&
depends  xf86dgaproto                              &&
depends  xf86driproto                              &&
depends  xf86vidmodeproto                          &&
depends  xineramaproto                             &&
depends  xproto                                    &&
depends  xproxymanagementprotocol                  &&
depends  libxkbui                                  &&
depends  -sub 'FC' libxfont                        &&
depends  xtrans                                    &&
depends  libxau                                    &&
depends  libxkbfile                                &&
depends  libxdmcp                                  &&
depends  libdrm                                    &&
depends  libxres                                   &&
depends  bison                                     &&
depends  flex                                      &&
depends  pkgconfig                                 &&
depends  libtool                                   &&
depends  gawk                                      &&
depends  mesalib-1x                                &&
depends  rgb                                       &&
depends  font-cursor-misc                          &&
depends  font-misc-misc                            &&
depends  font-alias                                &&
depends  libpciaccess                              &&
depends  libxtst                                   &&
depends  SSL                                   &&

if list_find "$XORG_SERVER_FONT_100DPI" "all"
then
depends font-bh-100dpi                             &&
depends font-adobe-100dpi                          &&
depends font-bitstream-100dpi                      &&
depends font-adobe-utopia-100dpi                   &&
depends font-bh-lucidatypewriter-100dpi
elif list_find "$XORG_SERVER_FONT_100DPI" "none"
then
true
else
for font100dpi in $XORG_SERVER_FONT_100DPI
do
depends $font100dpi
done
fi                                                 &&

if list_find "$XORG_SERVER_FONT_75DPI" "all"
then
depends font-bh-75dpi                              &&
depends font-adobe-75dpi                           &&
depends font-bitstream-75dpi                       &&
depends font-adobe-utopia-75dpi                    &&
depends font-bh-lucidatypewriter-75dpi
elif list_find "$XORG_SERVER_FONT_75DPI" "none"
then
true
else
for font75dpi in $XORG_SERVER_FONT_75DPI
do
depends $font75dpi
done
fi                                                 &&

if list_find "$XORG_SERVER_FONT_SPEEDO" "all"
then
depends font-bitstream-speedo
elif list_find "$XORG_SERVER_FONT_SPEEDO" "none"
then
true
else
for speedo in $XORG_SERVER_FONT_SPEEDO
do
depends $speedo
done
fi                                                 &&

if list_find "$XORG_SERVER_FONT_TYPE1" "all"
then
depends font-bh-type1                              &&
depends font-ibm-type1                             &&
depends font-xfree86-type1                         &&
depends font-bitstream-type1                       &&
depends font-adobe-utopia-type1
elif list_find "$XORG_SERVER_FONT_TYPE1" "none"
then
true
else
for type1 in $XORG_SERVER_FONT_TYPE1
do
depends $type1
done
fi                                                 &&

if list_find "$XORG_SERVER_FONT_TTFOTF" "all"
then
depends font-bh-ttf                                &&
depends font-misc-meltho                           &&
depends font-misc-ethiopic
elif list_find "$XORG_SERVER_FONT_TTFOTF" "none"
then
true
else
for ttfotf in $XORG_SERVER_FONT_TTFOTF
do
depends $ttfotf
done
fi                                                 &&

if list_find "$XORG_SERVER_FONT_MISC" "all"
then
depends font-dec-misc                              &&
depends font-sun-misc                              &&
depends font-jis-misc                              &&
depends font-mutt-misc                             &&
depends font-sony-misc                             &&
depends font-isas-misc                             &&
depends font-micro-misc                            &&
depends font-arabic-misc                           &&
depends font-daewoo-misc                           &&
depends font-misc-cyrillic                         &&
depends font-cronyx-cyrillic                       &&
depends font-schumacher-misc                       &&
depends font-screen-cyrillic                       &&
depends font-winitzki-cyrillic
elif list_find "$XORG_SERVER_FONT_MISC" "none"
then
true
else
for misc in $XORG_SERVER_FONT_MISC
do
depends $misc
done
fi

if list_find "$XORG_SERVER_INPUT_DRIVER" "sane"
then
runtime_depends_2 xf86-input-mouse                 &&
runtime_depends_2 xf86-input-keyboard
elif list_find "$XORG_SERVER_INPUT_DRIVER" "all"
then
runtime_depends_2 xf86-input-mouse                 &&
runtime_depends_2 xf86-input-evdev                 &&
runtime_depends_2 xf86-input-keyboard              &&
runtime_depends_2 xf86-input-joystick              &&
runtime_depends_2 xf86-input-synaptics             &&
runtime_depends_2 xf86-input-aiptek                &&
runtime_depends_2 linuxwacom
elif list_find "$XORG_SERVER_INPUT_DRIVER" "none"
then
true
else
for input_driver in $XORG_SERVER_INPUT_DRIVER
do
runtime_depends_2 $input_driver
done
fi                                       &&

if list_find "$XORG_SERVER_INPUT_OBSCURE" "all"
then
runtime_depends_2 xf86-input-dmc                   &&
runtime_depends_2 xf86-input-fpit                  &&
runtime_depends_2 xf86-input-ur98                  &&
runtime_depends_2 xf86-input-void                  &&
runtime_depends_2 xf86-input-summa                 &&
runtime_depends_2 xf86-input-palmax                &&
runtime_depends_2 xf86-input-acecad                &&
runtime_depends_2 xf86-input-diamondtouch          &&
runtime_depends_2 xf86-input-citron                &&
runtime_depends_2 xf86-input-dynapro               &&
runtime_depends_2 xf86-input-elo2300               &&
runtime_depends_2 xf86-input-tek4957               &&
runtime_depends_2 xf86-input-calcomp               &&
runtime_depends_2 xf86-input-mutouch               &&
runtime_depends_2 xf86-input-penmount              &&
runtime_depends_2 xf86-input-spaceorb              &&
runtime_depends_2 xf86-input-hyperpen              &&
runtime_depends_2 xf86-input-magellan              &&
runtime_depends_2 xf86-input-jamstudio             &&
runtime_depends_2 xf86-input-magictouch            &&
runtime_depends_2 xf86-input-microtouch            &&
runtime_depends_2 xf86-input-digitaledge           &&
runtime_depends_2 xf86-input-elographics
elif list_find "$XORG_SERVER_INPUT_OBSCURE" "none"
then
true
else
for input_obscure in $XORG_SERVER_INPUT_OBSCURE
do
depends $input_obscure
done
fi                                       &&

if list_find "$XORG_SERVER_VIDEO_DRIVER_COMMON" "sane"
then
runtime_depends_2 xf86-video-nv                    &&
runtime_depends_2 xf86-video-s3                    &&
runtime_depends_2 xf86-video-ati                   &&
runtime_depends_2 xf86-video-mga                   &&
runtime_depends_2 xf86-video-via                   &&
runtime_depends_2 xf86-video-sis                   &&
runtime_depends_2 xf86-video-intel                 &&
runtime_depends_2 xf86-video-vesa
elif list_find "$XORG_SERVER_VIDEO_DRIVER_COMMON" "all"
then
runtime_depends_2 xf86-video-nouveau               &&
runtime_depends_2 xf86-video-nv                    &&
runtime_depends_2 xf86-video-s3                    &&
runtime_depends_2 xf86-video-ati                   &&
runtime_depends_2 xf86-video-via                   &&
runtime_depends_2 xf86-video-mga                   &&
runtime_depends_2 xf86-video-sis                   &&
runtime_depends_2 xf86-video-intel                 &&
runtime_depends_2 xf86-video-i740                  &&
runtime_depends_2 xf86-video-i128                  &&
runtime_depends_2 xf86-video-vesa                  &&
runtime_depends_2 xf86-video-fbdev                 &&
runtime_depends_2 xf86-video-savage                &&
runtime_depends_2 xf86-video-s3virge               &&
runtime_depends_2 xf86-video-neomagic              &&
runtime_depends_2 ati-fglrx "" "" z-rejected       &&
runtime_depends_2 NVIDIA "" "" z-rejected
elif list_find "$XORG_SERVER_VIDEO_DRIVER_COMMON" "none"
then
true
else
  for video_common in $XORG_SERVER_VIDEO_DRIVER_COMMON
  do
    if [[ $video_common == ati-fglrx || $video_common == NVIDIA ]]; then
      runtime_depends_2 $video_common "" "" z-rejected
    else
      runtime_depends_2 $video_common
    fi || return 1 # break the chain on any error
  done
fi                                       &&

if list_find "$XORG_SERVER_VIDEO_DRIVER_UNCOMMON" "all"
then
runtime_depends_2 xf86-video-tga                   &&
runtime_depends_2 xf86-video-v4l                   &&
runtime_depends_2 xf86-video-tdfx                  &&
runtime_depends_2 xf86-video-chips                 &&
runtime_depends_2 xf86-video-cyrix                 &&
runtime_depends_2 xf86-video-dummy                 &&
runtime_depends_2 xf86-video-glint                 &&
runtime_depends_2 xf86-video-tseng                 &&
runtime_depends_2 xf86-video-sisusb                &&
runtime_depends_2 xf86-video-cirrus                &&
runtime_depends_2 xf86-video-vmware                &&
runtime_depends_2 xf86-video-voodoo                &&
runtime_depends_2 xf86-video-trident               &&
runtime_depends_2 xf86-video-vga
elif list_find "$XORG_SERVER_VIDEO_DRIVER_UNCOMMON" "none"
then
true
else
for video_uncommon in $XORG_SERVER_VIDEO_DRIVER_UNCOMMON
do
runtime_depends_2 $video_uncommon
done
fi                                       &&

if list_find "$XORG_SERVER_VIDEO_DRIVER_OBSCURE" "all"
then
runtime_depends_2 xf86-video-nsc                   &&
runtime_depends_2 xf86-video-apm                   &&
runtime_depends_2 xf86-video-ark                   &&
runtime_depends_2 xf86-video-geode                 &&
runtime_depends_2 xf86-video-imstt                 &&
runtime_depends_2 xf86-video-sunbw2                &&
runtime_depends_2 xf86-video-suncg3                &&
runtime_depends_2 xf86-video-suncg6                &&
runtime_depends_2 xf86-video-sunffb                &&
runtime_depends_2 xf86-video-sunleo                &&
runtime_depends_2 xf86-video-suntcx                &&
runtime_depends_2 xf86-video-suncg14               &&
runtime_depends_2 xf86-video-newport               &&
runtime_depends_2 xf86-video-rendition             &&
runtime_depends_2 xf86-video-siliconmotion
elif list_find "$XORG_SERVER_VIDEO_DRIVER_OBSCURE" "none"
then
true
else
for video_obscure in $XORG_SERVER_VIDEO_DRIVER_OBSCURE
do
runtime_depends_2 $video_obscure
done
fi