2017-03-31 21:50:37 +03:00
+x11 : use /x 11/xorg ; @:
2012-03-19 15:25:31 +04:00
+icewm : use /x 11/icewm ; @:
2013-02-18 00:45:19 +04:00
+xmonad : use /x 11/xmonad ; @:
2019-09-09 22:15:32 +03:00
+nm-gtk : use /x 11/gtk /nm ; @:
2012-03-16 22:26:58 +04:00
2019-01-07 16:50:19 +03:00
## hardware support
2013-05-30 21:06:39 +04:00
# the very minimal driver set
use/x11 :
2012-04-18 21:53:51 +04:00
@$( call add_feature)
2013-05-30 21:06:39 +04:00
@$( call add,THE_LISTS,$( call tags,base xorg) )
2016-05-16 18:32:25 +03:00
@$( call add,THE_KMODULES,drm) # required by recent nvidia.ko as well
@$( call add,THE_KMODULES,$$ ( NVIDIA_KMODULES) $$ ( RADEON_KMODULES) )
@$( call add,THE_PACKAGES,$$ ( NVIDIA_PACKAGES) $$ ( RADEON_PACKAGES) )
2013-05-30 21:06:39 +04:00
2013-08-05 15:53:36 +04:00
# x86: free drivers for various hardware (might lack acceleration)
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2019-07-15 19:43:17 +03:00
use/x11/xorg : use /x 11/intel use /x 11/nouveau use /x 11/radeon use /x 11/amdgpu
2013-05-30 21:06:39 +04:00
@$( call add,THE_LISTS,$( call tags,desktop xorg) )
2013-08-05 15:53:36 +04:00
e l s e
2019-07-09 08:32:05 +03:00
use/x11/xorg : use /x 11; @:
2013-08-05 15:53:36 +04:00
e n d i f
2013-05-30 21:06:39 +04:00
use/x11/intel : use /x 11
@$( call add,THE_PACKAGES,xorg-drv-intel)
@$( call add,THE_PACKAGES,xorg-dri-intel) ### #25044
2019-05-07 19:41:43 +03:00
i f e q ( , $( filter -out armh aarch 64,$ ( ARCH ) ) )
2018-12-23 18:59:53 +03:00
use/x11/armsoc : use /x 11 use /firmware
@$( call add,THE_PACKAGES,xorg-dri-armsoc)
2019-05-07 19:41:43 +03:00
e l s e
use/x11/armsoc : use /x 11; @:
e n d i f
2018-12-23 18:59:53 +03:00
2013-05-30 21:06:39 +04:00
# for those cases when no 3D means no use at all
2016-05-16 18:32:25 +03:00
# NB: blobs won't Just Work (TM) along with nouveau/radeon
# as free drivers get prioritized during autodetection
2014-02-09 19:22:19 +04:00
use/x11/3d : use /x 11/intel use /x 11/nvidia /optimus use /x 11/radeon ; @:
2013-05-30 21:06:39 +04:00
2016-05-16 18:32:25 +03:00
# somewhat lacking compared to radeon but still
use/x11/nouveau : use /x 11 use /firmware
@$( call set,NVIDIA_KMODULES,drm-nouveau)
@$( call set,NVIDIA_PACKAGES,xorg-drv-nouveau)
2013-05-30 21:06:39 +04:00
# has performance problems but is getting better, just not there yet
2014-03-27 18:13:57 +04:00
use/x11/radeon : use /x 11 use /firmware
2016-05-16 18:32:25 +03:00
@$( call set,RADEON_KMODULES,drm-radeon)
2019-07-08 21:55:31 +03:00
@$( call add,RADEON_PACKAGES,xorg-drv-ati xorg-drv-radeon)
2013-05-30 21:06:39 +04:00
2019-01-14 18:34:14 +03:00
# here's the future
2017-03-24 12:47:26 +03:00
use/x11/amdgpu : use /x 11 use /firmware
2019-07-08 21:55:31 +03:00
@$( call add,RADEON_PACKAGES,xorg-drv-amdgpu)
2017-03-24 12:47:26 +03:00
# Vulkan is new and bleeding edge, only intel and amgpu(pro?)
2019-07-09 08:32:05 +03:00
use/x11/vulkan : use /x 11/intel use /x 11/amdgpu
2017-03-24 12:47:26 +03:00
@$( call add,THE_PACKAGES,vulkan)
2019-07-09 08:32:05 +03:00
@$( call add,THE_PACKAGES,vulkan-radeon vulkan-intel)
2017-03-24 12:47:26 +03:00
2017-06-02 23:55:07 +03:00
# see https://github.com/NVIDIA/libglvnd for all gory details
use/x11/glvnd : use /x 11
@$( call add,THE_PACKAGES,libglvnd-glx,libglvnd-egl)
2013-05-30 21:06:39 +04:00
# sometimes broken with current xorg-server
use/x11/nvidia : use /x 11
2016-05-16 18:32:25 +03:00
@$( call set,NVIDIA_KMODULES,nvidia)
@$( call set,NVIDIA_PACKAGES,nvidia-settings nvidia-xconfig)
2013-05-30 21:06:39 +04:00
2014-02-09 19:22:19 +04:00
use/x11/nvidia/optimus : use /x 11/nvidia
@$( call add,THE_KMODULES,bbswitch)
@$( call add,THE_PACKAGES,bumblebee primus)
2013-05-30 21:06:39 +04:00
use/x11/wacom : use /x 11
2019-07-23 17:07:55 +03:00
@$( call add,THE_PACKAGES,xorg-drv-wacom)
2013-05-30 21:06:39 +04:00
2019-01-07 16:50:19 +03:00
## display managers
use/x11/dm : use /x 11-autostart
@$( call try,THE_DISPLAY_MANAGER,xdm)
@$( call add,THE_PACKAGES,$$ ( THE_DISPLAY_MANAGER) )
2019-05-22 17:44:17 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,$$ ( THE_DM_SERVICE) )
2012-02-17 14:11:11 +04:00
2018-07-08 20:36:11 +03:00
u s e / x 1 1 / l i g h t d m / g t k u s e / x 1 1 / l i g h t d m / s l i c k \
use/x11/lightdm/qt use/x11/lightdm/lxqt use/x11/lightdm/kde: \
2019-01-07 16:50:19 +03:00
use/x11/lightdm/%: use/x11/dm
@$( call set,THE_DISPLAY_MANAGER,lightdm-$* -greeter)
2019-05-22 17:44:17 +03:00
@$( call set,THE_DM_SERVICE,lightdm)
2012-03-16 22:26:58 +04:00
2019-05-22 17:44:17 +03:00
use/x11/lxdm use/x11/gdm2.20 use/x11/sddm : \
2019-01-07 16:50:19 +03:00
use/x11/%: use/x11/dm
@$( call set,THE_DISPLAY_MANAGER,$* )
2012-09-12 17:47:28 +04:00
2019-05-22 17:44:17 +03:00
use/x11/gdm : \
use/x11/%: use/x11/dm
@$( call set,THE_DISPLAY_MANAGER,$* )
@$( call set,THE_DM_SERVICE,$* )
2019-01-07 16:50:19 +03:00
use/x11/xdm : use /x 11/dm
@$( call set,THE_DISPLAY_MANAGER,xdm)
@$( call add,THE_PACKAGES,installer-feature-no-xconsole-stage3)
2018-10-25 08:45:19 +03:00
2019-01-07 16:50:19 +03:00
## window managers and desktop environments
2013-05-30 21:06:39 +04:00
use/x11/icewm : use /x 11
2012-03-16 22:26:58 +04:00
@$( call add,THE_LISTS,$( call tags,icewm desktop) )
2016-08-08 11:09:17 +03:00
use/x11/kde/synaptic :
@$( call add,THE_PACKAGES,synaptic-kde synaptic-usermode-)
2014-06-09 20:16:56 +04:00
use/x11/gtk/nm : use /net /nm
@$( call add,THE_LISTS,$( call tags,desktop nm) )
2012-12-25 23:59:49 +04:00
2013-05-30 21:06:39 +04:00
use/x11/xfce : use /x 11
2016-11-07 18:10:56 +03:00
@$( call add,THE_PACKAGES,xfce4-regular)
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-xfce)
2012-04-12 02:01:40 +04:00
2018-02-09 11:45:30 +03:00
use/x11/xfce/full : use /x 11/xfce +pulse
2016-11-07 18:10:56 +03:00
@$( call add,THE_PACKAGES,xfce4-full)
2018-02-09 11:45:30 +03:00
use/x11/cinnamon : use /x 11/xorg +pulse
2012-04-12 02:01:40 +04:00
@$( call add,THE_LISTS,$( call tags,cinnamon desktop) )
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-cinnamon)
2012-12-25 23:58:11 +04:00
2019-01-07 17:09:32 +03:00
use/x11/gnome3 : use /x 11/xorg use /x 11/gdm +pulse
2015-02-25 02:42:21 +03:00
@$( call add,THE_PACKAGES,gnome3-default)
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-gsettings)
2013-01-15 19:00:43 +04:00
2018-02-09 11:45:30 +03:00
use/x11/enlightenment : use /x 11 use /net /connman +pulse
2015-10-29 16:53:21 +03:00
@$( call add,THE_LISTS,$( call tags,enlightenment desktop) )
2013-12-09 22:44:15 +04:00
2013-05-30 21:06:39 +04:00
use/x11/lxde : use /x 11
2012-12-26 15:28:15 +04:00
@$( call add,THE_LISTS,$( call tags,lxde desktop) )
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-lxde)
2013-02-14 00:44:53 +04:00
2019-01-28 10:23:07 +03:00
use/x11/lxqt : use /x 11 +pulse
2019-01-28 11:39:26 +03:00
@$( call add,THE_LISTS,$( call tags,desktop && lxqt && !extra) )
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-qt)
2014-05-13 22:23:03 +04:00
2013-05-30 21:06:39 +04:00
use/x11/fvwm : use /x 11
2013-02-14 00:44:53 +04:00
@$( call add,THE_LISTS,$( call tags,fvwm desktop) )
2013-03-17 00:20:50 +04:00
2013-05-30 21:06:39 +04:00
use/x11/sugar : use /x 11
2013-03-17 00:20:50 +04:00
@$( call add,THE_LISTS,$( call tags,sugar desktop) )
2013-03-01 21:08:33 +04:00
2013-05-30 21:06:39 +04:00
use/x11/wmaker : use /x 11
2013-03-01 21:08:33 +04:00
@$( call add,THE_LISTS,$( call tags,wmaker desktop) )
2013-05-30 21:06:39 +04:00
use/x11/gnustep : use /x 11
2013-03-01 21:08:33 +04:00
@$( call add,THE_LISTS,$( call tags,gnustep desktop) )
2013-02-18 00:45:19 +04:00
2013-05-30 21:06:39 +04:00
use/x11/xmonad : use /x 11
2013-02-18 00:45:19 +04:00
@$( call add,THE_LISTS,$( call tags,xmonad desktop) )
2013-06-11 19:24:29 +04:00
2018-02-09 11:45:30 +03:00
use/x11/mate : use /x 11 +pulse
2013-06-11 19:24:29 +04:00
@$( call add,THE_LISTS,$( call tags,mate desktop) )
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-mate)
2014-11-12 20:27:47 +03:00
use/x11/dwm : use /x 11
@$( call add,THE_LISTS,$( call tags,dwm desktop) )
2015-05-02 15:56:04 +03:00
use/x11/leechcraft : use /x 11
@$( call add,THE_PACKAGES,leechcraft)
2015-04-20 22:06:35 +03:00
2016-08-08 11:09:17 +03:00
use/x11/kde5 : use /x 11/xorg use /x 11/kde /synaptic
2019-06-18 13:16:52 +03:00
@$( call add,THE_PACKAGES,kde5-maxi)