diff options
author | Richard Purdie <richard@openedhand.com> | 2006-03-22 15:07:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-03-22 15:07:03 +0000 |
commit | 91a5b96208f739ab8448081f2c895f80a92412b1 (patch) | |
tree | 5c1cb49cca1b557bf0291dd157c667db3a76b9c4 | |
parent | 1a630d6ef9a06079771fa1709e8efea1e67b29a5 (diff) | |
download | poky-91a5b96208f739ab8448081f2c895f80a92412b1.tar.gz |
Add LTTng packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@323 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | ||
3 | PV = "1.7+svn${SRCDATE}" | 3 | PV = "1.7+svn${SRCDATE}" |
4 | DEFAULT_PREFERENCE = "-1" | 4 | DEFAULT_PREFERENCE = "-1" |
5 | PR="1" | ||
5 | 6 | ||
6 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http\ | 7 | SRC_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" | ||
8 | S = "${WORKDIR}/libmatchbox" | 10 | S = "${WORKDIR}/libmatchbox" |
9 | 11 | ||
10 | do_configure_prepend () { | 12 | 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 index 0000000000..018187741b --- /dev/null +++ b/openembedded/packages/lttng/lttng-control_0.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SECTION = "devel" | ||
2 | DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \ | ||
3 | extract program execution details from the Linux operating system and \ | ||
4 | interpret them." | ||
5 | LICENSE = "GPL" | ||
6 | MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>" | ||
7 | |||
8 | SRC_URI = "http://ltt.polymtl.ca/lttng/ltt-control-${PV}-11032006.tar.gz" | ||
9 | |||
10 | S = "${WORKDIR}/ltt-control-${PV}-11032006" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | 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 index 0000000000..68abc7dda4 --- /dev/null +++ b/openembedded/packages/lttng/lttng-modules-0.12/ltt-modules-fixes.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | Index: 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 | { | ||
40 | Index: 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 @@ | |||
1 | SECTION = "devel" | ||
2 | DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \ | ||
3 | extract program execution details from the Linux operating system and \ | ||
4 | interpret them." | ||
5 | LICENSE = "GPL" | ||
6 | MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>" | ||
7 | |||
8 | SRC_URI = "http://ltt.polymtl.ca/lttng/${PN}-${PV}.tar.gz \ | ||
9 | file://ltt-modules-fixes.patch;patch=1" | ||
10 | |||
11 | S = "${WORKDIR}/ltt-modules-${PV}" | ||
12 | |||
13 | inherit module | ||
14 | |||
15 | export KERNELDIR="${STAGING_KERNEL_DIR}" | ||
16 | |||
17 | do_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 | |||
22 | 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 index 0000000000..b76f8b8116 --- /dev/null +++ b/openembedded/packages/lttng/lttng-viewer_0.8.34-20060317.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SECTION = "devel" | ||
2 | DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \ | ||
3 | extract program execution details from the Linux operating system and \ | ||
4 | interpret them." | ||
5 | LICENSE = "GPL" | ||
6 | MAINTAINER = "Richrd Purdie <richard@openedhand.com>" | ||
7 | PR = "r1" | ||
8 | DEPENDS = "gtk+ pango popt" | ||
9 | |||
10 | ALTNAME = "LinuxTraceToolkitViewer-0.8.34-17032006" | ||
11 | |||
12 | SRC_URI = "http://ltt.polymtl.ca/packages/${ALTNAME}.tar.gz " | ||
13 | S = "${WORKDIR}/${ALTNAME}" | ||
14 | |||
15 | inherit autotools | ||
16 | |||
17 | FILES_${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 @@ | |||
1 | LICENSE = "GPL" | 1 | LICENSE = "GPL" |
2 | MAINTAINER = "Florian Boor <florian@kernelconcepts.de" | 2 | MAINTAINER = "Florian Boor <florian@kernelconcepts.de" |
3 | PR = "r4" | 3 | PR = "r5" |
4 | 4 | ||
5 | DEPENDS = "base-passwd" | 5 | DEPENDS = "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 | ||
3 | if [ ! -f /etc/pointercal ]; then | 3 | #if [ ! -f /etc/pointercal ]; then |
4 | /usr/bin/xtscal | 4 | # /usr/bin/xtscal |
5 | fi | 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" | ||
71 | esac | 73 | esac |
72 | 74 | ||
73 | exec $XSERVER $ARGS $* | 75 | exec $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" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal" | 4 | RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal" |
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | SRC_URI = "file://etc" | 7 | SRC_URI = "file://etc" |
8 | S = ${WORKDIR} | 8 | S = ${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)" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI = "file://xserver-nodm" | 7 | SRC_URI = "file://xserver-nodm" |
8 | S = ${WORKDIR} | 8 | S = ${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 | ;; |