summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Dack <tad@gentoo.org>2003-04-21 01:25:48 +0000
committerTroy Dack <tad@gentoo.org>2003-04-21 01:25:48 +0000
commite511c30049fd13a90eb43361c55622f7b79a3b7e (patch)
tree25fb6b5c781a83f0e5ffcf9802ea8d1623ce904f /media-gfx/bootsplash
parentVersion update. (diff)
downloadhistorical-e511c30049fd13a90eb43361c55622f7b79a3b7e.tar.gz
historical-e511c30049fd13a90eb43361c55622f7b79a3b7e.tar.bz2
historical-e511c30049fd13a90eb43361c55622f7b79a3b7e.zip
Version bump to fix some install and ebuild errors.
Diffstat (limited to 'media-gfx/bootsplash')
-rw-r--r--media-gfx/bootsplash/ChangeLog5
-rw-r--r--media-gfx/bootsplash/bootsplash-0.5.ebuild18
-rw-r--r--media-gfx/bootsplash/bootsplash-0.6.ebuild134
-rw-r--r--media-gfx/bootsplash/files/digest-bootsplash-0.61
4 files changed, 148 insertions, 10 deletions
diff --git a/media-gfx/bootsplash/ChangeLog b/media-gfx/bootsplash/ChangeLog
index aea7c7f07fb4..e0c1687143dc 100644
--- a/media-gfx/bootsplash/ChangeLog
+++ b/media-gfx/bootsplash/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-gfx/bootsplash
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.6 2003/04/07 13:50:50 tad Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.7 2003/04/21 01:25:48 tad Exp $
*bootsplash-0.5 (07 Apr 2003)
+ 21 Apr 2003; tad bootsplash-0.5.ebuild:
+ Version bump. Fixes .cfg errors, and incorrect initrd files
+
07 Apr 2003; Troy Dack <tad@gentoo.org> bootsplash-0.5.ebuild:
New kernel patch, new splash images. Now with a "silent" image and
a graphical progress bar.
diff --git a/media-gfx/bootsplash/bootsplash-0.5.ebuild b/media-gfx/bootsplash/bootsplash-0.5.ebuild
index 69f27dda943c..75debd4830d4 100644
--- a/media-gfx/bootsplash/bootsplash-0.5.ebuild
+++ b/media-gfx/bootsplash/bootsplash-0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.5.ebuild,v 1.2 2003/04/07 13:55:58 tad Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.5.ebuild,v 1.3 2003/04/21 01:25:48 tad Exp $
DESCRIPTION="Graphical backgrounds for frame buffer consoles"
@@ -64,17 +64,12 @@ src_install() {
fperms 755 /etc/init.d/bootsplash
insinto /etc/conf.d
- doins ${S}/misc/bootsplash.conf
-
+ doins ${S}/misc/bootsplash.conf
+
insinto /usr/share/${PN}
doins ${S}/kernel/bootsplash-3.0.7-2.4.20-vanilla.diff
doins ${S}/misc/grub.conf.sample
- for SIZE in 800x600 1024x768 1280x1024
- do
- ${D}/sbin/splash -s -f ${D}/etc/bootsplash/gentoo/config/bootsplash-${SIZE}.cfg > ${D}/usr/share/${PN}/initrd-${SIZE}
- done
-
# dodoc README
# dodoc COPYING
# dodoc CREDITS
@@ -82,6 +77,11 @@ src_install() {
}
pkg_postinst() {
+ for SIZE in 800x600 1024x768 1280x1024
+ do
+ /sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-${SIZE}.cfg > /usr/share/${PN}/initrd-${SIZE}
+ done
+
einfo
einfo "Execute \"ebuild /var/db/pkg/media-gfx/${PN}/${P}.ebuild config\""
einfo "to have your kernel sources in /usr/src/linux patched with the"
@@ -122,7 +122,7 @@ pkg_config() {
einfo " [*] VESA VGA graphics console"
einfo " [*] Use splash screen instead of boot logo"
einfo
- einfo "Copy /usr/share/${PN}/initrd to /boot"
+ 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"
diff --git a/media-gfx/bootsplash/bootsplash-0.6.ebuild b/media-gfx/bootsplash/bootsplash-0.6.ebuild
new file mode 100644
index 000000000000..19bae8d42c0b
--- /dev/null
+++ b/media-gfx/bootsplash/bootsplash-0.6.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2003 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.ebuild,v 1.1 2003/04/21 01:25:48 tad Exp $
+
+DESCRIPTION="Graphical backgrounds for frame buffer consoles"
+
+HOMEPAGE="http://linux.tkdack.com"
+
+SRC_URI="mirror://gentoo/bootsplash-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2"
+
+# Not implemented yet
+# media-libs/libmng"
+
+RDEPEND=""
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+
+ # compile utils
+
+# mng is not implmented yet
+# (the util builds but the rc scripts have not been modified)
+# 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
+ doexe ${S}/utils/splashutils/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
+ dosym ./gentoo /etc/bootsplash/default
+
+ 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
+ doins ${S}/misc/grub.conf.sample
+
+# 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
+ do
+ /sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-${SIZE}.cfg > /usr/share/${PN}/initrd-${SIZE}
+ done
+
+ einfo
+ einfo "Execute \"ebuild /var/db/pkg/media-gfx/${PN}/${P}.ebuild config\""
+ einfo "to have your kernel sources in /usr/src/linux patched with the"
+ einfo "Framebuffer Bootsplash patches"
+ einfo
+ echo ""
+ ewarn "If you have already patched the kernel then you only need to copy"
+ ewarn "an initrd from /usr/share/${PN} to /boot"
+ ewarn
+ echo ""
+ einfo
+ einfo "Run:"
+ einfo " rc-update add bootsplash default"
+ einfo " to change the console images after startup"
+ einfo
+}
+
+pkg_config() {
+ ewarn
+ ewarn "Patching the kernel in /usr/src/linux ..."
+ ewarn
+ cd ${ROOT}/usr/src/linux
+ patch -p1 < ${ROOT}/usr/share/${PN}/bootsplash-3.0.7-2.4.20-vanilla.diff || die
+ 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 b/media-gfx/bootsplash/files/digest-bootsplash-0.6
new file mode 100644
index 000000000000..4761d4d1e1e6
--- /dev/null
+++ b/media-gfx/bootsplash/files/digest-bootsplash-0.6
@@ -0,0 +1 @@
+MD5 1350d7e414088e975c6ee6846dff664e bootsplash-0.6.tar.bz2 235524