[oe-commits] Qian Lei : tiptop: Add new recipe

git at git.openembedded.org git at git.openembedded.org
Fri Nov 21 14:20:05 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 8a4824b3c7c8b48f462767545b8a88c2495a86a8
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8a4824b3c7c8b48f462767545b8a88c2495a86a8

Author: Qian Lei <qianl.fnst at cn.fujitsu.com>
Date:   Thu Nov 20 16:59:01 2014 +0800

tiptop: Add new recipe

Tiptop is a performance monitoring tool for Linux. It provides a
dynamic real-time view of the tasks running in the system. Tiptop
is very similar to the top utility, but most of the information
displayed comes from hardware counters.

Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../tiptop/tiptop-remove-path-of-libxml2.patch     | 28 ++++++++++++++++++++++
 meta-oe/recipes-extended/tiptop/tiptop_2.2.bb      | 15 ++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/meta-oe/recipes-extended/tiptop/tiptop/tiptop-remove-path-of-libxml2.patch b/meta-oe/recipes-extended/tiptop/tiptop/tiptop-remove-path-of-libxml2.patch
new file mode 100644
index 0000000..7499828
--- /dev/null
+++ b/meta-oe/recipes-extended/tiptop/tiptop/tiptop-remove-path-of-libxml2.patch
@@ -0,0 +1,28 @@
+From 2f9cb586d6675371f9db8d4b62a4b339625d73a6 Mon Sep 17 00:00:00 2001
+From: Qian Lei <qianl.fnst at cn.fujitsu.com>
+Date: Thu, 20 Nov 2014 16:34:47 +0800
+Subject: [PATCH] tiptop: Remove the include path
+
+Remove the path and specify it in .bb file
+
+Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6a71782..7408f82 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -31,7 +31,7 @@ AC_CHECK_LIB([xml2], [xmlParseFile],
+                   [have_xml2=yes;
+                   AC_DEFINE([HAVE_LIBXML2], [1], [Define to 1 if you have the `libxml2' library (-lxml2).])
+                   LIBS="-lxml2 $LIBS"
+-                  CFLAGS="$CFLAGS -I/usr/include/libxml2"],
++                  CFLAGS="$CFLAGS"],
+              [have_xml2=no])
+ fi
+ 
+-- 
+1.8.3.1
+
diff --git a/meta-oe/recipes-extended/tiptop/tiptop_2.2.bb b/meta-oe/recipes-extended/tiptop/tiptop_2.2.bb
new file mode 100644
index 0000000..1caec9f
--- /dev/null
+++ b/meta-oe/recipes-extended/tiptop/tiptop_2.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Hardware performance monitoring counters"
+HOMEPAGE = "http://tiptop.gforge.inria.fr/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+DEPENDS = "ncurses libxml2"
+
+SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz \
+           file://tiptop-remove-path-of-libxml2.patch \
+"
+SRC_URI[md5sum] = "74255a29acf44569db021b080ad3e3f7"
+SRC_URI[sha256sum] = "965cb99b16cb59df78363d83b62877ce8501b0aac1116a86bed8a16aa96b171d"
+
+EXTRA_OECONF = "CFLAGS="$CFLAGS -I${STAGING_INCDIR}/libxml2""
+
+inherit autotools-brokensep



More information about the Openembedded-commits mailing list