From 0b060fcb268275e6b6f245b8232a903571cd36f5 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Thu, 31 Jul 2003 14:31:43 +0000 Subject: new bootsplash v3 include various scripts and binaries from bootsplash.org --- Makefile | 14 ++-- bootsplash.spec | 40 +++++----- scripts/Makefile | 10 ++- scripts/make-boot-splash | 68 ++--------------- scripts/switch-themes | 4 + themes/Mandrake/cfg/bootsplash-1024x768.cfg | 78 ++++++++++++-------- themes/Mandrake/cfg/bootsplash-1280x1024.cfg | 79 ++++++++++++-------- themes/Mandrake/cfg/bootsplash-800x600.cfg | 79 ++++++++++++-------- themes/Mandrake/images/bootsplash-1024x768.jpg | Bin 37885 -> 15719 bytes themes/Mandrake/images/bootsplash-1280x1024.jpg | Bin 45593 -> 26276 bytes themes/Mandrake/images/bootsplash-800x600.jpg | Bin 30412 -> 10393 bytes themes/Mandrake/images/silent-1024x768.jpg | Bin 0 -> 15719 bytes themes/Mandrake/images/silent-1280x1024.jpg | Bin 0 -> 26276 bytes themes/Mandrake/images/silent-800x600.jpg | Bin 0 -> 10393 bytes themes/config/Mandrake/cfg/bootsplash-1024x768.cfg | 80 ++++++++++++-------- .../config/Mandrake/cfg/bootsplash-1280x1024.cfg | 81 +++++++++++++-------- .../config/Mandrake/cfg/bootsplash-1600x1200.cfg | 71 +++++++++++++++--- themes/config/Mandrake/cfg/bootsplash-800x600.cfg | 81 +++++++++++++-------- themes/config/Mandrake/cfg/vt1-1024x768.cfg | 26 +++++++ themes/config/Mandrake/cfg/vt1-800x600.cfg | 26 +++++++ .../data/Mandrake/images/bootsplash-1024x768.jpg | Bin 28646 -> 15719 bytes .../data/Mandrake/images/bootsplash-1280x1024.jpg | Bin 41008 -> 26276 bytes .../data/Mandrake/images/bootsplash-1600x1200.jpg | Bin 51434 -> 35288 bytes themes/data/Mandrake/images/bootsplash-800x600.jpg | Bin 25593 -> 10393 bytes themes/data/Mandrake/images/silent-1024x768.jpg | Bin 0 -> 15719 bytes themes/data/Mandrake/images/silent-1280x1024.jpg | Bin 0 -> 26276 bytes themes/data/Mandrake/images/silent-800x600.jpg | Bin 0 -> 10393 bytes themes/data/Mandrake/images/vt-1024x768.jpg | Bin 0 -> 19600 bytes themes/data/Mandrake/images/vt-800x600.jpg | Bin 0 -> 13281 bytes 29 files changed, 464 insertions(+), 273 deletions(-) create mode 100644 themes/Mandrake/images/silent-1024x768.jpg create mode 100644 themes/Mandrake/images/silent-1280x1024.jpg create mode 100644 themes/Mandrake/images/silent-800x600.jpg create mode 100644 themes/config/Mandrake/cfg/vt1-1024x768.cfg create mode 100644 themes/config/Mandrake/cfg/vt1-800x600.cfg create mode 100644 themes/data/Mandrake/images/silent-1024x768.jpg create mode 100644 themes/data/Mandrake/images/silent-1280x1024.jpg create mode 100644 themes/data/Mandrake/images/silent-800x600.jpg create mode 100644 themes/data/Mandrake/images/vt-1024x768.jpg create mode 100644 themes/data/Mandrake/images/vt-800x600.jpg diff --git a/Makefile b/Makefile index 7c0bb12..2ad9a39 100644 --- a/Makefile +++ b/Makefile @@ -3,26 +3,26 @@ VERSION := $(shell sed -n 's/%define version //p' < $(NAME).spec) RELEASE := $(shell sed -n 's/%define release //p' < $(NAME).spec) RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') -SUBDIRS=scripts fb +SUBDIRS=scripts fb fbmngplay fbtruetype splash DATADIRS=themes/data/ CONFIGDIRS=themes/config/ +THEMES=Mandrake prefix=/ sharedir=/usr/share configdir=/etc RPM=$(HOME)/rpm -all: check - -check: - @for i in $(SUBDIRS);do make -C $$i check;done +all: + @for i in $(SUBDIRS);do make -C $$i all;done install: @mkdir -p $(prefix)$(sharedir)/bootsplash/themes/ @mkdir -p $(prefix)$(configdir)/bootsplash/themes/ @for i in $(SUBDIRS);do make -C $$i install;done - @for i in $(DATADIRS);do cp -a $$i/* $(prefix)$(sharedir)/bootsplash/themes/;done - @for i in $(CONFIGDIRS);do cp -a $$i/* $(prefix)$(configdir)/bootsplash/themes/;done + @for i in $(DATADIRS);do for t in $(THEMES); do cp -a $$i/$$t $(prefix)$(sharedir)/bootsplash/themes/;done; done + @for i in $(CONFIGDIRS);do for t in $(THEMES); do install -d $(prefix)/$(configdir)/bootsplash/themes/$$t/config; cp -a $(CONFIGDIRS)/$$t/cfg/* $(prefix)$(configdir)/bootsplash/themes/$$t/config/;done ;done + @for d in 800x600 1024x768; do for v in 1 2 3; do ln -s vt1-$$d.cfg $(prefix)$(configdir)/bootsplash/themes/Mandrake/config/vt$$v-$$d.cfg; done; done dis: clean rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* diff --git a/bootsplash.spec b/bootsplash.spec index f3e1ca6..0807c8e 100644 --- a/bootsplash.spec +++ b/bootsplash.spec @@ -1,5 +1,5 @@ %define name bootsplash -%define version 1.4.1 +%define version 2.0.0 %define release 1mdk %define _bootdir /boot @@ -19,6 +19,7 @@ Requires: mkinitrd > 3.1.6-25mdk #there is no way to say a special kernel requires. Requires: kernel Obsoletes: Aurora Aurora-Monitor-NewStyle-Categorizing-WsLib Aurora-Monitor-NewStyle-WsLib Aurora-Monitor-Traditional-Gtk+ Aurora-Monitor-Traditional-WsLib-8.2 +BuildRequires: freetype2-static-devel # nomore noarch with the fbrelolution and progress binaries #BuildArchitectures: noarch @@ -28,31 +29,24 @@ This package contains the scripts and pictures visible when booting a Mandrake kernel. They are automatically installed when an initrd is generated by mkinitrd. -%package themes - -Summary: bootsplash themes -Group: System/Kernel and hardware -Requires: bootsplash - -%description themes -Additional themes for bootsplash - %prep %setup -q %build -make check - -cd fb make -cd .. %install rm -rf $RPM_BUILD_ROOT make install prefix=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/ $RPM_BUILD_ROOT/%_datadir/%{name}/ -not -path "*/themes/Mandrake/*" -not -path "*/scripts/*" -type f | - sed -e "s#^$RPM_BUILD_ROOT##g" > rpm-themes-files +for i in fbmngplay fbtruetype +do + cp $i/ChangeLog $i/ChangeLog.$i + cp $i/README $i/README.$i +done + +#find $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/ $RPM_BUILD_ROOT/%_datadir/%{name}/ -not -path "*/themes/Mandrake/*" -not -path "*/scripts/*" -type f | +# sed -e "s#^$RPM_BUILD_ROOT##g" > rpm-themes-files %post cd %{_bootdir} @@ -90,17 +84,23 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README ChangeLog +%doc README ChangeLog fbmngplay/ChangeLog.fbmngplay fbmngplay/README.fbmngplay fbtruetype/ChangeLog.fbtruetype fbtruetype/README.fbtruetype %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %_datadir/%{name}/scripts %_datadir/%{name}/themes/Mandrake %config(noreplace) %_sysconfdir/%{name}/themes/Mandrake/* /bin/* - -%files themes -f rpm-themes-files -%defattr(-,root,root) +/sbin/* +%{_bindir}/* %changelog +* Fri Feb 14 2003 Warly 2.0.0-1mdk +- bootsplsh v3 +- add fbtruetype from bootsplash.org +- add fbmngplay from bootsplash.org +- add splash program from bootsplash.org +- add vt images + * Fri Feb 14 2003 Warly 1.4.1-1mdk - new 1600x1200 image diff --git a/scripts/Makefile b/scripts/Makefile index 4c697d2..9c86f0f 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,18 +1,22 @@ PL=detect-resolution SH=make-boot-splash rewritejpeg switch-themes +SBIN=splash.sh SYS=bootsplash.sysconfig sharedir=/usr/share etcsysdir=/etc/sysconfig +all: check + check: - @for i in $(SH);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done + @for i in $(SH) $(SBIN);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done @for i in $(PL);do perl -c $$i ||exit 1;done install: - @mkdir -p $(prefix)$(sharedir)/bootsplash/scripts/ $(prefix)$(etcsysdir) + @mkdir -p $(prefix)$(sharedir)/bootsplash/scripts/ $(prefix)$(etcsysdir) $(prefix)/sbin/ @for i in $(SH) $(PL);do install -m755 $$i $(prefix)$(sharedir)/bootsplash/scripts/;done + @for i in $(SBIN);do install -m755 $$i $(prefix)/sbin/;done install -m644 bootsplash.sysconfig $(prefix)$(etcsysdir)/bootsplash clean: - rm -f *~ \#*\# \ No newline at end of file + rm -f *~ \#*\# diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash index d46a338..df0de03 100755 --- a/scripts/make-boot-splash +++ b/scripts/make-boot-splash @@ -36,73 +36,21 @@ elif [[ $vgamode == 1600* ]];then resolution=1600x1200 fi -if [[ -f $splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg && -f $splash_cfg/themes/$THEME/cfg/bootsplash-$resolution.cfg ]];then - image=$splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg - config=$splash_cfg/themes/$THEME/cfg/bootsplash-$resolution.cfg +if [[ -f $splash_cfg/themes/$THEME/config/bootsplash-$resolution.cfg ]];then + config=$splash_cfg/themes/$THEME/config/bootsplash-$resolution.cfg fi if [[ -f $splash_dir/themes/$THEME/lilo/message ]];then cp -f $splash_dir/themes/$THEME/lilo/message /boot/message-graphic fi -if [[ -n $image ]];then - if [[ -z $config ]];then - echo "Can't find a config files for resolution $resolution"; - exit 1; - fi -else #no image - echo "Can't find images for resolution $resolution"; - exit 1 +if [[ -z $config ]];then + echo "Can't find a config files for resolution $resolution"; + exit 1; fi -# From SuSe mk_initrd script -function out_byte() -{ - let x=$1 - echo -en "`printf \\\\%o $x`" -} - -function write_int() -{ - let tmp1=$[$1 & 255] - let tmp2=$[$1>>8] - let tmp2=$[$tmp2&255] - let tmp3=$[$1>>16] - let tmp3=$[$tmp3&255] - let tmp4=$[$1>>24] - let tmp4=$[$tmp4&255] - out_byte $tmp1 - out_byte $tmp2 - out_byte $tmp3 - out_byte $tmp4 -} -function write_short() -{ - let tmp1=$[$1>>8] - let tmp2=$[$1&0xff] - out_byte $tmp2 - out_byte $tmp1 -} - -function write_header() -{ - # write signature - echo -n "BOOTSPL1" - # write text x coordinate - write_short $1 - # write text y coordinate - write_short $2 - # write text width - write_short $3 - # write text height - write_short $4 - # write file length - write_int $5 -} - -source $config -size=`wc -c<$image` -write_header $tx $ty $tw $th $size >> $initrd_file -cat $image >> $initrd_file +if [[ -x /sbin/splash ]]; then + /sbin/splash -s -f $config >> $initrd_file +fi $splash_dir/scripts/switch-themes -u diff --git a/scripts/switch-themes b/scripts/switch-themes index dea6997..3492e09 100755 --- a/scripts/switch-themes +++ b/scripts/switch-themes @@ -100,6 +100,10 @@ function switch_theme () { echo "THEME=$toswitch" >> $sysconfig fi rm -f $tmpfile + if [[ -d /etc/bootsplash/$toswitch ]]; then + rm -f /etc/bootsplash/current + ln -s /etc/bootsplash/$toswitch current + fi fi } diff --git a/themes/Mandrake/cfg/bootsplash-1024x768.cfg b/themes/Mandrake/cfg/bootsplash-1024x768.cfg index 90e0e14..4361f66 100644 --- a/themes/Mandrake/cfg/bootsplash-1024x768.cfg +++ b/themes/Mandrake/cfg/bootsplash-1024x768.cfg @@ -2,32 +2,52 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 23 -# multiply width font width for coordinate in pixels. -tx=22 - -# ty is the y coordinate of the text window in characters. default is 20 -ty=18 - -# tw is the width of the text window in characters. default is 80 -# NOTE: this should at least be 80 as on the standard linux text console -tw=81 - -# th is the height of the text window in characters. default is 18 -# NOTE: this should at least be 25 as on the standard linux text console -th=17 - -# px is the progress bar x coordinate of its upper left corner -px=168 - -# py is the progress bar y coordinate of its upper left corner -py=589 - -# pw is the with of the progress bar -pw=665 - -# ph is the heigth of the progress bar -ph=18 - -# pc is the color of the progress bar -pc=0x21459d +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=40 +ty=116 +tw=944 +th=612 + +# ttf message output parameters +text_x=204 +text_y=544 +text_size=26 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/Mandrake/images/bootsplash-1024x768.jpg +silentjpeg=/usr/share/bootsplash/themes/Mandrake/images/silent-1024x768.jpg + +progress_enable=1 + +# background +box silent noover 204 582 820 612 #04045498 +box silent inter 204 583 204 611 #ffffff #ffffff #526bb0 #526bb0 +box silent 204 583 820 611 #ffffff #ffffff #526bb0 #526bb0 +# black border +box silent 204 582 820 582 #313234 +box silent 204 612 820 612 #eef4ff +box silent 204 582 204 612 #313234 +box silent 820 582 820 612 #eef4ff + +# text box (left, top) +box 35 111 35 729 #313234 +box 36 111 985 111 #313234 +# (right, bottom) +box 985 112 985 729 #eef4ff +box 36 729 985 729 #eef4ff +# box itself +box noover 36 112 984 728 #04045498 + +overpaintok=1 diff --git a/themes/Mandrake/cfg/bootsplash-1280x1024.cfg b/themes/Mandrake/cfg/bootsplash-1280x1024.cfg index ee8ffa2..a7c2fe3 100644 --- a/themes/Mandrake/cfg/bootsplash-1280x1024.cfg +++ b/themes/Mandrake/cfg/bootsplash-1280x1024.cfg @@ -2,32 +2,53 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 24 -# multiply width font width for coordinate in pixels. -tx=39 - -# ty is the y coordinate of the text window in characters. default is 14 -ty=28 - -# tw is the width of the text window in characters. default is 130 -# NOTE: this should at least be 80 as on the standard linux text console -tw=82 - -# th is the height of the text window in characters. default is 44 -# NOTE: this should at least be 25 as on the standard linux text console -th=20 - -# px is the progress bar x coordinate of its upper left corner -px=190 - -# py is the progress bar y coordinate of its upper left corner -py=280 - -# pw is the with of the progress bar -pw=630 - -# ph is the heigth of the progress bar -ph=20 - -# pc is the color of the progress bar -pc=0x21459d +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=48 +ty=154 +tw=1184 +th=822 + +# ttf message output parameters +text_x=256 +text_y=728 +text_size=36 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/SuSE-8.2/images/bootsplash-1280x1024.jpg +silentjpeg=/usr/share/bootsplash/themes/SuSE-8.2/images/silent-1280x1024.jpg + +progress_enable=1 + +# background +box silent noover 256 776 1024 816 #04045498 +box silent inter 256 777 256 815 #ffffff #ffffff #526bb0 #526bb0 +box silent 256 777 1024 815 #ffffff #ffffff #526bb0 #526bb0 +# black border +box silent 256 776 1024 776 #313234 +box silent 256 816 1024 816 #eef4ff +box silent 256 776 256 816 #313234 +box silent 1024 776 1024 816 #eef4ff + +# text box (left, top) +box 43 149 43 977 #313234 +box 44 149 1233 149 #313234 +# (right, bottom) +box 1233 150 1233 977 #eef4ff +box 44 977 1233 977 #eef4ff +# box itself +box noover 44 150 1232 976 #04045498 + +overpaintok=1 diff --git a/themes/Mandrake/cfg/bootsplash-800x600.cfg b/themes/Mandrake/cfg/bootsplash-800x600.cfg index 5dc9cfb..2a5143e 100644 --- a/themes/Mandrake/cfg/bootsplash-800x600.cfg +++ b/themes/Mandrake/cfg/bootsplash-800x600.cfg @@ -2,32 +2,53 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 15 -# multiply width font width for coordinate in pixels. -tx=10 - -# ty is the y coordinate of the text window in characters. default is 8 -ty=13 - -# tw is the width of the text window in characters. default is 82 -# NOTE: this should at least be 80 as on the standard linux text console -tw=80 - -# th is the height of the text window in characters. default is 26 -# NOTE: this should at least be 25 as on the standard linux text console -th=16 - -# px is the progress bar x coordinate of its upper left corner -px=75 - -# py is the progress bar y coordinate of its upper left corner -py=500 - -# pw is the with of the progress bar -pw=643 - -# ph is the heigth of the progress bar -ph=15 - -# pc is the color of the progress bar -pc=0x21459d +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=32 +ty=96 +tw=736 +th=472 + +# ttf message output parameters +text_x=160 +text_y=414 +text_size=20 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/etc/bootsplash/themes/SuSE-8.2/images/bootsplash-800x600.jpg +silentjpeg=/etc/bootsplash/themes/SuSE-8.2/images/silent-800x600.jpg + +progress_enable=1 + +# background +box silent noover 160 453 640 477 #04045498 +box silent inter 160 454 160 476 #ffffff #ffffff #526bb0 #526bb0 +box silent 160 454 640 476 #ffffff #ffffff #526bb0 #526bb0 +# black border +box silent 160 453 640 453 #313234 +box silent 160 477 640 477 #eef4ff +box silent 160 453 160 477 #313234 +box silent 640 453 640 477 #eef4ff + +# text box (left, top) +box 27 91 27 569 #313234 +box 28 91 769 91 #313234 +# (right, bottom) +box 769 92 769 569 #eef4ff +box 28 569 769 569 #eef4ff +# box itself +box noover 28 92 768 568 #04045498 + +overpaintok=1 diff --git a/themes/Mandrake/images/bootsplash-1024x768.jpg b/themes/Mandrake/images/bootsplash-1024x768.jpg index 638bf1e..37e9c2f 100644 Binary files a/themes/Mandrake/images/bootsplash-1024x768.jpg and b/themes/Mandrake/images/bootsplash-1024x768.jpg differ diff --git a/themes/Mandrake/images/bootsplash-1280x1024.jpg b/themes/Mandrake/images/bootsplash-1280x1024.jpg index c7fe760..355b0fc 100644 Binary files a/themes/Mandrake/images/bootsplash-1280x1024.jpg and b/themes/Mandrake/images/bootsplash-1280x1024.jpg differ diff --git a/themes/Mandrake/images/bootsplash-800x600.jpg b/themes/Mandrake/images/bootsplash-800x600.jpg index d310c9d..0e4ffc8 100644 Binary files a/themes/Mandrake/images/bootsplash-800x600.jpg and b/themes/Mandrake/images/bootsplash-800x600.jpg differ diff --git a/themes/Mandrake/images/silent-1024x768.jpg b/themes/Mandrake/images/silent-1024x768.jpg new file mode 100644 index 0000000..37e9c2f Binary files /dev/null and b/themes/Mandrake/images/silent-1024x768.jpg differ diff --git a/themes/Mandrake/images/silent-1280x1024.jpg b/themes/Mandrake/images/silent-1280x1024.jpg new file mode 100644 index 0000000..355b0fc Binary files /dev/null and b/themes/Mandrake/images/silent-1280x1024.jpg differ diff --git a/themes/Mandrake/images/silent-800x600.jpg b/themes/Mandrake/images/silent-800x600.jpg new file mode 100644 index 0000000..0e4ffc8 Binary files /dev/null and b/themes/Mandrake/images/silent-800x600.jpg differ diff --git a/themes/config/Mandrake/cfg/bootsplash-1024x768.cfg b/themes/config/Mandrake/cfg/bootsplash-1024x768.cfg index 611c61f..169bf2e 100644 --- a/themes/config/Mandrake/cfg/bootsplash-1024x768.cfg +++ b/themes/config/Mandrake/cfg/bootsplash-1024x768.cfg @@ -2,32 +2,54 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 23 -# multiply width font width for coordinate in pixels. -tx=24 - -# ty is the y coordinate of the text window in characters. default is 20 -ty=16 - -# tw is the width of the text window in characters. default is 80 -# NOTE: this should at least be 80 as on the standard linux text console -tw=80 - -# th is the height of the text window in characters. default is 18 -# NOTE: this should at least be 25 as on the standard linux text console -th=16 - -# px is the progress bar x coordinate of its upper left corner -px=199 - -# py is the progress bar y coordinate of its upper left corner -py=568 - -# pw is the with of the progress bar -pw=625 - -# ph is the heigth of the progress bar -ph=10 - -# pc is the color of the progress bar -pc=0x21449c +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=40 +ty=116 +tw=944 +th=612 + +# ttf message output parameters +text_x=20 +text_y=20 +text_size=22 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/Mandrake/images/bootsplash-1024x768.jpg +silentjpeg=/usr/share/bootsplash/themes/Mandrake/images/silent-1024x768.jpg + +progress_enable=1 + +# background +box silent noover 512 732 1000 752 #04045498 +box silent inter 512 733 512 751 #99ccff #99ccff #324bb0 #526bb0 +box silent 512 733 1000 751 #99ccff #99ccff #324bb0 #526bb0 +# black border +box silent 512 732 1000 732 #313234 +box silent 512 752 1000 752 #eef4ff +box silent 512 732 512 752 #313234 +box silent 1000 732 1000 752 #eef4ff + +# text box (left, top) +box 35 111 35 729 #313234 +box 36 111 985 111 #313234 +# (right, bottom) +box 985 112 985 729 #eef4ff +box 36 729 985 729 #eef4ff +# box itself +box noover 36 112 984 728 #04045498 + +overpaintok=1 + +LOGO_CONSOLE=vt diff --git a/themes/config/Mandrake/cfg/bootsplash-1280x1024.cfg b/themes/config/Mandrake/cfg/bootsplash-1280x1024.cfg index 6f2e56e..a128931 100644 --- a/themes/config/Mandrake/cfg/bootsplash-1280x1024.cfg +++ b/themes/config/Mandrake/cfg/bootsplash-1280x1024.cfg @@ -2,32 +2,55 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 24 -# multiply width font width for coordinate in pixels. -tx=40 - -# ty is the y coordinate of the text window in characters. default is 14 -ty=24 - -# tw is the width of the text window in characters. default is 130 -# NOTE: this should at least be 80 as on the standard linux text console -tw=80 - -# th is the height of the text window in characters. default is 44 -# NOTE: this should at least be 25 as on the standard linux text console -th=16 - -# px is the progress bar x coordinate of its upper left corner -px=326 - -# py is the progress bar y coordinate of its upper left corner -py=695 - -# pw is the with of the progress bar -pw=629 - -# ph is the heigth of the progress bar -ph=10 - -# pc is the color of the progress bar -pc=0x21449c +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=48 +ty=154 +tw=1184 +th=822 + +# ttf message output parameters +text_x=20 +text_y=20 +text_size=30 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/Mandrake/images/bootsplash-1280x1024.jpg +silentjpeg=/usr/share/bootsplash/themes/Mandrake/images/silent-1280x1024.jpg + +progress_enable=1 + +# background +box silent noover 256 776 1024 816 #04045498 +box silent inter 256 777 256 815 #99ccff #99ccff #324bb0 #526bb0 +box silent 256 777 1024 815 #99ccff #99ccff #324bb0 #526bb0 +# black border +box silent 256 776 1024 776 #313234 +box silent 256 816 1024 816 #eef4ff +box silent 256 776 256 816 #313234 +box silent 1024 776 1024 816 #eef4ff + +# text box (left, top) +box 43 149 43 977 #313234 +box 44 149 1233 149 #313234 +# (right, bottom) +box 1233 150 1233 977 #eef4ff +box 44 977 1233 977 #eef4ff +# box itself +box noover 44 150 1232 976 #04045498 + +overpaintok=1 + +LOGO_CONSOLE=vt diff --git a/themes/config/Mandrake/cfg/bootsplash-1600x1200.cfg b/themes/config/Mandrake/cfg/bootsplash-1600x1200.cfg index f8e868c..56f0331 100644 --- a/themes/config/Mandrake/cfg/bootsplash-1600x1200.cfg +++ b/themes/config/Mandrake/cfg/bootsplash-1600x1200.cfg @@ -2,32 +2,85 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=58 +ty=172 +tw=1484 +th=970 + +# ttf message output parameters +text_x=20 +text_y=20 +text_size=40 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/etc/bootsplash/themes/Mandrake/images/bootsplash-1600x1200.jpg +silentjpeg=/etc/bootsplash/themes/Mandrake/images/silent-1600x1200.jpg + +progress_enable=1 + +# background +box silent noover 320 906 1280 954 #04045498 +box silent inter 320 907 320 953 #99ccff #99ccff #324bb0 #526bb0 +box silent 320 907 1280 953 #99ccff #99ccff #324bb0 #526bb0 +# black border +box silent 320 906 1280 906 #313234 +box silent 320 954 1280 954 #eef4ff +box silent 320 906 320 954 #313234 +box silent 1280 906 1280 954 #eef4ff + +# text box (left, top) +box 53 167 53 1143 #313234 +box 54 167 1543 167 #313234 +# (right, bottom) +box 1543 168 1543 1143 #eef4ff +box 54 1143 1543 1143 #eef4ff +# box itself +box noover 54 168 1542 1142 #04045498 + +overpaintok=1 + +LOGO_CONSOLE=vt + # tx is the x coordinate of the text window in characters. default is 23 # multiply width font width for coordinate in pixels. -tx=60 +#tx=60 # ty is the y coordinate of the text window in characters. default is 20 -ty=59 +#ty=59 # tw is the width of the text window in characters. default is 80 # NOTE: this should at least be 80 as on the standard linux text console -tw=80 +#tw=80 # th is the height of the text window in characters. default is 18 # NOTE: this should at least be 25 as on the standard linux text console -th=22 +#th=22 # px is the progress bar x coordinate of its upper left corner -px=487 +#px=487 # py is the progress bar y coordinate of its upper left corner -py=783 +#py=783 # pw is the with of the progress bar -pw=626 +#pw=626 # ph is the heigth of the progress bar -ph=10 +#ph=10 # pc is the color of the progress bar -pc=0x21449c +#pc=0x21449c diff --git a/themes/config/Mandrake/cfg/bootsplash-800x600.cfg b/themes/config/Mandrake/cfg/bootsplash-800x600.cfg index 38742a0..f572d35 100644 --- a/themes/config/Mandrake/cfg/bootsplash-800x600.cfg +++ b/themes/config/Mandrake/cfg/bootsplash-800x600.cfg @@ -2,32 +2,55 @@ # This file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 15 -# multiply width font width for coordinate in pixels. -tx=10 - -# ty is the y coordinate of the text window in characters. default is 8 -ty=11 - -# tw is the width of the text window in characters. default is 82 -# NOTE: this should at least be 80 as on the standard linux text console -tw=80 - -# th is the height of the text window in characters. default is 26 -# NOTE: this should at least be 25 as on the standard linux text console - 16 -th=16 - -# px is the progress bar x coordinate of its upper left corner -px=86 - -# py is the progress bar y coordinate of its upper left corner -py=482 - -# pw is the with of the progress bar -pw=627 - -# ph is the heigth of the progress bar -ph=9 - -# pc is the color of the progress bar -pc=0x21449c +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=32 +ty=96 +tw=736 +th=472 + +# ttf message output parameters +text_x=20 +text_y=20 +text_size=20 +text_color=0xeef4ff + +# name of the picture file (full path recommended) +jpeg=/etc/bootsplash/themes/Mandrake/images/bootsplash-800x600.jpg +silentjpeg=/etc/bootsplash/themes/Mandrake/images/silent-800x600.jpg + +progress_enable=1 + +# background +box silent noover 400 553 790 577 #04045498 +box silent inter 400 554 400 576 #99ccff #99ccff #324bb0 #526bb0 +box silent 400 554 790 576 #99ccff #99ccff #324bb0 #526bb0 +# black border +box silent 400 553 790 553 #313234 +box silent 400 577 790 577 #eef4ff +box silent 400 553 400 577 #313234 +box silent 790 553 790 577 #eef4ff + +# text box (left, top) +box 27 91 27 569 #313234 +box 28 91 769 91 #313234 +# (right, bottom) +box 769 92 769 569 #eef4ff +box 28 569 769 569 #eef4ff +# box itself +box noover 28 92 768 568 #04045498 + +overpaintok=1 + +LOGO_CONSOLE=vt diff --git a/themes/config/Mandrake/cfg/vt1-1024x768.cfg b/themes/config/Mandrake/cfg/vt1-1024x768.cfg new file mode 100644 index 0000000..1869964 --- /dev/null +++ b/themes/config/Mandrake/cfg/vt1-1024x768.cfg @@ -0,0 +1,26 @@ +# This is the configuration file for the 1024x768 bootsplash picture. +# This file is necessary to specify the coordinates of the text box on the +# splash screen. + +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=0 +ty=0 +tw=1024 + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/Mandrake/images/vt-1024x768.jpg + +th=768 + +overpaintok=1 diff --git a/themes/config/Mandrake/cfg/vt1-800x600.cfg b/themes/config/Mandrake/cfg/vt1-800x600.cfg new file mode 100644 index 0000000..f8c5938 --- /dev/null +++ b/themes/config/Mandrake/cfg/vt1-800x600.cfg @@ -0,0 +1,26 @@ +# This is the configuration file for the 800x600 bootsplash picture. +# This file is necessary to specify the coordinates of the text box on the +# splash screen. + +# config file version +version=3 + +# should the picture be displayed? +state=1 + +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 + +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=0 +ty=0 +tw=800 +th=600 + +# name of the picture file (full path recommended) +jpeg=/usr/share/bootsplash/themes/Mandrake/images/vt-800x600.jpg + +overpaintok=1 diff --git a/themes/data/Mandrake/images/bootsplash-1024x768.jpg b/themes/data/Mandrake/images/bootsplash-1024x768.jpg index 22b77d1..37e9c2f 100644 Binary files a/themes/data/Mandrake/images/bootsplash-1024x768.jpg and b/themes/data/Mandrake/images/bootsplash-1024x768.jpg differ diff --git a/themes/data/Mandrake/images/bootsplash-1280x1024.jpg b/themes/data/Mandrake/images/bootsplash-1280x1024.jpg index 74c02e6..355b0fc 100644 Binary files a/themes/data/Mandrake/images/bootsplash-1280x1024.jpg and b/themes/data/Mandrake/images/bootsplash-1280x1024.jpg differ diff --git a/themes/data/Mandrake/images/bootsplash-1600x1200.jpg b/themes/data/Mandrake/images/bootsplash-1600x1200.jpg index 555b1b0..76f415c 100644 Binary files a/themes/data/Mandrake/images/bootsplash-1600x1200.jpg and b/themes/data/Mandrake/images/bootsplash-1600x1200.jpg differ diff --git a/themes/data/Mandrake/images/bootsplash-800x600.jpg b/themes/data/Mandrake/images/bootsplash-800x600.jpg index 10747b3..0e4ffc8 100644 Binary files a/themes/data/Mandrake/images/bootsplash-800x600.jpg and b/themes/data/Mandrake/images/bootsplash-800x600.jpg differ diff --git a/themes/data/Mandrake/images/silent-1024x768.jpg b/themes/data/Mandrake/images/silent-1024x768.jpg new file mode 100644 index 0000000..37e9c2f Binary files /dev/null and b/themes/data/Mandrake/images/silent-1024x768.jpg differ diff --git a/themes/data/Mandrake/images/silent-1280x1024.jpg b/themes/data/Mandrake/images/silent-1280x1024.jpg new file mode 100644 index 0000000..355b0fc Binary files /dev/null and b/themes/data/Mandrake/images/silent-1280x1024.jpg differ diff --git a/themes/data/Mandrake/images/silent-800x600.jpg b/themes/data/Mandrake/images/silent-800x600.jpg new file mode 100644 index 0000000..0e4ffc8 Binary files /dev/null and b/themes/data/Mandrake/images/silent-800x600.jpg differ diff --git a/themes/data/Mandrake/images/vt-1024x768.jpg b/themes/data/Mandrake/images/vt-1024x768.jpg new file mode 100644 index 0000000..b091da1 Binary files /dev/null and b/themes/data/Mandrake/images/vt-1024x768.jpg differ diff --git a/themes/data/Mandrake/images/vt-800x600.jpg b/themes/data/Mandrake/images/vt-800x600.jpg new file mode 100644 index 0000000..8406fb4 Binary files /dev/null and b/themes/data/Mandrake/images/vt-800x600.jpg differ -- cgit v1.2.1