mixin.mk 6.36 KB
Newer Older
1 2 3
### various mixins with their origin

### desktop.mk
4
mixin/desktop-installer: +vmguest \
5
	use/bootloader/os-prober use/x11-autostart use/fonts/install2 use/sound
6 7 8 9
	@$(call add,BASE_LISTS, \
		$(call tags,(base || desktop) && (l10n || network)))
	@$(call add,INSTALL2_PACKAGES,ntfs-3g)

10 11 12
### e2k.mk
mixin/e2k-base: use/tty/S0 use/net-eth/dhcp; @:

13
mixin/e2k-desktop: use/e2k/x11 use/l10n/default/ru_RU \
14
	use/browser/firefox/esr use/browser/firefox \
15 16 17 18
	use/fonts/otf/adobe use/fonts/otf/mozilla
	@$(call add,THE_PACKAGES,xinit xterm mc)
	@$(call add,THE_PACKAGES,fonts-bitmap-terminus)

19
mixin/e2k-livecd-install: use/e2k/x11
20
	@$(call add,THE_PACKAGES,livecd-install)
21 22 23 24
	@$(call add,THE_PACKAGES,fdisk hdparm rsync openssh vim-console)
	@$(call add,THE_PACKAGES,apt-repo)

mixin/e2k-mate: use/e2k/x11 use/x11/xorg use/fonts/install2 \
25 26
	use/deflogin/live use/deflogin/xgrp \
	use/x11/mate use/x11/lightdm/slick \
27 28 29 30 31 32 33
	use/fonts/otf/adobe use/fonts/otf/mozilla \
	use/fonts/ttf/google use/fonts/ttf/redhat
	@$(call set,INSTALLER,altlinux-desktop)
	@$(call add,THE_BRANDING,mate-settings)
	@$(call add,THE_BRANDING,alterator)
	@$(call add,THE_BRANDING,graphics)
	@$(call add,THE_PACKAGES,setup-mate-terminal)
34
	@$(call add,THE_PACKAGES,setup-mate-nocomposite)
35 36 37 38 39
	@$(call add,THE_PACKAGES,alterator-standalone)
	@$(call add,THE_PACKAGES,terminfo-extra)
	@$(call add,THE_PACKAGES,ethtool net-tools ifplugd)
	@$(call add,THE_PACKAGES,zsh bash-completion)

40
### regular.mk
41
mixin/regular-x11: use/luks use/volumes/alt-workstation \
42
	use/browser/firefox use/kernel/disable-usb-autosuspend \
43
	use/branding use/ntp/chrony use/services/lvm2-disable
44
	@$(call add,THE_LISTS,$(call tags,(base || desktop) && regular && !extra))
45 46 47 48
	@$(call add,THE_PACKAGES,disable-usb-autosuspend)
	@$(call add,THE_PACKAGES,btrfs-progs)
	@$(call add,THE_PACKAGES,gpm)
	@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
49
ifneq (sisyphus,$(BRANCH))
50 51
	@$(call set,FX_FLAVOUR,-esr)
endif
52

53
# common WM live/installer bits
54
mixin/regular-desktop: +alsa +nm-native \
55 56
	use/x11/xorg use/xdg-user-dirs use/l10n \
	use/fonts/otf/adobe use/fonts/otf/mozilla use/branding/notes
57
	@$(call set,LOCALES,en_US ru_RU pt_BR)
58
	@$(call add,THE_PACKAGES,pam-limits-desktop beesu polkit dvd+rw-tools)
59
	@$(call add,THE_PACKAGES,polkit-rule-admin-root)
60
	@$(call add,THE_BRANDING,alterator graphics indexhtml)
61 62 63
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,THE_BRANDING,notes)
endif
64
	@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
65
	@$(call set,THE_IMAGEWRITER,altmediawriter)
66
	@$(call add,THE_PACKAGES,upower udev-rules-rfkill-uaccess)
67
	@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
68
	@$(call add,DEFAULT_SERVICES_ENABLE,cups)
69
	@$(call add,DEFAULT_SERVICES_ENABLE,alteratord)
70
	@$(call add,CONTROL,fusermount:public)
71
	@$(call add,CONTROL,libnss-role:disabled)
72

73 74 75
mixin/desktop-extra:
	@$(call add,BASE_LISTS,$(call tags,(archive || base) && extra))

76
mixin/regular-wmaker: use/fonts/ttf/redhat use/x11/wmaker +nm-gtk
77
	@$(call add,LIVE_PACKAGES,installer-feature-no-xconsole-stage3)
78
	@$(call add,MAIN_PACKAGES,wmgtemp wmhdaps wmxkbru xxkb)
79

80
mixin/regular-icewm: use/fonts/ttf/redhat +icewm +nm-gtk
81
	@$(call add,THE_LISTS,$(call tags,regular icewm))
82
	@$(call add,THE_PACKAGES,icewm-startup-networkmanager)
83
	@$(call add,THE_PACKAGES,mnt)
84

85
# gdm2.20 can reboot/halt with both sysvinit and systemd, and is slim
86
mixin/regular-gnustep: use/x11/gnustep use/mediacheck use/browser/seamonkey
87 88
	@$(call add,THE_BRANDING,graphics)

89 90
mixin/regular-cinnamon: use/x11/cinnamon use/x11/lightdm/slick +nm \
	use/fonts/ttf/google use/im; @:
91

92
mixin/regular-deepin: use/x11/deepin use/browser/chromium +nm; @:
93

94
mixin/regular-gnome: use/x11/gnome use/fonts/ttf/redhat +nm
95
	@$(call add,THE_PACKAGES,templates)
96
	@$(call add,THE_PACKAGES,chrome-gnome-shell)
97
	@$(call add,THE_PACKAGES,qt5-wayland qt6-wayland)
98

99
mixin/regular-kde5: use/x11/kde5 use/browser/falkon \
100
	use/x11/kde5-display-manager-lightdm \
101
	use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
102
	+pulse
103
	@$(call add,THE_PACKAGES,kde5-telepathy)
104
	@$(call add,THE_PACKAGES,qt6-wayland)
105 106 107
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,THE_PACKAGES,falkon-kde5)
endif
108

109
mixin/xfce-base: use/x11/xfce +nm-gtk \
110
	use/fonts/ttf/redhat use/fonts/ttf/google/extra
111
	@$(call add,THE_BRANDING,xfce-settings)
112
	@$(call add,THE_PACKAGES,xfce4-regular)
113
	@$(call add,THE_PACKAGES,xreader)
114
	@$(call add,THE_PACKAGES,xdg-user-dirs-gtk)
115
	@$(call add,THE_PACKAGES,xkill)
116

117
mixin/regular-xfce: mixin/xfce-base use/domain-client +pulse
118
	@$(call add,THE_PACKAGES,pavucontrol xscreensaver-frontend)
119
	@$(call add,THE_PACKAGES,xfce4-pulseaudio-plugin xfce-polkit)
120

121
mixin/regular-xfce-sysv: mixin/xfce-base +net-eth \
122
	use/fonts/otf/adobe use/fonts/otf/mozilla
123
	@$(call add,THE_LISTS,xfce-sysv)
124

125
mixin/regular-lxde: use/x11/lxde use/im +nm-gtk
126
	@$(call add,THE_PACKAGES,qasmixer qpdfview)
127

128
mixin/regular-lxqt: use/x11/lxqt +nm-gtk; @:
129

130
mixin/mate-base: use/x11/mate use/fonts/ttf/google +nm-gtk
131
	@$(call add,THE_LISTS,$(call tags,mobile mate))
132

133 134
mixin/regular-mate: mixin/mate-base use/domain-client; @:
ifneq (,$(filter-out riscv64,$(ARCH)))
135
	@$(call add,THE_LISTS,$(call tags,base smartcard))
136
endif
137

138 139 140 141
mixin/office: use/fonts/ttf/google use/fonts/ttf/xo
	@$(call add,THE_LISTS,$(call tags,desktop && (cups || office)))
	@$(call add,THE_PACKAGES,apt-indicator)

142 143 144 145 146 147 148
# NB: never ever use/syslinux/ui/gfxboot here as gfxboot mangles
#     kernel cmdline resulting in method:disk instead of method:cdrom
#     which will change propagator's behaviour to probe additional
#     filesystems (ro but no loop) thus potentially writing to
#     an unrecovered filesystem's journal
mixin/regular-rescue: use/rescue use/isohybrid use/luks use/branding \
	use/syslinux/ui/menu use/syslinux/timeout/600 \
149
	use/rescue/.base use/syslinux/sdab.cfg use/grub/sdab_bios.cfg \
150 151
	use/firmware/qlogic test/rescue/no-x11 +sysvinit; @:

152
mixin/regular-builder: use/dev/builder/base use/net/dhcp use/ntp/chrony
153 154
	@$(call add,THE_PACKAGES,bash-completion elinks gpm lftp openssh)
	@$(call add,THE_PACKAGES,rpm-utils screen tmux wget zsh)
155
	@$(call add,THE_PACKAGES,apt-repo eepm)
156

157 158 159 160 161
### vm.mk
mixin/cloud-init:
	@$(call add,BASE_PACKAGES,cloud-init)
	@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final)
	@$(call add,DEFAULT_SERVICES_ENABLE,cloud-init cloud-init-local)
162
	@$(call set,GLOBAL_NET_ETH,)
163

164 165 166 167
mixin/opennebula-context:
	@$(call add,BASE_PACKAGES,opennebula-context)
	@$(call add,DEFAULT_SERVICES_ENABLE,one-context-local one-context)

168
mixin/icewm: use/x11/lightdm/gtk +icewm; @: