1 |
ssuominen 14/06/04 21:25:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: upower-0.99.0-r1.ebuild |
5 |
Log: |
6 |
backport upstream fixes |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.154 sys-power/upower/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.154&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.154&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?r1=1.153&r2=1.154 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v |
20 |
retrieving revision 1.153 |
21 |
retrieving revision 1.154 |
22 |
diff -u -r1.153 -r1.154 |
23 |
--- ChangeLog 2 Jun 2014 23:09:30 -0000 1.153 |
24 |
+++ ChangeLog 4 Jun 2014 21:25:54 -0000 1.154 |
25 |
@@ -1,6 +1,16 @@ |
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.153 2014/06/02 23:09:30 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.154 2014/06/04 21:25:54 ssuominen Exp $ |
30 |
+ |
31 |
+*upower-0.99.0-r1 (04 Jun 2014) |
32 |
+ |
33 |
+ 04 Jun 2014; Samuli Suominen <ssuominen@g.o> +upower-0.99.0-r1.ebuild, |
34 |
+ +files/upower-0.99.0-create-dir-runtime.patch, |
35 |
+ +files/upower-0.99.0-fix-segfault.patch, |
36 |
+ +files/upower-0.99.0-fix-shutdown-on-boot.patch, |
37 |
+ +files/upower-0.99.0-fix-typing-error.patch: |
38 |
+ Backport fixes from git master (segfaulting, creating directories on fly, |
39 |
+ shutting down on boot, and typing errors) |
40 |
|
41 |
02 Jun 2014; Samuli Suominen <ssuominen@g.o> -upower-0.9.23-r2.ebuild: |
42 |
old |
43 |
@@ -27,11 +37,6 @@ |
44 |
Stabilize for everyone (only non-arch specific minor bugfixes when comparing |
45 |
to current stable, which is -r0) |
46 |
|
47 |
- 26 May 2014; Samuli Suominen <ssuominen@g.o> upower-0.99.0.ebuild: |
48 |
- This release is mainly for use with sys-apps/systemd because upstream removed |
49 |
- support for sys-power/pm-utils completely from git master. The 0.9 branch is |
50 |
- for sys-power/pm-utils use. Adjust ebuild accordingly. |
51 |
- |
52 |
28 Mar 2014; Rick Farina <zerochaos@g.o> upower-0.9.23-r2.ebuild, |
53 |
upower-0.99.0.ebuild: |
54 |
reverting deps on lib[g]udev due to bug #506114 |
55 |
@@ -77,7 +82,8 @@ |
56 |
|
57 |
27 Feb 2014; Samuli Suominen <ssuominen@g.o> +upower-0.99.0.ebuild: |
58 |
Version bump without KEYWORDS because of major API change. Introduce subslot |
59 |
- 0/2 based on libupower-glib.so SONAME. |
60 |
+ 0/2 based on libupower-glib.so SONAME. Notice that upstream removed support |
61 |
+ for hibernate and suspend in this version. |
62 |
|
63 |
27 Feb 2014; Samuli Suominen <ssuominen@g.o> upower-0.9.23.ebuild: |
64 |
amd64 stable wrt #496532 |
65 |
|
66 |
|
67 |
|
68 |
1.1 sys-power/upower/upower-0.99.0-r1.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: upower-0.99.0-r1.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2014 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild,v 1.1 2014/06/04 21:25:54 ssuominen Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
inherit eutils systemd |
81 |
|
82 |
DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" |
83 |
HOMEPAGE="http://upower.freedesktop.org/" |
84 |
SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz" |
85 |
|
86 |
LICENSE="GPL-2" |
87 |
SLOT="0/2" # based on SONAME of libupower-glib.so |
88 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
89 |
IUSE="doc +introspection ios kernel_FreeBSD kernel_linux" |
90 |
|
91 |
RDEPEND=">=dev-libs/dbus-glib-0.100 |
92 |
>=dev-libs/glib-2.30 |
93 |
sys-apps/dbus:= |
94 |
>=sys-auth/polkit-0.110 |
95 |
introspection? ( dev-libs/gobject-introspection ) |
96 |
kernel_linux? ( |
97 |
virtual/libusb:1 |
98 |
virtual/libgudev:= |
99 |
virtual/udev |
100 |
ios? ( |
101 |
>=app-pda/libimobiledevice-1:= |
102 |
>=app-pda/libplist-1:= |
103 |
) |
104 |
)" |
105 |
DEPEND="${RDEPEND} |
106 |
dev-libs/libxslt |
107 |
app-text/docbook-xsl-stylesheets |
108 |
dev-util/intltool |
109 |
virtual/pkgconfig |
110 |
doc? ( |
111 |
dev-util/gtk-doc |
112 |
app-text/docbook-xml-dtd:4.1.2 |
113 |
)" |
114 |
|
115 |
QA_MULTILIB_PATHS="usr/lib/${PN}/.*" |
116 |
|
117 |
DOCS="AUTHORS HACKING NEWS README" |
118 |
|
119 |
src_prepare() { |
120 |
sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
121 |
|
122 |
epatch \ |
123 |
"${FILESDIR}"/${P}-create-dir-runtime.patch \ |
124 |
"${FILESDIR}"/${P}-fix-shutdown-on-boot.patch \ |
125 |
"${FILESDIR}"/${P}-fix-segfault.patch \ |
126 |
"${FILESDIR}"/${P}-fix-typing-error.patch |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
local backend myconf |
131 |
|
132 |
if use kernel_linux; then |
133 |
backend=linux |
134 |
elif use kernel_FreeBSD; then |
135 |
backend=freebsd |
136 |
else |
137 |
backend=dummy |
138 |
fi |
139 |
|
140 |
econf \ |
141 |
--libexecdir="${EPREFIX}"/usr/lib/${PN} \ |
142 |
--localstatedir="${EPREFIX}"/var \ |
143 |
$(use_enable introspection) \ |
144 |
--disable-static \ |
145 |
${myconf} \ |
146 |
--enable-man-pages \ |
147 |
$(use_enable doc gtk-doc) \ |
148 |
--disable-tests \ |
149 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
150 |
--with-backend=${backend} \ |
151 |
$(use_with ios idevice) \ |
152 |
"$(systemd_with_utildir)" \ |
153 |
"$(systemd_with_unitdir)" |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
default |
158 |
keepdir /var/lib/upower #383091 |
159 |
prune_libtool_files |
160 |
} |