mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [PATCH 1/3] powertop: remove powertop package
Date: Tue,  1 Apr 2014 18:02:33 +0200	[thread overview]
Message-ID: <1396368155-27756-2-git-send-email-alex.aring@gmail.com> (raw)
In-Reply-To: <1396368155-27756-1-git-send-email-alex.aring@gmail.com>

This patch removes the current version of powertop. The URL of the
current version ends up in a 404 not found and there is already a newer
version with autotools support.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 patches/powertop-1.11/add-ldflags.diff     | 31 ---------------
 patches/powertop-1.11/remove-bashism.patch | 37 -----------------
 patches/powertop-1.11/series               |  2 -
 rules/powertop.in                          | 21 ----------
 rules/powertop.make                        | 64 ------------------------------
 5 files changed, 155 deletions(-)
 delete mode 100644 patches/powertop-1.11/add-ldflags.diff
 delete mode 100644 patches/powertop-1.11/remove-bashism.patch
 delete mode 100644 patches/powertop-1.11/series
 delete mode 100644 rules/powertop.in
 delete mode 100644 rules/powertop.make

diff --git a/patches/powertop-1.11/add-ldflags.diff b/patches/powertop-1.11/add-ldflags.diff
deleted file mode 100644
index 44c92f0..0000000
--- a/patches/powertop-1.11/add-ldflags.diff
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Subject: use LDFLAGS during linking
-
-powertop fails to link, if ncursesw isn't in the
-standard library search path.
-
-It fails even if the LDFLAGS have the appropriate -L.
-This patch add LDFLAGS to the linker invocation.
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
-send upstream to power@bughost.org
-should appear here soon: http://www.bughost.org/pipermail/power/2009-April/thread.html
-
----
- Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: powertop-1.11/Makefile
-===================================================================
---- powertop-1.11.orig/Makefile
-+++ powertop-1.11/Makefile
-@@ -20,7 +20,7 @@ OBJS = powertop.o config.o process.o mis
- 	
- 
- powertop: $(OBJS) Makefile powertop.h
--	$(CC) ${CFLAGS}  $(OBJS) -lncursesw -o powertop
-+	$(CC) ${CFLAGS} $(LDFLAGS) $(OBJS) -lncursesw -o powertop
- 	@(cd po/ && $(MAKE))
- 
- powertop.1.gz: powertop.1
diff --git a/patches/powertop-1.11/remove-bashism.patch b/patches/powertop-1.11/remove-bashism.patch
deleted file mode 100644
index ba2bce8..0000000
--- a/patches/powertop-1.11/remove-bashism.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: http://ftp.de.debian.org/debian/pool/main/p/powertop/powertop_1.11-1.diff.gz
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## remove-bashism.dpatch by Patrick Winnertz <winnie@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: remove some bashisms in the output
-
-@DPATCH@
-diff --git a/cpufreq.c b/cpufreq.c
-index ab84dc4..a291fdf 100644
---- a/cpufreq.c
-+++ b/cpufreq.c
-@@ -39,7 +39,7 @@ static void activate_ondemand(void)
- 	FILE *file;
- 	char filename[PATH_MAX];
- 
--	system("/sbin/modprobe cpufreq_ondemand &> /dev/null");
-+	system("/sbin/modprobe cpufreq_ondemand > /dev/null 2>&1");
- 
- 
- 	dir = opendir("/sys/devices/system/cpu");
-diff --git a/powertop.c b/powertop.c
-index fc605ec..4d18de8 100644
---- a/powertop.c
-+++ b/powertop.c
-@@ -798,7 +798,7 @@ int main(int argc, char **argv)
- 	if (!dump)
- 		ticktime = 5.0;
-  
--	system("/sbin/modprobe cpufreq_stats &> /dev/null");
-+	system("/sbin/modprobe cpufreq_stats > /dev/null 2>&1");
- 	read_data(&start_usage[0], &start_duration[0]);
- 
- 
diff --git a/patches/powertop-1.11/series b/patches/powertop-1.11/series
deleted file mode 100644
index 1bb7176..0000000
--- a/patches/powertop-1.11/series
+++ /dev/null
@@ -1,2 +0,0 @@
-add-ldflags.diff
-remove-bashism.patch
diff --git a/rules/powertop.in b/rules/powertop.in
deleted file mode 100644
index 56e7521..0000000
--- a/rules/powertop.in
+++ /dev/null
@@ -1,21 +0,0 @@
-## SECTION=debug_tools
-
-config POWERTOP
-	tristate
-	prompt "powertop"
-	select GCCLIBS_GCC_S
-	select NCURSES
-	help
-	  PowerTOP is a Linux tool that finds the software
-	  component(s) that make your laptop use more power than
-	  necessary while it is idle. As of Linux kernel version
-	  2.6.21, the kernel no longer has a fixed 1000Hz timer
-	  tick. This will (in theory) give a huge power savings
-	  because the CPU stays in low power mode for longer periods
-	  of time during system idle.
-
-	  However... there are many things that can ruin the party,
-	  both inside the kernel and in userspace. PowerTOP combines
-	  various sources of information from the kernel into one
-	  convenient screen so that you can see how well your system
-	  is doing, and which components are the biggest problem.
diff --git a/rules/powertop.make b/rules/powertop.make
deleted file mode 100644
index a3be360..0000000
--- a/rules/powertop.make
+++ /dev/null
@@ -1,64 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_POWERTOP) += powertop
-
-#
-# Paths and names
-#
-POWERTOP_VERSION	:= 1.11
-POWERTOP_MD5		:= 3498f5983c683c3a57dce7379a722082
-POWERTOP		:= powertop-$(POWERTOP_VERSION)
-POWERTOP_SUFFIX		:= tar.gz
-POWERTOP_URL		:= http://www.lesswatts.org/projects/powertop/download/$(POWERTOP).$(POWERTOP_SUFFIX)
-POWERTOP_SOURCE		:= $(SRCDIR)/$(POWERTOP).$(POWERTOP_SUFFIX)
-POWERTOP_DIR		:= $(BUILDDIR)/$(POWERTOP)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-POWERTOP_PATH	:= PATH=$(CROSS_PATH)
-
-POWERTOP_COMPILE_ENV 	:= $(CROSS_ENV)
-POWERTOP_MAKEVARS	:= BINDIR=/usr/sbin
-
-$(STATEDIR)/powertop.prepare:
-	@$(call targetinfo)
-ifdef PTXCONF_NCURSES_WIDE_CHAR
-	sed -i -e "s/-lncurses[^ ]*/-lncursesw/g" "$(POWERTOP_DIR)/Makefile"
-else
-	sed -i -e "s/-lncurses[^ ]*/-lncurses/g" "$(POWERTOP_DIR)/Makefile"
-endif
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/powertop.targetinstall:
-	@$(call targetinfo)
-
-	@$(call install_init, powertop)
-	@$(call install_fixup, powertop,PRIORITY,optional)
-	@$(call install_fixup, powertop,SECTION,base)
-	@$(call install_fixup, powertop,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
-	@$(call install_fixup, powertop,DESCRIPTION,missing)
-
-	@$(call install_copy, powertop, 0, 0, 0755, -, /usr/sbin/powertop)
-
-	@$(call install_finish, powertop)
-
-	@$(call touch)
-
-# vim: syntax=make
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-04-01 16:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 16:02 [ptxdist] [PATCH 0/3] powertop: add new version with new features Alexander Aring
2014-04-01 16:02 ` Alexander Aring [this message]
2014-04-01 16:02 ` [ptxdist] [PATCH 2/3] pciutils: bump version and cleanup Alexander Aring
2014-04-02  9:15   ` Michael Olbrich
2014-04-02 10:35     ` Alexander Aring
2014-04-03  8:29     ` Alexander Aring
2014-04-03  8:48       ` Michael Olbrich
2014-04-01 16:02 ` [ptxdist] [PATCH 3/3] powertop: add new package Alexander Aring
2014-04-02  9:17   ` Michael Olbrich
2014-04-02 10:38     ` Alexander Aring
2014-04-02 13:45       ` Michael Olbrich
2014-04-02 14:00         ` Alexander Aring
2014-04-07  8:03 ` [ptxdist] [PATCH 0/3] powertop: add new version with new features Juergen Beisert
2014-04-07 14:17   ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396368155-27756-2-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox