# pre-requisite
COMPONENTS+= util-macros
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

COMPONENTS+= x11-protocols
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

COMPONENTS+= lndir
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# proto 
COMPONENTS+= xcb-proto # xcbproto in X11 gate
COMPONENTS+= sun-ext-protos
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

COMPONENTS+= xbitmaps
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

COMPONENTS+= font-util
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# util
COMPONENTS+= compat-links
COMPONENTS+= imake
COMPONENTS+= makedepend
COMPONENTS+= xorg-cf-files
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# doc 
COMPONENTS+= xorg-sgml-doctools
COMPONENTS+= xorg-docs
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# lib
COMPONENTS+= ../library/freetype
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= ../library/fontconfig
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libpthread-stubs
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
#COMPONENTS+= ../openindiana/gfx-drm
COMPONENTS+= libfontenc
COMPONENTS+= libpciaccess
COMPONENTS+= libxcb
COMPONENTS+= libxshmfence
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= xcb-util
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= xcb-util-errors
COMPONENTS+= xcb-util-wm
COMPONENTS+= xcb-util-renderutil
COMPONENTS+= xcb-util-image
COMPONENTS+= xcb-util-keysyms
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= xcb-util-cursor
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= xtrans # libxtrans in X11 gate
COMPONENTS+= libXau
COMPONENTS+= libXdmcp
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libX11
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libdga
COMPONENTS+= libXext
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libdmx
COMPONENTS+= libxkbfile
COMPONENTS+= libFS
COMPONENTS+= libICE
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libSM
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libXevie
COMPONENTS+= libXfixes
COMPONENTS+= libXi
COMPONENTS+= libXinerama
COMPONENTS+= libXp
COMPONENTS+= libXrender
COMPONENTS+= libXres
COMPONENTS+= libXtst
COMPONENTS+= libXv
COMPONENTS+= libXxf86misc
COMPONENTS+= libXxf86vm
COMPONENTS+= libXt
COMPONENTS+= libXScrnSaver
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libXmu
COMPONENTS+= libXpm
COMPONENTS+= libXvMC
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libXaw
COMPONENTS+= libXcomposite
COMPONENTS+= libXcursor
COMPONENTS+= libXdamage
COMPONENTS+= libXfont
COMPONENTS+= libXft
COMPONENTS+= libXpresent
COMPONENTS+= libXrandr
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= mesa
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= glu # libglu in X11 gate
COMPONENTS+= glw # not in X11 gate
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= libepoxy
COMPONENTS+= freeglut
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)
COMPONENTS+= ../pixman
COMPONENTS+= libxkbcommon
COMPONENTS+= ../library/libvdpau
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# app
COMPONENTS+= accessx
COMPONENTS+= appres
COMPONENTS+= bitmap
COMPONENTS+= cmap_alloc
COMPONENTS+= cmap_compact
COMPONENTS+= constype
COMPONENTS+= dispswitch
COMPONENTS+= editres
COMPONENTS+= fbconsole
COMPONENTS+= fslsfonts
COMPONENTS+= fstobdf
COMPONENTS+= iceauth
COMPONENTS+= ico
COMPONENTS+= installalias
COMPONENTS+= listres
COMPONENTS+= luit
COMPONENTS+= kbd_mode
#COMPONENTS+= mesa-demos
COMPONENTS+= mkcookie
COMPONENTS+= oclock
COMPONENTS+= sessreg
COMPONENTS+= setxkbmap
COMPONENTS+= showfont
COMPONENTS+= smproxy
#COMPONENTS+= synergy TDB
COMPONENTS+= winsysck
COMPONENTS+= twm
COMPONENTS+= viewres
COMPONENTS+= x11perf
COMPONENTS+= xauth
COMPONENTS+= xbiff
COMPONENTS+= xcalc
COMPONENTS+= xclipboard
COMPONENTS+= xclock
COMPONENTS+= xcmsdb
COMPONENTS+= xcolor
COMPONENTS+= xcompmgr
COMPONENTS+= transset
COMPONENTS+= xconsole
COMPONENTS+= xcursorgen
COMPONENTS+= xditview
COMPONENTS+= xdm
COMPONENTS+= xdpyinfo
COMPONENTS+= xdriinfo
COMPONENTS+= xedit
COMPONENTS+= xev
COMPONENTS+= xeyes
COMPONENTS+= xfd
COMPONENTS+= xfontsel
COMPONENTS+= xfs
COMPONENTS+= xfsinfo
COMPONENTS+= xgamma
COMPONENTS+= xgc
COMPONENTS+= xhost
COMPONENTS+= xinit
COMPONENTS+= xinput
COMPONENTS+= xkbcomp
COMPONENTS+= xkbprint
COMPONENTS+= xkbutils
COMPONENTS+= xkill
COMPONENTS+= xload
COMPONENTS+= xlock
COMPONENTS+= xlogo
COMPONENTS+= xlsatoms
COMPONENTS+= xlsclients
COMPONENTS+= xlsfonts
COMPONENTS+= xmag_multivis
COMPONENTS+= xmag
COMPONENTS+= xmakemap
COMPONENTS+= xman
COMPONENTS+= xmodmap
COMPONENTS+= xpr
COMPONENTS+= xprop
COMPONENTS+= xrandr
COMPONENTS+= xrdb
COMPONENTS+= xrefresh
COMPONENTS+= xscope
COMPONENTS+= xset
COMPONENTS+= xsetroot
COMPONENTS+= xstdcmap
COMPONENTS+= xterm
COMPONENTS+= xvidtune
COMPONENTS+= xvinfo
COMPONENTS+= xwd
COMPONENTS+= xwininfo
COMPONENTS+= xwud
COMPONENTS+= intel-gpu-tools
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# font apps
COMPONENTS+= bdftopcf
COMPONENTS+= mkfontscale
COMPONENTS+= mkfontdir
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

include xorg.mk

COMPONENTS+= rgb
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# data
COMPONENTS+= rasterfile
COMPONENTS+= ogl-select
COMPONENTS+= workspace-patterns
COMPONENTS+= xcursor-themes
COMPONENTS+= xkeyboard-config
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)

# font

# meta-packages
COMPONENTS+= ../meta-packages/x11-xfs-utilities
COMPONENTS+= ../meta-packages/x11-colormap-utilities
COMPONENTS+= ../meta-packages/x11-info-clients
COMPONENTS+= ../meta-packages/x11-server-utilities
COMPONENTS+= ../meta-packages/x11-xkb-utilities
COMPONENTS+= ../meta-packages/x11-window-dump
COMPONENTS+= ../meta-packages/x11-xt-resource-utilities
COMPONENTS+= $(X11_GATE_INSTALL_ACTION)