From 720be3269b9ca2fcc9ec659ca438112c5e3511c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Tue, 18 Oct 2011 09:57:50 +0000 Subject: [PATCH] sys-boot/plymouth: Pre 0.9 snapshot ebuild. Pre 0.9 snapshot ebuild based on latest git sources. It introduces libkms. EAPI bumped to 4. Package-Manager: portage-2.1.10.27/cvs/Linux x86_64 --- sys-boot/plymouth/ChangeLog | 11 ++- sys-boot/plymouth/Manifest | 21 +++-- .../0.9_pre20111013-gentoo-fb-path.patch | 25 ++++++ sys-boot/plymouth/metadata.xml | 2 + .../plymouth/plymouth-0.9_pre20111013.ebuild | 82 +++++++++++++++++++ 5 files changed, 132 insertions(+), 9 deletions(-) create mode 100644 sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch create mode 100644 sys-boot/plymouth/plymouth-0.9_pre20111013.ebuild diff --git a/sys-boot/plymouth/ChangeLog b/sys-boot/plymouth/ChangeLog index 9ca5ce0bef24..0a28074abef3 100644 --- a/sys-boot/plymouth/ChangeLog +++ b/sys-boot/plymouth/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-boot/plymouth # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.14 2011/07/03 10:06:14 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.15 2011/10/18 09:57:50 aidecoe Exp $ + +*plymouth-0.9_pre20111013 (18 Oct 2011) + + 18 Oct 2011; Amadeusz Żołnowski + +files/0.9_pre20111013-gentoo-fb-path.patch, + +plymouth-0.9_pre20111013.ebuild, metadata.xml: + Pre 0.9 snapshot ebuild based on latest git sources. It introduces libkms. + + EAPI bumped to 4. *plymouth-0.8.3-r5 (03 Jul 2011) diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest index c6db86cb289d..20b25d06aed6 100644 --- a/sys-boot/plymouth/Manifest +++ b/sys-boot/plymouth/Manifest @@ -1,24 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX 0.8.3-drm-reduce-minimum-build-requirements.patch 16071 RMD160 02e2fd9fc69820046912b2905d7b341ceef7dbb2 SHA1 26ddd4867e4647b41e7af90d6a4a932a4684d706 SHA256 4a953c22c211f5997b2bffc1df2a626874a13dcf48838c06d0f3e43c6cc5d8a3 AUX 0.8.3-gentoo-fb-path.patch 804 RMD160 4e46da3ee7b36b2f6618089c42ab06a54fc5c450 SHA1 6a1f211fe2437205da767bffcdb50c83e1725a2a SHA256 5496471c4ace51561054aadce35b7772ac65b54ace04329386d2b2dfc1ef8c8f AUX 0.8.3-image-replace-deprecated-libpng-function.patch 962 RMD160 2a312805f28a3aa10155820e1d81d93a3035a369 SHA1 f59ad761ba8f7ce1b0661f21e7083fc31973e332 SHA256 37df9d046cfba685c6447a1f9360c941bf7b9e8dc80970d06486054d34c6fd86 +AUX 0.9_pre20111013-gentoo-fb-path.patch 804 RMD160 4e46da3ee7b36b2f6618089c42ab06a54fc5c450 SHA1 6a1f211fe2437205da767bffcdb50c83e1725a2a SHA256 5496471c4ace51561054aadce35b7772ac65b54ace04329386d2b2dfc1ef8c8f AUX plymouth.initd 503 RMD160 e4fa0045737592dbb839a869c4d82c3a186e57c6 SHA1 3ea428fc3536aebf8857c89bcc24b55f39928a49 SHA256 6a136325ddb36d2bd7ec89b6cbdf0cd42e55536b52f3dd5fe5c161dbb2b4fab0 DIST gentoo-logo.png 14501 RMD160 e4f33be3f763537242bcd47ea9e145e919152213 SHA1 42e22719c2aa24869c7c22ed06d398272404fd24 SHA256 79ebc1d66693371a90e218ad421cfed05066b51a6645bd967bb7da356a0881fa DIST plymouth-0.8.3.tar.bz2 763575 RMD160 bb5c13e4eb48d8b881a4d2cc15190c377430f672 SHA1 30135d3b2db42778b32b6d2d9e7e0da90f0da599 SHA256 2e51abbc087228f7910302334755d0190fc9e923eae9992150adb0f6cccc9077 +DIST plymouth-0.9_pre20111013.tar.bz2 817483 RMD160 0ebe65c68dd17fe34a3318e16ade60ce9b6ecc5d SHA1 c73725ca573abac46af99c115aa3c41e365d124a SHA256 b4247fc0cbaa04a1e250f8bbcf32a16c4d12073d7f55813745489c39aba5cda5 DIST plymouth-openrc-plugin-0.1.1.tar.bz2 8581 RMD160 64c300ea9a34b84ac13bdd3b55758fa0094493c1 SHA1 c6b103e13503b705a1314fb07c6bc45851a598e5 SHA256 5c176703b61bd4406955ee104c478359dc8849ed7f8fca59da138232e3e1e24c EBUILD plymouth-0.8.3-r2.ebuild 2750 RMD160 72f0698f4a74f4cd25947e11b6077046c5ed546d SHA1 fba1e9b2f1c4675b920d3e7db21ef2ff7f55ea37 SHA256 da01c6dc5817f65ef5b779d9bb3e82c45b4aab2219b9cc6802fb94ab42c93ecb EBUILD plymouth-0.8.3-r4.ebuild 3284 RMD160 8e63f196e3b3c8272ae44a23048f4ee7df44f40d SHA1 2379e92fd712c3117f88033dd3fed5ce28e75de0 SHA256 e95c8d10652fe449752a65570d420fa84e27ae84b0d90ee3e612a216dddbbb20 EBUILD plymouth-0.8.3-r5.ebuild 2407 RMD160 24345de401f8839fe0c7f38becaf0d7d4869466b SHA1 296819df941528b7bc5dc1aa007e1d5f2ac3dfdf SHA256 74e0590d9491cacd5300f6d7c080defd8295b2b99d0f7cad1be562dfa85209ed -MISC ChangeLog 4074 RMD160 bfa71b8b1b857dbe7a95af31f95dddd1769fa3fa SHA1 99bd27aee88d104d9d6f30dbf01b6d0d73dd6752 SHA256 63c81ae902a6f8636503a8dd8c0a1008a44ea59c4c4845252068b57e93fcc5f8 -MISC metadata.xml 969 RMD160 13fc36eed685fe9360cf68c7603b2911df6a3bc1 SHA1 f5f951d4ade15a8bdbb7e6c71dc22da770023ec9 SHA256 955c609c859147a74074f7588bb05502fe60fc6dcb826bc30d7afa65fe5eb039 +EBUILD plymouth-0.9_pre20111013.ebuild 2273 RMD160 5eff48aba00f8570d02fd3eae2e471ad5c703753 SHA1 9017f261b166b0a608beaf1c7eb584e9c918b11d SHA256 0917fd180e6ecbc6d9faec88df5bd5df664b1a49da4e857af3ca28f5c6248d26 +MISC ChangeLog 4368 RMD160 0f6e4a4c382a1fcf06f686901eb6c19de36f95f3 SHA1 0bccebeea6233e6c4dfb60d0a49df36fcf61b316 SHA256 35a2fd334d8ee46f6ce228cf3a2fbf523206ddbc11427a3cd7de4374b2075df5 +MISC metadata.xml 1084 RMD160 0f9195c2fe72b820567c3bdcc887dc21bd9cdada SHA1 898ac516f4eee7131124552dbe349cc554017296 SHA256 a328ea1080deda78f60aa9167876ced93f4df92dc6781020947b4c10d6a86578 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iJwEAQEIAAYFAk59soEACgkQfXuS5UK5QB2s4AQAs26jzVjapkSM1GHNWgf/mH2K -jirAX0ZElKCN8SsGzDU0Vp9ClNR2AJGtnIM8z56Zs4ov+xSO8wR6EjUGcynh082U -xy33Y2rnNXZm3W7v7F201ku5n/LGSXta4IvAkQ6COebxNGVxH+pRVlRSPhdfoBAc -0LU3ZQi2p0n62ovCZGo= -=GNXC +iQEcBAEBAgAGBQJOnU2jAAoJEPATRTHh2/q1d9wH+QEzoZFAOLLptmy5y308y/S7 +xewwO1mtoE3Bqr3U46xJ8CNFCZiITWneWV9Wjo5h08RlNpA8J/QHaTka85eL3LGe +eyB59N07avn8ZWbzxvIhZouKm70aRPz3/XNH9WeVJ1OjvUq8abSn+Zf0ywbzgdjk +kNA1dKwAeGUmfsymF471ts9LbiylWab9CZjyYedsvfovGDqnoby0yPj4AzsUaZzJ +4eVQhGGxt7HQSTrtXpJPI1D3uNcyJhZHqS+uUGRLjmztbB6idAYWd+37AKYQkTTC +cGAeO4MaR1AlhO0mhPrh1jFU14ZEdj4UoIrXX/xEouTZeaUu+Ww2sxnFhPtQqvg= +=ii70 -----END PGP SIGNATURE----- diff --git a/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch b/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch new file mode 100644 index 000000000000..cb0f0d5af3bb --- /dev/null +++ b/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch @@ -0,0 +1,25 @@ +From 5fd3ed5a1f661eb1d99e1d4df5edad8410cc54e3 Mon Sep 17 00:00:00 2001 +From: root +Date: Sun, 25 Oct 2009 03:55:54 +0100 +Subject: [PATCH] Gentoo does not have /dev/fb, but /dev/fb0 (at least on i915 KMS) + +--- + src/plugins/renderers/frame-buffer/plugin.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/libply/ply-frame-buffer.c b/src/libply/ply-frame-buffer.c +index a1e4fcd..19aab4b 100644 +--- a/src/plugins/renderers/frame-buffer/plugin.c ++++ b/src/plugins/renderers/frame-buffer/plugin.c +@@ -46,7 +46,7 @@ + #include + + #ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME +-#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb" ++#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0" + #endif + + struct _ply_frame_buffer +-- +1.6.5 + diff --git a/sys-boot/plymouth/metadata.xml b/sys-boot/plymouth/metadata.xml index 3f55ebd9f38b..bbd0aa9bdd52 100644 --- a/sys-boot/plymouth/metadata.xml +++ b/sys-boot/plymouth/metadata.xml @@ -7,6 +7,8 @@ Enables smooth transition to GDM + Provides abstraction to the DRM drivers (intel, + nouveau and vmwgfx at this moment) Installs plugin for OpenRC Adds support for printing text on splash screen and text prompts, e.g. for password diff --git a/sys-boot/plymouth/plymouth-0.9_pre20111013.ebuild b/sys-boot/plymouth/plymouth-0.9_pre20111013.ebuild new file mode 100644 index 000000000000..a6ae170936bc --- /dev/null +++ b/sys-boot/plymouth/plymouth-0.9_pre20111013.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/plymouth-0.9_pre20111013.ebuild,v 1.1 2011/10/18 09:57:50 aidecoe Exp $ + +EAPI=4 + +inherit autotools-utils + +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="http://cgit.freedesktop.org/plymouth/" +SRC_URI=" + http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2 + http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE_VIDEO_CARDS="video_cards_intel video_cards_nouveau video_cards_radeon" +IUSE="${IUSE_VIDEO_CARDS} gdm +libkms +openrc +pango static-libs" + +CDEPEND=">=media-libs/libpng-1.2.16 + >=x11-libs/gtk+-2.12:2 + pango? ( >=x11-libs/pango-1.21 ) + video_cards_intel? ( x11-libs/libdrm[video_cards_intel] ) + video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] ) + video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] ) + " +DEPEND="${CDEPEND} + dev-util/pkgconfig + " +RDEPEND="${CDEPEND} + >=sys-kernel/dracut-008-r1[dracut_modules_plymouth] + openrc? ( sys-boot/plymouth-openrc-plugin ) + " + +DOCS=(AUTHORS README TODO) +PATCHES=( + "${FILESDIR}"/${PV}-gentoo-fb-path.patch + ) + +src_prepare() { + autotools-utils_src_prepare + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-system-root-install + $(use_enable libkms) + $(use_enable pango) + $(use_enable gdm gdm-transition) + $(use_enable video_cards_intel libdrm_intel) + $(use_enable video_cards_nouveau libdrm_nouveau) + $(use_enable video_cards_radeon libdrm_radeon) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + if use static-libs; then + mv "${D}/$(get_libdir)"/libply{,-splash-core}.{a,la} \ + "${D}/usr/$(get_libdir)"/ || die 'mv *.{a,la} files failed' + gen_usr_ldscript libply.so libply-splash-core.so + else + einfo "Removing /usr/$(get_libdir)/plymouth/*.la" + rm "${D}/usr/$(get_libdir)"/plymouth/{*.la,renderers/*.la} \ + || die 'rm *.la' + fi + + insinto /usr/share/plymouth + newins "${DISTDIR}"/gentoo-logo.png bizcom.png +} + +pkg_postinst() { + elog "Follow instructions on" + elog "" + elog " http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml" + elog "" + elog "to set up Plymouth." +} -- 2.26.2