Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Kennedy <Andy.Kennedy@adtran.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] htop: new package
Date: Fri, 14 Jan 2011 16:54:00 -0600	[thread overview]
Message-ID: <4D30D408.1000809@AdTran.com> (raw)

The following adds support for version 0.8.3 of htop.  0.9 is the
latest, however, is dependant on backtrace.  The next version is to
remove the hard dependencies of backtrace and make it a compile-time
check.

Signed-off-by: Andy Kennedy <andy.kennedy@adtran.com>
---
diff -Naur a/package/htop/Config.in b/package/htop/Config.in
--- a/package/htop/Config.in    1969-12-31 18:00:00.000000000 -0600
+++ b/package/htop/Config.in    2011-01-11 15:16:01.000000000 -0600
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_HTOP
+       bool "htop"
+       select BR2_PACKAGE_NCURSES
+       select UCLIBC_HAS_BACKTRACE if BR2_TOOLCHAIN_BUILDROOT
+       help
+         htop is an interactive text-mode process viewer for Linux.
+         It aims to be a better top.
+
+         http://sourceforge.net/projects/htop/
diff -Naur a/package/htop/htop-cross-no-proc-check.patch
b/package/htop/htop-cross-no-proc-check.patch
--- a/package/htop/htop-cross-no-proc-check.patch       1969-12-31
18:00:00.000000000 -0600
+++ b/package/htop/htop-cross-no-proc-check.patch       2011-01-12
14:51:53.000000000 -0600
@@ -0,0 +1,18 @@
+--- a/configure        2009-06-23 08:53:37.000000000 -0500
++++ b/configure        2011-01-12 14:21:49.000000000 -0600
+@@ -21809,6 +21809,7 @@
+
+ fi
+
++if test "$cross_compiling" = no ; then
+ as_ac_File=`echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh`
+ { echo "$as_me:$LINENO: checking for $PROCDIR/stat" >&5
+ echo $ECHO_N "checking for $PROCDIR/stat... $ECHO_C" >&6; }
+@@ -21862,6 +21863,7 @@
+ echo "$as_me: error: Cannot find /proc/meminfo. Make sure you have a
Linux-compatible /proc filesystem mounted. See the file README for
help." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
++fi #cross_compiling = no (Andy Kennedy)
+
+
+
diff -Naur a/package/htop/htop.mk b/package/htop/htop.mk
--- a/package/htop/htop.mk      1969-12-31 18:00:00.000000000 -0600
+++ b/package/htop/htop.mk      2011-01-12 13:36:36.000000000 -0600
@@ -0,0 +1,12 @@
+#############################################################
+#
+# htop
+#
+#############################################################
+# Version 0.9 requires backtrace, which doesn't exsist in uClibC, yet.
+HTOP_VERSION = 0.8.3
+HTOP_SOURCE = htop-$(HTOP_VERSION).tar.gz
+HTOP_SITE =
http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/htop/$(HTOP_VERSION)
+HTOP_DEPENDENCIES = ncurses
+
+$(eval $(call AUTOTARGETS,package,htop))

             reply	other threads:[~2011-01-14 22:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 22:54 Andy Kennedy [this message]
2011-01-14 22:55 ` [Buildroot] [PATCH] htop: new package ANDY KENNEDY
  -- strict thread matches above, loose matches on Subject: below --
2011-01-14 23:38 Andy Kennedy
2011-01-12 21:15 ANDY KENNEDY
2011-01-14  7:59 ` Thomas Petazzoni
2011-01-14 16:14   ` ANDY KENNEDY
2011-01-14 17:14     ` Thomas Petazzoni

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=4D30D408.1000809@AdTran.com \
    --to=andy.kennedy@adtran.com \
    --cc=buildroot@busybox.net \
    /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