@ -0,0 +1,33 @@ |
|||
bootsplash_cm(){ |
|||
# Building and installing the utility |
|||
cd Utilities |
|||
make splash |
|||
cp splash $root/sbin/ |
|||
cd .. |
|||
|
|||
echo Copying the documentation |
|||
mkdir -p $root/$prefix/share/doc/bootsplash/Scripts |
|||
cp -r Documentation/* $root/$prefix/share/doc/bootsplash/ |
|||
|
|||
echo Copying initscripts to the Documentation |
|||
cp Scripts/* $root/$prefix/share/doc/bootsplash/Scripts/ |
|||
|
|||
echo Now installing themes from $archdir |
|||
mkdir -p $root/$prefix/share/bootsplash/themes |
|||
|
|||
cd $root/$prefix/share/bootsplash/themes |
|||
for t in $archdir/Theme-*; do |
|||
tar $taropt $t; |
|||
done |
|||
|
|||
echo Linking theme directory |
|||
mkdir -p $root/etc/bootsplash |
|||
ln -sf $root/$prefix/share/bootsplash/themes $root/etc/bootsplash/themes |
|||
|
|||
cp $confdir/stone_mod_bootsplash.sh $root/etc/stone.d/mod_bootsplash.sh |
|||
|
|||
|
|||
echo Finished |
|||
} |
|||
|
|||
custmain=bootsplash_cm |
@ -0,0 +1,53 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/avm/bootsplash/bootsplash.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] graphical boot process for the linux kernel |
|||
|
|||
[T] Features: |
|||
[T] |
|||
[T] * Nice graphics (JPEG) |
|||
[T] * Antialiased text rendering (TrueType) |
|||
[T] * Animations (MNG) |
|||
[T] * Progress Bar |
|||
[T] * Display of boot messages above or below a graphic. ("verbose" and "silent" modes) |
|||
[T] * Fully themeable |
|||
|
|||
[U] http://www.bootsplash.org/ |
|||
|
|||
[A] Project Maintainer: Stefan Reinauer <stepan at bootsplash dot org> |
|||
[M] Andreas V. 'netrunner' Meier <avmeier@web.de> |
|||
|
|||
[C] base/kernel |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.0.7 |
|||
[P] X -----5---9 800.000 |
|||
|
|||
[D] 4180078131 bootsplash-3.0.7.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/rpm-sources/bootsplash/ |
|||
[D] 136525566 Theme-Linux.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/ |
|||
[D] 413833771 Theme-Redmond.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/ |
|||
[D] 4212729406 Theme-Leopard.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/ |
|||
[D] 2662651191 Theme-OfficeDesktop.tar.bz2 ftp://ftp.suse.com/pub/people/stepan/bootsplash/rpm-sources/bootsplash-theme-SuSE-classic/ |
|||
[D] 528315310 bootsplash-3.0.7-2.4.22-vanilla.diff ftp://ftp.suse.com/pub/people/stepan/bootsplash/kernel/ |
|||
[D] 512579477 bootsplash-3.1.3-2.6.0-test9.diff ftp://ftp.suse.com/pub/people/stepan/bootsplash/kernel/ |
@ -0,0 +1,44 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/x86/lilo/config.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
if pkgcheck bootsplash X |
|||
then |
|||
menu_begin MENU_PKG_BOOTSPLASH 'BOOTSPLASH Options' |
|||
bool 'Patch the kernel with the bootsplash patch' ROCKCFG_KERNEL_BOOTSPLASH 0 |
|||
comment 'Please also activate the "Apply custom kernel build configuration settings' |
|||
comment ' (you find it under Linux Kernel Options)' |
|||
|
|||
if [ $ROCKCFG_KERNEL_BOOTSPLASH == '1' ]; then |
|||
for x in CONFIG_FBCON_SPLASHSCREEN ; do |
|||
grep -s -v $x config/$config/linux.cfg > config/$config/linux.cfg.$$ |
|||
echo "$x=y" >> config/$config/linux.cfg.$$ |
|||
mv config/$config/linux.cfg.$$ config/$config/linux.cfg |
|||
done |
|||
else |
|||
for x in CONFIG_FBCON_SPLASHSCREEN ; do |
|||
grep -s -v $x config/$config/linux.cfg > config/$config/linux.cfg.$$ |
|||
# echo "$x=n" >> config/$config/linux.cfg.$$ |
|||
mv config/$config/linux.cfg.$$ config/$config/linux.cfg |
|||
done |
|||
fi |
|||
menu_end |
|||
fi |
@ -0,0 +1,11 @@ |
|||
if [ "$ROCKCFG_KERNEL_BOOTSPLASH" == '1' ] ; then |
|||
if [ -f $base/download/avm/bootsplash/bootsplash-3.0.7-${ver}-vanilla.diff ] ; then |
|||
echo_status "Including Bootsplash Patch for version ${ver}" |
|||
bootsplash_patch=$base/download/avm/bootsplash/bootsplash-3.0.7-${ver}-vanilla.diff |
|||
else |
|||
bootsplash_patch=$base/download/avm/bootsplash/bootsplash-3.0.7-2.4.24-vanilla.diff |
|||
echo_status "Including backup Bootsplash Patch for version 2.4.24" |
|||
fi |
|||
var_remove patchfiles " " "$bootsplash_patch" |
|||
var_append patchfiles " " "$bootsplash_patch" |
|||
fi |
@ -0,0 +1,71 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/x86/lilo/stone_mod_lilo.sh |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# [MAIN] 80 bootsplash BOOTSPLASH theme activation |
|||
|
|||
SPLASH="/sbin/splash" |
|||
INITRD="/boot/initrd.img" |
|||
|
|||
select_theme(){ |
|||
cmd="gui_menu 'select_theme' 'Select one of the following theme'" |
|||
cmd="$cmd $( find /etc/bootsplash/themes/*/config -type d | \ |
|||
sed -re 's,^.*/themes/(.*)/config.*$,"\1" "BOOTSPLASH_THEME=\1",' | \ |
|||
sort | tr '\n' ' ')" |
|||
|
|||
eval "$cmd" |
|||
write_bsconfig |
|||
} |
|||
|
|||
select_cfgfile(){ |
|||
cmd="gui_menu 'select_cfgfile'" |
|||
cmd="$cmd 'Select one of the config file for the $BOOTSPLASH_THEME theme'" |
|||
cmd="$cmd $( find /etc/bootsplash/themes/$BOOTSPLASH_THEME/config -type f| \ |
|||
sed -re 's,^.*config/(.*),"\1" "BOOTSPLASH_CFGFILE=\"\1\"",' | sort | tr '\n' ' ')" |
|||
|
|||
eval "$cmd" |
|||
write_bsconfig |
|||
} |
|||
|
|||
write_bsconfig(){ |
|||
cat << EOC > /etc/bootsplash/config |
|||
BOOTSPLASH_THEME="$BOOTSPLASH_THEME" |
|||
BOOTSPLASH_CFGFILE="$BOOTSPLASH_CFGFILE" |
|||
EOC |
|||
} |
|||
|
|||
main() { |
|||
while |
|||
BOOTSPLASH_THEME="Linux" |
|||
BOOTSPLASH_CFGFILE="bootsplash-1024x768.cfg" |
|||
if [ -f /etc/bootsplash/config ]; then |
|||
. /etc/bootsplash/config |
|||
fi |
|||
gui_menu bootsplash 'Bootsplash Setup' \ |
|||
"Bootsplash Theme ......... $BOOTSPLASH_THEME" 'select_theme' \ |
|||
"Bootsplash Config File ... $BOOTSPLASH_CFGFILE" 'select_cfgfile' \ |
|||
"" "" \ |
|||
'Append Bootsplash Image to initrd' \ |
|||
'gui_cmd "Appending Bootsplash Image 1024x68 to initrd" \ |
|||
"$SPLASH -s -f /etc/bootsplash/$BOOTSPLASH_THEME/config/$BOOTSPLASH_CFGFILE >> $INITRD"' |
|||
do : ; done |
|||
} |
|||
|