]> code.ossystems Code Review - openembedded-core.git/commitdiff
Add LTTng packages
authorRichard Purdie <richard@openedhand.com>
Wed, 22 Mar 2006 15:07:03 +0000 (15:07 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 22 Mar 2006 15:07:03 +0000 (15:07 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@323 311d38ba-8fff-0310-9ca6-ca027cbcb966

openembedded/packages/libmatchbox/libmatchbox_svn.bb
openembedded/packages/lttng/lttng-control_0.1.bb [new file with mode: 0644]
openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch [new file with mode: 0644]
openembedded/packages/lttng/lttng-modules_0.12.bb [new file with mode: 0644]
openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb [new file with mode: 0644]
openembedded/packages/maemo/nokia770-init_1.0.bb
openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate
openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb
openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm

index 90debcd87b867cd2f05550605b5327b03fe2a1f4..ebf6dfc3f5e424f872928012b32bcaa64aebdfe7 100644 (file)
@@ -2,9 +2,11 @@ include libmatchbox.inc
 
 PV = "1.7+svn${SRCDATE}"
 DEFAULT_PREFERENCE = "-1"
+PR="1"
 
 SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http\
-          file://check.m4"
+          file://check.m4 \
+          file://16bppfixes.patch;patch=1"
 S = "${WORKDIR}/libmatchbox"
 
 do_configure_prepend () {
diff --git a/openembedded/packages/lttng/lttng-control_0.1.bb b/openembedded/packages/lttng/lttng-control_0.1.bb
new file mode 100644 (file)
index 0000000..0181877
--- /dev/null
@@ -0,0 +1,14 @@
+SECTION = "devel"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
+extract program execution details from the Linux operating system and  \
+interpret them."
+LICENSE = "GPL"
+MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>"
+
+SRC_URI = "http://ltt.polymtl.ca/lttng/ltt-control-${PV}-11032006.tar.gz"
+
+S = "${WORKDIR}/ltt-control-${PV}-11032006"
+
+inherit autotools
+
+FILES_${PN} += "${datadir}/ltt-control/facilities/*"       
\ No newline at end of file
diff --git a/openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch b/openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch
new file mode 100644 (file)
index 0000000..68abc7d
--- /dev/null
@@ -0,0 +1,59 @@
+Index: ltt-modules-0.12/ltt-statedump.c
+===================================================================
+--- ltt-modules-0.12.orig/ltt-statedump.c      2006-03-09 19:33:38.000000000 +0000
++++ ltt-modules-0.12/ltt-statedump.c   2006-03-22 12:43:30.000000000 +0000
+@@ -19,8 +19,14 @@
+ #include <linux/proc_fs.h>
+ #include <linux/file.h>
+ #include <linux/interrupt.h>
+-#include <linux/irq.h>
+ #include <linux/ltt/ltt-facility-statedump.h>
++#ifndef CONFIG_ARM
++#include <linux/irq.h>
++#else
++#include <asm/mach/irq.h>
++#endif
++
++
+ #define NB_PROC_CHUNK 20
+@@ -160,6 +166,7 @@
+       return 0;
+ }
++#ifndef CONFIG_ARM
+ static inline int ltt_enumerate_interrupts(void)
+ {
+       unsigned int i;
+@@ -182,7 +189,9 @@
+       
+       return 0;
+ }
+-
++#else
++#define ltt_enumerate_interrupts(x)
++#endif
+ static inline int ltt_enumerate_process_states(void)
+ {
+Index: ltt-modules-0.12/Makefile
+===================================================================
+--- ltt-modules-0.12.orig/Makefile     2006-03-11 18:16:17.000000000 +0000
++++ ltt-modules-0.12/Makefile  2006-03-22 12:39:44.000000000 +0000
+@@ -1,9 +1,7 @@
+-ifneq ($(KERNELRELEASE),)
+ ifneq ($(CONFIG_LTT),)
+       obj-m := ltt-control.o ltt-statedump.o
+ endif
+-else
+       KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+       PWD := $(shell pwd)
+       KERNELRELEASE = $(shell cat $(KERNELDIR)/$(KBUILD_OUTPUT)/include/linux/version.h | sed -n 's/.*UTS_RELEASE.*\"\(.*\)\".*/\1/p')
+@@ -21,4 +19,4 @@
+ clean:
+       $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+-endif
++
diff --git a/openembedded/packages/lttng/lttng-modules_0.12.bb b/openembedded/packages/lttng/lttng-modules_0.12.bb
new file mode 100644 (file)
index 0000000..51f6a05
--- /dev/null
@@ -0,0 +1,22 @@
+SECTION = "devel"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
+extract program execution details from the Linux operating system and  \
+interpret them."
+LICENSE = "GPL"
+MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>"
+
+SRC_URI = "http://ltt.polymtl.ca/lttng/${PN}-${PV}.tar.gz \
+           file://ltt-modules-fixes.patch;patch=1"
+
+S = "${WORKDIR}/ltt-modules-${PV}"
+
+inherit module
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+
+do_install() {   
+        install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
+        install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
+}
+
+FILES = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX}"        
diff --git a/openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb b/openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb
new file mode 100644 (file)
index 0000000..b76f8b8
--- /dev/null
@@ -0,0 +1,20 @@
+SECTION = "devel"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
+extract program execution details from the Linux operating system and  \
+interpret them."
+LICENSE = "GPL"
+MAINTAINER = "Richrd Purdie <richard@openedhand.com>"
+PR = "r1"
+DEPENDS = "gtk+ pango popt"
+
+ALTNAME = "LinuxTraceToolkitViewer-0.8.34-17032006"
+
+SRC_URI = "http://ltt.polymtl.ca/packages/${ALTNAME}.tar.gz "
+S = "${WORKDIR}/${ALTNAME}"
+
+inherit autotools
+
+FILES_${PN} += "\
+    ${libdir}/lttv/plugins/* \
+    ${datadir}/LinuxTraceToolkitViewer/facilities/* \
+    ${datadir}/LinuxTraceToolkitViewer/pixmaps/* "
index 414c4e41c02a03e9f4c54418ad41aefa7e4f5812..84c1e3c279925a7deddda4efa510dc7d191d0dce 100644 (file)
@@ -1,6 +1,6 @@
 LICENSE    = "GPL"
 MAINTAINER = "Florian Boor <florian@kernelconcepts.de"
-PR         = "r4"
+PR         = "r5"
 
 DEPENDS    = "base-passwd"
 #RDEPENDS   = "hotplug"
@@ -37,6 +37,6 @@ fi
         ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin
         ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm
 
-       rm -rf /lib/modules
-       ln -s /mnt/initfs/lib/modules /lib/modules
+#      rm -rf /lib/modules
+#      ln -s /mnt/initfs/lib/modules /lib/modules
 }
index de47b871a2234a94b463f3a76ae3d5a1ef49a8de..793672eb65ee7bba5107fc807527830621d6ef79 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ ! -f /etc/pointercal ]; then
-    /usr/bin/xtscal
-fi
+#if [ ! -f /etc/pointercal ]; then
+#    /usr/bin/xtscal
+#fi
 
index 49ee0cf580aa886dc646160b248e21e1ae39c400..88b8abbb238a04dd268e54cb0953564eb664758e 100644 (file)
@@ -68,6 +68,8 @@ case `module_id` in
                ARGS="$ARGS -rgba rgb" ;;
        "Generic OMAP1510/1610/1710")
                ARGS="$ARGS -mouse /dev/input/event0" ;;
+       "ARM-IntegratorCP")
+               ARGS="$ARGS -rgba vrgb"
 esac
 
 exec $XSERVER $ARGS $*
index 16ac1049b6016cd001fb3ed797d2adc9d10b55a8..e1dee0faa28169c1ca377375c1bf2f105767be42 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "file://etc"
 S = ${WORKDIR}
index 3ea41de7f53d8a6f910ea99d05c44fedc5cb7d2d..633f54611776d7472fe909de9728588c6f7d43de 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
 LICENSE = "GPL"
 SECTION = "x11"
 PRIORITY = "optional"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "file://xserver-nodm"
 S = ${WORKDIR}
index dcafb9e98f7a020f87c82ce695fcfeb5e583e19e..0f64b6c114dfb603e773b09ed0738a3b1853d184 100755 (executable)
@@ -14,10 +14,10 @@ case "$1" in
        /etc/X11/Xserver &
        export DISPLAY=:0
               
-       while [ ! -f /etc/pointercal ]
-       do
-               /usr/bin/xtscal
-       done
+#       while [ ! -f /etc/pointercal ]
+#       do
+#               /usr/bin/xtscal
+#       done
 
        /etc/X11/Xsession &
   ;;