Добавлены шаблоны настройки темы для plymouth

* sys-boot/plytmouth-calculate-plugin
* sys-kernel/dracut: добавление seat правил udev
* sys-boot/plymouth: выбор темы calculate
* настройка параметров загрузки ядра(initrd) для plymouth
mhiretskiy
parent 34c251522e
commit 2cffcbb1cc

@ -0,0 +1 @@
# Calculate append=skip merge(sys-boot/plymouth-calculate-plugin)!= merge=sys-boot/plymouth,sys-kernel/dracut

@ -1 +1 @@
# Calculate append=skip merge(media-gfx/splash-themes-calculate)!= merge=media-gfx/splashutils,sys-boot/grub
# Calculate append=skip merge(media-gfx/splash-themes-calculate)!= merge=media-gfx/splashutils,sys-boot/grub,sys-boot/plymouth-calculate-plugin

@ -0,0 +1 @@
# Calculate append=remove path=/usr/share/plymouth/themes/calculate name=.shutdown ini(theme.splash-shutdown-background)==||exists(#-ini(theme.splash-shutdown-background)-#)==

@ -0,0 +1 @@
# Calculate ini(theme.splash-shutdown-background)!=&&exists(#-ini(theme.splash-shutdown-background)-#)!=

@ -0,0 +1,33 @@
# Calculate format=backgrounds convert=png stretch path=/usr/share/plymouth/themes/calculate/.shutdown name= link=#-ini(theme.splash-shutdown-background)-# mirror exists(#-ini(theme.splash-shutdown-background)-#)!=
#?cl_chroot_status==on#
1024x768
640x480
800x480
800x600
1024x576
1024x600
1200x800
1280x800
1280x720
1280x768
1280x1024
1360x768
1366x768
1368x768
1400x1050
1440x900
1680x945
1680x1050
1920x1080
1920x1200
1600x768
1600x900
1600x1200
2048x1152
2560x1440
2560x1600
#!cl_chroot_status#
#-os_install_fb_resolution-#
#-os_install_x11_resolution-#
1024x768
#cl_chroot_status#

@ -0,0 +1 @@
# Calculate append=remove path=/usr/share/plymouth/themes/calculate name=boot ini(theme.splash-silent-background)==||exists(#-ini(theme.splash-silent-background)-#)==

@ -0,0 +1 @@
# Calculate ini(theme.splash-silent-background)!=&&exists(#-ini(theme.splash-silent-background)-#)!=

@ -0,0 +1,33 @@
# Calculate format=backgrounds convert=png stretch path=/usr/share/plymouth/themes/calculate/boot name= link=#-ini(theme.splash-silent-background)-# mirror exists(#-ini(theme.splash-silent-background)-#)!=
#?cl_chroot_status==on#
1024x768
640x480
800x480
800x600
1024x576
1024x600
1200x800
1280x800
1280x720
1280x768
1280x1024
1360x768
1366x768
1368x768
1400x1050
1440x900
1680x945
1680x1050
1920x1080
1920x1200
1600x768
1600x900
1600x1200
2048x1152
2560x1440
2560x1600
#!cl_chroot_status#
#-os_install_fb_resolution-#
#-os_install_x11_resolution-#
1024x768
#cl_chroot_status#

@ -0,0 +1,39 @@
# Calculate format=kde path=/usr/share/plymouth/themes/calculate
[Plymouth Theme]
Name=Calculate
Description=Simple theme that shows progressbar, image and text for shutdown
ModuleName=calculate
[calculate]
ImageDir=/usr/share/plymouth/themes/calculate
BackgroundStartColor=0x000000
BackgroundEndColor=0x000000
#?ini(theme.splash-silent-progress-color-begin)!=&&ini(theme.splash-silent-progress-color-begin)!=off#
BootProgressbarColor=0x#-ini(theme.splash-silent-progress-color-begin)-#
#ini#
#?ini(theme.splash-silent-progress-color-begin)==off#
BootProgressbarColor=off
#ini#
#?ini(theme.splash-silent-progress-color-begin)==#
!BootProgressbarColor=
#ini#
#?ini(theme.splash-shutdown-progress-color-begin)!=&&ini(theme.splash-shutdown-progress-color-begin)!=off#
ShutdownProgressbarColor=0x#-ini(theme.splash-shutdown-progress-color-begin)-#
#ini#
#?ini(theme.splash-shutdown-progress-color-begin)==off#
ShutdownProgressbarColor=off
#ini#
#?ini(theme.splash-shutdown-progress-color-begin)==#
!ShutdownProgressbarColor=
#ini#
#?ini(theme.splash-silent-background)!=#
BootImage=/usr/share/plymouth/themes/calculate/boot
#!ini#
!BootImage=
#ini#
#?ini(theme.splash-shutdown-background)!=#
ShutdownImage=/usr/share/plymouth/themes/calculate/.shutdown
#!ini#
!ShutdownImage=
#ini#
ShutdownTextColor=0x#-ini(theme.splash-shutdown-text-color)-#

@ -0,0 +1,10 @@
# Calculate format=kde path=/usr/share/plymouth
[Daemon]
#?pkg(sys-boot/plymouth-calculate-plugin)!=#
Theme=calculate
#!pkg#
Theme=spinner
#pkg#
ShowDelay=1
FBDeviceTimeout=2
DeviceTimeout=20

@ -0,0 +1,8 @@
# Calculate format=patch
<reg>(inst_hook emergency 50 "\$moddir"/plymouth-emergency.sh
)\s*
(\s*)(inst_multiple readlink)</reg>
<text>\1
\2inst_rules /lib/udev/rules.d/71-udev-seat.rules
\2\3</text>

@ -0,0 +1,10 @@
# Calculate format=patch
<reg>\n(\s+)(plymouthd)(\s*--attach-to-session)(\s*--pid-file\s*\S+)</reg>
<text>
\1if getargbool 0 quiet
\1then
\1\1\2\4\3
\1else
\1\1\2\4
\1fi
</text>

@ -9,7 +9,18 @@ GRUB_CMDLINE_LINUX="video=#-os_install_fb_resolution-# #-os_install_kernel_resum
#?ini(theme.splash-silent-background)==&&ini(theme.splash-verbose-background)==||ini(theme.splash-silent-background)==&&exists(#-ini(theme.splash-verbose-background)-#)==||ini(theme.splash-verbose-background)==&&exists(#-ini(theme.splash-silent-background)-#)==||exists(#-ini(theme.splash-verbose-background)-#)==&&exists(#-ini(theme.splash-silent-background)-#)==#
GRUB_CMDLINE_LINUX="video=#-os_install_fb_resolution-# #-os_install_kernel_resume-# #-os_install_kernel_attr-# calculate=video:#-os_install_x11_video_drv-# splash=off console=tty1 quiet"
#ini#
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#?ini(theme.splash-silent-background)!=&&exists(#-ini(theme.splash-silent-background)-#)!=#
GRUB_CMDLINE_LINUX="video=#-os_install_fb_resolution-# #-os_install_kernel_resume-# #-os_install_kernel_attr-# calculate=video:#-os_install_x11_video_drv-# splash=silent quiet"
#ini#
#?ini(theme.splash-silent-background)==&&ini(theme.splash-verbose-background)==||ini(theme.splash-silent-background)==&&exists(#-ini(theme.splash-verbose-background)-#)==||ini(theme.splash-verbose-background)==&&exists(#-ini(theme.splash-silent-background)-#)==||exists(#-ini(theme.splash-verbose-background)-#)==&&exists(#-ini(theme.splash-silent-background)-#)==#
GRUB_CMDLINE_LINUX="video=#-os_install_fb_resolution-# #-os_install_kernel_resume-# #-os_install_kernel_attr-# calculate=video:#-os_install_x11_video_drv-# console=tty1 rd.plymouth=0 quiet"
#ini#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
GRUB_CMDLINE_LINUX="video=#-os_install_fb_resolution-# #-os_install_kernel_resume-# #-os_install_kernel_attr-# calculate=video:#-os_install_x11_video_drv-# splash=off console=tty1 quiet"
#pkg#
GRUB_GFXMODE="#-os_install_fb_resolution-#"

@ -0,0 +1,12 @@
# Calculate format=kde path=/usr/share/plymouth/themes/calculate
[calculate]
#?os_install_locale_lang==ru_RU#
ShutdownText=З а в е р ш е н и е р а б о т ы
#os_install_locale_lang#
#?os_install_locale_lang==fr_FR#
ShutdownText=A r r ê t e n c o u r s
#os_install_locale_lang#
#?os_install_locale_lang!=ru_RU&&os_install_locale_lang!=fr_FR#
ShutdownText=S h u t t i n g d o w n
#os_install_locale_lang#
ShutdownFont=DroidSans #-sum(yres,,#-cut(1,x,#-list(cl_resolutions,0)-#)-#)-##-sum(km,,1000-yres*1000/1080)-##-sum(km,,1000-km/25)-##-sum(km,km*30/1000,km)-#

@ -1 +1 @@
# Calculate append=skip merge(media-gfx/splash-themes-calculate)!= merge=sys-boot/grub,media-gfx/splashutils
# Calculate append=skip merge(media-gfx/splash-themes-calculate)!= merge=sys-boot/grub,media-gfx/splashutils,sys-boot/plymouth-calculate-plugin

@ -11,7 +11,11 @@ cld;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1;
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose;
#pkg#
@ -26,7 +30,11 @@ cld-docache;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1 docache;
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent docache;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose docache;
#pkg#
@ -41,7 +49,11 @@ cld-nox;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1 nox;
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent nox;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose nox;
#pkg#

@ -11,8 +11,12 @@ cl;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1;
#!pkg#
#-load(/bootmenu/bootparam.config)-# splash=off;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose;
#pkg#
#-livemenu(submenu)-#

@ -7,7 +7,11 @@ cds;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1;
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose;
#pkg#
@ -18,7 +22,11 @@ cds-docache;
/boot/initrd;
#?pkg(media-gfx/splashutils)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent,theme:calculate console=tty1 docache;
#!pkg#
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)!=#
#-load(/bootmenu/bootparam.config)-# splash=silent docache;
#pkg#
#?pkg(media-gfx/splashutils)==&&pkg(sys-boot/plymouth)==#
#-load(/bootmenu/bootparam.config)-# verbose docache;
#pkg#
@ -28,7 +36,7 @@ cds-nofb;
/boot/vmlinuz;
#?pkg(sys-kernel/dracut)==#root=/dev/ram0#!pkg#root=#-cl_builder_root_param-##pkg#;
/boot/initrd;
#-load(/bootmenu/bootparam.config)-# verbose splash=off;
#-load(/bootmenu/bootparam.config)-# rd.plymouth=0 verbose splash=off;
#pkg#
#-livemenu(submenu)-#

@ -1,2 +1,2 @@
# Calculate merge=x11-base/xorg-server,media-gfx/splashutils,sys-boot/grub,media-gfx/dm-themes-calculate,lxqt-base/lxqt-common,x11-misc/lightdm-gtk-greeter,x11-themes/gnome-themes-standard,x11-misc/sddm,media-gfx/plasma-themes-calculate,x11-misc/lightdm,gnome-base/gconf,media-gfx/gfxboot-themes-calculate,sys-apps/calculate-utils cl_setup==themes||cl_setup==video||cl_setup== append=skip
# Calculate merge=x11-base/xorg-server,media-gfx/splashutils,sys-boot/grub,media-gfx/dm-themes-calculate,lxqt-base/lxqt-common,x11-misc/lightdm-gtk-greeter,x11-themes/gnome-themes-standard,x11-misc/sddm,media-gfx/plasma-themes-calculate,x11-misc/lightdm,gnome-base/gconf,media-gfx/gfxboot-themes-calculate,sys-boot/plymouth,sys-boot/plymouth-calculate-plugin,sys-apps/calculate-utils cl_setup==themes||cl_setup==video||cl_setup== append=skip

Loading…
Cancel
Save