Commit Graph

1760 Commits

Author SHA1 Message Date
Liang Li 9180f411ef recipes-kernel: make perf a standalone package
perf has been coupled to the kernel packages via kernel.bbclass.
While maintaining the build of perf out of the kernel source tree
is desired the package coupling has proved to be awkward in
several situations such as:

  - when a kernel recipe doesn't want to build/provide perf
  - when licensing of dependencies would prohibit perf and hence
    the kernel from being built.

To solve some of these problems, this recipe is the extraction of
the linux-tools.inc provided perf compilation into a standalone
perf recipe that builds out of the kernel source, but is otherwise
independent.

No new functionality is provided above what the linux-tools.inc
variant provided, but the separate recipe provides baseline for
adding new functionality.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-17 08:55:08 +02:00
Bruce Ashfield 0eb68d60cb kernel: save $kerndir/tools and $kerndir/lib from pruning
The kernel source tree in the sysroot has all unecessary source
code removed. The existing use case is to support module building
out of the sysroot, but as more toolsa are moved into the kernel
tree itself there are new use cases for the kernel sysroot source.

To avoid putting dependencies on the kernel, and to be able to
individually build and package these tools out of the source tree,
we can save $kerndir/tools and $kernddir/lib from being removed.
This enables tools like perf to be built our of the kernel source
in the sysroot, without significantly increasing the amount of
source in the sysroot.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-17 08:55:08 +02:00
Eric Bénard 5ca406f078 Merge branch 'denzil-next' into denzil 2012-09-14 14:53:59 +02:00
Otavio Salvador 06606bba44 libxaw: Fix libxaw-dev to not depends on non-existent libxaw package
The libxaw recipe generate a binary package for each soname of libxaw
(currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
cannot depends on it.

Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-14 14:53:05 +02:00
Eric Bénard d35e9e1144 Merge branch 'denzil-next' into denzil 2012-09-02 15:04:25 +02:00
Koen Kooi 653f2f6169 sox: add 14.4.0
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:03:01 +02:00
Andreas Müller 59c9953595 systemd.bbclass: introduce SYSTEMD_AUTO_ENABLE variable
Currently all services introduced are enabled and started at installation. By
setting SYSTEMD_AUTO_ENABLE = "disable" the default behaviour can be
overridden.

Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:03:00 +02:00
Andreas Müller 577943f851 systemd.bbclass: do not warn for systemd files are in ${PN}
Since we have our own layer there is no need to separate out systemd packages

Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:03:00 +02:00
Andreas Müller 8e0c96b9ab systemd.bbclass: extract SYSTEMD_SERVICE properly
To set service files the following syntax is allowed:

SYSTEMD_SERVICE = <service_file>
or
SYSTEMD_SERVICE_{<systemd_package_name>} = <service_file>

A function get_package_var was introduced to handle all use-cases [1]
properly.

Build tested / buildhistory checks

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-May/039870.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:02:59 +02:00
Andreas Müller 8374a0caf3 systemd.bbclass: remove unused code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:02:58 +02:00
Koen Kooi 7d2a48a8e0 nodejs: update to 0.6.20
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:02:58 +02:00
Koen Kooi 59e6934e7c orc: update to 0.4.16
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-09-02 15:02:57 +02:00
Eric Bénard 6e43477701 Merge branch 'denzil-next' into denzil 2012-08-13 10:40:53 +02:00
Matthew McClintock bb03e3f181 cramfs_cvs.bb: fix compile step so it can be rerun without failing
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-08-13 10:40:13 +02:00
Martin Jansa a4c4a48148 systemd: cleanup /var/run on boot and create /var/run/utmp
* Angstrom uses /var/run cleanup because:
  Some apps (e.g. avahi-daemon) to clean up their old-style pid files and fail
  to start every other boot. Se we let systemd clean it on boot.
  Which seems general enough, so lets move var-run.conf from base-files.bbappend
  to systemd recipe.

* /var/run/utmp was created by volatiles before, but without sysvinit installed
  systemd-update-utmp-runlevel.service fails to start without this file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-08-13 10:39:20 +02:00
Franklin Cooper Jr 369bd8bdda ltrace: Fix make error
* Fixes the make: invalid option -- '/' error

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-08-13 10:37:02 +02:00
Denis Carikli bf047d774b xserver-common 1.34: sync /etc/X11/Xsession.d/90xXWindowManager with x11-common(oe-core)
Without that fix environments like sato cannot start because
  they require x-session-manager to be started instead of
  x-window-manager.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-30 10:23:34 +02:00
Koen Kooi 568b98668f v4l-utils 0.8.8: disable qv4l2 build
It picks up host qmake and breaks the build.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-30 10:22:15 +02:00
Koen Kooi a8aa197265 v4l-utils 0.8.8: disable qv4l2 build
It picks up host qmake and breaks the build.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-30 10:21:13 +02:00
Martin Jansa 06d6f7ec92 libnl: upgrade to 3.2.9 and fix upgrade path
* COPYING change is only formal from
  http://git.infradead.org/users/tgr/libnl.git/commitdiff/c857625be074a7b9ef6adbcdde986a0b23aae901

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-15 18:56:43 +02:00
Martin Jansa 3a2f8948a7 libnl: bump PE
* libnl-2 in oe-core has PE 1, so in order to have upgrade patch from libnl-2 to libnl-3 we need PE 1 here too

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-15 18:56:42 +02:00
Koen Kooi 04c61c8ed7 ntp: unbreak fetching of ntp-ssl
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:30 +02:00
Koen Kooi 182fa46144 opencv, opencv-samples: drop 2.3.1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:29 +02:00
Koen Kooi 2a5b460500 opencv, opencv-samples: add 2.4.2
Libav is easier to get right than gstreamer, so switch back. Also enable libv4l for better v4l(2) support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:29 +02:00
Koen Kooi e619902629 python-docutils: update to 0.9.1
This fixes the 'no module named Roman' errors. License checksum changed due to date changes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:28 +02:00
Koen Kooi 424be17658 cheese: add 2.30.1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:28 +02:00
Koen Kooi 96bc7abded yavta: add patch to enable streaming to stdout
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:27 +02:00
Martin Jansa 1ccbd09222 libjpeg-turbo: add LEAD_SONAME to fix upgrade to 8d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:26 +02:00
Martin Jansa 4a88a81d28 edje: explicitly enable libsndfile for target recipe
* there is no native/nativesdk support in libsndfile so disable it fro native/nativesdk edje
* Thanks to Koen for noticing that it's autodetected and sometimes leaks into feeds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:26 +02:00
Andreas Müller 6a4c1d5c5b libjpeg-turbo: update 1.2.1 / use version 8d to follow oe-core libjpeg update
without following oe-core's version PREFERRED_PROVIDER_jpeg does not work and
libjpeg is build.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:25 +02:00
Martin Jansa 51cd7ea1e6 kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst
* without this, kernel upgrades where KERNEL_VERSION is changed
  e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends
  up without any module loaded to make it worse after reboot nothing is upgraded
  to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:25 +02:00
Dan McDougall 2c9b3e2da8 python-numpy : Correct difflib dependency.
The previous patch had python-diffutils when it should have been
python-difflib.

Signed-off-by: Dan McDougall <daniel.mcdougall@liftoffsoftware.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:22 +02:00
Koen Kooi 65956c8162 gateone: add config file
The config file changes some options to have a lower latency for key input

Based on https://github.com/liftoff/meta-oe/commit/9cb653845d7bb4416d2e8e6c5a09a54e08dd7578 by Dan McDougall

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:21 +02:00
Koen Kooi e9a9d01f47 gateone: update to 1.1
Sort RDEPENDS alphabetically as well.

Based on https://github.com/liftoff/meta-oe/commit/9cb653845d7bb4416d2e8e6c5a09a54e08dd7578 by Dan McDougall

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:21 +02:00
Otavio Salvador 623503e3f4 owfs: enable/disable modules to make build predicable
We enforce the avaiability of w1 kernel support and owfs filesystem
but disable Perl, Python and PHP buildings for now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:20 +02:00
Otavio Salvador c40621f762 owfs: update to 2.8p15
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:20 +02:00
Dan McDougall 96e54112fb python-numpy: Fixed numpy dependencies.
Numpy was missing a number of dependencies in the .bb file without which it will
not work.

Signed-off-by: Dan McDougall <daniel.mcdougall@liftoffsoftware.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:19 +02:00
chase maupin 20458d62f8 libidl: Update LICENSE to contain actual version
* Updated the LICENSE field to contain the version of the LGPL
  being used which is LGPLv2+
* Update the PR to reflect this license change

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:19 +02:00
Koen Kooi e1a7106242 bootchart: update to v1.16
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:18 +02:00
Koen Kooi d1a498886b nodejs 0.6.18: fix patch name
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:18 +02:00
Otavio Salvador 10f443c2cd nodejs: update to 0.6.18 and fix hardfloat detection
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:17 +02:00
Koen Kooi 372f86378b fb-test: add latest git version
This is a suite of utils to test the linux framebuffer and aid in debugging problems.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:27:17 +02:00
Koen Kooi 32afac217b rrdtool: add 1.4.7
All binding are disabled since they are not safe for cross-compilation.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:26:06 +02:00
Koen Kooi 6c0ca58ecd cloud9: add patch to make it use nodejs 0.6.x for executing scripts
This matches the default nodejs version in OE

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-18 10:03:17 +02:00
Koen Kooi 11c2d36167 nodejs: update to 0.6.17
The license is unchanged, only some sections were clarified with different wording.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-18 10:03:16 +02:00
Koen Kooi 24e1ebc21d gnome-settings-daemon 2.32.1: libsndfile -> libsndfile1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-09 17:09:48 +02:00
Martin Jansa 34c6390311 orbit2: cleanup recipe, merge .inc and -native
* fix LICENSE field
* this also upgrades -native from 2.14.12 to 2.14.17, because 2.14.12 is failing to
  configure:13143: checking alignment of CORBA_octet
  configure:13170: gcc -o conftest -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -pthread -I/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/glib-2.0 -I/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/glib-2.0/include    -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 conftest.c -pthread -Wl,--export-dynamic -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0    >&5
  In file included from ./include/orbit/util/basic_types.h:5:0,
                   from conftest.c:45:
  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/glib-2.0/glib/gunicode.h:23:2: error: #error 'Only <glib.h> can be included directly.'
* use GNOME_MIRROR and SHRT_VER in SRC_URI

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-09 17:09:48 +02:00
Martin Jansa 2bdc6c2e4f libxaw: upgrade to 1.0.10 to fix -Werror=pointer-to-int-cast when building for x86-64
* 1.0.9 fails with:
  | XawIm.c:1410:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  | XawIm.c:1415:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
* fixed upstream:
  http://cgit.freedesktop.org/xorg/lib/libXaw/commit/?id=49c0a2441946f0d70fbd2612f193c95b84dde102
* COPYING changed only formally, stripping trailing spaces in
  http://cgit.freedesktop.org/xorg/lib/libXaw/commit/COPYING?id=37ffe69b10ae29e8f91de6ef647d06804b9d159b

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-09 17:09:48 +02:00
Christopher Larson ec2925df1c kernel.bbclass: move kernel-vmlinux up in PACKAGES
If KERNEL_IMAGETYPE is vmlinux, the expectation is most likely that there will
be no kernel image package, but we still want a vmlinux package for debugging,
so move kernel-vmlinux in front of kernel-image in PACKAGES.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-09 17:09:48 +02:00
Koen Kooi ba76bd260c gnome-settings-daemon: add dependency on libsndfile
It's autodetected and leads to sstate based breakage on autobuilders:

This ends up in the package:

Package: gnome-settings-daemon
Version: 2.32.1-r3
Depends: [..] libdbus-1-3 (>= 1.4.16), libx11-6 (>= 1.4.4), libogg0 (>= 1.3.0), libsndfile1 (>= 1.0.25),

But libsndfile hasn't been built.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-05-09 17:09:48 +02:00