Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10477 Details for
Bug 19097
Bootsplash - Ebuild that fixes installation problems.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-gfx/bootsplash-0.5-r1.ebuild
bootsplash-0.5-r1.ebuild (text/plain), 4.03 KB, created by
John Mylchreest (RETIRED)
on 2003-04-10 15:15:20 UTC
(
hide
)
Description:
media-gfx/bootsplash-0.5-r1.ebuild
Filename:
MIME Type:
Creator:
John Mylchreest (RETIRED)
Created:
2003-04-10 15:15:20 UTC
Size:
4.03 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.5.ebuild,v 1.2 2003/04/07 13:55:58 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 > > for SIZE in 800x600 1024x768 1280x1024 > do > mv ${S}/themes/gentoo/images/gentoo-boot-${SIZE}.jpg ${S}/themes/gentoo/images/bootsplash-${SIZE}.jpg > done > > mkdir -p ${D}/etc/${PN} > mkdir -p ${D}/etc/${PN}/themes > cp -pR ${S}/themes/* ${D}/etc/${PN}/themes/ > > # link default config - for boot images > dosym ./gentoo /etc/${PN}/themes/default > > mv ${S}/misc/bootsplash ${S}/misc/bootsplash.bak > sed -e "s|\${BOOTSPLASH_THEME}|themes/\${BOOTSPLASH_THEME}|g" \ > < ${S}/misc/bootsplash.bak \ > > ${S}/misc/bootsplash > rm ${S}/misc/bootsplash.bak > > 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 > > for SIZE in 800x600 1024x768 1280x1024 > do > mv ${D}/etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg ${D}/etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg.bak > sed -e "s|/etc/bootsplash/gentoo|/etc/bootsplash/themes/gentoo|g" \ > < ${D}/etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg.bak \ > > ${D}/etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg > rm ${D}/etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg.bak > done > ># dodoc README ># dodoc COPYING ># dodoc CREDITS > >} > >pkg_postinst() { > 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 > ewarn "If you have already patched the kernel then you only need to copy" > ewarn "an initrd from /usr/share/${PN} to /boot" > ewarn > einfo > einfo "Run:" > einfo " rc-update add bootsplash default" > einfo " to change the console images after startup" > einfo > > for SIZE in 800x600 1024x768 1280x1024 > do > /sbin/splash -s -f /etc/${PN}/themes/gentoo/config/bootsplash-${SIZE}.cfg > /usr/share/${PN}/initrd-${SIZE} > done >} > >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 /usr/share/${PN}/initrd 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 19097
: 10477