]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agobitbake.conf: fix qemu user mode linux for qemuarm64
Cristian Iorga [Wed, 15 Jul 2015 07:58:02 +0000 (10:58 +0300)]
bitbake.conf: fix qemu user mode linux for qemuarm64

OLDEST_KERNEL is invalid for aarch64, it didn't exist
back in our current version. Use a more recent version
for aarch64 to allow user mode qemu to work correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agorunqemu-internal: add temporary disk interface to qemuarm64
Cristian Iorga [Tue, 7 Jul 2015 13:44:58 +0000 (16:44 +0300)]
runqemu-internal: add temporary disk interface to qemuarm64

Starting with qemu 2.4, a disk needs be attached via a specified
interface, even if that interface is none. In case of qemuarm64
machine, the board is virtual, so a none interface it works
correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agooeqa/buildoptions: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:11 +0000 (14:31 +0300)]
oeqa/buildoptions: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bblayers.py: add useful failure messages to all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:10 +0000 (14:31 +0300)]
oeqa/bblayers.py: add useful failure messages to all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bbtests: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:09 +0000 (14:31 +0300)]
oeqa/bbtests: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman-conf: fix SRC_URI_append
Martin Jansa [Tue, 14 Jul 2015 12:36:45 +0000 (14:36 +0200)]
connman-conf: fix SRC_URI_append

* add leading space so that it works even with some .bbappend adding
  additional files to SRC_URI without trailing space

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/logging: allow shell message functions to work in devshell
Paul Eggleton [Tue, 14 Jul 2015 08:54:46 +0000 (09:54 +0100)]
classes/logging: allow shell message functions to work in devshell

Fix a regression caused by the shell message changes - if you run a
shell task's runfile, the task isn't actually running in BitBake and
thus the message FIFO won't exist - so we should just fall back to
printing the message with echo as we did before so that the run files
are still useful.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoUse die() or bbfatal_log() where the log should definitely be printed
Paul Eggleton [Mon, 13 Jul 2015 15:20:03 +0000 (16:20 +0100)]
Use die() or bbfatal_log() where the log should definitely be printed

Change calls to bbfatal() to either die() or bbfatal_log() where we know
we want the full log to be printed by the UI (calling bberror or bbfatal
would otherwise suppress it since the change to connect these functions
through to the UI.) bbfatal() is still fine to use where there is enough
context information in the message such that the log isn't needed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/base: fix die() to print the full log
Paul Eggleton [Mon, 13 Jul 2015 15:30:09 +0000 (16:30 +0100)]
classes/base: fix die() to print the full log

The recent change to connect through the shell logging functions caused
a regression - bb.error() and bb.fatal() cause a flag to be set
internally such that BitBake's UI will not print the full task log on
failure; unfortunately we have in a lot of places called die() or
bbfatal() within shell functions with a very terse message as a means of
exiting out, where we still want to see the full log (and we were
previously). We do still want to have fatal errors with proper messages
that don't result in the full log being printed, however we can't ignore
the typical usage of die(). Having added a mechanism to BitBake to log an
error and reset the flag, create a bbfatal_log() function that uses this
and call it from die() to restore the previous behaviour.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/useradd: don't read bbnote/bbwarn/bbfatal values
Paul Eggleton [Mon, 13 Jul 2015 14:26:28 +0000 (15:26 +0100)]
classes/useradd: don't read bbnote/bbwarn/bbfatal values

Since these functions now log through BitBake's message logging system
we must have standalone implementations here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoguile: Add explicit directories to guile_cross_config
Ross Burton [Tue, 14 Jul 2015 14:50:05 +0000 (15:50 +0100)]
guile: Add explicit directories to guile_cross_config

guile_cross_config() was using relative paths which mean it depends on exactly
what directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agochkconfig: use explicit directories in obey_variables()
Ross Burton [Tue, 14 Jul 2015 14:49:13 +0000 (15:49 +0100)]
chkconfig: use explicit directories in obey_variables()

obey_variables() was using relative paths which mean it depends on exactly what
directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodmidecode: use absolute paths in fixup task
Ross Burton [Tue, 14 Jul 2015 14:40:24 +0000 (15:40 +0100)]
dmidecode: use absolute paths in fixup task

The calls to sed use relative paths so they depend on the directory the task
starts in.  To clarify the code, use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodepmodwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:43 +0000 (15:38 +0100)]
depmodwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemuwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:03 +0000 (15:38 +0100)]
qemuwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg-arch-config: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:37:33 +0000 (15:37 +0100)]
opkg-arch-config: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd-compat-units: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:36:59 +0000 (15:36 +0100)]
systemd-compat-units: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognupg: fix build of GPLv2 version of gnupg with gcc 5
Andre McCurdy [Sat, 11 Jul 2015 07:30:24 +0000 (00:30 -0700)]
gnupg: fix build of GPLv2 version of gnupg with gcc 5

Force gcc's traditional handling of inline to avoid issues with gcc 5.

Upstream gnupg has a more specific fix, however it was made after
gnupg was relicensed to GPLv3 so may be unsafe to backport directly.

  http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=5093bed27580e608de073bcc5953bd76b6b8b2de

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolighttpd: Fix mod_cgi to avoid it buffers data without bound.
Li xin [Mon, 13 Jul 2015 08:06:26 +0000 (16:06 +0800)]
lighttpd: Fix mod_cgi to avoid it buffers data without bound.

If there is a CGI that provides a continuous stream of data,
If lighttpd client reads slower then the CGI is pushing the data,
then lighttpd's buffers will grow until the (embedded) machine OOMs.

Ref: http://redmine.lighttpd.net/issues/1264

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: update the status of configurable root patch
Umut Tezduyar Lindskog [Mon, 13 Jul 2015 07:28:04 +0000 (09:28 +0200)]
systemd: update the status of configurable root patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel: fix path assumptions in tasks
Ross Burton [Wed, 8 Jul 2015 14:16:51 +0000 (15:16 +0100)]
kernel: fix path assumptions in tasks

Several of the kernel class tasks were making assumptions about what directory
they were executed in.  Clarify the code by making paths absolute or passing -C
to oe_runmake.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibc-package: don't abuse B to change directory
Ross Burton [Wed, 8 Jul 2015 10:22:50 +0000 (11:22 +0100)]
libc-package: don't abuse B to change directory

Currently if exec_func() isn't told what directories to create and change to, it
uses B. This is not obvious and may be changed in the future.

Instead, pass -C<dir> to oe_runmake.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython: add explicit directories in py_package_preprocess
Ross Burton [Tue, 7 Jul 2015 22:55:15 +0000 (23:55 +0100)]
python: add explicit directories in py_package_preprocess

py_package_preprocess() was using relative paths which mean it depends on
exactly what directory it starts in.  To clarify the code, always use absolute
paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost: add dirs flag to boostconfig task
Ross Burton [Tue, 7 Jul 2015 22:30:30 +0000 (23:30 +0100)]
boost: add dirs flag to boostconfig task

The boostconfig task expects to run in ${S} so make that explicit.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest: add dirs flag to ptest tasks
Ross Burton [Tue, 7 Jul 2015 22:30:22 +0000 (23:30 +0100)]
ptest: add dirs flag to ptest tasks

The ptest configure/compile/install tasks mirror the base
configure/compile/install tasks, so add an explicit dirs flag to ensure they
mkdir() and chdir() the right directory.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocreate-pull-request: Fix error on 2.0 versions of git
Ben Shelton [Mon, 4 Aug 2014 18:55:49 +0000 (13:55 -0500)]
create-pull-request: Fix error on 2.0 versions of git

On 2.0 versions of git, the create-pull-request script exits with the
warning "No match for commit... Are you sure you pushed 'HEAD' there?".

This is due to a change in behavior where git used to guess the branch
you meant, but no longer does.  See the thread at
http://www.spinics.net/lists/git/msg233050.html for more information.

To accommodate the new behavior, if the COMMIT_ID is set to the default
of "HEAD", make it point explicitly to $BRANCH instead.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrep: use internal regex library with musl-libc
Andre McCurdy [Tue, 14 Jul 2015 08:30:30 +0000 (01:30 -0700)]
grep: use internal regex library with musl-libc

musl does not have the GNU regex API provided by glibc.

  http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Regular_expressions

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: add PACKAGECONFIG for valgrind
Chen Qi [Mon, 13 Jul 2015 08:43:29 +0000 (16:43 +0800)]
systemd: add PACKAGECONFIG for valgrind

Execute `bitbake valgrind && bitbake systemd -c cleansstate && bitbake
systemd -c configure && bitbake valgrind -c cleansstate && bitbake systemd
-c compile', and we would get the following error.

   src/libsystemd/sd-bus/bus-control.c: fatal error: valgrind/memcheck.h: No such file or directory.

Add PACKAGECONFIG option to sovle this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopiglit: Fix floating dependency on freeglut
Roy Li [Tue, 14 Jul 2015 07:08:25 +0000 (15:08 +0800)]
piglit: Fix floating dependency on freeglut

71158fa1a623125[fix floating dependence on freeglut] is incomplete,
so continue by removing glut.h header file when not enable freeglut

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: recommend the vconsole setup units
Ross Burton [Mon, 13 Jul 2015 15:27:45 +0000 (16:27 +0100)]
systemd: recommend the vconsole setup units

systemd's early boot wants to run the vconsole setup units.  They were split out
so that systems without visible consoles don't need the overhead of packaging
kbd etc, but we should pull them in by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognu-config: set noexec for do_compile
Robert Yang [Mon, 13 Jul 2015 10:02:43 +0000 (03:02 -0700)]
gnu-config: set noexec for do_compile

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: print PN when bbwarn
Robert Yang [Mon, 13 Jul 2015 10:02:41 +0000 (03:02 -0700)]
glibc: print PN when bbwarn

The current warning is:
WARNING: glibc: unable to generate header for spray.x

Which is easier to debug than:
WARNING: unable to generate header for spray.x

And remove the file before generate it again to fix the warning when
recompile:
file `bootparam_prot.h' already exists and may be overwritten
WARNING: unable to generate header for bootparam_prot.x
file `nlm_prot.h' already exists and may be overwritten
WARNING: unable to generate header for nlm_prot.x
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonewt: enable native builds
Ross Burton [Fri, 10 Jul 2015 22:52:01 +0000 (23:52 +0100)]
newt: enable native builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoslang: enable native builds
Ross Burton [Fri, 10 Jul 2015 22:51:53 +0000 (23:51 +0100)]
slang: enable native builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIG
Martin Jansa [Thu, 2 Jul 2015 13:03:11 +0000 (15:03 +0200)]
mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIG

* commit a5ebdb6ad8e4f94ac819275d55575230e057e4ae
  Author: Valentin Popa <valentin.popa@intel.com>
  Date:   Tue Feb 18 13:32:16 2014 +0200
  Subject: mesa: upgrade to 9.2.5

  introduced this do_install_append, but doesn't explain why it doesn't
  respect MESA_EGL_NO_X11_HEADERS flag anymore.

  Not respecting MESA_EGL_NO_X11_HEADERS breaks any build which is using
  qtdeclarative+egl in distribution which has x11 in mesa PACKAGECONFIG
  (e.g. my bitbake world builds).

  The problem is that qtdeclarative is using "None" symbol in
  QSGTexture::Filtering enum, it's possible to rename it in qtdeclarative,
  but it's quite invasive and changes qtdeclarative public APIs, see:
  https://github.com/webOS-ports/meta-webos-ports/commit/31aa85787a7513e279165a25f6f06ea72c576314
  so it was rejected by upstream and I don't want to maintain it in
  meta-qt5 - changing public API in OE build is even worse than if upstream
  does it.

* This change returns MESA_EGL_NO_X11_HEADERS flag so it's relatively
  easy to resolve this conflict in such setups by preventing Xlib.h
  inclusion.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel-yocto: fix machine_srcrev check in do_patch
Petter Mabäcker [Wed, 8 Jul 2015 19:02:03 +0000 (21:02 +0200)]
kernel-yocto: fix machine_srcrev check in do_patch

do_patch is currently doing checks with machine_srcrev without initiate
it which leads to below (additional debug added):

 DEBUG: Executing shell function do_patch
 .
 .
 .
 + [ 0 -ne 0 ]
 + [  != AUTOINC ]
 + git rev-parse --verify ~0
 fatal: Needed a single revision
 + git merge-base HEAD
 usage: git merge-base [-a|--all] <commit> <commit>...
    or: git merge-base [-a|--all] --octopus <commit>...
    or: git merge-base --independent <commit>...
    or: git merge-base --is-ancestor <commit> <commit>
    or: git merge-base --fork-point <ref> [<commit>]

     -a, --all             output all common ancestors
     --octopus             find ancestors for a single n-way merge
     --independent         list revs not reachable from others
     --is-ancestor         is the first one ancestor of the other?
     --fork-point          find where <commit> forked from reflog of <ref>

 + [  =  ]
 + set +x
 DEBUG: Shell function do_patch finished

Only reason it works today is because 'rev-parse/merge-base' with empty machine_srcrev
will result in "false positive". Solve this by adding a similar non-empty check and
use SRCREV as fallback as in 'do_kernel_metadata'

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinitrdscripts: handle mmc device as installer medium
Awais Belal [Tue, 7 Jul 2015 07:43:37 +0000 (12:43 +0500)]
initrdscripts: handle mmc device as installer medium

Platforms which have the capability of using the MMC as an
installer medium will present the same MMC device as an
installation candidate. This happens because the MMC
devices appear as mmcblk<X> and the current script strips
up the <X> which is needed to identify an MMC device
uniqely.
This patch now updates the way device identifier stripping
is done and handles the exclusion of installer device from
installation candidates more generically.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext-minimal-native: use MKIDR_P in Makefile.in.in
Wenzong Fan [Fri, 3 Jul 2015 08:08:45 +0000 (16:08 +0800)]
gettext-minimal-native: use MKIDR_P in Makefile.in.in

The Makefile.in.in provided by gettext-minimal-native will be copied
to many packages that need gettext to produce multi-lingual messages.

Replace mkdir_p with MKDIR_P to fix below errors from those packages'
install logs:

  /bin/sh: 6: @mkdir_p@: not found
  /usr/bin/install: cannot create regular file 'xxx'

As automake manual:

From Automake 1.8 to 1.9.6 AM_PROG_MKDIR_P used to define the output
variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs.

Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P,
it will set output variable MKDIR_P.

Automake manual advises to switch ASAP to the more modern Autoconf-provided
interface instead; both the macro and the variable have been removed from
Automake 1.12.1 and later releases.

Signe-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoperf: Modify SPDX_S directory to avoid do_spdx error.
Li xin [Fri, 26 Jun 2015 08:01:26 +0000 (16:01 +0800)]
perf: Modify SPDX_S directory to avoid do_spdx error.

This is because S = "${STAGING_KERNEL_DIR}".

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodo_unpack: move qa check of unpack into insane.bbclass
Bian Naimeng [Fri, 3 Jul 2015 03:47:47 +0000 (11:47 +0800)]
do_unpack: move qa check of unpack into insane.bbclass

Some source archive are not standard format.
For example, sometimes, we still need decompress file once again after base_do_unpack,
in such case, the following warning will be caught.

 WARNING: xxx : the directory ${WORKDIR}/xxxx (xxxxxx) pointed to by the S variable doesn't exist \
 - please set S within the recipe to point to where the source has been unpacked to

So, we should do this QA check after all of unpack jobs been completed.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng: Fix timer calculation error
Jianchuan Wang [Fri, 10 Jul 2015 06:33:12 +0000 (14:33 +0800)]
lttng: Fix timer calculation error

Fix timer calculation error in the lttng-tools/lttng-ust

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: Upgrade to 2.4.62
Steffen Pankratz [Thu, 9 Jul 2015 13:41:35 +0000 (13:41 +0000)]
libdrm: Upgrade to 2.4.62

Signed-off-by: Steffen Pankratz <steffen.pankratz@elektrobit.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoexpect: replace the STAGING_INCDIR with includedir
Yue Tao [Thu, 28 May 2015 07:24:32 +0000 (15:24 +0800)]
expect: replace the STAGING_INCDIR with includedir

The build path is included in expect-dev rpm package. It should not set
the STAGING_INCDIR statically. The includedir will be replaced with
appropriate value in different stage.

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
9 years agomidori: Depend on Adwaita, not gnome-icon-theme
Jussi Kukkonen [Mon, 8 Jun 2015 11:49:39 +0000 (14:49 +0300)]
midori: Depend on Adwaita, not gnome-icon-theme

Adwaita is the current GNOME icon theme.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agosato-icon-theme: Inherit Adwaita, not gnome-icon-theme
Jussi Kukkonen [Mon, 8 Jun 2015 10:58:28 +0000 (13:58 +0300)]
sato-icon-theme: Inherit Adwaita, not gnome-icon-theme

Adwaita is the current GNOME icon theme.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agomatchbox-session-sato: set GTK_CSD env var
Jussi Kukkonen [Thu, 4 Jun 2015 11:29:54 +0000 (14:29 +0300)]
matchbox-session-sato: set GTK_CSD env var

Sato practically requires server side decorations as matchbox panel
draws on top of the title bar. Setting "GTK_CSD=0" informs GTK+3
that we really want server side decorations even for apps designed
for CSD.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agogtk+3: Upgrade to 3.16.4
Jussi Kukkonen [Wed, 1 Apr 2015 18:36:47 +0000 (21:36 +0300)]
gtk+3: Upgrade to 3.16.4

* Drop --disable-gtk2-dependency and the patch for
  gtk/native/Makefile.am: gtk-update-icon-cache is no longer used at
  build time and as a result the option was removed.
* Add dependency to libepoxy
* Add dependency to virtual/mesa for wayland-egl
* Package new binaries gtk3-icon-browser and gtk-encode-symbolic-svg
* Add a backported patch that allows server side window decorations
  in all cases
* RRECOMMEND adwaita-icon-theme-symbolic: GTK+ widgets expect a
  symbolic theme to be installed

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agoadwaita-icon-theme: Add new icon theme for GTK+
Jussi Kukkonen [Fri, 5 Jun 2015 10:47:03 +0000 (13:47 +0300)]
adwaita-icon-theme: Add new icon theme for GTK+

Adwaita is a complete icon theme for GTK+, and the current GNOME icon
theme. Most importantly it includes the symbolic icons used extensively
in GTK+3 widgets.
* Package icons, large icons, symbolic icons and cursors separately
* Backport a build fix for the cursor theme to cut installed size by
  11MB.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agocombo-layer: implement --hard-reset option
Markus Lehtonen [Wed, 8 Jul 2015 10:59:49 +0000 (13:59 +0300)]
combo-layer: implement --hard-reset option

This option causes combo-layer to do git fetch and hard reset instead of
git pull in the component repositories. This makes sure that the local
component repositories are always in sync with the remote - tolerating
force pushes and overriding any locally made changes.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocombo-layer: only allow fast-forward when pulling
Markus Lehtonen [Wed, 8 Jul 2015 10:59:48 +0000 (13:59 +0300)]
combo-layer: only allow fast-forward when pulling

Only allow fast-forward merges in the component repositories when doing
git-pull. This makes it possible to spot problems (i.e. rewriting of
history) in the component upstream . Also, this change prevents the
creation of local-only merge commits in the component repositories.
These merges cause "last_revision" field of the combo-layer config to
point to a git commit that is only present in the users local component
repository but nowhere in upstream.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapr: Fix packet discards HTTP redirect
Li Wang [Wed, 8 Jul 2015 07:53:19 +0000 (15:53 +0800)]
apr: Fix packet discards HTTP redirect

Disconnect the connection by poll() timeout.
If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then
apr_socket_recv() returns EAGAIN.

Signed-off-by: Noriaki Yoshitane <yoshitane.nrs@cnt.ncos.nec.co.jp>
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-io: Add runtime dependency on contextlib
Ash Charles [Tue, 7 Jul 2015 21:22:54 +0000 (14:22 -0700)]
python-io: Add runtime dependency on contextlib

The python-io package includes ssl.py module which imports the
contextlib library.

This applied to Python 2.7.9 but not 3.3.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: Check if /tmp is writable
Mariano Lopez [Tue, 7 Jul 2015 11:17:40 +0000 (11:17 +0000)]
sanity.bbclass: Check if /tmp is writable

Used mkstemp instead of raw open file call.
Also added the exception message to the output of
the sanity check.

[YOCTO #7922]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory.bbclass: Check output folder is present before creating files-in-$pkg.txt
Leonardo Sandoval [Tue, 30 Jun 2015 11:19:40 +0000 (11:19 +0000)]
buildhistory.bbclass: Check output folder is present before creating files-in-$pkg.txt

This is just a safe check to make sure the output folder is present, before
creating the files-in-$pkg.txt file.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus-ptest: set INSANE_SKIP for build-deps
Robert Yang [Mon, 13 Jul 2015 10:02:42 +0000 (03:02 -0700)]
dbus-ptest: set INSANE_SKIP for build-deps

Skip the warning for dbus-ptest:
dbus-1.8.18: dbus-ptest rdepends on dbus-test-ptest, but it isn't a build dependency? [build-deps]

We add dbus-test to dbus' DEPENDS to fix the problem usually, but
dbus-test DEPENDS on dbus, so we can't do that, use INSANE_SKIP to fix
the problem.

(From OE-Core rev: 7bf27752cdfcb83a951086d6e5609593c79437c3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xorg: remove invalid ac_cv_file__usr_share_sgml_X11_defs_ent
Robert Yang [Mon, 13 Jul 2015 10:04:32 +0000 (03:04 -0700)]
xserver-xorg: remove invalid ac_cv_file__usr_share_sgml_X11_defs_ent

There is no ac_cv_file__usr_share_sgml_X11_defs_ent in configure, can't
find it in config.log after remove, either.

(From OE-Core rev: 27bd0a27a879cfc31062fbb2b1a04431d5541c55)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoapt: remove invalid ac_cv_glibc_ver
Robert Yang [Mon, 13 Jul 2015 10:04:31 +0000 (03:04 -0700)]
apt: remove invalid ac_cv_glibc_ver

There is no ac_cv_glibc_ver in configure, can't find it
in config.log after remove, either.

(From OE-Core rev: 945e2bf6845b052eeb5101033c4770d766142bb1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc: remove invalid ac_cv_path_KSH
Robert Yang [Mon, 13 Jul 2015 10:04:30 +0000 (03:04 -0700)]
glibc: remove invalid ac_cv_path_KSH

There is no ac_cv_path_KSH in configure, can't find it
in config.log after remove, either.

(From OE-Core rev: 6b58670d8b8f2d1c1a7d5043652f48a364a0df5d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogit: remove invalid ac_cv_c_c99_format=yes
Robert Yang [Mon, 13 Jul 2015 10:04:29 +0000 (03:04 -0700)]
git: remove invalid ac_cv_c_c99_format=yes

There is no c_c99_format in configure, and there is no
ac_cv_c_c99_format in config.log after removed.

(From OE-Core rev: ef84b14ec0d1c7a7e5da278d8a4fe189806a1af2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomc: Upgrade to release 4.8.14
Amarnath Valluri [Mon, 13 Jul 2015 11:49:15 +0000 (14:49 +0300)]
mc: Upgrade to release 4.8.14

Not using mc-CTRL.patch, as it was merged to upstream.
Upstream commit-id: e78b636eba9d23e9f5f066b022bd5640c85409be.

(From OE-Core rev: cee0d8f8d8ed43cc6b5cf16d713be73dd468007d)

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-plugins, pulseaudio: depend on speexdsp, not speex
Tanu Kaskinen [Thu, 9 Jul 2015 10:43:15 +0000 (13:43 +0300)]
alsa-plugins, pulseaudio: depend on speexdsp, not speex

Speexdsp was split off from speex, and alsa-plugins and pulseaudio
only depend on the speexdsp library.

alsa-plugins needs also a patch, because it has so far relied on
speex_types.h, which was renamed to speexdsp_types.h when speexdsp was
split off, to not collide with the file that is included in speex.

(From OE-Core rev: 4ee8f0dd4e9cb493d074c762bf6ff7169bcf3466)

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agospeex: 1.2rc1 -> 1.2rc2
Tanu Kaskinen [Thu, 9 Jul 2015 10:43:14 +0000 (13:43 +0300)]
speex: 1.2rc1 -> 1.2rc2

Dropped speex-fpu.inc, since it's simpler to put the logic directly in
the .bb file.

LIC_FILES_CHKSUM changed due to whitespace changes only.

Dropped PR.

Added a dependency on speexdsp. The speexdsp functionality used to be
included in speex, but upstream split the speexdsp package off into a
separate source tree. speexdsp could otherwise be an optional
dependency, but the upstream configure script doesn't support
disabling it explicitly, and relying on automatic detection would
make builds nondeterministic, so it's better to always enable it.

--enable-fixed-point was previously included in the configure options
unconditionally, but the option should be used only when TARGET_FPU is
set to "soft".

--with-ogg-libraries, --with-ogg-includes and --disable-oggtest aren't
supported anymore, since speex now uses pkg-config to find libogg.

(From OE-Core rev: c79cc4ab8455652d2ebd1132fdc868cf80ff81d0)

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agospeexdsp: initial recipe
Tanu Kaskinen [Thu, 9 Jul 2015 10:43:13 +0000 (13:43 +0300)]
speexdsp: initial recipe

speexdsp was split off from speex in 1.2rc2, so we need a separate
recipe for speexdsp when before we can upgrade speex.

The speex recipe has so far used the --enable-fixed-point configure
option unconditionally, but I believe that was a mistake, so I
dropped that. The option is still enabled if TARGET_FPU is set to
"soft". Commit e8f707f16a38d85535593a32efff6dcbf4ddb203 added the
TARGET_FPU check, and I think that commit should have removed
--enable-fixed-point from the static configure options, like it
removed --disable-float-api.

The NEON code caused a build failure on qemuarm64. As a workaround,
I disabled NEON optimizations when building for aarch64.

I added a patch that fixes a build failure in alsa-plugins. Compiling
alsa-plugins against the new speexdsp version without the patch
resulted in this error:

In file included from .../usr/include/speex/speexdsp_types.h:122:0,
                 from .../usr/include/speex/speex_preprocess.h:46,
                 from .../alsa-plugins-1.0.29/speex/pcm_speex.c:23:

.../usr/include/speex/speexdsp_config_types.h:13:9: error: unknown type name 'uint16_t'
 typedef uint16_t spx_uint16_t;
         ^

(From OE-Core rev: bb826645d188e5ea78718f3ad4b2e420eec3b354)

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodpkg: Fix for Fedora22 and new versions of tar
Richard Purdie [Mon, 13 Jul 2015 11:04:52 +0000 (12:04 +0100)]
dpkg: Fix for Fedora22 and new versions of tar

They managed to 'break' tar. Again. Sorry, they fixed a regression
which broke dpkg-deb.

The addition of:
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=163e96a0e619a900eab6de827c7c5749ecc9d3f2
("Bugfix: entries read from the -T file did not get proper matching_flag.")
means that the no-recursion option gets lost. This leads to many files getting included
multiple times, along with files which shouldn't be there.

The commit message is horrendous. The patch actually makes the option positional
(as documnted since 2003) and therefore doesn't affect the input from the -T option.

Moving the --no-reursion option to earlier in the command avoids the bug.

The bug was not present in tar 1.28 however it has been backported in at least
Fedora 22 and heading into Fedora 21.

Redhat reports of issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1230762 [tar]
https://bugzilla.redhat.com/show_bug.cgi?id=1241508 [dpkg]

Discussion of bug in upstream tar:
http://www.mail-archive.com/bug-tar@gnu.org/msg04799.html

[YOCTO #7988]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotar: Add symlink to tar from gtar
Richard Purdie [Mon, 13 Jul 2015 11:04:46 +0000 (12:04 +0100)]
tar: Add symlink to tar from gtar

dpkg-deb accesses tar via "gtar", add a symlink to ensure that nativesdk
for example correctly catches these accesses to tar (for buildtools-tarball).
This likely also fixes on target dpkg-deb usage.

[YOCTO #7988]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/sstate.bbclass: Improve checkstatus using connection cache.
Aníbal Limón [Tue, 23 Jun 2015 22:55:29 +0000 (17:55 -0500)]
classes/sstate.bbclass: Improve checkstatus using connection cache.

Use FetcherConnectionCache to improve times when do checkstatus over
sstate resources.

[YOCTO #7796]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-smartpm: Have native smart use nativepython
Randy Witt [Fri, 10 Jul 2015 21:03:21 +0000 (14:03 -0700)]
python-smartpm: Have native smart use nativepython

Currently when trying to use smart via devshell or in the bitbake
environment, it will fail without inheriting pythonnative. Since the
native tools should "just work" use nativepython in the shebang line for
smart.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopkg-build: Ignore tar error due to hardlinks issue when creating ipk files
Alejandro Hernandez [Fri, 10 Jul 2015 20:42:12 +0000 (13:42 -0700)]
opkg-build: Ignore tar error due to hardlinks issue when creating ipk files

 If a the number of hard links decreases or increases while creating the tar
 files used for an ipk package, tar fails with error code 1, we use hardlinks
 on package/ and packages-split/ to decrease disk  usage, sometimes other
 parts of the build can cause a change in the link  count, since this happens
 in a controlled environment we can safely ignore the error and continue to
 create the ipk file, fixed some typos from old version.

[YOCTO #7933]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc: remove EXTRA_OECONF_INTERMEDIATE
Robert Yang [Mon, 6 Jul 2015 10:35:34 +0000 (03:35 -0700)]
gcc: remove EXTRA_OECONF_INTERMEDIATE

The gcc-intermediate had been gone, so remove EXTRA_OECONF_INTERMEDIATE.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonetbase: add rpcbind as an alias to sunrpc
Li Wang [Fri, 10 Jul 2015 05:35:57 +0000 (13:35 +0800)]
netbase: add rpcbind as an alias to sunrpc

the patch comes from:
https://bugs.archlinux.org/task/20273

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/recipeutils.py: get_recipe_upstream_version returns 1.0 when not SRC_URI
Aníbal Limón [Thu, 9 Jul 2015 23:15:43 +0000 (18:15 -0500)]
oe/recipeutils.py: get_recipe_upstream_version returns 1.0 when not SRC_URI

Recipes that don't have SRC_URI means that don't use upstream sources
so returns 1.0.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agointltool: Upgrade 0.50.2 -> 0.51.0
Jussi Kukkonen [Wed, 8 Jul 2015 20:01:23 +0000 (21:01 +0100)]
intltool: Upgrade 0.50.2 -> 0.51.0

* Remove uclibc.patch as the whole localedir guessing code has been
  removed upstream.

* Add patch to fix deprecation warnings (and the resulting broken install paths)
  when using Perl 5.22 (RB)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoharfbuzz: upgrade to 0.9.41
Cristian Iorga [Wed, 8 Jul 2015 17:57:53 +0000 (20:57 +0300)]
harfbuzz: upgrade to 0.9.41

Fix hb-coretext with trailing whitespace in right-to-left.
New API: hb_buffer_reverse_range().
Allow implementing atomic ops in config.h.
Fix hb_language_t in language bindings.
Misc fixes.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/logging: make shell message functions output to the console
Paul Eggleton [Fri, 10 Jul 2015 13:56:03 +0000 (14:56 +0100)]
classes/logging: make shell message functions output to the console

Use the FIFO that is now set up when executing tasks within BitBake to
make bbdebug/bbnote/bbwarn/bbplain/bberror/bbfatal output to the console
through BitBake's UI (as their python counterparts do) instead of only
outputting to the task log.

Note that this requires the corresponding change in BitBake that creates
the FIFO; without it such messages will end up in a file where the FIFO
should have been (but won't cause any other ill effects).

Remainder of the fix for [YOCTO #5275].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: fixes for sed command
Robert Yang [Fri, 10 Jul 2015 07:14:58 +0000 (00:14 -0700)]
qt4: fixes for sed command

* There is no $$QT_BUILD_TREE/bin/lrelease in any .pro file, so remove
  the sed command.
* Only translations/translations.pro has "qtPrepareTool(LRELEASE", so
  use the file name directly rather than find all the .pro files.
* The SEDME in linux.conf had been gone in 2010, and no
  '-Wl,-rpath-link' in linux.conf either, so remove the sed commands.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocups: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:57 +0000 (00:14 -0700)]
cups: remove invalid sed command

There is no STRIP in Makedefs, no serial in backend/Makefile either, so
remove the sed commands.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:56 +0000 (00:14 -0700)]
perf: remove invalid sed command

The current kernel supports WERROR now, and there is no Werror in
tools/perf/Makefile, remove both sed commands.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pygtk: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:55 +0000 (00:14 -0700)]
python-pygtk: remove invalid sed command

* There is no 'tests docs' in Makefile.am any more, so remove:
    sed -i 's:tests docs:tests:' ${S}/Makefile.am
* Remove the invalid sed command in do_install_append, only the one for
  pygtk-demo is needed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:54 +0000 (00:14 -0700)]
python: remove invalid sed command

There is no ccache in Makefile any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:53 +0000 (00:14 -0700)]
perl: remove invalid sed command

There is no match of sed pattern any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomdadm: remove do_configure_prepend
Robert Yang [Fri, 10 Jul 2015 07:14:52 +0000 (00:14 -0700)]
mdadm: remove do_configure_prepend

There is no '.*ansidecl.h.*/d' in sha1.h any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:51 +0000 (00:14 -0700)]
rpm: remove invalid sed command

There is no __check_files in rpm/macros any more, so remove the sed
command.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:50 +0000 (00:14 -0700)]
qemu: remove invalid sed command

The sed command was used for editting to code added by
linker-flags.patch, but the patch had been gone in 2013, and verified
that there is no -lX11 in Makefile.target, so remove the
sed command.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc-initial: remove invalid sed command
Robert Yang [Fri, 10 Jul 2015 07:14:49 +0000 (00:14 -0700)]
glibc-initial: remove invalid sed command

There is no "{ (exit 1); exit 1; }; }" in configure any more, and also
remove chmod since sed command is removed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopkg: remove do_configure_prepend
Robert Yang [Fri, 10 Jul 2015 07:14:48 +0000 (00:14 -0700)]
opkg: remove do_configure_prepend

There is no -Werror in libopkg/Makefile.am any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoelfutils 0.163: remove do_configure_prepend
Robert Yang [Fri, 10 Jul 2015 07:14:47 +0000 (00:14 -0700)]
elfutils 0.163: remove do_configure_prepend

It is derived from elfutils 0.148, but 0.162 doesn't need them, it
doesn't need i386_dis.h or x86_64_dis.h either, there are the same two
files in the source, so move elfutils/i386_dis.h to
elfutils-0.148/i386_dis.h and elfutils/x86_64_dis.h to
elfutils-0.148/x86_64_dis.h for elfutils 0.148 only.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoi2c-tools: uprev to 3.1.2
Randy MacLeod [Wed, 8 Jul 2015 23:36:28 +0000 (19:36 -0400)]
i2c-tools: uprev to 3.1.2

The only changes based on the CHANGES file are:
  decode-dimms: Fix DDR3 extended temp range refresh rate decoding
  py-smbus: Add support for python 3
The python3 changes use python3 as the default and 2 as the fallback.
py-smbus is not currently built so no python changes have been made.

The local copy of Module.mk is unchanged aside from moving it to
a directory that is not version specific to avoid uprev noise.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognome-icon-theme: inherit allarch
Ross Burton [Wed, 8 Jul 2015 21:44:58 +0000 (22:44 +0100)]
gnome-icon-theme: inherit allarch

The intltool 0.51 doesn't do compile tests in the autoconf macros, so this
recipe can be allarch again.

Remove dependency on target glib-2.0, it doesn't appear to be required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoarchiver.bbclass: add do_deploy_all_archives
Patrick Ohly [Thu, 9 Jul 2015 08:35:26 +0000 (10:35 +0200)]
archiver.bbclass: add do_deploy_all_archives

When working specifically on source archiving, it is useful
to trigger that for all recipes required by something like an
image recipe, without actually having to build that.

"bitbake -c deploy_all_archives <target>" does that now.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass
Robert Yang [Thu, 9 Jul 2015 08:49:10 +0000 (01:49 -0700)]
populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass

Fixed when enable multilib:
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-minimal
No lib32 package should be built since we don't build
lib32-core-image-minimal, but a lot them are built:
lib32-opkg-utils
lib32-cryptodev-linux
lib32-sqlite3
lib32-libtool-cross
lib32-ncurses
lib32-db
lib32-diffutils
lib32-zlib
lib32-gcc-cross-i686
lib32-gcc-cross-initial-i686
lib32-flex
lib32-libgcc-initial
lib32-libffi
lib32-linux-libc-headers
lib32-expat
lib32-openssl
lib32-glibc
lib32-binutils-cross-i686
lib32-gcc-runtime

The are introduced by toolchain-scripts.bbclass' anonymous function (the
MULTILIB_VARIANTS), but it doesn't need toolchain-scripts.bbclass, in
fact, so remove it to fix the problem.

[YOCTO #7961]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildtools-tarball: Add inherit toolchain-scripts
Richard Purdie [Fri, 10 Jul 2015 21:31:32 +0000 (22:31 +0100)]
buildtools-tarball: Add inherit toolchain-scripts

The core class used to have this inherit but its being phased out, add
the inherit directly where we need it instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclutter-gtk-1.0: Upgrade 1.4.4 -> 1.6.2
Jussi Kukkonen [Thu, 9 Jul 2015 07:52:46 +0000 (10:52 +0300)]
clutter-gtk-1.0: Upgrade 1.4.4 -> 1.6.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclutter-1.0: Upgrade 1.20.0 -> 1.22.4
Jussi Kukkonen [Thu, 9 Jul 2015 07:52:45 +0000 (10:52 +0300)]
clutter-1.0: Upgrade 1.20.0 -> 1.22.4

* Update test TAP output patch

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocogl-1.0: Upgrade 1.18.2 -> 1.20.0
Jussi Kukkonen [Thu, 9 Jul 2015 07:52:44 +0000 (10:52 +0300)]
cogl-1.0: Upgrade 1.18.2 -> 1.20.0

* Backport patch that fixes build with GLES2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxproto: Upgrade 7.0.27 -> 7.0.28
Jussi Kukkonen [Thu, 9 Jul 2015 07:52:42 +0000 (10:52 +0300)]
xproto: Upgrade 7.0.27 -> 7.0.28

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5: Backport patches for -Wno-narrowing behaviour fixes
Khem Raj [Thu, 9 Jul 2015 17:52:39 +0000 (10:52 -0700)]
gcc-5: Backport patches for -Wno-narrowing behaviour fixes

Chromium/CEF reveals these warnings which are then treated as errors
which has been fixed on gcc_5 branch upsteam. We backport the relevant
commits

Change-Id: I088a1480d49cdb439c72f0e159bee6de8ba94258
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-4.9: Upgrade to 4.9.3
Khem Raj [Thu, 9 Jul 2015 17:52:38 +0000 (10:52 -0700)]
gcc-4.9: Upgrade to 4.9.3

Drop upsteamed patch for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
4.9.3

rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
keep the sequence

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez5: upgrade to 5.32
Cristian Iorga [Thu, 9 Jul 2015 14:28:10 +0000 (17:28 +0300)]
bluez5: upgrade to 5.32

Mostly a bug fix release.

Fixes in several different areas, including OPP,
ATT and advertising (instance number handling in particular).
Fix for handling a sudden disconnect when a connection setup
process hasn’t yet completed.
New feature: ability to select between letting the stack
handle ATT security elevation or doing the respective
error handling in higher layers.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/sstatetests: Add NATIVELSB sstate signature equivalence test
Richard Purdie [Fri, 10 Jul 2015 13:07:25 +0000 (14:07 +0100)]
oeqa/sstatetests: Add NATIVELSB sstate signature equivalence test

The sstate checksums should be independent of whichever NATIVELSBSTRING is
detected. Add an automated QA test which tests this using bitbake -S.

To make this possible, we need to be able to override the value of
NATIVELSBSTRING so make a small change to allow this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool/append: Fix selftest failure with multilib
Richard Purdie [Fri, 10 Jul 2015 13:12:46 +0000 (14:12 +0100)]
recipetool/append: Fix selftest failure with multilib

If you have multilib enabled, it finds lib32-base-files instead of
base-files for test_recipetool_appendfile_basic causing a test
failure. Add a fix for this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>