2009-06-23 11:30:07 +04:00
# browser-qt
2009-06-23 13:22:46 +04:00
components/browser-qt/design/bg.png : images /installer .png
2009-06-23 11:30:07 +04:00
convert $< -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)"' $@
2009-06-23 13:22:46 +04:00
browser-qt : components /browser -qt /design /bg .png
2009-06-23 11:30:07 +04:00
install -d $( datadir) /alterator-browser-qt/design
2009-06-23 13:22:46 +04:00
cd components/browser-qt; rcc-qt4 -binary theme.qrc -o $( datadir) /alterator-browser-qt/design/$( THEME) .rcc; cd -
2009-06-23 11:30:07 +04:00
install -d $( sysconfdir) /alternatives/packages.d
printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n' >$( sysconfdir) /alternatives/packages.d/$( THEME) .rcc
# ahttpd
ahttpd :
install -d $( datadir) /alterator/design/styles
2009-06-23 13:22:46 +04:00
cp -a components/ahttpd/images $( datadir) /alterator/design
2009-06-23 13:08:03 +04:00
[ ! -f images/logo.png ] || convert images/logo.png -fill '#ffffff' -font /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf -style Normal -weight Normal -pointsize 24 -gravity northwest -draw 'text 0,0 "$(VERSION) $(NAME)"' $( datadir) /alterator/design/images/logo.png
2009-06-23 13:22:46 +04:00
cp -a components/ahttpd/styles/*.css $( datadir) /alterator/design/styles
2009-06-23 17:26:22 +04:00
# bootloader and bootsplash
boot :
cp -a /usr/src/design-bootloader-source ./
cp -a components/bootloader/config design-bootloader-source/
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-install/
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-boot/
for size in 1024x768 800x600 640x480; do \
2009-06-24 11:10:42 +04:00
convert images/boot.jpg -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 ; \
2009-06-23 17:26:22 +04:00
cp -al boot-$$ size.jpg components/bootsplash/images/silent-$$ size.jpg ; \
convert -resize " $$ size! " images/console.jpg components/bootsplash/images/bootsplash-$$ size.jpg; \
done
cp -al boot-800x600.jpg design-bootloader-source/data-boot/back.jpg
cp -al boot-800x600.jpg design-bootloader-source/data-install/back.jpg
#bootsplash
mkdir -p $( sysconfdir) /bootsplash/themes/$( THEME)
cp -a components/bootsplash/* $( sysconfdir) /bootsplash/themes/$( THEME)
#bootloader
DEFAULT_LANG = '--lang-to-subst--' PATH = $( PATH) :/usr/sbin make -C design-bootloader-source
install -d -m 755 $( sysconfdir) /../boot/splash/$( THEME)
install -d -m 755 $( datadir) /gfxboot/$( THEME)
install -m 644 design-bootloader-source/message $( sysconfdir) /../boot/splash/$( THEME)
install -m 644 design-bootloader-source/bootlogo $( datadir) /gfxboot/$( THEME)