Commit b400d982 authored by Andrey Cherepanov's avatar Andrey Cherepanov

Place status message to installer, grub and boot screens

parent 039cf587
......@@ -33,7 +33,11 @@ graphics:
# browser-qt
browser-qt/design/bg.png: images/installer.png
convert $< -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@
if [ -n "$(STATUS)" ];then \
convert $< -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,0 " $(STATUS) "' $@; \
else \
cp -a $< $@; \
fi
browser-qt:browser-qt/design/bg.png
install -d $(datadir)/alterator-browser-qt/design
......@@ -60,13 +64,13 @@ boot-images:
cp -a bootloader/config design-bootloader-source/
cp -a bootloader/gfxboot.cfg design-bootloader-source/data-install/
cp -a bootloader/gfxboot.cfg design-bootloader-source/data-boot/
#for size in 1024x768 800x600 640x480; do \
# convert images/boot.jpg -quality 97 -resize "$$size!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' boot-$$size.jpg ;\
#done
#convert images/boot.png -resize "800x600!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' design-bootloader-source/data-install/back.jpg
convert -colorspace YCbCr -sampling-factor 2x2 images/boot.png JPEG:images/boot.jpg
cp -al images/boot.jpg design-bootloader-source/data-boot/back.jpg
cp -al images/boot.jpg design-bootloader-source/data-install/back.jpg
if [ -n "$(STATUS)" ];then \
convert images/boot.jpg -resize "800x600!" -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,0 " $(STATUS) "' design-bootloader-source/data-boot/back.jpg; \
else \
cp -al images/boot.jpg design-bootloader-source/data-boot/back.jpg; \
fi
cp -al design-bootloader-source/data-boot/back.jpg design-bootloader-source/data-install/back.jpg; \
mv design-bootloader-source/data-install/back{,.1}.jpg
convert -quality 97 -fill '#acdaf2' -draw 'rectangle 0,0,2,2' design-bootloader-source/data-install/back{.1,}.jpg
rm -f design-bootloader-source/data-install/back.*.jpg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment