plymouth: include 'label' plugin for text messages rendering

This commit is contained in:
Marek Marczykowski-Górecki 2014-03-14 01:45:59 +01:00
parent 74a74928bd
commit 4591de6dde
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
install_items+=" /usr/share/fonts/dejavu/DejaVuSans.ttf "
install_items+=" /usr/share/fonts/dejavu/DejaVuSerif.ttf "
install_items+=" /usr/share/fontconfig/conf.avail/57-dejavu-sans.conf "
install_items+=" /etc/fonts/conf.d/57-dejavu-sans.conf "
install_items+=" /etc/fonts/fonts.conf "
# This unfortunately pulls about 10MB of libraries into initrd, but what can we
# do... without this, the 'script' plugin cannot output any text message
install_items+=" $(plymouth --get-splash-plugin-path)/label.so "

View File

@ -24,6 +24,7 @@ Conflicts: redhat-artwork <= 5.0.5
# For _kde4_appsdir macro: # For _kde4_appsdir macro:
BuildRequires: kde-filesystem BuildRequires: kde-filesystem
Requires: plymouth-plugin-script Requires: plymouth-plugin-script
Requires: plymouth-plugin-label
# For plymouth-set-default-theme # For plymouth-set-default-theme
Requires(post): plymouth-scripts Requires(post): plymouth-scripts
@ -70,6 +71,8 @@ for k in charge qubes; do
done done
done done
install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/plymouth install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/plymouth
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d
install -p -m 644 plymouth/plymouth-missing-fonts.conf $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d
install -D icons/96-logo.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png install -D icons/96-logo.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png
@ -97,6 +100,7 @@ cp -f %{_datadir}/plymouth/plymouthd.defaults.qubes %{_datadir}/plymouth/plymout
%{_datadir}/pixmaps/splash/* %{_datadir}/pixmaps/splash/*
%{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png %{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png
/usr/lib/anaconda-runtime/*.jpg /usr/lib/anaconda-runtime/*.jpg
%{_sysconfdir}/dracut.conf.d/plymouth-missing-fonts.conf
%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png %{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png
# should be ifarch i386 # should be ifarch i386
/boot/grub/splash.xpm.gz /boot/grub/splash.xpm.gz