mixin.mk 6.44 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/regular \
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 50 51
ifneq (,$(BRANCH))
	@$(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 add,THE_PACKAGES,pam-limits-desktop beesu polkit dvd+rw-tools)
58
	@$(call add,THE_PACKAGES,polkit-rule-admin-root)
59
	@$(call add,THE_BRANDING,alterator graphics indexhtml)
60 61 62
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,THE_BRANDING,notes)
endif
63
	@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
64
	@$(call set,THE_IMAGEWRITER,altmediawriter)
65
	@$(call add,THE_PACKAGES,upower udev-rules-rfkill-uaccess)
66
	@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
67
	@$(call add,DEFAULT_SERVICES_ENABLE,cups)
68
	@$(call add,DEFAULT_SERVICES_ENABLE,alteratord)
69
	@$(call add,CONTROL,fusermount:public)
70
	@$(call add,CONTROL,libnss-role:disabled)
71

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

75
mixin/regular-wmaker: use/fonts/ttf/redhat use/x11/wmaker +nm-gtk
76 77
	@$(call add,LIVE_PACKAGES,livecd-install-wmaker)
	@$(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/x11/gdm2.20 use/mediacheck \
87
	use/browser/seamonkey
88 89
	@$(call add,THE_BRANDING,graphics)

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

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

95 96 97 98
mixin/regular-gnome3: use/x11/gnome3 use/fonts/ttf/redhat +nm-gtk
	@$(call add,THE_PACKAGES,gnome3-regular xcalib templates)
	@$(call add,THE_PACKAGES,chrome-gnome-shell)
	@$(call add,THE_PACKAGES,gnome-software-disable-updates)
99 100 101
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,THE_PACKAGES,flatpak-repo-flathub)
endif
102

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

112
mixin/xfce-base: use/x11/xfce +nm-gtk \
113
	use/fonts/ttf/redhat use/fonts/ttf/google/extra
114
	@$(call add,THE_BRANDING,xfce-settings)
115
	@$(call add,THE_PACKAGES,xfce4-regular)
Anton Midyukov's avatar
Anton Midyukov committed
116
	@$(call add,THE_PACKAGES,xreader)
117
	@$(call add,THE_PACKAGES,xdg-user-dirs-gtk)
118

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

mixin/regular-xfce-sysv: mixin/xfce-base \
124
	use/fonts/otf/adobe use/fonts/otf/mozilla
125
	@$(call add,THE_LISTS,xfce-sysv)
126

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

130
mixin/regular-lxqt: use/x11/lxqt +nm-gtk; @:
131

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

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

140 141 142 143
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)

144 145 146 147 148 149 150
# 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 \
151
	use/rescue/.base use/syslinux/sdab.cfg use/grub/sdab_bios.cfg \
152 153
	use/firmware/qlogic test/rescue/no-x11 +sysvinit; @:

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

159 160 161 162 163
### 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)
164
	@$(call set,GLOBAL_NET_ETH,)
165

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

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