summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-11-01 12:45:55 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-11-01 12:45:55 +0000
commitc2fc16689ebeab5cc556410b32e064b299b5cd05 (patch)
treece7792adc268c6b2fef72dc25f1e74590298e2c8
parentAutomated update of use.local.desc (diff)
downloadhistorical-c2fc16689ebeab5cc556410b32e064b299b5cd05.tar.gz
historical-c2fc16689ebeab5cc556410b32e064b299b5cd05.tar.bz2
historical-c2fc16689ebeab5cc556410b32e064b299b5cd05.zip
Version bump. Disable static libs, review missing dtds in DEPEND, add missing DOCS. Do not hibernate on encrypted swap and bugfixes.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
-rw-r--r--sys-apps/devicekit-power/ChangeLog9
-rw-r--r--sys-apps/devicekit-power/Manifest10
-rw-r--r--sys-apps/devicekit-power/devicekit-power-012.ebuild75
3 files changed, 89 insertions, 5 deletions
diff --git a/sys-apps/devicekit-power/ChangeLog b/sys-apps/devicekit-power/ChangeLog
index 1c0923c49087..b964121d6a3a 100644
--- a/sys-apps/devicekit-power/ChangeLog
+++ b/sys-apps/devicekit-power/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/devicekit-power
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/ChangeLog,v 1.3 2009/10/29 23:41:08 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/ChangeLog,v 1.4 2009/11/01 12:45:55 eva Exp $
+
+*devicekit-power-012 (01 Nov 2009)
+
+ 01 Nov 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +devicekit-power-012.ebuild:
+ Version bump. Disable static libs, review missing dtds in DEPEND, add
+ missing DOCS. Do not hibernate on encrypted swap and bugfixes.
*devicekit-power-011 (29 Oct 2009)
diff --git a/sys-apps/devicekit-power/Manifest b/sys-apps/devicekit-power/Manifest
index ca7f034f5d49..d6f96003f94c 100644
--- a/sys-apps/devicekit-power/Manifest
+++ b/sys-apps/devicekit-power/Manifest
@@ -5,14 +5,16 @@ AUX devicekit-power-007-maintainer-cflags.patch 1286 RMD160 4d9f55caa936969ffe5d
AUX devicekit-power-009-build-gcc-4.1.2.patch 392 RMD160 1dd85f5341aca85372e3f2e77e73b8381c5c56c9 SHA1 decbd6d042a5439e399166ebaebd58aacb076908 SHA256 f1613aece0da2af8d5ad8a67493bab8030f418ccf51f655617c0e21254f891e0
DIST DeviceKit-power-009.tar.gz 496455 RMD160 46eabd609d3dc706a7651b4d34b5b6f4d3107738 SHA1 93f1d276d530107d4f49aa035cc03175b7f32ffa SHA256 438ac7f22533e04f5b44e0cf23d8b51a5cb69906ea2bbdef0581dc3c7cf19e55
DIST DeviceKit-power-011.tar.gz 521445 RMD160 632a16f8b51621fa2723cdc46a6939919d0b54e8 SHA1 c5158e51eebb5eeaa22453e730284156d8c95fc1 SHA256 8f5b9f43c17a43574cd9026d0ff7b2f6b05d2d0e25d2033b8fdd92021fd4383d
+DIST DeviceKit-power-012.tar.gz 523183 RMD160 3c7ebabeffa5472985711939df82af72ba73d3df SHA1 caf5f8c48fbc2b1d6130b1fe282adc9511642178 SHA256 ec7eef2a7e79cb9d6f2df362172b4ee3a0e494ad828e2b0020f79ed52be9bca2
EBUILD devicekit-power-009.ebuild 1584 RMD160 5682b4163d55ddf9060254abe6285aa8939ba7d9 SHA1 c6c5416dd17cd7bf25af9875c8d17f023ed34c9c SHA256 6b196cce773d40a2c63be5fc5f92628d896acd74a9ade94c6504642c6d497e12
EBUILD devicekit-power-011.ebuild 1604 RMD160 85124d52046a5a10d75e7c47b6320f9ee0646aaa SHA1 f9722a27312e84ba3b41010ba0a94965d10e977c SHA256 380b10961f2884ebb2e7dcbc6d037217ab1aa92fd230154e9d69593a9384157e
-MISC ChangeLog 859 RMD160 e5937b71d29019aab4f83c68a596ffc49b371a1a SHA1 890cf4553c85ebcabd15125746e21665a6e91a06 SHA256 7a1e2e27737376fca81e5ba25e9808614152ecc99e343820cb268711b5bd88a2
+EBUILD devicekit-power-012.ebuild 1842 RMD160 00825dcc39aa253f87ccc245c1f659336c196266 SHA1 c1f26e2d7eed17c2b8bf3675d0c267f21f6f0dca SHA256 a7c25fcffc9a8528ddc6b320ca4b655e9fb017a394ac743ba5f3b89e403c3d40
+MISC ChangeLog 1118 RMD160 690e2ca17921b172ddcef0fdb6001c7c6a78ca56 SHA1 3ceb0dd718b40f388613742e5e379141449c74dc SHA256 a8dd24f3bf49d17c114c1d65aa81697bd6ee50424443a36fced1f6757d83b9b7
MISC metadata.xml 164 RMD160 7d567afe05ca87a772eedf19f5b1fd1e2a9798a7 SHA1 e7b1ab05868d9feb1fa1677c052836fd7dd6a171 SHA256 66cdaff449660e99dfaee8d19b47413fc8ced6d5a1eccd3c842a48e9d9668d48
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkrqKBoACgkQ1fmVwcYIWAbMzQCglx9vxpFLZqbcl5yLWW9GjLYe
-XQkAn2d57d4RHM1tg5PXGxzADWp7KBc7
-=IvRk
+iEYEARECAAYFAkrtgw0ACgkQ1fmVwcYIWAbDtgCg3c9vJG4AmN6UyzICsczRXUQ7
+sqEAoLJiu4emuB6pVnYMMO7pbFYRIkLd
+=2HJl
-----END PGP SIGNATURE-----
diff --git a/sys-apps/devicekit-power/devicekit-power-012.ebuild b/sys-apps/devicekit-power/devicekit-power-012.ebuild
new file mode 100644
index 000000000000..8cba66566892
--- /dev/null
+++ b/sys-apps/devicekit-power/devicekit-power-012.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/devicekit-power/devicekit-power-012.ebuild,v 1.1 2009/11/01 12:45:55 eva Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+
+inherit gnome2 linux-info
+
+MY_PN="DeviceKit-power"
+
+DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/DeviceKit"
+SRC_URI="http://hal.freedesktop.org/releases/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc test"
+
+RDEPEND=">=dev-libs/glib-2.21.5
+ >=dev-libs/dbus-glib-0.76
+ >=sys-fs/udev-145[extras]
+ >=sys-auth/polkit-0.91
+ sys-apps/dbus
+ virtual/libusb
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ dev-util/pkgconfig
+ dev-libs/libxslt
+ dev-util/gtk-doc-am
+ doc? (
+ >=dev-util/gtk-doc-1.3
+ app-text/docbook-xml-dtd:4.1.2 )
+ app-text/docbook-xsl-stylesheets
+"
+# docbook xsl is required for man pages
+# FIXME: needs dbus-dtd currently only available with dbus[doc]
+
+DOCS="AUTHORS HACKING NEWS"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+function check_battery() {
+ # check sysfs power interface, bug #263959
+ local CONFIG_CHECK="ACPI_SYSFS_POWER"
+ check_extra_config
+}
+
+pkg_setup() {
+ # Pedantic is currently broken
+ G2CONF="${G2CONF}
+ --localstatedir=/var
+ --disable-ansi
+ --disable-static
+ --enable-man-pages
+ $(use_enable debug verbose-mode)
+ $(use_enable test tests)
+ "
+
+ check_battery
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix crazy cflags
+ sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \
+ || die "sed 1 failed"
+ # Drop this command line option, because only available since gcc 4.3,
+ # bug 289873.
+ sed 's:WARNINGFLAGS_C=\"$WARNINGFLAGS_C -Wtype-limits\"::g' -i configure.ac configure \
+ || die "sed 2 failed"
+}