2017-01-20 16:26:01 +01:00
|
|
|
comment "xorg-server needs a glibc or uClibc toolchain"
|
|
|
|
depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
|
2007-08-10 21:07:51 +02:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER
|
|
|
|
bool "xorg-server"
|
2016-01-04 01:11:47 +01:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2017-01-20 16:26:01 +01:00
|
|
|
# xserver uses inb/outb on arm, which aren't available with musl
|
|
|
|
depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL)
|
xserver_xorg-server: provide more options for SHA1 library
Until now, the X.org server was forcefully selecting OpenSSL, just to
have a SHA1 implementation. However, in fact, the X.org server is
capable of using a SHA1 implementation from multiple libraries:
OpenSSL, libgcrypt and libsha1 amongst others.
So, this patch changes the X.org server package so that we use the
SHA1 functions from OpenSSL is OpenSSL is already available, or the
SHA1 functions from libgcrypt is libgcrypt is already available, or if
neither OpenSSL nor libgcrypt are enabled in the configuration, we
select the much smaller libsha1, that has been specifically written to
fulfill the X.org server requirements.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-06 12:29:24 +01:00
|
|
|
# We need a SHA1 implementation. If either openssl or
|
|
|
|
# libgcrypt are already part of the build, we'll use one of
|
|
|
|
# them, otherwise, use the small libsha1 library.
|
|
|
|
select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT)
|
2015-12-30 22:54:41 +01:00
|
|
|
select BR2_PACKAGE_MCOOKIE
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_PIXMAN
|
2009-03-13 20:46:03 +01:00
|
|
|
select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
|
|
|
select BR2_PACKAGE_XFONT_FONT_MISC_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
|
|
|
select BR2_PACKAGE_XFONT_FONT_CURSOR_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXAU
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXDMCP
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXFT
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXI
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXINERAMA
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXRENDER
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXRES
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXXF86VM
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXKBFILE
|
|
|
|
select BR2_PACKAGE_XLIB_XTRANS
|
|
|
|
select BR2_PACKAGE_XDATA_XBITMAPS
|
|
|
|
select BR2_PACKAGE_XPROTO_BIGREQSPROTO
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_COMPOSITEPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_DAMAGEPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_FIXESPROTO
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_FONTSPROTO
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_GLPROTO
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_INPUTPROTO
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_KBPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_RANDRPROTO
|
2007-08-10 21:07:51 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_RENDERPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_RESOURCEPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_VIDEOPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XCMISCPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XEXTPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XF86DGAPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO
|
|
|
|
select BR2_PACKAGE_XPROTO_XPROTO
|
2010-04-14 19:06:40 +02:00
|
|
|
select BR2_PACKAGE_XUTIL_UTIL_MACROS
|
2010-07-22 16:22:32 +02:00
|
|
|
select BR2_PACKAGE_XKEYBOARD_CONFIG
|
2016-11-29 15:36:58 +01:00
|
|
|
select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_SYSTEMD
|
2007-08-10 21:07:51 +02:00
|
|
|
help
|
2012-09-22 15:18:27 +02:00
|
|
|
X.Org X server
|
|
|
|
|
|
|
|
http://xorg.freedesktop.org
|
2008-09-10 15:16:23 +02:00
|
|
|
|
2012-04-10 10:24:07 +02:00
|
|
|
if BR2_PACKAGE_XSERVER_XORG_SERVER
|
|
|
|
|
2015-04-21 19:04:41 +02:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
|
|
|
|
bool
|
|
|
|
|
2016-07-12 11:30:18 +02:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
|
|
|
|
bool
|
|
|
|
|
2016-12-03 12:58:09 +01:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_23
|
2015-04-21 19:04:39 +02:00
|
|
|
bool
|
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI
|
|
|
|
int
|
2015-04-21 19:04:41 +02:00
|
|
|
default 14 if BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
|
2016-07-12 11:30:18 +02:00
|
|
|
default 19 if BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
|
2016-12-03 12:58:09 +01:00
|
|
|
default 23 if BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_23
|
2015-04-21 19:04:39 +02:00
|
|
|
|
2015-04-21 19:04:38 +02:00
|
|
|
choice
|
|
|
|
bool "X Window System server version"
|
|
|
|
|
2016-12-03 12:58:09 +01:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_19
|
2017-12-20 23:25:10 +01:00
|
|
|
bool "1.19.6"
|
2016-12-03 12:58:09 +01:00
|
|
|
select BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_23
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFONT2
|
2015-04-21 19:04:40 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_PRESENTPROTO
|
2015-04-21 19:04:38 +02:00
|
|
|
|
2016-07-12 11:30:18 +02:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
|
|
|
|
bool "1.17.4"
|
|
|
|
select BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
|
2016-12-03 12:58:09 +01:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXFONT
|
2016-07-12 11:30:18 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_PRESENTPROTO
|
|
|
|
|
2015-04-21 19:04:41 +02:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14
|
|
|
|
bool "1.14.7"
|
|
|
|
select BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
|
2016-12-03 12:58:09 +01:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXFONT
|
2015-04-21 19:04:41 +02:00
|
|
|
|
2015-04-21 19:04:38 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_VERSION
|
|
|
|
string
|
2017-12-20 23:25:10 +01:00
|
|
|
default "1.19.6" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_19
|
2016-07-12 11:30:18 +02:00
|
|
|
default "1.17.4" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
|
2015-04-21 19:04:41 +02:00
|
|
|
default "1.14.7" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14
|
2015-04-21 19:04:38 +02:00
|
|
|
|
2013-01-06 12:29:13 +01:00
|
|
|
choice
|
|
|
|
prompt "X Window System server type"
|
|
|
|
help
|
|
|
|
Select the X Window System server to use
|
|
|
|
|
2013-01-06 12:29:17 +01:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
|
2013-01-06 12:29:13 +01:00
|
|
|
bool "Modular X.org"
|
2016-01-04 01:11:47 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2015-08-08 13:59:06 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM if (BR2_PACKAGE_XPROTO_XF86DRIPROTO || \
|
|
|
|
BR2_PACKAGE_XPROTO_DRI2PROTO)
|
2016-01-04 01:11:49 +01:00
|
|
|
select BR2_PACKAGE_LIBPCIACCESS
|
2017-05-21 13:30:56 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
|
|
|
|
(BR2_PACKAGE_XPROTO_DRI3PROTO && BR2_TOOLCHAIN_HAS_SYNC_4)
|
2013-01-06 12:29:19 +01:00
|
|
|
help
|
|
|
|
This variant of the X.org server is the full-blown variant,
|
|
|
|
as used by desktop GNU/Linux distributions. The drivers (for
|
|
|
|
input and graphics) are built separately from the X.org
|
|
|
|
server (see the xdriver* packages).
|
2013-01-06 12:29:13 +01:00
|
|
|
|
2015-03-30 23:07:30 +02:00
|
|
|
comment "Modular X.org needs a toolchain w/ C++"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
2013-01-06 12:29:13 +01:00
|
|
|
|
2013-01-06 12:29:17 +01:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
|
2013-01-06 12:29:16 +01:00
|
|
|
bool "KDrive / TinyX"
|
2013-01-06 12:29:19 +01:00
|
|
|
help
|
|
|
|
This variant of the X.org server is a lightweight version
|
|
|
|
intended for embedded systems. The drivers (for input and
|
|
|
|
graphics) are built into the server. It is generally used
|
|
|
|
directly on top of the Linux framebuffer without DRM or
|
|
|
|
video card specific drivers.
|
2013-01-06 12:29:13 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2009-03-13 20:46:03 +01:00
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "Enable AIGLX Extension"
|
2016-12-31 17:30:37 +01:00
|
|
|
# AIGLX Extension removed in 1.19.0
|
|
|
|
depends on BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14 || BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
|
2013-11-11 17:23:23 +01:00
|
|
|
help
|
|
|
|
Enable/Use AIGLX extension.
|
2012-04-10 10:24:07 +02:00
|
|
|
|
2013-01-06 12:29:18 +01:00
|
|
|
if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
|
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV
|
|
|
|
bool "Enable KDrive/TinyX evdev input driver"
|
|
|
|
help
|
|
|
|
Enable evdev input driver in KDrive. This allows KDrive to
|
|
|
|
use input devices that are integrated in the Linux input
|
|
|
|
subsystem, i.e have a /dev/input/eventX device file. This is
|
|
|
|
most likely the input driver you want to use.
|
|
|
|
|
|
|
|
This driver can then be enabled by running the X server
|
|
|
|
using:
|
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
Xfbdev -keybd evdev,,device=/dev/input/eventX
|
|
|
|
-mouse evdev,,device=/dev/input/eventY
|
2013-01-06 12:29:18 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD
|
|
|
|
bool "Enable KDrive/TinyX kbd input driver"
|
|
|
|
help
|
|
|
|
Enable kbd input driver in KDrive. It uses the console
|
|
|
|
keyboard as input device.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE
|
|
|
|
bool "Enable KDrive/TinyX mouse input driver"
|
|
|
|
help
|
|
|
|
Enable mouse input driver in KDrive. It supports PS/2 mice
|
|
|
|
and serial port mice.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-04-10 10:24:07 +02:00
|
|
|
comment "Optional Servers"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "Xvfb server"
|
|
|
|
help
|
|
|
|
Virtual frame buffer X server.
|
2012-04-10 10:24:07 +02:00
|
|
|
|
|
|
|
endif
|