Commit Graph

2150 Commits

Author SHA1 Message Date
Martin Jansa e2a4273475 orbit2: cleanup thanks to new gtk-doc.bbclass
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-24 08:58:31 +02:00
Martin Jansa 0bb57f740f webkit-efl: inherit pythonnative
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Conflicts:

	meta-efl/recipes-efl/webkit/webkit-efl_svn.bb
2012-07-24 08:52:05 +02:00
Martin Jansa b67c23022f gpsd: inherit pythonnative
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-24 08:52:05 +02:00
Matthew McClintock 8f0de34919 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>
2012-07-23 12:47:11 +02:00
Martin Jansa 788dc2101c systemd: add glib-2.0 to DEPENDS
* | No package 'glib-2.0' found
  | No package 'gobject-2.0' found
  | configure:16371: error: Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0) were not met:
  |
  | No package 'glib-2.0' found
  | No package 'gobject-2.0' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:05 +02:00
Martin Jansa 3c488a49b5 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: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:04 +02:00
Martin Jansa a2f5ec73d6 udev-extra-rules: add mount.blacklist to CONFFILES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:03 +02:00
Martin Jansa d5a766e698 phonet-utils: package udev rules
* fixes:
  WARNING: QA Issue: phonet-utils: Files/directories were installed but not shipped
    /lib
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/85-phonet-utils.rulesZZ

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:02 +02:00
Martin Jansa ec501e356f systemd: include /etc/rpm/macros.systemd in PN-dev
* fixes:
  WARNING: QA Issue: systemd: Files/directories were installed but not shipped
    /etc/rpm
    /etc/rpm/macros.systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-20 13:29:48 +02:00
Martin Jansa ec2459251c systemd: add usbutils to DEPENDS
* fixes:
  | No package 'usbutils' found
  | configure:16015: error: Package requirements (usbutils >= 0.82) were not met:

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-20 13:29:47 +02:00
Martin Jansa 3cdd031c54 connman: rename bbappend to match new version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:30 +02:00
Martin Jansa 59fa111f19 wpa-supplicant: rename bbappend to match new version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:30 +02:00
Martin Jansa ab6cc21103 meta-systemd: pulseaudio: rename bbappend to match new oe-core version
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:30 +02:00
Martin Jansa be300cd386 eina: do not remove bindir, it's not created with new automake
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:26 +02:00
Martin Jansa 71965d3b87 check: upgrade to 0.9.8 and fix build with new automake-1.12.x
* configure_fix.patch and
  check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch
  were already resolved upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 19:44:43 +02:00
Martin Jansa b12a5bbb3a navit: use 4 spaces instead of tabs in get_navit_fpu_setting
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:21 +02:00
Martin Jansa a8090a76b4 libopus: use 4 spaces instead of tabs in get_libopus_fpu_setting
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:20 +02:00
Martin Jansa 6e40b5fa61 lzma: use 4 spaces instead of 8 in do_unpack_append
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:19 +02:00
Martin Jansa 192ae54acd poppler-fp: convert tabs to 4 spaces in get_poppler_fpu_setting
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:19 +02:00
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