1 |
ssuominen 14/03/26 08:51:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: upower-0.9.23-r2.ebuild |
5 |
Log: |
6 |
Apply upstream patch for clamping percentage for overfull batteries wrt #504574 by Krzysztof Nowicki and Till Schäfer |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.142 sys-power/upower/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.142&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.142&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?r1=1.141&r2=1.142 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v |
20 |
retrieving revision 1.141 |
21 |
retrieving revision 1.142 |
22 |
diff -u -r1.141 -r1.142 |
23 |
--- ChangeLog 19 Mar 2014 13:54:47 -0000 1.141 |
24 |
+++ ChangeLog 26 Mar 2014 08:51:04 -0000 1.142 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sys-power/upower |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.141 2014/03/19 13:54:47 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.142 2014/03/26 08:51:04 ssuominen Exp $ |
30 |
+ |
31 |
+*upower-0.9.23-r2 (26 Mar 2014) |
32 |
+ |
33 |
+ 26 Mar 2014; Samuli Suominen <ssuominen@g.o> |
34 |
+ +files/upower-0.9.23-clamp_percentage_for_overfull_batt.patch, |
35 |
+ +upower-0.9.23-r2.ebuild: |
36 |
+ Apply upstream patch for clamping percentage for overfull batteries wrt |
37 |
+ #504574 by Krzysztof Nowicki and Till Schäfer |
38 |
|
39 |
19 Mar 2014; Agostino Sarubbo <ago@g.o> upower-0.9.23.ebuild: |
40 |
Stable for alpha, wrt bug #496532 |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-power/upower/upower-0.9.23-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.9.23-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.9.23-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: upower-0.9.23-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.23-r2.ebuild,v 1.1 2014/03/26 08:51:04 ssuominen Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
inherit eutils systemd |
57 |
|
58 |
DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" |
59 |
HOMEPAGE="http://upower.freedesktop.org/" |
60 |
SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="doc +introspection ios kernel_FreeBSD kernel_linux systemd" |
66 |
|
67 |
COMMON_DEPEND=">=dev-libs/dbus-glib-0.100 |
68 |
>=dev-libs/glib-2.22 |
69 |
sys-apps/dbus |
70 |
>=sys-auth/polkit-0.110 |
71 |
introspection? ( dev-libs/gobject-introspection ) |
72 |
kernel_linux? ( |
73 |
virtual/libusb:1 |
74 |
>=virtual/udev-200[gudev] |
75 |
ios? ( |
76 |
>=app-pda/libimobiledevice-1:= |
77 |
>=app-pda/libplist-1:= |
78 |
) |
79 |
)" |
80 |
RDEPEND="${COMMON_DEPEND} |
81 |
kernel_linux? ( |
82 |
!systemd? ( >=sys-power/pm-utils-1.4.1 ) |
83 |
systemd? ( |
84 |
app-shells/bash |
85 |
>=sys-apps/systemd-200 |
86 |
) |
87 |
)" |
88 |
DEPEND="${COMMON_DEPEND} |
89 |
dev-libs/libxslt |
90 |
app-text/docbook-xsl-stylesheets |
91 |
dev-util/intltool |
92 |
virtual/pkgconfig |
93 |
doc? ( |
94 |
dev-util/gtk-doc |
95 |
app-text/docbook-xml-dtd:4.1.2 |
96 |
)" |
97 |
|
98 |
QA_MULTILIB_PATHS="usr/lib/${PN}/.*" |
99 |
|
100 |
DOCS="AUTHORS HACKING NEWS README" |
101 |
|
102 |
src_prepare() { |
103 |
sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
104 |
|
105 |
epatch \ |
106 |
"${FILESDIR}"/${P}-create-dir-runtime.patch \ |
107 |
"${FILESDIR}"/${P}-fix-segfault.patch \ |
108 |
"${FILESDIR}"/${P}-clamp_percentage_for_overfull_batt.patch |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
local backend myconf |
113 |
|
114 |
if use kernel_linux; then |
115 |
backend=linux |
116 |
myconf="$(use_enable !systemd deprecated)" |
117 |
elif use kernel_FreeBSD; then |
118 |
backend=freebsd |
119 |
else |
120 |
backend=dummy |
121 |
fi |
122 |
|
123 |
econf \ |
124 |
--libexecdir="${EPREFIX}"/usr/lib/${PN} \ |
125 |
--localstatedir="${EPREFIX}"/var \ |
126 |
$(use_enable introspection) \ |
127 |
--disable-static \ |
128 |
${myconf} \ |
129 |
--enable-man-pages \ |
130 |
$(use_enable doc gtk-doc) \ |
131 |
--disable-tests \ |
132 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
133 |
--with-backend=${backend} \ |
134 |
$(use_with ios idevice) \ |
135 |
"$(systemd_with_utildir)" \ |
136 |
"$(systemd_with_unitdir)" |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
default |
141 |
keepdir /var/lib/upower #383091 |
142 |
prune_libtool_files |
143 |
} |