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

### desktop.mk
mixin/desktop-installer: +net-eth +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 \
43
	use/branding use/ntp/chrony use/services/lvm2-disable
44 45 46 47 48 49
	@$(call add,THE_LISTS,$(call tags,(base || desktop) && regular))
	@$(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)

50
# common WM live/installer bits
51
mixin/regular-desktop: +alsa +power use/x11/xorg use/xdg-user-dirs use/l10n \
52
	use/fonts/otf/adobe use/fonts/otf/mozilla use/net-eth use/branding/notes
53
	@$(call add,THE_PACKAGES,pam-limits-desktop beesu polkit dvd+rw-tools)
54
	@$(call add,THE_BRANDING,alterator graphics indexhtml)
55 56 57
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,THE_BRANDING,notes)
endif
58
	@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
59
	@$(call set,THE_IMAGEWRITER,altmediawriter)
60
	@$(call add,THE_PACKAGES,upower bluez udev-rules-rfkill-uaccess)
61 62
	@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
	@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
63
	@$(call add,DEFAULT_SERVICES_ENABLE,cups)
64
	@$(call add,DEFAULT_SERVICES_ENABLE,alteratord)
65

66 67 68
mixin/desktop-extra:
	@$(call add,BASE_LISTS,$(call tags,(archive || base) && extra))

69
mixin/regular-wmaker: use/fonts/ttf/redhat use/x11/wmaker
70 71 72 73
	@$(call add,LIVE_PACKAGES,livecd-install-wmaker)
	@$(call add,LIVE_PACKAGES,installer-feature-no-xconsole-stage3)
	@$(call add,MAIN_PACKAGES,wmgtemp wmhdaps wmpomme wmxkbru xxkb)

74
mixin/regular-icewm: use/fonts/ttf/redhat +icewm +nm-gtk
75
	@$(call add,THE_LISTS,$(call tags,regular icewm))
76 77
	@$(call add,THE_LISTS,$(call tags,desktop nm))
	@$(call add,THE_PACKAGES,icewm-startup-networkmanager)
78
	@$(call add,THE_PACKAGES,mnt)
79

80
# gdm2.20 can reboot/halt with both sysvinit and systemd, and is slim
81
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck \
82
	use/browser/seamonkey
83 84
	@$(call add,THE_BRANDING,graphics)

85
mixin/regular-cinnamon: use/x11/cinnamon use/x11/lightdm/slick +nm-gtk \
86
	use/fonts/ttf/google use/net/nm/mmgui use/im; @:
87

88 89 90 91 92
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)

93 94 95 96 97
mixin/regular-kde5: use/x11/kde5 use/browser/falkon \
	use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
	+nm +pulse
	@$(call add,THE_PACKAGES,kde5-telepathy falkon-kde5)

98
mixin/xfce-base: use/x11/xfce +nm-gtk \
99
	use/fonts/ttf/redhat use/fonts/ttf/google/extra
100
	@$(call add,THE_BRANDING,xfce-settings)
101
	@$(call add,THE_PACKAGES,xreader)
102
	@$(call add,THE_PACKAGES,xdg-user-dirs-gtk)
103

104 105 106 107
mixin/regular-xfce: mixin/xfce-base use/x11/xfce/full \
	use/domain-client; @:

mixin/regular-xfce-sysv: mixin/xfce-base \
108 109
	use/fonts/otf/adobe use/fonts/otf/mozilla
	@$(call add,THE_PACKAGES,pnmixer pm-utils elinks mpg123)
110
	@$(call add,THE_PACKAGES,alsa-oss ossp whdd wget cdrkit)
111
	@$(call add,THE_PACKAGES,qasmixer)
112
	@$(call add,THE_PACKAGES,xfce4-screensaver)
113
	@$(call add,THE_PACKAGES,sysstat leafpad)
114
	@$(call add,THE_PACKAGES,nload)
115
	@$(call add,THE_PACKAGES,NetworkManager-tui)
116
	@$(call add,THE_PACKAGES,apt-conf-ignore-systemd)
117
	@$(call add,THE_PACKAGES,pandoc)
118
	@$(call add,THE_PACKAGES,ddrescue)
119
	@$(call add,THE_PACKAGES,gnome-disks)
120

121
mixin/regular-lxde: use/x11/lxde use/im +nm-gtk
122
	@$(call add,THE_PACKAGES,qasmixer qpdfview)
123

124
mixin/regular-lxqt: use/x11/lxqt +nm-gtk; @:
125

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

129 130 131
mixin/regular-mate: mixin/mate-base use/domain-client
	@$(call add,THE_LISTS,$(call tags,base smartcard))

132 133 134 135
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)

136 137 138 139 140 141 142 143 144
# 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 \
	use/firmware/qlogic test/rescue/no-x11 +sysvinit; @:

145
mixin/regular-builder: use/dev/builder/base use/net-eth/dhcp use/ntp/chrony
146 147
	@$(call add,THE_PACKAGES,bash-completion elinks gpm lftp openssh)
	@$(call add,THE_PACKAGES,rpm-utils screen tmux wget zsh)
148
	@$(call add,THE_PACKAGES,apt-repo eepm)
149 150
	@$(call add,DEFAULT_SERVICES_ENABLE,gpm)

151 152 153 154 155
### 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)
156
	@$(call set,GLOBAL_NET_ETH,)
157

158 159 160 161
mixin/opennebula-context:
	@$(call add,BASE_PACKAGES,opennebula-context)
	@$(call add,DEFAULT_SERVICES_ENABLE,one-context-local one-context)

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