summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2007-08-11 13:29:31 +0000
committerMichael Januszewski <spock@gentoo.org>2007-08-11 13:29:31 +0000
commit0130b49e3a865ab497474c3e506da562bc422320 (patch)
treeb6d9eb8fb7e67b8cc0ec5f59e72b096c3a50c380
parent-dev-games/cegui:freeimage -dev-games/ogre:freeimage (diff)
downloadhistorical-0130b49e3a865ab497474c3e506da562bc422320.tar.gz
historical-0130b49e3a865ab497474c3e506da562bc422320.tar.bz2
historical-0130b49e3a865ab497474c3e506da562bc422320.zip
Version bump.
Package-Manager: portage-2.1.3.4
-rw-r--r--media-gfx/splashutils/ChangeLog8
-rw-r--r--media-gfx/splashutils/Manifest25
-rw-r--r--media-gfx/splashutils/files/digest-splashutils-1.521
-rw-r--r--media-gfx/splashutils/splashutils-1.5.ebuild215
4 files changed, 261 insertions, 8 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog
index 27af395ebfa3..0bb12cbe40f0 100644
--- a/media-gfx/splashutils/ChangeLog
+++ b/media-gfx/splashutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/splashutils
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.101 2007/08/06 11:13:14 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.102 2007/08/11 13:29:31 spock Exp $
+
+*splashutils-1.5 (11 Aug 2007)
+
+ 11 Aug 2007; Michał Januszewski <spock@gentoo.org>
+ +splashutils-1.5.ebuild:
+ Version bump.
06 Aug 2007; Michał Januszewski <spock@gentoo.org>
splashutils-1.4.1.ebuild, splashutils-1.4.2.ebuild,
diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest
index a296cb1e4861..3935321e8b45 100644
--- a/media-gfx/splashutils/Manifest
+++ b/media-gfx/splashutils/Manifest
@@ -18,7 +18,9 @@ MD5 d4de491ea4a0ceb5cce09e1188ccb6cf files/splashutils-1.4.2-rcabort.patch 1214
RMD160 d09a6cf2d329558d889370501a3ab512e45ea8fe files/splashutils-1.4.2-rcabort.patch 1214
SHA256 61935fe7f392b6e80df958c789fa840a11ced7f51d662afd77a76ef4e490c8b3 files/splashutils-1.4.2-rcabort.patch 1214
DIST freetype-2.1.9.tar.bz2 992394 RMD160 1dd8fb6fda8b159ef0d2ebedeca99a67ed65dc72 SHA1 a3c3a0c0d5f8f6e62c774e24817748a941016990 SHA256 4dabc3b38405f5c5f03b8f14d8902a9d506713182baf2baec9dea509515d4b6f
+DIST freetype-2.3.5.tar.bz2 1279861 RMD160 2a97cb1c3d93572c094d5d2890d12445ef2786d4 SHA1 45695d44c74be31944d807526a7e69a818e4afd2 SHA256 1b357a3a1106c78c80dfd25e3854c3faa9a3dfc7063a4a1e5404e70c241d677e
DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
+DIST libpng-1.2.18.tar.bz2 623690 RMD160 ea81056a896eb038fa5d7fde2b7fa626c1a2e31e SHA1 42156e45fa999b242dc63c261e9253ce0dd810ab SHA256 6fce62f9e67e951c38672bf520c062a2be742e893d240d150748a00c32f20c62
DIST libpng-1.2.8.tar.bz2 384970 RMD160 7de7456faaa4e4361b6b7ed74c87f0702f9cc88c SHA1 b6d73493eea4095166118b298efecb54a8e3d2f5 SHA256 9bec729a1e77d8bbc5800b14aa81f09290aa18daa40f344103f2c0d1d681531b
DIST miscsplashutils-0.1.5.tar.bz2 91898 RMD160 1930081408fd6bad6f60db883127f22ff727f83e SHA1 ac35d4a09c3d84f0fd704c0296c1ee13172036a0 SHA256 906163c75d487a00ba7d6b287e20e4ce195febcd4fdb8592d53827c2f8a28142
DIST miscsplashutils-0.1.6.tar.bz2 91945 RMD160 4d415db9cf1dd90bf4ceaae930033cf65e93b908 SHA1 dd7a1766be0b604b35ffadd0a9f7d9cd18b68632 SHA256 fd08a56ba801fb6e55e90558f66cb839ac10a361a2a7ae2ab711d8a77f124332
@@ -28,10 +30,12 @@ DIST splashutils-gentoo-1.0.1.tar.bz2 14498 RMD160 cd5f1cc1f04b4fe2e118decd50eae
DIST splashutils-gentoo-1.0.2.tar.bz2 14703 RMD160 697e3b3970bf3f38f346e781fc23ad21735219dd SHA1 fda89cc3e27c1d4c348581a596d055f0d7206e5c SHA256 6705146d56a9fc9206bbf6da7d69aaefcdaed29c0771feed495a07534a4cbd00
DIST splashutils-gentoo-1.0.3.tar.bz2 14962 RMD160 b08698b26b4f4edef2a46d2763e9d1a5df6c44b0 SHA1 3860cfe8a2fadef34e5f79a20829098ad76da23c SHA256 ff65cda5ca4df747efe9724cfab3dd8425ed471e43d7e4f4e01ad66ab666c33f
DIST splashutils-gentoo-1.0.4.tar.bz2 15212 RMD160 178a3c370ebbf12755bfaa78d42e6ca7b189e8bb SHA1 b3775cd35fba0f8b2094afac753501923ce9cda9 SHA256 594a468009d5fc45c2e7b94dab9746ed134939d083017017c99af8cb947039ca
+DIST splashutils-gentoo-1.0.5.tar.bz2 15638 RMD160 6eb719cdc7de1fc692ded975ba32990f53502247 SHA1 f32e38bc2c9d8782f9f18e163f405738b76d9c5d SHA256 f9531a5d833ffaa3b62036cca351dadab872add080504b40f512b110faf6a66b
DIST splashutils-lite-1.4.1.tar.bz2 67038 RMD160 5dafedd1815bccd3584a7e0bbb83ec0cd383fab8 SHA1 e6fec8acd7f4801b23a49ef64ac678d62f1d05c4 SHA256 40bda12d7ac89c5e661840e5cab8c7fa33549cf95199a9d0f5d8ac989a1ec834
DIST splashutils-lite-1.4.2.1.tar.bz2 67312 RMD160 a1c97cf1e5739f798ba49d978dcb583ca8229fdf SHA1 24ee316a6f1ab76e6c12280335e8cbabf0d9815c SHA256 6469049067a292f5bd5293b41227b1ca16803ec988d01704d9445a3abd4dbaa6
DIST splashutils-lite-1.4.2.tar.bz2 67282 RMD160 fcd3f2abe265fc2036de07418b5b8e2b3355e8b1 SHA1 630b378c6a84995ea40b6beb50b6926e6d3252cb SHA256 0468617b3264baca4a78466c9fa080a8688c705d3f8104246c8e8f006139023c
DIST splashutils-lite-1.4.3.tar.bz2 67879 RMD160 2a2f2fa2d74eb39b5c1cfa48d5ee2cb5491dc779 SHA1 4df983e8cc1c1de1d9aeff55cf47293a267046cf SHA256 5a93b640bc10cfda49e809f215d43111410dd0f4c57b1e4f105e4e35a34c5712
+DIST splashutils-lite-1.5.tar.bz2 86210 RMD160 777fb19bddae3df011b66fddbdb98e182738fced SHA1 a09335615fc7691baa3f14be1f568aaa369ff729 SHA256 effef444be428f7c77568a680bbb32fb8b756195a8bef9c661b16553ba94a9e0
DIST zlib-1.2.3.tar.bz2 425209 RMD160 cfba9984b354dcc38da49331457e6bfc861c6f51 SHA1 967e280f284d02284b0cd8872a8e2e04bfdc7283 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca
EBUILD splashutils-1.4.1.ebuild 6741 RMD160 ad101372da917925abd5c6ef4f53f11c772bd8ac SHA1 03b0e1596d38fdbbef4a8dd48c1c2ceb0a481276 SHA256 c8ea1264f4072957787a8a735b0acbe277d405f4e50eeac2d96b844d72570f55
MD5 8f4d1be96f8a31f2ff011c93b4662dcc splashutils-1.4.1.ebuild 6741
@@ -49,10 +53,14 @@ EBUILD splashutils-1.4.3.ebuild 6676 RMD160 ea3c5ec87444dffddef9559818e999ba6137
MD5 153527a3ea76997fa2d80bc5863264c4 splashutils-1.4.3.ebuild 6676
RMD160 ea3c5ec87444dffddef9559818e999ba61371b7e splashutils-1.4.3.ebuild 6676
SHA256 a22fa0d10e67329189b7b6c8ddf5bf2f7340db1e61f57068fc701d36539b731c splashutils-1.4.3.ebuild 6676
-MISC ChangeLog 20213 RMD160 dbcb0c6e538f760dc6c5ee195ebcaef86810a802 SHA1 0b2170eb431aed05f0b528d283560499b4359e48 SHA256 133145b7e5f9e527e6b6ac216b57675f7d83f865505f07d9f3036c5d74da8f6f
-MD5 2bc553a9f768d343303850fa894d3436 ChangeLog 20213
-RMD160 dbcb0c6e538f760dc6c5ee195ebcaef86810a802 ChangeLog 20213
-SHA256 133145b7e5f9e527e6b6ac216b57675f7d83f865505f07d9f3036c5d74da8f6f ChangeLog 20213
+EBUILD splashutils-1.5.ebuild 7256 RMD160 789c10f48e94fc9c15d70655d796c4d042aff096 SHA1 deea5c79c6e5c7894b077ce22c3fa99c0dc152ae SHA256 3d88203732a41d61b16d4207a891094a13b0db13cc9d7cf6943e1407fabbaa80
+MD5 a8bc8e6d05a3604ba10ecbb4c666f94b splashutils-1.5.ebuild 7256
+RMD160 789c10f48e94fc9c15d70655d796c4d042aff096 splashutils-1.5.ebuild 7256
+SHA256 3d88203732a41d61b16d4207a891094a13b0db13cc9d7cf6943e1407fabbaa80 splashutils-1.5.ebuild 7256
+MISC ChangeLog 20343 RMD160 86bda16635ac8eb88af72eed3285587ec7436026 SHA1 185c7205a46d9e04be8be925dfd4978d2d909366 SHA256 8d899516c0bc01790a8118857aec2d682ad9486d631ed4f5f8822de03a0d8a4a
+MD5 6ade321adedcc4a17809109cb495e838 ChangeLog 20343
+RMD160 86bda16635ac8eb88af72eed3285587ec7436026 ChangeLog 20343
+SHA256 8d899516c0bc01790a8118857aec2d682ad9486d631ed4f5f8822de03a0d8a4a ChangeLog 20343
MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d
MD5 87131e5c56922624f8a0c7fe61cd28da metadata.xml 220
RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 metadata.xml 220
@@ -69,10 +77,13 @@ SHA256 771d0782d528692b9f3f9882699682534afe68099c53210652af3c593ef06c21 files/di
MD5 01c85b7d6c360c3f4f4ac64e23da8bca files/digest-splashutils-1.4.3 1765
RMD160 500c7d394a4ed494e065bf5d4ab6e89c9e96b905 files/digest-splashutils-1.4.3 1765
SHA256 864735da810f8d44fff3fcd117a27002c0a61cfb3b61373ad9087530507d3ebd files/digest-splashutils-1.4.3 1765
+MD5 b2b480bb2f58d13a006f4b8eee738d72 files/digest-splashutils-1.5 1765
+RMD160 419b77b253d6b84bde94daaf7960ea813c645372 files/digest-splashutils-1.5 1765
+SHA256 3bba5f64d51a3590e6ee2c05fc503905f493100a13fe644709785857dbbad15d files/digest-splashutils-1.5 1765
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGtwJEchej4aZK9/cRAlchAKCEA6BH3x6t/srrtrw93X9FHr9EzACaA90D
-eCG/AmJo3ehde2FSTXnfLAc=
-=dn2w
+iD8DBQFGvbm0chej4aZK9/cRAkNsAKCEegIlzSAaNkQAn8LZHffPmwckCwCfQ4bA
+I8KZsnusLSdAELGOY1QxHY0=
+=n73z
-----END PGP SIGNATURE-----
diff --git a/media-gfx/splashutils/files/digest-splashutils-1.5 b/media-gfx/splashutils/files/digest-splashutils-1.5
new file mode 100644
index 000000000000..b9eced2e5dac
--- /dev/null
+++ b/media-gfx/splashutils/files/digest-splashutils-1.5
@@ -0,0 +1,21 @@
+MD5 65234327c5ac46ee00ebda15995d4c1c freetype-2.3.5.tar.bz2 1279861
+RMD160 2a97cb1c3d93572c094d5d2890d12445ef2786d4 freetype-2.3.5.tar.bz2 1279861
+SHA256 1b357a3a1106c78c80dfd25e3854c3faa9a3dfc7063a4a1e5404e70c241d677e freetype-2.3.5.tar.bz2 1279861
+MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz 613261
+RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 jpegsrc.v6b.tar.gz 613261
+SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d jpegsrc.v6b.tar.gz 613261
+MD5 25a7f2f101eaaf2eb18c4987e0fbe39d libpng-1.2.18.tar.bz2 623690
+RMD160 ea81056a896eb038fa5d7fde2b7fa626c1a2e31e libpng-1.2.18.tar.bz2 623690
+SHA256 6fce62f9e67e951c38672bf520c062a2be742e893d240d150748a00c32f20c62 libpng-1.2.18.tar.bz2 623690
+MD5 0a9505c5c5ed169e6158d2c1b06ff40b miscsplashutils-0.1.8.tar.bz2 91997
+RMD160 5efe2bfb8ae409d3e59e82b473454d94e44149ab miscsplashutils-0.1.8.tar.bz2 91997
+SHA256 38e8434c7266126477237c4d9e6cbeca152089ab33c14a7761089b7970f8d336 miscsplashutils-0.1.8.tar.bz2 91997
+MD5 945909338e1f6aa5ff30c3fbb0c39d1d splashutils-gentoo-1.0.5.tar.bz2 15638
+RMD160 6eb719cdc7de1fc692ded975ba32990f53502247 splashutils-gentoo-1.0.5.tar.bz2 15638
+SHA256 f9531a5d833ffaa3b62036cca351dadab872add080504b40f512b110faf6a66b splashutils-gentoo-1.0.5.tar.bz2 15638
+MD5 83b5ac79d18440ea631fa82467bac73d splashutils-lite-1.5.tar.bz2 86210
+RMD160 777fb19bddae3df011b66fddbdb98e182738fced splashutils-lite-1.5.tar.bz2 86210
+SHA256 effef444be428f7c77568a680bbb32fb8b756195a8bef9c661b16553ba94a9e0 splashutils-lite-1.5.tar.bz2 86210
+MD5 dee233bf288ee795ac96a98cc2e369b6 zlib-1.2.3.tar.bz2 425209
+RMD160 cfba9984b354dcc38da49331457e6bfc861c6f51 zlib-1.2.3.tar.bz2 425209
+SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca zlib-1.2.3.tar.bz2 425209
diff --git a/media-gfx/splashutils/splashutils-1.5.ebuild b/media-gfx/splashutils/splashutils-1.5.ebuild
new file mode 100644
index 000000000000..5ea38195580a
--- /dev/null
+++ b/media-gfx/splashutils/splashutils-1.5.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.ebuild,v 1.1 2007/08/11 13:29:31 spock Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MISCSPLASH="miscsplashutils-0.1.8"
+GENTOOSPLASH="splashutils-gentoo-1.0.5"
+V_JPEG="6b"
+V_PNG="1.2.18"
+V_ZLIB="1.2.3"
+V_FT="2.3.5"
+
+ZLIBSRC="libs/zlib-${V_ZLIB}"
+LPNGSRC="libs/libpng-${V_PNG}"
+JPEGSRC="libs/jpeg-${V_JPEG}"
+FT2SRC="libs/freetype-${V_FT}"
+
+IUSE="hardened png truetype mng gpm"
+
+DESCRIPTION="Framebuffer splash utilities."
+HOMEPAGE="http://dev.gentoo.org/~spock/projects/gensplash/"
+SRC_URI="mirror://gentoo/${PN}-lite-${PV}.tar.bz2
+ mirror://gentoo/${GENTOOSPLASH}.tar.bz2
+ mirror://gentoo/${MISCSPLASH}.tar.bz2
+ mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2
+ ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz
+ mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2
+ http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND="truetype? ( >=media-libs/freetype-2 )
+ png? ( >=media-libs/libpng-1.2.7 )
+ mng? ( media-libs/lcms media-libs/libmng )
+ >=media-libs/jpeg-6b
+ >=sys-apps/baselayout-1.9.4-r5
+ app-arch/cpio
+ media-gfx/fbgrab"
+DEPEND="${RDEPEND}
+ >=dev-libs/klibc-1.4.13"
+
+S="${WORKDIR}/${P/_/-}"
+SG="${WORKDIR}/${GENTOOSPLASH}"
+SM="${WORKDIR}/${MISCSPLASH}"
+
+pkg_setup() {
+ if use hardened; then
+ ewarn "Due to problems with klibc, it is currently impossible to compile splashutils"
+ ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with"
+ ewarn "-fno-stack-protector. Hardened GCC features will not be used while building"
+ ewarn "the splash kernel helper."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ [ ! -d ${S}/libs ] && mkdir ${S}/libs
+ [ ! -d ${S}/objs ] && mkdir ${S}/objs
+ mv ${WORKDIR}/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} ${S}/libs
+ # We need to delete the Makefile and let it be rebuilt when splashutils
+ # is being configured. Either that, or we end up with a segfaulting kernel
+ # helper.
+ rm ${S}/libs/zlib-${V_ZLIB}/Makefile
+
+ cd ${S}
+ ln -sf ${S} ${WORKDIR}/core
+
+ # Check whether the kernel tree has been patched with fbcondecor.
+ if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h && \
+ ! -e /usr/$(get_libdir)/klibc/include/linux/console_decor.h ]]; then
+ ewarn "The kernel tree against which dev-libs/klibc was built was not patched"
+ ewarn "with a compatible version of fbcondecor. Splashutils will be compiled"
+ ewarn "without fbcondecor support (i.e. verbose mode will not work)."
+ fi
+
+ if has_version sys-libs/glibc && ! built_with_use --missing true sys-libs/glibc nptl ; then
+ eerror "Your sys-libs/glibc has been built with support for linuxthreads only."
+ eerror "This package requires nptl to work correctly. Please recompile glibc"
+ eerror "with the 'nptl' USE flag enabled."
+ die "nptl not available"
+ fi
+
+ if built_with_use sys-devel/gcc vanilla ; then
+ ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile"
+ ewarn "splashutils, you're on your own, as this configuration is not supported."
+ else
+ # This should make splashutils compile on systems with hardened GCC.
+ sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i ${S}/Makefile
+ fi
+
+ if ! use truetype ; then
+ sed -i -e 's/fbtruetype kbd/kbd/' ${SM}/Makefile
+ fi
+
+ sed -i -e "s#/lib/splash#/$(get_libdir)/splash#" ${S}/scripts/{splash_manager,splash_geninitramfs}
+}
+
+src_compile() {
+ local myconf=""
+ if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h && \
+ ! -e /usr/$(get_libdir)/klibc/include/linux/console_decor.h ]]; then
+ myconf="--without-fbcondecor"
+ else
+ myconf="--with-fbcondecor"
+ fi
+
+ cd ${SM}
+ emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils"
+
+ cd ${S}
+ ./configure \
+ --with-libdir="/$(get_libdir)" \
+ $(use_with png) \
+ $(use_with mng) \
+ $(use_with gpm) \
+ $(use_with truetype ttf) \
+ $(use_with truetype ttfkern) \
+ ${myconf} || die "failed to configure splashutils"
+
+ export ZLIBSRC LPNGSRC JPEGSRC FT2SRC
+ emake -j1 || die "failed to build splashutils"
+
+ if has_version ">=sys-apps/baselayout-1.13.99"; then
+ cd ${SG}
+ emake LIB=$(get_libdir) || die "failed to build the splash plugin"
+ fi
+}
+
+src_install() {
+ local LIB=$(get_libdir)
+
+ cd ${SM}
+ make DESTDIR=${D} LIB=${LIB} install || die
+
+ export ZLIBSRC LPNGSRC JPEGSRC FT2SRC
+ cd ${S}
+ make DESTDIR=${D} LIB=${LIB} install || die
+
+ mv ${D}/usr/${LIB}/libfbsplash.so* ${D}/${LIB}/
+ gen_usr_ldscript libfbsplash.so
+
+ echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash
+ doenvd 99splash
+
+ newinitd ${SG}/init-fbcondecor fbcondecor
+ newconfd ${SG}/splash.conf splash
+ newconfd ${SG}/fbcondecor.conf fbcondecor
+
+ insinto /usr/share/${PN}
+ doins ${SG}/initrd.splash
+
+ insinto /etc/splash
+ doins ${SM}/fbtruetype/luxisri.ttf
+
+ dodoc docs/* README AUTHORS
+
+ if has_version ">=sys-apps/baselayout-1.13.99"; then
+ cd ${SG}
+ make DESTDIR=${D} LIB=${LIB} install || die "failed to install the splash plugin"
+ else
+ cp ${SG}/splash-functions-bl1.sh ${D}/sbin/splash-functions.sh
+ fi
+
+ sed -i -e "s#/lib/splash#/${LIB}/splash#" ${D}/sbin/splash-functions.sh
+ keepdir /${LIB}/splash/{tmp,cache,bin}
+ dosym /${LIB}/splash/bin/fbres /sbin/fbres
+}
+
+pkg_postinst() {
+ if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then
+ ewarn "This package has been designed with udev in mind. Other solutions, such as"
+ ewarn "devfs or a static /dev tree might work, but are generally discouraged and"
+ ewarn "not supported. If you decide to switch to udev, you might want to have a"
+ ewarn "look at 'The Gentoo udev Guide', which can be found at"
+ ewarn " http://www.gentoo.org/doc/en/udev-guide.xml"
+ ewarn ""
+ fi
+
+ if has_version '<media-gfx/splashutils-1.0' ; then
+ ewarn "Since you are upgrading from a pre-1.0 version, please make sure that you"
+ ewarn "rebuild your initrds. You can use the splash_geninitramfs script to do that."
+ ewarn ""
+ fi
+
+ if ! test -f /proc/cmdline ||
+ ! egrep -q '(console|CONSOLE)=(tty1|/dev/tty1)' /proc/cmdline ; then
+ ewarn "It is required that you add 'console=tty1' to your kernel"
+ ewarn "command line parameters."
+ ewarn ""
+ elog "After these modifications, the relevant part of the kernel command"
+ elog "line might look like:"
+ elog " splash=silent,fadein,theme:emergence console=tty1"
+ elog ""
+ fi
+
+ if ! has_version 'media-gfx/splash-themes-livecd' &&
+ ! has_version 'media-gfx/splash-themes-gentoo'; then
+ elog "The sample Gentoo themes (emergence, gentoo) have been removed from the"
+ elog "core splashutils package. To get some themes you might want to emerge:"
+ elog " media-gfx/splash-themes-livecd"
+ elog " media-gfx/splash-themes-gentoo"
+ fi
+
+ ewarn "Please note that the 'fbsplash' kernel patch has now been renamed to"
+ ewarn "'fbcondecor'. Accordingly, the old 'splash' initscript is now called"
+ ewarn "'fbcondecor'. Make sure you update your system. See:"
+ ewarn " http://dev.gentoo.org/~spock/projects/fbcondecor/#history"
+ ewarn "for further info about the name changes."
+ ewarn ""
+ ewarn "Also note that splash_util has now been split into splash_util, fbsplashd"
+ ewarn "and fbcondecor_ctl."
+}