diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-07 22:08:57 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-07 22:08:57 +0000 |
commit | e3c065a4dfdca385fe7f5c9defb68e2a82a6919f (patch) | |
tree | ec5460911d457dfeace0f97edf2b955eb64f6a59 /sys-power | |
parent | Remove compiler check for ppc to allow compilation with gcc-4. This fixes bug... (diff) | |
download | historical-e3c065a4dfdca385fe7f5c9defb68e2a82a6919f.tar.gz historical-e3c065a4dfdca385fe7f5c9defb68e2a82a6919f.tar.bz2 historical-e3c065a4dfdca385fe7f5c9defb68e2a82a6919f.zip |
Add patch to fix linking with --as-needed, bug #132544, thus remove filtering, run eautoreconf to replace libtoolize, also run elibtoolize for safety. Fix the KDE directory handling, add doce useflag to IUSE.
Package-Manager: portage-2.1_pre10-r3
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powersave/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/powersave/Manifest | 26 | ||||
-rw-r--r-- | sys-power/powersave/files/powersave-0.13.1-asneeded.patch | 13 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.13.1.ebuild | 18 |
4 files changed, 46 insertions, 19 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog index d04dc174aced..2c99e45e3e14 100644 --- a/sys-power/powersave/ChangeLog +++ b/sys-power/powersave/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/powersave # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.1 2006/05/07 10:29:45 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.2 2006/05/07 22:08:57 flameeyes Exp $ + + 07 May 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/powersave-0.13.1-asneeded.patch, powersave-0.13.1.ebuild: + Add patch to fix linking with --as-needed, bug #132544, thus remove + filtering, run eautoreconf to replace libtoolize, also run elibtoolize for + safety. Fix the KDE directory handling, add doce useflag to IUSE. *powersave-0.13.1 (07 May 2006) diff --git a/sys-power/powersave/Manifest b/sys-power/powersave/Manifest index e2d5cfb1c0ec..a5f74ba4e0e4 100644 --- a/sys-power/powersave/Manifest +++ b/sys-power/powersave/Manifest @@ -5,19 +5,23 @@ AUX plugdev_access.patch 458 RMD160 703fb134a737172057f5244cd2df96ccc934cd54 SHA MD5 3a488e1b0de1c161a2ab46c08de2a183 files/plugdev_access.patch 458 RMD160 703fb134a737172057f5244cd2df96ccc934cd54 files/plugdev_access.patch 458 SHA256 ad40b156534c78fbcebe6547310151cbfc475aaa6d1a5d4f3122fec14d405f60 files/plugdev_access.patch 458 +AUX powersave-0.13.1-asneeded.patch 563 RMD160 25e64a2b5b51ef803451bf16b0564fd098edffae SHA1 e1ccf7992bdef05bce9d2dae349d1a0213c3a872 SHA256 ae5bf1e06e57adb5994ecc633789e8e36d3f6ae1bd64fc61fee766012e63a8fe size 563 +MD5 cd3f597b4efce6146c39a6368fb8187d files/powersave-0.13.1-asneeded.patch 563 +RMD160 25e64a2b5b51ef803451bf16b0564fd098edffae files/powersave-0.13.1-asneeded.patch 563 +SHA256 ae5bf1e06e57adb5994ecc633789e8e36d3f6ae1bd64fc61fee766012e63a8fe files/powersave-0.13.1-asneeded.patch 563 AUX powersaved.rc 614 RMD160 e10ddf8c4a3cc92e027624181b4eb9096ed34fb3 SHA1 a2918842f55a5bfc77c054921274754aac8bed61 SHA256 ccc2e587ffef7bee33d70bd198f5d75b49d6002ab7decf966a59af921f5292e5 size 614 MD5 6f5cb69e10662f6ac0ee1938f1a06aea files/powersaved.rc 614 RMD160 e10ddf8c4a3cc92e027624181b4eb9096ed34fb3 files/powersaved.rc 614 SHA256 ccc2e587ffef7bee33d70bd198f5d75b49d6002ab7decf966a59af921f5292e5 files/powersaved.rc 614 DIST powersave-0.13.1.tar.bz2 568778 RMD160 a8f29703c5d09d98b7699ac82d6b354d81392e2f SHA256 87cb873d148fa989b678dfcef3f629515cfe01d98c10ec189a4ed60d5a265615 size 568778 -EBUILD powersave-0.13.1.ebuild 1579 RMD160 3224857970fde71a69532a9a7f3f570baa3716ad SHA1 b04b33187d67ac35ec5e1cc5eed13b705f6ffcb9 SHA256 48c410d2965aebb3732b97a06bf9d0cabe39c3365b41b8476c1846b1ba7591f9 size 1579 -MD5 3c97475f01964352bc2f4fb7c05161c8 powersave-0.13.1.ebuild 1579 -RMD160 3224857970fde71a69532a9a7f3f570baa3716ad powersave-0.13.1.ebuild 1579 -SHA256 48c410d2965aebb3732b97a06bf9d0cabe39c3365b41b8476c1846b1ba7591f9 powersave-0.13.1.ebuild 1579 -MISC ChangeLog 556 RMD160 538e029f8ae7c73b96c82b7faf1fb00a46e6b10e SHA1 75fe1295b8db1d828fa21d442ce17740bf90ce48 SHA256 f12cc5f199fb8f194e6bcc394bbaffe1985cf804c62bc7c128332f75fda24cf0 size 556 -MD5 3c8be7b3846a37b88d1718dd73756bb9 ChangeLog 556 -RMD160 538e029f8ae7c73b96c82b7faf1fb00a46e6b10e ChangeLog 556 -SHA256 f12cc5f199fb8f194e6bcc394bbaffe1985cf804c62bc7c128332f75fda24cf0 ChangeLog 556 +EBUILD powersave-0.13.1.ebuild 1571 RMD160 3390973ae596cfebedc58771622ca17c540bdf14 SHA1 17ec79666f4079b9478e1f6d048392fcd00f524e SHA256 ac59e6910f6e1b24146f44f51e66443ed439c16693aa6b19b79685ee60e6c3ed size 1571 +MD5 d8035aeb05247492c1682ac2ad11b77f powersave-0.13.1.ebuild 1571 +RMD160 3390973ae596cfebedc58771622ca17c540bdf14 powersave-0.13.1.ebuild 1571 +SHA256 ac59e6910f6e1b24146f44f51e66443ed439c16693aa6b19b79685ee60e6c3ed powersave-0.13.1.ebuild 1571 +MISC ChangeLog 894 RMD160 f4cb7ca3a25314c2980b0d4a5ba5b8d9e710ace9 SHA1 9d482995a2ad8b985f1c4adac77fc787102e73ed SHA256 deabca9ba0c04f9ed6b8bf56d932a4a575d8d1cf5a52112550be578c8845c332 size 894 +MD5 dc222d1720048917a30ea23d1f8eaff3 ChangeLog 894 +RMD160 f4cb7ca3a25314c2980b0d4a5ba5b8d9e710ace9 ChangeLog 894 +SHA256 deabca9ba0c04f9ed6b8bf56d932a4a575d8d1cf5a52112550be578c8845c332 ChangeLog 894 MISC metadata.xml 264 RMD160 f0a7ffecb77c58db347daaf1c348b12ab0526429 SHA1 943b8b424ee3872f0f4ac2d99b5e620ae4c82ca5 SHA256 b97f69b9acc177e7c613f542e17461256be508ac97086f4538f31e65df3647bf size 264 MD5 f17c483cfcc1efe580afd0b737d3f2c3 metadata.xml 264 RMD160 f0a7ffecb77c58db347daaf1c348b12ab0526429 metadata.xml 264 @@ -28,7 +32,7 @@ SHA256 00c491a82cc876498fb0a871a02d5f09bf0c356be46a33c49e2f77d3a78d87b6 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEXcwlNJowsmZ/PzARAtX5AKCTPg5WpaHsTc89K+g+q34DdeE9uwCg1paZ -9qkW5zy3Csb5JU3TnnNml7w= -=yya0 +iD8DBQFEXm//AiZjviIA2XgRAiWDAJ98qfJaZypqZceMO4j6hRblgjDLaACfV2PL +t9mvk1N7ZjydRlIQIIJQBBs= +=GrWA -----END PGP SIGNATURE----- diff --git a/sys-power/powersave/files/powersave-0.13.1-asneeded.patch b/sys-power/powersave/files/powersave-0.13.1-asneeded.patch new file mode 100644 index 000000000000..20e2a970b8da --- /dev/null +++ b/sys-power/powersave/files/powersave-0.13.1-asneeded.patch @@ -0,0 +1,13 @@ +Index: powersave-0.13.1/libpower/Makefile.am +=================================================================== +--- powersave-0.13.1.orig/libpower/Makefile.am ++++ powersave-0.13.1/libpower/Makefile.am +@@ -27,7 +27,7 @@ libpowersave_la_SOURCES = powerlib.c \ + debug.c + libpowersave_la_DEPENDENCIES = libpowersave_hal.la + libpowersave_la_LDFLAGS = -version-info 10:3:0 $(HAL_CFLAGS) +-libpowersave_la_LIBADD = libpowersave_hal.la $(HAL_LIBS) ++libpowersave_la_LIBADD = libpowersave_hal.la $(HAL_LIBS) -lm + + + libpowersave_dbus_la_SOURCES = powersave_dbus.c \ diff --git a/sys-power/powersave/powersave-0.13.1.ebuild b/sys-power/powersave/powersave-0.13.1.ebuild index c51a6fa158fe..f009d3cd1aab 100644 --- a/sys-power/powersave/powersave-0.13.1.ebuild +++ b/sys-power/powersave/powersave-0.13.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.13.1.ebuild,v 1.1 2006/05/07 10:29:45 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.13.1.ebuild,v 1.2 2006/05/07 22:08:57 flameeyes Exp $ -inherit eutils flag-o-matic +inherit eutils libtool kde-functions autotools DESCRIPTION="Powersave Daemon" SRC_URI="mirror://sourceforge/powersave/${P}.tar.bz2" @@ -10,7 +10,7 @@ HOMEPAGE="http://powersave.sf.net/" KEYWORDS="~x86 ~amd64" SLOT="0" LICENSE="GPL-2" -IUSE="pam_console" +IUSE="pam_console doc" RDEPEND=">=sys-apps/dbus-0.30 @@ -34,15 +34,19 @@ src_unpack() { cd ${S} # Use pam_console or group plugdev to control access to powersave use pam_console || epatch ${FILESDIR}/plugdev_access.patch - libtoolize --copy --force + + epatch "${FILESDIR}/${P}-asneeded.patch" + + eautoreconf + elibtoolize } src_compile() { - #http://bugs.gentoo.org/132544 - filter-ldflags -Wl,--as-needed --as-needed + set-kdedir + econf \ --with-gnome-bindir=/usr/bin \ - --with-kde-bindir=$(kde-config --prefix)/bin \ + --with-kde-bindir=${KDEDIR}/bin \ $(use_enable doc docs) || die "econf failed" emake || die "emake failed" |