xref: /OK3568_Linux_fs/buildroot/package/x11r7/xserver_xorg-server/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "xorg-server needs a glibc or uClibc toolchain"
2	depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL
3
4config BR2_PACKAGE_XSERVER_XORG_SERVER
5	bool "xorg-server"
6	depends on BR2_USE_MMU # fork()
7	# xserver uses inb/outb on arm, which aren't available with musl
8	depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL)
9	# We need a SHA1 implementation. If either openssl or
10	# libgcrypt are already part of the build, we'll use one of
11	# them, otherwise, use the small libsha1 library.
12	select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT)
13	select BR2_PACKAGE_LIBEPOXY
14	select BR2_PACKAGE_MCOOKIE
15	select BR2_PACKAGE_PIXMAN
16	select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
17	select BR2_PACKAGE_XFONT_FONT_MISC_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
18	select BR2_PACKAGE_XFONT_FONT_CURSOR_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
19	select BR2_PACKAGE_XLIB_LIBX11
20	select BR2_PACKAGE_XLIB_LIBXAU
21	select BR2_PACKAGE_XLIB_LIBXCURSOR
22	select BR2_PACKAGE_XLIB_LIBXCVT
23	select BR2_PACKAGE_XLIB_LIBXDAMAGE
24	select BR2_PACKAGE_XLIB_LIBXDMCP
25	select BR2_PACKAGE_XLIB_LIBXEXT
26	select BR2_PACKAGE_XLIB_LIBXFIXES
27	select BR2_PACKAGE_XLIB_LIBXFONT2
28	select BR2_PACKAGE_XLIB_LIBXFT
29	select BR2_PACKAGE_XLIB_LIBXI
30	select BR2_PACKAGE_XLIB_LIBXINERAMA
31	select BR2_PACKAGE_XLIB_LIBXRANDR
32	select BR2_PACKAGE_XLIB_LIBXRENDER
33	select BR2_PACKAGE_XLIB_LIBXRES
34	select BR2_PACKAGE_XLIB_LIBXXF86VM
35	select BR2_PACKAGE_XLIB_LIBXKBFILE
36	select BR2_PACKAGE_XLIB_XTRANS
37	select BR2_PACKAGE_XDATA_XBITMAPS
38	select BR2_PACKAGE_XORGPROTO
39	select BR2_PACKAGE_XUTIL_UTIL_MACROS
40	select BR2_PACKAGE_XKEYBOARD_CONFIG
41	help
42	  X.Org X server
43
44	  http://xorg.freedesktop.org
45
46if BR2_PACKAGE_XSERVER_XORG_SERVER
47
48choice
49	prompt "X Window System server type"
50	help
51	  Select the X Window System server to use
52
53config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
54	bool "Modular X.org"
55	depends on BR2_INSTALL_LIBSTDCPP
56	select BR2_PACKAGE_LIBDRM
57	select BR2_PACKAGE_LIBPCIACCESS
58	select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
59		(BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32)
60	help
61	  This variant of the X.org server is the full-blown variant,
62	  as used by desktop GNU/Linux distributions. The drivers (for
63	  input and graphics) are built separately from the X.org
64	  server (see the xdriver* packages).
65
66comment "Modular X.org needs a toolchain w/ C++"
67	depends on !BR2_INSTALL_LIBSTDCPP
68
69config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
70	bool "KDrive / TinyX"
71	help
72	  This variant of the X.org server is a lightweight version
73	  intended for embedded systems. The drivers (for input and
74	  graphics) are built into the server. It is generally used
75	  directly on top of the Linux framebuffer without DRM or
76	  video card specific drivers.
77
78endchoice
79
80comment "Optional Servers"
81
82config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB
83	bool "Xvfb server"
84	help
85	  Virtual frame buffer X server.
86
87config BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR
88	bool "Xephyr server"
89	select BR2_PACKAGE_XCB_UTIL_IMAGE if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
90	select BR2_PACKAGE_XCB_UTIL_KEYSYMS if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
91	select BR2_PACKAGE_XCB_UTIL_RENDERUTIL if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
92	select BR2_PACKAGE_XCB_UTIL_WM if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
93	help
94	  Xephyr nested X server; successor to Xnest.
95
96endif
97