summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2015-02-02 15:38:51 +0000
committerSergey Popov <pinkbyte@gentoo.org>2015-02-02 15:38:51 +0000
commit3ecf9025015d22964b1959d356ce946495437e2d (patch)
treeb1b635d30c7109dcb4359de904a5507cdaabe6e0 /media-gfx
parentStable on amd64 and x86, wrt bug #538402 (diff)
downloadhistorical-3ecf9025015d22964b1959d356ce946495437e2d.tar.gz
historical-3ecf9025015d22964b1959d356ce946495437e2d.tar.bz2
historical-3ecf9025015d22964b1959d356ce946495437e2d.zip
Drop old
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/splashutils/ChangeLog6
-rw-r--r--media-gfx/splashutils/Manifest18
-rw-r--r--media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild236
-rw-r--r--media-gfx/splashutils/splashutils-1.5.4.4-r4.ebuild233
4 files changed, 13 insertions, 480 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog
index 1576eba8ec6b..1a207edb6d73 100644
--- a/media-gfx/splashutils/ChangeLog
+++ b/media-gfx/splashutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/splashutils
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.230 2015/02/02 15:38:01 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.231 2015/02/02 15:38:50 pinkbyte Exp $
+
+ 02 Feb 2015; Sergey Popov <pinkbyte@gentoo.org>
+ -splashutils-1.5.4.4-r1.ebuild, -splashutils-1.5.4.4-r4.ebuild:
+ Drop old
02 Feb 2015; Sergey Popov <pinkbyte@gentoo.org>
splashutils-1.5.4.4-r5.ebuild:
diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest
index e032817d12f8..8f0a350b787a 100644
--- a/media-gfx/splashutils/Manifest
+++ b/media-gfx/splashutils/Manifest
@@ -15,19 +15,17 @@ DIST miscsplashutils-0.1.8.tar.bz2 91997 SHA256 38e8434c7266126477237c4d9e6cbeca
DIST splashutils-gentoo-1.0.17.tar.bz2 15814 SHA256 6877263d0b6f5a3532db0d6a531cd4d41fbc6c45a16c5d10050e9048ecc1af81 SHA512 75f1fbfdf165f571b0bf09235235827f370e1b940f1717c4faf5b223caba0b80f853a910ba492c776512aecfafa6e74fd964239bbc6cf412620143d5ffc74167 WHIRLPOOL de9e1ca86a87c169f0a2f7844ab9a68b29cc46c208daca4d13cf7d552b35c05b6e266d66724078cf1f6eea3d41496fdf4fd7b3219697b2032520ad2b9a5ec5c9
DIST splashutils-lite-1.5.4.4.tar.bz2 441340 SHA256 bc0e22293d4550281d2289672da3acb42594c18a75b9d00ba75526e05162ec6b SHA512 1a78216a1de1fdccff514494d7301640e447c65466e1fe02428e5114485507f67fe4394094880d927d074a8ab2d9c786ba03f9fb0371eb7ab6ef4e3b01aa4613 WHIRLPOOL f861a1673fd9e1fe32e417da48be8c472c5c3cc06844eb0886a66b498ca38cb04a6e51708821eefe3e15f66004bb6a4ef76df7242643b34090035bffdf1f87d7
DIST zlib-1.2.3.tar.bz2 425209 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca SHA512 edae735960279d92acf58e1f4095c6392a7c2059b8f1d2c46648fc608a0fb06b392db2d073f4973f5762c034ea66596e769b95b3d26ad963a086b9b2d09825f2 WHIRLPOOL e874b123296f5d77daf60617501b30f4beebccb64b3910c2539f75f6c194a2cf4885dc7a3904bf790e1651120ec33b55c48e95970dd6bfd6c4d0a2ea48d7d0f4
-EBUILD splashutils-1.5.4.4-r1.ebuild 7546 SHA256 0b577be0e6e683ced5f4becf90fe963c3086269b51d6a0624ca58996b8c44c65 SHA512 92312bb92a6e8a82136c8ad1e983af5cc8aa7e46fe354fd6f1ee2c4f1c5a4256b3ee23bda10d2c97f9af3c017ff9994cf0ebd257ea683084a4cc1ef81f7b6aa8 WHIRLPOOL c6a78ad34bf4ac27b161fff882a68a207f8d55316d9162ad598437bd5672dff8dd785de1d3750d84b3f9e030f09d9bd0d818ae5aa3384bb197c5c7c23b65d273
-EBUILD splashutils-1.5.4.4-r4.ebuild 6796 SHA256 dae6b1f61bc1938324a2daf2be8556ae4a15806d8ab18186028151a86d7593ad SHA512 188bf4dba87caef778d18b77bb6bc76f5eba866b688cc7b8392b838415e9e74411d4e432964019528877fc387f58d78660f8136e736ce668fa1cbbd650000f48 WHIRLPOOL d657b77e9de029b1c30d259d7c8d122c0ab6b8977f4cf5c4f12f21a73de7d5de28aa9cb8ecbadd3052f4e301f869b4585aefa889e2b44a5011bb709990a76ab4
EBUILD splashutils-1.5.4.4-r5.ebuild 6891 SHA256 4edeeb9787f455ad5babc165745814bf3e597e3cc0d6c4ee9f128a802d6970fe SHA512 a7a356a964bd3760e8c80729e22e8cec6287d9799d3b2dd109c0f8805bd16e49efd5f2ae33f7405e5e8e28138164802c1c211dd240fd6872827a6ea60aa98f1e WHIRLPOOL 205149ef65aa26f2190368697e19e036f4521fba366006b4f8234316bae459c7907344839edd143bcae10d747981da235b098722b8595f594380872cfe85eed9
-MISC ChangeLog 41658 SHA256 4ea1c75b5368be7a92f0e94065357a9ea547d3b5fe3642922d39fc9bb77ac0ed SHA512 a5bbe25190057012b15fadeb2bece9ab5ba5da8a4f1dac9a340914cb1f4c07ba7b248e319182ebe19066dca59c8b73d56d66c84cb75e4bcbaf96c4b0296078b3 WHIRLPOOL c1d93f8359135100a32f8fa24a40954c69bcbbe4430bc9b9e35847619dd3fbbc8202a65bbec963c963068b2f0d70aec5e2f8f6ad632003fc9f8f0777890476e2
+MISC ChangeLog 41786 SHA256 9e3f486d6b536f4d3a131820e70068af371e3c9ce88b352c91be0236048f3c80 SHA512 fd5523005e869fb92978d5967faee9c477adbb9503c847d5edb5e60cf7547fefafad2360b0b1d35ee9230997ed7379816569ffbdc9255086260f18306a218171 WHIRLPOOL 607436ef9bd5896ead465273c78ab9e295bf54939c2f524c9ca77090510ce6a5a133b97ad11ac965ba899807b74ea48919567378418a2aba8ab305868a5dadef
MISC metadata.xml 324 SHA256 51a25c570502116aa46bfe2bdfbb99be8a81290879563848978a9ee301a3dfa5 SHA512 4fccbcc1c6372560a0139262caf1f305cf658be6761e9703a0033da08af0d8a3dc310e1ceec52761b173fce2d6a94971fbde69ee0a419a7f00457f08691b233e WHIRLPOOL 60b68573116b7ef2a1a4fd87ab47172b56617c7d713ba44e9cdfce23283bf45ddf94ce0d4dd7d9d8ca7ab0c3af164557ec8f16ae872269b1b04b92d3a6e4781d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEcBAEBCAAGBQJUz5naAAoJECo/aRed926789oIAIdavfOuTvdXBihIueUBe7Mf
-LL+ALTmVOtKMX/6enutrjf2N+1KIataQ5giEQyyxCqmX6GRvN+xLBkrCKJy2GDQA
-w0eb4UAsA/ki+7zlg++f63z2qjTBLeoauDidvERNSNZ6xmcmKRpDTs1RO1Cj2eAO
-gxjcTI/OQBFLawO8jK8cFSKGX5xHxho0NJjmVJFViZmwEvhi8N3NOMGl55W5hjgf
-SgNyHX8iNPZZBDOJegq77MIJdsSFWQU+LC+TpR/Q2BxfOaMicOYNJB9C7u0E2cW5
-nOLQ871D3Mi0ZmEG66hj5ZQf6tcco8wilrgKbtojp+Sre/JZiOPQTNbN+lWhhBA=
-=U0GO
+iQEcBAEBCAAGBQJUz5oLAAoJECo/aRed9267YXYH/2e+qGXU1552XHp9C3hh5vZj
+SUd98GLFxHlyjh/o0eVgZR6fKl6t3MA2NV7/PNt/F5urwMsOs4TMVPsuYq+czWIV
+8Ga/J8pEzJ07XHzD6xpdxq+jjJaq1Xa2/TQveV/IJNDXreJOW5eJulX87XwX9NQl
+2edFdj+4pFArxlgNA2JnEMyK4JwBeFuqmQX+ULStP9rjq+wlYtovhkyBRAfM//r0
+CPEQ/y11ZqjwycWEd26WZziZnAVcEukmJu9TBGEiso945a5wslY1qX8eSvUlNPVz
+GjRKgcwxQzJa45twuNVQOqZ993xBuYX8ztG9tQrEtNLa8L3hSoIdK8Dh4rWF3LE=
+=FzKV
-----END PGP SIGNATURE-----
diff --git a/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild
deleted file mode 100644
index 4cc79b654c4d..000000000000
--- a/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild,v 1.14 2015/02/02 15:36:18 pinkbyte Exp $
-
-EAPI="2"
-
-inherit autotools eutils multilib toolchain-funcs
-
-MISCSPLASH="miscsplashutils-0.1.8"
-GENTOOSPLASH="splashutils-gentoo-1.0.17"
-V_JPEG="8a"
-V_PNG="1.4.3"
-V_ZLIB="1.2.3"
-V_FT="2.3.12"
-
-ZLIBSRC="libs/zlib-${V_ZLIB}"
-LPNGSRC="libs/libpng-${V_PNG}"
-JPEGSRC="libs/jpeg-${V_JPEG}"
-FT2SRC="libs/freetype-${V_FT}"
-
-RESTRICT="test"
-IUSE="hardened +png +truetype gpm fbcondecor"
-
-DESCRIPTION="Framebuffer splash utilities"
-HOMEPAGE="http://sourceforge.net/projects/fbsplash.berlios/"
-SRC_URI="
- mirror://sourceforge/fbsplash.berlios/${PN}-lite-${PV}.tar.bz2
- mirror://sourceforge/fbsplash.berlios/${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="gpm? ( sys-libs/gpm[static-libs] )
- truetype? ( >=media-libs/freetype-2[static-libs]
- || ( <app-arch/bzip2-1.0.6-r3 app-arch/bzip2[static-libs] )
- || ( <sys-libs/zlib-1.2.5.1-r2 sys-libs/zlib[static-libs] ) )
- png? ( >=media-libs/libpng-1.4.3[static-libs] )
- virtual/jpeg:0[static-libs]
- >=sys-apps/baselayout-1.9.4-r5
- app-arch/cpio
- media-gfx/fbgrab
- !sys-apps/lcdsplash"
-DEPEND="${RDEPEND}
- >=dev-libs/klibc-1.5
- virtual/pkgconfig"
-
-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_prepare() {
- 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 "${SG}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-gentoo-typo-fix.patch"
-
- if use truetype ; then
- cd "${SM}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-freetype-bz2.patch"
- fi
-
- cd "${S}"
- ln -sf "${S}/src" "${WORKDIR}/core"
-
- epatch "${FILESDIR}/${P}-bzip2.patch"
-
- if ! tc-is-cross-compiler && \
- has_version "sys-devel/gcc:$(gcc-version)[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.in"
- fi
-
- if ! use truetype ; then
- sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile"
- fi
-
- # Latest version of klibc defined its own version of ferror, so there is
- # not need for the hack in klibc_compat.h
- if has_version ">=dev-libs/klibc-1.5.20"; then
- echo > "libs/klibc_compat.h"
- fi
-
- rm -f m4/*
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- cd "${SM}"
- emake CC="${CC}" LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils"
-
- cd "${S}"
- econf \
- $(use_with png) \
- --without-mng \
- $(use_with gpm) \
- $(use_with truetype ttf) \
- $(use_with truetype ttf-kernel) \
- $(use_enable fbcondecor) \
- --docdir=/usr/share/doc/${PF} \
- --with-freetype2-src=${FT2SRC} \
- --with-jpeg-src=${JPEGSRC} \
- --with-lpng-src=${LPNGSRC} \
- --with-zlib-src=${ZLIBSRC} \
- --with-essential-libdir=/$(get_libdir) || die "failed to configure splashutils"
-}
-
-src_compile() {
- emake CC="${CC}" STRIP="true" || 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
-
- cd "${S}"
- make DESTDIR="${D}" STRIP="true" install || die
-
- mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/
- gen_usr_ldscript libfbsplash.so
-
- echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash
- doenvd 99splash
-
- if use fbcondecor ; then
- newinitd "${SG}"/init-fbcondecor fbcondecor
- newconfd "${SG}"/fbcondecor.conf fbcondecor
- fi
- newconfd "${SG}"/splash.conf splash
-
- insinto /usr/share/${PN}
- doins "${SG}"/initrd.splash
-
- insinto /etc/splash
- doins "${SM}"/fbtruetype/luxisri.ttf
-
- 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/
- fi
-
- sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh
- keepdir /${LIB}/splash/{tmp,cache,bin,sys}
- dosym /${LIB}/splash/bin/fbres /sbin/fbres
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-1.0"
- previous_less_than_1_0=$?
-
- has_version "<${CATEGORY}/${PN}-1.5.3"
- previous_less_than_1_5_3=$?
-}
-
-pkg_postinst() {
- if has_version sys-fs/devfsd || ! has_version virtual/udev ; then
- elog "This package has been designed with udev in mind. Other solutions, such as"
- elog "devfs or a static /dev tree might work, but are generally discouraged and"
- elog "not supported. If you decide to switch to udev, you might want to have a"
- elog "look at 'The Gentoo udev Guide', which can be found at"
- elog " http://wiki.gentoo.org/wiki/Udev"
- elog ""
- fi
-
- if [[ $previous_less_than_1_0 = 0 ]] ; then
- elog "Since you are upgrading from a pre-1.0 version, please make sure that you"
- elog "rebuild your initrds. You can use the splash_geninitramfs script to do that."
- elog ""
- fi
-
- if [[ $previous_less_than_1_5_3 = 0 ]] && ! use fbcondecor ; then
- elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch"
- elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish"
- elog "to use fbcondecor, run:"
- elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use"
- elog "and re-emerge splashutils."
- fi
-
- if ! test -f /proc/cmdline ||
- ! egrep -q '(console=tty1|CONSOLE=/dev/tty1)' /proc/cmdline ; then
- elog "It is required that you add 'console=tty1' to your kernel"
- elog "command line parameters."
- elog ""
- 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
-
- elog "Please note that the 'fbsplash' kernel patch has now been renamed to"
- elog "'fbcondecor'. Accordingly, the old 'splash' initscript is now called"
- elog "'fbcondecor'. Make sure you update your system. See:"
- elog " http://dev.gentoo.org/~spock/projects/fbcondecor/#history"
- elog "for further info about the name changes."
- elog ""
- elog "Also note that splash_util has now been split into splash_util, fbsplashd"
- elog "and fbcondecor_ctl."
-}
diff --git a/media-gfx/splashutils/splashutils-1.5.4.4-r4.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r4.ebuild
deleted file mode 100644
index 21ca9f94583b..000000000000
--- a/media-gfx/splashutils/splashutils-1.5.4.4-r4.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4.4-r4.ebuild,v 1.5 2015/02/02 15:36:18 pinkbyte Exp $
-
-EAPI=5
-inherit autotools eutils multilib toolchain-funcs
-
-MISCSPLASH="miscsplashutils-0.1.8"
-GENTOOSPLASH="splashutils-gentoo-1.0.17"
-V_JPEG="8a"
-V_PNG="1.4.3"
-V_ZLIB="1.2.3"
-V_FT="2.3.12"
-
-ZLIBSRC="libs/zlib-${V_ZLIB}"
-LPNGSRC="libs/libpng-${V_PNG}"
-JPEGSRC="libs/jpeg-${V_JPEG}"
-FT2SRC="libs/freetype-${V_FT}"
-
-RESTRICT="test"
-IUSE="hardened +png +truetype gpm fbcondecor"
-
-DESCRIPTION="Framebuffer splash utilities"
-HOMEPAGE="http://sourceforge.net/projects/fbsplash.berlios/"
-SRC_URI="
- mirror://sourceforge/fbsplash.berlios/${PN}-lite-${PV}.tar.bz2
- mirror://sourceforge/fbsplash.berlios/${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="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-RDEPEND="
- gpm? ( sys-libs/gpm[static-libs(+)] )
- truetype? (
- >=media-libs/freetype-2[static-libs]
- app-arch/bzip2[static-libs(+)]
- sys-libs/zlib[static-libs(+)]
- )
- png? (
- >=media-libs/libpng-1.4.3[static-libs]
- sys-libs/zlib[static-libs(+)]
- )
- virtual/jpeg:0[static-libs]
- app-arch/cpio
- media-gfx/fbgrab
- !sys-apps/lcdsplash"
-
-DEPEND="${RDEPEND}
- >=dev-libs/klibc-1.5
- virtual/pkgconfig
-"
-
-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_prepare() {
- 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 "${SG}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-gentoo-typo-fix.patch"
-
- if use truetype ; then
- cd "${SM}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-freetype-bz2.patch"
- #cd "${S}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-ft25.patch"
- fi
-
- cd "${S}"
- ln -sf "${S}/src" "${WORKDIR}/core"
-
- epatch "${FILESDIR}/${P}-bzip2.patch"
- epatch "${FILESDIR}/${P}-multi-keyboard.patch"
-
- if ! tc-is-cross-compiler && \
- has_version "sys-devel/gcc:$(gcc-version)[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.in"
- fi
-
- if ! use truetype ; then
- sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile"
- fi
-
- # Latest version of klibc defined its own version of ferror, so there is
- # not need for the hack in klibc_compat.h
- if has_version ">=dev-libs/klibc-1.5.20"; then
- echo > "libs/klibc_compat.h"
- fi
-
- rm -f m4/*
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- cd "${SM}"
- emake CC="${CC}" LIB=$(get_libdir) STRIP=true
-
- cd "${S}"
- econf \
- $(use_with png) \
- --without-mng \
- $(use_with gpm) \
- $(use_with truetype ttf) \
- $(use_with truetype ttf-kernel) \
- $(use_enable fbcondecor) \
- --docdir=/usr/share/doc/${PF} \
- --with-freetype2-src=${FT2SRC} \
- --with-jpeg-src=${JPEGSRC} \
- --with-lpng-src=${LPNGSRC} \
- --with-zlib-src=${ZLIBSRC} \
- --with-essential-libdir=/$(get_libdir)
-}
-
-src_compile() {
- emake CC="${CC}" STRIP="true"
-
- cd "${SG}"
- emake LIB=$(get_libdir)
-}
-
-src_install() {
- local LIB=$(get_libdir)
-
- cd "${SM}"
- emake DESTDIR="${D}" LIB=${LIB} install
-
- cd "${S}"
- emake DESTDIR="${D}" STRIP="true" install
-
- mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/
- gen_usr_ldscript libfbsplash.so
-
- echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash
- doenvd 99splash
-
- if use fbcondecor ; then
- newinitd "${SG}"/init-fbcondecor fbcondecor
- newconfd "${SG}"/fbcondecor.conf fbcondecor
- fi
- newconfd "${SG}"/splash.conf splash
-
- insinto /usr/share/${PN}
- doins "${SG}"/initrd.splash
-
- insinto /etc/splash
- doins "${SM}"/fbtruetype/luxisri.ttf
-
- cd "${SG}"
- make DESTDIR="${D}" LIB=${LIB} install
-
- sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh
- keepdir /${LIB}/splash/{tmp,cache,bin,sys}
- dosym /${LIB}/splash/bin/fbres /sbin/fbres
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-1.0"
- previous_less_than_1_0=$?
-
- has_version "<${CATEGORY}/${PN}-1.5.3"
- previous_less_than_1_5_3=$?
-}
-
-pkg_postinst() {
- if has_version sys-fs/devfsd || ! has_version virtual/udev ; then
- elog "This package has been designed with udev in mind. Other solutions, such as"
- elog "devfs or a static /dev tree might work, but are generally discouraged and"
- elog "not supported. If you decide to switch to udev, you might want to have a"
- elog "look at 'The Gentoo udev Guide', which can be found at"
- elog " http://wiki.gentoo.org/wiki/Udev"
- elog ""
- fi
-
- if [[ $previous_less_than_1_0 = 0 ]] ; then
- elog "Since you are upgrading from a pre-1.0 version, please make sure that you"
- elog "rebuild your initrds. You can use the splash_geninitramfs script to do that."
- elog ""
- fi
-
- if [[ $previous_less_than_1_5_3 = 0 ]] && ! use fbcondecor ; then
- elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch"
- elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish"
- elog "to use fbcondecor, run:"
- elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use"
- elog "and re-emerge splashutils."
- fi
-
- if ! test -f /proc/cmdline ||
- ! egrep -q '(console=tty1|CONSOLE=/dev/tty1)' /proc/cmdline ; then
- elog "It is required that you add 'console=tty1' to your kernel"
- elog "command line parameters."
- elog ""
- 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
-}