Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/pm-utils: pm-utils-1.4.1-r3.ebuild ChangeLog
Date: Wed, 04 Jun 2014 19:51:54
Message-Id: 20140604195149.9EC832004E@flycatcher.gentoo.org
1 ssuominen 14/06/04 19:51:49
2
3 Modified: ChangeLog
4 Added: pm-utils-1.4.1-r3.ebuild
5 Log:
6 Inhibit on right status wrt #360673 by Gerard Neil
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.66 sys-power/pm-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 1 Sep 2013 10:43:25 -0000 1.65
24 +++ ChangeLog 4 Jun 2014 19:51:49 -0000 1.66
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-power/pm-utils
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.65 2013/09/01 10:43:25 eva Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.66 2014/06/04 19:51:49 ssuominen Exp $
31 +
32 +*pm-utils-1.4.1-r3 (04 Jun 2014)
33 +
34 + 04 Jun 2014; Samuli Suominen <ssuominen@g.o>
35 + +files/1.4.1-inhibit-on-right-status.patch, +pm-utils-1.4.1-r3.ebuild:
36 + Inhibit on right status wrt #360673 by Gerard Neil
37
38 01 Sep 2013; Gilles Dartiguelongue <eva@g.o> pm-utils-1.4.1-r2.ebuild:
39 Do not install docs twice, bug #396351.
40 @@ -282,4 +288,3 @@
41 23 Nov 2007; Saleem Abdulrasool <compnerd@g.o> +metadata.xml,
42 +pm-utils-0.99.4.ebuild:
43 Initial commit of pm-utils for HAL 0.5.10
44 -
45
46
47
48 1.1 sys-power/pm-utils/pm-utils-1.4.1-r3.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r3.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r3.ebuild?rev=1.1&content-type=text/plain
52
53 Index: pm-utils-1.4.1-r3.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-1.4.1-r3.ebuild,v 1.1 2014/06/04 19:51:49 ssuominen Exp $
58
59 EAPI=5
60 inherit eutils
61
62 DESCRIPTION="Suspend and hibernation utilities"
63 HOMEPAGE="http://pm-utils.freedesktop.org/"
64 SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
69 IUSE="alsa debug ntp video_cards_intel video_cards_radeon"
70
71 vbetool="!video_cards_intel? ( sys-apps/vbetool )"
72 RDEPEND="!<app-laptop/laptop-mode-tools-1.55-r1
73 !sys-power/powermgmt-base[-pm-utils(+)]
74 sys-apps/dbus
75 >=sys-apps/util-linux-2.13
76 sys-power/pm-quirks
77 alsa? ( media-sound/alsa-utils )
78 ntp? ( || ( net-misc/ntp net-misc/openntpd ) )
79 amd64? ( ${vbetool} )
80 x86? ( ${vbetool} )
81 video_cards_radeon? ( app-laptop/radeontool )"
82 DEPEND="${RDEPEND}"
83
84 DOCS="AUTHORS ChangeLog NEWS pm/HOWTO* README* TODO"
85
86 src_prepare() {
87 local ignore="01grub"
88 use ntp || ignore+=" 90clock"
89
90 use debug && echo 'PM_DEBUG="true"' > "${T}"/gentoo
91 echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${T}"/gentoo
92
93 epatch \
94 "${FILESDIR}"/${PV}-bluetooth-sync.patch \
95 "${FILESDIR}"/${PV}-disable-sata-alpm.patch \
96 "${FILESDIR}"/${PV}-fix-intel-audio-powersave-hook.patch \
97 "${FILESDIR}"/${PV}-logging-append.patch \
98 "${FILESDIR}"/${PV}-inhibit-on-right-status.patch
99
100 }
101
102 src_configure() {
103 econf --disable-doc
104 }
105
106 src_install() {
107 default
108 doman man/*.{1,8}
109
110 # Remove duplicate documentation install
111 rm -r "${D}"/usr/share/doc/${PN}
112
113 insinto /etc/pm/config.d
114 doins "${T}"/gentoo
115
116 # NetworkManager 0.8.2 is handling suspend/resume on it's own with UPower
117 find "${D}" -type f -name 55NetworkManager -exec rm -f '{}' +
118 }