summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-03-22 15:07:03 +0000
committerRichard Purdie <richard@openedhand.com>2006-03-22 15:07:03 +0000
commit91a5b96208f739ab8448081f2c895f80a92412b1 (patch)
tree5c1cb49cca1b557bf0291dd157c667db3a76b9c4
parent1a630d6ef9a06079771fa1709e8efea1e67b29a5 (diff)
downloadpoky-91a5b96208f739ab8448081f2c895f80a92412b1.tar.gz
Add LTTng packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@323 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--openembedded/packages/libmatchbox/libmatchbox_svn.bb4
-rw-r--r--openembedded/packages/lttng/lttng-control_0.1.bb14
-rw-r--r--openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch59
-rw-r--r--openembedded/packages/lttng/lttng-modules_0.12.bb22
-rw-r--r--openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb20
-rw-r--r--openembedded/packages/maemo/nokia770-init_1.0.bb6
-rw-r--r--openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate6
-rw-r--r--openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver2
-rw-r--r--openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb2
-rw-r--r--openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb2
-rwxr-xr-xopenembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm8
11 files changed, 132 insertions, 13 deletions
diff --git a/openembedded/packages/libmatchbox/libmatchbox_svn.bb b/openembedded/packages/libmatchbox/libmatchbox_svn.bb
index 90debcd87b..ebf6dfc3f5 100644
--- a/openembedded/packages/libmatchbox/libmatchbox_svn.bb
+++ b/openembedded/packages/libmatchbox/libmatchbox_svn.bb
@@ -2,9 +2,11 @@ include libmatchbox.inc
2 2
3PV = "1.7+svn${SRCDATE}" 3PV = "1.7+svn${SRCDATE}"
4DEFAULT_PREFERENCE = "-1" 4DEFAULT_PREFERENCE = "-1"
5PR="1"
5 6
6SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http\ 7SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http\
7 file://check.m4" 8 file://check.m4 \
9 file://16bppfixes.patch;patch=1"
8S = "${WORKDIR}/libmatchbox" 10S = "${WORKDIR}/libmatchbox"
9 11
10do_configure_prepend () { 12do_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
index 0000000000..018187741b
--- /dev/null
+++ b/openembedded/packages/lttng/lttng-control_0.1.bb
@@ -0,0 +1,14 @@
1SECTION = "devel"
2DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
3extract program execution details from the Linux operating system and \
4interpret them."
5LICENSE = "GPL"
6MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>"
7
8SRC_URI = "http://ltt.polymtl.ca/lttng/ltt-control-${PV}-11032006.tar.gz"
9
10S = "${WORKDIR}/ltt-control-${PV}-11032006"
11
12inherit autotools
13
14FILES_${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
index 0000000000..68abc7dda4
--- /dev/null
+++ b/openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch
@@ -0,0 +1,59 @@
1Index: ltt-modules-0.12/ltt-statedump.c
2===================================================================
3--- ltt-modules-0.12.orig/ltt-statedump.c 2006-03-09 19:33:38.000000000 +0000
4+++ ltt-modules-0.12/ltt-statedump.c 2006-03-22 12:43:30.000000000 +0000
5@@ -19,8 +19,14 @@
6 #include <linux/proc_fs.h>
7 #include <linux/file.h>
8 #include <linux/interrupt.h>
9-#include <linux/irq.h>
10 #include <linux/ltt/ltt-facility-statedump.h>
11+#ifndef CONFIG_ARM
12+#include <linux/irq.h>
13+#else
14+#include <asm/mach/irq.h>
15+#endif
16+
17+
18
19 #define NB_PROC_CHUNK 20
20
21@@ -160,6 +166,7 @@
22 return 0;
23 }
24
25+#ifndef CONFIG_ARM
26 static inline int ltt_enumerate_interrupts(void)
27 {
28 unsigned int i;
29@@ -182,7 +189,9 @@
30
31 return 0;
32 }
33-
34+#else
35+#define ltt_enumerate_interrupts(x)
36+#endif
37
38 static inline int ltt_enumerate_process_states(void)
39 {
40Index: ltt-modules-0.12/Makefile
41===================================================================
42--- ltt-modules-0.12.orig/Makefile 2006-03-11 18:16:17.000000000 +0000
43+++ ltt-modules-0.12/Makefile 2006-03-22 12:39:44.000000000 +0000
44@@ -1,9 +1,7 @@
45-ifneq ($(KERNELRELEASE),)
46 ifneq ($(CONFIG_LTT),)
47 obj-m := ltt-control.o ltt-statedump.o
48 endif
49
50-else
51 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
52 PWD := $(shell pwd)
53 KERNELRELEASE = $(shell cat $(KERNELDIR)/$(KBUILD_OUTPUT)/include/linux/version.h | sed -n 's/.*UTS_RELEASE.*\"\(.*\)\".*/\1/p')
54@@ -21,4 +19,4 @@
55
56 clean:
57 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
58-endif
59+
diff --git a/openembedded/packages/lttng/lttng-modules_0.12.bb b/openembedded/packages/lttng/lttng-modules_0.12.bb
new file mode 100644
index 0000000000..51f6a05ec1
--- /dev/null
+++ b/openembedded/packages/lttng/lttng-modules_0.12.bb
@@ -0,0 +1,22 @@
1SECTION = "devel"
2DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
3extract program execution details from the Linux operating system and \
4interpret them."
5LICENSE = "GPL"
6MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>"
7
8SRC_URI = "http://ltt.polymtl.ca/lttng/${PN}-${PV}.tar.gz \
9 file://ltt-modules-fixes.patch;patch=1"
10
11S = "${WORKDIR}/ltt-modules-${PV}"
12
13inherit module
14
15export KERNELDIR="${STAGING_KERNEL_DIR}"
16
17do_install() {
18 install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
19 install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
20}
21
22FILES = "/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
index 0000000000..b76f8b8116
--- /dev/null
+++ b/openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb
@@ -0,0 +1,20 @@
1SECTION = "devel"
2DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
3extract program execution details from the Linux operating system and \
4interpret them."
5LICENSE = "GPL"
6MAINTAINER = "Richrd Purdie <richard@openedhand.com>"
7PR = "r1"
8DEPENDS = "gtk+ pango popt"
9
10ALTNAME = "LinuxTraceToolkitViewer-0.8.34-17032006"
11
12SRC_URI = "http://ltt.polymtl.ca/packages/${ALTNAME}.tar.gz "
13S = "${WORKDIR}/${ALTNAME}"
14
15inherit autotools
16
17FILES_${PN} += "\
18 ${libdir}/lttv/plugins/* \
19 ${datadir}/LinuxTraceToolkitViewer/facilities/* \
20 ${datadir}/LinuxTraceToolkitViewer/pixmaps/* "
diff --git a/openembedded/packages/maemo/nokia770-init_1.0.bb b/openembedded/packages/maemo/nokia770-init_1.0.bb
index 414c4e41c0..84c1e3c279 100644
--- a/openembedded/packages/maemo/nokia770-init_1.0.bb
+++ b/openembedded/packages/maemo/nokia770-init_1.0.bb
@@ -1,6 +1,6 @@
1LICENSE = "GPL" 1LICENSE = "GPL"
2MAINTAINER = "Florian Boor <florian@kernelconcepts.de" 2MAINTAINER = "Florian Boor <florian@kernelconcepts.de"
3PR = "r4" 3PR = "r5"
4 4
5DEPENDS = "base-passwd" 5DEPENDS = "base-passwd"
6#RDEPENDS = "hotplug" 6#RDEPENDS = "hotplug"
@@ -37,6 +37,6 @@ fi
37 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin 37 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin
38 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm 38 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm
39 39
40 rm -rf /lib/modules 40# rm -rf /lib/modules
41 ln -s /mnt/initfs/lib/modules /lib/modules 41# ln -s /mnt/initfs/lib/modules /lib/modules
42} 42}
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate
index de47b871a2..793672eb65 100644
--- a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate
+++ b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3if [ ! -f /etc/pointercal ]; then 3#if [ ! -f /etc/pointercal ]; then
4 /usr/bin/xtscal 4# /usr/bin/xtscal
5fi 5#fi
6 6
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
index 49ee0cf580..88b8abbb23 100644
--- a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
+++ b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
@@ -68,6 +68,8 @@ case `module_id` in
68 ARGS="$ARGS -rgba rgb" ;; 68 ARGS="$ARGS -rgba rgb" ;;
69 "Generic OMAP1510/1610/1710") 69 "Generic OMAP1510/1610/1710")
70 ARGS="$ARGS -mouse /dev/input/event0" ;; 70 ARGS="$ARGS -mouse /dev/input/event0" ;;
71 "ARM-IntegratorCP")
72 ARGS="$ARGS -rgba vrgb"
71esac 73esac
72 74
73exec $XSERVER $ARGS $* 75exec $XSERVER $ARGS $*
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
index 16ac1049b6..e1dee0faa2 100644
--- a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
+++ b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal" 4RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
5PR = "r3" 5PR = "r4"
6 6
7SRC_URI = "file://etc" 7SRC_URI = "file://etc"
8S = ${WORKDIR} 8S = ${WORKDIR}
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb
index 3ea41de7f5..633f546117 100644
--- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb
+++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4PRIORITY = "optional" 4PRIORITY = "optional"
5PR = "r0" 5PR = "r1"
6 6
7SRC_URI = "file://xserver-nodm" 7SRC_URI = "file://xserver-nodm"
8S = ${WORKDIR} 8S = ${WORKDIR}
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
index dcafb9e98f..0f64b6c114 100755
--- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
+++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
@@ -14,10 +14,10 @@ case "$1" in
14 /etc/X11/Xserver & 14 /etc/X11/Xserver &
15 export DISPLAY=:0 15 export DISPLAY=:0
16 16
17 while [ ! -f /etc/pointercal ] 17# while [ ! -f /etc/pointercal ]
18 do 18# do
19 /usr/bin/xtscal 19# /usr/bin/xtscal
20 done 20# done
21 21
22 /etc/X11/Xsession & 22 /etc/X11/Xsession &
23 ;; 23 ;;