From 494a8a13ac1848a59205da5eb9ffae7fb8e3ac20 Mon Sep 17 00:00:00 2001 From: Michael Januszewski Date: Wed, 14 Apr 2004 15:45:18 +0000 Subject: Removed old ebuilds. --- media-gfx/bootsplash/Manifest | 8 - media-gfx/bootsplash/bootsplash-0.6-r11.ebuild | 205 ------------------- media-gfx/bootsplash/bootsplash-0.6-r12.ebuild | 219 --------------------- media-gfx/bootsplash/bootsplash-0.6-r3.ebuild | 124 ------------ media-gfx/bootsplash/bootsplash-0.6-r9.ebuild | 186 ----------------- .../bootsplash/files/digest-bootsplash-0.6-r11 | 1 - .../bootsplash/files/digest-bootsplash-0.6-r12 | 1 - .../bootsplash/files/digest-bootsplash-0.6-r3 | 1 - .../bootsplash/files/digest-bootsplash-0.6-r9 | 1 - 9 files changed, 746 deletions(-) delete mode 100644 media-gfx/bootsplash/bootsplash-0.6-r11.ebuild delete mode 100644 media-gfx/bootsplash/bootsplash-0.6-r12.ebuild delete mode 100644 media-gfx/bootsplash/bootsplash-0.6-r3.ebuild delete mode 100644 media-gfx/bootsplash/bootsplash-0.6-r9.ebuild delete mode 100644 media-gfx/bootsplash/files/digest-bootsplash-0.6-r11 delete mode 100644 media-gfx/bootsplash/files/digest-bootsplash-0.6-r12 delete mode 100644 media-gfx/bootsplash/files/digest-bootsplash-0.6-r3 delete mode 100644 media-gfx/bootsplash/files/digest-bootsplash-0.6-r9 (limited to 'media-gfx/bootsplash') diff --git a/media-gfx/bootsplash/Manifest b/media-gfx/bootsplash/Manifest index ada4c00a501a..468244379add 100644 --- a/media-gfx/bootsplash/Manifest +++ b/media-gfx/bootsplash/Manifest @@ -1,18 +1,10 @@ MD5 ae6a0a2fc3e040dcade924f41eae0daf bootsplash-0.6-r14.ebuild 6368 MD5 a3cdeba2a10a151c2729e77dead863bf bootsplash-0.6-r8.ebuild 5172 -MD5 88035b94e7f4ed6055aa438bac1ea915 bootsplash-0.6-r3.ebuild 3437 -MD5 cc1134223fcf0f746600cc1e7103ca7e bootsplash-0.6-r11.ebuild 5902 MD5 d1363d23b1dee12deb2b3f0d252bbc65 bootsplash-0.6-r13.ebuild 6368 MD5 bc46bccf320a9befc8b8ad536f6a6a10 bootsplash-0.6-r10.ebuild 5589 -MD5 f6c58f933d63b0ec60dae32fba2fde19 bootsplash-0.6-r9.ebuild 5023 MD5 d635f773b2c329fd7edd4f09227699ca ChangeLog 7375 MD5 d94d306da3804e41296e1bf04c7c9cae metadata.xml 255 -MD5 1d7337cd8a664cde0eb6ed4ada279e4c bootsplash-0.6-r12.ebuild 6389 -MD5 250d9fd431815e7ee0ebdad859d9796a files/digest-bootsplash-0.6-r3 70 MD5 6a993c12a7aad0735a4783e1f7c2c968 files/digest-bootsplash-0.6-r8 70 -MD5 80d57c4a370abbf5613da61aabfca6a7 files/digest-bootsplash-0.6-r9 70 MD5 415eead25ab7491fad79afd276c53124 files/digest-bootsplash-0.6-r10 71 -MD5 a7575db6d636d416bf4aa994745399f8 files/digest-bootsplash-0.6-r11 71 -MD5 c04851434df3ffac5cc21f7cd322391c files/digest-bootsplash-0.6-r12 71 MD5 76ccf0b26a417828b751dacf918ec867 files/digest-bootsplash-0.6-r13 71 MD5 eced1f4f52f6c503e51583475b899d31 files/digest-bootsplash-0.6-r14 71 diff --git a/media-gfx/bootsplash/bootsplash-0.6-r11.ebuild b/media-gfx/bootsplash/bootsplash-0.6-r11.ebuild deleted file mode 100644 index 44da9b600840..000000000000 --- a/media-gfx/bootsplash/bootsplash-0.6-r11.ebuild +++ /dev/null @@ -1,205 +0,0 @@ -# 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-r11.ebuild,v 1.7 2004/04/14 15:40:41 spock Exp $ - -IUSE="livecd" -S=${WORKDIR}/${PF} -DESCRIPTION="Graphical backgrounds for frame buffer consoles" -HOMEPAGE="http://www.bootsplash.org/ http://linux.tkdack.com/" -SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/${PF}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" - -DEPEND=">=media-libs/freetype-2 - media-libs/libmng - >=sys-apps/baselayout-1.8.6.13-r1" - -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 - - emake -C fbmngplay || die - emake -C fbtruetype || die - emake -C splashutils || die - - cd ${S} -} - -src_install() { - # Splash utilities - exeinto /sbin - doexe utils/fbmngplay/fbmngplay{,.static} - doexe utils/fbtruetype/fbtruetype{,.static} - doexe misc/bootsplash_resize - newexe utils/splashutils/splash splash.bin - doexe misc/splash - doexe utils/splashutils/{fbresolution,getkey,progress} - - exeinto /usr/lib/${PN} - doexe misc/bootsplash_resizer.pl - - dodir /etc/${PN} - cp -pR themes/* ${D}/etc/${PN} - - # link default config for boot images if not already set - if [ ! -e ${ROOT}/etc/bootsplash/default ]; then - use livecd \ - && dosym ./livecd-2004.0 /etc/bootsplash/default \ - || dosym ./gentoo /etc/bootsplash/default - fi - - exeinto /etc/init.d - doexe misc/bootsplash - - insinto /etc/conf.d - doins misc/bootsplash.conf - - insinto /usr/share/${PN} - doins kernel/*.bz2 misc/grub.conf.sample - - sed -i "s:${PN}:${PF}:g" misc/bootsplash_patch - into / - dosbin misc/bootsplash_patch - fperms 0754 /sbin/bootsplash_patch -} - -pkg_postinst() { - # has to be done here so that the initrd images are created properly - if [ "${ROOT}" = "/" ] - then - for THEME in `ls /etc/bootsplash` - do - if [ -d /etc/bootsplash/${THEME} ] && [ "${THEME}" != "default" ] - then - for SIZE in 800x600 1024x768 1280x1024 1600x1200 - do - /sbin/splash -s -f \ - /etc/bootsplash/${THEME}/config/bootsplash-${SIZE}.cfg \ - > /usr/share/${PN}/initrd-${THEME}-${SIZE} - done - fi - done - fi - - 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 "" - einfo "Please note that in case /sbin is a separate partition" - einfo "you'll need to use the statically linked versions of Bootplash" - einfo 'utilities (fbmngplay.static, fbtruetype.static) during boot-time.' - echo "" - einfo "If you would like to have a better quality background picture" - einfo "from the Gentoo theme and you don't care about a few more kilobytes" - einfo "of used memory, try the gentoo-highquality theme which you can" - einfo "download from:" - einfo "http://dev.gentoo.org/~spock/stuff/bootsplash/gentoo-highquality.tar.bz2" - echo "" - einfo "After the download is complete, unpack the files to /etc/bootsplash/" - echo "" - einfo "If you want to automatically generate configs for a new resolution" - einfo "you can use the \`bootsplash_resize\` script. More info:" - einfo " bootsplash_resize -h" - echo "" -} - -pkg_config() { - - if [ "${LINUX}" == "" ]; then - LINUX='/usr/src/linux' - fi - - eval `sed -n -e 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' -e 's/^\([A-Z]*\) = \(-[-a-z0-9]*\)$/\1=\2/p' ${LINUX}/Makefile` - - if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ] - then - die "Unable to determine kernel version in ${LINUX}" - fi - - KB="${VERSION}.${PATCHLEVEL}" - KV_MINOR="${SUBLEVEL}" - - 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} -ge 22 ]; then - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.0.7-2.4.22-vanilla.diff.bz2 \ - | patch -p1 || die - else - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-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 - - if [ ${KV_MINOR} -ge 3 ]; then - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.4-2.6.3.diff.bz2 \ - | patch -p1 || die - else - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.3-2.6.0-test9.diff.bz2 \ - | patch -p1 || die - fi - 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/bootsplash-0.6-r12.ebuild b/media-gfx/bootsplash/bootsplash-0.6-r12.ebuild deleted file mode 100644 index 6d573746103a..000000000000 --- a/media-gfx/bootsplash/bootsplash-0.6-r12.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# 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-r12.ebuild,v 1.6 2004/04/14 15:40:41 spock Exp $ - -IUSE="livecd" -S=${WORKDIR}/${PF} -DESCRIPTION="Graphical backgrounds for frame buffer consoles" -HOMEPAGE="http://www.bootsplash.org/ http://linux.tkdack.com/" -SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/${PF}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" - -DEPEND=">=media-libs/freetype-2 - media-libs/libmng - >=sys-apps/baselayout-1.8.6.13-r1" - -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 - - emake -C fbmngplay || die - emake -C fbtruetype || die - emake -C splashutils || die - - cd ${S} -} - -src_install() { - # Splash utilities - exeinto /sbin - doexe utils/fbmngplay/fbmngplay{,.static} - doexe utils/fbtruetype/fbtruetype{,.static} - doexe misc/bootsplash_resize - newexe utils/splashutils/splash splash.bin - doexe misc/splash - doexe utils/splashutils/{fbresolution,getkey,progress} - - exeinto /usr/lib/${PN} - doexe misc/bootsplash_resizer.pl - - dodir /etc/${PN} - cp -pR themes/* ${D}/etc/${PN} - - # link default config for boot images if not already set - if [ ! -e ${ROOT}/etc/bootsplash/default ]; then - use livecd \ - && dosym ./livecd-2004.0 /etc/bootsplash/default \ - || dosym ./gentoo /etc/bootsplash/default - fi - - exeinto /etc/init.d - doexe misc/bootsplash - - insinto /etc/conf.d - newins misc/bootsplash.conf bootsplash - - insinto /usr/share/${PN} - doins kernel/*.bz2 misc/grub.conf.sample - - sed -i "s:${PN}:${PF}:g" misc/bootsplash_patch - into / - dosbin misc/bootsplash_patch - fperms 0754 /sbin/bootsplash_patch -} - -pkg_postinst() { - # has to be done here so that the initrd images are created properly - if [ "${ROOT}" = "/" ] - then - for THEME in `ls /etc/bootsplash` - do - if [ -d /etc/bootsplash/${THEME} ] && [ "${THEME}" != "default" ] - then - for SIZE in 800x600 1024x768 1280x1024 1600x1200 - do - /sbin/splash -s -f \ - /etc/bootsplash/${THEME}/config/bootsplash-${SIZE}.cfg \ - > /usr/share/${PN}/initrd-${THEME}-${SIZE} - done - fi - done - fi - - # rename bootsplash config file to fit with the standard - if [ -f ${ROOT}/etc/conf.d/bootsplash.conf ] - then - mv -f ${ROOT}/etc/conf.d/bootsplash.conf ${ROOT}/etc/conf.d/bootsplash - fi - - 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 "" - einfo "Please note that in case /sbin is a separate partition" - einfo "you'll need to use the statically linked versions of Bootplash" - einfo 'utilities (fbmngplay.static, fbtruetype.static) during boot-time.' - echo "" - einfo "If you would like to have a better quality background picture" - einfo "from the Gentoo theme and you don't care about a few more kilobytes" - einfo "of used memory, try the gentoo-highquality theme which you can" - einfo "download from:" - einfo "http://dev.gentoo.org/~spock/stuff/bootsplash/gentoo-highquality.tar.bz2" - echo "" - einfo "After the download is complete, unpack the files to /etc/bootsplash/" - echo "" - einfo "If you want to automatically generate configs for a new resolution" - einfo "you can use the \`bootsplash_resize\` script. More info:" - einfo " bootsplash_resize -h" - echo "" -} - -pkg_config() { - - if [ "${LINUX}" == "" ]; then - LINUX='/usr/src/linux' - fi - - eval `sed -n -e 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' -e 's/^\([A-Z]*\) = \(-[-a-z0-9]*\)$/\1=\2/p' ${LINUX}/Makefile` - - if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ] - then - die "Unable to determine kernel version in ${LINUX}" - fi - - KB="${VERSION}.${PATCHLEVEL}" - KV_MINOR="${SUBLEVEL}" - - 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} -ge 22 ]; then - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.0.7-2.4.22-vanilla.diff.bz2 \ - | patch -p1 || die - else - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-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 - - if [ ${KV_MINOR} -ge 5 ]; then - if [ "${EXTRAVERSION}" == "-rc1" ]; then - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.4-2.6.5-rc1.patch.bz2 \ - | patch -p1 || die - else - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.4-2.6.5-rc2.patch.bz2 \ - | patch -p1 || die - fi - elif [ ${KV_MINOR} -ge 3 ]; then - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.4-2.6.3.diff.bz2 \ - | patch -p1 || die - else - bzip2 -dc ${ROOT}/usr/share/${PN}/${PN}-3.1.3-2.6.0-test9.diff.bz2 \ - | patch -p1 || die - fi - 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/bootsplash-0.6-r3.ebuild b/media-gfx/bootsplash/bootsplash-0.6-r3.ebuild deleted file mode 100644 index 23fe35425a06..000000000000 --- a/media-gfx/bootsplash/bootsplash-0.6-r3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# 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-r3.ebuild,v 1.4 2004/04/14 15:40:41 spock Exp $ - -IUSE="" -DESCRIPTION="Graphical backgrounds for frame buffer consoles" -HOMEPAGE="http://linux.tkdack.com/" -SRC_URI="mirror://gentoo/bootsplash-${PV}-${PR}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 amd64" - -S="${WORKDIR}/${PF}" - -DEPEND=">=media-libs/freetype-2 - media-libs/libmng" - -RDEPEND="" - -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 - 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 1600x1200 - 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/${PF}/${PF}.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/bootsplash-0.6-r9.ebuild b/media-gfx/bootsplash/bootsplash-0.6-r9.ebuild deleted file mode 100644 index 96c4a07c6657..000000000000 --- a/media-gfx/bootsplash/bootsplash-0.6-r9.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# 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-r9.ebuild,v 1.5 2004/04/14 15:40:41 spock Exp $ - -IUSE="livecd" -S=${WORKDIR}/${PN} -DESCRIPTION="Graphical backgrounds for frame buffer consoles" -HOMEPAGE="http://www.bootsplash.org/ http://linux.tkdack.com/" -SRC_URI="http://dev.gentoo.org/~seemant/extras/${PF}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ~amd64" - -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 - - emake -C fbmngplay || die - emake -C fbtruetype || die - emake -C splashutils || die - - cd ${S} -} - -src_install() { - # Splash utilities - exeinto /sbin - doexe utils/fbmngplay/fbmngplay{,.static} - doexe utils/fbtruetype/fbtruetype{,.static} - newexe utils/splashutils/splash splash.bin - doexe misc/splash - doexe utils/splashutils/{fbresolution,getkey,progress} - - dodir /etc/${PN} - cp -pR themes/* ${D}/etc/${PN} - - # link default config for boot images if not already set - if [ ! -e ${ROOT}/etc/bootsplash/default ]; then - use livecd \ - && dosym ./livecd-2004.0 /etc/bootsplash/default \ - || dosym ./gentoo /etc/bootsplash/default - fi - - exeinto /etc/init.d - doexe misc/bootsplash - - insinto /etc/conf.d - doins misc/bootsplash.conf - - insinto /usr/share/${PN} - doins kernel/*.bz2 misc/grub.conf.sample - - sed -i "s:${PN}:${PF}:g" bootsplash_patch - into / - dosbin bootsplash_patch - fperms 0754 /sbin/bootsplash_patch -} - -pkg_postinst() { - # Has to be done here so that the initrd images are created properly - if [ "${ROOT}" = "/" ] - then - 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 - fi - - 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 "" - einfo "Please note that in case /usr is a separate partition" - einfo "you'll need to use the statically linked versions of Bootplash" - einfo 'utilities (fbmngplay.static, fbtruetype.static) during boot-time.' - echo "" -} - -pkg_config() { - - if [ "${LINUX}" == "" ]; then - LINUX='/usr/src/linux' - fi - - eval `sed -n -e 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' -e 's/^\([A-Z]*\) = \(-[-a-z0-9]*\)$/\1=\2/p' ${LINUX}/Makefile` - - if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ] - then - die "Unable to determine kernel version in ${LINUX}" - fi - - KB="${VERSION}.${PATCHLEVEL}" - KV_MINOR="${SUBLEVEL}" - - 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} -ge 22 ]; then - bzip2 -dc \ - ${ROOT}/usr/share/${PN}/${PN}-3.0.7-2.4.22-vanilla.diff.bz2 \ - | patch -p1 || die - else - bzip2 -dc \ - ${ROOT}/usr/share/${PN}/${PN}-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 - - if [ ${KV_MINOR} -ge 3 ]; then - bzip2 -dc \ - ${ROOT}/usr/share/${PN}/${PN}-3.1.3-2.6.3-r2.patch.bz2 \ - | patch -p1 || die - else - bzip2 -dc \ - ${ROOT}/usr/share/${PN}/${PN}-3.1.3-2.6.0-test9.diff.bz2 \ - | patch -p1 || die - fi - 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-r11 b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r11 deleted file mode 100644 index 0cddc5cae542..000000000000 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r11 +++ /dev/null @@ -1 +0,0 @@ -MD5 7ef17a7d3d2b68e2f9c191ecd688331d bootsplash-0.6-r11.tar.bz2 501819 diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r12 b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r12 deleted file mode 100644 index a9115e4a9053..000000000000 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r12 +++ /dev/null @@ -1 +0,0 @@ -MD5 efc691722987b378b97d61defe25b24d bootsplash-0.6-r12.tar.bz2 540932 diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r3 b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r3 deleted file mode 100644 index 5148451068ed..000000000000 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 849a83a1833921f45aa04a154dcfd9d0 bootsplash-0.6-r3.tar.bz2 309914 diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r9 b/media-gfx/bootsplash/files/digest-bootsplash-0.6-r9 deleted file mode 100644 index ba9ec158a4e2..000000000000 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6-r9 +++ /dev/null @@ -1 +0,0 @@ -MD5 24997333053f1e4671596e00f012ec19 bootsplash-0.6-r9.tar.bz2 519855 -- cgit v1.2.3-65-gdbad