1 |
aidecoe 11/02/21 21:08:17 |
2 |
|
3 |
Added: ChangeLog metadata.xml plymouth-0.8.3.ebuild |
4 |
Log: |
5 |
sys-boot/plymouth: Initial ebuild - 0.8.3. See bug #274065. |
6 |
|
7 |
(Portage version: 2.1.9.40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-boot/plymouth/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
# ChangeLog for sys-boot/plymouth |
18 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
19 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.1 2011/02/21 21:08:17 aidecoe Exp $ |
20 |
|
21 |
*plymouth-0.8.3 (21 Feb 2011) |
22 |
|
23 |
21 Feb 2011; Amadeusz Żołnowski <aidecoe@g.o> |
24 |
+files/0.8.3-drm-reduce-minimum-build-requirements.patch, |
25 |
+files/0.8.3-gentoo-fb-path.patch, +plymouth-0.8.3.ebuild, |
26 |
+files/0.8.3-image-replace-deprecated-libpng-function.patch, |
27 |
+files/gentoo-logo.png, +files/plymouth.initd, +metadata.xml: |
28 |
Initial ebuild is derived from attachment #208174[0] (by Christoph Brill |
29 |
<egore@×××.de> in year 2009) and has gone through major modifications (see |
30 |
bug #274065[1] for its history) to eventually see the light of day. |
31 |
|
32 |
I'd like to thank to all contributors for improving the ebuild (in time |
33 |
order): |
34 |
|
35 |
Christoph Brill <egore@×××.de> |
36 |
jcat <jcat@×××××××××××××.uk> |
37 |
Martin Benz <benson@×××.ch> |
38 |
Anton Bolshakov <anton.bugs@×××××.com> |
39 |
Favero Francesco <francbilug@×××××.com> |
40 |
Lucian Muresan <lucianm@×××××××××××××××××.net> |
41 |
|
42 |
Thanks to Lucian Muresan also for patch making DRM drivers optional (already |
43 |
applied upstream). |
44 |
|
45 |
Special thanks to people who helped me with testing (alphabetical order): |
46 |
|
47 |
Michael "brot" Groh <brot@×××××.de> |
48 |
Szymon "chaos" Szypulski <ch4os@××××.org> (who also provided me with |
49 |
hardware to continue testing) |
50 |
|
51 |
Gentoo Logo was customized by Michael Groh. |
52 |
|
53 |
[0] https://bugs.gentoo.org/attachment.cgi?id=208174 |
54 |
[1] https://bugs.gentoo.org/274065 |
55 |
|
56 |
|
57 |
|
58 |
1.1 sys-boot/plymouth/metadata.xml |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/metadata.xml?rev=1.1&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/metadata.xml?rev=1.1&content-type=text/plain |
62 |
|
63 |
Index: metadata.xml |
64 |
=================================================================== |
65 |
<?xml version="1.0" encoding="UTF-8"?> |
66 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
67 |
<pkgmetadata> |
68 |
<herd>no-herd</herd> |
69 |
<maintainer> |
70 |
<email>aidecoe@g.o</email> |
71 |
<name>Amadeusz Żołnowski</name> |
72 |
</maintainer> |
73 |
<use> |
74 |
<flag name="gdm">Enable smooth transition to GDM</flag> |
75 |
<flag name="pango">Adds support for printing text on splash screen and |
76 |
text prompts, e.g. for password</flag> |
77 |
</use> |
78 |
<longdescription lang="en"> |
79 |
Plymouth is an application that runs very early in the boot process |
80 |
(even before the root filesystem is mounted!) that provides a graphical |
81 |
boot animation while the boot process happens in the background. |
82 |
|
83 |
It is designed to work on systems with DRM modesetting drivers. Ideally, |
84 |
the goal is to get rid of all flicker during startup. For systems that |
85 |
don't have DRM mode settings drivers, plymouth falls back to text mode. |
86 |
</longdescription> |
87 |
</pkgmetadata> |
88 |
|
89 |
|
90 |
|
91 |
1.1 sys-boot/plymouth/plymouth-0.8.3.ebuild |
92 |
|
93 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3.ebuild?rev=1.1&view=markup |
94 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3.ebuild?rev=1.1&content-type=text/plain |
95 |
|
96 |
Index: plymouth-0.8.3.ebuild |
97 |
=================================================================== |
98 |
# Copyright 1999-2011 Gentoo Foundation |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3.ebuild,v 1.1 2011/02/21 21:08:17 aidecoe Exp $ |
101 |
|
102 |
EAPI="3" |
103 |
|
104 |
inherit autotools-utils |
105 |
|
106 |
DESCRIPTION="Graphical boot animation (splash) and logger" |
107 |
HOMEPAGE="http://cgit.freedesktop.org/plymouth/" |
108 |
SRC_URI="http://cgit.freedesktop.org/${PN}/snapshot/${P}.tar.bz2" |
109 |
LICENSE="GPL-2" |
110 |
SLOT="0" |
111 |
KEYWORDS="~amd64" |
112 |
|
113 |
IUSE_VIDEO_CARDS="video_cards_intel video_cards_nouveau video_cards_radeon" |
114 |
IUSE="${IUSE_VIDEO_CARDS} +branding gdm +pango" |
115 |
|
116 |
DEPEND=">=media-libs/libpng-1.2.16 |
117 |
>=x11-libs/gtk+-2.12 |
118 |
pango? ( >=x11-libs/pango-1.21 ) |
119 |
video_cards_intel? ( x11-libs/libdrm[video_cards_intel] ) |
120 |
video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] ) |
121 |
video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] ) |
122 |
" |
123 |
RDEPEND="${DEPEND} |
124 |
>=sys-kernel/dracut-007 |
125 |
" |
126 |
|
127 |
PATCHES=( |
128 |
"${FILESDIR}"/${PV}-drm-reduce-minimum-build-requirements.patch |
129 |
"${FILESDIR}"/${PV}-image-replace-deprecated-libpng-function.patch |
130 |
"${FILESDIR}"/${PV}-gentoo-fb-path.patch |
131 |
) |
132 |
|
133 |
src_prepare() { |
134 |
autotools-utils_src_prepare |
135 |
eautoreconf || die "eautoreconf failed" |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
econf \ |
140 |
--enable-static=no \ |
141 |
$(use_enable pango) \ |
142 |
$(use_enable gdm gdm-transition) \ |
143 |
$(use_enable video_cards_intel libdrm_intel) \ |
144 |
$(use_enable video_cards_nouveau libdrm_nouveau) \ |
145 |
$(use_enable video_cards_radeon libdrm_radeon) \ |
146 |
|| die "econf failed" |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
autotools-utils_src_install |
151 |
|
152 |
mv "${D}/$(get_libdir)"/libply{,-splash-core}.la \ |
153 |
"${D}/usr/${get_libdir}"/ || die 'mv *.la files failed' |
154 |
|
155 |
newinitd "${FILESDIR}"/plymouth.initd plymouth || die 'initd failed' |
156 |
|
157 |
if use branding ; then |
158 |
insinto /usr/share/plymouth |
159 |
newins "${FILESDIR}"/gentoo-logo.png bizcom.png \ |
160 |
|| die 'branding failed' |
161 |
fi |
162 |
} |
163 |
|
164 |
pkg_postinst() { |
165 |
elog "Plymouth initramfs utilities scripts are located in" |
166 |
elog "/usr/libexec/plymouth" |
167 |
elog "" |
168 |
elog "Follow instructions on <http://en.gentoo-wiki.com/wiki/Plymouth> to" |
169 |
elog "setup Plymouth." |
170 |
echo |
171 |
ewarn "You need to disable 'interactive' feature either in /etc/conf.d/rc" |
172 |
ewarn "(baselayout-1) or /etc/rc.conf (OpenRC) to make Plymouth work" |
173 |
ewarn "properly with init system." |
174 |
} |