Commit 675f5452 authored by Andrey Cherepanov's avatar Andrey Cherepanov

Fix wallpaper generation

parent 2afe235e
...@@ -5,22 +5,24 @@ VERSION=@VERSION@ ...@@ -5,22 +5,24 @@ VERSION=@VERSION@
all: all:
# generate derivative graphics # generate derivative graphics
cp -al images/background16x9.png images/wallpaper.png # make default wallpaper
# apply product-logo.png cp -al images/background4x3.png images/wallpaper.png
convert images/wallpaper.png images/product-logo.png -geometry +21+60 -composite images/wlogo.png cp -al images/wallpaper.png graphics/backgrounds/default.png
convert images/wlogo.png -resize 800x600 images/grub.png cp -al images/wallpaper.png graphics/backgrounds/xdm.png
convert images/wlogo.png -resize 800x600 images/boot.png # make wallpapers for gfxboot and grub2
convert images/wlogo.png images/boot.jpg convert images/background4x3.png -resize 800x600 images/small.png
# background
# display status
if [ -n "$(STATUS)" ] ; then \ if [ -n "$(STATUS)" ] ; then \
convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wallpaper.png; \ convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wlogo.png; \
convert wlogo.png images/product-logo.png -geometry +30+30 -composite images/boot.jpg; \
else \ else \
convert images/wallpaper.png wallpaper.png; \ convert images/wallpaper.png images/product-logo.png -geometry +30+30 -composite images/boot.jpg; \
fi fi
cp -al wallpaper.png graphics/backgrounds/default.png convert images/small.png images/product-logo.png -geometry +30+30 -composite images/grub.png
cp -al wallpaper.png graphics/backgrounds/xdm.png cp -al images/grub.png images/boot.png
# product logo for ahttpd # product logo for ahttpd
cp -al images/product-logo.png components/ahttpd/images/product-logo.png cp -al images/product-logo.png components/ahttpd/images/product-logo.png
include components.mk include components.mk
install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml
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