diff options
author | Matt Turner <mattst88@gmail.com> | 2011-07-21 16:16:53 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-07-21 16:16:53 -0400 |
commit | d77f0334a511f52f0fb6d0677beaa3840a503f7d (patch) | |
tree | 9c1430b1450d0b6edd5f978764ee76c5ee3c57e2 | |
parent | remove media-libs/libmad (diff) | |
download | loongson-d77f0334a511f52f0fb6d0677beaa3840a503f7d.tar.gz loongson-d77f0334a511f52f0fb6d0677beaa3840a503f7d.tar.bz2 loongson-d77f0334a511f52f0fb6d0677beaa3840a503f7d.zip |
Remove sys-power/cpufrequtils
Changes are available upstream and in portage with cpufrequtils-008-r1.
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | sys-power/cpufrequtils/ChangeLog | 267 | ||||
-rw-r--r-- | sys-power/cpufrequtils/Manifest | 13 | ||||
-rw-r--r-- | sys-power/cpufrequtils/cpufrequtils-008.ebuild | 54 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-005-build.patch | 24 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-005-nls.patch | 73 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-007-build.patch | 14 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-007-nls.patch | 76 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-conf.d-005 | 7 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-conf.d-006 | 11 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-init.d-005 | 22 | ||||
-rwxr-xr-x | sys-power/cpufrequtils/files/cpufrequtils-init.d-006 | 41 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-mips.patch | 18 | ||||
-rw-r--r-- | sys-power/cpufrequtils/metadata.xml | 5 |
13 files changed, 0 insertions, 625 deletions
diff --git a/sys-power/cpufrequtils/ChangeLog b/sys-power/cpufrequtils/ChangeLog deleted file mode 100644 index b717353..0000000 --- a/sys-power/cpufrequtils/ChangeLog +++ /dev/null @@ -1,267 +0,0 @@ -# ChangeLog for sys-power/cpufrequtils -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.53 2010/07/10 15:16:20 fauli Exp $ - - 10 Jul 2010; Christian Faulhammer <fauli@gentoo.org> - cpufrequtils-007.ebuild: - stable x86, bug 327035 - - 06 Jul 2010; Markos Chandras <hwoarang@gentoo.org> - cpufrequtils-007.ebuild: - Stable on amd64 wrt bug #327035 - -*cpufrequtils-008 (05 Jul 2010) - - 05 Jul 2010; Mike Frysinger <vapier@gentoo.org> +cpufrequtils-008.ebuild: - Version bump. - - 31 Mar 2010; Jonathan Callen <abcd@gentoo.org> cpufrequtils-007.ebuild: - Bump to EAPI=3, add prefix keywords - -*cpufrequtils-007 (16 Jan 2010) - - 16 Jan 2010; Mike Frysinger <vapier@gentoo.org> +cpufrequtils-007.ebuild, - +files/cpufrequtils-007-build.patch, +files/cpufrequtils-007-nls.patch: - Version bump. - - 15 Jan 2010; Mike Frysinger <vapier@gentoo.org> cpufrequtils-006.ebuild, - -files/cpufrequtils-006-modprobe-gov.patch: - Drop the modprobe patch since the kernel handles this for us - automatically. - -*cpufrequtils-006 (15 Jan 2010) - - 15 Jan 2010; Mike Frysinger <vapier@gentoo.org> - +files/cpufrequtils-conf.d-006, +files/cpufrequtils-init.d-006, - +cpufrequtils-006.ebuild, +files/cpufrequtils-006-modprobe-gov.patch, - +files/cpufrequtils-006-nls.patch: - Version bump #292246 by gionnico with updated NLS patch by Lars Wendler - and a more flexible init.d script #179729 by Oliver Koch. - - 15 Jan 2010; Mike Frysinger <vapier@gentoo.org> - cpufrequtils-005-r1.ebuild: - add ia64 love. - - 11 Jul 2009; Joseph Jezak <josejx@gentoo.org> cpufrequtils-005-r1.ebuild: - Marked ppc/ppc64 stable for bug #256599. - - 07 Jun 2009; Raúl Porcel <armin76@gentoo.org> cpufrequtils-005-r1.ebuild: - arm/sparc stable wrt #256599 - - 03 Jun 2009; Dawid Węgliński <cla@gentoo.org> - cpufrequtils-005-r1.ebuild: - Stable on amd64 (bug #256599) - - 02 Jun 2009; Christian Faulhammer <fauli@gentoo.org> - cpufrequtils-005-r1.ebuild: - stable x86, bug 256599 - -*cpufrequtils-005-r1 (21 Oct 2008) - - 21 Oct 2008; Mike Frysinger <vapier@gentoo.org> - files/cpufrequtils-init.d-005, +files/cpufrequtils-005-build.patch, - +files/cpufrequtils-005-nls.patch, +cpufrequtils-005-r1.ebuild: - Fix building against uClibc #205576 by Jos van der Ende. Fix init.d - scripts to work properly #243008 by konsti / Rene Meier. Make sure we - respect LDFLAGS. - -*cpufrequtils-005 (20 Oct 2008) - - 20 Oct 2008; Mike Frysinger <vapier@gentoo.org> - +files/cpufrequtils-conf.d-005, +files/cpufrequtils-init.d-005, - +cpufrequtils-005.ebuild: - Version bump #228701 by Dennis Schridde and a more flexible init.d script - by me #182049 by Jakub Zawadzki. - -*cpufrequtils-002-r4 (11 Aug 2008) - - 11 Aug 2008; Raúl Porcel <armin76@gentoo.org> files/cpufrequtils-conf.d, - files/cpufrequtils-init.d, -cpufrequtils-002-r3.ebuild, - +cpufrequtils-002-r4.ebuild: - Fix init and confd scripts, bug #200018 - - 06 Oct 2007; Tom Gall <tgall@gentoo.com> pufrequtils-002-r3.ebuild: - added ~ppc64 - -*cpufrequtils-002-r3 (26 May 2007) - - 26 May 2007; Christian Heim <phreak@gentoo.org> - -cpufrequtils-002-r2.ebuild, +cpufrequtils-002-r3.ebuild: - Fix src_install to actually install the init/conf.d files. Thanks to Peter - Hjalmarsson <xake at rymdraket.net> for spotting. - - 17 May 2007; Christian Heim <phreak@gentoo.org> files/cpufrequtils-init.d: - Updating the init-script to be busybox/dash compatible (thanks to Mike - Arthur <mike at mikearthur.co.uk> in #178763). - - 17 May 2007; Christian Heim <phreak@gentoo.org> - -files/cpufrequtils-001-conf.d, -files/cpufrequtils-001-init.d, - -files/cpufrequtils-002-conf.d, -files/cpufrequtils-002-init.d, - +files/cpufrequtils-conf.d, +files/cpufrequtils-init.d, - -cpufrequtils-001.ebuild: - Cleaning up the older version; cleaning up $FILESDIR. - - 17 May 2007; Christian Heim <phreak@gentoo.org> metadata.xml: - Assigning sys-power/cpufrequtils directly to mobile at gentoo.org. - - 04 Nov 2006; Danny van Dyk <kugelfang@gentoo.org> - cpufrequtils-002-r2.ebuild: - Marked stable on amd64. - - 24 Oct 2006; Joshua Jackson <tsunam@gentoo.org> - cpufrequtils-002-r2.ebuild: - Stable x86; bug #152155 - - 21 Oct 2006; <nixnut@gentoo.org> cpufrequtils-002-r2.ebuild: - Stable on ppc wrt bug 152155 - - 20 Oct 2006; Christian Heim <phreak@gentoo.org> - files/cpufrequtils-002-conf.d, files/cpufrequtils-002-init.d: - Fixing the Governor restore on stop(), fixing #152090 (thanks to Daniel - Franke). Tuning the conf.d entry a bit. - -*cpufrequtils-002-r2 (17 Jul 2006) - - 17 Jul 2006; Christian Heim <phreak@gentoo.org> - files/cpufrequtils-002-init.d, -cpufrequtils-002-r1.ebuild, - +cpufrequtils-002-r2.ebuild: - Revision bump. Modifying the init-script a bit, it is now only using - cpu[0-9] from /sys/devices/.../cpu/ (thanks to Richard Fish <bigfish at - asmallpond.org> in #140689 for the fix) - -*cpufrequtils-002-r1 (16 Jul 2006) - - 16 Jul 2006; Christian Heim <phreak@gentoo.org> - files/cpufrequtils-002-init.d, -cpufrequtils-002.ebuild, - +cpufrequtils-002-r1.ebuild: - Adding a patch to restore the default state (#140505 thanks to Brian Harring - <ferringb at gmail.com>) - - 13 Jul 2006; Christian Heim <phreak@gentoo.org> metadata.xml, - cpufrequtils-001.ebuild, cpufrequtils-002.ebuild: - Fixing Quotation; Taking temporary maintainership - - 25 Jun 2006; Henrik Brix Andersen <brix@gentoo.org> - -files/cpufrequtils-0.4-conf.d, -files/cpufrequtils-0.4-init.d, - -cpufrequtils-0.4.ebuild: - Pruned old ebuild. - - 13 Jun 2006; Danny van Dyk <kugelfang@gentoo.org> cpufrequtils-001.ebuild: - Marked stable on amd64. - - 05 Jun 2006; Henrik Brix Andersen <brix@gentoo.org> - +files/cpufrequtils-002-parallel-make.patch, cpufrequtils-002.ebuild: - Fix compilation with parallel make, bug #135521. - -*cpufrequtils-002 (01 Jun 2006) - - 01 Jun 2006; Henrik Brix Andersen <brix@gentoo.org> - +files/cpufrequtils-002-conf.d, +files/cpufrequtils-002-init.d, - +cpufrequtils-002.ebuild: - Version bump. Fixed init script to work on SMP systems, thanks to Sebastien - LANGE and Stefano Varesi in bug #132461. - - 24 May 2006; Michael Hanselmann <hansmi@gentoo.org> - cpufrequtils-001.ebuild: - Stable on ppc. - - 26 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> - cpufrequtils-001.ebuild: - Stable on x86. - - 05 Apr 2006; Scott Stoddard <deltacow@gentoo.org> cpufrequtils-001.ebuild: - Multilib fix to ensure correct library install path. - -*cpufrequtils-001 (26 Mar 2006) - - 26 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> - +files/cpufrequtils-001-conf.d, +files/cpufrequtils-001-init.d, - +cpufrequtils-001.ebuild: - Version bump. - - 13 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> - -files/cpufrequtils-0.3-conf.d, -files/cpufrequtils-0.3-init.d, - -cpufrequtils-0.3-r1.ebuild: - Pruned old ebuild. - - 24 Jan 2006; Patrick McLean <chutzpah@gentoo.org> cpufrequtils-0.4.ebuild: - Stable on amd64; bug #119926. - - 23 Jan 2006; Joshua Jackson <tsunam@gentoo.org> cpufrequtils-0.4.ebuild: - Stable on x86; bug #119926 - - 23 Jan 2006; Joseph Jezak <josejx@gentoo.org> cpufrequtils-0.4.ebuild: - Marked ppc stable for bug #119926. - - 02 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> - cpufrequtils-0.3-r1.ebuild: - Stable on ppc. - -*cpufrequtils-0.4 (18 Dec 2005) - - 18 Dec 2005; Henrik Brix Andersen <brix@gentoo.org> - +files/cpufrequtils-0.4-conf.d, +files/cpufrequtils-0.4-init.d, - +cpufrequtils-0.4.ebuild: - Version bump. - - 21 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> - cpufrequtils-0.3-r1.ebuild: - Use mirror://kernel/ - - 28 Aug 2005; Marcus D. Hanwell <cryos@gentoo.org> - cpufrequtils-0.3-r1.ebuild: - Stable on amd64. - - 20 Aug 2005; Jason Wever <weeve@gentoo.org> cpufrequtils-0.3-r1.ebuild: - Added ~sparc keyword. - - 25 Jun 2005; <brix@gentoo.org> -cpufrequtils-0.2.ebuild, - -cpufrequtils-0.3.ebuild: - Pruned old ebuilds - - 09 Jun 2005; <brix@gentoo.org> cpufrequtils-0.3-r1.ebuild: - Stable on x86. - -*cpufrequtils-0.3-r1 (16 May 2005) - - 16 May 2005; <brix@gentoo.org> +files/cpufrequtils-0.3-conf.d, - +files/cpufrequtils-0.3-init.d, +cpufrequtils-0.3-r1.ebuild: - Added init script for setting governor at boot time as per bug #92241, - thanks to Mark Rosenstand. - -*cpufrequtils-0.3 (08 May 2005) - - 08 May 2005; <brix@gentoo.org> +cpufrequtils-0.3.ebuild: - Version bump. - - 09 Apr 2005; Danny van Dyk <kugelfang@gentoo.org> cpufrequtils-0.2.ebuild: - Marked ~amd64. - - 07 Apr 2005; <brix@gentoo.org> cpufrequtils-0.2.ebuild: - Stable on x86. - - 01 Apr 2005; Joseph Jezak <josejx@gentoo.org> cpufrequtils-0.2.ebuild: - Marked ~ppc for bug #87487. - -*cpufrequtils-0.2 (14 Mar 2005) - - 14 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, - +cpufrequtils-0.2.ebuild: - Moved from sys-apps/cpufrequtils to sys-power/cpufrequtils. - - 12 Mar 2005; Henrik Brix Andersen <brix@gentoo.org> - -cpufrequtils-0.1.ebuild, -cpufrequtils-0.2_pre1.ebuild: - Pruned old versions. - -*cpufrequtils-0.2 (28 Feb 2005) - - 28 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> - +cpufrequtils-0.2.ebuild: - Version bump. - -*cpufrequtils-0.2_pre1 (22 Jan 2005) - - 22 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml, - +cpufrequtils-0.1.ebuild, +cpufrequtils-0.2_pre1.ebuild: - Initial commit. Thank you to all who commented on bug #69320. - diff --git a/sys-power/cpufrequtils/Manifest b/sys-power/cpufrequtils/Manifest deleted file mode 100644 index 2e079d5..0000000 --- a/sys-power/cpufrequtils/Manifest +++ /dev/null @@ -1,13 +0,0 @@ -AUX cpufrequtils-005-build.patch 844 RMD160 494f3e1c6681ac01e922bf4a527a8b89f878ea4b SHA1 1266a39a756ee9a2972a47d7b5b5833168146428 SHA256 5b33a052abab8cf33913ffbf649707a238ec4c13320985933552c1a8b0761f9a -AUX cpufrequtils-005-nls.patch 1581 RMD160 614aee44a46cb01033c7c577711e9f07b70f824b SHA1 1072c513b41e5f43ef895f7d1c99eca3634ded3f SHA256 5ab12e4b5061b72e33c79ee15862db2127c0284532f6016064976c71772daf6e -AUX cpufrequtils-007-build.patch 369 RMD160 317ebc43c5cb8ea40a3dc20deab8b03ba22d958c SHA1 30f2702c94aac2e644a5aae87e2395ab7ba905eb SHA256 2cfafb56502441c06485b38e3e900e354310f252ae47e23134fc63488aeb8ec0 -AUX cpufrequtils-007-nls.patch 1684 RMD160 fe28612cb1e69d75aba33803be6b6e9c9a7a450f SHA1 cdc9f110b12f6574fd06dec80461da6caa9a0bdf SHA256 e4a6a2cdd47da2bd54cf0cb18e5b601c2630af64d747b2e14e524bfd9761a397 -AUX cpufrequtils-conf.d-005 277 RMD160 09bdd1c1b218f9aa9ce448b01eb0c9f0dc0613c2 SHA1 2befd01f2d527916eee5429920a083ea9543daa1 SHA256 602b65f6e9927bfb37a26a34c1b44bd4a87cdb2977b5547398e17432afe55727 -AUX cpufrequtils-conf.d-006 398 RMD160 e3e5f52e5a7c51961506b2220c53d9fbd53c061f SHA1 90547acd2466d383b81540cdb253408bbcd160a9 SHA256 f93fed316a161977360a3764f503680316f88e9f8e40f264fccdfbb7d6a6e8d5 -AUX cpufrequtils-init.d-005 531 RMD160 4bca2bc3868c3ef73bf53f3bbd83bd4c4a7164f4 SHA1 67d0fc02e59060358f5a82ea314830df19625524 SHA256 af83b2354bd8876efecd85762a61a40a4b498633e186cb85db7a22389936a2e6 -AUX cpufrequtils-init.d-006 861 RMD160 7131a3482242d83750c018d1a4f6f6ac31e2f74d SHA1 7c855d01b6d90fe4681c6403f829af823ea5954b SHA256 0fc8e824933d8af8fe19151b1603eba1141f6e5a1d32ad91df3fd810c4518ca5 -AUX cpufrequtils-mips.patch 352 RMD160 307049dcddb56320158debb5c4b3b8f062d03e94 SHA1 e3bd16385269fb8d767c78c30c9da3d06cd53245 SHA256 50bae469c2c0b5bcab9fb5e049d6a66d2134c2ef00551ea05cbef203beea512d -DIST cpufrequtils-008.tar.bz2 52186 RMD160 21c1318bd31e2df8b5b6718860e55bf345ad71d4 SHA1 3b6d64dcde86bb6a53842ffb0483465113aac6af SHA256 1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1 -EBUILD cpufrequtils-008.ebuild 1519 RMD160 294120d5b6d5df83d036e6e08f3e1c18dbc73803 SHA1 ac5f16ded0d1894e128feaf293e2c0b7fea0d314 SHA256 9ffaea35966d14121595a62ac5e68d85a4737cb9d276d35551f826b2a3b356cc -MISC ChangeLog 9246 RMD160 b22ed9dc026a3b4f63ba6a77a6cfb07e11c651f1 SHA1 fac7ee21273a3ea5b21bd01aa662db7a2965a039 SHA256 2015154a15aacae4be4ded28fb5ddbe30815cee268bda9dcfc8a1d52520500e5 -MISC metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 SHA1 194b7194f38673fe427e5893a42cd4c1506ce846 SHA256 b13062a43e40469b137e1206494a44b45755ea69511b64e5373cb1ce30bbb160 diff --git a/sys-power/cpufrequtils/cpufrequtils-008.ebuild b/sys-power/cpufrequtils/cpufrequtils-008.ebuild deleted file mode 100644 index 401598a..0000000 --- a/sys-power/cpufrequtils/cpufrequtils-008.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-008.ebuild,v 1.1 2010/07/05 19:43:34 vapier Exp $ - -EAPI="3" - -inherit eutils toolchain-funcs multilib - -DESCRIPTION="Userspace utilities for the Linux kernel cpufreq subsystem" -HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" -SRC_URI="mirror://kernel/linux/utils/kernel/cpufreq/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~mips" -IUSE="debug nls" - -DEPEND="sys-fs/sysfsutils" - -ft() { use $1 && echo true || echo false ; } - -src_prepare() { - epatch "${FILESDIR}"/${PN}-007-build.patch - epatch "${FILESDIR}"/${PN}-007-nls.patch #205576 #292246 - epatch "${FILESDIR}"/${PN}-mips.patch -} - -src_configure() { - export DEBUG=$(ft debug) V=true NLS=$(ft nls) - unset bindir sbindir includedir localedir confdir - export mandir="${EPREFIX}/usr/share/man" - export libdir="${EPREFIX}/usr/$(get_libdir)" - export docdir="${EPREFIX}/usr/share/doc/${PF}" -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - LD="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - STRIP=: \ - RANLIB="$(tc-getRANLIB)" \ - LIBTOOL="${EPREFIX}"/usr/bin/libtool \ - INSTALL="${EPREFIX}"/usr/bin/install \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS README - - newinitd "${FILESDIR}"/${PN}-init.d-006 ${PN} || die - newconfd "${FILESDIR}"/${PN}-conf.d-006 ${PN} -} diff --git a/sys-power/cpufrequtils/files/cpufrequtils-005-build.patch b/sys-power/cpufrequtils/files/cpufrequtils-005-build.patch deleted file mode 100644 index e6b8ce8..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-005-build.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- Makefile -+++ Makefile -@@ -158,10 +158,10 @@ endif - - # if DEBUG is enabled, then we do not strip or optimize - ifeq ($(strip $(DEBUG)),true) -- CFLAGDEF += -O1 -g -DDEBUG -+ CFLAGDEF += -DDEBUG - STRIPCMD = /bin/true -Since_we_are_debugging - else -- CFLAGDEF += $(OPTIMIZATION) -fomit-frame-pointer -+ CFLAGDEF += $(OPTIMIZATION) - STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment - endif - -@@ -191,7 +191,7 @@ libcpufreq: libcpufreq.la - - cpufreq-%: libcpufreq.la $(UTIL_OBJS) - $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I. -I./lib/ -c -o utils/$@.o utils/$*.c -- $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I./lib/ -L. -L./.libs/ -lcpufreq -o $@ utils/$@.o -+ $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g $(LDFLAGS) -I./lib/ -L. -L./.libs/ -o $@ utils/$@.o -lcpufreq - $(QUIET) $(STRIPCMD) $@ - - utils: cpufreq-info cpufreq-set diff --git a/sys-power/cpufrequtils/files/cpufrequtils-005-nls.patch b/sys-power/cpufrequtils/files/cpufrequtils-005-nls.patch deleted file mode 100644 index 7a0336f..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-005-nls.patch +++ /dev/null @@ -1,73 +0,0 @@ -make nls/gettext support optional - -patch by Jos van der Ende <seraph@xs4all.nl> - -http://bugs.gentoo.org/205576 - ---- cpufrequtils-005/Makefile -+++ cpufrequtils-005/Makefile -@@ -141,6 +141,7 @@ - ifeq ($(strip $(NLS)),true) - INSTALL_NLS += install-gmo - COMPILE_NLS += update-gmo -+ CFLAGDEF += -DNLS - endif - - ---- cpufrequtils-005/utils/info.c -+++ cpufrequtils-005/utils/info.c -@@ -10,7 +10,6 @@ - #include <errno.h> - #include <stdlib.h> - #include <string.h> --#include <libintl.h> - #include <locale.h> - - #include <getopt.h> -@@ -18,9 +17,18 @@ - #include "cpufreq.h" - - -+#ifdef NLS -+#include <libintl.h> - #define _(String) gettext (String) - #define gettext_noop(String) String - #define N_(String) gettext_noop (String) -+#else -+#define gettext_noop(String) String -+#define _(String) gettext_noop (String) -+#define gettext(String) gettext_noop (String) -+#define N_(String) gettext_noop (String) -+#define textdomain(String) -+#endif - - #define LINE_LEN 10 - ---- cpufrequtils-005/utils/set.c -+++ cpufrequtils-005/utils/set.c -@@ -12,16 +12,24 @@ - #include <limits.h> - #include <string.h> - #include <ctype.h> --#include <libintl.h> - #include <locale.h> - - #include <getopt.h> - - #include "cpufreq.h" - -+#ifdef NLS -+#include <libintl.h> - #define _(String) gettext (String) - #define gettext_noop(String) String - #define N_(String) gettext_noop (String) -+#else -+#define gettext_noop(String) String -+#define _(String) gettext_noop (String) -+#define gettext(String) gettext_noop (String) -+#define N_(String) gettext_noop (String) -+#define textdomain(String) -+#endif - - #define NORM_FREQ_LEN 32 - diff --git a/sys-power/cpufrequtils/files/cpufrequtils-007-build.patch b/sys-power/cpufrequtils/files/cpufrequtils-007-build.patch deleted file mode 100644 index 3e0d18b..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-007-build.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile -+++ Makefile -@@ -158,11 +158,9 @@ endif - - # if DEBUG is enabled, then we do not strip or optimize - ifeq ($(strip $(DEBUG)),true) -- CFLAGS += -O1 -g - CPPFLAGS += -DDEBUG - STRIPCMD = /bin/true -Since_we_are_debugging - else -- CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer - STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment - endif - diff --git a/sys-power/cpufrequtils/files/cpufrequtils-007-nls.patch b/sys-power/cpufrequtils/files/cpufrequtils-007-nls.patch deleted file mode 100644 index 83ab0b1..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-007-nls.patch +++ /dev/null @@ -1,76 +0,0 @@ -make nls/gettext support optional - -patch by -Jos van der Ende <seraph@xs4all.nl> -Lars Wendler <polynomial-c@gentoo.org> - -http://bugs.gentoo.org/205576 -http://bugs.gentoo.org/292246 - ---- cpufrequtils-006/Makefile -+++ cpufrequtils-006/Makefile -@@ -147,6 +147,7 @@ - ifeq ($(strip $(NLS)),true) - INSTALL_NLS += install-gmo - COMPILE_NLS += update-gmo -+ CPPFLAGS += -DNLS - endif - - ifeq ($(strip $(CPUFRQ_BENCH)),true) ---- cpufrequtils-006/utils/info.c -+++ cpufrequtils-006/utils/info.c -@@ -10,7 +10,6 @@ - #include <errno.h> - #include <stdlib.h> - #include <string.h> --#include <libintl.h> - #include <locale.h> - - #include <getopt.h> -@@ -18,9 +17,18 @@ - #include "cpufreq.h" - - -+#ifdef NLS -+#include <libintl.h> - #define _(String) gettext (String) - #define gettext_noop(String) String - #define N_(String) gettext_noop (String) -+#else -+#define gettext_noop(String) String -+#define _(String) gettext_noop (String) -+#define gettext(String) gettext_noop (String) -+#define N_(String) gettext_noop (String) -+#define textdomain(String) -+#endif - - #define LINE_LEN 10 - ---- cpufrequtils-006/utils/set.c -+++ cpufrequtils-006/utils/set.c -@@ -12,16 +12,24 @@ - #include <limits.h> - #include <string.h> - #include <ctype.h> --#include <libintl.h> - #include <locale.h> - - #include <getopt.h> - - #include "cpufreq.h" - -+#ifdef NLS -+#include <libintl.h> - #define _(String) gettext(String) - #define gettext_noop(String) String - #define N_(String) gettext_noop(String) -+#else -+#define gettext_noop(String) String -+#define _(String) gettext_noop (String) -+#define gettext(String) gettext_noop (String) -+#define N_(String) gettext_noop (String) -+#define textdomain(String) -+#endif - - #define NORM_FREQ_LEN 32 - diff --git a/sys-power/cpufrequtils/files/cpufrequtils-conf.d-005 b/sys-power/cpufrequtils/files/cpufrequtils-conf.d-005 deleted file mode 100644 index 68f5b75..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-conf.d-005 +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils - -# Options when starting cpufreq (given to the `cpufreq-set` program) -START_OPTS="--governor ondemand" - -# Options when stopping cpufreq (given to the `cpufreq-set` program) -STOP_OPTS="--governor performance" diff --git a/sys-power/cpufrequtils/files/cpufrequtils-conf.d-006 b/sys-power/cpufrequtils/files/cpufrequtils-conf.d-006 deleted file mode 100644 index 8959664..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-conf.d-006 +++ /dev/null @@ -1,11 +0,0 @@ -# /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils - -# Options when starting cpufreq (given to the `cpufreq-set` program) -START_OPTS="--governor ondemand" - -# Options when stopping cpufreq (given to the `cpufreq-set` program) -STOP_OPTS="--governor performance" - -# Extra settings to write to sysfs cpufreq values. -#SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=70" - diff --git a/sys-power/cpufrequtils/files/cpufrequtils-init.d-005 b/sys-power/cpufrequtils/files/cpufrequtils-init.d-005 deleted file mode 100644 index 9aadd94..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-init.d-005 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-005,v 1.2 2008/10/21 21:20:59 vapier Exp $ - -affect_change() { - local c ret=0 - ebegin "Running cpufreq-set $*" - for c in $(cpufreq-info -o | awk '$1 == "CPU" { print $2 }') ; do - cpufreq-set -c ${c} $* - : $((ret+=$?)) - done - eend ${ret} -} - -start() { - affect_change ${START_OPTS} -} - -stop() { - affect_change ${STOP_OPTS} -} diff --git a/sys-power/cpufrequtils/files/cpufrequtils-init.d-006 b/sys-power/cpufrequtils/files/cpufrequtils-init.d-006 deleted file mode 100755 index 201f234..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-init.d-006 +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-006,v 1.1 2010/01/15 07:41:51 vapier Exp $ - -affect_change() { - local c ret=0 opts="$1" - shift - ebegin "Running cpufreq-set ${opts}" - for c in $(cpufreq-info -o | awk '$1 == "CPU" { print $2 }') ; do - cpufreq-set -c ${c} ${opts} - : $(( ret += $? )) - done - eend ${ret} - - if [ $# -gt 0 ] ; then - c=1 - einfo "Setting extra options: $*" - if cd /sys/devices/system/cpu/cpufreq ; then - local o v - for o in "$@" ; do - v=${o#*=} - o=${o%%=*} - echo ${v} > ${o} || break - done - c=0 - fi - eend ${c} - : $(( ret += c )) - fi - - return ${ret} -} - -start() { - affect_change "${START_OPTS}" ${SYSFS_EXTRA} -} - -stop() { - affect_change "${STOP_OPTS}" -} diff --git a/sys-power/cpufrequtils/files/cpufrequtils-mips.patch b/sys-power/cpufrequtils/files/cpufrequtils-mips.patch deleted file mode 100644 index cba8ab4..0000000 --- a/sys-power/cpufrequtils/files/cpufrequtils-mips.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- utils/aperf.c.orig 2010-07-18 01:38:02.000000000 +0800 -+++ utils/aperf.c 2010-07-18 01:38:39.000000000 +0800 -@@ -68,11 +68,15 @@ - - static int cpu_has_effective_freq() - { -+#if defined(__i386__) || defined(__x86_64__) - /* largest base level */ - if (cpuid_eax(0) < 6) - return 0; - - return cpuid_ecx(6) & 0x1; -+#else -+ return 0; -+#endif - } - - /* diff --git a/sys-power/cpufrequtils/metadata.xml b/sys-power/cpufrequtils/metadata.xml deleted file mode 100644 index bfaf333..0000000 --- a/sys-power/cpufrequtils/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>mobile</herd> -</pkgmetadata> |