From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/upower-pm-utils: upower-pm-utils-0.9.23-r1.ebuild ChangeLog |
Date: | Mon, 02 Jun 2014 21:39:12 |
Message-Id: | 20140602213907.34B6E2004E@flycatcher.gentoo.org |
1 | ssuominen 14/06/02 21:39:07 |
2 | |
3 | Modified: ChangeLog |
4 | Added: upower-pm-utils-0.9.23-r1.ebuild |
5 | Log: |
6 | Pass -DUPOWER_ENABLE_DEPRECATED from "Cflags: " of upower-glib.pc wrt http://bugzilla.xfce.org/show_bug.cgi?id=10931 and http://bugs.freedesktop.org/show_bug.cgi?id=79565 |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 | |
10 | Revision Changes Path |
11 | 1.4 sys-power/upower-pm-utils/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower-pm-utils/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower-pm-utils/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower-pm-utils/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-power/upower-pm-utils/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 2 Jun 2014 12:48:21 -0000 1.3 |
24 | +++ ChangeLog 2 Jun 2014 21:39:07 -0000 1.4 |
25 | @@ -1,6 +1,14 @@ |
26 | # ChangeLog for sys-power/upower-pm-utils |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-power/upower-pm-utils/ChangeLog,v 1.3 2014/06/02 12:48:21 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower-pm-utils/ChangeLog,v 1.4 2014/06/02 21:39:07 ssuominen Exp $ |
30 | + |
31 | +*upower-pm-utils-0.9.23-r1 (02 Jun 2014) |
32 | + |
33 | + 02 Jun 2014; Samuli Suominen <ssuominen@g.o> |
34 | + +upower-pm-utils-0.9.23-r1.ebuild: |
35 | + Pass -DUPOWER_ENABLE_DEPRECATED from "Cflags: " of upower-glib.pc wrt |
36 | + http://bugzilla.xfce.org/show_bug.cgi?id=10931 and |
37 | + http://bugs.freedesktop.org/show_bug.cgi?id=79565 |
38 | |
39 | 02 Jun 2014; Samuli Suominen <ssuominen@g.o> |
40 | upower-pm-utils-0.9.23.ebuild: |
41 | |
42 | |
43 | |
44 | 1.1 sys-power/upower-pm-utils/upower-pm-utils-0.9.23-r1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower-pm-utils/upower-pm-utils-0.9.23-r1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower-pm-utils/upower-pm-utils-0.9.23-r1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: upower-pm-utils-0.9.23-r1.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-pm-utils/upower-pm-utils-0.9.23-r1.ebuild,v 1.1 2014/06/02 21:39:06 ssuominen Exp $ |
54 | |
55 | EAPI=5 |
56 | inherit eutils systemd |
57 | |
58 | DESCRIPTION="The upstream upower 0.9 git branch for use with sys-power/pm-utils" |
59 | HOMEPAGE="http://upower.freedesktop.org/" |
60 | SRC_URI="http://upower.freedesktop.org/releases/upower-${PV}.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" |
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/libgudev:= |
75 | virtual/udev |
76 | ios? ( |
77 | >=app-pda/libimobiledevice-1:= |
78 | >=app-pda/libplist-1:= |
79 | ) |
80 | ) |
81 | !sys-power/upower" |
82 | RDEPEND="${COMMON_DEPEND} |
83 | kernel_linux? ( >=sys-power/pm-utils-1.4.1 )" |
84 | DEPEND="${COMMON_DEPEND} |
85 | dev-libs/libxslt |
86 | app-text/docbook-xsl-stylesheets |
87 | dev-util/intltool |
88 | virtual/pkgconfig |
89 | doc? ( |
90 | dev-util/gtk-doc |
91 | app-text/docbook-xml-dtd:4.1.2 |
92 | )" |
93 | |
94 | QA_MULTILIB_PATHS="usr/lib/upower/.*" |
95 | |
96 | DOCS="AUTHORS HACKING NEWS README" |
97 | |
98 | S=${WORKDIR}/upower-${PV} |
99 | |
100 | src_prepare() { |
101 | sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
102 | |
103 | # http://bugs.freedesktop.org/show_bug.cgi?id=79565 |
104 | # http://bugzilla.xfce.org/show_bug.cgi?id=10931 |
105 | sed -i -e 's|Cflags: |&-DUPOWER_ENABLE_DEPRECATED |' upower-glib.pc.in || die |
106 | |
107 | epatch \ |
108 | "${FILESDIR}"/${P}-create-dir-runtime.patch \ |
109 | "${FILESDIR}"/${P}-fix-segfault.patch \ |
110 | "${FILESDIR}"/${P}-clamp_percentage_for_overfull_batt.patch |
111 | } |
112 | |
113 | src_configure() { |
114 | local backend myconf |
115 | |
116 | if use kernel_linux; then |
117 | backend=linux |
118 | myconf="--enable-deprecated" |
119 | elif use kernel_FreeBSD; then |
120 | backend=freebsd |
121 | else |
122 | backend=dummy |
123 | fi |
124 | |
125 | econf \ |
126 | --libexecdir="${EPREFIX}"/usr/lib/upower \ |
127 | --localstatedir="${EPREFIX}"/var \ |
128 | $(use_enable introspection) \ |
129 | --disable-static \ |
130 | ${myconf} \ |
131 | --enable-man-pages \ |
132 | $(use_enable doc gtk-doc) \ |
133 | --disable-tests \ |
134 | --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
135 | --with-backend=${backend} \ |
136 | $(use_with ios idevice) \ |
137 | "$(systemd_with_utildir)" \ |
138 | "$(systemd_with_unitdir)" |
139 | } |
140 | |
141 | src_install() { |
142 | default |
143 | keepdir /var/lib/upower #383091 |
144 | prune_libtool_files |
145 | } |