1 |
aidecoe 11/06/28 18:54:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plymouth-0.8.3-r4.ebuild |
5 |
Removed: plymouth-0.8.3-r3.ebuild |
6 |
Log: |
7 |
sys-boot/plymouth: Rev-bump to 0.8.3-r4; fix --localstatedir |
8 |
|
9 |
(Portage version: 2.1.10.3/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.12 sys-boot/plymouth/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.12&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.12&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?r1=1.11&r2=1.12 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v |
21 |
retrieving revision 1.11 |
22 |
retrieving revision 1.12 |
23 |
diff -u -r1.11 -r1.12 |
24 |
--- ChangeLog 7 Jun 2011 21:14:10 -0000 1.11 |
25 |
+++ ChangeLog 28 Jun 2011 18:54:43 -0000 1.12 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-boot/plymouth |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.11 2011/06/07 21:14:10 aidecoe Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.12 2011/06/28 18:54:43 aidecoe Exp $ |
31 |
+ |
32 |
+*plymouth-0.8.3-r4 (28 Jun 2011) |
33 |
+ |
34 |
+ 28 Jun 2011; Amadeusz Żołnowski <aidecoe@g.o> |
35 |
+ -plymouth-0.8.3-r3.ebuild, +plymouth-0.8.3-r4.ebuild: |
36 |
+ Fix --localstatedir |
37 |
|
38 |
07 Jun 2011; Amadeusz Żołnowski <aidecoe@g.o> |
39 |
-plymouth-0.8.3-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-boot/plymouth/plymouth-0.8.3-r4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3-r4.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3-r4.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: plymouth-0.8.3-r4.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/plymouth-0.8.3-r4.ebuild,v 1.1 2011/06/28 18:54:43 aidecoe Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
inherit autotools-utils |
57 |
|
58 |
PLGN="plymouth-openrc-plugin" |
59 |
PLGV="0.1.1" |
60 |
PLG="${PLGN}-${PLGV}" |
61 |
|
62 |
DESCRIPTION="Graphical boot animation (splash) and logger" |
63 |
HOMEPAGE="http://cgit.freedesktop.org/plymouth/" |
64 |
SRC_URI="http://cgit.freedesktop.org/${PN}/snapshot/${P}.tar.bz2 |
65 |
http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png |
66 |
http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${PLG}.tar.bz2" |
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
|
71 |
IUSE_VIDEO_CARDS="video_cards_intel video_cards_nouveau video_cards_radeon" |
72 |
IUSE="${IUSE_VIDEO_CARDS} +branding gdm +pango static-libs" |
73 |
|
74 |
DEPEND=">=media-libs/libpng-1.2.16 |
75 |
>=x11-libs/gtk+-2.12:2 |
76 |
>=sys-apps/openrc-0.8.2-r1 |
77 |
pango? ( >=x11-libs/pango-1.21 ) |
78 |
video_cards_intel? ( x11-libs/libdrm[video_cards_intel] ) |
79 |
video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] ) |
80 |
video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] ) |
81 |
" |
82 |
RDEPEND="${DEPEND} |
83 |
>=sys-kernel/dracut-008-r1[dracut_modules_plymouth] |
84 |
" |
85 |
|
86 |
DOCS=(AUTHORS ChangeLog NEWS README TODO) |
87 |
|
88 |
PATCHES=( |
89 |
"${FILESDIR}"/${PV}-drm-reduce-minimum-build-requirements.patch |
90 |
"${FILESDIR}"/${PV}-image-replace-deprecated-libpng-function.patch |
91 |
"${FILESDIR}"/${PV}-gentoo-fb-path.patch |
92 |
) |
93 |
|
94 |
SP="${WORKDIR}/${PLG}" |
95 |
|
96 |
src_prepare() { |
97 |
autotools-utils_src_prepare |
98 |
eautoreconf |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
local myeconfargs=( |
103 |
--localstatedir=/var |
104 |
$(use_enable pango) |
105 |
$(use_enable gdm gdm-transition) |
106 |
$(use_enable video_cards_intel libdrm_intel) |
107 |
$(use_enable video_cards_nouveau libdrm_nouveau) |
108 |
$(use_enable video_cards_radeon libdrm_radeon) |
109 |
) |
110 |
autotools-utils_src_configure |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
autotools-utils_src_compile |
115 |
|
116 |
cd "${SP}" |
117 |
emake || die 'emake' |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
autotools-utils_src_install |
122 |
|
123 |
if use static-libs; then |
124 |
mv "${D}/$(get_libdir)"/libply{,-splash-core}.{a,la} \ |
125 |
"${D}/usr/$(get_libdir)"/ || die 'mv *.{a,la} files failed' |
126 |
gen_usr_ldscript libply.so libply-splash-core.so |
127 |
else |
128 |
einfo "Removing /usr/$(get_libdir)/plymouth/*.la" |
129 |
rm "${D}/usr/$(get_libdir)"/plymouth/{*.la,renderers/*.la} \ |
130 |
|| die 'rm *.la' |
131 |
fi |
132 |
|
133 |
if use branding ; then |
134 |
insinto /usr/share/plymouth |
135 |
newins "${DISTDIR}"/gentoo-logo.png bizcom.png || die 'branding failed' |
136 |
fi |
137 |
|
138 |
cd "${SP}" |
139 |
insinto /$(get_libdir)/rc/plugins |
140 |
doins plymouth.so |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
elog "Follow instructions on" |
145 |
elog "" |
146 |
elog " http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml" |
147 |
elog "" |
148 |
elog "to setup Plymouth." |
149 |
echo |
150 |
ewarn "You need to disable 'interactive' feature in /etc/rc.conf to make" |
151 |
ewarn "Plymouth work properly with init system." |
152 |
|
153 |
if [[ ! -w /run ]]; then |
154 |
eerror "You need to create /run directory. It's required by Plymouth " |
155 |
eerror "plugin for OpenRC (and will be by Plymouth itself in the future" |
156 |
eerror "versions). Dracut is mounting tmpfs under this directory when" |
157 |
eerror "available." |
158 |
echo |
159 |
elog "If you'd like to know more about purpose of /run, please read:" |
160 |
elog "" |
161 |
elog " https://lwn.net/Articles/436012/" |
162 |
elog "" |
163 |
fi |
164 |
} |