summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2007-11-25 12:16:46 +0000
committerMichael Januszewski <spock@gentoo.org>2007-11-25 12:16:46 +0000
commit9151cfa42af118f1fad21bfe2bf163c4fa742dbf (patch)
tree8343d4005cdc4de585816375050b4687a75ace02 /media-gfx
parentAdd the fbcondecor USE flag for media-gfx/splashutils. (diff)
downloadhistorical-9151cfa42af118f1fad21bfe2bf163c4fa742dbf.tar.gz
historical-9151cfa42af118f1fad21bfe2bf163c4fa742dbf.tar.bz2
historical-9151cfa42af118f1fad21bfe2bf163c4fa742dbf.zip
Version bump.
Package-Manager: portage-2.1.4_rc3
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/splashutils/ChangeLog8
-rw-r--r--media-gfx/splashutils/Manifest27
-rw-r--r--media-gfx/splashutils/files/digest-splashutils-1.5.321
-rw-r--r--media-gfx/splashutils/splashutils-1.5.3.ebuild192
4 files changed, 243 insertions, 5 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog
index 0af6d42aa285..a822eff731f1 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.116 2007/10/21 20:33:01 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.117 2007/11/25 12:16:46 spock Exp $
+
+*splashutils-1.5.3 (25 Nov 2007)
+
+ 25 Nov 2007; Michał Januszewski <spock@gentoo.org>
+ +splashutils-1.5.3.ebuild:
+ Version bump.
21 Oct 2007; Steve Dibb <beandog@gentoo.org> splashutils-1.5.2.ebuild,
splashutils-1.5.2.1.ebuild:
diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest
index 1f1517172194..cdcc77ad0fd3 100644
--- a/media-gfx/splashutils/Manifest
+++ b/media-gfx/splashutils/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX splashutils-1.4.2-getcfg.patch 336 RMD160 73f1c0e85ea4cac92fa323447742fc08db0bb8bd SHA1 5330ed4437334cb479dfd9edfb78075f3fc2e349 SHA256 9073cd34faba8b41a66b9bad28cfadb71cb216c3288c20d852eb2aea3d035d70
MD5 4a2e9913222523d5c0e3a0651a77323b files/splashutils-1.4.2-getcfg.patch 336
RMD160 73f1c0e85ea4cac92fa323447742fc08db0bb8bd files/splashutils-1.4.2-getcfg.patch 336
@@ -26,10 +29,12 @@ DIST splashutils-gentoo-1.0.2.tar.bz2 14703 RMD160 697e3b3970bf3f38f346e781fc23a
DIST splashutils-gentoo-1.0.3.tar.bz2 14962 RMD160 b08698b26b4f4edef2a46d2763e9d1a5df6c44b0 SHA1 3860cfe8a2fadef34e5f79a20829098ad76da23c SHA256 ff65cda5ca4df747efe9724cfab3dd8425ed471e43d7e4f4e01ad66ab666c33f
DIST splashutils-gentoo-1.0.7.tar.bz2 15632 RMD160 62f060dafef6a42647f6bd7b74d72820c5b975a5 SHA1 145eb214d37320cd3f0bd8d386323f3f53996bf2 SHA256 59482c0a8b7bd7bcc18c9df736cbe8bcace1b11fd85b42b26ebf7af5bc69b256
DIST splashutils-gentoo-1.0.8.tar.bz2 16001 RMD160 2a0b057f894c72892ed11f1d3fd1273f04f766fc SHA1 903508a7b135c0ea942e08227cfa8c69dc12d338 SHA256 2b9a5f393a83190ad59e26f511ae4215b55870d06bb1eb1a0091eb5cbf2dfd2b
+DIST splashutils-gentoo-1.0.9.tar.bz2 17003 RMD160 b395e40913a1924fb4a7ed07e4ae40b80b3a22d0 SHA1 cbe0d3c3591a41ebb830bf8d2a59887a4c4af7e3 SHA256 e3350f1f33e72bb7946eabf364903ab72b2ed858fc42c15bfb647eda5774392a
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.5.2.1.tar.bz2 89714 RMD160 acf3605dfe28fafcd3139f82d4fa00b0d1049998 SHA1 34e8c87267b418c7cf1fb3a3a5642965a7a547ed SHA256 f5b718d52ecd0d5338eb66fa02aa11a32ba1e052c3ba8d00c3776b8d1d2f6430
DIST splashutils-lite-1.5.2.tar.bz2 89532 RMD160 354e629577d92d372eb181c22d449d1c2d746ae3 SHA1 8ce15f6b6530a9e1f6e80d27c4cfb5ce18213aba SHA256 d2702fadf122a594e8de3fe751a8f0e8ced518624c1987beea54060c0257baa6
+DIST splashutils-lite-1.5.3.tar.bz2 337456 RMD160 7d65c3894cf67624c7e867a5e4c107fff9150928 SHA1 0f8d1f98ea3020a777bccaeb69f20eb14f363b5a SHA256 2b56ac1f88bbb8fa3b6c466ec0f4316ce5e55954347b0d5c18025757e1489b66
DIST zlib-1.2.3.tar.bz2 425209 RMD160 cfba9984b354dcc38da49331457e6bfc861c6f51 SHA1 967e280f284d02284b0cd8872a8e2e04bfdc7283 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca
EBUILD splashutils-1.4.2.1.ebuild 6678 RMD160 c2e879a65da76f4f6f6a987c5fc6ecba7ecacde4 SHA1 408918c1352c4a0e921f08ebd539efeca17c737f SHA256 34ed66a3f60c205333aeffb7b59b1fe61cd11d5a1c4b3e10f99ef39ab88d9eb1
MD5 799a290c7f7039500bf7ef0eb46c9b36 splashutils-1.4.2.1.ebuild 6678
@@ -47,10 +52,14 @@ EBUILD splashutils-1.5.2.ebuild 7236 RMD160 7ec01451f8329e5bd974b7af3c441feeefdc
MD5 b834ef17b504360a488e75ad504247f8 splashutils-1.5.2.ebuild 7236
RMD160 7ec01451f8329e5bd974b7af3c441feeefdc61a3 splashutils-1.5.2.ebuild 7236
SHA256 37340e3c0707a7675790ff5c06cf348c2cb053725bd37bee0ce7b41d324b19da splashutils-1.5.2.ebuild 7236
-MISC ChangeLog 22542 RMD160 3b5136bad28a9579083b65025f2345485c839b5b SHA1 24622df747043969f5624bd90ea81374711e56de SHA256 1facf3587522cfe2dfdbebca7daf943334ba0794576ca591663f10fd2206e22b
-MD5 76b7046a192dd2610b629aea5486c380 ChangeLog 22542
-RMD160 3b5136bad28a9579083b65025f2345485c839b5b ChangeLog 22542
-SHA256 1facf3587522cfe2dfdbebca7daf943334ba0794576ca591663f10fd2206e22b ChangeLog 22542
+EBUILD splashutils-1.5.3.ebuild 6195 RMD160 94f4494f92617bdc0f215b159223e3ce32c20973 SHA1 3bdbd5f9fa84e6aa4d3e9291630d179c83c4d1e6 SHA256 7d9b127df3480fb2ac60be9a1cc229483337180407661a07e7e7037ff95ef067
+MD5 4c413e5a57f6cd811f22d8013c88c04c splashutils-1.5.3.ebuild 6195
+RMD160 94f4494f92617bdc0f215b159223e3ce32c20973 splashutils-1.5.3.ebuild 6195
+SHA256 7d9b127df3480fb2ac60be9a1cc229483337180407661a07e7e7037ff95ef067 splashutils-1.5.3.ebuild 6195
+MISC ChangeLog 22674 RMD160 4755286901e754abb218282e8d52e886dae1f42d SHA1 18ad0274d7dc05d141f5ad3ef7f6fb393f8509b1 SHA256 d090701755530dcfedf045590538726a3760f08fe22e6829cebc817ca329f73b
+MD5 ad314c3d38775761dd6987e62f891f08 ChangeLog 22674
+RMD160 4755286901e754abb218282e8d52e886dae1f42d ChangeLog 22674
+SHA256 d090701755530dcfedf045590538726a3760f08fe22e6829cebc817ca329f73b ChangeLog 22674
MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d
MD5 87131e5c56922624f8a0c7fe61cd28da metadata.xml 220
RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 metadata.xml 220
@@ -67,3 +76,13 @@ SHA256 764b3bc59b66b23f4ab97db829a68e0220ba9f47442441d206f3ff647d3c3e8e files/di
MD5 f22a9642b07593e92c4d4511a4c71a30 files/digest-splashutils-1.5.2.1 1777
RMD160 b4b07fbaf85d17bed1b460408fb66cb675c4c52d files/digest-splashutils-1.5.2.1 1777
SHA256 8a141571d01168378118e8f3a47a55c29350a7e6969ddecde05d3910ca6427e1 files/digest-splashutils-1.5.2.1 1777
+MD5 afee5963aaabcf96a6e490bd1c5da346 files/digest-splashutils-1.5.3 1774
+RMD160 dc6379783400461b3ccc07e0c11856244921dd2a files/digest-splashutils-1.5.3 1774
+SHA256 0fb7f7f3b11ea49f1fd2020c21de541c2d21d3d9f581b2c28b16ac528de7a9e5 files/digest-splashutils-1.5.3 1774
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHSWe9chej4aZK9/cRAmGoAJ4us+2qzYlaN0veayv8RR/wr9ZWlgCeOQ85
+ezSSNQy1AJL/i4nAWbHb8QQ=
+=pOuA
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/splashutils/files/digest-splashutils-1.5.3 b/media-gfx/splashutils/files/digest-splashutils-1.5.3
new file mode 100644
index 000000000000..19daad4610b2
--- /dev/null
+++ b/media-gfx/splashutils/files/digest-splashutils-1.5.3
@@ -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 17489ca97b1e6ee1c1e1190dc671f6bf splashutils-gentoo-1.0.9.tar.bz2 17003
+RMD160 b395e40913a1924fb4a7ed07e4ae40b80b3a22d0 splashutils-gentoo-1.0.9.tar.bz2 17003
+SHA256 e3350f1f33e72bb7946eabf364903ab72b2ed858fc42c15bfb647eda5774392a splashutils-gentoo-1.0.9.tar.bz2 17003
+MD5 1141315044ace7396ca919817467d297 splashutils-lite-1.5.3.tar.bz2 337456
+RMD160 7d65c3894cf67624c7e867a5e4c107fff9150928 splashutils-lite-1.5.3.tar.bz2 337456
+SHA256 2b56ac1f88bbb8fa3b6c466ec0f4316ce5e55954347b0d5c18025757e1489b66 splashutils-lite-1.5.3.tar.bz2 337456
+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.3.ebuild b/media-gfx/splashutils/splashutils-1.5.3.ebuild
new file mode 100644
index 000000000000..bf976e336db1
--- /dev/null
+++ b/media-gfx/splashutils/splashutils-1.5.3.ebuild
@@ -0,0 +1,192 @@
+# 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.3.ebuild,v 1.1 2007/11/25 12:16:46 spock Exp $
+
+inherit eutils multilib toolchain-funcs
+
+MISCSPLASH="miscsplashutils-0.1.8"
+GENTOOSPLASH="splashutils-gentoo-1.0.9"
+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 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="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"
+
+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"
+ 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"
+
+ 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
+
+ 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
+ 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 has_version '<media-gfx/splashutils-1.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 ! 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."
+}