diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-01-17 22:45:27 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-01-17 22:45:27 +0000 |
commit | 766550359bab87c39e98120bf9d3d007ca4e0b49 (patch) | |
tree | 7ef070487c7c961d26b83ce0816d29e8e22e704a /media-gfx/bootsplash | |
parent | deleted some old files (diff) | |
download | historical-766550359bab87c39e98120bf9d3d007ca4e0b49.tar.gz historical-766550359bab87c39e98120bf9d3d007ca4e0b49.tar.bz2 historical-766550359bab87c39e98120bf9d3d007ca4e0b49.zip |
Added support for 2.6 kernels, fixed a few minor issues with silent mode, added the BOOTSPLASH_TTYS variable.
Diffstat (limited to 'media-gfx/bootsplash')
-rw-r--r-- | media-gfx/bootsplash/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/bootsplash/Manifest | 5 | ||||
-rw-r--r-- | media-gfx/bootsplash/bootsplash-0.6-r4.ebuild | 175 | ||||
-rw-r--r-- | media-gfx/bootsplash/files/digest-bootsplash-0.6-r4 | 1 | ||||
-rw-r--r-- | media-gfx/bootsplash/metadata.xml | 9 |
5 files changed, 197 insertions, 2 deletions
diff --git a/media-gfx/bootsplash/ChangeLog b/media-gfx/bootsplash/ChangeLog index d902bf79e3db..e0fef415d503 100644 --- a/media-gfx/bootsplash/ChangeLog +++ b/media-gfx/bootsplash/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/bootsplash # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.13 2004/01/13 04:35:32 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.14 2004/01/17 22:45:27 spock Exp $ + +*bootsplash-0.6-r4 (17 Jan 2004) + + 17 Jan 2004; Michal 'Spock' Januszewski <spock@gentoo.org> + bootsplash-0.6-r4.ebuild, metadata.xml: + Added support for 2.6 kernels, fixed a few minor issues with silent mode, + added the BOOTSPLASH_TTYS variable. 12 Jan 2004; Brad House <brad_mssw@gentoo.org> bootsplash-0.6-r2.ebuild: mark stable diff --git a/media-gfx/bootsplash/Manifest b/media-gfx/bootsplash/Manifest index ac0fc84eeff8..5b2b916956e3 100644 --- a/media-gfx/bootsplash/Manifest +++ b/media-gfx/bootsplash/Manifest @@ -1,7 +1,10 @@ +MD5 e72df69a63691675721b5edb2a54fa8c ChangeLog 2305 MD5 2a77ed704b718a7396c97e5e39249e21 bootsplash-0.6-r1.ebuild 3342 MD5 6a3f6108142e93e8d969e4078e49bf27 bootsplash-0.6-r2.ebuild 3401 -MD5 3f00b0a6d1f6f867f59fda974a482f56 ChangeLog 2057 MD5 000b763c35a5c1604070379a0c3a2a44 bootsplash-0.6-r3.ebuild 3437 +MD5 8c1d8cd244bedc3898403d19981258c1 bootsplash-0.6-r4.ebuild 4958 +MD5 bee39157a0491e747442baf4eed96348 metadata.xml 263 MD5 3fa4a534a7a0b0dd84e1e99c032010b8 files/digest-bootsplash-0.6-r1 67 MD5 0bf6318b85e220548699e20dbb0b9390 files/digest-bootsplash-0.6-r2 70 MD5 250d9fd431815e7ee0ebdad859d9796a files/digest-bootsplash-0.6-r3 70 +MD5 eacb36a273e1eccd1f98e95d0a3b2646 files/digest-bootsplash-0.6-r4 70 diff --git a/media-gfx/bootsplash/bootsplash-0.6-r4.ebuild b/media-gfx/bootsplash/bootsplash-0.6-r4.ebuild new file mode 100644 index 000000000000..e3edc238f206 --- /dev/null +++ b/media-gfx/bootsplash/bootsplash-0.6-r4.ebuild @@ -0,0 +1,175 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.6-r4.ebuild,v 1.1 2004/01/17 22:45:27 spock Exp $ + +DESCRIPTION="Graphical backgrounds for frame buffer consoles" +HOMEPAGE="http://linux.tkdack.com/" +SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/bootsplash-${PV}-${PR}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" + +S="${WORKDIR}/${PF}" + +DEPEND=">=media-libs/freetype-2 + media-libs/libmng" + +src_compile() { + # compile utils + # the util builds but the rc scripts have not been modified + # animated boot up require patches to the baselayout package + cd ${S}/utils/fbmngplay + emake fbmngplay || die + + cd ${S}/utils/fbtruetype + emake || die + + cd ${S}/utils/splashutils + emake || die +} + +src_install() { + # Splash utilities + exeinto /sbin + doexe ${S}/utils/fbmngplay/fbmngplay + doexe ${S}/utils/fbtruetype/fbtruetype + doexe ${S}/utils/fbtruetype/fbtruetype.static + newexe ${S}/utils/splashutils/splash splash.bin + doexe ${S}/misc/splash + doexe ${S}/utils/splashutils/fbresolution + doexe ${S}/utils/splashutils/getkey + + mkdir -p ${D}/etc/${PN} + cp -pR ${S}/themes/* ${D}/etc/${PN} + + # link default config for boot images if not already set + if [ ! -e /etc/bootsplash/default ]; then + dosym ./gentoo /etc/bootsplash/default + fi + + insinto /etc/init.d + doins ${S}/misc/bootsplash + fperms 755 /etc/init.d/bootsplash + + insinto /etc/conf.d + doins ${S}/misc/bootsplash.conf + + insinto /usr/share/${PN} + doins ${S}/kernel/bootsplash-3.0.7-2.4.20-vanilla.diff.bz2 + doins ${S}/kernel/bootsplash-3.0.7-2.4.22-vanilla.diff.bz2 + doins ${S}/kernel/bootsplash-3.1.3-2.6.0-test9.diff.bz2 + doins ${S}/misc/grub.conf.sample + + cat >${D}/sbin/bootsplash_patch <<END +#!/bin/bash +LINUX=\$1 ebuild /var/db/pkg/media-gfx/${PF}/${PF}.ebuild config +END + chmod 0754 ${D}/sbin/bootsplash_patch + +# dodoc README +# dodoc COPYING +# dodoc CREDITS + +} + +pkg_postinst() { + # Has to be done here so that the initrd images are created properly + for SIZE in 800x600 1024x768 1280x1024 1600x1200 + do + /sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-${SIZE}.cfg > /usr/share/${PN}/initrd-${SIZE} + done + + echo "" + einfo Execute \"bootsplash_patch\" to have your kernel sources in + einfo /usr/src/linux patched with the Framebuffer Bootsplash patches. + einfo + einfo You can also use: + einfo " bootsplash_patch /path/to/your/custom/kernel/" + einfo to patch your custom kernel sources. + echo "" + ewarn If you have already patched the kernel then you only need to copy + ewarn an initrd from /usr/share/${PN} to /boot + echo "" + einfo Run: + einfo " rc-update add bootsplash default" + einfo to change the console images after startup + echo "" +} + +pkg_config() { + + if [ "${LINUX}" != "" ]; then + KV=`cat ${LINUX}/include/linux/version.h | grep UTS_RELEASE | cut -d" " -f3 | sed -e 's/"//' -e 's/"//'` + if [ "${KV}" == "" ]; then + die "Could not get kernel version; make sure ${LINUX}include/linux/version.h is there!" + fi + else + LINUX='/usr/src/linux' + check_KV || die "Cannot find kernel in /usr/src/linux!" + fi + + KB=`echo ${KV} | cut -d. -f-2` + KV_MINOR=`echo ${KV} | cut -d. -f3` + + ewarn + ewarn "Patching the kernel (branch: ${KB}) in ${LINUX} ..." + ewarn + + cd ${ROOT}/${LINUX} + + if [ "${KB}" == "2.4" ]; then + + if [ -f drivers/video/fbcon-splash.c ]; then + eerror + eerror "It appears your kernel has already been patched." + eerror + exit 1 + fi + + if [ $KV_MINOR >= 22 ]; then + bzip2 -dc ${ROOT}/usr/share/${PN}/bootsplash-3.0.7-2.4.22-vanilla.diff.bz2 | patch -p1 || die + else + bzip2 -dc ${ROOT}/usr/share/${PN}/bootsplash-3.0.7-2.4.20-vanilla.diff.bz2 | patch -p1 || die + fi + + elif [ "${KB}" == "2.6" ]; then + + if [ -d drivers/video/bootsplash ]; then + eerror + eerror "It appears your kernel has already been patched." + eerror + exit 1 + fi + + bzip2 -dc ${ROOT}/usr/share/${PN}/bootsplash-3.1.3-2.6.0-test9.diff.bz2 | patch -p1 || die + else + die "Sorry, this kernel branch is not supported." + fi + + ewarn + ewarn " ... complete." + einfo + einfo "Your kernel has been patched, rebuild with the following options" + einfo "enabled (do not build them as modules!):" + einfo " Block Devices ->" + einfo " [*] RAM disk support" + einfo " [*] Loopback device support" + einfo " [*] Initial RAM disk (initrd) support" + einfo + einfo " Console Drivers ->" + einfo " [*] Video mode selection support" + einfo " Frame-buffer support ->" + einfo " [*] Support for frame buffer devices" + einfo " [*] VESA VGA graphics console" + einfo " [*] Use splash screen instead of boot logo" + einfo + einfo "Copy an initrd from /usr/share/${PN} to /boot" + einfo + einfo "Look at \"/usr/share/${PN}/grub.conf.sample\" for an example" + einfo "grub.conf file with the appropriate changes to enable the" + einfo "framebuffer boot screens" + einfo + einfo "Ensure you make the appropriate changes to your grub.conf" + einfo +} diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r4 b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r4 new file mode 100644 index 000000000000..4c1f17bbeb0c --- /dev/null +++ b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r4 @@ -0,0 +1 @@ +MD5 c9943d872be13015dfd97e723a1afd4c bootsplash-0.6-r4.tar.bz2 350743 diff --git a/media-gfx/bootsplash/metadata.xml b/media-gfx/bootsplash/metadata.xml new file mode 100644 index 000000000000..13021607759c --- /dev/null +++ b/media-gfx/bootsplash/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>spock@gentoo.org</email> + <name>Michal 'Spock' Januszewski</name> +</maintainer> +</pkgmetadata> |