Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/devicekit-power: ChangeLog devicekit-power-012.ebuild
Date: Sun, 01 Nov 2009 12:45:58
Message-Id: E1N4Zoi-0006oj-6L@stork.gentoo.org
1 eva 09/11/01 12:45:56
2
3 Modified: ChangeLog
4 Added: devicekit-power-012.ebuild
5 Log:
6 Version bump. Disable static libs, review missing dtds in DEPEND, add missing DOCS. Do not hibernate on encrypted swap and bugfixes.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 sys-apps/devicekit-power/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/devicekit-power/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/devicekit-power/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/devicekit-power/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 29 Oct 2009 23:41:08 -0000 1.3
23 +++ ChangeLog 1 Nov 2009 12:45:55 -0000 1.4
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sys-apps/devicekit-power
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/ChangeLog,v 1.3 2009/10/29 23:41:08 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/ChangeLog,v 1.4 2009/11/01 12:45:55 eva Exp $
29 +
30 +*devicekit-power-012 (01 Nov 2009)
31 +
32 + 01 Nov 2009; Gilles Dartiguelongue <eva@g.o>
33 + +devicekit-power-012.ebuild:
34 + Version bump. Disable static libs, review missing dtds in DEPEND, add
35 + missing DOCS. Do not hibernate on encrypted swap and bugfixes.
36
37 *devicekit-power-011 (29 Oct 2009)
38
39
40
41
42 1.1 sys-apps/devicekit-power/devicekit-power-012.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/devicekit-power/devicekit-power-012.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/devicekit-power/devicekit-power-012.ebuild?rev=1.1&content-type=text/plain
46
47 Index: devicekit-power-012.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/devicekit-power-012.ebuild,v 1.1 2009/11/01 12:45:55 eva Exp $
52
53 EAPI="2"
54 GCONF_DEBUG="no"
55
56 inherit gnome2 linux-info
57
58 MY_PN="DeviceKit-power"
59
60 DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics"
61 HOMEPAGE="http://www.freedesktop.org/wiki/Software/DeviceKit"
62 SRC_URI="http://hal.freedesktop.org/releases/${MY_PN}-${PV}.tar.gz"
63
64 LICENSE="GPL-2 LGPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="debug doc test"
68
69 RDEPEND=">=dev-libs/glib-2.21.5
70 >=dev-libs/dbus-glib-0.76
71 >=sys-fs/udev-145[extras]
72 >=sys-auth/polkit-0.91
73 sys-apps/dbus
74 virtual/libusb
75 "
76 DEPEND="${RDEPEND}
77 >=dev-util/intltool-0.40
78 dev-util/pkgconfig
79 dev-libs/libxslt
80 dev-util/gtk-doc-am
81 doc? (
82 >=dev-util/gtk-doc-1.3
83 app-text/docbook-xml-dtd:4.1.2 )
84 app-text/docbook-xsl-stylesheets
85 "
86 # docbook xsl is required for man pages
87 # FIXME: needs dbus-dtd currently only available with dbus[doc]
88
89 DOCS="AUTHORS HACKING NEWS"
90
91 S="${WORKDIR}/${MY_PN}-${PV}"
92
93 function check_battery() {
94 # check sysfs power interface, bug #263959
95 local CONFIG_CHECK="ACPI_SYSFS_POWER"
96 check_extra_config
97 }
98
99 pkg_setup() {
100 # Pedantic is currently broken
101 G2CONF="${G2CONF}
102 --localstatedir=/var
103 --disable-ansi
104 --disable-static
105 --enable-man-pages
106 $(use_enable debug verbose-mode)
107 $(use_enable test tests)
108 "
109
110 check_battery
111 }
112
113 src_prepare() {
114 gnome2_src_prepare
115
116 # Fix crazy cflags
117 sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \
118 || die "sed 1 failed"
119 # Drop this command line option, because only available since gcc 4.3,
120 # bug 289873.
121 sed 's:WARNINGFLAGS_C=\"$WARNINGFLAGS_C -Wtype-limits\"::g' -i configure.ac configure \
122 || die "sed 2 failed"
123 }