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 ; @:
2023-11-28 19:16:37 +03:00
+nm-gtk4 : use /x 11/gtk 4/nm ; @:
2021-08-08 20:49:53 +03:00
+screensaver : use /x 11/xscreensaver /gl ; @:
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
2021-03-03 19:20:40 +03:00
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) )
2021-12-19 16:46:18 +03:00
use/x11/xorg :: use /x 11 use /x 11/armsoc use /x 11/intel use /drm
@$( call add,THE_LISTS,$( call tags,desktop xorg) )
2020-07-13 14:48:16 +03:00
2013-08-05 15:53:36 +04:00
# x86: free drivers for various hardware (might lack acceleration)
2019-08-26 13:19:06 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64 aarch 64,$ ( ARCH ) ) )
2021-12-19 16:46:18 +03:00
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
use/x11/xorg :: use /x 11/nouveau use /x 11/radeon use /x 11/amdgpu \
use/drm/full; @:
e n d i f
2013-08-05 15:53:36 +04:00
e n d i f
2013-05-30 21:06:39 +04:00
2021-10-14 13:45:05 +03:00
i f e q ( , $( filter -out riscv 64,$ ( ARCH ) ) )
2021-12-19 16:46:18 +03:00
use/x11/xorg :: use /x 11/amdgpu ; @:
2021-10-14 13:45:05 +03:00
e n d i f
2023-08-18 19:21:51 +03:00
i f e q ( , $( filter -out loongarch 64,$ ( ARCH ) ) )
use/x11/xorg :: use /x 11/radeon use /x 11/amdgpu ; @:
e n d i f
2019-08-26 13:19:06 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2021-03-03 19:20:40 +03:00
use/x11/intel : use /x 11 use /drm
2013-05-30 21:06:39 +04:00
@$( call add,THE_PACKAGES,xorg-drv-intel)
@$( call add,THE_PACKAGES,xorg-dri-intel) ### #25044
2019-08-26 13:19:06 +03:00
e l s e
use/x11/intel : use /x 11; @:
e n d i f
2013-05-30 21:06:39 +04:00
2019-05-07 19:41:43 +03:00
i f e q ( , $( filter -out armh aarch 64,$ ( ARCH ) ) )
2021-03-03 19:20:40 +03:00
use/x11/armsoc : use /x 11 use /firmware use /drm
2018-12-23 18:59:53 +03:00
@$( 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; @:
2020-07-13 14:48:16 +03:00
e n d i f
i f e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
# e2k: mostly radeon, 101 got mga2/vivante
2020-09-08 12:04:55 +03:00
use/x11/xorg :: use /x 11/radeon use /x 11/amdgpu use /x 11/nouveau use /drm /full
2020-07-13 14:48:16 +03:00
2023-10-25 18:45:41 +03:00
i f e q ( , $( filter -out e 2kv 4 e 2kv 6,$ ( ARCH ) ) )
2021-03-03 19:20:40 +03:00
use/x11/mga2 : use /x 11 use /drm
2020-07-13 14:48:16 +03:00
@$( call add,THE_PACKAGES,xorg-drv-mga2)
e l s e
use/x11/mga2 : use /x 11; @:
e n d i f
2021-03-03 19:20:40 +03:00
use/x11/smi : use /x 11 use /drm
2020-07-13 14:48:16 +03:00
@$( call add,THE_PACKAGES,xorg-drv-smi)
e l s e
use/x11/smi : use /x 11; @:
2019-05-07 19:41:43 +03:00
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
2021-08-10 11:17:52 +03:00
use/x11/3d : use /x 11/intel use /x 11/radeon use /x 11/amdgpu use /x 11/nvidia ; @:
2013-05-30 21:06:39 +04:00
2016-05-16 18:32:25 +03:00
# somewhat lacking compared to radeon but still
2020-09-08 12:04:55 +03:00
use/x11/nouveau : use /x 11 use /firmware use /drm /nouveau
@$( call try,NVIDIA_PACKAGES,xorg-drv-nouveau)
@$( call add,THE_PACKAGES,$$ ( NVIDIA_PACKAGES) )
2016-05-16 18:32:25 +03:00
2013-05-30 21:06:39 +04:00
# has performance problems but is getting better, just not there yet
2020-09-08 12:04:55 +03:00
use/x11/radeon : use /x 11 use /firmware use /drm /radeon
2021-12-19 17:33:45 +03:00
@$( call add,THE_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
2020-09-08 12:04:55 +03:00
@$( call add,THE_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
2020-09-08 12:04:55 +03:00
use/x11/nvidia :: use /x 11/nouveau ; @:
use/x11/nvidia/optimus :: use /x 11/nvidia ; @:
i f e q ( , $( filter -out i 586 x 86_ 64 aarch 64,$ ( ARCH ) ) )
use/x11/nvidia :: use /drm /nvidia
2024-04-04 10:41:57 +03:00
@$( call set,NVIDIA_PACKAGES,nvidia-settings)
2013-05-30 21:06:39 +04:00
2020-09-08 12:04:55 +03:00
use/x11/nvidia/optimus :: use /drm /nvidia /optimus
2021-05-12 17:33:59 +03:00
@$( call add,NVIDIA_PACKAGES,bumblebee)
2020-09-08 12:04:55 +03:00
e n d i f
2014-02-09 19:22:19 +04:00
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
2020-05-01 14:13:52 +03:00
use/x11/dm : use /x 11-autostart use /pkgpriorities
2019-01-07 16:50:19 +03:00
@$( call try,THE_DISPLAY_MANAGER,xdm)
2023-11-08 07:27:36 +03:00
@$( call try,THE_DM_SERVICE,dm)
2019-01-07 16:50:19 +03:00
@$( call add,THE_PACKAGES,$$ ( THE_DISPLAY_MANAGER) )
2020-05-01 14:13:52 +03:00
@$( call add,PINNED_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
2023-07-13 09:04:58 +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 u s e / x 1 1 / l i g h t d m / k d e \
use/x11/lightdm/autologin: \
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
2023-11-08 11:31:30 +03:00
use/x11/gdm2.20 : \
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
2024-08-26 16:17:02 +03:00
use/x11/kde-display-manager-lightdm : \
2021-04-06 19:09:40 +03:00
use/x11/%: use/x11/dm
2024-08-26 16:17:02 +03:00
i f e q ( , $( filter -out sisyphus ,$ ( BRANCH ) ) )
@$( call set,THE_DISPLAY_MANAGER,kde-display-manager-7-lightdm)
e l s e
2024-08-15 13:45:49 +03:00
@$( call set,THE_DISPLAY_MANAGER,kde5-display-manager-7-lightdm)
2024-08-26 16:17:02 +03:00
e n d i f
2021-04-06 19:09:40 +03:00
@$( call set,THE_DM_SERVICE,lightdm)
2023-11-08 11:31:30 +03:00
use/x11/gdm use/x11/sddm use/x11/lxdm : \
2019-05-22 17:44:17 +03:00
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
2023-11-28 19:16:37 +03:00
@$( call add,THE_LISTS,network/NetworkManager-gtk)
2012-12-25 23:59:49 +04:00
2023-11-28 19:16:37 +03:00
i f e q ( , $( filter -out sisyphus p 11,$ ( BRANCH ) ) )
use/x11/gtk4/nm : use /net /nm
@$( call add,THE_LISTS,network/NetworkManager-gtk4)
e l s e
use/x11/gtk4/nm : use /x 11/gtk /nm ; @:
e n d i f
2013-05-30 21:06:39 +04:00
use/x11/xfce : use /x 11
2021-08-01 19:44:21 +03:00
@$( call add,THE_PACKAGES,xfce4-minimal xfce4-default)
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-xfce)
2012-04-12 02:01:40 +04:00
2023-11-03 15:10:31 +03:00
use/x11/xfce/full : use /x 11/xfce +pipewire
2016-11-07 18:10:56 +03:00
@$( call add,THE_PACKAGES,xfce4-full)
2023-11-03 15:10:31 +03:00
use/x11/cinnamon : use /x 11/xorg +pipewire
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
2023-11-03 15:10:31 +03:00
use/x11/deepin : use /x 11/xorg +pipewire
2021-06-11 17:35:31 +03:00
@$( call add,THE_LISTS,$( call tags,deepin desktop) )
2020-11-26 23:02:23 +03:00
2023-06-26 13:00:59 +03:00
use/x11/gnome : use /x 11/xorg use /x 11/gdm +pipewire
2023-06-26 10:39:27 +03:00
@$( call add,THE_PACKAGES,gnome3-minimal)
2023-06-27 09:36:52 +03:00
@$( call add,THE_PACKAGES,tracker3) # ALT bug 42028
2015-09-02 16:32:34 +03:00
@$( call add,IM_PACKAGES,imsettings-gsettings)
2013-01-15 19:00:43 +04:00
2023-11-03 15:10:31 +03:00
use/x11/enlightenment : use /x 11 use /net /connman use /power /acpi +pipewire
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
2023-11-03 15:10:31 +03:00
use/x11/lxqt : use /x 11 +pipewire
2023-07-11 15:07:18 +03:00
@$( call add,THE_LISTS,$( call tags,desktop && lxqt) )
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/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
2023-11-03 15:10:31 +03:00
use/x11/mate : use /x 11 +pipewire
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
2024-08-26 16:07:00 +03:00
use/x11/kde : use /x 11/xorg +pipewire
2024-08-31 23:34:52 +03:00
i f e q ( , $( filter -out sisyphus ,$ ( BRANCH ) ) )
2024-08-26 16:34:55 +03:00
@$( call add,THE_PACKAGES,kde)
@$( call add,THE_PACKAGES,kde-volume-control-7-pipewire)
@$( call add,PINNED_PACKAGES,kde-volume-control-7-pipewire)
e l s e
2023-05-18 06:47:27 +03:00
@$( call add,THE_PACKAGES,kde5)
2023-11-08 19:23:03 +03:00
@$( call add,THE_PACKAGES,kde5-volume-control-4-pipewire)
@$( call add,PINNED_PACKAGES,kde5-volume-control-4-pipewire)
2024-08-26 16:34:55 +03:00
e n d i f
2021-08-08 20:49:53 +03:00
## screensavers
use/x11/xscreensaver :
@$( call add,THE_LISTS,$( call tags,base xscreensaver) )
use/x11/xscreensaver/gl : use /x 11/xscreensaver
@$( call add,THE_LISTS,$( call tags,desktop xscreensaver) )
use/x11/xscreensaver/frontend : use /x 11/xscreensaver
@$( call add,THE_PACKAGES,xscreensaver-frontend)