mkimage-profiles/features.in/x11/config.mk
Anton Midyukov b4f00f4df1 x11: do not disable acpid for enlightenment
This fixes warning at enlightenment startup.
2019-09-16 21:21:51 +03:00

165 lines
5.0 KiB
Makefile

+x11: use/x11/xorg; @:
+icewm: use/x11/icewm; @:
+xmonad: use/x11/xmonad; @:
+nm-gtk: use/x11/gtk/nm; @:
## hardware support
# the very minimal driver set
use/x11:
@$(call add_feature)
@$(call add,THE_LISTS,$(call tags,base xorg))
@$(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))
# x86: free drivers for various hardware (might lack acceleration)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/x11/xorg: use/x11/intel use/x11/nouveau use/x11/radeon use/x11/amdgpu
@$(call add,THE_LISTS,$(call tags,desktop xorg))
else
use/x11/xorg: use/x11; @:
endif
use/x11/intel: use/x11
@$(call add,THE_PACKAGES,xorg-drv-intel)
@$(call add,THE_PACKAGES,xorg-dri-intel) ### #25044
ifeq (,$(filter-out armh aarch64,$(ARCH)))
use/x11/armsoc: use/x11 use/firmware
@$(call add,THE_PACKAGES,xorg-dri-armsoc)
else
use/x11/armsoc: use/x11; @:
endif
# for those cases when no 3D means no use at all
# NB: blobs won't Just Work (TM) along with nouveau/radeon
# as free drivers get prioritized during autodetection
use/x11/3d: use/x11/intel use/x11/nvidia/optimus use/x11/radeon; @:
# somewhat lacking compared to radeon but still
use/x11/nouveau: use/x11 use/firmware
@$(call set,NVIDIA_KMODULES,drm-nouveau)
@$(call set,NVIDIA_PACKAGES,xorg-drv-nouveau)
# has performance problems but is getting better, just not there yet
use/x11/radeon: use/x11 use/firmware
@$(call set,RADEON_KMODULES,drm-radeon)
@$(call add,RADEON_PACKAGES,xorg-drv-ati xorg-drv-radeon)
# here's the future
use/x11/amdgpu: use/x11 use/firmware
@$(call add,RADEON_PACKAGES,xorg-drv-amdgpu)
# Vulkan is new and bleeding edge, only intel and amgpu(pro?)
use/x11/vulkan: use/x11/intel use/x11/amdgpu
@$(call add,THE_PACKAGES,vulkan)
@$(call add,THE_PACKAGES,vulkan-radeon vulkan-intel)
# see https://github.com/NVIDIA/libglvnd for all gory details
use/x11/glvnd: use/x11
@$(call add,THE_PACKAGES,libglvnd-glx,libglvnd-egl)
# sometimes broken with current xorg-server
use/x11/nvidia: use/x11
@$(call set,NVIDIA_KMODULES,nvidia)
@$(call set,NVIDIA_PACKAGES,nvidia-settings nvidia-xconfig)
use/x11/nvidia/optimus: use/x11/nvidia
@$(call add,THE_KMODULES,bbswitch)
@$(call add,THE_PACKAGES,bumblebee primus)
use/x11/wacom: use/x11
@$(call add,THE_PACKAGES,xorg-drv-wacom)
ifeq (,$(filter-out x86_64 i586,$(ARCH)))
@$(call add,THE_PACKAGES,xorg-drv-wizardpen)
endif
## display managers
use/x11/dm: use/x11-autostart
@$(call try,THE_DISPLAY_MANAGER,xdm)
@$(call add,THE_PACKAGES,$$(THE_DISPLAY_MANAGER))
@$(call add,DEFAULT_SERVICES_ENABLE,$$(THE_DM_SERVICE))
use/x11/lightdm/gtk use/x11/lightdm/slick \
use/x11/lightdm/qt use/x11/lightdm/lxqt use/x11/lightdm/kde: \
use/x11/lightdm/%: use/x11/dm
@$(call set,THE_DISPLAY_MANAGER,lightdm-$*-greeter)
@$(call set,THE_DM_SERVICE,lightdm)
use/x11/lxdm use/x11/gdm2.20 use/x11/sddm: \
use/x11/%: use/x11/dm
@$(call set,THE_DISPLAY_MANAGER,$*)
use/x11/gdm: \
use/x11/%: use/x11/dm
@$(call set,THE_DISPLAY_MANAGER,$*)
@$(call set,THE_DM_SERVICE,$*)
use/x11/xdm: use/x11/dm
@$(call set,THE_DISPLAY_MANAGER,xdm)
@$(call add,THE_PACKAGES,installer-feature-no-xconsole-stage3)
## window managers and desktop environments
use/x11/icewm: use/x11
@$(call add,THE_LISTS,$(call tags,icewm desktop))
use/x11/kde/synaptic:
@$(call add,THE_PACKAGES,synaptic-kde synaptic-usermode-)
use/x11/gtk/nm: use/net/nm
@$(call add,THE_LISTS,$(call tags,desktop nm))
use/x11/xfce: use/x11
@$(call add,THE_PACKAGES,xfce4-regular)
@$(call add,IM_PACKAGES,imsettings-xfce)
use/x11/xfce/full: use/x11/xfce +pulse
@$(call add,THE_PACKAGES,xfce4-full)
use/x11/cinnamon: use/x11/xorg +pulse
@$(call add,THE_LISTS,$(call tags,cinnamon desktop))
@$(call add,IM_PACKAGES,imsettings-cinnamon)
use/x11/gnome3: use/x11/xorg use/x11/gdm +pulse
@$(call add,THE_PACKAGES,gnome3-default)
@$(call add,IM_PACKAGES,imsettings-gsettings)
use/x11/enlightenment: use/x11 use/net/connman +pulse
@$(call add,THE_LISTS,$(call tags,enlightenment desktop))
use/x11/lxde: use/x11
@$(call add,THE_LISTS,$(call tags,lxde desktop))
@$(call add,IM_PACKAGES,imsettings-lxde)
use/x11/lxqt: use/x11 +pulse
@$(call add,THE_LISTS,$(call tags,desktop && lxqt && !extra))
@$(call add,IM_PACKAGES,imsettings-qt)
use/x11/fvwm: use/x11
@$(call add,THE_LISTS,$(call tags,fvwm desktop))
use/x11/sugar: use/x11
@$(call add,THE_LISTS,$(call tags,sugar desktop))
use/x11/wmaker: use/x11
@$(call add,THE_LISTS,$(call tags,wmaker desktop))
use/x11/gnustep: use/x11
@$(call add,THE_LISTS,$(call tags,gnustep desktop))
use/x11/xmonad: use/x11
@$(call add,THE_LISTS,$(call tags,xmonad desktop))
use/x11/mate: use/x11 +pulse
@$(call add,THE_LISTS,$(call tags,mate desktop))
@$(call add,IM_PACKAGES,imsettings-mate)
use/x11/dwm: use/x11
@$(call add,THE_LISTS,$(call tags,dwm desktop))
use/x11/leechcraft: use/x11
@$(call add,THE_PACKAGES,leechcraft)
use/x11/kde5: use/x11/xorg use/x11/kde/synaptic
@$(call add,THE_PACKAGES,kde5-maxi)