diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-07-22 21:47:00 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-07-22 21:47:00 +0000 |
commit | 5d02007201a8837b64f30180157fcd6d328b297a (patch) | |
tree | dc0e5e13651d0cb6f089420ece62411a6965081c /media-gfx | |
parent | Add support for EANT_GENTOO_CLASSPATH_EXTRA. (diff) | |
download | historical-5d02007201a8837b64f30180157fcd6d328b297a.tar.gz historical-5d02007201a8837b64f30180157fcd6d328b297a.tar.bz2 historical-5d02007201a8837b64f30180157fcd6d328b297a.zip |
Version bump, fixes bug #227907.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26 x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/splashutils/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/splashutils/Manifest | 11 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-1.5.4.2.ebuild | 210 |
3 files changed, 224 insertions, 5 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog index 27947b837740..3d4bf9579b80 100644 --- a/media-gfx/splashutils/ChangeLog +++ b/media-gfx/splashutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/splashutils # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.138 2008/06/14 15:17:16 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.139 2008/07/22 21:47:00 spock Exp $ + +*splashutils-1.5.4.2 (22 Jul 2008) + + 22 Jul 2008; Michał Januszewski <spock@gentoo.org> + +splashutils-1.5.4.2.ebuild: + Version bump, fixes bug #227907. 14 Jun 2008; Zac Medico <zmedico@gentoo.org> splashutils-1.5.2.1.ebuild, splashutils-1.5.3.4.ebuild, splashutils-1.5.4.ebuild, diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest index e3160a352ff1..ffa1c7e0c0cb 100644 --- a/media-gfx/splashutils/Manifest +++ b/media-gfx/splashutils/Manifest @@ -13,23 +13,26 @@ DIST splashutils-gentoo-1.0.11.tar.bz2 14879 RMD160 3a067329a72e334c68913906b720 DIST splashutils-gentoo-1.0.12.tar.bz2 15110 RMD160 425a85a12db7d94b43f44f0d3ce94eebb82b09ee SHA1 1a3e251e2a3e4dce9ab99f96adb98fb77a3dcf75 SHA256 eeabfce50ace797b124565eccf721ecff4abf04ed1a249364a9a8806be7b4348 DIST splashutils-gentoo-1.0.13.tar.bz2 15165 RMD160 e012fb9f582df7671d074372d4ee8919b3371605 SHA1 207a62820425f0a213e621ef2a757956e2e17f94 SHA256 146bed86ce978e173ce97da4e6365c721abc5de66067a0945e8446b27bd3eef1 DIST splashutils-gentoo-1.0.14.tar.bz2 15318 RMD160 111d86aa8f93134084f52d1e27f2638bd097c5ce SHA1 d60f7e968a2cff6ac9db54817e89c2cbaf15e135 SHA256 2458402e519f9c723e8c9bb2b321991050fb7e4e08c7edc464de10e801062fcb +DIST splashutils-gentoo-1.0.15.tar.bz2 15372 RMD160 433bc6b505665ed56fe18f4dbfc438403a0bb641 SHA1 90f171bd55769ee328e70646bba37ac4a733b439 SHA256 881f6e062785bc18e4901c70e09bc86f7b082749f060437abe22f13548854eb6 DIST splashutils-gentoo-1.0.8.tar.bz2 16001 RMD160 2a0b057f894c72892ed11f1d3fd1273f04f766fc SHA1 903508a7b135c0ea942e08227cfa8c69dc12d338 SHA256 2b9a5f393a83190ad59e26f511ae4215b55870d06bb1eb1a0091eb5cbf2dfd2b DIST splashutils-lite-1.5.2.1.tar.bz2 89714 RMD160 acf3605dfe28fafcd3139f82d4fa00b0d1049998 SHA1 34e8c87267b418c7cf1fb3a3a5642965a7a547ed SHA256 f5b718d52ecd0d5338eb66fa02aa11a32ba1e052c3ba8d00c3776b8d1d2f6430 DIST splashutils-lite-1.5.3.4.tar.bz2 414744 RMD160 a1d655786caa6a7bea84d5a17ea0a8c4bb3aae03 SHA1 c908216dd9549d276c561bb77109332c2c61f213 SHA256 4b2a14ed48cc7e18cbc94570f07e05c80f1eca2319ecaaae04f221463de70d97 DIST splashutils-lite-1.5.4.1.tar.bz2 419695 RMD160 af9e1fd02b0fdf80c3ae2de0e49176b4e1636581 SHA1 c92578b47d33558a28f8d505d0330885230b62d7 SHA256 42da88318ffcc37fed5e965642171bcd03d57e11bc254a7dfc30638133773737 +DIST splashutils-lite-1.5.4.2.tar.bz2 421894 RMD160 defb12e3cedccbfd3f3ebdf753053b24d1bd37da SHA1 ac1ef8b4eaa14c29a033ba94ea92aece0991995a SHA256 7f7e2956249504c4fcc77c407e3f31390a820c859c64377e51ff1bb83062fb53 DIST splashutils-lite-1.5.4.tar.bz2 420243 RMD160 b0b62fb780a5645717a40547c98f5c42b7df9015 SHA1 a6162bc76d32f90558340598d7f6ade4c3ee00ed SHA256 f4473aff8e6efb1008fc4471da968cb7d707cd6badabe03422d95c631305bba3 DIST zlib-1.2.3.tar.bz2 425209 RMD160 cfba9984b354dcc38da49331457e6bfc861c6f51 SHA1 967e280f284d02284b0cd8872a8e2e04bfdc7283 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca EBUILD splashutils-1.5.2.1.ebuild 7498 RMD160 cd893c2b4246093e902b9931b9ff1042cd88b84c SHA1 6a9effa03be2c35f51f9201874ed1553ac99a529 SHA256 3adff265bde2d45586f75b4d124016e065388b2bfdeae422438d84d15f476ee2 EBUILD splashutils-1.5.3.4.ebuild 6698 RMD160 6d464e409c4ad39ce7d157f02d764a8142d70737 SHA1 e8f446958ff2ae66fb282d942715f2d0b16795e3 SHA256 485651af4a4e8c36316bd3e8b25d5f75f3a1383cbe692c89d2f0db53c715adec EBUILD splashutils-1.5.4-r1.ebuild 6967 RMD160 fca1841102e85d461a7ec5f3cf7f8a075527c564 SHA1 360610cb8f3aa72cf6e16340e6bed37ae7998c0b SHA256 4bfec03ff8b8366e56db2604da76090d41d2994dea80199556f42bad6932c3dc EBUILD splashutils-1.5.4.1.ebuild 6717 RMD160 5da4f6ccae074d00b8b8f569d7692c4d466df600 SHA1 0b980be61a293e0451c911a3517ff7fde8d73f09 SHA256 1899f3f5e278de175ec579a2da754ba54af5cbbf771d406e3f72ed508d4e7654 +EBUILD splashutils-1.5.4.2.ebuild 6715 RMD160 e466c6853898fa59039e79cc53ad6aa015cc8562 SHA1 55fb5f6d2b55ac060fe89cc0e93a48c85d5e2593 SHA256 ccd762d4e81471baf974dd11cc64fe634c40ce8cf501227836969492a21fc885 EBUILD splashutils-1.5.4.ebuild 6699 RMD160 0b53451998aab27802cee09b530c00ec8c5305e4 SHA1 162c52663a33b93390454b8b1849b18b27341406 SHA256 281183c263272e6e51033ced8114f8f130320ffd86b2d7faafbedbdc6cb0e5f6 -MISC ChangeLog 26181 RMD160 8034b3569d9e75f1ae183d7412e3fa38c9c73b80 SHA1 27e6da21de88916a2a20aa0a177a8cc2ef031046 SHA256 e3ac6dfef1e48111098f414406e7c9591bbe3e17c36a9d5b81d97dd34946064c +MISC ChangeLog 26336 RMD160 eb14f5528dab3bde9ca28b12268ad6019dfdef85 SHA1 a6af7375a6d20666171c47f4ceb450ba3e6a2012 SHA256 15837d29353249e2dd92f7f7d4cb2fd95c3752b1181ae71bb0b94b195cfe78ca MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhT4QIACgkQ/ejvha5XGaNelACg7dKoyHU4B5wVsgnaR9ZCJEjY -ukYAn22LbGyQtlKqyEZcpoTyWRbGsM3R -=oNgz +iEYEARECAAYFAkiGVSsACgkQchej4aZK9/d8YwCgg7ziVjvNll/SZtz8Xl0UeoZw +/YgAnA3zuEnG+Hjke5XeZXAs7ytmqmdj +=9Obj -----END PGP SIGNATURE----- diff --git a/media-gfx/splashutils/splashutils-1.5.4.2.ebuild b/media-gfx/splashutils/splashutils-1.5.4.2.ebuild new file mode 100644 index 000000000000..061d00abed28 --- /dev/null +++ b/media-gfx/splashutils/splashutils-1.5.4.2.ebuild @@ -0,0 +1,210 @@ +# Copyright 1999-2008 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.2.ebuild,v 1.1 2008/07/22 21:47:00 spock Exp $ + +EAPI="1" + +inherit eutils multilib toolchain-funcs + +MISCSPLASH="miscsplashutils-0.1.8" +GENTOOSPLASH="splashutils-gentoo-1.0.15" +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}" + +RESTRICT="test" +IUSE="hardened +png +truetype +mng gpm fbcondecor" + +DESCRIPTION="Framebuffer splash utilities." +HOMEPAGE="http://fbsplash.berlios.de" +SRC_URI="mirror://berlios/fbsplash/${PN}-lite-${PV}.tar.bz2 + mirror://berlios/fbsplash/${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 ) + 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.5 + dev-util/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_unpack() { + unpack ${A} + + 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}/src" "${WORKDIR}/core" + + 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.in" + fi + + if ! use truetype ; then + sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile" + fi +} + +src_compile() { + cd "${SM}" + emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils" + + cd "${S}" + econf \ + $(use_with png) \ + $(use_with mng) \ + $(use_with gpm) \ + $(use_with truetype ttf) \ + $(use_with truetype ttf-kernel) \ + $(use_enable fbcondecor) \ + --with-freetype2-src=${FT2SRC} \ + --with-jpeg-src=${JPEGSRC} \ + --with-lpng-src=${LPNGSRC} \ + --with-zlib-src=${ZLIBSRC} || die "failed to configure splashutils" + + 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 + + cd "${S}" + make DESTDIR="${D}" 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} + 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 sys-fs/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://www.gentoo.org/doc/en/udev-guide.xml" + 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|CONSOLE)=(tty1|/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." +} |