Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/plymouth: plymouth-0.9.0.ebuild plymouth-9999.ebuild ChangeLog
Date: Sun, 06 Jul 2014 18:16:55
Message-Id: 20140706181651.322812004E@flycatcher.gentoo.org
1 maksbotan 14/07/06 18:16:51
2
3 Modified: ChangeLog
4 Added: plymouth-0.9.0.ebuild plymouth-9999.ebuild
5 Log:
6 Bump to 0.9.0, add live ebuild, bug #513338. Thanks to Enrico Tagliavini.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.52 sys-boot/plymouth/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 1 Mar 2014 19:21:50 -0000 1.51
24 +++ ChangeLog 6 Jul 2014 18:16:51 -0000 1.52
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-boot/plymouth
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.51 2014/03/01 19:21:50 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.52 2014/07/06 18:16:51 maksbotan Exp $
30 +
31 +*plymouth-0.9.0 (06 Jul 2014)
32 +*plymouth-9999 (06 Jul 2014)
33 +
34 + 06 Jul 2014; Maxim Koltsov <maksbotan@g.o> +plymouth-0.9.0.ebuild,
35 + +plymouth-9999.ebuild:
36 + Bump to 0.9.0, add live ebuild, bug #513338. Thanks to Enrico Tagliavini.
37
38 *plymouth-0.8.8-r5 (01 Mar 2014)
39
40
41
42
43 1.1 sys-boot/plymouth/plymouth-0.9.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.9.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.9.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: plymouth-0.9.0.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.9.0.ebuild,v 1.1 2014/07/06 18:16:51 maksbotan Exp $
53
54 EAPI=5
55
56 SRC_URI="
57 http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
58
59 if [[ ${PV} == 9999 ]]; then
60 EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
61 AUTOTOOLS_AUTORECONF="1"
62 inherit git-r3
63 else
64 SRC_URI="${SRC_URI} http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2"
65 fi
66
67 inherit autotools-utils readme.gentoo systemd toolchain-funcs
68
69 DESCRIPTION="Graphical boot animation (splash) and logger"
70 HOMEPAGE="http://cgit.freedesktop.org/plymouth/"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 [[ ${PV} == 9999 ]] || \
75 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
76 IUSE="debug gdm +gtk +libkms +pango static-libs"
77
78 CDEPEND="
79 >=media-libs/libpng-1.2.16
80 gtk? (
81 dev-libs/glib:2
82 >=x11-libs/gtk+-2.12:2
83 x11-libs/cairo )
84 libkms? ( x11-libs/libdrm[libkms] )
85 pango? ( >=x11-libs/pango-1.21 )
86 "
87 DEPEND="${CDEPEND}
88 virtual/pkgconfig
89 "
90 # Block due bug #383067
91 RDEPEND="${CDEPEND}
92 virtual/udev
93 !<sys-kernel/dracut-0.37-r3
94 "
95
96 DOC_CONTENTS="
97 Follow the following instructions to set up Plymouth:\n
98 http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml
99 "
100
101 src_prepare() {
102 autotools-utils_src_prepare
103 }
104
105 src_configure() {
106 local myeconfargs=(
107 --with-system-root-install=no
108 --localstatedir=/var
109 --without-rhgb-compat-link
110 --enable-systemd-integration
111 $(use_enable debug tracing)
112 $(use_enable gtk gtk)
113 $(use_enable libkms drm)
114 $(use_enable pango)
115 $(use_enable gdm gdm-transition)
116 )
117 autotools-utils_src_configure
118 }
119
120 src_install() {
121 autotools-utils_src_install
122
123 insinto /usr/share/plymouth
124 newins "${DISTDIR}"/gentoo-logo.png bizcom.png
125
126 # Install compatibility symlinks as some rdeps hardcode the paths
127 dosym /usr/bin/plymouth /bin/plymouth
128 dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
129 dosym /usr/sbin/plymouthd /sbin/plymouthd
130
131 readme.gentoo_create_doc
132
133 # looks like make install create /var/run/plymouth
134 # this is not needed for systemd, same should hold for openrc
135 # so remove
136 rm -rf "${D}"/var/run
137 }
138
139 pkg_postinst() {
140 readme.gentoo_print_elog
141 if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
142 ewarn "If you want initramfs builder with plymouth support, please emerge"
143 ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
144 fi
145 }
146
147
148
149 1.1 sys-boot/plymouth/plymouth-9999.ebuild
150
151 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-9999.ebuild?rev=1.1&view=markup
152 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-9999.ebuild?rev=1.1&content-type=text/plain
153
154 Index: plymouth-9999.ebuild
155 ===================================================================
156 # Copyright 1999-2014 Gentoo Foundation
157 # Distributed under the terms of the GNU General Public License v2
158 # $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/plymouth-9999.ebuild,v 1.1 2014/07/06 18:16:51 maksbotan Exp $
159
160 EAPI=5
161
162 SRC_URI="
163 http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
164
165 if [[ ${PV} == 9999 ]]; then
166 EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
167 AUTOTOOLS_AUTORECONF="1"
168 inherit git-r3
169 else
170 SRC_URI="${SRC_URI} http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2"
171 fi
172
173 inherit autotools-utils readme.gentoo systemd toolchain-funcs
174
175 DESCRIPTION="Graphical boot animation (splash) and logger"
176 HOMEPAGE="http://cgit.freedesktop.org/plymouth/"
177
178 LICENSE="GPL-2"
179 SLOT="0"
180 [[ ${PV} == 9999 ]] || \
181 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
182 IUSE="debug gdm +gtk +libkms +pango static-libs"
183
184 CDEPEND="
185 >=media-libs/libpng-1.2.16
186 gtk? (
187 dev-libs/glib:2
188 >=x11-libs/gtk+-2.12:2
189 x11-libs/cairo )
190 libkms? ( x11-libs/libdrm[libkms] )
191 pango? ( >=x11-libs/pango-1.21 )
192 "
193 DEPEND="${CDEPEND}
194 virtual/pkgconfig
195 "
196 # Block due bug #383067
197 RDEPEND="${CDEPEND}
198 virtual/udev
199 !<sys-kernel/dracut-0.37-r3
200 "
201
202 DOC_CONTENTS="
203 Follow the following instructions to set up Plymouth:\n
204 http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml
205 "
206
207 src_prepare() {
208 autotools-utils_src_prepare
209 }
210
211 src_configure() {
212 local myeconfargs=(
213 --with-system-root-install=no
214 --localstatedir=/var
215 --without-rhgb-compat-link
216 --enable-systemd-integration
217 $(use_enable debug tracing)
218 $(use_enable gtk gtk)
219 $(use_enable libkms drm)
220 $(use_enable pango)
221 $(use_enable gdm gdm-transition)
222 )
223 autotools-utils_src_configure
224 }
225
226 src_install() {
227 autotools-utils_src_install
228
229 insinto /usr/share/plymouth
230 newins "${DISTDIR}"/gentoo-logo.png bizcom.png
231
232 # Install compatibility symlinks as some rdeps hardcode the paths
233 dosym /usr/bin/plymouth /bin/plymouth
234 dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
235 dosym /usr/sbin/plymouthd /sbin/plymouthd
236
237 readme.gentoo_create_doc
238
239 # looks like make install create /var/run/plymouth
240 # this is not needed for systemd, same should hold for openrc
241 # so remove
242 rm -rf "${D}"/var/run
243 }
244
245 pkg_postinst() {
246 readme.gentoo_print_elog
247 if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
248 ewarn "If you want initramfs builder with plymouth support, please emerge"
249 ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
250 fi
251 }