]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agobitbake.conf: Add nonarch_libdir and base systemd vars on it obi/dora
Pau Espin Pedrol [Thu, 30 Jul 2015 11:33:11 +0000 (13:33 +0200)] 
bitbake.conf: Add nonarch_libdir and base systemd vars on it

Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab26953276c543582fbaf2ad6f0a02d712ed90ea)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
[without the actual change to systemd_unitdir to avoid rebuilds]

9 years agoqemu.bbclass: clarify QEMU_EXTRAOPTIONS
Andre McCurdy [Wed, 27 Jan 2016 20:58:51 +0000 (12:58 -0800)] 
qemu.bbclass: clarify QEMU_EXTRAOPTIONS

QEMU_EXTRAOPTIONS is a way to add PACKAGE_ARCH specific options to the
qemu_run_binary qemu commandline. The base QEMU_EXTRAOPTIONS variable
(ie without a PACKAGE_ARCH suffix) is not used, so defining it, either
directly or via an over-ride has no effect.

Although previously an over-ride for _armv7a was used, it did nothing
for most armv7a builds, which typically use PACKAGE_ARCH values such
as "cortexa9hf-neon". In practice this worked OK since without a -cpu
option, qemu-arm will default to emulating a CPU which supports all
required architecture levels.

qemu-arm (v2.5.0) with no -cpu option has been confirmed to
successfully run binaries built for armv7ve.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 62b25b3489b44969e4adad657daebfaffdb4de56)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoqemu.bbclass: fix vardeps of QEMU_OPTIONS
Christopher Larson [Wed, 11 Nov 2015 05:54:59 +0000 (22:54 -0700)] 
qemu.bbclass: fix vardeps of QEMU_OPTIONS

The variable name for QEMU_EXTRAOPTIONS is constructed programmatically, so we
need an explicit variable dependency, otherwise changes to it won't cause e.g.
qemuwrapper-cross to be rebuilt.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7740f214fffd6278f801899fc5e45f5720cbb544)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoqemu.bbclass: correct the fsl ppc QEMU_EXTRAOPTIONS
Christopher Larson [Wed, 11 Nov 2015 02:55:41 +0000 (19:55 -0700)] 
qemu.bbclass: correct the fsl ppc QEMU_EXTRAOPTIONS

These need to be based on PACKAGE_ARCH rather than TARGET_ARCH, as we aren't
using overrides for this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 46f41df60491990dc41f0514f63b304ac51b67d1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoqemu/libc-package: Fix qemu option handling
Richard Purdie [Thu, 4 Dec 2014 19:49:19 +0000 (19:49 +0000)] 
qemu/libc-package: Fix qemu option handling

The 'overrides' here are PACKAGE_ARCH based and hence not overrides
as such and the _append wasn't working in many cases. This adjusts the
code to use PACKAGE_ARCH as the accessor and ensures the variables
work as expected. This fixes various segfaults and ensures postinsts
run at build time rather than on the target system.

The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 219e793907406eabf632e784e3a11ab9acb77cfb)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoqemuwrapper-cross: Use QEMU_OPTIONS
Richard Purdie [Fri, 13 Jun 2014 13:07:15 +0000 (14:07 +0100)] 
qemuwrapper-cross: Use QEMU_OPTIONS

The correct cpu options are needed in order to correctly run some CPU
types. This information is available in QEMU_OPTIONS, use it. This
avoids architectures like qemuppc failing postinstalls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d9c0cbf1f9b9802d7374c4fa1672c26fc5db5cb)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoqemu.bbclass: add -r ${OLDEST_KERNEL} parameter
Martin Jansa [Mon, 8 Sep 2014 11:58:44 +0000 (12:58 +0100)] 
qemu.bbclass: add -r ${OLDEST_KERNEL} parameter

* in some cases (e.g. with external toolchain which doesn't respect our
  reasonably old version set in OLDEST_KERNEL) it's possible to have libc
  which requires newer kernel than what we have on builders, qemu supports
  -r param to use different uname than what's returned by host system.
* change qemu_run_binary to pass -r ${OLDEST_KERNEL} and add the same to
  QEMU_OPTIONS which are used by qemuwrapper-cross
* maybe we should eventually convert all qemu_run_binary usages always include
  qemuwrapper-cross dependency and always call qemu through that (it
  seems very strange that qemu_target_binary is called from qemuwrapper
  and for allarch recipes it can return qemu-allarch as qemu binary).

  qemu_run_binary is used by:
  meta/classes/gtk-immodules-cache.bbclass:            ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-$maj_ver.0')} \
  meta/classes/qemu.bbclass:def qemu_run_binary(data, rootfs_path, binary):
  meta/recipes-core/systemd/systemd_213.bb:         ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \
  meta/recipes-graphics/pango/pango.inc:    ${@qemu_run_binary(d, '$D','${bindir}/${MLPREFIX}pango-querymodules')} \

  and qemuwrapper directly by:
  scripts/postinst-intercepts/update_font_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
  scripts/postinst-intercepts/update_pixbuf_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f0bff320077f4d9f2ee51096a1438e8cae9dd0d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agobitbake.conf/qemu: Move QEMU_OPTIONS to qemu.bbclass
Richard Purdie [Fri, 13 Jun 2014 13:09:37 +0000 (14:09 +0100)] 
bitbake.conf/qemu: Move QEMU_OPTIONS to qemu.bbclass

The QEMU_OPTIONS variables belong in qemu.bbclass so move them there. The
only users of them inherit qemu.bbclass. There is no point in pushing
these into every recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5824293de37919e89f60192836997281933e23d6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agobitbake.conf: Add QEMU_OPTION for ppc7400 as used by qemuppc
Richard Purdie [Fri, 13 Jun 2014 13:06:31 +0000 (14:06 +0100)] 
bitbake.conf: Add QEMU_OPTION for ppc7400 as used by qemuppc

Currently, qemuppc prints warnings about gdk-pixbuf postinstalls
not working due to illegal instructions. This is due to qemu
running with the wrong cpu type. Add an option for ppc7400 so
that qemuppc works correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5995fdbe81799f1ecf5de722cb2eb95ccb2aa860)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agobitbake.conf: Adds bitbake qemu option for ppc e6500 & ppc e6500-64b.
Valentin Cobelea [Thu, 20 Mar 2014 15:08:10 +0000 (16:08 +0100)] 
bitbake.conf: Adds bitbake qemu option for ppc e6500 & ppc e6500-64b.

This patch adds the bitbake qemu option for the ppc e6500 &
ppc e6500-64b architectures.

Signed-off-by: Valentin Cobelea <valentin.cobelea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62b0f09c13aa8e9c75ddea286586d1a2385a80be)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agofixup! apt: Introduce apt-opkg obi/dora-stable
Andreas Oberritter [Tue, 5 Apr 2016 22:49:11 +0000 (00:49 +0200)] 
fixup! apt: Introduce apt-opkg

Fix behaviour of --force-maintainer flag.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoncurses: fix native builds when host has gcc5
Martin Stolpe [Wed, 10 Jun 2015 14:28:26 +0000 (16:28 +0200)] 
ncurses: fix native builds when host has gcc5

GCC"s preprocessor starts to add newlines which are not
handled properly by ncurses build system startin from
version 5.0.

See also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7870

Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
(cherry picked from commit 3a5435b371c84ec28b6936b8c8fa6541a592d061)
Signed-off-by: Andreas Oberritter <obi@saftware.de>
9 years agonfs-utils: fix to start nfs-server correctly in systemd
Chen Qi [Wed, 8 Jul 2015 08:52:45 +0000 (16:52 +0800)] 
nfs-utils: fix to start nfs-server correctly in systemd

Add /etc/modules-load.d/nfsd.conf so that the system loads nfsd at start-up.

Add proc-fs-nfsd.mount systemd unit file because it's needed for nfs server
to start correctly.

After this change, in a systemd based image, we can use `systemctl start
nfs-server' to start the nfs server and things would work correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d4380bb36eb108dc75fee7215b615f7800b0990)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> (dropped modules-load.d/nfsd.conf)
9 years agonfs-utils: debianize start-statd
Li Wang [Mon, 29 Jun 2015 06:22:35 +0000 (14:22 +0800)] 
nfs-utils: debianize start-statd

make start-statd command to use nfscommon configure, too.

Signed-off-by: Henrik Riomar <henrik.riomar@ericsson.com>
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98d3607697da77bd79b367b2879ef6944e59d0a3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agonfs-utils: Install nfsmount.conf
Rob Woolley [Mon, 9 Mar 2015 23:52:56 +0000 (19:52 -0400)] 
nfs-utils: Install nfsmount.conf

The file nfsmount.conf is present in nfs-utils but not installed to the
filesystem.  It has been added to nfs-utils-client as it seemed to be
missing accidentally rather than being removed intentionally.  The binary
files in nfs-utils-client have a hard-coded reference to it and we
already provide the manpage for it in nfs-utils-doc.

Signed-off by: Rob Woolley <rob.woolley@windriver.com>

(cherry picked from commit 700e13e5ad2b5a8e1eaf9c37f7a2059ad1cc3d5a)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agonfs-utils: enable parallel build
Andreas Oberritter [Mon, 12 Oct 2015 13:14:33 +0000 (15:14 +0200)] 
nfs-utils: enable parallel build

Backport from 7957c5bc2771a763d26e50e716733c6335cef3c2

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agonfs-utils: Upgrade to 1.3.1
Alejandro Hernandez [Wed, 12 Nov 2014 18:42:35 +0000 (12:42 -0600)] 
nfs-utils: Upgrade to 1.3.1

Removed: fix-a-Gcc-undefined-behavior.patch - Upstream

Removed: 0001-statd-fixed-the-with-statdpath-flag.patch - Upstream

Removed: fix-the-start-statd.patch - Different solution on upstream

Removed: nfs-utils-1.0.6-uclibc.patch - Different solution on upstream

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
(cherry picked from commit 7cd8b38f4f53d25a6dec8ec3b130a345480ff6b7)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agonfs-utils: change owner/group of directories in do_install
Chen Qi [Fri, 7 Nov 2014 08:47:19 +0000 (16:47 +0800)] 
nfs-utils: change owner/group of directories in do_install

Previously, the owners/groups of directories like /var/lib/nfs/statd
are changed in the init script, /etc/init.d/nfscommon. This is actually
a workaround. We need to change them at do_install time.

This patch fixes the above problem by changing owners/groups at do_install
time.

Besides, configuration option '--with-staduser=nobody' is changed to be
'--with-statduser=rpcuser'. And /var/lib/nfs/statd/state is modified to have
permission 0644, just like other distros (ubuntu, fedora, etc.) do.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8c27a1e25ae42a435ab7d290cab40f94f9286243)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agoRevert "nfs-utils: change file ownership for statd"
Andreas Oberritter [Mon, 12 Oct 2015 13:13:19 +0000 (15:13 +0200)] 
Revert "nfs-utils: change file ownership for statd"

This reverts commit 87d244c925c37d3408874649a2092989c95acc24.

9 years agonfs-utils: fix start-statd
Roy.Li [Mon, 20 Oct 2014 05:38:14 +0000 (13:38 +0800)] 
nfs-utils: fix start-statd

1. add /bin to PATH of start-statd, otherwise systemctl can not be found.
2. drop error when systemd fails to start statd.service; since if it failed,
rpc.statd will be called directly.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 048130996300e1762bc6d714ba09aac5a326843d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 years agonfs-utils: fix a Gcc undefined behavior
Roy Li [Wed, 15 Oct 2014 09:21:34 +0000 (17:21 +0800)] 
nfs-utils: fix a Gcc undefined behavior

Calling strncpy with NULL second argument, even when the size is 0,
is undefined behavior, which leads to GCC to drop the check old
variable with NULL in following code.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6743

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-rtsp-server: upgrade to 1.4.5
Ross Burton [Tue, 30 Dec 2014 18:04:05 +0000 (18:04 +0000)] 
gstreamer1.0-rtsp-server: upgrade to 1.4.5

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6398ae1d40c86a3b848ac79a1dce25520bd088c6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: Create connman.service at proper moment
Jukka Rissanen [Wed, 8 Apr 2015 11:36:19 +0000 (14:36 +0300)] 
connman: Create connman.service at proper moment

ConnMan commit ac332c5d01b0737c18cb58c8ccc67cf6b0427e1d changes
how the connman.service file is created from .in file. After
that commit, the file is created by Makefile instead of configure.
This means that we need to tweak the service file in compile
time instead of configure time because the generated file will not
be there after the configuration.

This commit can be used even with older ConnMan version as the
connman.service file is there when the compilation happens.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32839103727d92a6580f916b6dd8e4439b2347c8)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: upgrade to 1.28
Cristian Iorga [Tue, 10 Feb 2015 12:54:23 +0000 (14:54 +0200)] 
connman: upgrade to 1.28

- Fixes an issue with DHCPv6 retransmission timer
calculation that causes system load to jump to 100%;
- All WiFi P2P issues encountered with Miracast have been addressed;
- ConnMan no longer hands off foreground autoscanning to
wpa_supplicant as it causes issues when finding hidden WiFi networks;

Other changes and fixes include:

- Several fixes for handling IPv6 contexts via oFono;
- Fix memory deallocation in exit code paths;
- Use OPEN auth_alg for wpa_supplicant open WiFi networks;
- A WiFi Access Point with unknown strength now has a proper
minimum value which translates to a service 'Strenght' property of 30;
- Fix byte order in DHCP server identifier;
- Properly cancel an ongoing service connect if the Agent exits.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
(cherry picked from commit fa718d0d2d74893bf8e532a132f8ede26552d2be)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: fix B != S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)] 
connman: fix B != S

And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit 38aa1ef57392fcb726fcdd0b708b9d76f0279c77)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: upgrade to 1.26
Cristian Iorga [Fri, 31 Oct 2014 17:44:26 +0000 (19:44 +0200)] 
connman: upgrade to 1.26

- WiFi P2P support in ConnMan has been significantly improved;
- Applications can now register WiFi Display, UPnP or Bonjour P2P services;
- Various bug fixes.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 3aad6d51a303d0330205eebfeac58c2ccb612e77)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: upgrade to 1.25
Cristian Iorga [Wed, 27 Aug 2014 18:10:01 +0000 (21:10 +0300)] 
connman: upgrade to 1.25

build-libppp-plugin-without-versioning-info.patch
no longer needed, removed.
Changelog:
Fix issue with handling rebind timer for DHCPv6.
Fix issue with handling DHCP renew transaction.
Fix issue with user supplied proxy settings and DHCP.
Fix issue with extra status codes from captive portals.
Fix issue with service idle state reset on failure.
Fix issue with DNS label compression handling.
Add support for experimental P2P Peer service.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f53c5e7914ea37338817fcb7efbd42414045e07c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agokernel-module-split.bbclass: fix autoloading from postinst script
Andreas Oberritter [Thu, 15 Jan 2015 21:40:53 +0000 (22:40 +0100)] 
kernel-module-split.bbclass: fix autoloading from postinst script

When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing
"modprobe None" to get appended to the postinst script.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoca-certificates: clean up before do_compile()
Andreas Oberritter [Mon, 27 Oct 2014 19:43:15 +0000 (20:43 +0100)] 
ca-certificates: clean up before do_compile()

Otherwise the script which converts mozilla certificates extracts
each certificate twice.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agosystemd: backport patch to fix remote fs unmounts on reboot
Andreas Oberritter [Thu, 23 Oct 2014 20:11:04 +0000 (22:11 +0200)] 
systemd: backport patch to fix remote fs unmounts on reboot

Remote filesystems used to get unmounted after networking had
already been shut down.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoimage.bbclass: also uninstall update-alternatives-dpkg if it's unused
Andreas Oberritter [Thu, 25 Sep 2014 22:17:13 +0000 (00:17 +0200)] 
image.bbclass: also uninstall update-alternatives-dpkg if it's unused

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopigz: fix alternatives handling, use symlinks, provide zcat
Andreas Oberritter [Thu, 25 Sep 2014 21:55:38 +0000 (23:55 +0200)] 
pigz: fix alternatives handling, use symlinks, provide zcat

The installed unpigz is a hardlink to pigz.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agonfs-utils: change file ownership for statd
Andreas Oberritter [Sun, 21 Sep 2014 18:44:29 +0000 (20:44 +0200)] 
nfs-utils: change file ownership for statd

Otherwise, rpc.statd complains about "Running as root. chown
/var/lib/nfs/statd to choose different user" when started by
systemd.

While at it, update --with-statduser argument to match the
actual username for statd.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agonfs-utils: fix upgrade path for nfs-utils-client package
Andreas Oberritter [Sun, 21 Sep 2014 16:04:29 +0000 (18:04 +0200)] 
nfs-utils: fix upgrade path for nfs-utils-client package

Commit 39bb7e3 ("nfs-utils: separate package as Debain style") moved
files from nfs-utils to nfs-utils-client, breaking package upgrades.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agonfs-utils: create package nfs-utils-mount
Andreas Oberritter [Sun, 21 Sep 2014 16:00:55 +0000 (18:00 +0200)] 
nfs-utils: create package nfs-utils-mount

Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agonfs-utils: systemd fixes
Andreas Oberritter [Sat, 20 Sep 2014 23:34:00 +0000 (01:34 +0200)] 
nfs-utils: systemd fixes

- Start daemons by default like the initscripts do, but only if
  /etc/exports exists.
- Inform systemd.bbclass about nfs-utils-client package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogpgme: enable native builds
Andreas Oberritter [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)] 
gpgme: enable native builds

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agolibassuan: enable native builds
Andreas Oberritter [Thu, 18 Sep 2014 13:16:14 +0000 (15:16 +0200)] 
libassuan: enable native builds

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopth: enable native builds
Andreas Oberritter [Thu, 18 Sep 2014 13:15:51 +0000 (15:15 +0200)] 
pth: enable native builds

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoupdate-alternatives.bbclass: alternatives should be removed in prerm
Andreas Oberritter [Tue, 16 Sep 2014 22:43:09 +0000 (00:43 +0200)] 
update-alternatives.bbclass: alternatives should be removed in prerm

This behaviour matches dpkg's manpage and fixes deinstalling
alternatives for programs needed by the postrm script, e.g. /bin/sh.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agokernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Andreas Oberritter [Mon, 15 Sep 2014 07:59:45 +0000 (09:59 +0200)] 
kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoupdate-rc.d.bbclass: ignore initscript in prerm and preinst when systemd is active
Andreas Oberritter [Sat, 13 Sep 2014 11:29:02 +0000 (13:29 +0200)] 
update-rc.d.bbclass: ignore initscript in prerm and preinst when systemd is active

In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.

This works by running 'systemctl is-enabled <initscript>', which outputs the current
enable status, if the script name is handled by systemd, either because it's masked
or because a systemd unit exists with that name. Otherwise, or if systemctl doesn't
exist, no output is generated.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years ago{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing...
Andreas Oberritter [Wed, 10 Sep 2014 17:54:25 +0000 (19:54 +0200)] 
{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing RBREAKS

Required by Debian Policy section 7.3.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage_deb.bbclass: create Packages.xz
Andreas Oberritter [Tue, 2 Sep 2014 22:38:18 +0000 (00:38 +0200)] 
package_deb.bbclass: create Packages.xz

apt-get prefers it over Packages.gz.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage_deb.bbclass: Use apt-ftparchive for deb packages
Andreas Oberritter [Sun, 31 Aug 2014 02:47:11 +0000 (04:47 +0200)] 
package_deb.bbclass: Use apt-ftparchive for deb packages

Backported from c9899a7605f15f7f1ae30c4624d53c7da825b00a
and a3965b76ed4361455c89c982761263be03e1a8e5.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agorootfs_deb.bbclass: pass option --cross-bootstrap to dpkg
Andreas Oberritter [Thu, 25 Sep 2014 22:31:08 +0000 (00:31 +0200)] 
rootfs_deb.bbclass: pass option --cross-bootstrap to dpkg

Fixes rootfs_uninstall_packages with new dpkg version.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agorootfs_deb.bbclass: let apt-get handle install alone
Andreas Oberritter [Fri, 29 Aug 2014 12:37:30 +0000 (14:37 +0200)] 
rootfs_deb.bbclass: let apt-get handle install alone

Don't mess with package status.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoapt: Introduce apt-opkg
Andreas Oberritter [Thu, 28 Aug 2014 18:30:15 +0000 (20:30 +0200)] 
apt: Introduce apt-opkg

'apt-opkg' provides a stripped-down opkg frontend with an apt backend.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage_deb: skip pre/postrm scripts on upgrade, write only one shebang
Andreas Oberritter [Thu, 28 Aug 2014 18:58:45 +0000 (20:58 +0200)] 
package_deb: skip pre/postrm scripts on upgrade, write only one shebang

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoupdate-alternatives.bbclass: Don't add a build dependency on u-a
Andreas Oberritter [Thu, 28 Aug 2014 15:27:12 +0000 (17:27 +0200)] 
update-alternatives.bbclass: Don't add a build dependency on u-a

"update-alternatives" gets called only in postinst/rm scripts, so
it's not a build dependency. A runtime dependency gets added anyway.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: always install dpkg-configure.service
Andreas Oberritter [Wed, 27 Aug 2014 21:03:09 +0000 (23:03 +0200)] 
dpkg: always install dpkg-configure.service

systemd.bbclass handles everything based on DISTRO_FEATURES.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: update packages and files to match Debian more closely
Andreas Oberritter [Wed, 27 Aug 2014 21:44:51 +0000 (23:44 +0200)] 
dpkg: update packages and files to match Debian more closely

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: reenable parallel make
Andreas Oberritter [Thu, 28 Aug 2014 14:07:56 +0000 (16:07 +0200)] 
dpkg: reenable parallel make

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg-native: hardode SYSCONFDIR to /etc in update-alternatives
Andreas Oberritter [Thu, 28 Aug 2014 14:05:50 +0000 (16:05 +0200)] 
dpkg-native: hardode SYSCONFDIR to /etc in update-alternatives

It needs to be relative to DPKG_INSTDIR when installing.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: simplify replacing perl interpreter in scripts
Andreas Oberritter [Thu, 28 Aug 2014 14:04:21 +0000 (16:04 +0200)] 
dpkg: simplify replacing perl interpreter in scripts

Target scripts already contain the correct value.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: remove unneeded do_configure override
Andreas Oberritter [Thu, 28 Aug 2014 14:02:15 +0000 (16:02 +0200)] 
dpkg: remove unneeded do_configure override

Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: install start-stop-daemon to /sbin to match Debian and busybox
Andreas Oberritter [Thu, 28 Aug 2014 14:00:07 +0000 (16:00 +0200)] 
dpkg: install start-stop-daemon to /sbin to match Debian and busybox

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agorootfs_deb.bbclass: let apt-get handle postinst scripts
Andreas Oberritter [Thu, 28 Aug 2014 12:05:02 +0000 (14:05 +0200)] 
rootfs_deb.bbclass: let apt-get handle postinst scripts

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoapt-native: Use option --cross-bootstrap for rootfs
Andreas Oberritter [Thu, 28 Aug 2014 03:50:36 +0000 (05:50 +0200)] 
apt-native: Use option --cross-bootstrap for rootfs

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agorootfs_deb_do_rootfs: Only install opkg hack if needed
Andreas Oberritter [Thu, 28 Aug 2014 03:36:18 +0000 (05:36 +0200)] 
rootfs_deb_do_rootfs: Only install opkg hack if needed

If update-alternatives-opkg was used, then .../opkg/alternatives
already exists at this point. If not, then there's no need for a
symlink.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage_deb: Create /etc/apt/preferences.d to get rid of a warning
Andreas Oberritter [Thu, 28 Aug 2014 03:29:40 +0000 (05:29 +0200)] 
package_deb: Create /etc/apt/preferences.d to get rid of a warning

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: update-alternatives-dpkg should conflict with other providers
Andreas Oberritter [Wed, 27 Aug 2014 21:45:35 +0000 (23:45 +0200)] 
dpkg: update-alternatives-dpkg should conflict with other providers

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: set license field to more common "GPLv2+"
Andreas Oberritter [Wed, 27 Aug 2014 21:10:42 +0000 (23:10 +0200)] 
dpkg: set license field to more common "GPLv2+"

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: use PACKAGECONFIG
Andreas Oberritter [Wed, 27 Aug 2014 20:49:43 +0000 (22:49 +0200)] 
dpkg: use PACKAGECONFIG

Keep default dependencies as before. Set default compressor to xz
if selected, gzip otherwise.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: implement offline mode for update-alternatives
Andreas Oberritter [Wed, 27 Aug 2014 15:37:20 +0000 (17:37 +0200)] 
dpkg: implement offline mode for update-alternatives

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: change description to summary
Andreas Oberritter [Wed, 27 Aug 2014 21:25:53 +0000 (23:25 +0200)] 
dpkg: change description to summary

(Backported from master)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoapt: update to 1.0.9
Andreas Oberritter [Wed, 27 Aug 2014 14:53:12 +0000 (16:53 +0200)] 
apt: update to 1.0.9

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogcc-4.8: strip full path from __FILE__ macro
Andreas Oberritter [Tue, 26 Aug 2014 00:00:30 +0000 (02:00 +0200)] 
gcc-4.8: strip full path from __FILE__ macro

With OE's long build paths, __FILE__ can get annoyingly long and makes
it hard to read debug output of some programs, e.g. lighttpd. So reduce
it to the filename and let's hope nothing breaks.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage_deb.bbclass: implement BAD_RECOMMENDATIONS
Andreas Oberritter [Mon, 25 Aug 2014 23:59:03 +0000 (01:59 +0200)] 
package_deb.bbclass: implement BAD_RECOMMENDATIONS

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agodpkg: Don't move update-alternatives to sbindir
Andreas Oberritter [Tue, 12 Aug 2014 22:46:57 +0000 (00:46 +0200)] 
dpkg: Don't move update-alternatives to sbindir

Debian, Ubuntu and opkg all have it in bindir.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopackage.bbclass: Add SYSTEMD_SERVICE to list of package specific variables
Andreas Oberritter [Tue, 12 Aug 2014 18:27:57 +0000 (20:27 +0200)] 
package.bbclass: Add SYSTEMD_SERVICE to list of package specific variables

Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that
happen, it needs to be listed in the list of package specific variables,
therefore add it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoupdate-rc.d: use systemctl to (re)start services if systemd is running
Andreas Oberritter [Wed, 6 Aug 2014 18:41:59 +0000 (20:41 +0200)] 
update-rc.d: use systemctl to (re)start services if systemd is running

Otherwise inconsistencies occur on hybrid systemd+sysvinit systems,
especially on upgrade.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: Simplify and fix packaging of VPN plug-ins
Andreas Oberritter [Wed, 6 Aug 2014 11:03:45 +0000 (13:03 +0200)] 
connman: Simplify and fix packaging of VPN plug-ins

- Use simple static packaging.
- Move VPN runtime dependencies from connman to the individual plug-ins.
- Create a connmann-ppp package containing libppp-plugin.so, which is
  a shared library needed by l2tp and pptp plug-ins.
- Let connman suggest VPN packages instead of recommending them, so they
  don't get installed by default.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agokernel.bbclass: try to clean up initramfs code
Andreas Oberritter [Sat, 2 Aug 2014 23:55:55 +0000 (01:55 +0200)] 
kernel.bbclass: try to clean up initramfs code

- Allow to override symlink name, similar to kernel and modules tarball.
- Don't change working directory.
- Remove superflous debug output.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agovalgrind: enable build for MIPS
Andreas Oberritter [Tue, 15 Jul 2014 09:51:35 +0000 (11:51 +0200)] 
valgrind: enable build for MIPS

Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoconnman: only depend on xuser-account if ROOTLESS_X is set
Andreas Oberritter [Tue, 25 Mar 2014 00:36:02 +0000 (01:36 +0100)] 
connman: only depend on xuser-account if ROOTLESS_X is set

* Copied from xserver-nodm-init.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years ago[opendreambox] runqemu-internal: boot from sda, disable tty0 console
Andreas Oberritter [Mon, 18 Mar 2013 10:24:54 +0000 (11:24 +0100)] 
[opendreambox] runqemu-internal: boot from sda, disable tty0 console

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years ago[opendreambox] sstate.bbclass: don't remove shared pkgdata if PACKAGE_ARCH changed...
Andreas Oberritter [Wed, 29 Aug 2012 21:27:44 +0000 (23:27 +0200)] 
[opendreambox] sstate.bbclass: don't remove shared pkgdata if PACKAGE_ARCH changed to MACHINE_ARCH

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-0869
Yue Tao [Fri, 29 Aug 2014 06:46:19 +0000 (14:46 +0800)] 
gst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-0869

The field_end function in libavcodec/h264.c in FFmpeg before 1.1.2
allows remote attackers to have an unspecified impact via crafted H.264
data, related to an SPS and slice mismatch and an out-of-bounds array
access.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0869

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 464123172c92d92fa08e2125c04653590ad654c7)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-4358
Yue Tao [Fri, 29 Aug 2014 06:46:18 +0000 (14:46 +0800)] 
gst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-4358

libavcodec/h264.c in FFmpeg before 0.11.4 allows remote attackers to
cause a denial of service (crash) via vectors related to alternating bit
depths in H.264 data.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4358

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 6a029bee3da097b9ed8c421fcd5ea61cd1a31b34)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoopenssl: upgrade to 1.0.1j
Ross Burton [Thu, 16 Oct 2014 16:18:11 +0000 (17:18 +0100)] 
openssl: upgrade to 1.0.1j

Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 390916b8400a46088c71183aef6e17b947cf4b74)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agobash: Fix CVE-2014-7169
Khem Raj [Fri, 26 Sep 2014 20:21:19 +0000 (13:21 -0700)] 
bash: Fix CVE-2014-7169

This is a followup patch to incomplete CVE-2014-6271 fix
code execution via specially-crafted environment

Change-Id: Ibb0a587ee6e09b8174e92d005356e822ad40d4ed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 76a2d6b83472995edbe967aed80f0fcbb784b3fc)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agobash: fix CVE-2014-6271
Ross Burton [Thu, 25 Sep 2014 23:05:18 +0000 (00:05 +0100)] 
bash: fix CVE-2014-6271

CVE-2014-6271 aka ShellShock.

"GNU Bash through 4.3 processes trailing strings after function definitions in
the values of environment variables, which allows remote attackers to execute
arbitrary code via a crafted environment."

Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 798d833c9d4bd9ab287fa86b85b4d5f128170ed3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agolayer.conf: Mark opkg-utils as ABISAFE for update-alternatives usage
Richard Purdie [Tue, 23 Sep 2014 19:01:01 +0000 (20:01 +0100)] 
layer.conf: Mark opkg-utils as ABISAFE for update-alternatives usage

Currently linux-firmware rebuilds for each machine due to its usage of
update-alternatives which in turn means a dependency on opkg-utils.
Marking opkg-utils as ABISAFE is the only option we have right now
to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6829c0e161c4a8cde6624f211865922fce62d4fa)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoupdate-rc.d/systemd: Remove OVERRIDES dependency
Richard Purdie [Tue, 23 Sep 2014 19:00:31 +0000 (20:00 +0100)] 
update-rc.d/systemd: Remove OVERRIDES dependency

Taking run-postinsts and building for two machines which have different
OVERRIDES leads to two different sets of stamps for an allarch package.

We don't need to depend on OVERRIDES in these classes, the end resulting
variables are good enough. We can therefore exclude the dependency
and allow a single package to be generated for run-postinsts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdc949154e64afb41dd4db3a97be74a15963128d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agolayer.conf: Add in useradd dependencies as ABISAFE dependencies
Richard Purdie [Tue, 23 Sep 2014 19:01:28 +0000 (20:01 +0100)] 
layer.conf: Add in useradd dependencies as ABISAFE dependencies

Currently allarch recipes using useradd rebuild each time MACHINE
changes which is not desireable. Adding the useradd dependencies
to this list ensures they do not change under these circumstances.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7743a309017f0fb9286f00b1f6f546ee95c05303)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad: disable libssh2
Wenzong Fan [Thu, 18 Sep 2014 08:01:16 +0000 (04:01 -0400)] 
gstreamer1.0-plugins-bad: disable libssh2

libssh2 is automatically linked to if present, this undetermined
dependency may cause build errors like:

  .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2

libssh2 isn't an oe-core recipe, disable it for now.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
(cherry picked from commit 0cc59247ece1ea134d060d3ff064b5561972a92b)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad.inc: Add rtmp support in gstreamer.
Marie Kowalczyk [Fri, 12 Sep 2014 08:54:49 +0000 (10:54 +0200)] 
gstreamer1.0-plugins-bad.inc: Add rtmp support in gstreamer.

RTMP feature depends on rtmpdump.

Signed-off-by: Marie Kowalczyk <marie.kowalczyk@vodalys.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8d3dc353c8857d27957c9db4ced8b2009f2e9b2a)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agopython-native: disable user site support
Yasir-Khan [Mon, 8 Sep 2014 11:58:41 +0000 (12:58 +0100)] 
python-native: disable user site support

The user site-packages gets inserted into sys.path ahead of the
system site directories, so a site package installed there will
be used in preference to what's in our sysroot, causing less
deterministic builds, and potential build breakage, depending
on what the user has installed there. Disable it for our native
python, so they don't affect our builds.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c448bf3629ab5d930ed845d4ba48e37e4a85d2a3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-ugly: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:49 +0000 (21:53 +0300)] 
gstreamer1.0-plugins-ugly: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04e53e971451b023ac1c57086603a9a7fbba838c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-rtsp-server: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:48 +0000 (21:53 +0300)] 
gstreamer1.0-rtsp-server: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4bc977e532b67311a6ba4da78397badc0e4c4ac5)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:47 +0000 (21:53 +0300)] 
gstreamer1.0-plugins-bad: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fbdb1d64dd469624004cc82660a25b98f44dee0)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-good: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:46 +0000 (21:53 +0300)] 
gstreamer1.0-plugins-good: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f70d23430e803e9e8950e5bd825df972194feb4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-base: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:45 +0000 (21:53 +0300)] 
gstreamer1.0-plugins-base: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba03f8ddc2fc6d6f85628d6d4a87d465c83c9fde)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-libav: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:44 +0000 (21:53 +0300)] 
gstreamer1.0-libav: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f58488e1ed175136da49109ead3d3eaaf988aeb)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:43 +0000 (21:53 +0300)] 
gstreamer1.0: upgrade to 1.4.1

bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7640444d1b947ae3d7b9b43f70bdb9798a38c5ae)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on jpeg
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:04 +0000 (16:47 +0200)] 
gstreamer1.0-plugins-bad: Add DEPENDS on jpeg

libjpeg is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on jpeg ensures that a proper dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c13eced019eac49f047a620994c1b56af5d4951)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad: Fix GL/GLES configuration
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:03 +0000 (16:47 +0200)] 
gstreamer1.0-plugins-bad: Fix GL/GLES configuration

* Replace --disable/enable-gl with the individual EGL, GLES, GL switches
  (--disable-gl turns off GL support entirely)
* Put the default opengl packageconfig into its own variable to make it
  easier for distros and BSP layers to define what to use (GL, GLES,
  or neither)
* Add libglu as a dependency for desktop GL
* Patch configure.ac to ensure libraries are only searched and linked to
  if the corresponding API isn't disabled (this prevents cases where
  libgstgl is linked to GLU even though desktop GL is dis- and GLES
  enabled)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7bf062f2e2b92c2401fa2386b6281aae023b21a8)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on libpng
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:02 +0000 (16:47 +0200)] 
gstreamer1.0-plugins-bad: Add DEPENDS on libpng

libpng is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on libpng ensures that a proper dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 413d5665cedd740125862e5eec5ca1f3b38b8363)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agogstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:01 +0000 (16:47 +0200)] 
gstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad

gst-omx links to libgstgl if it is present, and libgstgl is built by
gstreamer1.0-plugins-bad. Adding it as a DEPENDS ensures a proper
dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9790695e207ef989a691d97658d63b022144c7c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>