This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 meta-moblin/packages/tasks/task-moblin-tools.bb    |    3 ++-
 .../latencytop-0.4/latencytop-makefile.patch       |   18 ++++++++++++++++++
 meta/packages/latencytop/latencytop_0.4.bb         |   13 +++++++++++++
 meta/packages/tasks/task-poky-tools.bb             |    3 ++-
 4 files changed, 35 insertions(+), 2 deletions(-)

New commits:
commit c25a3f23dc3f812aefa904c4cf74bab116ccada2
Author: Peter Zhu <[EMAIL PROTECTED]>
Date:   Wed Nov 12 15:10:15 2008 +0800

    update PR of task-moblin-tools and task-poky-tools bb file for inclusion of 
latencytop

commit 55134952fc16d94c4ea344daf32ed63b1e96cbdb
Merge: 0ed68d5ed4d5d0123e783bf890d2e5d4f760cca7 
85e6a9d505be9034eac8f1c35201115789978f31
Author: Peter Zhu <[EMAIL PROTECTED]>
Date:   Wed Nov 12 15:06:59 2008 +0800

    Merge branch 'peter'

commit 85e6a9d505be9034eac8f1c35201115789978f31
Merge: 29f395a3a637862ca53730cec5df67bfa11cc35e 
6464c60a24444f684f4777c9062d534fb8bbe7a8
Author: Peter Zhu <[EMAIL PROTECTED]>
Date:   Wed Nov 12 15:04:21 2008 +0800

    Merge commit 'staging/yangyi/yangyi-latencytop' into peter

commit 6464c60a24444f684f4777c9062d534fb8bbe7a8
Author: Yi Yang <[EMAIL PROTECTED]>
Date:   Sat Nov 8 00:44:06 2008 +0800

    latencytop: package it in poky and moblin image
    
    Let poky and moblin image contain it.

commit 66b8aad2dc0526030b92c28c23f3c1ed3672cb4f
Author: Yi Yang <[EMAIL PROTECTED]>
Date:   Sat Nov 8 00:31:10 2008 +0800

    latencytop: add new package latencytop
    
    LatencyTOP is a Linux* tool for software developers (both kernel and 
userspace),
    aimed at identifying where in the system latency is happening, and what 
kind of
    operation/action is causing the latency to happen so that the code can be
    changed to avoid the worst latency hiccups.
    
    latencytop can be used to measure and fix latency in the system, it is as 
important
    as powertop.


Diff in this email is a maximum of 400 lines.
diff --git a/meta-moblin/packages/tasks/task-moblin-tools.bb 
b/meta-moblin/packages/tasks/task-moblin-tools.bb
index f937c8b..4dd6c30 100644
--- a/meta-moblin/packages/tasks/task-moblin-tools.bb
+++ b/meta-moblin/packages/tasks/task-moblin-tools.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = "Debuggin and profiling tools tasks for Moblin"
-PR = "r4"
+PR = "r5"
 
 PACKAGES = "\
     task-moblin-tools-debug \
@@ -32,6 +32,7 @@ RDEPENDS_task-moblin-tools-profile = "\
     oprofile \
     oprofileui-server \
     powertop \
+    latencytop \
     lttng-control \
     lttng-viewer \
     "
diff --git a/meta/packages/latencytop/latencytop-0.4/latencytop-makefile.patch 
b/meta/packages/latencytop/latencytop-0.4/latencytop-makefile.patch
new file mode 100644
index 0000000..d062436
--- /dev/null
+++ b/meta/packages/latencytop/latencytop-0.4/latencytop-makefile.patch
@@ -0,0 +1,18 @@
+--- a/Makefile 2008-11-07 23:25:22.000000000 +0800
++++ b/Makefile 2008-11-07 23:26:21.000000000 +0800
+@@ -1,7 +1,7 @@
+ DESTDIR =
+ SBINDIR = /usr/sbin
+ XCFLAGS = -W `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 
-Wno-sign-compare 
+-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw 
++LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncurses 
+ 
+ #
+ # The w in -lncurses is not a typo; it is the wide-character version
+@@ -25,5 +25,6 @@ clean:
+ 
+ install: latencytop
+       mkdir -p $(DESTDIR)/usr/share/latencytop
++      mkdir -p $(DESTDIR)$(SBINDIR)
+       install -m 0644 latencytop.trans 
$(DESTDIR)/usr/share/latencytop/latencytop.trans
+       install -m 0755 latencytop $(DESTDIR)$(SBINDIR)/
diff --git a/meta/packages/latencytop/latencytop_0.4.bb 
b/meta/packages/latencytop/latencytop_0.4.bb
new file mode 100644
index 0000000..00dfb71
--- /dev/null
+++ b/meta/packages/latencytop/latencytop_0.4.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "LatencyTOP, a Linux tool measuring and fixing latency"
+HOMEPAGE = "http://www.latencytop.org/";
+LICENSE = "GPLv2"
+DEPENDS = "virtual/libintl ncurses"
+
+SRC_URI = "http://www.latencytop.org/download/latencytop-${PV}.tar.gz \
+          file://latencytop-makefile.patch;patch=1"
+
+CFLAGS += "${LDFLAGS}"
+
+do_install() {
+    oe_runmake install DESTDIR=${D}
+}
diff --git a/meta/packages/tasks/task-poky-tools.bb 
b/meta/packages/tasks/task-poky-tools.bb
index f3f30c0..0a2ec55 100644
--- a/meta/packages/tasks/task-poky-tools.bb
+++ b/meta/packages/tasks/task-poky-tools.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = "Tools tasks for Poky"
-PR = "r1"
+PR = "r2"
 
 PACKAGES = "\
     task-poky-tools-debug \
@@ -32,6 +32,7 @@ RDEPENDS_task-poky-tools-profile = "\
     oprofile \
     oprofileui-server \
     powertop \
+    latencytop \
     lttng-control \
     lttng-viewer"
 
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to