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.8.8-r5.ebuild ChangeLog
Date: Sat, 01 Mar 2014 19:22:02
Message-Id: 20140301192150.B8ABB2004E@flycatcher.gentoo.org
1 maksbotan 14/03/01 19:21:50
2
3 Modified: ChangeLog
4 Added: plymouth-0.8.8-r5.ebuild
5 Log:
6 Add patch from upstream git to fix installation paths in populate-initrd, bug #499388. Thanks to Enrico Tagliavini.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.51 sys-boot/plymouth/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 2 Feb 2014 15:56:31 -0000 1.50
24 +++ ChangeLog 1 Mar 2014 19:21:50 -0000 1.51
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.50 2014/02/02 15:56:31 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/ChangeLog,v 1.51 2014/03/01 19:21:50 maksbotan Exp $
30 +
31 +*plymouth-0.8.8-r5 (01 Mar 2014)
32 +
33 + 01 Mar 2014; Maxim Koltsov <maksbotan@g.o>
34 + +files/0.8.8-initrd-binaries-paths.patch, +plymouth-0.8.8-r5.ebuild:
35 + Add patch from upstream git to fix installation paths in populate-initrd, bug
36 + #499388. Thanks to Enrico Tagliavini.
37
38 02 Feb 2014; Agostino Sarubbo <ago@g.o> plymouth-0.8.8-r4.ebuild:
39 Stable for sparc, wrt bug #487674
40
41
42
43 1.1 sys-boot/plymouth/plymouth-0.8.8-r5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.8-r5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/plymouth/plymouth-0.8.8-r5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: plymouth-0.8.8-r5.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.8.8-r5.ebuild,v 1.1 2014/03/01 19:21:50 maksbotan Exp $
53
54 EAPI=5
55
56 inherit autotools-utils readme.gentoo systemd toolchain-funcs
57
58 DESCRIPTION="Graphical boot animation (splash) and logger"
59 HOMEPAGE="http://cgit.freedesktop.org/plymouth/"
60 SRC_URI="
61 http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2
62 http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
67 IUSE_VIDEO_CARDS="video_cards_intel video_cards_radeon"
68 IUSE="${IUSE_VIDEO_CARDS} debug gdm +gtk +libkms +pango static-libs"
69
70 CDEPEND="
71 >=media-libs/libpng-1.2.16
72 gtk? (
73 dev-libs/glib:2
74 >=x11-libs/gtk+-2.12:2 )
75 libkms? ( x11-libs/libdrm[libkms] )
76 pango? ( >=x11-libs/pango-1.21 )
77 video_cards_intel? ( x11-libs/libdrm[video_cards_intel] )
78 video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] )
79 "
80 DEPEND="${CDEPEND}
81 virtual/pkgconfig
82 "
83 # Block due bug #383067
84 RDEPEND="${CDEPEND}
85 virtual/udev
86 "
87
88 DOC_CONTENTS="
89 Follow the following instructions to set up Plymouth:\n
90 http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml
91 "
92
93 PATCHES=(
94 "${FILESDIR}/0.8.8-initrd-binaries-paths.patch"
95 )
96
97 src_prepare() {
98 sed -i 's:/bin/systemd-tty-ask-password-agent:/usr/bin/systemd-tty-ask-password-agent:g' \
99 systemd-units/systemd-ask-password-plymouth.service.in || die \
100 'ask-password sed failed'
101 sed -i 's:/bin/udevadm:/usr/bin/udevadm:g' \
102 systemd-units/plymouth-start.service.in || die 'udevadm sed failed'
103 autotools-utils_src_prepare
104 }
105
106 src_configure() {
107 local myeconfargs=(
108 --with-system-root-install=no
109 --localstatedir=/var
110 --without-rhgb-compat-link
111 --enable-systemd-integration
112 $(use_enable debug tracing)
113 $(use_enable gtk gtk)
114 $(use_enable libkms)
115 $(use_enable pango)
116 $(use_enable gdm gdm-transition)
117 $(use_enable video_cards_intel libdrm_intel)
118 $(use_enable video_cards_radeon libdrm_radeon)
119 )
120 autotools-utils_src_configure
121 }
122
123 src_install() {
124 autotools-utils_src_install
125
126 insinto /usr/share/plymouth
127 newins "${DISTDIR}"/gentoo-logo.png bizcom.png
128
129 # Install compatibility symlinks as some rdeps hardcode the paths
130 dosym /usr/bin/plymouth /bin/plymouth
131 dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
132 dosym /usr/sbin/plymouthd /sbin/plymouthd
133
134 readme.gentoo_create_doc
135 }
136
137 pkg_postinst() {
138 readme.gentoo_print_elog
139 if ! has_version "sys-kernel/dracut[dracut_modules_plymouth]" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
140 ewarn "If you want initramfs builder with plymouth support, please emerge"
141 ewarn "sys-kernel/dracut[dracut_modules_plymouth] or sys-kernel/genkernel-next[plymouth]."
142 fi
143 }