Commit Graph

1931 Commits

Author SHA1 Message Date
Martin Jansa
5cb8258d15 recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:18 +02:00
Koen Kooi
3770f2bbee systemd bbclass: replace all tabs with 4 spaces
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:15 +02:00
Ting Liu
4c0420d830 rp-pppoe: discard use of dnl in Makefile.am
Since Makefile.am is not processed by m4, but by automake, 'dnl' does
not introduce a comment.

Fix the following error: (appearred on opensuse-11.4/fedora-15, which
shipped make with version 3.82)
...
NOTE: package rp-pppoe-3.8-r8: task do_compile: Started
...
| NOTE: make -j 3
| Makefile:640: *** missing separator.  Stop.
| ERROR: oe_runmake failed
NOTE: package rp-pppoe-3.8-r8: task do_compile: Failed

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 12:11:59 +02:00
Richard Purdie
4712cc5da0 kernel.bbclass: convert tab indentation in python functions into four-space
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-07-19 12:11:34 +02:00
Elvis Dowson
bf63e5def3 python_numpy: Fix SRC_URI warnings.
This commit fixes the following warnings:
WARNING: Unable to get checksum for python-numpy SRC_URI entry config.h: file could not be found
WARNING: Unable to get checksum for python-numpy SRC_URI entry numpyconfig.h: file could not be found

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:50 +02:00
Martin Jansa
20cfbc9640 gtk+3: fix build with automake-1.12.x
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:49 +02:00
Martin Jansa
ef13d654ef dconf: fix unpackaged /usr/lib/gio/modules/.debug/libdconfsettings.so
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:49 +02:00
Martin Jansa
1c7f6c2609 gnome-panel3: add dconf to DEPENDS
* fixes:
  | configure:14455: error: Package requirements (gdk-pixbuf-2.0 >=
  2.7.1 pango >= 1.15.4 gtk+-3.0 >= 3.0 cairo-xlib glib-2.0 >= 2.25.12
  gio-2.0 >= 2.25.12 gio-unix-2.0 >= 2.25.12 gnome-desktop-3.0 >= 2.91.0
  gconf-2.0 >= 2.6.1 libgnome-menu >= 2.27.92 dconf) were not met:
  |
  | No package 'dconf' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:48 +02:00
Denis Carikli
7839b41773 Add hostapd 1.0 recipe
This recipe was based on the hostap-daemon_0.7.3.bb recipe in openembedded-classic
  at commit c1f52c58deee65c7498a3b3e82b4cc3ae5231b0e

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:47 +02:00
Denis Carikli
e8402b1583 Add compat-wireless recipe.
This recipe was based on the compat-wireless.inc recipe from openembedded-classic
  at commit 53784a5e2622582ce5e2ffb91bbdb573503ed75e

The .inc is there in order to make it possible to have such recipes:
  $ cat compat-wireless-ath_0.bb
  include compat-wireless.inc

  do_configure() {
  	cd ${S}
          ./scripts/driver-select ath
  }

0001-ath5k-fix-compilation-without-CONFIG_PCI.patch will have to be submitted upstream

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:46 +02:00
Denis Carikli
b3a8b70fdd kernel.bbclass: fix external module building
Without that fix we have the following while compiling compat-wireless.
  include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory

Note that the compat-wireless recipe will be added in another commit.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:45 +02:00
Martin Jansa
579616dd69 meta-efl: recipes: bump PR to rebuild after libudev0 soname change to libudev1
* this patch depends on http://patchwork.openembedded.org/patch/32085/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:07:13 +02:00
Martin Jansa
9e2751773c pulseaudio: add patch to fix build with new udev API provided by systemd recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:07:12 +02:00
Koen Kooi
36b6847874 systemd: update to 186+git
This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout:

	udev
	udev-utils
	udev-systemd
	systemd
	systemd-vconsole-setup
	systemd-analyze
	systemd-initramfs

And all libraries are seperated out:

	libgudev-1.0-0
	libsystemd-daemon0
	libsystemd-id128-0
	libsystemd-journal0
	libsystemd-login0
	libudev1

The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x.

Runtime tested with build from scratch and opkg upgrade with angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:07:12 +02:00
Martin Jansa
df741a297e gsettings-desktop-schemas: add SRC_URI checksums
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:08 +02:00
Martin Jansa
c99aeb33ad gnome-panel3: move as-needed.patch to gnome-panel dir
* there is BPN changed to gnome-panel and SRC_URI checksuming code cannot find it, causing this warning:
  WARNING: Unable to get checksum for gnome-panel3-native SRC_URI entry as-needed.patch: file could not be found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:08 +02:00
Robert Yang
778f8b62c5 kernel.bbclass: replace os.system with subprocess.call
Replace os.system with subprocess.call since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

Signed-off-by: Robert Yang <liezhi.yang@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-07-18 09:23:08 +02:00
Christopher Larson
c1952180fe kernel.bbclass: add deploy link to KERNEL_IMAGETYPE
It's common to provide a non-machine-suffixed link in DEPLOY_DIR_IMAGE, so
let's be consistent and do so here as well.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Khem Raj
9972fff420 kernel.bbclass: Dont package kxgettext.o
kxgettext.o is generated when building ppc kernels
so we end up with packaging errors like

> ERROR: QA Issue: Architecture did not match (20 to 62) on
> /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.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-07-18 09:23:07 +02:00
Bruce Ashfield
3f45ebc886 kernel.bbclass: add non-santized kernel provides
If the kernel version string uses characters or symbols that
need to be santized for the package name, we can end up with a
mismatch between module requirements and what the kernel
provides.

The kernel version is pulled from utsrelease.h, which contains
the exact string that was passed to the kernel build, not
one that is santized, this can result in:

 echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config

 <build>

 % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires
update-modules
kernel-3.4.3-MYVER+snapshot_standard
 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

At rootfs assembly time, we'll have a dependency issue with the kernel
providing the santizied string and the modules requiring the utsrelease.h
string.

To not break existing use cases, we can add a second provides to the
kernel packaging with the unsantized version string, and allowing the
kernel module packaging to be unchanged.

   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"

 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-MYVER+snapshot_standard
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Darren Hart
8c724c4ab8 kernel: Add kernel headers to kernel-dev package
[YOCTO #1614]

Add the kernel headers to the kernel-dev package. This packages what was
already built and kept in sysroots for building modules with bitbake.
Making this available on the target requires removing some additional
host binaries.

Move the location to /usr/src/kernel

Before use on the target, the user will need to:

    # cd /usr/src/kernel
    # make scripts

This renders the kernel-misc recipe empty, so remove it.

As we use /usr/src/kernel in several places (and I missed one in the
previous version), add a KERNEL_SRC_DIR variable and use that throughout
the class to avoid update errors in the future.

Now that we package the kernel headers, drop the
kernel_package_preprocess function which removed them from PKGD.

All *-sdk image recipes include dev-pkgs, so the kernel-dev package will
be installed by default on all such images.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Liang Li
9ab875fbea 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-07-18 09:23:07 +02:00
Bruce Ashfield
72c4d30de5 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-07-18 09:23:07 +02:00
Otavio Salvador
a17cda6e85 cpuburn-neon: fix packaging to use a date as version and valid sources
* The package were not versioning the sources as the files had no
   version on its name. We workaround it mangling the DL_DIR;

 * We now dynamically check if the machine has or not neon feature and
   set COMPATIBLE_MACHINE.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:04 +02:00
Koen Kooi
dbb3624147 libpam 1.1.5 bbappend: register PAM session with logind
This makes screen/tmux/etc work as intended

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:52:13 +02:00
Koen Kooi
a97d600352 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>
2012-07-17 08:52:01 +02:00
Andreas Müller
0da076d59a task-xfce-extended: remove xfce4-icon-theme
xfce4-icon-theme is not required by default since xfce4-settings initially
works with gnome-icon-theme and gnome-icon-theme is pulled in by many other
recipes anyway.
To reduce rootfs size - especially after gtk-update-icon-cache -
xfce4-icon-theme is removed.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:50:33 +02:00
Andreas Müller
5981a1459b xfce4-power-manager: update to 1.2.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:50:32 +02:00
Koen Kooi
aa4f437796 various: update ; proto= to ; protocol= in SRC_URI
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 11:06:40 +02:00
Andreas Müller
2c8329b8d9 udisks: do not start daemon automatically at boot time 2012-07-16 09:39:08 +02:00
Andreas Müller
6e6bd9af71 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.
2012-07-16 09:39:08 +02:00
Andreas Müller
c21e67f8e5 networkmanager: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:08 +02:00
Andreas Müller
87526c2f21 gpsd: move systemd support to meta-systemd 2012-07-16 09:39:07 +02:00
Andreas Müller
fca1dffca7 rsyslog: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
d7639a2ae1 keymaps: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
0cee7e28f0 dropbear: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
42e00e8ffd xserver-nodm-init: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
34fe984fc6 xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
23d5e85065 cloud9: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
855e8d63a6 openssh: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
c203043683 cherokee: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
365d5ec941 gateone: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
a55a931807 connman: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
1e6cf9483d dhcp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
ca89a23506 atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
9f2dd8c0ae net-snmp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
46acf9d3b5 elsa: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
8149b358f9 cronie: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
36aa9a4fc0 lighttpd: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
14a5f1174c udisks: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00