diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-06-29 18:32:13 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-06-29 18:32:13 +0000 |
commit | 78a5747e279dc1d84b11732f519f8a3b1938749c (patch) | |
tree | fe7108b21a14be6279f6a5de88da0da9250e4a55 /media-gfx/bootsplash | |
parent | sync IUSE (+3ds, +freetype, +mikmod, +mng, +oggvorbis, +openal, +zlib) (Manif... (diff) | |
download | gentoo-2-78a5747e279dc1d84b11732f519f8a3b1938749c.tar.gz gentoo-2-78a5747e279dc1d84b11732f519f8a3b1938749c.tar.bz2 gentoo-2-78a5747e279dc1d84b11732f519f8a3b1938749c.zip |
Fixed 24bpp mode problems, added support for 15bpp and DIRECTCOLOR modes.
Diffstat (limited to 'media-gfx/bootsplash')
-rw-r--r-- | media-gfx/bootsplash/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/bootsplash/bootsplash-0.6.1-r3.ebuild | 99 | ||||
-rw-r--r-- | media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r3 | 3 |
3 files changed, 110 insertions, 1 deletions
diff --git a/media-gfx/bootsplash/ChangeLog b/media-gfx/bootsplash/ChangeLog index e729a699377d..c51725abd91d 100644 --- a/media-gfx/bootsplash/ChangeLog +++ b/media-gfx/bootsplash/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/bootsplash # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.46 2004/06/26 13:02:35 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.47 2004/06/29 18:32:13 spock Exp $ + +*bootsplash-0.6.1-r3 (29 Jun 2004) + + 29 Jun 2004; Michal Januszewski <spock@gentoo.org> + +bootsplash-0.6.1-r3.ebuild: + Fixed 24bpp mode problems, added support for 15bpp and DIRECTCOLOR modes. + Radeonfb users should be happy now :) *bootsplash-0.6.1-r2 (26 Jun 2004) diff --git a/media-gfx/bootsplash/bootsplash-0.6.1-r3.ebuild b/media-gfx/bootsplash/bootsplash-0.6.1-r3.ebuild new file mode 100644 index 000000000000..e6529482aac4 --- /dev/null +++ b/media-gfx/bootsplash/bootsplash-0.6.1-r3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.6.1-r3.ebuild,v 1.1 2004/06/29 18:32:13 spock Exp $ + +IUSE="" +S=${WORKDIR} +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/${PN}-core-0.6.1-r3.tar.bz2 + http://dev.gentoo.org/~spock/portage/distfiles/${PN}-themes-0.6.1.tar.bz2 + http://dev.gentoo.org/~spock/portage/distfiles/${PN}-kernel-0.6.1-r3.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} + 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 + 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 + + into / + dosbin misc/bootsplash_patch misc/bootsplash_initrdgen + fperms 0754 /sbin/bootsplash_patch /sbin/bootsplash_initrdgen +} + +pkg_postinst() { + # has to be done here so that the initrd images are created properly + if [ "${ROOT}" = "/" ] + then + /sbin/bootsplash_initrdgen --all + 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 "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 "" +} diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r3 b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r3 new file mode 100644 index 000000000000..1809391ed1c4 --- /dev/null +++ b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r3 @@ -0,0 +1,3 @@ +MD5 3239a26db6f846bc45d79248cb49e9b7 bootsplash-core-0.6.1-r3.tar.bz2 127943 +MD5 1d93157ac8796a86cc269b24bb882769 bootsplash-themes-0.6.1.tar.bz2 416892 +MD5 4d1c0aae57ea6252390aca019e72feb0 bootsplash-kernel-0.6.1-r3.tar.bz2 157480 |