From f199eef13d6b5ee45ba5ae0c59524e8e11585ba0 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Mon, 23 Mar 2009 21:54:05 +0000 Subject: Apply Debian's 05-battery_rescan.patch thanks to Ottxor in bug 253776 Package-Manager: portage-2.2_rc23/cvs/Linux i686 --- sys-power/kpowersave/ChangeLog | 11 +++++-- sys-power/kpowersave/Manifest | 4 ++- sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild | 41 +++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild diff --git a/sys-power/kpowersave/ChangeLog b/sys-power/kpowersave/ChangeLog index d62878b5d49b..1d3acfc7f909 100644 --- a/sys-power/kpowersave/ChangeLog +++ b/sys-power/kpowersave/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-power/kpowersave -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/ChangeLog,v 1.23 2008/11/12 04:07:54 josejx Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/ChangeLog,v 1.24 2009/03/23 21:54:05 genstef Exp $ + +*kpowersave-0.7.3-r1 (23 Mar 2009) + + 23 Mar 2009; Stefan Schweizer + +kpowersave-0.7.3-r1.ebuild: + Apply Debian's 05-battery_rescan.patch thanks to Ottxor + in bug 253776 12 Nov 2008; Joseph Jezak kpowersave-0.7.3.ebuild: Marked ~ppc for bug #200266. diff --git a/sys-power/kpowersave/Manifest b/sys-power/kpowersave/Manifest index f840a1bfcbfc..647ebc46f252 100644 --- a/sys-power/kpowersave/Manifest +++ b/sys-power/kpowersave/Manifest @@ -1,7 +1,9 @@ DIST kde-admindir-3.5.5.tar.bz2 187274 RMD160 24528f3bf94e7d1a1036b6e5af180719785839ed SHA1 b640d2606305201b0ec030555c324d326440efff SHA256 1aa56856e432839ec74a67ab33fc21b56ed4f1b4b5c60bfd5b953cb2d3423153 DIST kpowersave-0.6.2.tar.bz2 3527068 RMD160 256debb2dbb5311e152339dc885508af432883dd SHA1 95c187a770bee052c8866aad605a2576481671d5 SHA256 ef99671654162fb95c86b10ef1e67a7e94145fbce42b3ead5f10ad6c53c09b7c DIST kpowersave-0.7.3.tar.bz2 3228911 RMD160 6355c75dff732d3929980c722e54416c0a7293b2 SHA1 637bfe7241920508f428d08bc85d4b09a1980863 SHA256 707ffb760d9025fa0fe47afc11cfba7c8af93be4dc5c1594225b0112f8159453 +DIST kpowersave_0.7.3-3.diff.gz 15090 RMD160 ddb1724f9efc991fb4576553885e4ab797051eba SHA1 4e5780ab40ddf7ba055217a4e89ec2d6ecd3c53a SHA256 b09cf25d63bc1588d60f62815f03c77639d1944a6122a2c9c3bbcccde6d7fc05 EBUILD kpowersave-0.6.2.ebuild 804 RMD160 7d27a0bad46eab8b6dfee70b810d135abc0579ed SHA1 7edead4d9b0cdc6cb7a5b24cfbdf7b43e4c0b17e SHA256 40b65866e00073da78c81113cce3f9a44103a4d816063019dc00fa9b7f2c857e +EBUILD kpowersave-0.7.3-r1.ebuild 1119 RMD160 fb0ae65c017cfa6acbf30bf4fa1dabc798e0cc95 SHA1 ab50727c72e49156758e3210dbeff5bd98db7cb6 SHA256 f7f356bf753d7799ea81d5fe51d9723da82cee81def133f0eddd91adfb32c1a6 EBUILD kpowersave-0.7.3.ebuild 913 RMD160 d4fc20a4611a1b759336979a223083c040cea0e7 SHA1 873c93a6e7c45b569138273bb4bae8e9591800be SHA256 007221cd588e50e011816a635de62daa043f803bb86f04b84ceae0bc19a40e70 -MISC ChangeLog 3561 RMD160 14c5389958298e48ad71fa424d0eac68a6db2047 SHA1 30ca845342e7c41bedc0798e786b240ffb4a2572 SHA256 a6db7be193ec2e2c7f4607ab6ae5e8b12bfe614ddeb98701852efd7554da4cf5 +MISC ChangeLog 3779 RMD160 8bdadee86f574cd82538ae8dcc03b0a762823648 SHA1 a7f51d691cfd080aaecbaa31d37dd2184a8b963d SHA256 961541803638c7077a429a4d8142fefd35b968271db11d92dd3df645ee9a61f5 MISC metadata.xml 264 RMD160 f0a7ffecb77c58db347daaf1c348b12ab0526429 SHA1 943b8b424ee3872f0f4ac2d99b5e620ae4c82ca5 SHA256 b97f69b9acc177e7c613f542e17461256be508ac97086f4538f31e65df3647bf diff --git a/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild b/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild new file mode 100644 index 000000000000..036d7e73d4c3 --- /dev/null +++ b/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild,v 1.1 2009/03/23 21:54:05 genstef Exp $ + +inherit kde eutils + +PATCH_LEVEL=3 + +DESCRIPTION="KDE front-end to powersave daemon" +HOMEPAGE="http://powersave.sf.net/" +SRC_URI="mirror://sourceforge/powersave/${P}.tar.bz2 + mirror://gentoo/kde-admindir-3.5.5.tar.bz2 + mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-${PATCH_LEVEL}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=">=sys-apps/hal-0.5.4 + dev-libs/dbus-qt3-old + x11-libs/libXScrnSaver + x11-libs/libXext + x11-libs/libXtst + >=kde-base/kdelibs-3" +DEPEND="${RDEPEND}" + +need-kde 3.5.7 + +src_unpack() { + unpack ${A} + rm -rf "${S}/admin" "${S}/configure" + ln -s "${WORKDIR}/admin" "${S}/admin" + epatch "${WORKDIR}/${P/-/_}-${PATCH_LEVEL}.diff" + epatch "${S}/debian/patches/05-battery_rescan.patch" +} + +pkg_postinst() { + einfo "Making sure that config directory is readable" + einfo "chmod 755 ${ROOT}/usr/share/config" + chmod 755 "${ROOT}/usr/share/config" +} -- cgit v1.2.3-65-gdbad