Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/splash-themes-livedvd/, media-gfx/splash-themes-livedvd/files/
Date: Sun, 21 Feb 2016 11:09:37
Message-Id: 1456007896.2d7cc6fb2ac5f777b8213b1c59d01bb90826a616.mgorny@gentoo
1 commit: 2d7cc6fb2ac5f777b8213b1c59d01bb90826a616
2 Author: Lara Maia <dev <AT> lara <DOT> click>
3 AuthorDate: Thu Feb 18 16:06:25 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 22:38:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7cc6fb
7
8 media-gfx/splash-themes-livedvd: Use functions.sh from gentoo-functions
9
10 Update rc_init-pre to use new path for functions.sh
11
12 https://bugs.gentoo.org/show_bug.cgi?id=504406
13
14 .../files/use-new-path-for-functions.sh.patch | 11 +++++++
15 .../splash-themes-livedvd-12.0-r2.ebuild | 34 ++++++++++++++++++++++
16 2 files changed, 45 insertions(+)
17
18 diff --git a/media-gfx/splash-themes-livedvd/files/use-new-path-for-functions.sh.patch b/media-gfx/splash-themes-livedvd/files/use-new-path-for-functions.sh.patch
19 new file mode 100644
20 index 0000000..62f269e
21 --- /dev/null
22 +++ b/media-gfx/splash-themes-livedvd/files/use-new-path-for-functions.sh.patch
23 @@ -0,0 +1,11 @@
24 +--- scripts/rc_init-pre.orig 2016-02-18 13:31:23.610276701 -0200
25 ++++ scripts/rc_init-pre 2016-02-18 13:31:57.405275206 -0200
26 +@@ -77,7 +77,7 @@
27 + return 0
28 + }
29 +
30 +-[ -r /etc/init.d/functions.sh ] && . /etc/init.d/functions.sh
31 ++[ -r /lib/gentoo/functions.sh ] && . /lib/gentoo/functions.sh
32 +
33 + if [ -z "${1}" ]; then
34 + log err "no internal runlevel provided"
35
36 diff --git a/media-gfx/splash-themes-livedvd/splash-themes-livedvd-12.0-r2.ebuild b/media-gfx/splash-themes-livedvd/splash-themes-livedvd-12.0-r2.ebuild
37 new file mode 100644
38 index 0000000..1c6c31a
39 --- /dev/null
40 +++ b/media-gfx/splash-themes-livedvd/splash-themes-livedvd-12.0-r2.ebuild
41 @@ -0,0 +1,34 @@
42 +# Copyright 1999-2016 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +# $Id$
45 +
46 +EAPI=5
47 +
48 +inherit eutils
49 +
50 +DESCRIPTION="Gentoo theme for gensplash consoles"
51 +HOMEPAGE="https://www.gentoo.org/"
52 +SRC_URI="https://dev.gentoo.org/~tampakrap/tarballs/${P}.tar.bz2"
53 +
54 +LICENSE="Artistic GPL-2 BitstreamVera"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +IUSE=""
58 +
59 +RESTRICT="binchecks strip"
60 +
61 +DEPEND=">=media-gfx/splashutils-1.4.1[png]"
62 +RDEPEND="${DEPEND}
63 + sys-apps/gentoo-functions"
64 +
65 +src_prepare() {
66 + epatch "${FILESDIR}"/use-new-path-for-functions.sh.patch
67 +}
68 +
69 +src_install() {
70 + dodir /etc/splash/livedvd-${PV}
71 + insinto /etc/splash/livedvd-${PV}
72 + doins -r *
73 + insopts -m 0755
74 + doins -r scripts
75 +}